• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 23:42
CET 05:42
KST 13: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
Rongyi Cup S3 - RO16 Preview3herO wins SC2 All-Star Invitational10SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0
Community News
Weekly Cups (Jan 12-18): herO, MaxPax, Solar win0BSL Season 2025 - Full Overview and Conclusion8Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets4$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)20Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7
StarCraft 2
General
Oliveira Would Have Returned If EWC Continued StarCraft 2 not at the Esports World Cup 2026 [Short Story] The Last GSL Stellar Fest "01" Jersey Charity Auction PhD study /w SC2 - help with a survey!
Tourneys
$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship $70 Prize Pool Ladder Legends Academy Weekly Open! SC2 All-Star Invitational: Jan 17-18 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Simple Questions Simple Answers
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 509 Doomsday Report Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone
Brood War
General
[ASL21] Potential Map Candidates Fantasy's Q&A video BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion Gypsy to Korea
Tourneys
[Megathread] Daily Proleagues Azhi's Colosseum - Season 2 Small VOD Thread 2.0 [BSL21] Non-Korean Championship - Starts Jan 10
Strategy
Simple Questions, Simple Answers Current Meta Soma's 9 hatch build from ASL Game 2 Game Theory for Starcraft
Other Games
General Games
Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Stormgate/Frost Giant Megathread Beyond All Reason Awesome Games Done Quick 2026!
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Canadian Politics Mega-thread NASA and the Private Sector Things Aren’t Peaceful in Palestine
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
Anime Discussion Thread [Manga] One Piece
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
How Esports Advertising Shap…
TrAiDoS
My 2025 Magic: The Gathering…
DARKING
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1173 users

The Big Programming Thread - Page 997

Forum Index > General Forum
Post a Reply
Prev 1 995 996 997 998 999 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.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2019-02-15 18:19:13
February 15 2019 18:13 GMT
#19921
well remember guys, a CS degree program is based around theory, it's not necessarily preparing you to be primarily a software engineer. (so, what solidbebe said i guess)

I think it maybe has been overemphasized a little but it is also true that a solid understanding of asymptotic complexity and growth is very important if your doing work with huge volumes of information.
Blitzkrieg0
Profile Blog Joined August 2010
United States13132 Posts
Last Edited: 2019-02-15 18:55:30
February 15 2019 18:51 GMT
#19922
On February 16 2019 03:13 travis wrote:
well remember guys, a CS degree program is based around theory, it's not necessarily preparing you to be primarily a software engineer. (so, what solidbebe said i guess)


But why would that be the case when the majority of the people who get them end up going to work as a software engineer? I feel like most entry level programming jobs are looking for a bachelor's degree as well. I know ours has it listed there.

On February 16 2019 03:13 travis wrote:
I think it maybe has been overemphasized a little but it is also true that a solid understanding of asymptotic complexity and growth is very important if your doing work with huge volumes of information.


I'd say the wrong concepts were emphasized. Performance is more about benchmarking than looking at code and saying this is BigO(n). You obviously need both, but I don't think we did any benchmarking when I was in school and especially using tools to really analyze what methods you are spending the most time in.
I'll always be your shadow and veil your eyes from states of ain soph aur.
Deleted User 3420
Profile Blog Joined May 2003
24492 Posts
Last Edited: 2019-02-15 19:07:58
February 15 2019 19:07 GMT
#19923
On February 16 2019 03:51 Blitzkrieg0 wrote:
Show nested quote +
On February 16 2019 03:13 travis wrote:
well remember guys, a CS degree program is based around theory, it's not necessarily preparing you to be primarily a software engineer. (so, what solidbebe said i guess)


But why would that be the case when the majority of the people who get them end up going to work as a software engineer? I feel like most entry level programming jobs are looking for a bachelor's degree as well. I know ours has it listed there.



So that if you do want to enter a field where it's expected knowledge, then you have it. That said, I don't think you are completely wrong. But I also don't think that big O is THAT over-emphasized. We study a lot of crap.... a lot of it is unlikely to be useful.


Show nested quote +
On February 16 2019 03:13 travis wrote:
I think it maybe has been overemphasized a little but it is also true that a solid understanding of asymptotic complexity and growth is very important if your doing work with huge volumes of information.


I'd say the wrong concepts were emphasized. Performance is more about benchmarking than looking at code and saying this is BigO(n). You obviously need both, but I don't think we did any benchmarking when I was in school and especially using tools to really analyze what methods you are spending the most time in.


Well, you just said that you may need both! One is particularly useful before you've even started writing the code.

