1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

I need some things cleared up about programming

Discussion in 'General Programming Chat' started by Programmin, Jun 8, 2013.

  1. Programmin

    Programmin Newbie

    Joined:
    Jun 8, 2013
    Messages:
    14
    Likes Received:
    0
    Im just beginning and learning about programming. Im currently reading a book that is in the perspective of a teacher teaching his students how to program and it has been helpful, the overall reason for me looking into programming is to have another tool under my belt. I also am looking into creating my own instagram bot, can anyone with experience making an instagram bot let me know how difficult it will be to make it. I understand that i probably wont be able to start making it until i learn quite a bit more about programming, but i would like to get an idea of what im getting myself into. Thanks
     
  2. Panther28

    Panther28 Elite Member

    Joined:
    May 2, 2010
    Messages:
    2,279
    Likes Received:
    3,415
    Occupation:
    Internet.
    Location:
    Internet.
    Your getting yourself into a deep pile of shit. However, once you get yourself out of it, you'll be able to create anything on a pc.

    You should start of with some really simple concepts and just build the instagram bot yourself.

    Step 1 would be compile your first 'hello world' program.
     
  3. Panther28

    Panther28 Elite Member

    Joined:
    May 2, 2010
    Messages:
    2,279
    Likes Received:
    3,415
    Occupation:
    Internet.
    Location:
    Internet.
    reported.
     
  4. Programmin

    Programmin Newbie

    Joined:
    Jun 8, 2013
    Messages:
    14
    Likes Received:
    0
    What would be better java or c++ for making an instagram bot? And are they somewhat similar when it comes to programming because ive been learning how to use java first
     
  5. plopster

    plopster Newbie

    Joined:
    Feb 13, 2012
    Messages:
    16
    Likes Received:
    3
    C++ will be hard for a beginner like you to learn. I would suggest start with C# because you things are a lot easier in it - e.g. there is already a web browser object and other socket stuff there ready to go .

    C++ is fine to use for this but it is going to take a LOT longer to get right. You will need to learn about pointers, memory initialization and cleanup, etc. It's generally used for apps that require some more control over lower level things, like api hooking, etc. Not to say you can't do that in C#, but C++ is a bit more raw.

    Just don't bother with java in this case - it's generally only good for cross platform apps.
     
    Last edited: Jun 8, 2013
  6. Programmin

    Programmin Newbie

    Joined:
    Jun 8, 2013
    Messages:
    14
    Likes Received:
    0
    But would it be good to learn how to program with java just to start out with then move to c#
     
  7. phpbuilt

    phpbuilt Jr. VIP Jr. VIP

    Joined:
    May 16, 2011
    Messages:
    1,651
    Likes Received:
    5,242
    Occupation:
    $ from websites I own.
    Location:
    putting monkeys in paypal
    Forget reading a book on programming.

    Take your chosen programming language, then search for sample code similar to what you want to do. It's a little hard when you don't know the right questions to ask in order to get the answers, but in the case of wanting to make an instagram bot -- the questions are going to look like this:

    (assume for a second you chose python)

    multithreaded python web scraper
    python screen scraper
    how to post using python
    python send post with headers
    post with proxies using python

    That'll get you started.
     
    • Thanks Thanks x 1
  8. oozyluce

    oozyluce Regular Member

    Joined:
    Jan 26, 2013
    Messages:
    277
    Likes Received:
    231
    Occupation:
    IT Coordinator, Senior Network Administrator
    Location:
    http://www.gaben.tv/
    Home Page:
    I would go with java, then STAY with java for any non-web app.

    This is personnal, but the main reason is that it's 3x faster to develop the same program in java than it is in c++, and that it's natively cross-platform, unlike c#.

    Sure, you lose performance when it comes to code optimization and garbage collecting, but for simple programs such as an instagram bot? Why even bother with memory optimization...

    And yes OP, there is a reason why there are so many instagram bots out there: Because it is ridiculously easy to create web bots with the right librairies.
     
  9. Programmin

    Programmin Newbie

    Joined:
    Jun 8, 2013
    Messages:
    14
    Likes Received:
    0
    Oozyluce so it is viable to create an instagram bot with java? If so do u mind pming me and telling me a little more about what ur thinking i can do
     
  10. Programmin

    Programmin Newbie

    Joined:
    Jun 8, 2013
    Messages:
    14
    Likes Received:
    0
    U there oozy?
     
  11. TehEpidemick

    TehEpidemick BANNED BANNED

    Joined:
    Oct 31, 2011
    Messages:
    778
    Likes Received:
    181
    honestly, start with c++ its really not that difficult to learn as a newbie and it teaches you how to think programming. As far as building the bot, c++ would work, or java, or even vb.net
     
  12. Programmin

    Programmin Newbie

    Joined:
    Jun 8, 2013
    Messages:
    14
    Likes Received:
    0
    Thanks tehepicdemick, do u have any expierence with using java?
     
  13. afkai

    afkai Registered Member

    Joined:
    May 6, 2013
    Messages:
    54
    Likes Received:
    17
    Occupation:
    Full time IM'er
    Location:
    Microsoft Land (Emerald City)
    Home Page:
    Negative on all fronts.

    Learn Python first.

    There are INTERACTIVE and really useful and fun free online lessons at codecademy.com
     
  14. oozyluce

    oozyluce Regular Member

    Joined:
    Jan 26, 2013
    Messages:
    277
    Likes Received:
    231
    Occupation:
    IT Coordinator, Senior Network Administrator
    Location:
    http://www.gaben.tv/
    Home Page:
    yes yes i am here.

    Viable is a weak adjective, but yes you got the point. However i think you're trying to skip steps here.
    IF you really want to make an instagram bot, and more specifically a Working GUI for that bot, you're going to need to learn the basics. And as panther28 said above, you'll have to start where every programmer once started: your hello world.

    For quick java learning, i would suggest you this website: http://www.learnjavaonline.org/

    go through their tutorials, and once you're there, you'll be in the measure to know what to do to develop your very own bot.


    IF however you're just one of these person with an IQ over 150 that thinks that reading is bullshit and that you can get straight away into coding, then i'll just save you some time by avoiding you the search for the right library.

    You want to develop a stable bot with a java library? You need selenium.
    http://docs.seleniumhq.org/

    Theres a library for the most popular programming language out there, including C++, C#, Python and Java... So any guy above me could agree :)

    Godspeed in your programming journey OP. At first it might sound overwhelming, but once you get the hang of it, you'll never want to let it go!
     
    • Thanks Thanks x 2
  15. Programmin

    Programmin Newbie

    Joined:
    Jun 8, 2013
    Messages:
    14
    Likes Received:
    0
    Alrite thanks man if i have any questions do u mind if i pm u?
     
  16. afkai

    afkai Registered Member

    Joined:
    May 6, 2013
    Messages:
    54
    Likes Received:
    17
    Occupation:
    Full time IM'er
    Location:
    Microsoft Land (Emerald City)
    Home Page:
    Java is such an unforgiving language. Python is a great language to learn for newbies. It's not unnecessarily punishing and touches on all major points of beginning to think like an object oriented programmer.

    I have seen Java discourage, frustrate, and completely turn new hopeful coders away from learning programming. I mean, think about JQuery. It's a son-of-a-bitch to type all that syntax by hand. Especially in an unforgiving and super strict language.

    I strongly recommend NOT going with anything Java for your first language. There are really only 2 Excellent choices here. Python and Ruby on Rails. The amount of time saved by spending it learning how to think like a programmer and not how the hell to satisfy a strict set of syntactical rules is by FAR more valuable in the end. A good coder is one who thinks with good coding methodologies. Not one who knows the semantics of a particular programming language or even a substantially different derivative of the same damn language.

    Learn to think like a programmer. Then worry about typing like you will be forced to.
     
    • Thanks Thanks x 4
  17. Programmin

    Programmin Newbie

    Joined:
    Jun 8, 2013
    Messages:
    14
    Likes Received:
    0
    If i fins java too difficult i will try out python but so far it hasnt been too bad thanks for all ur input and i hope u dont mind if i pm u with questions
     
  18. afkai

    afkai Registered Member

    Joined:
    May 6, 2013
    Messages:
    54
    Likes Received:
    17
    Occupation:
    Full time IM'er
    Location:
    Microsoft Land (Emerald City)
    Home Page:
    nailed_it_Wow_You_Nailed_It-s404x404-223332-580.jpg
     
  19. Programmin

    Programmin Newbie

    Joined:
    Jun 8, 2013
    Messages:
    14
    Likes Received:
    0
    Haha...
     
  20. sparkster

    sparkster Registered Member

    Joined:
    Apr 12, 2013
    Messages:
    52
    Likes Received:
    8
    Location:
    The South
    Another vote for Python. It's the best language to learn first because it's the easiest to learn. After you've become reasonable proficient and start to think like a programmer, it's a simple matter (YMMV) to learn the syntax of another language.