On December 22 2018 04:52 SC-Shield wrote:
In theory, unit tests should have caught that too.
In theory, unit tests should have caught that too.

Only if you write them in the first place!
| Forum Index > General Forum |
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
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
Poland4753 Posts
December 21 2018 21:13 GMT
#19642
![]() | ||
|
Excludos
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
Canada1950 Posts
December 22 2018 05:58 GMT
#19644
| ||
|
SC-Shield
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
24492 Posts
December 23 2018 22:17 GMT
#19646
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
Hyrule19210 Posts
December 24 2018 00:27 GMT
#19647
| ||
|
Wrath
3174 Posts
December 24 2018 06:16 GMT
#19648
| ||
|
LightTemplar
Ireland481 Posts
December 24 2018 09:56 GMT
#19649
| ||
|
Silvanel
Poland4753 Posts
December 24 2018 10:38 GMT
#19650
venv + install modules from one requirements.txt. | ||
|
SC-Shield
Bulgaria843 Posts
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
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
Poland17743 Posts
December 24 2018 14:47 GMT
#19653
![]() | ||
|
Deleted User 3420
24492 Posts
December 24 2018 15:14 GMT
#19654
| ||
|
Excludos
Norway8255 Posts
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
Bulgaria843 Posts
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
Turkey781 Posts
December 24 2018 18:23 GMT
#19657
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? | ||
|
Excludos
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
Bulgaria843 Posts
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
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. | ||
| ||
StarCraft 2 StarCraft: Brood War Britney Dota 2Bisu EffOrt Stork Larva ggaemo actioN firebathero Rush Soulkey [ Show more ] Counter-Strike Heroes of the Storm Other Games FrodaN1956 qojqva1915 singsing1700 Liquid`RaSZi1139 Beastyqt626 ceh9421 B2W.Neo406 KnowMe194 ArmadaUGS120 QueenE110 Mew2King63 UpATreeSC53 Trikslyr50 C9.Mang036 ZerO(Twitch)18 fpsfer Organizations
StarCraft 2 • Adnapsc2 StarCraft: Brood War• IndyKCrew • sooper7s • AfreecaTV YouTube • Migwel • intothetv • LaughNgamezSOOP • Kozan Dota 2 League of Legends Other Games |
|
OSC
The PiG Daily
Maru vs Rogue
TBD vs Classic
herO vs Solar
ByuN vs Solar
Replay Cast
CranKy Ducklings
RSL Revival
SHIN vs Bunny
ByuN vs Shameless
WardiTV Invitational
Krystianer vs TriGGeR
Cure vs Rogue
SC Evo League
uThermal 2v2 Circuit
BSL
Artosis vs TerrOr
spx vs StRyKeR
Replay Cast
[ Show More ] Sparkling Tuna Cup
RSL Revival
Cure vs Zoun
Clem vs Lambo
WardiTV Invitational
BSL
Dewalt vs DragOn
Aether vs Jimin
GSL
Afreeca Starleague
Soma vs Leta
Wardi Open
Monday Night Weeklies
OSC
CranKy Ducklings
Afreeca Starleague
Light vs Flash
Replay Cast
Replay Cast
The PondCast
Replay Cast
RSL Revival
|
|
|