• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 14:37
CET 20:37
KST 04:37
  • 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
HomeStory Cup 28 - Info & Preview9Rongyi Cup S3 - Preview & Info3herO wins SC2 All-Star Invitational14SC2 All-Star Invitational: Tournament Preview5RSL Revival - 2025 Season Finals Preview8
Community News
Weekly Cups (Jan 19-25): Bunny, Trigger, MaxPax win3Weekly 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)38
StarCraft 2
General
StarCraft 2 Not at the Esports World Cup 2026 HomeStory Cup 28 - Info & Preview Weekly Cups (Jan 19-25): Bunny, Trigger, MaxPax win Oliveira Would Have Returned If EWC Continued herO wins SC2 All-Star Invitational
Tourneys
HomeStory Cup 28 KSL Week 85 $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) OSC Season 13 World Championship $70 Prize Pool Ladder Legends Academy Weekly Open!
Strategy
Simple Questions Simple Answers
Custom Maps
[A] Starcraft Sound Mod
External Content
Mutation # 510 Safety Violation Mutation # 509 Doomsday Report Mutation # 508 Violent Night Mutation # 507 Well Trained
Brood War
General
Bleak Future After Failed ProGaming Career [ASL21] Potential Map Candidates BW General Discussion Potential ASL qualifier breakthroughs? BGH Auto Balance -> http://bghmmr.eu/
Tourneys
[Megathread] Daily Proleagues Small VOD Thread 2.0 Azhi's Colosseum - Season 2 [BSL21] Non-Korean Championship - Starts Jan 10
Strategy
Zealot bombing is no longer popular? Simple Questions, Simple Answers Current Meta Soma's 9 hatch build from ASL Game 2
Other Games
General Games
Nintendo Switch Thread Battle Aces/David Kim RTS Megathread Path of Exile Mobile Legends: Bang Bang Beyond All Reason
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Hager werken embalming powder+27 81 711 1572
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 Vanilla Mini Mafia
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread European Politico-economics QA Mega-thread Things Aren’t Peaceful in Palestine YouTube Thread
Fan Clubs
The herO Fan Club! The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread
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: 1441 users

The Big Programming Thread - Page 639

Forum Index > General Forum
Post a Reply
Prev 1 637 638 639 640 641 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.
sabas123
Profile Blog Joined December 2010
Netherlands3122 Posts
June 07 2015 12:48 GMT
#12761
For me its not so much that I need to be intrested in the thing I am writing, aslong as it provides enough challage for me to engage in the procces of writing quality code.
The harder it becomes, the more you should focus on the basics.
sabas123
Profile Blog Joined December 2010
Netherlands3122 Posts
Last Edited: 2015-06-07 15:44:10
June 07 2015 13:47 GMT
#12762
can somebody help me with this sql problem?

lets say you have two tables: customers and orders.

I have to select data where there the same customer has multiple orders, so I was thinking about something like this

SELECT *
FROM customers orders
WHERE COUNT(customer.id= order.customerid) > 1


edit nvm
The harder it becomes, the more you should focus on the basics.
Manit0u
Profile Blog Joined August 2004
Poland17644 Posts
Last Edited: 2015-06-08 21:22:15
June 08 2015 13:10 GMT
#12763
On June 07 2015 04:04 killa_robot wrote:
Show nested quote +
On June 05 2015 21:46 Manit0u wrote:
On June 04 2015 23:21 killa_robot wrote:
On June 04 2015 22:05 Manit0u wrote:
Well, if it'll cheer you up, here's a bit of a rough breakdown on employee education at the company I work at:

16 developers
6 have CS/IT education of varying levels
2 have degree in humanities (myself included, studied philosophy, history and settled on bachelor's degree in sociology after which I've lost my will to attend university any more since it was a waste of time)

The rest have no higher education (finished either highschool or its technical equivalent).


That's not so bad really. No higher education doesn't mean they have no experience in programming. Lots of people do it in their spare time after all.

Unless you mean to tell me most of these were people without experience in programming as well.


