• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 09:50
CET 15:50
KST 23:50
  • 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 Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets0$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)12Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7[BSL21] Non-Korean Championship - Starts Jan 103SC2 All-Star Invitational: Jan 17-1822
StarCraft 2
General
When will we find out if there are more tournament SC2 Spotted on the EWC 2026 list? Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns Spontaneous hotkey change zerg
Tourneys
$25,000 Streamerzone StarCraft Pro Series announced $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) WardiTV Winter Cup WardiTV Mondays SC2 AI Tournament 2026
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes
Brood War
General
A cwal.gg Extension - Easily keep track of anyone Potential ASL qualifier breakthroughs? BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion StarCraft & BroodWar Campaign Speedrun Quest
Tourneys
[Megathread] Daily Proleagues [BSL21] Grand Finals - Sunday 21:00 CET [BSL21] Non-Korean Championship - Starts Jan 10 SLON Grand Finals – Season 2
Strategy
Game Theory for Starcraft Simple Questions, Simple Answers Current Meta [G] How to get started on ladder as a new Z player
Other Games
General Games
Beyond All Reason Nintendo Switch Thread Awesome Games Done Quick 2026! Mechabellum Stormgate/Frost Giant Megathread
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
US Politics Mega-thread Things Aren’t Peaceful in Palestine Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Trading/Investing Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced
Blogs
My 2025 Magic: The Gathering…
DARKING
Physical Exercise (HIIT) Bef…
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2164 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
Poland17596 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
WardiTV Invitational
14:00
Group B
WardiTV1225
IndyStarCraft 114
LiquipediaDiscussion
RongYI Cup
11:00
Qualifier 3
Rex155
BRAT_OK 125
3DClanTV 36
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Rex 162
BRAT_OK 131
IndyStarCraft 114
SC2Nice 17
StarCraft: Brood War
Rain 10823
Sea 5568
Horang2 2333
Shuttle 1439
EffOrt 1410
Stork 678
Mini 613
actioN 548
ZerO 509
Light 359
[ Show more ]
Soma 323
ggaemo 294
hero 255
firebathero 239
Hyuk 207
Rush 202
Sharp 120
Snow 115
Hyun 106
Mong 104
Pusan 103
Mind 91
Aegong 51
JYJ 40
Free 39
Terrorterran 25
Sexy 23
soO 18
HiyA 15
scan(afreeca) 14
GoRush 14
ajuk12(nOOB) 7
Sacsri 7
Dota 2
qojqva2170
syndereN307
XcaliburYe106
ODPixel71
Counter-Strike
olofmeister3317
Other Games
Gorgc1934
B2W.Neo1816
hiko565
crisheroes300
Hui .220
QueenE166
Mew2King69
ZerO(Twitch)23
Liquid`RaSZi6
Organizations
Other Games
gamesdonequick3832
StarCraft: Brood War
lovetv 8
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 16 non-featured ]
StarCraft 2
• naamasc231
• iHatsuTV 8
• Migwel
• AfreecaTV YouTube
• sooper7s
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• Noizen73
• lizZardDota270
League of Legends
• Jankos4537
• TFBlade833
Upcoming Events
PiGosaur Cup
10h 10m
WardiTV Invitational
21h 10m
The PondCast
1d 19h
OSC
1d 21h
OSC
2 days
All Star Teams
3 days
INnoVation vs soO
sOs vs Scarlett
uThermal 2v2 Circuit
3 days
All Star Teams
4 days
MMA vs DongRaeGu
Rogue vs Oliveira
Sparkling Tuna Cup
4 days
OSC
4 days
[ Show More ]
Replay Cast
5 days
Wardi Open
5 days
Liquipedia Results

Completed

Proleague 2026-01-12
Big Gabe Cup #3
NA Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
OSC Championship Season 13
Underdog Cup #3
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025

Upcoming

Escore Tournament S1: W4
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
Thunderfire SC2 All-star 2025
Nations Cup 2026
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 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.