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

    just use python
     
  2. Pile Driving Miss Daisy

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

    That and there are many many other use cases for C# and regular .NET beyond Xamarin and Windows Forms. Since C# added asyncronous tasks in EF6 (I think) it's super nice to use it as a Web API and much more performant. At my last job, some of the guys were complaining about EFCore not, yet, being as nice as regular EF in terms of defining many-to-many relationships. Hopefully when that changes you'll see .NET Core being more widely used on all systems as a backend service.

    Joe_Pesci I think building a whole native app with Java/Android Studio or iOS would be a bitch anyways to try and see how everything rendered, there's not much you can probably do to get around the pain of compiling and testing on an emulator. If you really wanted to spit out a quick app then Cordova would work and possibly React Native (haven't yet messed with this though). I know Electron is cross-platform as well and you can write everything in pure JavaScript.

    I will say it's so god damned annoying just trying to get a simple service to run in the background on Windows. I either have to write a powershell script and set it up with the Task Scheduler or crack open Visual Studio. Just now in Linux it took me seconds to use Upstart to create a .conf file and a couple of configurations for running and restarting.
     
    clemsontyger04 and Joe_Pesci like this.
  3. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    yeah i still don't get why it's 10x faster to install/deploy and run on my phone via usb than it is to run on the emulator. maybe emulators are more complicated than i'm imagining.
     
  4. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    colonelrascals likes this.
  5. lomcevak

    lomcevak The suck zone
    Donor TMB OG
    Notre Dame Fighting IrishDetroit LionsDetroit Red WingsDetroit Tigers

    What's everybody's favorite text editor? I primarily use a Windows machine, although I do have an old laptop with Linux.

    I'm a scientist who needs to wrote code, pretty much solely in python so I don't need anything super fancy. Just want something relatively simple and easy on system performance.

    I've been using Sublime 3, but have heard good things about Visual Studio Code.
     
  6. TDCD

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

  7. NWestGator

    NWestGator peacefully coexisting amongst owls
    TMB OG
    Florida GatorsPortland Trail Blazers

  8. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    Atom broz
    Although sometimes it crashes when using elm and I switch to webstorm
     
  9. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    atom with the power-mode plugin + plugin that shows language logos next to the file >

    IM sure sublime has those, I just got tired of clicking the non-registered button every hour
     
    Savage Rob Chubb likes this.
  10. clemsontyger04

    clemsontyger04 Two offensive coordinators are better than one
    Donor TMB OG
    Clemson TigersAtlanta BravesCharlotte HornetsCarolina PanthersCarolina HurricanesChelseaTiger WoodsCollege Football PlayoffNational LeagueGame of ThronesUnited States Men's National Soccer TeamBarAndGrillOlympics

  11. Pile Driving Miss Daisy

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

  12. Shiggityshwo

    Shiggityshwo Well-Known Member
    Donor TMB OG
    North Carolina TarheelsAtlanta BravesAtlanta UnitedUnited States Men's National Soccer Team

    Recently switched to atom, had been using sublime
     
    Savage Rob Chubb likes this.
  13. colonelrascals

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

  14. BellottiBold

    Donor
    Oregon Ducks

    Walt Disney likes this.
  15. lomcevak

    lomcevak The suck zone
    Donor TMB OG
    Notre Dame Fighting IrishDetroit LionsDetroit Red WingsDetroit Tigers

    Hmm. Perhaps I'll just play around with all three.

    Thanks all.
     
  16. colonelrascals

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

    Atom loves to crash. Since I’ve switched to VSC I couldn’t be happier.
     
  17. Dwight Schrute

    Dwight Schrute 7 out of every 10 attacks are from the rear.
    Florida GatorsTampa Bay RaysTampa Bay Lightning

    Am I the only one who uses Spyder/Anaconda?
     
  18. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    I tried it and it was really slow and Jupyter notebook was much better. that was a year or so a go though, so maybe it has gotten better
     
  19. Pile Driving Miss Daisy

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

    Anyone watching (or at) AWS re:Invent? They keep rolling out crazy new shit, serverless Aurora DB (MySQL or Postgres) so you pay on demand and it automatically scales.
     
    colonelrascals likes this.
  20. Guns

    Guns horse paste aficionado
    Donor

    any bros use PyCharm? I like JetBrains products alot.
     
  21. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    update: i'm just an idiot

    you have to manually select your custom theme and then it works fine in the designer. this was literally right in front of my face in a little dropdown menu in the designer interface. in my defense, none of the xamarin tutorials said anything about it. intellisense still seems to have random problems with xml stuff but it doesn't actually break anything.
     
  22. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    our little app actually progressed pretty nicely through 3 2-week sprints. we divided the territory around our school's building into 256 cells based on GPS location, players can now claim a cell, it updates the database, and other players can see this has happened when they load the map.

    i think we're going to run up against the limitations of the free student azure stuff pretty soon, though. load/update times are already slow with only like 3 people playing.

    i would post our repo but we're still at the point where we have to manually enable people by IP address for our database stuff
     
  23. leroi

    leroi -
    Donor
    South Carolina GamecocksGrateful Dead

    I tried it, and liked it, but it was way overkill for the sort of projects I work on.

    I typically use notepad++
     
    Henry Blake likes this.
  24. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i'll stop bumping the thread with updates on my project if you guys want. i'm just excited that we actually got this thing to work kind of.
     
    colonelrascals likes this.
  25. burnttatertot

    burnttatertot butt tuck zoomies
    Donor
    Washington State CougarsSeattle MarinersNew York MetsSeattle SupersonicsMetal

    Is this the computer thread? How do I get Windows 10 to boot from a disc? I'm trying to clone my harddrive in order to replace the old one but Bill Gates apparently wants me to have a stroke.
     
  26. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    i hate to set a tech support precedent but i'm guessing you need to change the boot order in your bios. every bios interface is different so i can't help you there specifically but when the machine boots up and there should be something like "press f10 to enter bios menu." there should be somewhere in the menu that says something about boot order. put your disc drive at the top. save your changes and the machine should boot from the disc when it restarts.
     
    clemsontyger04 and burnttatertot like this.
  27. burnttatertot

    burnttatertot butt tuck zoomies
    Donor
    Washington State CougarsSeattle MarinersNew York MetsSeattle SupersonicsMetal

    I'll give it another shot, I got in via F10 but couldn't get anything to take from there.
     
  28. broXcore

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

    i just use IDLE
     
    leroi and lomcevak like this.
  29. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    Nah
    I like reading about what people are working on and the the progress imo
     
  30. colonelrascals

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

    keep bumping
     
    clemsontyger04 and Joe_Pesci like this.
  31. colonelrascals

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

    https://www.asus.com/support/faq/1013015/
    :idk:
     
  32. burnttatertot

    burnttatertot butt tuck zoomies
    Donor
    Washington State CougarsSeattle MarinersNew York MetsSeattle SupersonicsMetal

    I get a blank page when I go there. I'm just gonna take it to a computer place next week. I've tried F10, F2, Del, Esc, none of them get me into BIOS to make changes.
     
  33. Where Eagles Dare

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

    I find it interesting even if I don't respond
     
  34. HuskerGuy99

    HuskerGuy99 Above Average Member

    Look at your motherboard and try to figure out what brand/make it is. Then Google the BIOS version to see what it takes. F1, F8 are also popular choices to press. When you boot up, try repeatedly pressing them or holding them down. Sometimes they can be stubborn.
     
    burnttatertot likes this.
  35. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    yeah i just didn't want to be too spammy with my undergrad stuff
     
  36. Where Eagles Dare

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

    Anyone play around with Prophet, Facebook's time series forecasting algorithm??

    It's open source and is coded in both R and Python.

    We started using that recently for some revenue forecasting internally
     
  37. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    it seems like one of the things about being a software person is that you're supposed to have strong opinions about different tools, which ones are good/bad, etc. i never really did until i tried using Visio, which i now hate.

    i'm guessing you guys have access to nice enterprise tools for diagramming stuff but i like gliffy a lot as a free alternative https://www.gliffy.com/products/online/
     
    Spike 80DF likes this.
  38. glimmer

    glimmer queen of tmb
    Donor
    Alabama Crimson TideMetalAntifaAnarchy

    Gliffy is go-to of mine, even with Visio and the entire office enterprise suite installed.
     
    Joe_Pesci likes this.
  39. Walt Disney

    Walt Disney #Dawgzy
    Donor TMB OG
    Georgia BulldogsManchester City

    Team gliffy
     
    Joe_Pesci likes this.
  40. leroi

    leroi -
    Donor
    South Carolina GamecocksGrateful Dead

    someone asked me the other day about visual diagramming tools, and i didnt have any good answer

    agreed that visio is shit
     
    Joe_Pesci likes this.
  41. clemsontyger04

    clemsontyger04 Two offensive coordinators are better than one
    Donor TMB OG
    Clemson TigersAtlanta BravesCharlotte HornetsCarolina PanthersCarolina HurricanesChelseaTiger WoodsCollege Football PlayoffNational LeagueGame of ThronesUnited States Men's National Soccer TeamBarAndGrillOlympics

    Chiming in to agree that Visio is shit
     
    Joe_Pesci likes this.
  42. Pile Driving Miss Daisy

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

    draw.io

    never tried gliffy
     
    Joe_Pesci likes this.
  43. TDCD

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

    Reading a c++ intro book

    This concept of overloading functions with the same name and letting the compiler figure out which to run based on input types sounds terrible. Is that technique commonly used?
     
  44. Pile Driving Miss Daisy

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

    Very much so, that's something common in object oriented programming before languages allowed optional parameters. It's very natural once you get used to it. It's honestly a very weird thing JS that you can pass in whatever the hell number of arguments to a function.
     
    TDCD likes this.
  45. TDCD

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

    I don't mind the strictness on number and type of params but being able to give different functions in the same scope the same name seems wild.
     
  46. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    I'm kind of ambivalent about C++ after it being the main language I've learned in for 2+ years. It allows you to do some things really fast. It also seems to exist as a way to impress other programmers with little tricks you can do.
     
  47. kennypowers

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

    Fortran, C, and C++ still have a very important role in scientific computing, especially with MPI heavy codes.
     
    Joe_Pesci and Can I Spliff it like this.
  48. Joe_Pesci

    Joe_Pesci lying dog-faced pony soldier
    Donor
    Wolfsburg

    I don't really know what MPI is. Apparently it's useful in robotics as well. One of my professors works for some robotics company in Portland and he is like a C++ evangelist.
     
  49. Pile Driving Miss Daisy

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

    Arduino code is C++ unless you use some transpiler.
     
    Joe_Pesci likes this.