As for benchmarking, isn't it kind of language dependent (like, reliant on libraries and testing suites)? It is something interesting that you bring up though, benchmarking is something that should be added to curriculum in some form...
LightTemplar
Profile Blog Joined August 2011
Ireland481 Posts
February 15 2019 19:36 GMT
#19924
I think pretty much everybody is getting at the same point here. If a solution solves the problem the theoretical complexity is mostly irrelevant. Your valid complexity range is going to be entirely based on your problem set and your problem set should have time constraints as part of its definition.

Whether or not a university course over emphasizes complexity kind of depends on the course. Programming 101 should probably brush on bigO to get the point across that doing something n^2 times isn't a great idea if you can reasonably do it in n. If only because humans are bad at thinking in scale.

However your algorithms course should probably start considering the issue in finer detail because the point there is to start considering the application of different structures for different tasks. This should really be a different audience to the 101 though.

WRT Project Euler, I found it overly reliant on figuring out the mathmatical problem it was trying to represent. Which while I see value in, I feel isn't quite a typical programming problem set. Good for learning maths concepts and developping algorithms to mirror them though.
"Thoughts are always there, the mind can't stop" - Grubby
solidbebe
Profile Blog Joined November 2010
Netherlands4921 Posts
Last Edited: 2019-02-15 20:04:12
February 15 2019 20:02 GMT
#19925
On February 16 2019 03:51 Blitzkrieg0 wrote:
Show nested quote +
On February 16 2019 03:13 travis wrote:
well remember guys, a CS degree program is based around theory, it's not necessarily preparing you to be primarily a software engineer. (so, what solidbebe said i guess)


But why would that be the case when the majority of the people who get them end up going to work as a software engineer? I feel like most entry level programming jobs are looking for a bachelor's degree as well. I know ours has it listed there.

I guess that's an issue with your education system. In the Netherlands after high school we have 3 different levels of tertiary education: universities (which offer bachelors, masters and Phds), universities of applied sciences (actually called 'high schools' but they are tertiary education. They offer programmes concerned with mostly practical knowledge and little academic theory), and regional education centers (These offer vocational training programmes). The corresponding degree levels are: MBO (vocational training), HBO (a higher level degree but mostly focused on practical knowledge for a job), WO (scientific education, i.e. education to become a scientist).

So if you want a degree that prepares you for a job, you can easily get something at MBO or HBO level. Universities should not primarily concern themselves with training people for the job market. Their purpose is to do research and to train people on how to do research.

If you want to know more: en.m.wikipedia.org/wiki/Education_in_the_Netherlands
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
SC-Shield
Profile Joined December 2018
Bulgaria836 Posts
Last Edited: 2019-02-16 08:37:15
February 16 2019 08:33 GMT
#19926
On February 16 2019 04:07 travis wrote:
Show nested quote +
On February 16 2019 03:51 Blitzkrieg0 wrote:
On February 16 2019 03:13 travis wrote:
well remember guys, a CS degree program is based around theory, it's not necessarily preparing you to be primarily a software engineer. (so, what solidbebe said i guess)


But why would that be the case when the majority of the people who get them end up going to work as a software engineer? I feel like most entry level programming jobs are looking for a bachelor's degree as well. I know ours has it listed there.



So that if you do want to enter a field where it's expected knowledge, then you have it. That said, I don't think you are completely wrong. But I also don't think that big O is THAT over-emphasized. We study a lot of crap.... a lot of it is unlikely to be useful.

Show nested quote +

On February 16 2019 03:13 travis wrote:
I think it maybe has been overemphasized a little but it is also true that a solid understanding of asymptotic complexity and growth is very important if your doing work with huge volumes of information.


I'd say the wrong concepts were emphasized. Performance is more about benchmarking than looking at code and saying this is BigO(n). You obviously need both, but I don't think we did any benchmarking when I was in school and especially using tools to really analyze what methods you are spending the most time in.


Well, you just said that you may need both! One is particularly useful before you've even started writing the code.

As for benchmarking, isn't it kind of language dependent (like, reliant on libraries and testing suites)? It is something interesting that you bring up though, benchmarking is something that should be added to curriculum in some form...


