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

    any heroku experts?
     
  2. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i wrote what is probably a terrible version of solitaire, but it works.

    also, i'm learning to hate all card games
     
  3. colonelrascals

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

    yes
     
  4. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    if you actually want to play it, i'll upload the code to github. i'm not sure yet how to export just a .exe
     
    TDCD likes this.
  5. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    c++'s Standard Template Library is really powerful. you can make anything you want out of it.

    you can also do stupid things and they work.
     
  6. colonelrascals

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

    my pride and joy t3tr0s.com

    https://github.com/imalooney/t3tr0s

    I've contributed about 16 lines....
     
    TDCD, Shiggityshwo and Joe_Pesci like this.
  7. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    that is pretty cool. how long did that take to develop? it's a lot more refined than like 90% of projects that are uploaded to github
     
  8. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i'll figure out how to export the .exe sometime this week so you guys can play my lame solitaire game.

    fwiw i haven't taken GUI yet so it's just a text/console app. everything works, though. shuffling the deck, moving cards around, moving groups of cards, etc.
     
  9. colonelrascals

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

    about 2 weeks
     
    Joe_Pesci likes this.
  10. colonelrascals

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

    we should hope on t3tr0s and battle
     
  11. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    scumbag software things

    hp tries to get you to install like 800mb of shit, including bing search bar, if you want to troubleshoot your printer. the actual troubleshooter is like 50mb.
     
  12. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    fwiw i couldn't figure out how to just upload the just .exe for this and have people actually be able to play it. when i tried, it set off windows defender and antivir :idk:
    i could upload the code if anyone feels like compiling it and then playing :idk:

    forewarning: it takes 2-3 keystrokes to move a card
     
    colonelrascals likes this.
  13. Pile Driving Miss Daisy

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

    Probably best to share source code whenever possible here unless it's a pain in the ass to compile.

    About to start a new job with a huge freaking raise working on the same platform I've been at for the past year and a half, I'll just be employed by the client directly now. Serverless, Big Data, and general "cloud" architecture is retardedly lucrative right now. Yes this is a full cunty brag.
     
  14. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    ..
     
    #964 Joe_Pesci, Jun 21, 2017
    Last edited: Jun 28, 2017
  15. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    That's not really a brag :twocents:

    Just from my limited experience, it seems like the industry is shifting hard towards specialization in things like this, because the internship ads are much more specialized. For example, Intel was looking for programmers who had experience in stuff like drone software, massive database farms, open-source kernal development, etc. Who in their right mind expects junior/senior level students to have any kind of experience in these fields beyond some single class?
     
    #965 Joe_Pesci, Jun 21, 2017
    Last edited: Jun 21, 2017
  16. leroi

    leroi -
    Donor
    South Carolina GamecocksGrateful Dead


    giphy (4).gif
     
  17. leroi

    leroi -
    Donor
    South Carolina GamecocksGrateful Dead

    they're looking for the ultra-high-achievers, champing at the bit

    and then they'll get them to do amazing things, and license all their great ideas as intel's intellectual property

    then they'll fire them when they start asking for more money
     
    Joe_Pesci likes this.
  18. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i took a class from an intel guy. i looked him up because that's what i do, for reasons. on top of being a great teacher, apparently he is a baller for that company.

    his name is on about a dozen patents, mainly relating to networking stuff. all of them assigned to intel.
     
    #968 Joe_Pesci, Jun 21, 2017
    Last edited: Jun 21, 2017
    leroi likes this.
  19. leroi

    leroi -
    Donor
    South Carolina GamecocksGrateful Dead

    i guess the reality is, for most people, their intellectual property isn't really valuable outside the context of a major company anyway

    like how would an individual "inventor" or whatever monetize a patent for "Determining phase jitter and packet inter-arrival jitter between network end points" unless it was utilized by a major company.
     
    Joe_Pesci likes this.
  20. leroi

    leroi -
    Donor
    South Carolina GamecocksGrateful Dead

    i think one of my favorite 'corporate sketchiness' stories is about IBM, heard from a friend

    they were paid to implement some system for a government somewhere. Texas, I think. As usual, they only did the bare minimum, the system didn't really work, all sorts of changes were needed.

    So the gov't IT people were having these meetings, where they'd discuss what was going wrong, etc. trying to fix the problems. An IBM representative was there every day, taking notes.

    This went on for about 2 weeks until someone asked the IBM guy to chime in about some technical matters, and he says, "Oh no I don't work for you, I'm an attorney for IBM." The dude had just been sitting in the back, writing down shit that IBM could use in court as defense. This was cheaper than actually doing the work.
     
  21. colonelrascals

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

    I second this
     
  22. kennypowers

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

    I need to dive in and learn c++. I work almost exclusively on HDF5 files and have made some cool shit with Python using h5py but it could be so much more efficient and faster. Looping through TB's of h5 files is not a python friendly activity.
     
    Walt Disney likes this.
  23. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

  24. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    taking a GUI class in C# this summer. my god, it's so awesome not to be writing console apps anymore

    one of my other classes requires me to do stuff in scheme and prolog. no idea what to expect there. apparently people in the past have hated scheme and loved prolog.
     
    kentucky_dawg likes this.
  25. kentucky_dawg

    kentucky_dawg Fan of: Georgia
    Donor
    Georgia Bulldogs

    Visual Studio, I assume?
     
    Joe_Pesci and colonelrascals like this.
  26. colonelrascals

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

  27. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    yeah it's pretty cool. part 1 of last night's class was just basic stuff but part 2 was basically "how to annoy the user," which was a cool demo of some of the features.

    my first project is building a crude version of ms paint.
     
  28. Pile Driving Miss Daisy

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

    Any of you Cloud fun boys use Linux Academy? I just discovered this as an alternative to A Cloud Guru and am debating between asking my new employer to pay for LA or PluralSight. I mostly work in Cloud stuff now so I feel that it's more appropriate, but have used PS in the past and like it.
     
  29. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    C# is pretty cool. Just when I thought I knew a little bit, I run into the seemingly endless number of built-in C# features and methods. And I'm only using whatever is built into Visual Studio 2017's C# package.

    Building stuff from scratch is cool and rewarding, but when I can use a tool that was built by someone way smarter than me... yeah, I like that.
     
  30. colonelrascals

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

    standing on the shoulders of giants is chill as fuck
     
    grayton, leroi and Joe_Pesci like this.
  31. Pile Driving Miss Daisy

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

    C# is easy peasy. About the only difficult thing is trying to get an IIS webserver set up to host an ASP.NET project, that's a pain in the ass and it's why I love Node.js so much.

    It's funny how you're graduating to a more "easy" language than C++ (imo). I've been tinkering with some IoT stuff and have been using the Arduino IDE for an Uno and this guy:



    and you have to write your small bits of code in C++. Not a fan of referencing pointers out of nowhere like you're required to do with some of these libraries.
     
    leroi and Joe_Pesci like this.
  32. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    taking a testing class this summer

    it's really useful but it makes me realize i've been writing shit code for like 2 years
     
    kennypowers likes this.
  33. Pile Driving Miss Daisy

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

    Best book about how to write good tests,

     
    Joe_Pesci and kennypowers like this.
  34. colonelrascals

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

    got a call from one of my students this weekend, "colonelrascals, please call me back as soon as possible. I think I broke git."
     
  35. kennypowers

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

    Awesome, thanks for the link. I have to start writing better code. I was getting away with sloppy non-efficient shit when I only needed one offs but people are actually starting to use my stuff.
     
  36. Pile Driving Miss Daisy

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

    Warning though, it's written in Java.
     
  37. TDCD

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

    :in-n-out:
     
    Joe_Pesci, leroi and colonelrascals like this.
  38. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    writing tests and docs is the worst thing in the world
     
    RegimentML, Joe_Pesci, leroi and 2 others like this.
  39. Name P. Redacted

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

    My job involves configuring the electronic devices that are placed inside of substations. A lot of times the various configuration files are either stored in plain text or can be exported to a plain text format.

    I've been trying to automate more of the config creation or QAQC where I can, but it is tough when bouncing between clients and loose standards.

    Got the green light a couple of weeks ago to use an intern to help flesh it out more for one of our clients. Intern has been kicking ass on it and said it's the work she's enjoyed the most during a presentation she gave to all the other interns in the division. I even set it up on github so I can assign her tasks and we have rev control. Super basic shit for normal programmers but usually my scripts are just py files that live in my Dropbox.

    Feels good man
     
  40. Name P. Redacted

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

    What's funny about that story is that originally my project engineer told me "don't forget we sell our time" when I told him I made a basic QAQC script. Then when he was scoping out a lump sum job he came by and was super interested in developing it further.
     
    Joe_Pesci and leroi like this.
  41. BellottiBold

    Donor
    Oregon Ducks

    www.ohshitgit.com
     
    Joe_Pesci likes this.
  42. colonelrascals

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

    going through the acloud guru sysadmin.....so much is over my head. its good fun tho
     
  43. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    functional programming is powerful but learning it :blech:. i need to figure out how to write blackjack in Scheme in ~2 weeks. the guy teaching the class is in his 30s with a PHD in Computer Science... as far as he knows, there is no debugger for Scheme :killme:

    on the other hand, GUI in C# is awesome. i assume no one will pay me to do this because i enjoy it so much. Crude Paint is coming soon, though.
     
    #993 Joe_Pesci, Jul 12, 2017
    Last edited: Jul 12, 2017
    Walt Disney likes this.
  44. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    not that it matters really, but the school i go to attracts a lot of people from industry trying to get a degree. it's intimidating to ask questions when i know that there are people in my class with "10 years of web development" and people who were just recently laid off from places like Intel.
     
  45. Name P. Redacted

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

    They don't know shit. Fuck'em
     
    leroi and Joe_Pesci like this.
  46. Pile Driving Miss Daisy

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

    I actually got my boss to buy a subscription to Linux Academy (I think I posted this earlier) since it had a ton of non-AWS cloud resources. Haven't had the time to go through any courses yet though. :feelsbadman:
     
    colonelrascals likes this.
  47. colonelrascals

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

    you even clojure bro?
     
    Joe_Pesci likes this.
  48. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    TLDR: not really

    I know that clojure is a descendant of languages like Scheme and Lisp. The class is called "Concepts of Programming Languages," so it's just an intro to alternatives in different programming paradigms (C++, in my school's case).

    We have a large latitude to pick a language that we are unfamiliar with and do some kind of appropriate project with it in ~6 weeks

    I actually wanted to do something with Smalltalk because the idea that an entire language's syntax can fit on an index card is pretty interesting to me.

    I might just do something with Python because I've never used it and I want to get paid for doing this stuff ASAP. There aren't many (any) companies looking for software people with experience in Smalltalk.
     
    Walt Disney likes this.
  49. Name P. Redacted

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

    Do python. Do smalltalk or whatever on your own time.
     
    Joe_Pesci likes this.
  50. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    Any Kafka broz?

    Just got my elixir Kafka streaming working

    About to hook it up to elm :yousoright: