• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 04:19
CEST 10:19
KST 17:19
  • 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
Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun11[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists21[ASL21] Ro16 Preview Pt1: Fresh Flow9
Community News
2026 GSL Season 1 Qualifiers25Maestros of the Game 2 announced92026 GSL Tour plans announced15Weekly Cups (April 6-12): herO doubles, "Villains" prevail1MaNa leaves Team Liquid25
StarCraft 2
General
Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun Team Liquid Map Contest #22 - The Finalists Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool MaNa leaves Team Liquid Maestros of the Game 2 announced
Tourneys
GSL Code S Season 1 (2026) SC2 INu's Battles#15 <BO.9 2Matches> WardiTV Spring Cup RSL Revival: Season 5 - Qualifiers and Main Event SEL Masters #6 - Solar vs Classic (SC: Evo)
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base Mutation # 521 Memorable Boss
Brood War
General
Pros React To: Leta vs Tulbo (ASL S21, Ro.8) ASL21 General Discussion [TOOL] Starcraft Chat Translator JaeDong's ASL S21 Ro16 Post-Review Missed out on ASL tickets - what are my options?
Tourneys
Escore Tournament StarCraft Season 2 [ASL21] Ro8 Day 2 [ASL21] Ro8 Day 1 ASL Season 21 LIVESTREAM with English Commentary
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Daigo vs Menard Best of 10 Stormgate/Frost Giant Megathread Nintendo Switch Thread Dawn of War IV Diablo IV
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
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 TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread Russo-Ukrainian War Thread 3D technology/software discussion Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Sexual Health Of Gamers
TrAiDoS
lurker extra damage testi…
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2561 users

The Big Programming Thread - Page 561

Forum Index > General Forum
Post a Reply
Prev 1 559 560 561 562 563 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.
netherh
Profile Blog Joined November 2011
United Kingdom333 Posts
January 01 2015 20:48 GMT
#11201
On January 02 2015 02:44 nunez wrote:
you had removed the variable template: the raison d'etre of my prayer.


Ah, my bad. Does it still fail without enable_if? (i.e. something like this: http://coliru.stacked-crooked.com/a/944b18c3fe6d748d)


it's odd how there are things, and also other things at the same time.


Haha. Yes!

Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2015-01-03 19:14:55
January 03 2015 17:02 GMT
#11202
I'm reading the book Effective C++, 3rd edition. As far as I remember, it is recommended that a smart pointer pointer is returned so the caller doesn't forget to delete an object. Is that what you do in practice?

Edit: I think that is suggested for factory methods.
bypLy
Profile Joined June 2013
757 Posts
January 03 2015 19:36 GMT
#11203
hey what would you recommend to programm a little 3d video game? i heared c++ is the best for this?

what libaries would i need besides opengl? i would need something to load files with sound, images, 3d models etc. Which SDK can offer all that. I am looking for something that makes life easy. But i want to go the professional way
SilverSkyLark
Profile Blog Joined April 2008
Philippines8437 Posts
January 06 2015 14:03 GMT
#11204
Got an issue using ExtJS4 and PHP to upload an image to a folder in my server (in my mamp folder right now since it's not online yet). It seems that the PHP receives nothing from the ExtJS end of things, and I don't know why.

My hunch is that ExtJS is not finding the path right since the past uses /fakepath/ and that path doesn't exist.

More about the question here.

http://stackoverflow.com/questions/27796689/extjs4-php-image-file-not-being-sent-to-php-file-in-server-for-processing
"If i lost an arm, I would play w3." -IntoTheWow || "Member of Hyuk Hyuk Hyuk cafe. He's the next Jaedong, baby!"
GwSC
Profile Joined December 2010
United States1997 Posts
Last Edited: 2015-01-06 19:35:23
January 06 2015 19:29 GMT
#11205
So, bit of a strange question: If someone were to switch majors and decide to try to cram all the required CS classes into their final 2 years of college (all I've done so far is a couple intro classes), do you think it would be possible for that person to be prepared for some form of entry level programming jobs right off of graduation (assuming this person is an averager learner, not brilliant or anything)?

I'm concerned about making this move because I know so many guys who have been programming for years, and failing that have at least been taking CS classes since first year of college. I'm worried that there just may not be enough time to absorb everything and get good enough to be reasonably competitive.
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
January 06 2015 19:43 GMT
#11206
On January 07 2015 04:29 GwSC wrote:
So, bit of a strange question: If someone were to switch majors and decide to try to cram 2 years of CS classes into their final 2 years of college, do you think it would be possible for that person to be prepared for some form of entry level programming jobs right off of graduation (assuming this person is an averager learner, not brilliant or anything)?

I'm concerned about making this move because I know so many guys who have been programming for years, and failing that have at least been taking CS classes since first year of college. I'm worried that just may not be enough time to absorb everything and get good enough to be reasonably competitive. So far I've only taken a couple intro level classes which I did do well in.


Can you already program?

If no, it's unlikely that you'll ever become competitive because most programmers in the field have started programming when they were barely 12 and they have huge advantages when looking for jobs because most companies look for people that are in it for passion because those are the guys that spend their spare, unpaid time to keep up with technology.
If yes, then it's definitely possible to catch up since CS teaches you some of the basic stuff but nothing world shattering.

It's not impossible to start from basically 0 and get up to speed in 2 years, but if you weren't passionate to program before, it's simply unlikely that you'll develop the necessary passion now.

However, I have some rather strong views on beginning programmers ("Programmers are born, not made") due to encountering plenty of terrible programmers in my past jobs, so I might be fairly biased.
ZenithM
Profile Joined February 2011
France15952 Posts
Last Edited: 2015-01-06 20:27:50
January 06 2015 20:26 GMT
#11207
I was going to retort that there are a lot of seasoned programmers who suck too, and that in the end there is a bit of that mystical "wizard thing" that you just get or not, no matter how many years you spent programming. But it's well summed up by what you quoted, Morfildur: "Programmers are born, not made".

I would still say that it would be hard in 2 years, even if your "average learner" is actually a pretty fast learner, GwSC :D
It's very well possible to grab the basics way better than a 10-year programmer thinks he has, though. It will be very time consuming to catch up on the various technologies that everyone will assume you know of, though, and that are layered on top of those basics.
I wouldn't say impossible though, I was pleasantly surprised by what some of my students were able to achieve in their final projects with just a 10-week course in Java and no previous programming experience. I think it would be impossible to pretend that you're an all-around multiple-technologies programmer after just 2 years of CS classes, but you could very well become a decent Java/C# or web programmer in that timeframe, imho.
Azerbaijan
Profile Blog Joined January 2010
United States660 Posts
January 06 2015 20:53 GMT
#11208
On January 07 2015 04:29 GwSC wrote:
So, bit of a strange question: If someone were to switch majors and decide to try to cram 2 years of CS classes into their final 2 years of college, do you think it would be possible for that person to be prepared for some form of entry level programming jobs right off of graduation (assuming this person is an averager learner, not brilliant or anything)?

I'm concerned about making this move because I know so many guys who have been programming for years, and failing that have at least been taking CS classes since first year of college. I'm worried that just may not be enough time to absorb everything and get good enough to be reasonably competitive. So far I've only taken a couple intro level classes which I did do well in.


I am at a University that crams a 4 year CS degrees into 2 and half years. 97% of the graduates are employed within 6 months with average salaries around $63k a year. A handful of grads have even been hired right out of school by big names like google and amazon. Most of the students here have no prior programming experience so Its definitely possible to do what you are considering. Just be sure its something you really really passionate about because if its not you will definitely regret it.
GwSC
Profile Joined December 2010
United States1997 Posts
Last Edited: 2015-01-06 21:03:44
January 06 2015 21:01 GMT
#11209
Thanks for the responses guys. I'm really only aiming to get to the point of at least being competent I guess you could say, and then continuing to work at it from there. That isn't to say I won't be trying my hardest to get as good as I can - I just want to at least be good enough to not get laughed out of all my interviews

Hopefully that will be enough to find a position somewhere, even if it isn't the greatest. I have enjoyed the limited programming I've done so far, and I did really well in my intro classes so I think I'm at least not hopeless. I do have the advantage of having basically all my other classes done, so I can focus almost completely on the CS classes (I believe all I have left aside from those is one writing and two math courses).
ferdkuh
Profile Joined January 2013
10 Posts
January 06 2015 23:58 GMT
#11210
On January 04 2015 04:36 bypLy wrote:
hey what would you recommend to programm a little 3d video game? i heared c++ is the best for this?

what libaries would i need besides opengl? i would need something to load files with sound, images, 3d models etc. Which SDK can offer all that. I am looking for something that makes life easy. But i want to go the professional way


If you want to get it done, use Unity. It is as easy and professional as it gets and you can use pretty much any CLR language you like.
Soap
Profile Blog Joined April 2010
Brazil1546 Posts
January 07 2015 00:02 GMT
#11211
I recommend this article: http://www.kalzumeus.com/2011/10/28/dont-call-yourself-a-programmer/
Manit0u
Profile Blog Joined August 2004
Poland17740 Posts
January 07 2015 00:10 GMT
#11212
On January 07 2015 06:01 GwSC wrote:
Thanks for the responses guys. I'm really only aiming to get to the point of at least being competent I guess you could say, and then continuing to work at it from there. That isn't to say I won't be trying my hardest to get as good as I can - I just want to at least be good enough to not get laughed out of all my interviews

Hopefully that will be enough to find a position somewhere, even if it isn't the greatest. I have enjoyed the limited programming I've done so far, and I did really well in my intro classes so I think I'm at least not hopeless. I do have the advantage of having basically all my other classes done, so I can focus almost completely on the CS classes (I believe all I have left aside from those is one writing and two math courses).


I don't think you should be stressing about it so much. I've decided to turn to programming for a living at the age of 31 with basically 0 experience (I studied humanities at the university and worked as a HR manager for 7 years). I guess that having programmed some stuff for fun as one of my hobbies helped out since I wasn't totally clueless during the job interviews (especially that I've had basic to intermediate working knowledge of several programming languages at the time).

And I must agree with the previous replies, you shouldn't do it if you don't feel passionate about it. One of the reasons for me to turn to professional programming was that I wanted to do something that was fun for me for a living. Now I only regret that I didn't do it much earlier, but won't be losing any sleep over it as I'm happy I did it anyway.
Time is precious. Waste it wisely.
phar
Profile Joined August 2011
United States1080 Posts
January 07 2015 01:53 GMT
#11213
On January 07 2015 05:53 Azerbaijan wrote:
Show nested quote +
On January 07 2015 04:29 GwSC wrote:
So, bit of a strange question: If someone were to switch majors and decide to try to cram 2 years of CS classes into their final 2 years of college, do you think it would be possible for that person to be prepared for some form of entry level programming jobs right off of graduation (assuming this person is an averager learner, not brilliant or anything)?

I'm concerned about making this move because I know so many guys who have been programming for years, and failing that have at least been taking CS classes since first year of college. I'm worried that just may not be enough time to absorb everything and get good enough to be reasonably competitive. So far I've only taken a couple intro level classes which I did do well in.


I am at a University that crams a 4 year CS degrees into 2 and half years. 97% of the graduates are employed within 6 months with average salaries around $63k a year. A handful of grads have even been hired right out of school by big names like google and amazon. Most of the students here have no prior programming experience so Its definitely possible to do what you are considering. Just be sure its something you really really passionate about because if its not you will definitely regret it.

Agree strongly with this. I had no real programming until 3rd year of Uni.

One thing that benefits you is that someone who started programming when they are 12 has typically picked up a lot of bad habits, and has a very difficult time unlearning them. (Not everyone, but it is not uncommon)
Who after all is today speaking about the destruction of the Armenians?
nunez
Profile Blog Joined February 2011
Norway4003 Posts
January 07 2015 02:34 GMT
#11214
hm, yes, quite, indeed, indubitably...
undoubtedly of utmost importance
and great consequence.
conspired against by a confederacy of dunces.
ZenithM
Profile Joined February 2011
France15952 Posts
Last Edited: 2015-01-07 06:08:17
January 07 2015 06:07 GMT
#11215
On January 07 2015 11:34 nunez wrote:
hm, yes, quite, indeed, indubitably...
undoubtedly of utmost importance
and great consequence.

I checked, that's not a haiku.
Khalum
Profile Joined September 2010
Austria831 Posts
Last Edited: 2015-01-07 13:40:40
January 07 2015 13:40 GMT
#11216
Considering it was posted at 3:34am, my bet is on alcohol. No sane person should be sober when awake at that time.
SilverSkyLark
Profile Blog Joined April 2008
Philippines8437 Posts
January 07 2015 17:21 GMT
#11217
On January 06 2015 23:03 SilverSkyLark wrote:
Got an issue using ExtJS4 and PHP to upload an image to a folder in my server (in my mamp folder right now since it's not online yet). It seems that the PHP receives nothing from the ExtJS end of things, and I don't know why.

My hunch is that ExtJS is not finding the path right since the past uses /fakepath/ and that path doesn't exist.

More about the question here.

http://stackoverflow.com/questions/27796689/extjs4-php-image-file-not-being-sent-to-php-file-in-server-for-processing



Don't mind this post. Apparently, placing a handler in the buttonConfig of the fileField does not work. You need to have a 2nd separate button, add an onClick controller there, and do the form.sumbit() there. If you want 1 button only, hide the 2nd button. Add an event listener (not a controller) to the fileField, then call the controller of the 2nd button in the event listener.
"If i lost an arm, I would play w3." -IntoTheWow || "Member of Hyuk Hyuk Hyuk cafe. He's the next Jaedong, baby!"
Shield
Profile Blog Joined August 2009
Bulgaria4824 Posts
Last Edited: 2015-01-07 21:45:27
January 07 2015 21:40 GMT
#11218
Has anyone read GoF? I feel my brain has melted. Some of differences between patterns are so blurry.

E.g. PIMPL vs Bridge (Handle) pattern. I feel like PIMPL is in a way Bridge pattern.
Strategy vs State pattern. While I understand states go from one to another (or so examples show), it kind of looks like Strategy pattern.
Composite vs Decorator looks kind of similar too.
Shazzam
Profile Joined March 2011
United Kingdom15 Posts
January 07 2015 22:01 GMT
#11219
On January 07 2015 06:01 GwSC wrote:
Thanks for the responses guys. I'm really only aiming to get to the point of at least being competent I guess you could say, and then continuing to work at it from there. That isn't to say I won't be trying my hardest to get as good as I can - I just want to at least be good enough to not get laughed out of all my interviews

Hopefully that will be enough to find a position somewhere, even if it isn't the greatest. I have enjoyed the limited programming I've done so far, and I did really well in my intro classes so I think I'm at least not hopeless. I do have the advantage of having basically all my other classes done, so I can focus almost completely on the CS classes (I believe all I have left aside from those is one writing and two math courses).


Honestly, no one who leaves university is a good programmer, people who will employ you won't expect you to set their world on fire.

At the end of the day you are a programmer primarily to solve peoples problems via the medium of code, if you forget that and go mental, sure you will create some cool shit but it won't be useful to anyone and you will seem like an idiot to people who don't understand the minute detail of code.

I probably didn't put this as eloquently as i'd hoped ^^;

In other news my company gave me the promotion to senior applications developer (woot!)
My post is up here ^
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
January 07 2015 22:17 GMT
#11220
On January 08 2015 06:40 darkness wrote:
Has anyone read GoF? I feel my brain has melted. Some of differences between patterns are so blurry.

E.g. PIMPL vs Bridge (Handle) pattern. I feel like PIMPL is in a way Bridge pattern.
Strategy vs State pattern. While I understand states go from one to another (or so examples show), it kind of looks like Strategy pattern.
Composite vs Decorator looks kind of similar too.

Many patterns are similar in purpose, but different in implementation details, giving you different options depending on your existing code.

On January 08 2015 07:01 Shazzam wrote:
Show nested quote +
On January 07 2015 06:01 GwSC wrote:
Thanks for the responses guys. I'm really only aiming to get to the point of at least being competent I guess you could say, and then continuing to work at it from there. That isn't to say I won't be trying my hardest to get as good as I can - I just want to at least be good enough to not get laughed out of all my interviews

Hopefully that will be enough to find a position somewhere, even if it isn't the greatest. I have enjoyed the limited programming I've done so far, and I did really well in my intro classes so I think I'm at least not hopeless. I do have the advantage of having basically all my other classes done, so I can focus almost completely on the CS classes (I believe all I have left aside from those is one writing and two math courses).


Honestly, no one who leaves university is a good programmer, people who will employ you won't expect you to set their world on fire.

At the end of the day you are a programmer primarily to solve peoples problems via the medium of code, if you forget that and go mental, sure you will create some cool shit but it won't be useful to anyone and you will seem like an idiot to people who don't understand the minute detail of code.

I probably didn't put this as eloquently as i'd hoped ^^;

In other news my company gave me the promotion to senior applications developer (woot!)

You can leave university as a good programmer, but chances are it's not because you went to university.
If you have a good reason to disagree with the above, please tell me. Thank you.
Prev 1 559 560 561 562 563 1032 Next
Please log in or register to reply.
Live Events Refresh
Next event in 41m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ProTech167
Livibee 113
Nina 77
StarCraft: Brood War
Mind 855
Killer 479
firebathero 444
Hm[arnc] 394
Pusan 314
Dewaltoss 56
yabsab 41
Leta 36
NotJumperer 35
ToSsGirL 35
[ Show more ]
Bale 34
actioN 23
Nal_rA 19
ZergMaN 18
Sharp 15
Shuttle 14
Terrorterran 2
Dota 2
resolut1ontv 638
monkeys_forever539
NeuroSwarm148
League of Legends
JimRising 648
Counter-Strike
Stewie2K1247
shoxiejesuss1141
ceh9438
Other Games
summit1g5539
WinterStarcraft541
Happy331
Sick232
crisheroes0
Organizations
Other Games
gamesdonequick529
Dota 2
PGL Dota 2 - Main Stream116
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 13 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Stunt690
• Jankos672
• TFBlade630
Upcoming Events
Replay Cast
41m
Escore
1h 41m
INu's Battles
2h 41m
Classic vs ByuN
SHIN vs ByuN
OSC
4h 41m
Big Brain Bouts
7h 41m
Replay Cast
15h 41m
Replay Cast
1d
RSL Revival
1d 1h
Classic vs GgMaChine
Rogue vs Maru
WardiTV Invitational
1d 2h
IPSL
1d 7h
Ret vs Art_Of_Turtle
Radley vs TBD
[ Show More ]
BSL
1d 10h
Replay Cast
1d 15h
RSL Revival
2 days
herO vs TriGGeR
NightMare vs Solar
uThermal 2v2 Circuit
2 days
BSL
2 days
IPSL
2 days
eOnzErG vs TBD
G5 vs Nesh
Patches Events
2 days
Replay Cast
3 days
Wardi Open
3 days
Afreeca Starleague
3 days
Jaedong vs Light
Monday Night Weeklies
3 days
Replay Cast
3 days
Sparkling Tuna Cup
4 days
Afreeca Starleague
4 days
Snow vs Flash
WardiTV Invitational
4 days
GSL
5 days
Classic vs Cure
Maru vs Rogue
GSL
6 days
SHIN vs Zoun
ByuN vs herO
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2026-04-29
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
Escore Tournament S2: W5
KK 2v2 League Season 1
StarCraft2 Community Team League 2026 Spring
2026 GSL S1
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026

Upcoming

Acropolis #4
BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
RSL Revival: Season 5
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 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.