• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 00:27
CET 06:27
KST 14:27
  • 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
Team Liquid Map Contest #235[ASL22] Finals Preview: Sweet Victory!12[ASL22] Ro4 Preview: Mirror Mirror6[ASL22] Ro8 Preview: Within Reach5[ASL22] Ro8 Preview: In A Tizzy11
Community News
Weekly Cups (Nov 9-15): Clem and herO take over1Dark completes military service, returns to SC215[BSL23] RO16 Group Stage20Weekly Cups (Nov 2-8): herO back on top?2Weekly Cups (Oct 26 - Nov 1): MaxPax, herO, Solar win0
StarCraft 2
General
Team Liquid Map Contest #23 Dark completes military service, returns to SC2 Weekly Cups (Nov 9-15): Clem and herO take over StarCraft open world shooter announced at BlizzCon No more SC2 streamers on team liquid?
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament RSL goes to London! 2026 Offline Finals Nov 21-22 Sea Duckling Open (Global, Bronze-Diamond) Dark returns! GSL CK #7 4v4 Team Battle (Nov 19) soO & FanTaSy return! SC2 Kevin Scrim 4v4 (Nov 16)
Strategy
[H] ZvP Mid-Late Game: Stalkers Collossi HT
Custom Maps
[G] How to playtest arcade maps Starcraft 2 Advance [D] the control group Simple Questions/Answers
External Content
Mutation # 552 Secret Storm The PondCast: SC2 News & Results Mutation # 551 Robotic Revival Mutation # 550 Graveyard Shift
Brood War
General
BW General Discussion List of top players active on ShieldBattery NaDa's Body Shield Battery Server New Patch BGH Auto Balance -> http://bghmmr.eu/
Tourneys
SC1 Kevin Scrim hosted by SOOP (Nov 18-19) [IPSL] Winter 26-27 Round of 16! [Megathread] Daily Proleagues 2v2v2v2 Tournament Stage 2: Players
Strategy
Pluto's TvP 5Marine 2Medic Push Simple Questions, Simple Answers Infested Terran strategies in 2026 Nuke strategy worked in K-League 2026-11-09
Other Games
General Games
Nintendo Switch Thread Stormgate/Frost Giant Megathread Free Space RTS Game, optimised f. Phone/Tablet etc List of Game Threads The PlayStation 5
Dota 2
League of Legends
[TL LoL EUW IHs] Teemo shall perish
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread Trading/Investing Thread Artificial Intelligence Thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine
Fan Clubs
Fan Club Resource Thread Reynor Fan Club The Flash Fan Club
Media & Entertainment
Movie Discussion! Anime Discussion Thread [Manga] One Piece
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The time I organised my…
AssyrianKing
Why I built Repalyzer (1.1.…
BlueStar
Innovate or Game Over?
TrAiDoS
ShieldBattery on Mac
Kraekkling
Can Bots Beat Pros?? Starcr…
namkraft
StarCraft improvement
iopq
Socialism Anyone?
GreenHorizons
Customize Sidebar...

Website Feedback

Closed Threads



Active: 11074 users

The Big Programming Thread - Page 978

Forum Index > General Forum
Post a Reply
Prev 1 976 977 978 979 980 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.
Acrofales
Profile Joined August 2010
Spain18502 Posts
November 16 2018 23:30 GMT
#19541
Django is a complete framework, flask is lightweight. It really depends on what you need to build. Connecting either to a mysql DB is trivial.

Mainly if you need to do a lot of frontend work, is use Django.
Manit0u
Profile Blog Joined August 2004
Poland17875 Posts
November 17 2018 10:36 GMT
#19542
On November 17 2018 05:04 TentativePanda wrote:
FLASK vs Django?

I'm working on a university project and trying to decide which framework would be better for us (group project). Here is the info about the project and the members that are of note:

- Group project (3 of us) due in 2 weeks
- Need to design a user interface for our database server (website backed by DB)
- MySQL was used for database design
- We all have fairly decent python experience (and I'd like to think we are all capable people, willing and able to learn - even in this short amount of time)
- We have little to no web development experience

I know there are plenty of differences from what online (although both would work). I may be wrong, but I think the most important factor for us would be which framework allows us to work and connect to MySQL most easily.

Thank you so much to people who reply, it will be super appreciated!


Since you all have very little web dev experience, I strongly suggest going through this book quickly:
https://www.obeythetestinggoat.com/pages/book.html#toc

This will teach you all you need to know about Django (and many other things) for your project.
Time is precious. Waste it wisely.
LightTemplar
Profile Blog Joined August 2011
Ireland481 Posts
November 17 2018 12:30 GMT
#19543
Personally I think you'd probably do better wtih Flask from a learning standpoint. Django involves learning quite a bit about how Django does things rather than a more general case. Both are going to deliver but your choice should probably be based on your learning goals.
"Thoughts are always there, the mind can't stop" - Grubby
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
November 17 2018 19:31 GMT
#19544
Flask with Flask API, Marshmallow and SQLAlchemy should be a good combination of frameworks to provide an API easily and extendably.
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2018-11-23 20:52:56
November 23 2018 20:13 GMT
#19545
I wanted to play around with libgdx. It's a game engine (or a framework, technically, whatever the difference is) for Java.

I am trying to get it to work with any IDE... building with gradle. I have no idea wtf gradle is. But I can't get this to work for the life of me. I think tutorials are all out of date despite it being relatively popular.

I was told to download the latest JDK. 11.0.1
But when I try to build the gradle file in intellij I just get the message "Could not determine java version from '11.0.1'." Anyone know whats going on here?

edit:
Well I got it working.. apparenlty updating Java messed up path variables for windows... which is really silly.
and it messed them up in a pretty annoying and hard to notice way, but I eventually found it.

honestly it's like oracle wants everything surrounding java to be as confusing as possible


edit2: the IDEs still won't actually build a gradle project. It still says "Could not determine java version from '11.0.1'.". This is silly.
solidbebe
Profile Blog Joined November 2010
Netherlands4921 Posts
November 23 2018 21:30 GMT
#19546
It was my understanding that gradle is meant for android projects
That's the 2nd time in a week I've seen someone sig a quote from this GD and I have never witnessed a sig quote happen in my TL history ever before. -Najda
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
November 23 2018 21:36 GMT
#19547
libgdx allows your project to be compatible with android so thats probably why
WarSame
Profile Blog Joined February 2010
Canada1950 Posts
November 25 2018 01:58 GMT
#19548
Gradle's just a build tool like Maven. I think every Android app uses it, but it can work for other purposes. Maybe Gradle doesn't support Java 11? Try Java 8.

Also, you can build it either in Intellij(under Views -> Gradle or something like that) or from command line.
Can it be I stayed away too long? Did you miss these rhymes while I was gone?
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2018-11-26 15:12:06
November 25 2018 02:17 GMT
#19549
I did get it working eventually,

the issue was the new JDK... java has like a 2-in-1 JDK/JRE for download

all of the IDEs were not liking it
Manit0u
Profile Blog Joined August 2004
Poland17875 Posts
December 04 2018 09:26 GMT
#19550
https://dms.licdn.com/playback/C5600AQHlFfiT4JbEeA/d77c78bc034348d3b43524425fdaf454/feedshare-mp4_3300/1488578169071-zmy00q?e=1544004000&v=beta&t=13TPWdKrQIjvqQFDOUDzn2Z5r6ZVC-uAMFp2MoZAN6A

Mercedes-Benz so crazy
Time is precious. Waste it wisely.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
December 04 2018 13:49 GMT
#19551
So what languages/skills do you think would be attractive to a lot of employers in the next upcoming year in terms of employing someone out of university?

Has it gotten to the point where people are getting hired for machine learning jobs with Bachelors degrees yet?
Manit0u
Profile Blog Joined August 2004
Poland17875 Posts
Last Edited: 2018-12-04 14:27:33
December 04 2018 14:24 GMT
#19552
On December 04 2018 22:49 travis wrote:
So what languages/skills do you think would be attractive to a lot of employers in the next upcoming year in terms of employing someone out of university?

Has it gotten to the point where people are getting hired for machine learning jobs with Bachelors degrees yet?


People get hired for all kinds of positions with all kinds of background (half the developers I know have absolutely no CS/Engineering/Maths education whatsoever and some of them do work in ML).

If you want to go for ML you'll have to know the maths behind it and being good with Python will be an asset.

Here's a brief presentation by my CTO (who also works at a university and is doing research in ML). Perhaps some of the topics there will be of use to you:



Edit:

And some required reading:
https://www.oreilly.com/library/view/introduction-to-machine/9781449369880/
https://www.oreilly.com/library/view/python-for-data/9781491957653/
https://www.oreilly.com/library/view/hands-on-machine-learning/9781491962282/
Time is precious. Waste it wisely.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
December 04 2018 20:58 GMT
#19553
Side question that maybe you or someone else knows -

Python seems to be the go-to when *starting* ML, but are the businesses that are more on the cutting edge actually developing ML code in python? Isn't it slow? Or do they just not care because the slowdown doesn't matter enough to make it not worth the ease of development?
SC-Shield
Profile Joined December 2018
Bulgaria909 Posts
Last Edited: 2018-12-04 22:17:30
December 04 2018 22:11 GMT
#19554
On December 05 2018 05:58 travis wrote:
Side question that maybe you or someone else knows -

Python seems to be the go-to when *starting* ML, but are the businesses that are more on the cutting edge actually developing ML code in python? Isn't it slow? Or do they just not care because the slowdown doesn't matter enough to make it not worth the ease of development?


I don't know about businesses, but Python has some libraries written in native C, hence they're optimised. However, C/C++ should always be faster to perform, but often longer to write. It depends what you're going to write, if it's a web client, then I doubt web requests will take less time than actual performance.
Manit0u
Profile Blog Joined August 2004
Poland17875 Posts
Last Edited: 2018-12-05 01:48:25
December 05 2018 01:38 GMT
#19555
If you're working with ML and/or Big Data usually the stuff you have to compute takes so long anyway that the ease of development trumps code performance (Python also has a lot of tools and optimizations for that, C++ doesn't).
Ease of writing and changing algorithms is far more important here. Also, if you really, really care about performance you can just use cython for speeds comparable to C/C++ or move to Scala for clustering, multi-threading and scalability.

I know that quite a few ML/BD projects use languages like Scala. At my company people hired for ML-related stuff usually must know Python and/or Scala (somehow other languages aren't so sought after for this field, at least where I work - my guess here would be it's because of Apache Spark).
Time is precious. Waste it wisely.
Neneu
Profile Joined September 2010
Norway492 Posts
Last Edited: 2018-12-05 09:53:43
December 05 2018 08:51 GMT
#19556
My work is mostly machine learning/nlp and some big data analysis. If you want to work with machine learning, either Python and R are good choices. Personally I use both and which one I choose for which project is mostly up to personal preference. E.g. I am currently doing some document training on named entity recognition, where I just love the library Spacy in python, so therefor I am writing it in python. However I am also writing a search script which has clustering added to it, and because I wanted to prototype a bit more I am writing it in R (a script in R usually takes fewer lines than in Python).

Although you can get by easily by just knowing Python, I would recommend learning R as well. A lot of people working in companies know python, but not so many know R. When it comes to statistics and machine learning R is a very powerful language, it is after all what it was created for and has a huge amount packages available and a strong scientific community. With Microsoft acquisition of R, it is also expected to be more and more easily incorporated into the .Net framework. This is the reason why I was offered the job where I work now, because I was one of the few who knows R in the area and the company (which originally was a pure web development company), is extending its strategy into fintech.

When it comes to Scala I just want to say it was one of the most fun languages I've taught myself. It takes some time to learn, but is well worth it if you are going to work with Spark. However when it comes to machine learning/big data it is mostly only used with Spark, which is very specific to the type of work you are doing. You can also use Spark with R and Python, it is not until you reach a certain point you need to look under the hood of Spark and learn Scala. It should be noted though that Scala is a skill highly sought after in Finance and (strangely) Australia. So keep that in mind, if you want to pursue that. Would still recommend learning Python or R well first though.

My number one recommendation would be to head over to Kaggle.com and join a competition or two. It is truly a fun experience and lets you learn a lot through said experience. It is also a great showcase for your skills as a data scientist. A few friends of mine who have created a multi million dollar company within AI in about 2 years, cares more about your Kaggle profile than your LinkedIn profile.
Acrofales
Profile Joined August 2010
Spain18502 Posts
December 05 2018 10:06 GMT
#19557
Fuck. Microsoft bought R? There goes the neighborhood. Brb. Preparing my Linux to require .NET framework and an Azure account to run R.

And yes to all the above. Speed of your code is generally negligible in comparison to the speed of the actual algorithms, which regardless of R or Python, are heavily optimized in C. Moreover, the actual data mining part is *research*. Once you move to production, none of your code moves along, only the model, or sometimes only the results from your model will be used.

It's also worth distinguishing between work/research in machine learning and data mining.

Machine Learning is the development of novel algorithms, sampling methods, or ensemble techniques. This work is usually done in Matlab or C and consists mostly of improving algorithms for use in larger/different data sets, getting better accuracy, being more robust to outliers/noise/etc.

Data mining is the use of these algorithms with novel data formats, and then main thrust is feature extraction and sampling, and analysis of the results. It is done mostly in R, python. Knowledge is needed of how ML algorithms work, but not how to improve them.

Sometimes they overlap: eg, you're working on a DM problem and realize none of the existing ML techniques work very well, so you dig in and find a new way of doing things. Or you're working on a new ML algorithm, and find that this allows you to better solve a problem in specific types of data, so you show how well it works with novel data.

But in industry, the hype right now is for data mining, not machine learning. They don't want you to invent new algorithms. They want you to apply tensorflow to their data and tell them how they can triple revenue at no cost. Regardless of that deep learning is not a suitable paradigm to apply on their Excel sheet (can anyone tell that I'm a bitter and jaded academic)
Silvanel
Profile Blog Joined March 2003
Poland4770 Posts
December 05 2018 10:37 GMT
#19558
On December 04 2018 18:26 Manit0u wrote:
https://dms.licdn.com/playback/C5600AQHlFfiT4JbEeA/d77c78bc034348d3b43524425fdaf454/feedshare-mp4_3300/1488578169071-zmy00q?e=1544004000&v=beta&t=13TPWdKrQIjvqQFDOUDzn2Z5r6ZVC-uAMFp2MoZAN6A

Mercedes-Benz so crazy


So i have written a post about Daimler being very good at making ads and less so about working for but it got eaten.
Anyway most important thing i wanted to say that its fun and funny to drive around in test cars, You can see stickers saying:
DO NOT PUSH THIS BUTTON!
Max 130 km/h!
Do not sit on left back seat!
Airbag not working!
Seatbelt not working for left backseat!
Also wiring everywhere and strange devices hidden in compartments.

Oh and since we have cars we work on available for employees for weekends and such - as some sort of benefit to employees its probably the same for Daimler. I know for a fact they have them in Sindelfingen. Dunno about Lisbon since it seems to be mostly backend.
Pathetic Greta hater.
Manit0u
Profile Blog Joined August 2004
Poland17875 Posts
December 05 2018 14:05 GMT
#19559
On December 05 2018 19:06 Acrofales wrote:
Fuck. Microsoft bought R? There goes the neighborhood. Brb. Preparing my Linux to require .NET framework and an Azure account to run R.

And yes to all the above. Speed of your code is generally negligible in comparison to the speed of the actual algorithms, which regardless of R or Python, are heavily optimized in C. Moreover, the actual data mining part is *research*. Once you move to production, none of your code moves along, only the model, or sometimes only the results from your model will be used.

It's also worth distinguishing between work/research in machine learning and data mining.

