• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 20:42
CEST 02:42
KST 09:42
  • 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 Preview5[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
Sparkling Tuna Cup - Weekly Open Tournament Sea Duckling Open (Global, Bronze-Diamond) Maestros of The Game 2 announcement and schedule ! GSL Code S Season 1 (2026) RSL Revival: Season 5 - Qualifiers and Main Event
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
Quality of life changes in BW that you will like ? Why there arent any 256x256 pro maps? BGH Auto Balance -> http://bghmmr.eu/ RepMastered™: replay sharing and analyzer site Tulbo's ASL S21 Ro8 Post-Review
Tourneys
[ASL21] Ro8 Day 4 [ASL21] Ro8 Day 3 Escore Tournament StarCraft Season 2 [Megathread] Daily Proleagues
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 Nintendo Switch Thread Daigo vs Menard Best of 10 Path of Exile OutLive 25 (RTS Game)
Dota 2
The Story of Wings Gaming
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 TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread The Letting Off Steam Thread European Politico-economics QA Mega-thread UK Politics Mega-thread Canadian Politics Mega-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: 1646 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
Spain18290 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
Poland17743 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
Poland17743 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
Poland17743 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
Bulgaria843 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
Poland17743 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
Spain18290 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
Poland4753 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
Poland17743 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
Replay Cast
00:00
2026 GSL S1: Ro8 Group B
CranKy Ducklings85
EnkiAlexander 55
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
NeuroSwarm 118
Ketroc 70
StarCraft: Brood War
Calm 3826
Backho 105
NaDa 25
League of Legends
Doublelift3963
JimRising 622
Other Games
tarik_tv11703
summit1g8001
FrodaN2746
monkeys_forever543
DenverSC242
Organizations
Other Games
gamesdonequick3210
BasetradeTV313
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 15 non-featured ]
StarCraft 2
• Hupsaiya 106
• davetesta45
• musti20045 35
• Airneanach12
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• masondota21320
Upcoming Events
Sparkling Tuna Cup
9h 18m
RSL Revival
9h 18m
Cure vs Zoun
Clem vs Lambo
WardiTV Invitational
11h 18m
ByuN vs Rogue
Solar vs Ryung
Zoun vs Percival
Cure vs SHIN
BSL
18h 18m
Dewalt vs DragOn
Aether vs Jimin
GSL
1d 7h
Afreeca Starleague
1d 9h
Soma vs Leta
Wardi Open
1d 11h
Monday Night Weeklies
1d 15h
OSC
1d 23h
CranKy Ducklings
2 days
[ Show More ]
Afreeca Starleague
2 days
Light vs Flash
Replay Cast
3 days
Replay Cast
3 days
The PondCast
4 days
Replay Cast
4 days
RSL Revival
5 days
Korean StarCraft League
6 days
RSL Revival
6 days
BSL
6 days
Liquipedia Results

Completed

Escore Tournament S2: W6
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
KK 2v2 League Season 1
BSL 22 Non-Korean Championship
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
PGL Astana 2026
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

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
Asian Champions League 2026
IEM Atlanta 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.