• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 18:57
CET 23:57
KST 07:57
  • 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
[ASL20] Finals Preview: Arrival10TL.net Map Contest #21: Voting10[ASL20] Ro4 Preview: Descent11Team TLMC #5: Winners Announced!3[ASL20] Ro8 Preview Pt2: Holding On9
Community News
Merivale 8 Open - LAN - Stellar Fest3Chinese SC2 server to reopen; live all-star event in Hangzhou22Weekly Cups (Oct 13-19): Clem Goes for Four3BSL Team A vs Koreans - Sat-Sun 16:00 CET10Weekly Cups (Oct 6-12): Four star herO8
StarCraft 2
General
Could we add "Avoid Matchup" Feature for rankgame RotterdaM "Serral is the GOAT, and it's not close" Chinese SC2 server to reopen; live all-star event in Hangzhou The New Patch Killed Mech! Weekly Cups (Oct 13-19): Clem Goes for Four
Tourneys
Crank Gathers Season 2: SC II Pro Teams Merivale 8 Open - LAN - Stellar Fest $5,000+ WardiTV 2025 Championship $3,500 WardiTV Korean Royale S4 Tenacious Turtle Tussle
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 497 Battle Haredened Mutation # 496 Endless Infection Mutation # 495 Rest In Peace Mutation # 494 Unstable Environment
Brood War
General
ASL20 Pre-season Tier List ranking! [ASL20] Finals Preview: Arrival Is there anyway to get a private coach? BGH Auto Balance -> http://bghmmr.eu/ BSL Team A vs Koreans - Sat-Sun 16:00 CET
Tourneys
[ASL20] Grand Finals ASL final tickets help [ASL20] Semifinal A Small VOD Thread 2.0
Strategy
Simple Questions, Simple Answers Roaring Currents ASL final Soma's 9 hatch build from ASL Game 2 Relatively freeroll strategies
Other Games
General Games
Stormgate/Frost Giant Megathread Path of Exile General RTS Discussion Thread Nintendo Switch Thread Dawn of War IV
Dota 2
Official 'what is Dota anymore' discussion LiquidDota to reintegrate into TL.net
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread YouTube Thread The Chess Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Anime Discussion Thread [Manga] One Piece Korean Music Discussion Series you have seen recently... Movie Discussion!
Sports
Formula 1 Discussion 2024 - 2026 Football Thread MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023 NBA General Discussion
World Cup 2022
Tech Support
SC2 Client Relocalization [Change SC2 Language] Linksys AE2500 USB WIFI keeps disconnecting Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Recent Gifted Posts
Blogs
The Benefits Of Limited Comm…
TrAiDoS
Sabrina was soooo lame on S…
Peanutsc
Our Last Hope in th…
KrillinFromwales
Certified Crazy
Hildegard
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1541 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
Poland17398 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
Poland17398 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
Poland17398 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
Poland17398 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
Spain18100 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
Poland17398 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
Next event in 13h 3m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
PiGStarcraft316
JuggernautJason65
StarCraft: Brood War
Artosis 738
NaDa 19
Dota 2
monkeys_forever562
XaKoH 270
Counter-Strike
fl0m1479
Super Smash Bros
AZ_Axe104
Mew2King47
Heroes of the Storm
Khaldor239
Other Games
FrodaN4806
Grubby2808
summit1g2733
Skadoodle186
KnowMe173
Maynarde98
Organizations
Other Games
gamesdonequick1367
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• Berry_CruncH71
• StrangeGG 34
• davetesta33
• HeavenSC 19
• musti20045 18
• Kozan
• AfreecaTV YouTube
• intothetv
• sooper7s
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• masondota21035
League of Legends
• imaqtpie3414
• Doublelift3325
Upcoming Events
Wardi Open
13h 3m
CrankTV Team League
14h 3m
Streamerzone vs Shopify Rebellion
TBD vs Team Vitality
Monday Night Weeklies
18h 3m
Replay Cast
1d 11h
WardiTV Invitational
1d 13h
CrankTV Team League
1d 14h
BASILISK vs TBD
Team Liquid vs Team Falcon
Replay Cast
2 days
CrankTV Team League
2 days
Replay Cast
3 days
The PondCast
3 days
[ Show More ]
CrankTV Team League
3 days
Replay Cast
4 days
WardiTV Invitational
4 days
CrankTV Team League
4 days
Replay Cast
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Acropolis #4 - TS2
WardiTV TLMC #15
HCC Europe

Ongoing

BSL 21 Points
CSL 2025 AUTUMN (S18)
BSL 21 Team A
C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
CranK Gathers Season 2: SC II Pro Teams
Eternal Conflict S1
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025

Upcoming

SC4ALL: Brood War
YSL S2
BSL Season 21
BSL 21 Non-Korean Championship
RSL Offline Finals
WardiTV 2025
RSL Revival: Season 3
Stellar Fest
SC4ALL: StarCraft II
META Madness #9
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
BLAST Rivals Fall 2025
IEM Chengdu 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.