• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 20:58
CEST 02:58
KST 09:58
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
ByuL, and the Limitations of Standard Play1Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12TL.net Map Contest #22 - Voting & Ladder Map Selection7Code S Season 2 (2026) - RO8 Preview8
Community News
[TLMC] Summer 2026 Ladder Map Rotation05.0.16 patch for SC2 goes live (8 worker start)71ZeroSpace at Steam NextFest - Last free demo31Weekly Cups (June 8-14): Clem and Solar double, PTR tested0RSL: S6 Finals played at BlizzCon 202611
StarCraft 2
General
5.0.16 patch for SC2 goes live (8 worker start) Is the larve respawn broken? The Death of Cheese: From a Professional Cheeser Mizenhauer's Douyu Cup Preview ByuL, and the Limitations of Standard Play
Tourneys
Douyu Cup 2026: $20,000 Legends Event (June 26-28) RSL Revival: Season 6 - Qualifiers and Main Event INu's Battles#17 <BO.9> Sparkling Tuna Cup - Weekly Open Tournament GSL CK #4 20-21th June
Strategy
[G] Having the right mentality to improve
Custom Maps
New Map Maker - Looking for Advice - Love or Hate Work In Progress Melee Maps [D]RTS in all its shapes and glory <3
External Content
The PondCast: SC2 News & Results Mutation # 531 Experimental Artillery Mutation # 530 One For All Mutation # 529 Opportunities Unleashed
Brood War
General
Farewell Beloved Starcraft (Youtube Videos) ASL 22 Proposed Map Pool BW General Discussion vespene.gg — BW replays in browser Quality of life changes in BW that you will like ?
Tourneys
[ASL21] Grand Finals [Megathread] Daily Proleagues The Casual Games of the Week Thread [BSL22] GosuLeague Casts - Tue & Thu 22:00 CEST
Strategy
Simple Questions, Simple Answers Creating a full chart of Zerg builds Relatively freeroll strategies Why doesn't anyone use restoration?
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread Beyond All Reason Nintendo Switch Thread ZeroSpace at Steam NextFest - Last free demo
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
The Games Industry And ATVI US Politics Mega-thread Canadian Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread
Fan Clubs
The HerO Fan Club! The herO Fan Club!
Media & Entertainment
Movie Discussion! Series you have seen recently... [Req][Books] Good Fantasy/SciFi books [TV/BOOK] *SPOILERS* Game of Thrones Discussion
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 McBoner: A hockey love story Formula 1 Discussion Cricket [SPORT]
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Facing Challenges in Mobile App Development
TL Community
The Automated Ban List
Blogs
Listen To The Coaches!
TrAiDoS
An Exploration of th…
waywardstrategy
I'm an arrogant trash talke…
FlaShFTW
Gauntlet SC2: A Retrospectiv…
Ctone23
ramps on octagon
StaticNine
StarCraft improvement
iopq
Customize Sidebar...

Website Feedback

Closed Threads



Active: 7757 users

The Big Programming Thread - Page 983

Forum Index > General Forum
Post a Reply
Prev 1 981 982 983 984 985 1032 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
Excludos
Profile Blog Joined April 2010
Norway8263 Posts
December 21 2018 20:47 GMT
#19641
On December 22 2018 04:52 SC-Shield wrote:
Show nested quote +
On December 22 2018 04:40 Blisse wrote:
On December 21 2018 03:23 mantequilla wrote:
I have a coworker that knows a lot more than me, like different languages, frameworks, different programming paradigms. etc but I can't help to think he's a bad programmer.

His code is almost always buggy. Ideas he bring out and be sure "it will work" never works.

I was trying to track down a silly bug for 3 days, finally solved it, he refactored my code a bit to make it "better", now its more broken than ever :/
pissed


I mean, code reviews are a thing?


In theory, unit tests should have caught that too.


Only if you write them in the first place!
Silvanel
Profile Blog Joined March 2003
Poland4767 Posts
December 21 2018 21:13 GMT
#19642
If it compiles it works! Works on my machine! Its better that way! And other things i as tester love to hear
Pathetic Greta hater.
Excludos
Profile Blog Joined April 2010
Norway8263 Posts
December 21 2018 23:10 GMT
#19643
On December 22 2018 06:13 Silvanel wrote:
If it compiles it works! Works on my machine! Its better that way! And other things i as tester love to hear


