• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 06:33
CET 12:33
KST 20:33
  • 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
Rongyi Cup S3 - Preview & Info3herO wins SC2 All-Star Invitational13SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0
Community News
Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0BSL Season 2025 - Full Overview and Conclusion8Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)25Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7
StarCraft 2
General
herO wins SC2 All-Star Invitational PhD study /w SC2 - help with a survey! Oliveira Would Have Returned If EWC Continued StarCraft 2 not at the Esports World Cup 2026 [Short Story] The Last GSL
Tourneys
$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship $70 Prize Pool Ladder Legends Academy Weekly Open! SC2 All-Star Invitational: Jan 17-18 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Simple Questions Simple Answers
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 510 Safety Violation Mutation # 509 Doomsday Report Mutation # 508 Violent Night Mutation # 507 Well Trained
Brood War
General
Which foreign pros are considered the best? [ASL21] Potential Map Candidates Gypsy to Korea BGH Auto Balance -> http://bghmmr.eu/ Fantasy's Q&A video
Tourneys
[Megathread] Daily Proleagues Azhi's Colosseum - Season 2 Small VOD Thread 2.0 [BSL21] Non-Korean Championship - Starts Jan 10
Strategy
Current Meta Simple Questions, Simple Answers Soma's 9 hatch build from ASL Game 2 Game Theory for Starcraft
Other Games
General Games
Beyond All Reason Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Stormgate/Frost Giant Megathread Awesome Games Done Quick 2026!
Dota 2
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 Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Canadian Politics Mega-thread NASA and the Private Sector
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
How Esports Advertising Shap…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1735 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
Norway8231 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
Poland4742 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
Norway8231 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
Bulgaria836 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
Hyrule19190 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
Poland4742 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
Bulgaria836 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
Norway8231 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
Poland17630 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
Norway8231 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
Bulgaria836 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
Norway8231 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
Bulgaria836 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
Norway8231 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
RongYI Cup
11:00
Playoffs Day 1
herO vs ShoWTimELIVE!
Solar vs Classic
RotterdaM583
ComeBackTV 526
WardiTV274
IndyStarCraft 134
Rex95
BRAT_OK 80
3DClanTV 64
EnkiAlexander 26
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 583
IndyStarCraft 134
Rex 95
SortOf 88
BRAT_OK 80
StarCraft: Brood War
Calm 7769
Rain 3677
Flash 2241
Horang2 1619
Hyuk 1474
Larva 683
BeSt 674
Jaedong 480
Stork 328
Soma 283
[ Show more ]
Mini 277
actioN 264
firebathero 252
Zeus 169
Light 146
Soulkey 142
Snow 99
Pusan 98
ZerO 77
Rush 64
Mong 61
ggaemo 59
PianO 58
yabsab 58
Shuttle 56
Mind 51
ToSsGirL 34
Barracks 34
Sea.KH 31
scan(afreeca) 25
Sharp 23
zelot 22
Free 20
Nal_rA 20
JulyZerg 19
GoRush 19
soO 18
Shinee 18
Icarus 16
910 15
Terrorterran 13
Noble 13
HiyA 13
ajuk12(nOOB) 12
Bale 11
ivOry 5
[sc1f]eonzerg 1
Dota 2
singsing2085
Fuzer 136
XcaliburYe130
NeuroSwarm90
Counter-Strike
kennyS2179
olofmeister1604
zeus581
Super Smash Bros
Mew2King128
Other Games
Sick206
Pyrionflax187
oskar96
ToD83
edward28
ZerO(Twitch)17
Organizations
StarCraft: Brood War
lovetv 7
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• LUISG 37
• Kozan
• AfreecaTV YouTube
• sooper7s
• intothetv
• Migwel
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• iopq 8
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV235
• lizZardDota245
League of Legends
• Lourlo1242
Upcoming Events
Wardi Open
2h 27m
Monday Night Weeklies
5h 27m
OSC
12h 27m
Replay Cast
21h 27m
RongYI Cup
23h 27m
Clem vs TriGGeR
Maru vs Creator
WardiTV Invitational
1d 2h
Replay Cast
1d 21h
RongYI Cup
1d 23h
WardiTV Invitational
2 days
The PondCast
2 days
[ Show More ]
HomeStory Cup
4 days
Korean StarCraft League
4 days
HomeStory Cup
5 days
Replay Cast
5 days
HomeStory Cup
6 days
Replay Cast
6 days
Liquipedia Results

Completed

BSL 21 Non-Korean Championship
OSC Championship Season 13
Underdog Cup #3

Ongoing

CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
Acropolis #4 - TS4
Rongyi Cup S3
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025

Upcoming

Escore Tournament S1: W6
Escore Tournament S1: W7
Acropolis #4
IPSL Spring 2026
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 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.