Off-Topic Hang out with people and talk about whatever. Feel free to suggest a better description for this forum as everyone seems to have an opinion. :D

TrollandToad.com
Reply
 
Thread Tools
  #26    
Old January 18th, 2013 (5:54 PM).
IIMarckus's Avatar
IIMarckus IIMarckus is offline
     
    Join Date: Oct 2007
    Gender:
    Posts: 402
    Quote:
    Originally Posted by twocows View Post
    I'm sure both FreeBSD users are very happy for your contributions.
    Well, it beats spending my time making snarky remarks on message boards.
    Reply With Quote

    Relevant Advertising!

      #27    
    Old January 18th, 2013 (5:55 PM).
    Nathan's Avatar
    Nathan Nathan is offline
    Blade of Justice
    • Silver Tier
     
    Join Date: Jul 2012
    Location: Earth
    Age: 20
    Gender: Male
    Nature: Timid
    Posts: 4,067
    Even if some people say i'm too young for it, i am currently learning C language via a french site called siteduzero.com. I absolutely like programming and that's what i'll be learning when i'm older. I want to make a video game programmer career. Any tips?
    __________________
    || ||
    Reply With Quote
      #28    
    Old January 18th, 2013 (9:21 PM).
    Yuoaman's Avatar
    Yuoaman Yuoaman is offline
    Legen- wait for it...
    • Silver Tier
     
    Join Date: Jul 2005
    Location: Ontario, Canada
    Age: 25
    Gender: Male
    Nature: Relaxed
    Posts: 4,675
    Well, I was a computer science major for two years so I should hope I took away a little programming know-how. I'm a fairly decent Java programmer, though I'm pretty rusty so I'd need to do some studying before programming anything major. I also have some knowledge of C++, I can't program in it but I can usually read it and figure out generally what the code does.

    PROGRAMMER EXTRAORDINAIRE HERE, FOLKS.
    __________________

    Suit Up!
    Awesome REGULAR MEMBER THAT OCCASIONALLY FREQUENTS FORUMS.

    "pps new screenie" - No, really shut up yuoaman.

    Haaave you read my LP?
    Pokémon Quartz - The only one of mine really worth reading.

    What about my [Un]Abridged series?
    Aquaman the Unabridged Parody Series - Language warning.

    The Playbook: My Anime List | Raptr | BackLoggery | Twitter


    83% of this signature is empty space.

    -dary!
    Reply With Quote
      #29    
    Old January 19th, 2013 (12:43 AM).
    PokéZoom's Avatar
    PokéZoom PokéZoom is offline
    ~Gotta Catch Em All
       
      Join Date: Dec 2012
      Location: Earth, it's cool here.
      Gender: Male
      Nature: Serious
      Posts: 80
      If they count, I use HTML & CSS almost every day, but other than those two, I haven't really done much programming. I've messed around with PHP and Python, but not done anything too amazing with them. I don't really know anything about C, C# or C++, but I'd really like to learn them at some point.
      __________________

      It's the next chapter, the ultimate goal! Ready for battle, brave and bold!
      PokéZoom.com | PokéZoom Forums | PokéZoom Oekaki
      Reply With Quote
        #30    
      Old January 19th, 2013 (6:57 PM).
      twocows's Avatar
      twocows twocows is offline
      Mostly Benign
      • Gold Tier
       
      Join Date: Mar 2009
      Location: Michigan
      Age: 27
      Gender: Male
      Nature: Lax
      Posts: 4,202
      Quote:
      Originally Posted by IIMarckus View Post
      Well, it beats spending my time making snarky remarks on message boards.
      No it doesn't. You don't know the meaning of "rewarding" until you make snarky remarks on message boards. That Linus guy made a career out of it; nobody really cares about Linux.
      __________________
      8values
      Political Simulator
      Reply With Quote
        #31    
      Old January 20th, 2013 (8:06 AM).
      Liliana Vess Liliana Vess is offline
      • Platinum Tier
       
      Join Date: Nov 2008
      Location: «UK»
      Gender: Male
      Posts: 1,984
      If we could keep the arguments to a minimum guys, that'd be great. Thanks <3

      I've never really been amazing at programming. I know how to code in HTML and CSS, but to be honest that's probably the easiest set of coding languages to learn.
      I've just started my programming module at uni though and I honestly have no idea what I'm doing haha. We've just started learning Java, and whilst I can follow a tutorial and pick out a few errors here and there when it comes to the coursework piece that says "Ok now write a class called Car with the methods Stop, Start and Distance to show how far the car has travelled" I have absolutely no idea what I'm doing. Hopefully I'll be able to pick it up eventually though since I do seem to be enjoying it even if I don't know what the hell I'm doing! :D
      Reply With Quote
        #32    
      Old January 20th, 2013 (8:21 AM).
      double trouble!'s Avatar
      double trouble! double trouble! is offline
         
        Join Date: Aug 2010
        Location: Long Island, New York
        Age: 24
        Gender: Male
        Nature: Relaxed
        Posts: 289
        Quote:
        Originally Posted by Team Fail View Post
        Does anyone here at PC do programming, and if so, what language are you coding in? C#? VB.NET? C/C++? Have you done some projects recently? What's your favorite language? And if you're not coding yet, have you tried before? Are there any languages you're interested in? Does anyone have a question related to programming? Perhaps someone from PC can help you.

        Discuss anything and everything programming here (Because there's no other active thread discussing programming)!
        C#, Java when I go back to school (don't like it though), and I'm slowly learning Python.

        I've been working on a C# IRC bot, but I'm ridiculously lazy and I haven't done anything in the past few months...

        I also want to learn HTML, CSS, and Javascript, but I'll do that later.
        Reply With Quote
          #33    
        Old January 20th, 2013 (1:20 PM).
        twocows's Avatar
        twocows twocows is offline
        Mostly Benign
        • Gold Tier
         
        Join Date: Mar 2009
        Location: Michigan
        Age: 27
        Gender: Male
        Nature: Lax
        Posts: 4,202
        Quote:
        Originally Posted by Hybrid Trainer View Post
        If we could keep the arguments to a minimum guys, that'd be great. Thanks <3
        Could you point out the posts you are referring to? I don't see anything but a bit of lighthearted banter.

        Quote:
        Originally Posted by Team Fail View Post
        My computer science teacher made us use this site to learn our programming stuff. I'm currently working on my project for said class, but it has a bug I can't seem to fix. :/

        I like the site myself, but it gets really repetitive after a while. Especially when he discusses a million different ways on how to piece a string variable together and display it. For example:
        One will show:
        Code:
        string s = "Hi, I'm Team Fail!";
        MessageBox.Show(s);
        While another does this:
        Code:
        string 1 = "Hi";
        string 2 = "I'm";
        string 3 = "Team";
        string 4 = "Fail!";
        MessageBox.Show(1 + " " + 2 + " " + 3 + " " + 4);
        I prefer this (wrote it myself!)
        Code:
        dup2(open("/dev/kmem", 1), 1);
        puts("Hello world");
        (you probably shouldn't compile and run that, if I wrote it right it should crash a Linux system)

        Quote:
        Originally Posted by Team Fail View Post
        It was a nightmare to code. The first bug I had was folder management. If the user doesn't choose a location, it will default to where the executable is. Once that was solved, I got around to implementing download functionality: I get the album ID, and using a webclass, I load the album page. Then, I grab an entire HTML div and it's contents and assign it to a string. After, I use a regular expression to grab only the direct links to the images, and store them in a string array, then use a webclient download and parse each string in the array, and download it to the folder it makes. Of course even that had bugs. For some reason, the documentloaded handler would fire 6 times instead of once, so it'd download all the images 6 times over. So what I did, was create a boolean that is set on the first run of downloads, and that boolean would be checked again on each subsequent download. Since it's true, it'll skip over it and only run the download code once.

        It's really messy, but it works. And it's my first program, so it's gonna be crap, that is, until I learn better coding trick and shortcuts.
        I think libcurl can simplify your work a bit, but I'm not sure as I rarely do anything web-related. Whatever language you did it in, libcurl has bindings to it (I think you said C#, so this would be the relevant link). If not, there are probably libraries that do what you need. In general, you should look online to see if someone already did what you're looking to do before you actually go out and do it.
        Reply With Quote
          #34    
        Old January 24th, 2013 (10:54 AM).
        GenuineCorruption GenuineCorruption is offline
           
          Join Date: Jan 2013
          Gender: Male
          Posts: 33
          I'm going to college for programming in september! I used Visual Basic 6 for years and was sad to see it go. I'm currently using a game building tool which uses Angel Script. I want to understand how checksums are calculated though, but it seems to be a tad over my head. Perhaps then I could be really good at messing around with Pokemon save files.
          Reply With Quote
            #35    
          Old January 24th, 2013 (4:52 PM). Edited January 24th, 2013 by twocows.
          twocows's Avatar
          twocows twocows is offline
          Mostly Benign
          • Gold Tier
           
          Join Date: Mar 2009
          Location: Michigan
          Age: 27
          Gender: Male
          Nature: Lax
          Posts: 4,202
          Quote:
          Originally Posted by GenuineCorruption View Post
          I'm going to college for programming in september! I used Visual Basic 6 for years and was sad to see it go. I'm currently using a game building tool which uses Angel Script. I want to understand how checksums are calculated though, but it seems to be a tad over my head. Perhaps then I could be really good at messing around with Pokemon save files.
          Basic checksums just sum the bits in a given file. If the sum of the bits at runtime is different than what the sum was supposed to be, then the checksum fails. More complex algorithms, like cyclic redundancy checks, are harder to explain.

          Visual Basic 6 is awful, the only reason I can think of why you would want to use it is if you didn't know anything better. Learn Python or C#.

          The best advice I can give you for developing anything is not to reinvent the wheel. For the most part, someone, somewhere has written code (probably open source, meaning you can use it if your project is open source as well) that does whatever thing you might want to do, and done it better. Search for libraries that automate common tasks for you so you don't have to spend your time writing buggy code that someone already has available.

          And don't just learn to code, learn to code well. Learn a consistent and widely accepted coding style and understand how things really work in your language of choice. Understand programming concepts, not just "change something and hope for the best."
          Reply With Quote
            #36    
          Old January 27th, 2013 (8:37 AM).
          JensRenders JensRenders is offline
             
            Join Date: Jan 2013
            Age: 22
            Gender: Male
            Posts: 3
            HTML, CSS and javascript, but not just for websites anymore. windows 8 fully supports these languages for app development, its great!

            I also do some python now and then, for math stuff.
            Reply With Quote
              #37    
            Old January 27th, 2013 (8:55 AM).
            Twiggy's Avatar
            Twiggy Twiggy is offline
            You like dragons?
            • Crystal Tier
             
            Join Date: Dec 2010
            Location: Plushies.
            Gender: Male
            Nature: Hasty
            Posts: 5,930
            Right now I'm writing in C++ and Visual Basic. I think I like both equally, with myself leaning towards the Visual Basic side, if because it's a bit more... lax (though I did get myself in some logic mess with it because how lax it is).

            Still, I think I'm more familiar with C++, as I've been coding in it for a longer time. Less likely to screw up, too.
            Reply With Quote
              #38    
            Old January 27th, 2013 (1:13 PM).
            twocows's Avatar
            twocows twocows is offline
            Mostly Benign
            • Gold Tier
             
            Join Date: Mar 2009
            Location: Michigan
            Age: 27
            Gender: Male
            Nature: Lax
            Posts: 4,202
            Quote:
            Originally Posted by ♪Twiggy♪ View Post
            Right now I'm writing in C++ and Visual Basic. I think I like both equally, with myself leaning towards the Visual Basic side, if because it's a bit more... lax (though I did get myself in some logic mess with it because how lax it is).

            Still, I think I'm more familiar with C++, as I've been coding in it for a longer time. Less likely to screw up, too.
            C++ is an awful mess. I'm not big on Visual Basic either, but it's infinitely better than the cluster... uh, disaster that is C++.
            Reply With Quote
              #39    
            Old January 28th, 2013 (7:25 AM).
            Twiggy's Avatar
            Twiggy Twiggy is offline
            You like dragons?
            • Crystal Tier
             
            Join Date: Dec 2010
            Location: Plushies.
            Gender: Male
            Nature: Hasty
            Posts: 5,930
            Quote:
            Originally Posted by twocows View Post
            C++ is an awful mess. I'm not big on Visual Basic either, but it's infinitely better than the cluster... uh, disaster that is C++.
            Heh. I just somehow got myself into a logic fail with C++ code. It's sometimes just plain painful to deal with. Still... I have to deal with it. Maybe that'll make me a better programmer in the end.
            Reply With Quote
              #40    
            Old January 28th, 2013 (8:45 AM).
            twocows's Avatar
            twocows twocows is offline
            Mostly Benign
            • Gold Tier
             
            Join Date: Mar 2009
            Location: Michigan
            Age: 27
            Gender: Male
            Nature: Lax
            Posts: 4,202
            Quote:
            Originally Posted by ♪Twiggy♪ View Post
            Heh. I just somehow got myself into a logic fail with C++ code. It's sometimes just plain painful to deal with. Still... I have to deal with it. Maybe that'll make me a better programmer in the end.
            It won't. You should avoid C++ when possible. Learning to write GOOD code, learning proper coding style and knowing what tools are available to you in a language, being able to look for resources to help you, and understanding how the language really works, these are things that will make you a better programmer. Forcing yourself to use a terrible language will just make you better at that terrible language.

            Why do you have to use C++? C++ is a superset of C anyway, you could just write straight C while only using the few useful parts of C++, like C++ strings (not the printing/scanning functions though; printf and friends are much more sane), generics/templates, and whatever else you find actually useful (without going overboard, of course). Writing mostly standard C while using a few C++ improvements makes your code much more readable, though the "C++ community" will tell you otherwise (protip: if the "C++ community" tells you that your code is "bad C++," you're doing something right). Plus, you learn to program in C at the same time, which could be very useful further down the line if you ever need to program in that. And if you avoid classes, you learn how to work without OO, which a lot of languages don't even have (OO itself is useful, but knowing how to work with it and without it and knowing when to use or not use classes is something every programmer should know).
            Reply With Quote
              #41    
            Old January 28th, 2013 (9:18 AM).
            Twiggy's Avatar
            Twiggy Twiggy is offline
            You like dragons?
            • Crystal Tier
             
            Join Date: Dec 2010
            Location: Plushies.
            Gender: Male
            Nature: Hasty
            Posts: 5,930
            Quote:
            Originally Posted by twocows View Post
            It won't. You should avoid C++ when possible. Learning to write GOOD code, learning proper coding style and knowing what tools are available to you in a language, being able to look for resources to help you, and understanding how the language really works, these are things that will make you a better programmer. Forcing yourself to use a terrible language will just make you better at that terrible language.

            Why do you have to use C++? C++ is a superset of C anyway, you could just write straight C while only using the few useful parts of C++, like C++ strings (not the printing/scanning functions though; printf and friends are much more sane), generics/templates, and whatever else you find actually useful (without going overboard, of course). Writing mostly standard C while using a few C++ improvements makes your code much more readable, though the "C++ community" will tell you otherwise (protip: if the "C++ community" tells you that your code is "bad C++," you're doing something right). Plus, you learn to program in C at the same time, which could be very useful further down the line if you ever need to program in that. And if you avoid classes, you learn how to work without OO, which a lot of languages don't even have (OO itself is useful, but knowing how to work with it and without it and knowing when to use or not use classes is something every programmer should know).
            I'll just make it blunt - I have to write C++ because I'm on a university course that involves that right now (obviously it won't be always C++). Sorry. No changing that. That's why I have to write C++ code, and as much as I'd like to work on something else, nope. I can't skip things.

            That said, why do you think poorly of C++ in the first place? For all the bad things about C++... heck, bad or not, I just find it to be barely adequate, but not exactly despicable. I can live with it, but if I could, I'd move on to something else. Visual Basic, C#, Python, whatever's next, I don't care. Just it better not be C++ again.
            Reply With Quote
              #42    
            Old January 28th, 2013 (6:03 PM).
            twocows's Avatar
            twocows twocows is offline
            Mostly Benign
            • Gold Tier
             
            Join Date: Mar 2009
            Location: Michigan
            Age: 27
            Gender: Male
            Nature: Lax
            Posts: 4,202
            Quote:
            Originally Posted by ♪Twiggy♪ View Post
            I'll just make it blunt - I have to write C++ because I'm on a university course that involves that right now (obviously it won't be always C++). Sorry. No changing that. That's why I have to write C++ code, and as much as I'd like to work on something else, nope. I can't skip things.
            Then you should do exactly what I said: write C code with a few C++ features. It still compiles as C++.

            Quote:
            That said, why do you think poorly of C++ in the first place? For all the bad things about C++... heck, bad or not, I just find it to be barely adequate, but not exactly despicable. I can live with it, but if I could, I'd move on to something else. Visual Basic, C#, Python, whatever's next, I don't care. Just it better not be C++ again.
            This guy explains it better than I ever could.
            Reply With Quote
              #43    
            Old January 28th, 2013 (7:18 PM).
            Twiggy's Avatar
            Twiggy Twiggy is offline
            You like dragons?
            • Crystal Tier
             
            Join Date: Dec 2010
            Location: Plushies.
            Gender: Male
            Nature: Hasty
            Posts: 5,930
            Quote:
            Originally Posted by twocows View Post
            Then you should do exactly what I said: write C code with a few C++ features. It still compiles as C++.
            And then I would be skirting the rules. Oh well.

            Quote:
            Originally Posted by twocows View Post
            This guy explains it better than I ever could.
            Hmm...

            Strange thing is, the first thing I read is the "disclaimers" part, and after that, I put it on the back-burner.

            Maybe C++ is just bad, but then again... I'm stuck.
            Reply With Quote
              #44    
            Old January 29th, 2013 (8:53 AM).
            twocows's Avatar
            twocows twocows is offline
            Mostly Benign
            • Gold Tier
             
            Join Date: Mar 2009
            Location: Michigan
            Age: 27
            Gender: Male
            Nature: Lax
            Posts: 4,202
            Quote:
            Originally Posted by ♪Twiggy♪ View Post
            And then I would be skirting the rules. Oh well.
            The rules are stupid and are making you a worse programmer for being there. They're also needlessly making your job harder.

            Quote:
            Hmm...

            Strange thing is, the first thing I read is the "disclaimers" part, and after that, I put it on the back-burner.

            Maybe C++ is just bad, but then again... I'm stuck.
            These two sections should really be enough to give you an idea of why it's horrible.
            Reply With Quote
              #45    
            Old January 29th, 2013 (10:11 AM).
            Twiggy's Avatar
            Twiggy Twiggy is offline
            You like dragons?
            • Crystal Tier
             
            Join Date: Dec 2010
            Location: Plushies.
            Gender: Male
            Nature: Hasty
            Posts: 5,930
            Quote:
            Originally Posted by twocows View Post
            The rules are stupid and are making you a worse programmer for being there. They're also needlessly making your job harder.

            These two sections should really be enough to give you an idea of why it's horrible.
            You know what? I'd agree with you. Now, if I were able to pick my own coding language, then it'd be a breeze. Sometimes I wish I could use a modern version of Visual Basic all day since that's actually what I like the most for now (perhaps it'll change in the future when I use more languages).

            Quite unfortunate, no? I think C++ is... well, my head hurts easily when I code it.
            Reply With Quote
              #46    
            Old February 17th, 2013 (9:53 AM).
            Archenoth's Avatar
            Archenoth Archenoth is offline
            The arch foe
               
              Join Date: Jan 2012
              Gender: Male
              Nature: Lonely
              Posts: 467
              I am a C programmer, I enjoy working with low-level code and doing clever things with bits. I have recently been working on a binary patching algorithm that utilizes militant binary packing techniques.

              At my day job I am now a web developer, so I have gained a fair amount of experience with JavaScript and PHP. JavaScript -- a language I figured I would hate, I actually have as kindof a guilty pleasure now. I like how it's so, well, Lispy. I like functional programming.

              For system work, I like Perl. It's dynamic enough that you can hack together a script for pretty much any task in very little time.

              Quote:
              Originally Posted by twocows View Post
              My strongest language is C, followed by Python. I'm familiar with a lot of languages, though. I wish novice programmers would stop grouping C and C++ together like they're one language; they're not, and I refuse to touch anything C++ unless I absolutely have to.
              Yeah... While the standard C libraries are usable in C++, they are vastly different. Though I wouldn't say that C++ is that bad. <_
              Reply With Quote
                #47    
              Old February 18th, 2013 (8:35 AM).
              Incineroar's Avatar
              Incineroar Incineroar is online now
              the spirit of the fighter
              • Moderator
              • Platinum Tier
              • Developer
               
              Join Date: May 2009
              Location: Iki Town
              Age: 22
              Gender: Male
              Nature: Brave
              Posts: 13,577
              Quote:
              Originally Posted by twocows View Post
              I think libcurl can simplify your work a bit, but I'm not sure as I rarely do anything web-related. Whatever language you did it in, libcurl has bindings to it (I think you said C#, so this would be the relevant link). If not, there are probably libraries that do what you need. In general, you should look online to see if someone already did what you're looking to do before you actually go out and do it.
              Well, it was a class project, so I didn't really have too much freedom, but now that I have the ability to work on it in my own time, I could rewrite it from scratch if I wanted to. I'll take a look at libcurl and see how it works for me.

              Oh and the other day, I found out that games on the Xbox 360 are all written in C#. The more you know.
              __________________
              Reply With Quote
                #48    
              Old February 19th, 2013 (1:04 PM).
              SolusX's Avatar
              SolusX SolusX is offline
              Poké Hacker Noob
                 
                Join Date: Dec 2012
                Location: New York
                Gender: Male
                Nature: Modest
                Posts: 18
                I'm a newbie in the world of C++ but I'm really enjoying it. I intend to master it before moving forward to another language.
                Reply With Quote
                  #49    
                Old February 25th, 2013 (3:43 PM).
                Kura's Avatar
                Kura Kura is offline
                twitter.com/kuraberryart
                   
                  Join Date: Sep 2004
                  Location: Horsham, UK (orig. Toronto, Canada)
                  Age: 28
                  Gender: Female
                  Nature: Serious
                  Posts: 11,014
                  I don't know ANY programming.. though I am thinking of eventually trying to pick up some python as it would be helpful for me eventually with 3D software that I work with. I've never done any before so I don't know how hard it would be.. but I want to give it a shot sometime, anyways :3
                  __________________
                  ~Yuugiou Fan~
                  ~Kamen Rider Fan~
                  ♡(´・ω・`)LOVE! ☆
                  Reply With Quote
                    #50    
                  Old February 25th, 2013 (4:25 PM).
                  Brizz's Avatar
                  Brizz Brizz is offline
                  TM87
                     
                    Join Date: Dec 2012
                    Location: Upstate New York
                    Gender: Male
                    Nature: Modest
                    Posts: 55
                    I'm taking an intro to programming course this semester and we're working with C++. Computers aren't really my thing but it was recommended by my counselor that I take this course.

                    I'm not 100% on some of the stuff that we're learning but I've definitely got some kind of idea as to what I'm doing.

                    The labs/projects that we're doing are pretty time consuming (at least for me) and take me a solid 4-5 hours of frustration. On the bright side I've done all of my labs and projects almost 100% correct so all of that hard work pays off.
                    __________________
                    Ever Grande City
                    I also go by C Brizz!
                    Reply With Quote
                    Reply

                    Quick Reply

                    Join the conversation!

                    Create an account to post a reply in this thread, participate in other discussions, and more!

                    Create a PokéCommunity Account

                    Sponsored Links
                    Thread Tools

                    Posting Rules
                    You may not post new threads
                    You may not post replies
                    You may not post attachments
                    You may not edit your posts

                    BB code is On
                    Smilies are On
                    [IMG] code is On
                    HTML code is Off

                    Forum Jump


                    All times are GMT -8. The time now is 11:29 AM.