Big O notation isn't overemphasised, but it's not taught properly enough or I wasn't taught properly at university about it. For example, when lecturers explain Big O notation, they should also take into account processor's optimisation. If you work with a vector (ArrayList in Java and List in C#), it often outperforms linked list when linked list is supposed to be the winner and this could happen due to processor's cache as far as I'm aware. It's just because elements are stored in sequence rather than all over the place in memory like linked list. It just depends on how many elements you have, but I think up to one million or something like that is fine to use a vector even when a linked list is theoretically better.
tofucake
Profile Blog Joined October 2009
Hyrule19189 Posts
Last Edited: 2019-02-16 16:45:53
February 16 2019 16:45 GMT
#19927
That's not what BigO is for. It's strictly for determining the speed of an algorithm implementation without regard to whether it's done with a slide rule and a pencil or on a super computer.
Liquipediaasante sana squash banana
SC-Shield
Profile Joined December 2018
Bulgaria836 Posts
February 16 2019 17:14 GMT
#19928
On February 17 2019 01:45 tofucake wrote:
That's not what BigO is for. It's strictly for determining the speed of an algorithm implementation without regard to whether it's done with a slide rule and a pencil or on a super computer.


So you emphasise on algorithm's speed. My point was that algorithm's speed isn't always the most reliable indicator when you take CPU's optimisations into account. That should be noted in lectures so people aren't misled that Big O is the only way to say if something is faster.
Frolossus
Profile Joined February 2010
United States4779 Posts
February 16 2019 18:14 GMT
#19929
On February 17 2019 02:14 SC-Shield wrote:
Show nested quote +
On February 17 2019 01:45 tofucake wrote:
That's not what BigO is for. It's strictly for determining the speed of an algorithm implementation without regard to whether it's done with a slide rule and a pencil or on a super computer.


So you emphasise on algorithm's speed. My point was that algorithm's speed isn't always the most reliable indicator when you take CPU's optimisations into account. That should be noted in lectures so people aren't misled that Big O is the only way to say if something is faster.

it is not taught wrong. the entire point is to compare relative speeds of algorithms to each other regardless of underlying hardware. the idea is that when operating on large enough data sets hardware becomes less impactful than the algorithm.

O(n) is always faster than O(n^2)
Simberto
Profile Blog Joined July 2010
Germany11723 Posts
February 16 2019 20:05 GMT
#19930
On February 17 2019 03:14 Frolossus wrote:
O(n) is always faster than O(n^2)


For very large n. That is an important distinction.

The difference in view here is whether you see it from a pure mathematical point of view, or from a practical implementation point of view.
tofucake
Profile Blog Joined October 2009
Hyrule19189 Posts
February 16 2019 20:47 GMT
#19931
Big O is not for practical application, it's for development and selection of algorithms. Once the math is done and an algorithm selected, implementation is done which is where hardware comes in. Big O is entirely a theoretical tool and that is why it ignores hardware.
Liquipediaasante sana squash banana
solidbebe
Profile Blog Joined November 2010
Netherlands4921 Posts
Last Edited: 2019-02-16 23:32:14
February 16 2019 23:31 GMT
#19932
On February 17 2019 03:14 Frolossus wrote:
O(n) is always faster than O(n^2)

Not necessarily

Lets say algorithm A is O(n).
Lets say alg B is O(n^2).

The actual definition is, in plain words:


There is a value x for which all values higher than x it holds that B has a longer runtime than A.

However its perfectly possible that there is a range of inputs for which A takes longer. If algorithm A's runtime approximation is 200000n, and that of alg B is 2n^2, then that alg A will be slower than B for a big range of small numbers.
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
Acrofales
Profile Joined August 2010
Spain18198 Posts
February 17 2019 00:36 GMT
#19933
On February 17 2019 05:47 tofucake wrote:
Big O is not for practical application, it's for development and selection of algorithms. Once the math is done and an algorithm selected, implementation is done which is where hardware comes in. Big O is entirely a theoretical tool and that is why it ignores hardware.

I know the conversation has moved on, I just want to point out that the original question specifically mentioned the practicality of applying algorithms with different big O complexity. I don't think theoretical complexity analysis is useless, just that the original question was exceptionally badly phrased.
Manit0u
Profile Blog Joined August 2004
Poland17615 Posts
Last Edited: 2019-02-18 17:00:21
February 18 2019 11:26 GMT
#19934
https://www.theregister.co.uk/2019/02/12/current_gps_epoch_ends/

I guess some businesses are really panicking now...

@Silvanel: is the Benz GPS ready for this?
Time is precious. Waste it wisely.
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
February 18 2019 16:45 GMT
#19935
That's... I can't really find an excuse for that. I can see how people thought that "we will never need more IP addresses than that", but not "humanity will be extinct by 2019".
If you have a good reason to disagree with the above, please tell me. Thank you.
waffelz
Profile Blog Joined June 2012
Germany711 Posts
Last Edited: 2019-02-18 21:23:25
February 18 2019 21:23 GMT
#19936
On February 19 2019 01:45 spinesheath wrote:
That's... I can't really find an excuse for that. I can see how people thought that "we will never need more IP addresses than that", but not "humanity will be extinct by 2019".


Probably "this surely will get replaced by something and they will take care of larger dates before this matters"

#someoneElseWillFixIt
RIP "The big travis CS degree thread", taken from us too soon | Honourable forum princess, defended by Rebs-approved white knights
Lmui
Profile Joined November 2010
Canada6221 Posts
February 19 2019 01:02 GMT
#19937
On February 19 2019 06:23 waffelz wrote:
Show nested quote +
On February 19 2019 01:45 spinesheath wrote:
That's... I can't really find an excuse for that. I can see how people thought that "we will never need more IP addresses than that", but not "humanity will be extinct by 2019".


Probably "this surely will get replaced by something and they will take care of larger dates before this matters"

#someoneElseWillFixIt


Well GPS apparently started in 1978, and my assumption is back then, bits are at a premium. The Intel 8086 just released at that time and had 16 bits though, so I don't know what other justification there really is.

To be fair, the only device older than 5 years that I use regularly and has a GPS is my car. I'd hope everything newer is updated enough that it doesn't run into the problem.
SC-Shield
Profile Joined December 2018
Bulgaria836 Posts
February 19 2019 06:20 GMT
#19938
Has anyone dealt with minidumps for C++ applications on Windows? Call stack isn't complete so I don't know if I need to check how to produce a full dump or if something else needs to be done. I only see external functions from Windows API but not my functions.
Silvanel
Profile Blog Joined March 2003
Poland4742 Posts
Last Edited: 2019-02-19 08:32:54
February 19 2019 07:52 GMT
#19939
On February 18 2019 20:26 Manit0u wrote:
https://www.theregister.co.uk/2019/02/12/current_gps_epoch_ends/

I guess some businesses are really panicking now...

@Silvanel: is the Benz GPS ready for this?


Its a third party SW (not ours or Daimler's). I guess we will need to update it if it doesn't has a fix in it already. I work for SWDL team so we do that all the time anyway. The real question is whats with cars that are already in clients hands, did the supplier thought about this in advance or not? That can be a problem for pre NTG6 car generations since NTG6+ support remote update.
Pathetic Greta hater.
Manit0u
Profile Blog Joined August 2004
Poland17615 Posts
February 19 2019 16:29 GMT
#19940
https://www.quora.com/Is-Java-the-king-of-programming-languages/answer/Steve-Baker-100
Time is precious. Waste it wisely.
Prev 1 995 996 997 998 999 1032 Next
Please log in or register to reply.
Live Events Refresh
Replay Cast
00:00
Rongyi Cup S3 - Group A
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
NeuroSwarm 394
RuFF_SC2 88
PiLiPiLi 42
FoxeR 24
StarCraft: Brood War
Sea 6068
Rain 2412
Shuttle 69
Bale 39
Noble 36
Icarus 9
Dota 2
monkeys_forever501
febbydoto44
League of Legends
JimRising 777
C9.Mang0447
Super Smash Bros
hungrybox395
Other Games
summit1g6120
WinterStarcraft215
ViBE172
Hui .126
ToD81
ZombieGrub59
minikerr20
Organizations
Other Games
gamesdonequick1654
StarCraft: Brood War
UltimateBattle 63
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 14 non-featured ]
StarCraft 2
• HeavenSC 26
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Laughngamez YouTube
• Migwel
• sooper7s
StarCraft: Brood War
• sM.Zik 5
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Scarra1452
Upcoming Events
RongYI Cup
6h 18m
SHIN vs Creator
Classic vs Percival
OSC
8h 18m
BSL 21
10h 18m
QiaoGege vs Sziky
Dewalt vs Bonyth
Mihu vs TBD
RongYI Cup
1d 6h
Maru vs Cyan
Solar vs Krystianer
uThermal 2v2 Circuit
1d 7h
BSL 21
1d 10h
Wardi Open
2 days
Monday Night Weeklies
2 days
OSC
2 days
WardiTV Invitational
3 days
[ Show More ]
WardiTV Invitational
4 days
The PondCast
5 days
Korean StarCraft League
6 days
Liquipedia Results

Completed

Escore Tournament S1: W5
OSC Championship Season 13
NA Kuram Kup

Ongoing

C-Race Season 1
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
Rongyi Cup S3
Underdog Cup #3
Tektek Cup #1
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025

Upcoming

Acropolis #4 - TS4
Escore Tournament S1: W6
Escore Tournament S1: W7
Acropolis #4
IPSL Spring 2026
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Nations Cup 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 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.