• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 13:20
CEST 19:20
KST 02:20
  • 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
Code S Season 1 - RO8 Preview4[ASL21] Ro8 Preview Pt2: Progenitors8Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun13[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10
Community News
Maestros of The Game 2 announcement and schedule !7Weekly Cups (April 27-May 4): Clem takes triple0RSL Revival: Season 5 - Qualifiers and Main Event12Code S Season 1 (2026) - RO12 Results12026 GSL Season 1 Qualifiers25
StarCraft 2
General
Code S Season 1 - RO8 Preview Behind the Blue - Team Liquid History Book Weekly Cups (April 27-May 4): Clem takes triple Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool Code S Season 1 (2026) - RO12 Results
Tourneys
Maestros of The Game 2 announcement and schedule ! GSL Code S Season 1 (2026) Sea Duckling Open (Global, Bronze-Diamond) RSL Revival: Season 5 - Qualifiers and Main Event Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players
External Content
Mutation # 524 Death and Taxes The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base
Brood War
General
Tulbo's ASL S21 Ro8 Post-Review Why there arent any 256x256 pro maps? Do we have a pimpest plays list? BGH Auto Balance -> http://bghmmr.eu/ (Spoiler) Asl ro8 D winner interview
Tourneys
Escore Tournament StarCraft Season 2 [ASL21] Ro8 Day 4 Small VOD Thread 2.0 [BSL22] RO16 Group Stage - 02 - 10 May
Strategy
Simple Questions, Simple Answers Fighting Spirit mining rates What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile Nintendo Switch Thread OutLive 25 (RTS Game) Dawn of War IV
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
European Politico-economics QA Mega-thread US Politics Mega-thread The Letting Off Steam Thread Canadian Politics Mega-thread Russo-Ukrainian War Thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
How EEG Data Can Predict Gam…
TrAiDoS
ramps on octagon
StaticNine
Funny Nicknames
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1245 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
Norway8255 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
Poland4753 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
Norway8255 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
Bulgaria843 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
Hyrule19210 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
Poland4753 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
Bulgaria843 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
Norway8255 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
Poland17743 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
Norway8255 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
Bulgaria843 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
Norway8255 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
Bulgaria843 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
Norway8255 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
Big Brain Bouts
16:00
#115
Fjant vs Bly
Serral vs Shameless
RotterdaM1693
TKL 174
IndyStarCraft 127
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 1693
TKL 174
IndyStarCraft 127
BRAT_OK 70
CosmosSc2 21
StarCraft: Brood War
Britney 27693
Bisu 2467
EffOrt 909
Stork 489
Larva 427
ggaemo 356
actioN 299
firebathero 285
Rush 233
Soulkey 227
[ Show more ]
ZerO 225
Hyuk 185
hero 141
Dewaltoss 89
Hyun 67
Sharp 63
Sea.KH 41
Pusan 38
Barracks 37
HiyA 23
sorry 21
Rock 21
soO 19
Shine 13
GoRush 12
ajuk12(nOOB) 9
Terrorterran 8
Dota 2
Gorgc6993
monkeys_forever375
XaKoH 59
Counter-Strike
fl0m1585
byalli516
Heroes of the Storm
MindelVK15
Other Games
FrodaN1956
qojqva1915
singsing1700
Liquid`RaSZi1139
Beastyqt626
ceh9421
B2W.Neo406
KnowMe194
ArmadaUGS120
QueenE110
Mew2King63
UpATreeSC53
Trikslyr50
C9.Mang036
ZerO(Twitch)18
fpsfer 1
Organizations
Other Games
gamesdonequick2418
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 17 non-featured ]
StarCraft 2
• Adnapsc2 1
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• HerbMon 25
• FirePhoenix5
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• lizZardDota267
League of Legends
• Nemesis4526
• TFBlade1124
Other Games
• Shiphtur255
Upcoming Events
OSC
4h 40m
The PiG Daily
5h 40m
Maru vs Rogue
TBD vs Classic
herO vs Solar
ByuN vs Solar
Replay Cast
6h 40m
CranKy Ducklings
16h 40m
RSL Revival
16h 40m
SHIN vs Bunny
ByuN vs Shameless
WardiTV Invitational
17h 40m
Krystianer vs TriGGeR
Cure vs Rogue
SC Evo League
19h 40m
uThermal 2v2 Circuit
21h 40m
BSL
1d 1h
Artosis vs TerrOr
spx vs StRyKeR
Replay Cast
1d 6h
[ Show More ]
Sparkling Tuna Cup
1d 16h
RSL Revival
1d 16h
Cure vs Zoun
Clem vs Lambo
WardiTV Invitational
1d 17h
BSL
2 days
Dewalt vs DragOn
Aether vs Jimin
GSL
2 days
Afreeca Starleague
2 days
Soma vs Leta
Wardi Open
2 days
Monday Night Weeklies
2 days
OSC
3 days
CranKy Ducklings
3 days
Afreeca Starleague
3 days
Light vs Flash
Replay Cast
4 days
Replay Cast
5 days
The PondCast
5 days
Replay Cast
6 days
RSL Revival
6 days
Liquipedia Results

Completed

Proleague 2026-05-05
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Acropolis #4
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2

Upcoming

KK 2v2 League Season 1
BSL 22 Non-Korean Championship
YSL S3
Escore Tournament S2: W7
Escore Tournament S2: W8
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
BLAST Bounty Summer 2026: Closed Qualifier
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 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.