The official company policy is that your education doesn't matter at all as long as you're good at programming (which tends to work well since we're turning down plenty of applicants with CS degrees who simply can't do the simplest stuff) so I guess they've had some experience. The company also hires people who aren't necessarily good or experienced but who show promise (it's surprising how many people can't even use google to look for solutions, my personal favorite was the girl who wanted a front-end dev posting, didn't know how to do simple things in jQuery and when told she could use the web to figure it out she started browsing minified jQuery library to try and find the answers there...). We give them 3-month internship to see if they can pick things up, if they do they get the job, if they don't they don't.

At the company I worked at previously the dev team lead didn't even finish highschool but was working as a programmer since he was 16.


I get the feeling the girl showed something other than promise if she was hired with such poor skills.


The girl wasn't hired.

On June 07 2015 22:47 sabas123 wrote:
can somebody help me with this sql problem?

lets say you have two tables: customers and orders.

I have to select data where there the same customer has multiple orders, so I was thinking about something like this

SELECT *
FROM customers orders
WHERE COUNT(customer.id= order.customerid) > 1


edit nvm



SELECT *
FROM customers
JOIN orders
ON customers.id = orders.customer_id
GROUP BY customers.id
HAVING COUNT(orders.id) > 1
Time is precious. Waste it wisely.
Itsmedudeman
Profile Blog Joined March 2011
United States19229 Posts
Last Edited: 2015-06-10 06:58:32
June 10 2015 06:57 GMT
#12764
So guys, I'm in need of advice. I graduate pretty soon as an ECE major (basically electrical engineering) but I think I want to be programming in my career instead. Unfortunately I'm not in a a position to take an extra year of school to graduate with a CS degree, but I have taken quite a bit of CS related stuff including operating systems, data structures, and mobile application development courses. Right now I'm just working on some side projects of mine over the summer and building some web applications and possibly some native applications for android/iphone, but I'm worried about getting a job once I graduate since I'll be behind other people who graduated with CS degrees. I didn't take an algorithms course, or other database courses. What do you guys suggest would be helpful for getting a job in my current position?

TLDR: Not graduating with a CS degree, have some skills, working on apps, what to do from here for a career in programming?
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
June 10 2015 07:18 GMT
#12765
On June 10 2015 15:57 Itsmedudeman wrote:
So guys, I'm in need of advice. I graduate pretty soon as an ECE major (basically electrical engineering) but I think I want to be programming in my career instead. Unfortunately I'm not in a a position to take an extra year of school to graduate with a CS degree, but I have taken quite a bit of CS related stuff including operating systems, data structures, and mobile application development courses. Right now I'm just working on some side projects of mine over the summer and building some web applications and possibly some native applications for android/iphone, but I'm worried about getting a job once I graduate since I'll be behind other people who graduated with CS degrees. I didn't take an algorithms course, or other database courses. What do you guys suggest would be helpful for getting a job in my current position?

TLDR: Not graduating with a CS degree, have some skills, working on apps, what to do from here for a career in programming?

One of the following two:

- Start with embedded stuff, move onto CS type of shit.
- Go to coursera/udacity type of a site and pick up whatever you need to do from there.
"windows bash is a steaming heap of shit" tofucake
Manit0u
Profile Blog Joined August 2004
Poland17644 Posts
June 10 2015 12:37 GMT
#12766
Or just ignore this all? You don't need a CS degree to work in programming as has been discussed at length in this thread. As a matter of fact, CS degree usually won't even put you that much above other applicants (if at all).
Time is precious. Waste it wisely.
Itsmedudeman
Profile Blog Joined March 2011
United States19229 Posts
Last Edited: 2015-06-10 12:50:14
June 10 2015 12:48 GMT
#12767
On June 10 2015 21:37 Manit0u wrote:
Or just ignore this all? You don't need a CS degree to work in programming as has been discussed at length in this thread. As a matter of fact, CS degree usually won't even put you that much above other applicants (if at all).

I wasn't talking about the degree at all? I was talking about the skillsets that I'm missing from not taking some core classes. Yeah, I program in my offtime, but I can't say I know as much as I should at this point, especially on the theory side.
Vorenius
Profile Blog Joined December 2010
Denmark1979 Posts
June 10 2015 15:17 GMT
#12768
On June 10 2015 21:48 Itsmedudeman wrote:
Show nested quote +
On June 10 2015 21:37 Manit0u wrote:
Or just ignore this all? You don't need a CS degree to work in programming as has been discussed at length in this thread. As a matter of fact, CS degree usually won't even put you that much above other applicants (if at all).

I wasn't talking about the degree at all? I was talking about the skillsets that I'm missing from not taking some core classes. Yeah, I program in my offtime, but I can't say I know as much as I should at this point, especially on the theory side.

Like 3 pages ago there was a physicist with very little programming experience who got hired for a programming job. I'd say based on what you wrote you are already ahead of him experience wise.

You could probably just start applying for programming jobs right away. It might take a few more applications before you land a job, but it should definitely be doable
Manit0u
Profile Blog Joined August 2004
Poland17644 Posts
June 10 2015 15:23 GMT
#12769
On June 11 2015 00:17 Vorenius wrote:
Show nested quote +
On June 10 2015 21:48 Itsmedudeman wrote:
On June 10 2015 21:37 Manit0u wrote:
Or just ignore this all? You don't need a CS degree to work in programming as has been discussed at length in this thread. As a matter of fact, CS degree usually won't even put you that much above other applicants (if at all).

I wasn't talking about the degree at all? I was talking about the skillsets that I'm missing from not taking some core classes. Yeah, I program in my offtime, but I can't say I know as much as I should at this point, especially on the theory side.

Like 3 pages ago there was a physicist with very little programming experience who got hired for a programming job. I'd say based on what you wrote you are already ahead of him experience wise.

You could probably just start applying for programming jobs right away. It might take a few more applications before you land a job, but it should definitely be doable


Pretty much this. It's not like they're going to teach you anything useful for the job anyway (it was also discussed previously that in real world you actually use maybe 1-5% of what you learn in CS).
Time is precious. Waste it wisely.
Nesserev
Profile Blog Joined January 2011
Belgium2760 Posts
Last Edited: 2015-06-10 17:48:55
June 10 2015 17:27 GMT
#12770
--- Nuked ---
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2015-06-10 18:33:44
June 10 2015 18:33 GMT
#12771
I've asked today someone about their salary, and we should all be thankful for doing programming/IT. Well paid job indeed.
RoyGBiv_13
Profile Blog Joined August 2010
United States1275 Posts
Last Edited: 2015-06-10 18:40:06
June 10 2015 18:38 GMT
#12772
- Computer Organization (Patterson, Henessy) (Only the first few chapters) or any material on "wtf is a program really from a low-level perspective, and how it is executed", maybe someone has a better suggestion for this


I've read both and I prefer the approach of this book (by the same authors):Computer Architecture: A Quantitative Approach

There is an area between computer architecture and how "int foo = 90 + 50" gets turned into meaningful motion of signals in the computer that neither book covers. I would recommend a week or two of learning Lisp over any book to understand how lines of code are translated into instructions.

Any sufficiently advanced technology is indistinguishable from magic
solidbebe
Profile Blog Joined November 2010
Netherlands4921 Posts
June 10 2015 18:46 GMT
#12773
Why Lisp over assembly?
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
RoyGBiv_13
Profile Blog Joined August 2010
United States1275 Posts
June 10 2015 21:52 GMT
#12774
On June 11 2015 03:46 solidbebe wrote:
Why Lisp over assembly?


Lisp is like writing a compiler for every program, and you'll learn the important parts of assembly from learning about computer architecture (stuff like opcodes, registers, branches, caching, and the instruction pipeline). Though I do think I understood a ton more about computer architecture after learning more assembly. I just recommend Lisp because I wish I had learned that way instead
Any sufficiently advanced technology is indistinguishable from magic
Manit0u
Profile Blog Joined August 2004
Poland17644 Posts
Last Edited: 2015-06-10 22:58:27
June 10 2015 22:57 GMT
#12775
Just a fun fact I've discovered recently in JS:


var f1 = function () {
setTimeout(function(){
console.log("f1", "First function call...");
}, 0);
};

var f2 = function () {
console.log("f2", "Second call...");
};

f1();
f2();


Result:

f2 Second call..
f1 First function call...


Since JS is single-threaded you can use setTimeout to push calls to the end of the execution queue (timeout 0 doesn't mean immediate execution, as a matter of fact the minimum for JS is 4ms and 0 is translated into 4 anyway - using 0 because it doesn't feel like some magic number).
Time is precious. Waste it wisely.
Acrofales
Profile Joined August 2010
Spain18205 Posts
June 11 2015 22:16 GMT
#12776
On June 11 2015 07:57 Manit0u wrote:
Just a fun fact I've discovered recently in JS:


var f1 = function () {
setTimeout(function(){
console.log("f1", "First function call...");
}, 0);
};

var f2 = function () {
console.log("f2", "Second call...");
};

f1();
f2();


Result:

f2 Second call..
f1 First function call...


Since JS is single-threaded you can use setTimeout to push calls to the end of the execution queue (timeout 0 doesn't mean immediate execution, as a matter of fact the minimum for JS is 4ms and 0 is translated into 4 anyway - using 0 because it doesn't feel like some magic number).


Because JS is not horrid enough as it is, we need to invent ways of making it worse. Next iteration will introduce goto statements?
sabas123
Profile Blog Joined December 2010
Netherlands3122 Posts
Last Edited: 2015-06-12 16:44:04
June 12 2015 16:41 GMT
#12777
Hey guys,

I want to increase my skill as a developer, prefferably something that will make me understand things a lot better in the long run.

I mostly work in C# now a days, played around with C memory managment, done some HTML5 websocket stuff and sending stuff to a php server, and spended the last 2 months orso purely on producing higher quality code (as writing in The Clean Code book).

The only thing I could come up with was writing a compiler. Any ideas?

The harder it becomes, the more you should focus on the basics.
Manit0u
Profile Blog Joined August 2004
Poland17644 Posts
June 12 2015 16:46 GMT
#12778
On June 13 2015 01:41 sabas123 wrote:
Hey guys,

I want to increase my skill as a developer, prefferably something that will make me understand things a lot better in the long run.

I mostly work in C# now a days, played around with C memory managment, done some HTML5 websocket stuff and sending stuff to a php server, and spended the last 2 months orso purely on producing higher quality code (as writing in The Clean Code book).

The only thing I could come up with was writing a compiler. Any ideas?



Surely writing a compiler wouldn't be the first pick for me if I wanted to improve my developer skills... How about starting with something smaller? Like your very own utility library for a chosen language?
Time is precious. Waste it wisely.
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
June 12 2015 16:47 GMT
#12779
On June 13 2015 01:41 sabas123 wrote:
I want to increase my skill as a developer, does anybody have an idea? prefferably something that will make me understand things a lot better in the long run.

That's terribly unspecific. What do you want to understand better? How code is translated into machine language? That won't really make you a better developer. How lexers, parsers, syntax trees and all that stuff work? Sure, go ahead and write a compiler. A bit much low-level overhead though. How to develop an application of high quality? Pick and write whatever application you want, read up on code quality and be critical of your own code.
If you have a good reason to disagree with the above, please tell me. Thank you.
sabas123
Profile Blog Joined December 2010
Netherlands3122 Posts
June 12 2015 19:02 GMT
#12780
Im sorry about being so awefully unspecific.

The thing I meant was to learn more about cs patterns, and thought that writing compilers would be a good place because it would be rich of diffrent techniques and patterns to learn from.

I geuss the thing im trying to say is, what kind of knowlage should I look for to improve myself after learning basic OOP stuff like polymorphism and clean code?
The harder it becomes, the more you should focus on the basics.
Prev 1 637 638 639 640 641 1032 Next
Please log in or register to reply.
Live Events Refresh
HomeStory Cup
12:00
Day 1
TaKeTV3522
ComeBackTV 1387
SteadfastSC680
IndyStarCraft 566
TaKeSeN 356
Rex91
3DClanTV 73
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 680
IndyStarCraft 566
Rex 91
BRAT_OK 76
ProTech35
MindelVK 17
UpATreeSC 5
StarCraft: Brood War
Shuttle 650
Jaedong 497
firebathero 158
Dewaltoss 118
Mini 115
ivOry 9
Dota 2
qojqva2357
420jenkins819
capcasts38
League of Legends
C9.Mang0128
Counter-Strike
fl0m4776
Heroes of the Storm
Liquid`Hasu419
Other Games
gofns11653
FrodaN10877
Grubby2737
Beastyqt835
KnowMe387
Mlord355
ToD234
QueenE111
ArmadaUGS90
Organizations
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• intothetv
• LaughNgamezSOOP
• AfreecaTV YouTube
• sooper7s
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• FirePhoenix22
• 80smullet 8
• blackmanpl 6
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• C_a_k_e 2650
League of Legends
• imaqtpie2072
• TFBlade1408
• Shiphtur389
Upcoming Events
Korean StarCraft League
7h 23m
HomeStory Cup
16h 23m
Replay Cast
1d 4h
HomeStory Cup
1d 17h
Replay Cast
2 days
Replay Cast
3 days
Wardi Open
3 days
WardiTV Invitational
4 days
The PondCast
5 days
WardiTV Invitational
5 days
Liquipedia Results

Completed

Proleague 2026-01-29
OSC Championship Season 13
Underdog Cup #3

Ongoing

CSL 2025 WINTER (S19)
KCM Race Survival 2026 Season 1
Acropolis #4 - TS4
Rongyi Cup S3
HSC XXVIII
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8

Upcoming

Escore Tournament S1: W7
Escore Tournament S1: W8
Acropolis #4
IPSL Spring 2026
uThermal 2v2 2026 Main Event
Bellum Gens Elite Stara Zagora 2026
LiuLi Cup: 2025 Grand Finals
Nations Cup 2026
IEM Rio 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
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.