• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 11:30
CEST 17:30
KST 00:30
  • 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
Serral wins EWC 202537Tournament Spotlight: FEL Cracow 202510Power Rank - Esports World Cup 202580RSL Season 1 - Final Week9[ASL19] Finals Recap: Standing Tall15
Community News
LiuLi Cup - August 2025 Tournaments3[BSL 2025] H2 - Team Wars, Weeklies & SB Ladder9EWC 2025 - Replay Pack4Google Play ASL (Season 20) Announced53BSL Team Wars - Bonyth, Dewalt, Hawk & Sziky teams10
StarCraft 2
General
The GOAT ranking of GOAT rankings Interview with Chris "ChanmanV" Chan Serral wins EWC 2025 Tournament Spotlight: FEL Cracow 2025 Classic: "It's a thick wall to break through to become world champ"
Tourneys
Sparkling Tuna Cup - Weekly Open Tournament LiuLi Cup - August 2025 Tournaments Sea Duckling Open (Global, Bronze-Diamond) TaeJa vs Creator Bo7 SC Evo Showmatch FEL Cracov 2025 (July 27) - $10,000 live event
Strategy
Custom Maps
External Content
Mutation # 484 Magnetic Pull Mutation #239 Bad Weather Mutation # 483 Kill Bot Wars Mutation # 482 Wheel of Misfortune
Brood War
General
BW General Discussion Which top zerg/toss will fail in qualifiers? Google Play ASL (Season 20) Announced Nobody gona talk about this year crazy qualifiers? Scmdraft 2 - 0.9.0 Preview
Tourneys
[ASL20] Online Qualifiers Day 2 [ASL20] Online Qualifiers Day 1 [Megathread] Daily Proleagues Small VOD Thread 2.0
Strategy
[G] Mineral Boosting Muta micro map competition Does 1 second matter in StarCraft? Simple Questions, Simple Answers
Other Games
General Games
Stormgate/Frost Giant Megathread Nintendo Switch Thread Beyond All Reason Total Annihilation Server - TAForever [MMORPG] Tree of Savior (Successor of Ragnarok)
Dota 2
Official 'what is Dota anymore' discussion
League of Legends
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Heroes of StarCraft mini-set
TL Mafia
TL Mafia Community Thread Vanilla Mini Mafia
Community
General
9/11 Anniversary Possible Al Qaeda Attack on 9/11 US Politics Mega-thread Things Aren’t Peaceful in Palestine European Politico-economics QA Mega-thread
Fan Clubs
INnoVation Fan Club SKT1 Classic Fan Club!
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [\m/] Heavy Metal Thread Movie Discussion! Korean Music Discussion
Sports
Formula 1 Discussion 2024 - 2025 Football Thread TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
Gtx660 graphics card replacement Installation of Windows 10 suck at "just a moment" Computer Build, Upgrade & Buying Resource Thread
TL Community
TeamLiquid Team Shirt On Sale The Automated Ban List
Blogs
ASL S20 English Commentary…
namkraft
The Link Between Fitness and…
TrAiDoS
momentary artworks from des…
tankgirl
from making sc maps to makin…
Husyelt
StarCraft improvement
iopq
Socialism Anyone?
GreenHorizons
Customize Sidebar...

Website Feedback

Closed Threads



Active: 702 users

The Big Programming Thread - Page 561

Forum Index > General Forum
Post a Reply
Prev 1 559 560 561 562 563 1031 Next
Thread Rules
1. This is not a "do my homework for me" thread. If you have specific questions, ask, but don't post an assignment or homework problem and expect an exact solution.
2. No recruiting for your cockamamie projects (you won't replace facebook with 3 dudes you found on the internet and $20)
3. If you can't articulate why a language is bad, don't start slinging shit about it. Just remember that nothing is worse than making CSS IE6 compatible.
4. Use [code] tags to format code blocks.
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
Poland17257 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 1031 Next
Please log in or register to reply.
Live Events Refresh
BSL20 Non-Korean Champi…
14:00
Playoff - Day 2/2 - Final
Mihu vs FengziLIVE!
Dewalt vs BonythLIVE!
ZZZero.O248
LiquipediaDiscussion
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
Hui .308
SpeCial 148
mcanning 105
ProTech45
MindelVK 30
ForJumy 30
StarCraft: Brood War
Calm 5787
Stork 1054
Mini 1001
Horang2 893
Hyuk 624
EffOrt 574
ggaemo 445
firebathero 316
Mong 309
ZZZero.O 248
[ Show more ]
Larva 194
hero 145
Leta 111
TY 82
ToSsGirL 81
Zeus 68
Sea.KH 33
Terrorterran 22
Sharp 10
Dota 2
Gorgc5496
qojqva4027
420jenkins1873
XcaliburYe385
LuMiX1
League of Legends
Reynor72
Counter-Strike
tarik_tv6569
fl0m3521
ScreaM874
sgares215
oskar8
Heroes of the Storm
Liquid`Hasu543
Khaldor534
Other Games
Happy303
mouzStarbuck217
ArmadaUGS92
Organizations
Other Games
BasetradeTV28
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 17 non-featured ]
StarCraft 2
• Berry_CruncH107
• Gemini_19 84
• davetesta45
• Reevou 5
• AfreecaTV YouTube
• intothetv
• sooper7s
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
StarCraft: Brood War
• FirePhoenix12
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV1001
League of Legends
• Jankos1538
Upcoming Events
WardiTV European League
30m
ByuN vs ShoWTimE
HeRoMaRinE vs MaxPax
Wardi Open
19h 30m
OSC
1d 8h
Stormgate Nexus
2 days
uThermal 2v2 Circuit
3 days
The PondCast
3 days
Replay Cast
4 days
LiuLi Cup
4 days
uThermal 2v2 Circuit
4 days
RSL Revival
5 days
[ Show More ]
RSL Revival
5 days
uThermal 2v2 Circuit
5 days
Sparkling Tuna Cup
6 days
uThermal 2v2 Circuit
6 days
Liquipedia Results

Completed

ASL Season 20: Qualifier #1
FEL Cracow 2025
CC Div. A S7

Ongoing

Copa Latinoamericana 4
Jiahua Invitational
BSL 20 Non-Korean Championship
BSL 20 Team Wars
KCM Race Survival 2025 Season 3
BSL 21 Qualifiers
ASL Season 20: Qualifier #2
HCC Europe
IEM Cologne 2025
FISSURE Playground #1
BLAST.tv Austin Major 2025
ESL Impact League Season 7
IEM Dallas 2025

Upcoming

ASL Season 20
CSLPRO Chat StarLAN 3
BSL Season 21
RSL Revival: Season 2
Maestros of the Game
SEL Season 2 Championship
WardiTV Summer 2025
uThermal 2v2 Main Event
Thunderpick World Champ.
MESA Nomadic Masters Fall
CAC 2025
Roobet Cup 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2
BLAST Open Fall 2025
BLAST Open Fall Qual
Esports World Cup 2025
BLAST Bounty Fall 2025
BLAST Bounty Fall Qual
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.