Python Programming & other inferior programming languages thread

Discussion in 'The Mainboard' started by Walt Disney, Jul 15, 2015.

  1. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    hour 13 of a hack-a-thon
     
    TDCD and Walt Disney like this.
  2. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    I've been fixing all the merge conflicts because no one is comfortable in vi.

    vi master race checking in
     
    kennypowers likes this.
  3. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    you can only be vi master race if you have the arrow keys disabled
     
    Walt Disney and kennypowers like this.
  4. TDCD

    TDCD Handling the Fisher account
    Donor
    Florida State SeminolesConnecticut HuskiesBoston Red SoxNew England Patriots

    Sublime 3 here because I need the colorful skins :gays:
     
    Shiggityshwo and clemsontyger04 like this.
  5. leroi

    leroi -
    Donor
    South Carolina GamecocksGrateful Dead

    yeah when people start talking about their snazzy development environments , i go hide

    i do everything in notepad++ on windows 10

    my "source control" are about 300 .ZIP files on google drive

    this is what happens when you're self taught and work entirely alone
     
  6. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    lomcevak and BellottiBold like this.
  7. kentucky_dawg

    kentucky_dawg Fan of: Georgia
    Donor
    Georgia Bulldogs

    Oh my god
     
    Joe_Pesci likes this.
  8. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    use vim sublime plug in
     
  9. TDCD

    TDCD Handling the Fisher account
    Donor
    Florida State SeminolesConnecticut HuskiesBoston Red SoxNew England Patriots

    did one this weekend too, at github HQ
     
    Walt Disney likes this.
  10. leroi

    leroi -
    Donor
    South Carolina GamecocksGrateful Dead

    yeah, the standards in the gov't GIS field are insanely low. we're not building software here. I've always been the only person in my organization who can write code, and what i've written is basically worthless to the general public, so... not much point in sharing it.

    i find github really useful for deploying servers, though
     
    #760 leroi, Mar 13, 2017
    Last edited: Mar 13, 2017
  11. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    link to the proj?

    has anyone used swagger for documentation?
     
  12. Pile Driving Miss Daisy

    Pile Driving Miss Daisy It angries up the blood
    Donor
    Texas LonghornsAtlanta BravesAtlanta HawksAtlanta FalconsAtlanta UnitedGeorgia Southern Eagles

    Yes, it's a pain in the ass to setup but you can quickly generate all the boilerplate route-controller code that you so often write.
     
  13. bigjrock

    bigjrock Pillsbury Geauxboy
    Donor
    LSU TigersNew Orleans PelicansNew Orleans Saints

    Any suggestions from this thread on online coding classes for kids? My son is 11 and I want to capitalize on his nerdiness by exposing him to this stuff early. We are going to build a PC together (hope I don't fuck that up) and then I want him to start learning.

    He's a good kid, but he's not getting a football schollie...
     
    Where Eagles Dare likes this.
  14. Pile Driving Miss Daisy

    Pile Driving Miss Daisy It angries up the blood
    Donor
    Texas LonghornsAtlanta BravesAtlanta HawksAtlanta FalconsAtlanta UnitedGeorgia Southern Eagles

    https://codekingdoms.com/
     
    bigjrock likes this.
  15. BellottiBold

    Donor
    Oregon Ducks

  16. bigjrock

    bigjrock Pillsbury Geauxboy
    Donor
    LSU TigersNew Orleans PelicansNew Orleans Saints

  17. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    a week into vi I decided to move to emacs
     
  18. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    emacs is more powerful but i dont like having to press 4 keys just to exit

    the only person i know who uses emacs is an instructor of mine who drives a jeep with a giant linux penguin on the spare tire cover
     
  19. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    yeah that's a little annoying, but I like the idea of never really having to leave emacs
     
    Joe_Pesci likes this.
  20. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    any lisp dudes?
     
  21. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    Finishing up the final project for my OOP class. For whatever reason, everything up to this point has been C++ but they throw in Java right at the end of the last major 200-level class. I was annoyed at first but Java is pretty cool, especially for basic OO stuff compared to C++.

    Also being able to use something other than vim/command line was nice.
     
  22. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    Also does anyone know of something out there that can auto-generate makefiles and isn't foo far over the head of someone at my level? I'm sure this syntax seemed like a good idea at some point but :blech:
     
  23. kennypowers

    kennypowers Big shit like a dinosaur did it
    Donor TMB OG
    UCF KnightsAtlanta BravesJacksonville Jaguars

    Our main code is an in house FEA solver that we try to make compliant with other HPC's. The makefile is what nightmares are made of.
     
    Joe_Pesci likes this.
  24. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    so when you add stuff, how do you deal with the new dependencies? or do you just end up compiling more stuff than necessary to avoid rebuilding the whole thing?
     
  25. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City


    I've done a little bit of clojures stuff, basic stuff

    Reading clojure code makes me want to end it
     
    leroi likes this.
  26. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    because of the density?
     
  27. kennypowers

    kennypowers Big shit like a dinosaur did it
    Donor TMB OG
    UCF KnightsAtlanta BravesJacksonville Jaguars

    I don't personally do anything to maintain it but it looks like all our libraries are statically linked and someone manually adds them to the makefile whenever they see fit. I'm positive there are useless libraries in there because it doesn't look well organized.
     
    Joe_Pesci likes this.
  28. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    anyone do any work in QA/QE/SDET?
     
  29. TDCD

    TDCD Handling the Fisher account
    Donor
    Florida State SeminolesConnecticut HuskiesBoston Red SoxNew England Patriots

    tried a little vim

    Feel like a badass using it but I'm soooo slow right now
     
    leroi, colonelrascals and Walt Disney like this.
  30. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    it'll get better
    :wqa
     
    BellottiBold likes this.
  31. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    do yourself a favor and change the colorscheme

    dont nobody got time for royal blue text on black background
     
    colonelrascals, leroi and Walt Disney like this.
  32. Corch

    Corch My son got the Denver Nuggets jeans
    Donor
    Ohio State BuckeyesDenver NuggetsCleveland CavaliersCleveland Indians

    Hey guys, I'm an IT recruiter and I'd love to teach myself the basics of coding and programming.

    Where should a guy like myself start?
     
  33. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    HTML, CSS, JS
     
    Walt Disney and Corch like this.
  34. Corch

    Corch My son got the Denver Nuggets jeans
    Donor
    Ohio State BuckeyesDenver NuggetsCleveland CavaliersCleveland Indians

    Is there a site for people like myself or any programs you'd recommend that could teach me the basics?
     
  35. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    edit: take a free online class
     
    #785 colonelrascals, Mar 26, 2017
    Last edited: Mar 26, 2017
    Corch likes this.
  36. Can I Spliff it

    Can I Spliff it Is Butterbean okay?
    Donor

    google play has programming "courses" that are set up like lessons + games via Sololearn

    freecodecamp is pretty decent
     
    Corch likes this.
  37. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    Best thing to do is just think of something and try and make it
     
    leroi likes this.
  38. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    I'm sorry but I fucking hate that advice and you see it everywhere.

    its impossible to learn how to build something when you have no idea your building materials are
     
  39. TDCD

    TDCD Handling the Fisher account
    Donor
    Florida State SeminolesConnecticut HuskiesBoston Red SoxNew England Patriots

    My intro to programming (other than the python intro course on coursera from UM) was buying, reading, and pouring over Learn to Program by Chris Pine:

    It's Ruby, which I've come to not be a huge fan of, but the important parts that have stuck with me are learning how to 'think like a computer' and translate our human ideas into things that computers can understand. And of course, almost everything other than syntax can be relatable in other languages.

    I also just got my first job in the field on Friday, doing frontend stuff in the Bay area so yay me.
     
  40. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    oh shit. congrats
     
    TDCD likes this.
  41. leroi

    leroi -
    Donor
    South Carolina GamecocksGrateful Dead

    everybody is different i guess. for me this is how I learn, I sit down with the tools, a vague idea of what they're supposed to be able to do, and a task to complete.
     
    Walt Disney and colonelrascals like this.
  42. Pile Driving Miss Daisy

    Pile Driving Miss Daisy It angries up the blood
    Donor
    Texas LonghornsAtlanta BravesAtlanta HawksAtlanta FalconsAtlanta UnitedGeorgia Southern Eagles

    For someone who may know literally nothing about programming, you need some structured course or good online guide. When I got back into programming I (and many others I know) used this,

    https://learnpythonthehardway.org/book/
     
  43. kennypowers

    kennypowers Big shit like a dinosaur did it
    Donor TMB OG
    UCF KnightsAtlanta BravesJacksonville Jaguars

    I added this to my .vimrc file to map ; to :

    nnoremap ; :

    Fuck a shift key. ;x
     
    colonelrascals likes this.
  44. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    little non-recursive map to start the monday off
     
  45. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    idk everyones different

    for me its almost a waste of time to do basic coding tutorials. I've also found when teaching Python to people that going through basic stuff doesn't keep there attention.

    If you build something early on you are more likely to stay with it then learning how to create pointless functions
     
  46. kentucky_dawg

    kentucky_dawg Fan of: Georgia
    Donor
    Georgia Bulldogs

    I think for someone who is just starting out, tutorials are almost a must. If you start to then get the basic fundamentals and ideas of programming, then starting your own personal project is an awesome way to pick up new languages and frameworks.
     
  47. Name P. Redacted

    Name P. Redacted I have no money and I'm also gay
    Donor
    Kansas State WildcatsSeattle Kraken

    Exactly. If someone is completely new to programming, then a structured approach is probably best. It can be a challenge to adjust to the proper way of thinking about problems.
     
  48. broXcore

    broXcore cat
    Donor
    Kansas State WildcatsNew York KnicksKansas City ChiefsSporting Kansas CityTottenham HotspurFormula 1

    Freecodecamp was probably the most helpful for me
     
  49. TDCD

    TDCD Handling the Fisher account
    Donor
    Florida State SeminolesConnecticut HuskiesBoston Red SoxNew England Patriots

    hang on, the command to browse the current directory in vim is ':Sex' ?

    :ded:
     
  50. colonelrascals

    colonelrascals Mayonnaise-colored Benz, I push miracle whips
    Donor
    Texas Tech Red RaidersHouston AstrosHouston RocketsTennisTottenham HotspurTexas Tech Red Raiders alt

    oh yeah I forgot about that...use :Vex
     
    #800 colonelrascals, Mar 27, 2017
    Last edited: Mar 27, 2017
    TDCD likes this.