• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 21:58
CET 03:58
KST 11:58
  • 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
[BSL21] Ro.16 Group Stage (C->B->A->D)1Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win2RSL Season 3: RO16 results & RO8 bracket13Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge2[TLMC] Fall/Winter 2025 Ladder Map Rotation14
StarCraft 2
General
When will we find out if there are more tournament Weekly Cups (Nov 17-23): Solar, MaxPax, Clem win SC: Evo Complete - Ranked Ladder OPEN ALPHA Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge RSL Season 3: RO16 results & RO8 bracket
Tourneys
Tenacious Turtle Tussle RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship StarCraft Evolution League (SC Evo Biweekly) Constellation Cup - Main Event - Stellar Fest
Strategy
Ride the Waves in Surf City: Why Surfing Lessons H
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
Which season is the best in ASL? FlaSh on: Biggest Problem With SnOw's Playstyle soO on: FanTaSy's Potential Return to StarCraft Data analysis on 70 million replays 2v2 maps which are SC2 style with teams together?
Tourneys
[BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET [BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET [Megathread] Daily Proleagues [BSL21] RO16 Tie Breaker - Group A - Sat 21:00 CET
Strategy
Game Theory for Starcraft How to stay on top of macro? Current Meta PvZ map balance
Other Games
General Games
Stormgate/Frost Giant Megathread Should offensive tower rushing be viable in RTS games? Nintendo Switch Thread Path of Exile Clair Obscur - Expedition 33
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 Things Aren’t Peaceful in Palestine YouTube Thread Artificial Intelligence Thread
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
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: 2984 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
Poland17469 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
Poland17469 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
Poland17469 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
Poland17469 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
Spain18132 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
Poland17469 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
PiGosaur Cup
01:00
#59
SteadfastSC242
CranKy Ducklings213
EnkiAlexander 43
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
SteadfastSC 242
RuFF_SC2 125
Nathanias 102
StarCraft: Brood War
Britney 12307
Artosis 709
NaDa 52
Noble 51
Icarus 5
League of Legends
JimRising 611
Counter-Strike
Coldzera 1801
Other Games
summit1g8314
Day[9].tv608
C9.Mang0311
ViBE191
Maynarde129
Trikslyr59
CosmosSc2 31
Organizations
Other Games
gamesdonequick944
Dota 2
PGL Dota 2 - Main Stream187
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Hupsaiya 93
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• Azhi_Dahaki8
• RayReign 5
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Doublelift4359
• Stunt175
Other Games
• Scarra2847
• Day9tv608
Upcoming Events
Replay Cast
6h 2m
Wardi Open
9h 2m
OSC
10h 2m
Tenacious Turtle Tussle
21h 2m
The PondCast
1d 7h
Replay Cast
1d 20h
OSC
2 days
LAN Event
2 days
Replay Cast
2 days
Replay Cast
3 days
[ Show More ]
WardiTV Korean Royale
3 days
Sparkling Tuna Cup
4 days
WardiTV Korean Royale
4 days
Replay Cast
4 days
Wardi Open
5 days
Monday Night Weeklies
5 days
Replay Cast
5 days
Wardi Open
6 days
Liquipedia Results

Completed

SOOP Univ League 2025
RSL Revival: Season 3
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
YSL S2
BSL Season 21
CSCL: Masked Kings S3
Slon Tour Season 2
META Madness #9
SL Budapest Major 2025
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
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.