• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 02:46
CET 08:46
KST 16:46
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10[ASL20] Finals Preview: Arrival13
Community News
RSL Season 3: RO16 results & RO8 bracket0Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge1[TLMC] Fall/Winter 2025 Ladder Map Rotation14Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA9
StarCraft 2
General
GM / Master map hacker and general hacking and cheating thread RSL Season 3: RO16 results & RO8 bracket Mech is the composition that needs teleportation t SC: Evo Complete - Ranked Ladder OPEN ALPHA RotterdaM "Serral is the GOAT, and it's not close"
Tourneys
Constellation Cup - Main Event - Stellar Fest 2025 RSL Offline Finals Dates + Ticket Sales! $5,000+ WardiTV 2025 Championship RSL Revival: Season 3 Sparkling Tuna Cup - Weekly Open Tournament
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened
Brood War
General
FlaSh on: Biggest Problem With SnOw's Playstyle What happened to TvZ on Retro? BGH Auto Balance -> http://bghmmr.eu/ SnOw's ASL S20 Finals Review BW General Discussion
Tourneys
[BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET [Megathread] Daily Proleagues Small VOD Thread 2.0 [BSL21] RO32 Group D - Sunday 21:00 CET
Strategy
Current Meta How to stay on top of macro? PvZ map balance Simple Questions, Simple Answers
Other Games
General Games
Clair Obscur - Expedition 33 Beyond All Reason Stormgate/Frost Giant Megathread Should offensive tower rushing be viable in RTS games? Path of Exile
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
Russo-Ukrainian War Thread US Politics Mega-thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI About SC2SEA.COM
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
Movie Discussion! [Manga] One Piece Anime Discussion Thread Korean Music Discussion
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
Dyadica Gospel – a Pulp No…
Hildegard
Coffee x Performance in Espo…
TrAiDoS
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Reality "theory" prov…
perfectspheres
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2265 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
Poland17440 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 2h 14m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ProTech127
SortOf 114
Trikslyr31
StarCraft: Brood War
Sea 3931
Free 553
BeSt 385
Zeus 241
Killer 237
EffOrt 138
Sharp 44
Shinee 27
NotJumperer 19
Hm[arnc] 11
Dota 2
monkeys_forever690
League of Legends
JimRising 557
Reynor97
Counter-Strike
Coldzera 1454
Other Games
summit1g11921
C9.Mang0208
Happy92
Fuzer 41
rGuardiaN36
Dewaltoss15
Organizations
Dota 2
PGL Dota 2 - Main Stream1180
Other Games
gamesdonequick602
StarCraft: Brood War
UltimateBattle 106
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 12 non-featured ]
StarCraft 2
• Berry_CruncH59
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Rush1878
Upcoming Events
The PondCast
2h 14m
Replay Cast
15h 14m
RSL Revival
23h 44m
herO vs Zoun
Classic vs Reynor
Maru vs SHIN
MaxPax vs TriGGeR
BSL: GosuLeague
1d 13h
RSL Revival
1d 23h
WardiTV Korean Royale
2 days
RSL Revival
2 days
WardiTV Korean Royale
3 days
IPSL
3 days
Julia vs Artosis
JDConan vs DragOn
RSL Revival
3 days
[ Show More ]
Wardi Open
4 days
IPSL
4 days
StRyKeR vs OldBoy
Sziky vs Tarson
Replay Cast
4 days
Monday Night Weeklies
5 days
Replay Cast
5 days
Wardi Open
6 days
Liquipedia Results

Completed

Proleague 2025-11-16
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 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.