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
Norway7685 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
Poland4601 Posts
December 21 2018 21:13 GMT
#19642
| ||
Excludos
Norway7685 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
Bulgaria766 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
Hyrule18775 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
Poland4601 Posts
December 24 2018 10:38 GMT
#19650
venv + install modules from one requirements.txt. | ||
SC-Shield
Bulgaria766 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
Norway7685 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
Poland17047 Posts
December 24 2018 14:47 GMT
#19653
| ||
Deleted User 3420
24492 Posts
December 24 2018 15:14 GMT
#19654
| ||
Excludos
Norway7685 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
Bulgaria766 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
Turkey773 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
Norway7685 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
Bulgaria766 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
Norway7685 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. | ||
| ||
ESL Open Cup
Asia Open Cup #225
[ Submit Event ] |
StarCraft 2 StarCraft: Brood War Calm 3340 Dota 2Bisu 1677 Horang2 815 BeSt 697 firebathero 462 Pusan 206 Leta 203 ggaemo 171 Snow 163 Mini 145 [ Show more ] Counter-Strike Super Smash Bros Other Games Organizations StarCraft: Brood War StarCraft 2 StarCraft: Brood War StarCraft 2 StarCraft: Brood War
StarCraft 2 • Berry_CruncH219 StarCraft: Brood War• MindelVK 14 • Kozan • Migwel • Poblha • intothetv • Gussbus • aXEnki • IndyKCrew • LaughNgamez Trovo • Laughngamez YouTube League of Legends |
ESL Open Cup
ESL Open Cup
Kung Fu Cup
GSL Code S
Maru vs TY
Creator vs SHIN
ESL Pro Tour
ESL Pro Tour
ESL Pro Tour
ESL Pro Tour
Online Event
ESL Pro Tour
[ Show More ] Hatchery Cup
BSL
ESL Pro Tour
Sparkling Tuna Cup
ESL Pro Tour
BSL
ESL Pro Tour
|
|