Machine Learning is the development of novel algorithms, sampling methods, or ensemble techniques. This work is usually done in Matlab or C and consists mostly of improving algorithms for use in larger/different data sets, getting better accuracy, being more robust to outliers/noise/etc.

Data mining is the use of these algorithms with novel data formats, and then main thrust is feature extraction and sampling, and analysis of the results. It is done mostly in R, python. Knowledge is needed of how ML algorithms work, but not how to improve them.

Sometimes they overlap: eg, you're working on a DM problem and realize none of the existing ML techniques work very well, so you dig in and find a new way of doing things. Or you're working on a new ML algorithm, and find that this allows you to better solve a problem in specific types of data, so you show how well it works with novel data.

But in industry, the hype right now is for data mining, not machine learning. They don't want you to invent new algorithms. They want you to apply tensorflow to their data and tell them how they can triple revenue at no cost. Regardless of that deep learning is not a suitable paradigm to apply on their Excel sheet (can anyone tell that I'm a bitter and jaded academic)


It is also worth noting that to pursue career in data mining you should also be pretty proficient with SQL and other query languages to fetch and aggregate data from various databases and create datasets for your algos.
Time is precious. Waste it wisely.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
December 05 2018 15:35 GMT
#19560
a dream of mine is to avoid ever having to work with databases
but perhaps that dream should die
Prev 1 976 977 978 979 980 1032 Next
Please log in or register to reply.
Live Events Refresh
PiGosaur Cup
10:00
#108
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 257
SortOf 48
ProTech6
StarCraft: Brood War
ToSsGirL 68
Bale 35
ZergMaN 25
Noble 23
Icarus 9
sOs 8
Force[name] 7
League of Legends
JimRising 731
Heroes of the Storm
Trikslyr71
Other Games
summit1g12224
WinterStarcraft509
C9.Mang0392
ViBE82
trigger7
Organizations
Other Games
gamesdonequick943
[ Show 11 non-featured ]
StarCraft 2
• CranKy Ducklings SOOP22
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• Migwel
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• lizZardDota297
League of Legends
• Rush1182
Upcoming Events
The PondCast
4h 33m
University League
4h 33m
LiuLi Cup
5h 33m
Rogue vs TBD
Maru vs TBD
OSC
10h 33m
Replay Cast
17h 33m
GSL
1d 6h
Maru vs Dark
Patches Events
1d 8h
OSC
1d 10h
Replay Cast
1d 17h
KCM Race Survival
2 days
[ Show More ]
Ultimate Battle
2 days
ZerO vs Bisu
RSL Revival
3 days
BSL
3 days
eOnzErG vs StRyKeR
Cross vs JDConan
RSL Revival
4 days
IPSL
4 days
Ret vs ggnore13
nOmaD vs Aether
BSL
4 days
Bonyth vs Doodle
Kyrie vs Jimin
Replay Cast
4 days
WardiTV Weekly
5 days
Kung Fu Cup
6 days
Solar vs Classic
ByuN vs SHIN
PiGosaur Cup
6 days
Liquipedia Results

Completed

Proleague 2026-11-16
Blizzard Classic Cup 2026
HCC Season 3

Ongoing

Acropolis #5
KCM Race Survival 2026 Season 4
International ShieldBattery League
BSL Season 23
IPSL Winter 2026-27
Calamity Cup Div. A Season 8
Underdog Cup 2026 Div 2-3
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
PGL Masters Bucharest 2026
Stake Ranked Episode 5
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #3
BLAST Open Fall 2026

Upcoming

Sector 591
YSL S4
SC4ALL II: Brood War
NBSL 2026 Xiamen LAN
BSL 23: Non-Korean Championship
HSC XXX
Stellar Fest 2: Lunar Cup
StarCraft2 Weekly Open Tournament 2026 Grand Finals
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
IEM Kraków 2027
PGL Bucharest 2027
BLAST Bounty Winter 2027
PGL Major Singapore 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.