• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 18:06
CET 00:06
KST 08:06
  • 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
RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge2[TLMC] Fall/Winter 2025 Ladder Map Rotation14Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA15
StarCraft 2
General
Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge SC: Evo Complete - Ranked Ladder OPEN ALPHA RSL Season 3: RO16 results & RO8 bracket RSL Season 3 - Playoffs Preview Mech is the composition that needs teleportation t
Tourneys
RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship StarCraft Evolution League (SC Evo Biweekly) Constellation Cup - Main Event - Stellar Fest 2025 RSL Offline Finals Dates + Ticket Sales!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 501 Price of Progress Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death
Brood War
General
2v2 maps which are SC2 style with teams together? Data analysis on 70 million replays BGH Auto Balance -> http://bghmmr.eu/ soO on: FanTaSy's Potential Return to StarCraft A cwal.gg Extension - Easily keep track of anyone
Tourneys
[BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET [BSL21] RO16 Tie Breaker - Group A - Sat 21:00 CET [Megathread] Daily Proleagues Small VOD Thread 2.0
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Path of Exile Nintendo Switch Thread Should offensive tower rushing be viable in RTS games? Clair Obscur - Expedition 33 Stormgate/Frost Giant Megathread
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
Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread The Games Industry And ATVI Things Aren’t Peaceful in Palestine About SC2SEA.COM
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion
Sports
Formula 1 Discussion 2024 - 2026 Football Thread NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
The Health Impact of Joining…
TrAiDoS
Dyadica Evangelium — Chapt…
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1491 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
Spain18132 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
Poland17450 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
Poland17450 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
Poland17450 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
Bulgaria832 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
Poland17450 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
Spain18132 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
Poland4733 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
Poland17450 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
OSC
23:00
OSC Elite Rising Star #17
CranKy Ducklings12
Liquipedia
BSL 21
20:00
RO16 TieBreaker - Group B
StRyKeR vs Artosis
OyAji vs KameZerg
ZZZero.O452
LiquipediaDiscussion
IPSL
20:00
Ro16 Group C
StRyKeR vs OldBoy
Sziky vs Tarson
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
White-Ra 271
StarCraft: Brood War
Calm 2735
ZZZero.O 452
Artosis 38
Dota 2
LuMiX1
Heroes of the Storm
Khaldor258
Other Games
Grubby6204
FrodaN2210
Mlord510
B2W.Neo341
Pyrionflax210
Maynarde88
Organizations
Other Games
EGCTV1791
gamesdonequick1003
BasetradeTV38
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 19 non-featured ]
StarCraft 2
• Hupsaiya 92
• davetesta75
• musti20045 26
• HeavenSC 22
• Kozan
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• Airneanach30
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21162
• Ler109
League of Legends
• Doublelift3325
Other Games
• imaqtpie1597
Upcoming Events
OSC
9h 54m
Wardi Open
12h 54m
Monday Night Weeklies
17h 54m
OSC
23h 54m
Wardi Open
1d 12h
Replay Cast
2 days
Wardi Open
2 days
Tenacious Turtle Tussle
3 days
The PondCast
3 days
Replay Cast
3 days
[ Show More ]
LAN Event
4 days
Replay Cast
4 days
Replay Cast
5 days
Sparkling Tuna Cup
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-11-21
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
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 © 2025 TLnet. All Rights Reserved.