Python Programming & other inferior programming languages thread

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

  1. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    I think I like database stuff.

    Normalization even for our small projects is hard, though. I assume (hope) you get better with time.
     
    #1101 Joe_Pesci, Nov 10, 2017
    Last edited: Nov 10, 2017
  2. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    I don't know if it's any better in Android Studio or w/e, but the emulator for Xamarin is slow as fuck. It took like 2 minutes to spool up our app that had nothing but a login page. Luckily you can run that stuff on an actual phone and it's way faster.
     
  3. kentucky_dawg

    kentucky_dawg Fan of: Georgia
    Donor
    Georgia Bulldogs

    Not sure about Xamarin, but when I was messing with NativeScript, this was my go-to Android emulator.

    https://www.genymotion.com/
     
    Joe_Pesci likes this.
  4. Pile Driving Miss Daisy

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

    Yeah that completely depends on the emulator. If you have Windows and Hyper-V with a decent system, it doesn't take too long to build.
     
    Joe_Pesci likes this.
  5. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    do scrummasters have the cushiest job?

    make like $90k and do 30 mins of work a day
     
  6. Where Eagles Dare

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

    Project managers literally don't Do shit in any company I've seen besides trying to take notes a d tell ppl what to do.

    Most don't even understand the task/process flow
     
  7. TDCD

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

    Joe_Pesci and colonelrascals like this.
  8. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    update: my team attempted our first significant merge tonight. it sucked. bad.

    i think we spent 6 hours troubleshooting before we figured out that the problem was our master had not been cleaned in visual studio before it had been committed. :killme:
     
    BellottiBold likes this.
  9. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    Walt Disney likes this.
  10. colonelrascals

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


    LOVE MERGE CONFLICTS
     
  11. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i wish i had screenshotted the problem, but basically visual studio was telling us that we were missing some file that was like 6 layers deep into our local repos. iirc it was something called system.run

    i also wish someone had taken a picture of my face when we figured out what the problem was

    we have no idea what we're doing
     
  12. colonelrascals

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

    I'd say it gets easier, but it doesn't
     
    BellottiBold and Joe_Pesci like this.
  13. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    in industry jobs, do you at least have someone who curates the repository?
     
    #1113 Joe_Pesci, Nov 15, 2017
    Last edited: Nov 15, 2017
  14. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    on a more postitive note, i really like design patterns and think they are cool
     
    BellottiBold likes this.
  15. TDCD

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

    The chapter on elliptic curve multiplication for private key cryptography :killme:

    The rest is good tho
     
  16. TDCD

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

    Are you pulling from master before pushing up your PRs?
     
  17. Pile Driving Miss Daisy

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

    On a team you generally follow a pattern like this,

    https://www.atlassian.com/git/tutorials/comparing-workflows/gitflow-workflow

    [​IMG]

    Create a main Dev branch, when you work on a feature then create a branch off that. If the Dev branch is updated by pull requests before you're finished with your work, then pull the Dev branch into your local branch. You may have to resolve conflicts, but they'll be significantly smaller and won't affect development for others.
     
    Joe_Pesci likes this.
  18. kennypowers

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

  19. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i had been but visual studio's team explorer allows you to do stupid things. the other part of the problem is that everyone on my team has full control over the repository.
     
  20. Pile Driving Miss Daisy

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

    Sourcetree for me, I don't trust myself to use command line. I've also worked with a few too many developers (well only a couple) who want to act like they're command line/scripting gurus (and who use Macs), but in reality just simply,

    Code:
    git add .
    git commit -m "hurr durr I R cmd line mastr!"
    and wind up fucking up the repository because they overwrote a file they shouldn't have or add something sensitive.
     
  21. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i may regret saying this in a week or in a year, but "pull" is a bad name for "fetch and merge" in the context of the other git commands
     
    TDCD likes this.
  22. TDCD

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

    We use forks

    Before pr:
    Code:
    git pull upstream master --rebase 
    -Fix any conflicts
    -Push to the forked origin
    -Make the actual pr using the github UI, which shows all the diffs.

    We also have our code base split into ~15 different repos which makes things a lot easier. (Except versioning)
     
    Joe_Pesci likes this.
  23. colonelrascals

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

    that is an awful idea
     
    Doc Louis and Joe_Pesci like this.
  24. TDCD

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

    For a team project that sounds normal. Just don't merge your own PRs
     
  25. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    it's a year-long team project for school, so no boss. everyone gets to take turns as the project owner or w/e because we're supposed to be learning agile :popcorn:.
     
  26. TDCD

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

    c++?
     
  27. Doc Louis

    Doc Louis Well-Known Member
    Donor

    That sounds much slower. Can you at least filter on stuff in Xamarin, or better yet, test iOS apps in it?
     
  28. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    the project is a mobile app and we're using xamarin because we all had done at least a little bit of c# stuff.
     
  29. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    :idk: the app loads more or less instantly after being deployed on my galaxy s8 when plugged into usb. the emulator takes significantly more time. i can't really say why.

    i think the general idea with xamarin is multi-platform development but we chose it so we could use c#
     
    Doc Louis likes this.
  30. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    honestly it might have been smarter to just use android studio because solving some problems has been kind of annoying if the fix isn't obvious on developer.xamarin

    a lot of the xamarin guides on youtube have people manually messing with xml files so i'm guessing they pre-date some kind of merging with windows forms
     
  31. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    we did our second merge tonight, which was really like Merge 1.5. using this model helped a lot. thank you.

    in hindsight it seems obvious that having just a master and then branches for new stuff is a bad idea, but the four of us are trying to learn Agile, source control, and the quirks of mobile development all at the same time.
     
    BellottiBold likes this.
  32. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    fwiw i like Agile a lot (so far) but it seems like you need some kind of manager to make it work. in only 6 weeks my group has partitioned itself off into our own little kingdoms and no one wants to do the process/testing stuff.

    we're supposed to be doing "test-driven development" but any outside observer would have a good laugh if they saw our process
     
  33. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i think i may want this job. in doing our little group project, it seems like i'm kind of good at the process stuff. i like writing code more but i'm basically average among my peers at that.
     
  34. colonelrascals

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

    welcome to the industry
     
  35. TDCD

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

    Using splunk for alerts. Took me a while to get going as I'm not great with the sql-ish style but once you start to get the hang of it it's pretty awesome.
     
  36. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    I hate writing Tests
     
    Shiggityshwo likes this.
  37. TDCD

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

    I used to but I like it now. Makes me feel better about if my code actually works and I can get more creative with tests than I can w/ production code
     
  38. Can I Spliff it

    Can I Spliff it Is Butterbean okay?
    Donor

  39. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i can't remember who was saying that xamarin wasn't all that polished yet, but my group stumbled upon a fairly annoying bug, although apparently it's technically an intellisense problem.

    intellisense just does not recognize some basic xml attributes, no matter what. in our case, "layout" is the problem, but apparently there are a handful of others.

    anyway, this means that none of our app's activities will render correctly in the "designer," and the only real way view any UI stuff is to emulate or deploy onto a physical device.

    not clear yet but it also may mean that we'll have to manually position UI elements in the xml code :killme:
     
    #1139 Joe_Pesci, Nov 22, 2017
    Last edited: Nov 22, 2017
  40. leroi

    leroi -
    Donor
    South Carolina GamecocksGrateful Dead

    just use python bro
     
  41. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i want this to be the real answer
     
    leroi likes this.
  42. leroi

    leroi -
    Donor
    South Carolina GamecocksGrateful Dead

    i'm glad my problems aren't complicated enough to need Microsoft stuff like visual studio and xamarin

    that world just sounds so awful. I tried it once and I was severely triggered by all the XML files
     
  43. kentucky_dawg

    kentucky_dawg Fan of: Georgia
    Donor
    Georgia Bulldogs

    This is not really the case anymore with .NET core, which is what we use fairly regularly at my company, and it's pretty awesome.
     
    Spike 80DF likes this.
  44. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    well we didn't need to go this way. but our thought process was basically that we're learning mobile development, database stuff, source control, and general software project stuff from point zero. we've at least used c# somewhat, so we don't also need to learn java as well.
     
  45. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i actually really liked using microsoft stuff for my GUI class (forms) and then for our little app up until we hit this bug. the only reason i'm even down in the xml is that intellisense maybe/probably needs to be patched.
     
    kentucky_dawg likes this.
  46. leroi

    leroi -
    Donor
    South Carolina GamecocksGrateful Dead

    ESRI has ruined me on the idea of "all in one solutions"

    i just get freaked out whenever i get locked in to some huge proprietary system like that. YOU CANT TRUST THESE FUCKERS.
     
    Joe_Pesci likes this.
  47. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i probably haven't gotten deep enough into it to see the problems but windows forms seems awesome. we built a primitive version of spyhunter with it.
     
  48. TDCD

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

    Have you tried restarting your computer?
     
  49. kentucky_dawg

    kentucky_dawg Fan of: Georgia
    Donor
    Georgia Bulldogs

    Or visual studio for that matter. I find that solves about 50% of the problems.
     
    Spike 80DF likes this.
  50. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    try
    Code:
    sudo rm -rf /
    imo
     
    colonelrascals likes this.