Page 1 of 4 1 ... LastLast
Results 1 to 25 of 89
  1. #1
    Sonata Dusk
    Nerevar's Avatar
    Join Date
    Aug 2005
    Location
    Equestria
    Age
    22
    Posts
    16,597
    Rep Power
    145

    Programmers' Corner

    I've recently been getting into programming. I spent the last month teaching myself Javascript. Now I'm leaning Python (for my introduction to programming class). Later I want to mess with Java so I can mod Minecraft. <3

    Anyway, I figured a thread for coders would be fun, presuming there's any others here. We can discuss and help each other on any projects or languages, or maybe do challenges if we have enough people. Personally, I could use help with python if anyone's willing.
    Last edited by Nerevar; 01-26-2014 at 10:02.

  2. #2
    Ultimate Veteran
    Ixion's Avatar
    Join Date
    Nov 2005
    Location
    New York
    PSN ID
    MagicManGSC
    Age
    25
    Posts
    20,111
    Rep Power
    168
    What a coincidence! I'm trying to learn Java. I started about a week ago.

    I mainly want to learn Java because it's very similar to APEX, which is the coding language of Salesforce. Most of my job involves administrating Salesforce for our company, and learning the coding language behind it will really help me do some cool things. Salesforce developers recommend learning Java first.

    I'm using a tightly edited 4-hour video to teach me the basics. You can watch the first hour for free:




    Anyway, I just started messing around with some actual coding earlier today. I'm using Eclipse and making some simple programs. I actually took three programming classes in college, including a Java class, but I didn't retain anything. lol

    I definitely heard that Python is the best language for beginners though, so it sounds like you're on the right path. I would do the same if APEX wasn't 95% like Java. Besides, at least Java is better for beginners than C++ apparently.

  3. #3
    Dedicated Member
    John Willaford's Avatar
    Join Date
    Feb 2013
    Location
    Owings Mills, MD
    Age
    40
    Posts
    1,042
    Rep Power
    25
    Java is 'better' for beginners than C++ because you have
    A: Standardized non proprietary GUI libraries to learn on.
    B: Automatic Garbage Collection, for better or worse. You can mess with the JVM GC a little bit by setting variables, particularly large objects, to null after your SURE they don't need reuse. I once had an object that was just TOOOOO big and needed it to go away, the JVM wasn't necessarily ontop of it, so, I set it to null after it was outside of scope (sadly, nested big loops were just necessary for this operation, it was a brute force Game Of Life program for a class, nothing as elegant as Hashlife, but not so bad, using an array of BitSet objects for the rows (the array was the row, each element of the array the column, each element of the screen delineated from it's on screen position into an array position, each position written into a Position type queue which was then exported to array and analysed. Not a math nut's version but quite fast and better than the rest of what was going on in class). null does work alot, i'd already noticed before.
    Don't get stuck in a rut
    . work with interfaces and threads and processes. It never dawns on you what you can really do till you learn the big picture parts of the language.
    You can lead a Donkey to water, but you can't make him drink.

  4. #4
    Sonata Dusk
    Nerevar's Avatar
    Join Date
    Aug 2005
    Location
    Equestria
    Age
    22
    Posts
    16,597
    Rep Power
    145
    Quote Originally Posted by Ixion View Post
    Anyway, I just started messing around with some actual coding earlier today.
    What have you made? I literally started messing with python a few hours ago. I have a few basic scripts set up:

    1) A 'tax-adder'. You put in the base cost of the item, it asks for the tax rate, and it spits out the total amount due.
    2) Temperature conversion between Fahrenheit and Celsius. The user can choose which they're converting to, then put in the temperature, and it will tell the other half.
    3) A cipher. You put in a word and it encrypts it. Surprisingly useful; I may start using it for my site passwords.

    All of these are usually recommended for beginners, but I'm really happy with the progress so far. I thought about making a short text adventure game for fun next.

  5. #5
    Super Elite
    Shingo's Avatar
    Join Date
    Dec 2011
    PSN ID
    Swordsman-45
    Posts
    2,253
    Rep Power
    41
    Items User name styleOne Piece
    I am a software engineer, coding with Java for 5 years. If you have any questions, I may give some help. Stackoverflow is my favorite place tho
    (_)
    ( _)>⌐■-■
    (⌐■_■)



    MyAnimeList

    Stop preordering games! Stop buying day1 games! Stop being idiots!

  6. Likes Christopher likes this post
  7. #6
    Forum Elder
    Abdou23's Avatar
    Join Date
    Sep 2008
    Location
    Egypt
    PSN ID
    Abdou023
    Age
    27
    Posts
    2,625
    Rep Power
    58
    Quote Originally Posted by Shingo View Post
    I am a software engineer, coding with Java for 5 years. If you have any questions, I may give some help. Stackoverflow is my favorite place tho
    With very basic Java knowledge ( from some youtube tutorials ) what is the best way to learn Android developing ?!

    PSN: Abdou023
    Currently Playing: GTA 5

  8. #7
    Community and Technical Manager
    Christopher's Avatar
    Join Date
    Jun 2007
    Location
    Warner Robins, GA
    PSN ID
    Cand3Js
    Age
    44
    Posts
    9,749
    Rep Power
    123
    Items Death Note LAtlusVitaPS3 FatMetal Gear Solid 4Naughty Dog360 SlimGuerrilla GamesApple
    Quote Originally Posted by Shingo View Post
    I am a software engineer, coding with Java for 5 years. If you have any questions, I may give some help. Stackoverflow is my favorite place tho
    Fellow SE man! I haven't done much Java since grad school. I've been programming C# professionally for almost 12 years. Here, obviously, I'm programming PHP.

    Yeah, Stackoverflow is awesome. Glad to see this thread though.

    Quote Originally Posted by Abdou23 View Post
    With very basic Java knowledge ( from some youtube tutorials ) what is the best way to learn Android developing ?!
    Yep....Java.




    formerly known as LeisureSuitLarry






  9. #8
    Forum Overseer
    F34R's Avatar
    Join Date
    Feb 2008
    Location
    South Carolina
    PSN ID
    F34RTEHR34PER
    Posts
    39,498
    Rep Power
    250
    Items BullySteamGran Turismo 5LiverpoolAppleJoker (limited ICON)Naughty DogMaster ChiefAssassins Creed EzioGears of WarHeavy RainDiablo III
    C#, PHP, Java, Obj. C, Lua, C.

    I've been involved in a lot of things since the release of the PSP.




  10. #9
    Community and Technical Manager
    Christopher's Avatar
    Join Date
    Jun 2007
    Location
    Warner Robins, GA
    PSN ID
    Cand3Js
    Age
    44
    Posts
    9,749
    Rep Power
    123
    Items Death Note LAtlusVitaPS3 FatMetal Gear Solid 4Naughty Dog360 SlimGuerrilla GamesApple
    Quote Originally Posted by F34R View Post
    C#, PHP, Java, Obj. C, Lua, C.

    I've been involved in a lot of things since the release of the PSP.
    I've programmed with all those except Lua. I remember you talking about your Lua apps on the PSP forums. You still writing stuff?




    formerly known as LeisureSuitLarry






  11. #10
    Forum Overseer
    F34R's Avatar
    Join Date
    Feb 2008
    Location
    South Carolina
    PSN ID
    F34RTEHR34PER
    Posts
    39,498
    Rep Power
    250
    Items BullySteamGran Turismo 5LiverpoolAppleJoker (limited ICON)Naughty DogMaster ChiefAssassins Creed EzioGears of WarHeavy RainDiablo III
    Quote Originally Posted by Christopher View Post
    I've programmed with all those except Lua. I remember you talking about your Lua apps on the PSP forums. You still writing stuff?
    I think my hardcore programming days are over. I would love to continue where I left off two years ago, but I don't think that will ever be possible in the same scope as it used to be.
    I can handle basic things still, and have done a few things I'd rather not admit to here.




  12. #11
    Administrator and Visionary
    Ghost's Avatar
    Join Date
    Aug 2009
    PSN ID
    rokushakubo
    Posts
    13,302
    Rep Power
    141
    I am pretty good with HTML $#@!es! Also got into a bit of CSS.

  13. #12
    Super Elite
    Shingo's Avatar
    Join Date
    Dec 2011
    PSN ID
    Swordsman-45
    Posts
    2,253
    Rep Power
    41
    Items User name styleOne Piece
    Quote Originally Posted by Christopher View Post
    Fellow SE man! I haven't done much Java since grad school. I've been programming C# professionally for almost 12 years. Here, obviously, I'm programming PHP.

    Yeah, Stackoverflow is awesome. Glad to see this thread though.

    Yep....Java.
    Glad to see some colleague here! I do get every kind of language back in the uni days , yet I only use lots of Java and a little bit C# now , because of my companies policies.

    @Abdou23
    If you wish to build simple apps, Java is enough, I am currently building some now, don't know a thing about game apps.
    (_)
    ( _)>⌐■-■
    (⌐■_■)



    MyAnimeList

    Stop preordering games! Stop buying day1 games! Stop being idiots!

  14. #13
    Forum Elder
    Abdou23's Avatar
    Join Date
    Sep 2008
    Location
    Egypt
    PSN ID
    Abdou023
    Age
    27
    Posts
    2,625
    Rep Power
    58
    Quote Originally Posted by Christopher View Post


    Yep....Java.
    Any good online tutorials ?! I know there are hundreds but the problem is those people aren't very good at caring for their learners, when i get stuck i ask the question and most likely i will not be getting an answer, or to be specific a solution.

    PSN: Abdou023
    Currently Playing: GTA 5

  15. #14
    Community and Technical Manager
    Christopher's Avatar
    Join Date
    Jun 2007
    Location
    Warner Robins, GA
    PSN ID
    Cand3Js
    Age
    44
    Posts
    9,749
    Rep Power
    123
    Items Death Note LAtlusVitaPS3 FatMetal Gear Solid 4Naughty Dog360 SlimGuerrilla GamesApple
    Quote Originally Posted by Abdou23 View Post
    Any good online tutorials ?! I know there are hundreds but the problem is those people aren't very good at caring for their learners, when i get stuck i ask the question and most likely i will not be getting an answer, or to be specific a solution.
    Tutorials are not good places to go to try and solve problems. They just get you started. When I have a problem that isn't just a basic syntax issue or something simple like that, I just google the problem as descriptive as I can. That may seem obvious, but I have found that 9 times out of 10, whatever issue I have had someone else has had it as well. Remember, errors are your friend. Sometimes I just copy and paste the error into google and find a solution.

    Stackoverflow.com was mentioned. Excellent resource. I would create an account there. If your problem has already been posted then post it yourself.

    But post it here as well. Maybe we can help you figure it out.




    formerly known as LeisureSuitLarry






  16. #15
    Ultimate Veteran
    Ixion's Avatar
    Join Date
    Nov 2005
    Location
    New York
    PSN ID
    MagicManGSC
    Age
    25
    Posts
    20,111
    Rep Power
    168
    Quote Originally Posted by Rapture View Post
    What have you made? I literally started messing with python a few hours ago. I have a few basic scripts set up:

    1) A 'tax-adder'. You put in the base cost of the item, it asks for the tax rate, and it spits out the total amount due.
    2) Temperature conversion between Fahrenheit and Celsius. The user can choose which they're converting to, then put in the temperature, and it will tell the other half.
    3) A cipher. You put in a word and it encrypts it. Surprisingly useful; I may start using it for my site passwords.

    All of these are usually recommended for beginners, but I'm really happy with the progress so far. I thought about making a short text adventure game for fun next.
    I'm just going through the beginner exercises I found here. Just a random set of exercises I found.

    I'm on question #7 of exercise 1.2. I don't know why I'm getting a negative sum and average. Any idea guys?



    Attached Images

  17. #16
    Super Elite
    Shingo's Avatar
    Join Date
    Dec 2011
    PSN ID
    Swordsman-45
    Posts
    2,253
    Rep Power
    41
    Items User name styleOne Piece
    What I see from here is probably this ; http://answers.yahoo.com/question/in...0191527AALyB2G
    Try long instead.
    (_)
    ( _)>⌐■-■
    (⌐■_■)



    MyAnimeList

    Stop preordering games! Stop buying day1 games! Stop being idiots!

  18. Likes Ixion likes this post
  19. #17
    Ultimate Veteran
    Ixion's Avatar
    Join Date
    Nov 2005
    Location
    New York
    PSN ID
    MagicManGSC
    Age
    25
    Posts
    20,111
    Rep Power
    168
    Quote Originally Posted by Shingo View Post
    What I see from here is probably this ; http://answers.yahoo.com/question/in...0191527AALyB2G
    Try long instead.
    Thanks! That did the trick.

  20. #18
    Ultimate Veteran
    mistercrow's Avatar
    Join Date
    Nov 2007
    Location
    Texas
    PSN ID
    mistercrow
    Posts
    24,267
    Rep Power
    170
    Quote Originally Posted by Ghost View Post
    I am pretty good with HTML $#@!es! Also got into a bit of CSS.
    I got into quite a bit of LSD when I was younger. lol

  21. Likes Ghost , Christopher likes this post
  22. #19
    Master Poster
    ex nihilo7's Avatar
    Join Date
    Nov 2006
    Age
    26
    Posts
    3,368
    Rep Power
    74
    I have a bachelors and masters degree in computer science and am a software developer. I started off learning with C++ then took a java class. Now I program using java and some other languages almost every day at work.
    PS4|PS3|PS2|PS1|PSVITA|XBOX 360|XBOX|N64|3DS XL|DSi|Gameboy Advance|Gameboy Color|PC

  23. #20
    Community and Technical Manager
    Christopher's Avatar
    Join Date
    Jun 2007
    Location
    Warner Robins, GA
    PSN ID
    Cand3Js
    Age
    44
    Posts
    9,749
    Rep Power
    123
    Items Death Note LAtlusVitaPS3 FatMetal Gear Solid 4Naughty Dog360 SlimGuerrilla GamesApple
    Quote Originally Posted by ex nihilo7 View Post
    I have a bachelors and masters degree in computer science and am a software developer. I started off learning with C++ then took a java class. Now I program using java and some other languages almost every day at work.
    Cool. My Masters is in CS....bachelors in English Lit. Yeah.....I had to take a ton of bridge classes to get into the Masters program as you can imagine.




    formerly known as LeisureSuitLarry






  24. #21
    Master Poster
    ex nihilo7's Avatar
    Join Date
    Nov 2006
    Age
    26
    Posts
    3,368
    Rep Power
    74
    Quote Originally Posted by Christopher View Post
    Cool. My Masters is in CS....bachelors in English Lit. Yeah.....I had to take a ton of bridge classes to get into the Masters program as you can imagine.
    Yeah way different programs haha. My masters pretty much felt like a continuation from my undergrad.
    PS4|PS3|PS2|PS1|PSVITA|XBOX 360|XBOX|N64|3DS XL|DSi|Gameboy Advance|Gameboy Color|PC

  25. #22
    Community and Technical Manager
    Christopher's Avatar
    Join Date
    Jun 2007
    Location
    Warner Robins, GA
    PSN ID
    Cand3Js
    Age
    44
    Posts
    9,749
    Rep Power
    123
    Items Death Note LAtlusVitaPS3 FatMetal Gear Solid 4Naughty Dog360 SlimGuerrilla GamesApple
    Quote Originally Posted by ex nihilo7 View Post
    Yeah way different programs haha. My masters pretty much felt like a continuation from my undergrad.
    I had worked in the industry for almost 10 years prior to going to grad school so it wasn't entirely foreign. Once I got over discrete math and algorithm analysis, I was good.

    Where did you go to school? I went to Auburn for undergrad. DePaul for grad.




    formerly known as LeisureSuitLarry






  26. #23
    Master Sage
    Justin's Avatar
    Join Date
    Jun 2005
    Location
    Canada
    Age
    30
    Posts
    14,976
    Rep Power
    130
    Items Tommy VercettiUser name styleModern Warfare 3
    HTML, VB, JavaScript, and CSS are my mains. I have built a few pages in my day.

    10 years and counting!

  27. #24
    Master Poster
    ex nihilo7's Avatar
    Join Date
    Nov 2006
    Age
    26
    Posts
    3,368
    Rep Power
    74
    Quote Originally Posted by Christopher View Post
    I had worked in the industry for almost 10 years prior to going to grad school so it wasn't entirely foreign. Once I got over discrete math and algorithm analysis, I was good.

    Where did you go to school? I went to Auburn for undergrad. DePaul for grad.
    I went to Michigan for both degrees. I am glad I'm done with school.
    PS4|PS3|PS2|PS1|PSVITA|XBOX 360|XBOX|N64|3DS XL|DSi|Gameboy Advance|Gameboy Color|PC

  28. #25
    Power Member
    Vulgotha's Avatar
    Join Date
    Jan 2007
    Age
    24
    Posts
    15,778
    Rep Power
    150
    I hate Java lol.

    I know PHP, Coldfusion, Javascript, HTML(5), CSS(3) some CMS specific stuff..
    Last edited by Vulgotha; 01-31-2014 at 02:25.


Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
vBCredits II Deluxe v2.1.0 (Pro) - vBulletin Mods & Addons Copyright © 2010-2015 DragonByte Technologies Ltd.