• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 13:34
CEST 19:34
KST 02:34
  • 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
[ASL22] Ro16 Preview: Rough Waters10[ASL22] Ro24 Preview: Siren's Call8[ASL22] Ro24 Preview: Summer's End9Serral wins HomeStory Cup 2915Serral wins Maestros of the Game 244
Community News
Weekly Cups (Aug 30-Sep 7): herO thrives amid growing schism10Official StarCraft website teases new content ahead of BlizzCon?134Stellar Fest TWO the Moon (Dec 16-20)9Weekly Cups (August 24-30): Patches' balance mod takes over3New 3v3 BGH Ladder (and more) on ShieldBattery!46
StarCraft 2
General
Balance hotfix patch 5.0.16b (July 16) Team Liquid Map Contest #22: Results and Winners Weekly Cups (Aug 30-Sep 7): herO thrives amid growing schism SC4ALL: II Winner will earn a spot at HSC 30! SC4ALL II: StarCraft 2 Player Announcement 7/8
Tourneys
RSL goes to London! 2026 Offline Finals Nov 21-22 KSL Week #92 IntoTheTV X SOOP SC2 League : Weekly & Monthly 2026 GSTL Announcement Sparkling Tuna Cup - Weekly Open Tournament
Strategy
[G] Having the right mentality to improve
Custom Maps
Nexus Wars 2021 GUIDE [M] (2) Industrial Park
External Content
Mutation # 542 The Ascended Mutation # 541 Binary Choice The PondCast: SC2 News & Results Mutation # 540 Dodge This
Brood War
General
Official StarCraft website teases new content ahead of BlizzCon? BGH Auto Balance -> http://bghmmr.eu/ Practice Partners (Official) Broodwar Prediction Market [D] Brainstorming a balance patch for Brood war
Tourneys
[ASL22] Ro16 Group A [ASL22] Ro16 Group B Escore Tournament - Season 3 Small VOD Thread 2.0
Strategy
Replay Review Process - What do you do? Simple Questions, Simple Answers Odyssey Mineral Stack Saturation Game Theory for Starcraft
Other Games
General Games
Nintendo Switch Thread EVE Corporation Diablo IV [Maplestory Hardcore] Let's Play~!! General RTS Discussion Thread
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
[TL LoL EUW IHs] Teemo shall perish TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Community Thread
Community
General
US Politics Mega-thread UK Politics Mega-thread Things Aren’t Peaceful in Palestine Trading/Investing Thread Russo-Ukrainian War Thread
Fan Clubs
MarineLorD Fan Club The Creator Fan Club The ShoWTimE Fan Club
Media & Entertainment
Movie Discussion!
Sports
Football (Soccer) Thread TeamLiquid Health and Fitness Initiative For 2023 MLB/Baseball 2023
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List Northern Ireland Global Starcraft
Blogs
Virtual Romance, Real-Life C…
TrAiDoS
Regacy Esports:Our Goa…
regacyesports
Dreaming of BW patches (mod…
c3rberUs
LOCKPICKING NOOB
LUCKY_NOOB
Customize Sidebar...

Website Feedback

Closed Threads



Active: 6179 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
Poland17843 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
AI Arena Tournament
17:00
Swiss - Round 1
Laughngamez YouTube
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Tasteless 391
RotterdaM 357
BRAT_OK 46
CosmosSc2 21
-ZergGirl 10
StarCraft: Brood War
Britney 27479
Calm 4310
Shuttle 849
firebathero 783
Artosis 584
actioN 228
Mini 130
910 80
Dewaltoss 79
Mong 49
[ Show more ]
HiyA 24
Hm[arnc] 13
Pusan 12
Noble 6
Dota 2
qojqva3792
420jenkins332
LuMiX1
Counter-Strike
fl0m1274
Fnx 706
edward159
Super Smash Bros
Chillindude22
Heroes of the Storm
Liquid`Hasu601
Trikslyr64
Other Games
Grubby3662
singsing1323
B2W.Neo1189
XaKoH 122
QueenE44
JimRising 9
Organizations
StarCraft 2
StarCraft1534
Heroes of the Storm
Heroes of the Storm1529
Other Games
EGCTV1265
StarCraft 2
ComeBackTV 714
StarCraft: Brood War
Afreeca ASL 404
[ Show 16 non-featured ]
StarCraft 2
• StrangeGG 65
• printf 27
• Migwel
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
StarCraft: Brood War
• Airneanach31
• FirePhoenix5
• HerbMon 2
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Jankos1924
Other Games
• imaqtpie380
• Shiphtur153
Upcoming Events
OSC
2h 56m
Sparkling Tuna Cup
16h 26m
WardiTV Invitational
17h 26m
ByuN vs Percival
Cure vs Classic
Shopify Rebellion Sundays
21h 26m
Spirit vs Mixu
Clem vs TBD
RSL Revival
22h 26m
Serral vs Rogue
BlizzCon
1d
IdrA vs MC
Replay Cast
1d 6h
Afreeca Starleague
1d 16h
Light vs JyJ
Soulkey vs hero
WardiTV Weekly
1d 17h
Monday Night Weeklies
1d 22h
[ Show More ]
Afreeca Starleague
2 days
Snow vs Shinee
Shine vs EffOrt
GSL
2 days
PiGosaur Cup
3 days
The PondCast
3 days
Kung Fu Cup
3 days
Replay Cast
4 days
KCM Race Survival
4 days
IntoTheTV X SOOP
4 days
Replay Cast
5 days
IntoTheTV X SOOP
5 days
Replay Cast
6 days
GSL
6 days
Liquipedia Results

Completed

Acropolis #5 - TRS
PiG Sty Festival 8.0
Big Dog Cup 2026 Div 1

Ongoing

KCM Race Survival 2026 Season 3
K-JUNGMAN
ASL Season 22
Super Anchor Qualifying S3
CSL 2026 AUTUMN (S22)
Acropolis #5
RSL Revival: Season 6
Calamity Invitational
FISSURE Playground #3
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 2026
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026

Upcoming

Blizzard Classic Cup 2026
Acropolis #5 - GSA
Acropolis #5 - GSB
Acropolis #5 - GSC
SC4ALL II: Brood War
HSC XXX
Stellar Fest 2: Lunar Cup
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
RSL Offline Finals
Blizzard Classic Cup 2026
PGL Major Singapore 2026
Stake Ranked Episode 6
BLAST Rivals Fall 2026
IEM Beijing 2026
Stake Ranked Episode 5
PGL Masters Bucharest 2026
1win Private Club #2
Thunderpick World Champ. '26
ESL Pro League Season 24
Stake Ranked Episode 4
1win Private Club #1
Logitech G Play Connect 2026
SL StarSeries Fall 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.