"This isn't working"
"Works on my machine!"
"Yes, but this is an iOS app.."
"Works. On. My. Machine!"
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
December 22 2018 05:58 GMT
#19644
A library I used released a feature that I've been waiting on 8 months ago. They finally released the android version 4 days ago...
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
SC-Shield
Profile Joined December 2018
Bulgaria863 Posts
December 22 2018 11:52 GMT
#19645
On December 22 2018 14:58 WarSame wrote:
A library I used released a feature that I've been waiting on 8 months ago. They finally released the android version 4 days ago...


I guess you were a good boy so Santa brought you gift.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2018-12-24 00:42:58
December 23 2018 22:17 GMT
#19646
im considering writing some machine learning stuff to predict NBA outcomes

anyone heard of machine learning for sports betting? I would have to imagine its what las vegas uses and they are probably really really good at it.
tofucake
Profile Blog Joined October 2009
Hyrule19224 Posts
December 24 2018 00:27 GMT
#19647
Yeah, there's at least one guy who's won a few hundred thousand by using machine learning to run his fantasy teams
Liquipediaasante sana squash banana
Wrath
Profile Blog Joined July 2014
3174 Posts
December 24 2018 06:16 GMT
#19648
Question, would it be logical to install python on every single Windows server to use it as scripting language instead of batch script? I really feel it is awkward and limited to use.
LightTemplar
Profile Blog Joined August 2011
Ireland481 Posts
December 24 2018 09:56 GMT
#19649
I would think so. Just decide if you want python 2, 3 or both beforehand and be aware you'll probably want a requirements file for any libs you are likely to need across the machines and preferably an easy way to update all the machines with those libs. Basically keep your environments clean and you should be good.
"Thoughts are always there, the mind can't stop" - Grubby
Silvanel
Profile Blog Joined March 2003
Poland4767 Posts
December 24 2018 10:38 GMT
#19650
To elaborate even more if You want to make sure You have exact same environment on multiple machines and at the same time make sure this enviroment doesnt affect different apps potentially also running python use:
venv + install modules from one requirements.txt.
Pathetic Greta hater.
SC-Shield
Profile Joined December 2018
Bulgaria863 Posts
Last Edited: 2018-12-24 13:55:48
December 24 2018 13:54 GMT
#19651
On December 24 2018 18:56 LightTemplar wrote:
I would think so. Just decide if you want python 2, 3 or both beforehand and be aware you'll probably want a requirements file for any libs you are likely to need across the machines and preferably an easy way to update all the machines with those libs. Basically keep your environments clean and you should be good.


Avoid Python 2. Official support will be dropped in 2020. You only have 1 year in this case.
Link: https://www.python.org/dev/peps/pep-0373/#update
Excludos
Profile Blog Joined April 2010
Norway8263 Posts
December 24 2018 14:13 GMT
#19652
On December 24 2018 22:54 SC-Shield wrote:
Show nested quote +
On December 24 2018 18:56 LightTemplar wrote:
I would think so. Just decide if you want python 2, 3 or both beforehand and be aware you'll probably want a requirements file for any libs you are likely to need across the machines and preferably an easy way to update all the machines with those libs. Basically keep your environments clean and you should be good.


Avoid Python 2. Official support will be dropped in 2020. You only have 1 year in this case.
Link: https://www.python.org/dev/peps/pep-0373/#update


Also avoid Python 3. It's a bad language for bad people who should feel bad!
Manit0u
Profile Blog Joined August 2004
Poland17774 Posts
December 24 2018 14:47 GMT
#19653
Also avoid Python. There are better scripting languages
Time is precious. Waste it wisely.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
December 24 2018 15:14 GMT
#19654
like what? my hackles have immediately raised in defense of python, despite very little experience with other languages lol
Excludos
Profile Blog Joined April 2010
Norway8263 Posts
Last Edited: 2018-12-24 15:19:56
December 24 2018 15:18 GMT
#19655
On December 25 2018 00:14 travis wrote:
like what? my hackles have immediately raised in defense of python, despite very little experience with other languages lol


Depends entierly on the use. I'm personally very pragmatic with what I program in, depending entierly on what needs to be done. If you're working with machine learning, Python is the way to go simply because at some point, everyone in the field decided to use it. So nearly all material, guides and software is available only in Python (and a bit in c++). If you're running scripts for windows, powershell works well enough for that. If you're running a server, nodejs is excellent (despite my hate for js in general), if you need a front end: Qt. If you need a 3D world: Unity, etc etc.
SC-Shield
Profile Joined December 2018
Bulgaria863 Posts
Last Edited: 2018-12-24 18:08:12
December 24 2018 18:03 GMT
#19656
On December 24 2018 23:13 Excludos wrote:
Show nested quote +
On December 24 2018 22:54 SC-Shield wrote:
On December 24 2018 18:56 LightTemplar wrote:
I would think so. Just decide if you want python 2, 3 or both beforehand and be aware you'll probably want a requirements file for any libs you are likely to need across the machines and preferably an easy way to update all the machines with those libs. Basically keep your environments clean and you should be good.


