• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 10:03
CEST 16:03
KST 23:03
  • 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 1 - Final Week6[ASL19] Finals Recap: Standing Tall12HomeStory Cup 27 - Info & Preview18Classic wins Code S Season 2 (2025)16Code S RO4 & Finals Preview: herO, Rogue, Classic, GuMiho0
Community News
Esports World Cup 2025 - Brackets Revealed10Weekly Cups (July 7-13): Classic continues to roll4Team TLMC #5 - Submission extension3Firefly given lifetime ban by ESIC following match-fixing investigation17$25,000 Streamerzone StarCraft Pro Series announced7
StarCraft 2
General
The GOAT ranking of GOAT rankings RSL Revival patreon money discussion thread Who will win EWC 2025? Weekly Cups (July 7-13): Classic continues to roll Esports World Cup 2025 - Brackets Revealed
Tourneys
RSL: Revival, a new crowdfunded tournament series FEL Cracov 2025 (July 27) - $8000 live event $5,100+ SEL Season 2 Championship (SC: Evo) WardiTV Mondays Sparkling Tuna Cup - Weekly Open Tournament
Strategy
How did i lose this ZvP, whats the proper response Simple Questions Simple Answers
Custom Maps
External Content
Mutation # 482 Wheel of Misfortune Mutation # 481 Fear and Lava Mutation # 480 Moths to the Flame Mutation # 479 Worn Out Welcome
Brood War
General
Flash Announces (and Retracts) Hiatus From ASL BW General Discussion BGH Auto Balance -> http://bghmmr.eu/ Starcraft in widescreen A cwal.gg Extension - Easily keep track of anyone
Tourneys
[Megathread] Daily Proleagues Cosmonarchy Pro Showmatches CSL Xiamen International Invitational [BSL20] Non-Korean Championship 4x BSL + 4x China
Strategy
Simple Questions, Simple Answers I am doing this better than progamers do.
Other Games
General Games
Path of Exile Nintendo Switch Thread Stormgate/Frost Giant Megathread CCLP - Command & Conquer League Project The PlayStation 5
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
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Future of Porn Russo-Ukrainian War Thread Stop Killing Games - European Citizens Initiative Summer Games Done Quick 2025!
Fan Clubs
SKT1 Classic Fan Club! Maru Fan Club
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread [\m/] Heavy Metal Thread
Sports
Formula 1 Discussion TeamLiquid Health and Fitness Initiative For 2023 2024 - 2025 Football Thread NBA General Discussion NHL Playoffs 2024
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List
Blogs
Men Take Risks, Women Win Ga…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Trip to the Zoo
micronesia
Customize Sidebar...

Website Feedback

Closed Threads



Active: 623 users

The Big Programming Thread - Page 639

Forum Index > General Forum
Post a Reply
Prev 1 637 638 639 640 641 1031 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
Poland17249 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
Poland17249 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
Poland17249 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
Poland17249 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
Spain17976 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
Poland17249 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 1031 Next
Please log in or register to reply.
Live Events Refresh
Next event in 1h 58m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Vindicta 226
StarCraft: Brood War
Britney 43700
Rain 6184
EffOrt 1564
BeSt 1244
Larva 604
firebathero 471
Stork 404
Mini 318
PianO 247
Rush 216
[ Show more ]
Light 205
Mind 155
Pusan 72
Aegong 67
GoRush 67
sSak 54
JulyZerg 54
Movie 53
sas.Sziky 45
Noble 37
Shinee 36
yabsab 26
scan(afreeca) 16
SilentControl 10
Shine 8
Bale 5
ivOry 3
Dota 2
qojqva3798
XcaliburYe294
Fuzer 210
canceldota121
League of Legends
Dendi1494
Counter-Strike
sgares646
byalli359
Super Smash Bros
Mew2King96
amsayoshi42
Other Games
B2W.Neo2479
singsing2029
DeMusliM464
crisheroes404
Lowko401
ArmadaUGS78
markeloff59
Pyrionflax49
QueenE46
Trikslyr29
ToD12
Organizations
Other Games
gamesdonequick3822
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Dota 2
• C_a_k_e 1021
League of Legends
• Nemesis2381
• Jankos1295
Upcoming Events
WardiTV European League
1h 58m
ShoWTimE vs sebesdes
Percival vs NightPhoenix
Shameless vs Nicoract
Krystianer vs Scarlett
ByuN vs uThermal
Harstem vs HeRoMaRinE
PiGosaur Monday
9h 58m
uThermal 2v2 Circuit
1d 1h
Replay Cast
1d 9h
The PondCast
1d 19h
WardiTV European League
2 days
Replay Cast
2 days
Epic.LAN
2 days
CranKy Ducklings
3 days
Epic.LAN
3 days
[ Show More ]
CSO Contender
4 days
BSL20 Non-Korean Champi…
4 days
Bonyth vs Sziky
Dewalt vs Hawk
Hawk vs QiaoGege
Sziky vs Dewalt
Mihu vs Bonyth
Zhanhun vs QiaoGege
QiaoGege vs Fengzi
Sparkling Tuna Cup
4 days
Online Event
5 days
BSL20 Non-Korean Champi…
5 days
Bonyth vs Zhanhun
Dewalt vs Mihu
Hawk vs Sziky
Sziky vs QiaoGege
Mihu vs Hawk
Zhanhun vs Dewalt
Fengzi vs Bonyth
Esports World Cup
6 days
ByuN vs Astrea
Lambo vs HeRoMaRinE
Clem vs TBD
Solar vs Zoun
SHIN vs Reynor
Maru vs TriGGeR
herO vs Lancer
Cure vs ShoWTimE
Liquipedia Results

Completed

2025 ACS Season 2: Qualifier
RSL Revival: Season 1
Murky Cup #2

Ongoing

JPL Season 2
BSL 2v2 Season 3
CSL 17: 2025 SUMMER
Copa Latinoamericana 4
Jiahua Invitational
BSL20 Non-Korean Championship
Championship of Russia 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025
PGL Astana 2025
Asian Champions League '25
BLAST Rivals Spring 2025
MESA Nomadic Masters

Upcoming

CSL Xiamen Invitational
CSL Xiamen Invitational: ShowMatche
2025 ACS Season 2
CSLPRO Last Chance 2025
CSLPRO Chat StarLAN 3
BSL Season 21
K-Championship
RSL Revival: Season 2
SEL Season 2 Championship
uThermal 2v2 Main Event
FEL Cracov 2025
Esports World Cup 2025
Underdog Cup #2
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
BLAST Bounty Fall Qual
IEM Cologne 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.