Python Programming & other inferior programming languages thread

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

  1. broXcore

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

    yikes, yeah thats gonna be a rough one. this for a class?
     
  2. TDCD

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

    'For fun'

    I'm self taught and need to brush up on the CS fundamentals. So taking the free Harvard course
     
    broXcore likes this.
  3. TDCD

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

    Anyone here good with d3?

    Have a huge bug on a project I'm working on trying to do something cool with the forceLayout and am completely lost trying to fix it.
     
  4. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    c/c++ will make a man out of you

    or something
     
  5. colonelrascals

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

    first day of class
    [​IMG]
     
    leroi, BellottiBold and Shiggityshwo like this.
  6. HuskerGuy99

    HuskerGuy99 Above Average Member

    May as well get right to it and study assembly instead of C if you want to get to the fundamentals. Never hurts to understand exactly how the machine is doing things either. C would be a lot easier to learn after learning assembly basics.
     
    TDCD and Joe_Pesci like this.
  7. Name P. Redacted

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

    I just want to say

    Fuck assembly
     
    leroi likes this.
  8. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i'll probably end up having to take a class that is all assembly

    one of my finals during the summer was to calculate the value of pi via the monte carlo method. i couldn't remember how the stack worked exactly, so i had like 10 separate blocks of assembly code.
     
  9. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    someone did "inspect element" on a porn site
    [​IMG]
     
  10. colonelrascals

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

    one week in. where I was monday to where I am now is amazing. doing 12 hour days, but still having a ton of fun.
     
  11. kennypowers

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

  12. Where Eagles Dare

    Where Eagles Dare The Specialist Show On Earth
    Donor
    Auburn TigersAtlanta BravesWashington Football TeamAtlanta United

    Are you in a boot camp?
     
  13. Pile Driving Miss Daisy

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

    Some of y'all seem to be bouncing all over the place. If you're going to learn something low level like assembly or C I wouldn't jump between that and JavaScript just willy nilly. Those languages are used for very different things and my thought is that you're not going to absorb as much when you have to shift your thinking patterns.

    On the other hand I may be talking out of my ass since I'm mostly self-taught and work mostly in web development now.
     
  14. colonelrascals

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

    yup, so far I've spent 50 hours this week coding....granted right now its just HTML and CSS, the concepts are all starting to make sense.
     
    Where Eagles Dare likes this.
  15. kennypowers

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

    Agree. I bounce around between languages occasionally because of necessity, but if you can concentrate on one you are definitely better off. There is nothing wrong with learning a language just out of curiosity but the retention will be pretty low unless you are using it a good amount. Maybe I'm just forgetful though so idk.
     
  16. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    c++ master race
     
  17. TDCD

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

    I agree but I get a little restless focusing on just one thing unless I'm really into it. Can stay a lot more productive switching between a few topics
     
  18. TDCD

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

    Trying to get the basics of angular down. Feels weird writing actual html after all the time I've spent in react. I do like the 2 way data binding... makes scaffolding up an app so much faster
     
  19. Pile Driving Miss Daisy

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

    I don't do much frontend work anymore as Angular2 and React have taken off using things like Webpack and I haven't had enough time to learn, but I'm still a huge fan of Angular1 with Jade for templating.
     
    TDCD likes this.
  20. colonelrascals

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

    today was loops and iterations....fun stuff
     
    Where Eagles Dare likes this.
  21. TDCD

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

    Webpack is cool, but it sounds like a lot of its value will be meaningless with http2.
     
  22. leroi

    leroi -
    Donor
    South Carolina GamecocksGrateful Dead

    I took classes in C, C++, Assembly and COBOL

    And I hate them all

    I know people say, "Use the best tool for the job", but somehow I manage to conclude that Python is the best tool for 90% of the non-front end jobs I do.
     
  23. colonelrascals

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

    any one care to provide direction. We know its going to require 2 for loops
     

    Attached Files:

  24. Pile Driving Miss Daisy

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

    If that's python then look into using a simple map function.
     
  25. colonelrascals

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

    JS
     
  26. Pile Driving Miss Daisy

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

  27. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    anyone used Elm before or have anything bad they have heard about it?

    pretty new language that seems pretty cool so far, I think our team is going to do some projects with it
     
  28. broXcore

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

    i wish i could do a bootcamp. are they doing full stack or just sticking to frontend?
     
  29. TDCD

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

    Mine was almost all back end
     
    broXcore likes this.
  30. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    object oriented programming, i hate learning you but you are powerful and useful
     
  31. jorge

    jorge Founder of Post ITT if your team sucks
    Donor
    Penn State Nittany Lions

    Any ideas of what to do with a VPS? I'm running low on projects, looking for some ideas.
     
  32. jorge

    jorge Founder of Post ITT if your team sucks
    Donor
    Penn State Nittany Lions

    What part bothers you? Or is this more "i hate having to do things a certain way."
     
  33. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    I'm just in my first true OO class. Thinking about things in terms of objects rather than, like, a single task is a big change (for me, at least). And having to plan out and justify which objects interact and why is just another layer on top of actually getting the code to work. It's pretty cool, but easily the most difficult jump I've had so far. I've been drawing diagrams like crazy.
     
    lomcevak likes this.
  34. Pile Driving Miss Daisy

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

    Imagine when OO programming first became popular and people had to switch from using COBOL or BASIC for years to something that requires a completely different way of thinking?

    This book is a bit advanced, but a great great tutorial on good OO programming,

    [​IMG]
     
    clemsontyger04 and Joe_Pesci like this.
  35. jorge

    jorge Founder of Post ITT if your team sucks
    Donor
    Penn State Nittany Lions

    I'm fortunate in that my program was centered around OOP and OOD, so I never really had to relearn like you. Some of the vocabulary associated with Inheritance was a little tricky for me if I remember right. I guess I never realized how much extra design work it is since Its all I know.

    I hate design work. I'm probably not going to be a successful developer.
     
    Joe_Pesci likes this.
  36. colonelrascals

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

    full stack.

    playing around with promises ATM
     
  37. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    I don't know if I'd call it relearning, so much as the approach was more piecemeal?

    Like
    Learn loops, arrays, functions, etc
    Now learn classes, pointers, dynamic memory, etc
    Now learn multi-threaded linked list, hash table, binary search tree, etc
    Now make objects out of those things and have them do stuff
     
    jorge likes this.
  38. jorge

    jorge Founder of Post ITT if your team sucks
    Donor
    Penn State Nittany Lions

    I'm a Java developer so I got to skip half that as well :awesomeface:

    But now all I know is Java :feelsbadman:
     
    Joe_Pesci likes this.
  39. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    That's kind of what I figured. Everything is an object in Java right? Or is it that everything is a pointer...? Anyway, I've only used c++
     
  40. Pile Driving Miss Daisy

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

    You don't generally have to deal with the nastiness of managing pointers in Java/C# like you do in C++.
     
    Joe_Pesci and jorge like this.
  41. jorge

    jorge Founder of Post ITT if your team sucks
    Donor
    Penn State Nittany Lions

    Pretty much everything is an object but the primitive data structures, and even those act like objects.
     
    Joe_Pesci likes this.
  42. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    It sucked at first but the "standard," to the extent that one exists, in my program is that virtually anything other than simple, temporary variables inside a single function has to be dynamically allocated (and use copy constructors, where applicable), so I got better at it through a lot of practice.

    Then again, the most complex thing I've written so far is an OO program where 2-8 computer players play dominoes against each other, so maybe it gets worse.
     
  43. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    I haven't gotten into shared_ptr and similar stuff beyond knowing that they exist, so maybe I'm just blissfully ignorant of a future hell
     
  44. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    Also I saw this on reddit and I thought it was funny. I believe it checks the strength of a new user's password by trying the associated email and password on facebook, twitter, etc. https://github.com/SirCmpwn/evilpass
     
    BellottiBold and Walt Disney like this.
  45. Name P. Redacted

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

    Just as an aside, Dashlane is fantastic for password management.
     
  46. TDCD

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

    doing a little web scraping/data viz project. god bless the baseball cube for using vanity urls on player pages and throwing ID's and classes on everything :bananallama:
     
    Walt Disney and leroi like this.
  47. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    Are you using scrapy?
     
  48. TDCD

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

    Request.js and cheerio.js
     
  49. kentucky_dawg

    kentucky_dawg Fan of: Georgia
    Donor
    Georgia Bulldogs

    :laugh:
     
  50. TDCD

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

    What