Avoid Python 2. Official support will be dropped in 2020. You only have 1 year in this case.
Link: https://www.python.org/dev/peps/pep-0373/#update


Also avoid Python 3. It's a bad language for bad people who should feel bad!


I dislike scripting languages, including Python, but come on Python is good for prototyping for some scientists, I had a colleague who was doing imaging science in Python first to try algorithms because it was quick to write. Of course, you can later write an algorithm in a faster language like in C or C++.
mantequilla
Profile Blog Joined June 2012
Turkey781 Posts
Last Edited: 2018-12-24 18:30:00
December 24 2018 18:23 GMT
#19657
Python feels weird to me, I usually categorize languages in my head in two, either javascript like (everything is allowed, very flexible but can be a pain if used badly) or java like (very strict, not flexible but everything is according to a rule, easy to follow someone else's code). Python is neither, it allows too many things, like runtime modification of class methods etc. but at the same time can't print("number is: " + 1) or print("list is : " + null) and whole thing terminates because of this. It can concat two arrays with + operator but can't concat a string and a number.

When writing js, I usually think "im sure I can do that in js" and when writing java "let me think how I can do sth like that". In python, I have no idea

Try Groovy

PS: Anyone know Scala here?
Age of Mythology forever!
Excludos
Profile Blog Joined April 2010
Norway8263 Posts
December 24 2018 18:30 GMT
#19658
On December 25 2018 03:03 SC-Shield wrote:
Show nested quote +
On December 24 2018 23:13 Excludos wrote:
On December 24 2018 22:54 SC-Shield wrote:
On December 24 2018 18:56 LightTemplar wrote:
I would think so. Just decide if you want python 2, 3 or both beforehand and be aware you'll probably want a requirements file for any libs you are likely to need across the machines and preferably an easy way to update all the machines with those libs. Basically keep your environments clean and you should be good.


Avoid Python 2. Official support will be dropped in 2020. You only have 1 year in this case.
Link: https://www.python.org/dev/peps/pep-0373/#update


Also avoid Python 3. It's a bad language for bad people who should feel bad!


I dislike scripting languages, including Python, but come on Python is good for prototyping for some scientists, I had a colleague who was doing imaging science in Python first to try algorithms because it was quick to write. Of course, you can later write an algorithm in a faster language like in C or C++.


This is indeed the biggest usecase for Python: Scientists who doesn't really know how to program and/or doesn't have the time for it. I don't know exactly when or why all scientists decided to band togheter to use one language above all others, but that is the situation we're in atm.
SC-Shield
Profile Joined December 2018
Bulgaria863 Posts
Last Edited: 2018-12-24 18:49:32
December 24 2018 18:47 GMT
#19659
On December 25 2018 03:30 Excludos wrote:
Show nested quote +
On December 25 2018 03:03 SC-Shield wrote:
On December 24 2018 23:13 Excludos wrote:
On December 24 2018 22:54 SC-Shield wrote:
On December 24 2018 18:56 LightTemplar wrote:
I would think so. Just decide if you want python 2, 3 or both beforehand and be aware you'll probably want a requirements file for any libs you are likely to need across the machines and preferably an easy way to update all the machines with those libs. Basically keep your environments clean and you should be good.


Avoid Python 2. Official support will be dropped in 2020. You only have 1 year in this case.
Link: https://www.python.org/dev/peps/pep-0373/#update


Also avoid Python 3. It's a bad language for bad people who should feel bad!


I dislike scripting languages, including Python, but come on Python is good for prototyping for some scientists, I had a colleague who was doing imaging science in Python first to try algorithms because it was quick to write. Of course, you can later write an algorithm in a faster language like in C or C++.


This is indeed the biggest usecase for Python: Scientists who doesn't really know how to program and/or doesn't have the time for it. I don't know exactly when or why all scientists decided to band togheter to use one language above all others, but that is the situation we're in atm.


Well, "why" is obvious, it's a very high level language which allows you to write something in just a few lines. In C++, you have a lot more to write, but performance won't be an issue at least. It's very easy to pick between the two: speed of writing or performance and stricter rules (predictable deallocation, static typing, etc).
Excludos
Profile Blog Joined April 2010
Norway8263 Posts
December 24 2018 19:06 GMT
#19660
On December 25 2018 03:47 SC-Shield wrote:
Show nested quote +
On December 25 2018 03:30 Excludos wrote:
On December 25 2018 03:03 SC-Shield wrote:
On December 24 2018 23:13 Excludos wrote:
On December 24 2018 22:54 SC-Shield wrote:
On December 24 2018 18:56 LightTemplar wrote:
I would think so. Just decide if you want python 2, 3 or both beforehand and be aware you'll probably want a requirements file for any libs you are likely to need across the machines and preferably an easy way to update all the machines with those libs. Basically keep your environments clean and you should be good.


Avoid Python 2. Official support will be dropped in 2020. You only have 1 year in this case.
Link: https://www.python.org/dev/peps/pep-0373/#update


Also avoid Python 3. It's a bad language for bad people who should feel bad!


I dislike scripting languages, including Python, but come on Python is good for prototyping for some scientists, I had a colleague who was doing imaging science in Python first to try algorithms because it was quick to write. Of course, you can later write an algorithm in a faster language like in C or C++.


This is indeed the biggest usecase for Python: Scientists who doesn't really know how to program and/or doesn't have the time for it. I don't know exactly when or why all scientists decided to band togheter to use one language above all others, but that is the situation we're in atm.


Well, "why" is obvious, it's a very high level language which allows you to write something in just a few lines. In C++, you have a lot more to write, but performance won't be an issue at least. It's very easy to pick between the two: speed of writing or performance and stricter rules (predictable deallocation, static typing, etc).


Sure, but there are plenty of other high level languages to pick from. The probable reason Python has been used over anything else for this purpose is probably due to it compiling to c++ code, which makes it very easy to integrate c/c++ libraries, of which there are many (like OpenCV). Unlike something like javascript which compiles to bytecode, so all preexisting libraries for other languages have to be rewritten for it.
Prev 1 981 982 983 984 985 1032 Next
Please log in or register to reply.
Live Events Refresh
PSISTORM Gaming Misc
23:30
FSL TeamLeague: ST vs POG
Freeedom17
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft585
ViBE159
NeuroSwarm 122
SpeCial 116
Nina 110
CosmosSc2 76
FoxeR 3
StarCraft: Brood War
MaD[AoV]28
Purpose 17
NaDa 16
League of Legends
JimRising 619
Counter-Strike
minikerr9
taco 3
Super Smash Bros
AZ_Axe218
Other Games
summit1g13437
FrodaN3532
KnowMe81
Liquid`Ken5
Organizations
Dota 2
PGL Dota 2 - Secondary Stream3428
Other Games
gamesdonequick922
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 13 non-featured ]
StarCraft 2
• Hupsaiya 99
• davetesta12
• EnkiAlexander 12
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Upcoming Events
Douyu Cup 2020
4h 2m
Maestros of the Game
11h 32m
herO vs Classic
Maru vs Serral
BSL22 NKC (BSL vs China)
13h 2m
Bonyth vs TerrOr
eOnzErG vs Dewalt
XuanXuan vs TBD
Douyu Cup 2020
1d 4h
BSL22 NKC (BSL vs China)
1d 13h
Mihu vs TBD
Online Event
1d 14h
RSL Revival
2 days
WardiTV Weekly
2 days
RSL Revival
3 days
RSL Revival
3 days
[ Show More ]
Bombastic Starleague
3 days
Kung Fu Cup
4 days
OSC
4 days
CrankTV Team League
5 days
Bombastic Starleague
5 days
Replay Cast
5 days
The PondCast
6 days
HomeStory Cup
6 days
Replay Cast
6 days
Liquipedia Results

Completed

CSL Season 21: Qualifier 1
WardiTV Spring 2026
Heroes Pulsing #2

Ongoing

IPSL Spring 2026
Acropolis #4
YSL S3
BSL 22 Non-Korean Championship
CSL Season 21: Qualifier 2
SCTL 2026 Spring
Douyu Cup 2026
Maestros of the Game 2
Murky Cup 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026
BLAST Rivals Spring 2026
IEM Rio 2026

Upcoming

CSL 2026 Summer (S21)
CSLAN 4
Blizzard Classic Cup 2026
Kung Fu Cup 2026 Grand Finals
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
HSC XXIX
BCC 2026
Light Tournament 2026
Eternal Conflict S2 Finale
Eternal Conflict S2 E1
Heroes Pulsing #3
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.