• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 22:01
CEST 04:01
KST 11:01
  • Home
  • Forum
  • Calendar
  • Streams
  • Liquipedia
  • Features
  • Store
  • EPT
  • TL+
  • StarCraft 2
  • Brood War
  • Smash
  • Heroes
  • Counter-Strike
  • Overwatch
  • Liquibet
  • Fantasy StarCraft
  • TLPD
  • StarCraft 2
  • Brood War
  • Blogs
Forum Sidebar
Events/Features
News
Featured News
Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun12[ASL21] Ro8 Preview Pt1: Inheritors16[ASL21] Ro16 Preview Pt2: All Star10Team Liquid Map Contest #22 - The Finalists22[ASL21] Ro16 Preview Pt1: Fresh Flow9
Community News
Code S Season 1 (2026) - RO12 Results02026 GSL Season 1 Qualifiers25Maestros of the Game 2 announced92026 GSL Tour plans announced15Weekly Cups (April 6-12): herO doubles, "Villains" prevail1
StarCraft 2
General
Code S Season 1 (2026) - RO12 Results Code S Season 1 - RO12 Group A: Rogue, Percival, Solar, Zoun Team Liquid Map Contest #22 - The Finalists Blizzard Classic Cup @ BlizzCon 2026 - $100k prize pool MaNa leaves Team Liquid
Tourneys
RSL Revival: Season 5 - Qualifiers and Main Event GSL Code S Season 1 (2026) SC2 INu's Battles#15 <BO.9 2Matches> WardiTV Spring Cup SEL Masters #6 - Solar vs Classic (SC: Evo)
Strategy
Custom Maps
[D]RTS in all its shapes and glory <3 [A] Nemrods 1/4 players [M] (2) Frigid Storage
External Content
The PondCast: SC2 News & Results Mutation # 523 Firewall Mutation # 522 Flip My Base Mutation # 521 Memorable Boss
Brood War
General
[BSL22] RO16 Group A - Sunday 21:00 CEST [BSL22] RO16 Group B - Saturday 21:00 CEST Pros React To: Leta vs Tulbo (ASL S21, Ro.8) RepMastered™: replay sharing and analyzer site BW General Discussion
Tourneys
Escore Tournament StarCraft Season 2 [BSL22] RO16 Group Stage - 02 - 10 May [Megathread] Daily Proleagues [ASL21] Ro8 Day 2
Strategy
Fighting Spirit mining rates Simple Questions, Simple Answers What's the deal with APM & what's its true value Any training maps people recommend?
Other Games
General Games
Daigo vs Menard Best of 10 Stormgate/Frost Giant Megathread Nintendo Switch Thread Dawn of War IV Diablo IV
Dota 2
The Story of Wings Gaming
League of Legends
G2 just beat GenG in First stand
Heroes of the Storm
Simple Questions, Simple Answers Heroes of the Storm 2.0
Hearthstone
Deck construction bug Heroes of StarCraft mini-set
TL Mafia
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas TL Mafia Community Thread Five o'clock TL Mafia
Community
General
US Politics Mega-thread European Politico-economics QA Mega-thread Russo-Ukrainian War Thread 3D technology/software discussion Canadian Politics Mega-thread
Fan Clubs
The IdrA Fan Club
Media & Entertainment
[Manga] One Piece Anime Discussion Thread [Req][Books] Good Fantasy/SciFi books Movie Discussion!
Sports
2024 - 2026 Football Thread McBoner: A hockey love story Formula 1 Discussion
World Cup 2022
Tech Support
streaming software Strange computer issues (software) [G] How to Block Livestream Ads
TL Community
The Automated Ban List
Blogs
Sexual Health Of Gamers
TrAiDoS
lurker extra damage testi…
StaticNine
Broowar part 2
qwaykee
Funny Nicknames
LUCKY_NOOB
Iranian anarchists: organize…
XenOsky
Customize Sidebar...

Website Feedback

Closed Threads



Active: 1704 users

The Big Programming Thread - Page 557

Forum Index > General Forum
Post a Reply
Prev 1 555 556 557 558 559 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.
LaNague
Profile Blog Joined April 2010
Germany9118 Posts
December 19 2014 16:24 GMT
#11121
.swf every browser including mobiles


good luck xD
Shenghi
Profile Joined August 2010
167 Posts
December 19 2014 22:53 GMT
#11122
On December 20 2014 01:13 xtorn wrote:
you cannot even play swf on iOS

That does not stop clients from demanding you (or in this case Manit0u) to make it work.
People are not born stupid, they choose to be stupid. If you made that choice, please change your mind.
Manit0u
Profile Blog Joined August 2004
Poland17740 Posts
Last Edited: 2014-12-20 11:51:39
December 20 2014 11:48 GMT
#11123
I've told the project manager to contact the client and make him reconsider. Either he uploads only webm and mp4 or he uses youtube and vimeo.

They also wanted thumbnails for it all, and if you click on a thumbnail it should open the video in the popup with all the controls and all...

Screw that, really. Creating thumbnails and converting all the videos to proper formats with ffmpeg right after they're uploaded seems like such a nasty solution. I mean, it would be fine for small movies but if they start uploading some 700+MB videos that could take some time and hamper server's performance.
Time is precious. Waste it wisely.
supereddie
Profile Joined March 2011
Netherlands151 Posts
December 20 2014 12:05 GMT
#11124
It's not that difficult though Just mention he needs something like Adobe Media Server for conversion and steaming, and use HTML5 video for playback.

Oh, too expensive? Well it can't work otherwise.
"Do not try to make difficult things possible, but make simple things simple." - David Platt on Software Design
Amnesty
Profile Joined April 2003
United States2054 Posts
December 20 2014 13:33 GMT
#11125
nunez, what compiler are you using?

vs14 barfs on that code TT
The sky just is, and goes on and on; and we play all our BW games beneath it.
nunez
Profile Blog Joined February 2011
Norway4003 Posts
Last Edited: 2014-12-20 17:39:13
December 20 2014 17:15 GMT
#11126
hahaha, yes it does! since i'm just writing for fun i'm not taking care to use features that are supported by all compilers.
fresh gcc with -std=c++1y flag is what i'm using.

it's probably protesting both constexpr and decltype(auto)!
after visual studio update 2 broke some (correctly written) template machinery code i wouldn't trust it with alias templates and default arguments on function template parameters either, allthough it's probably working fine now.

template barfs are hillariously painful to parse, the compiler is giving a sarcastic, reversed play-by-play of how it punched itself in the face on your command.
conspired against by a confederacy of dunces.
Amnesty
Profile Joined April 2003
United States2054 Posts
December 20 2014 18:47 GMT
#11127
Oh so your the author of that sequence library too?

yeah, you posted some code on how to use it but deleted the seq::forward header. heh

And the compiler mostly barfs on select_if
Looks like SFINAE is not working.
So substitution failure is a failure

As far as i know decltype(auto) works in all cases now. And constexpr works everywhere except member functions.
The sky just is, and goes on and on; and we play all our BW games beneath it.
nunez
Profile Blog Joined February 2011
Norway4003 Posts
Last Edited: 2014-12-20 19:32:10
December 20 2014 19:29 GMT
#11128
ah ye. i only put it up on bitbucket to sync twixt my computers, calling it a library is very kind of you.
it's a collection of misnomers and half-baked ideas relating to operations on sequences of types,
but it is very handy when i am tinkering.

in my latest posts i cut out some of the things (includes in particular) to shorten code, dunno if i posted the entire source at the end, i should have in any case.

select_if is just ~another name for enable_if_t. a bad idea really, but without the _t defect (the metafunction call should not suffer the naming convention, the metafunction implementation should) and with a more accurate name for the cases i was using it for at some point (when the enabled whatever is in fact, by design, selected).

select_if implementation is: here

oh really? that's great news if it's the case, my info must be dated.
means i can pretty up some code at work.
when you say member functions, do you mean static memberfunctions too?
conspired against by a confederacy of dunces.
Amnesty
Profile Joined April 2003
United States2054 Posts
December 20 2014 20:12 GMT
#11129
actually looks like it's not.
http://msdn.microsoft.com/en-us/library/vstudio/hh567368.aspx

Here it says No in all versions and cases

Which is wierd because it does work for regular functions


constexpr int times(int f)
{
return f * 2;
}

...

std::array<int, times(5)> myarray;


Not sure where i heard that info now.

At my job, i don't have to worry about any of this because my work compilers are vs10 and below.
But, playing around with new stuff is fun at home. The FSM looked interesting.

The sky just is, and goes on and on; and we play all our BW games beneath it.
nunez
Profile Blog Joined February 2011
Norway4003 Posts
Last Edited: 2014-12-20 20:39:59
December 20 2014 20:17 GMT
#11130
the new stuff is juicy.

i just remembered that variant uses another metafunction (mimic) i haven't put on bitbucket and also it uses ref qualified functions, which i think is not supported either.

the fsm framework is sweet because it's very minimal, nice for prototyping.
would be interesting to do a performance comparison with boost's fsm as well.
i'll try remember to do that next, can do it in vs14 compatible way, with all the headers in place.
much more fun for me if you are able to tinker with it too.
conspired against by a confederacy of dunces.
Amnesty
Profile Joined April 2003
United States2054 Posts
Last Edited: 2014-12-20 22:24:38
December 20 2014 21:07 GMT
#11131
On December 21 2014 05:17 nunez wrote:
the new stuff is juicy.

i just remembered that variant uses another metafunction (mimic) i haven't put on bitbucket and also it uses ref qualified functions, which i think is not supported either.

the fsm framework is sweet because it's very minimal, nice for prototyping.
would be interesting to do a performance comparison with boost's fsm as well.
i'll try remember to do that next, can do it in vs14 compatible way, with all the headers in place.
much more fun for me if you are able to tinker with it too.


Cool that'd be nice.

edit:

ref qualifed functions appear to work

struct S {
void f() & { std::cout << "lvalue\n"; }
void f() && { std::cout << "rvalue\n"; }
};

...
S s;
s.f(); // prints "lvalue"
std::move(s).f(); // prints "rvalue"
S().f(); // prints "rvalue"


All as expected.

And these constexpr uses also work

// Works
struct Test1
{
static constexpr int value{ 15 };
};

// Works
template<class... Tn>
struct Test2
{
static constexpr int value{ sizeof...(Tn) };
};


The sky just is, and goes on and on; and we play all our BW games beneath it.
Manit0u
Profile Blog Joined August 2004
Poland17740 Posts
December 22 2014 12:39 GMT
#11132
New intern. 50+. I ask about git. He says something along the lines of "Yeah, I've downloaded some zip files from GitHub before."

Kill... meeeee...
Time is precious. Waste it wisely.
Djagulingu
Profile Blog Joined December 2010
Germany3605 Posts
December 22 2014 14:55 GMT
#11133
On December 22 2014 21:39 Manit0u wrote:
New intern. 50+. I ask about git. He says something along the lines of "Yeah, I've downloaded some zip files from GitHub before."

Kill... meeeee...

I hope that what you mean by 50+ is not the age of the intern. Please not. By the way, as a junior, I've never used Git, ever (I have one project in my one repository, which I only used sync and commit, not even update. Because I was the sole contributor to that project).
"windows bash is a steaming heap of shit" tofucake
icystorage
Profile Blog Joined November 2008
Jollibee19350 Posts
December 22 2014 14:56 GMT
#11134
i still need to consult git documentary. im very thankful for visual studio's source control.
LiquidDota StaffAre you ready for a Miracle-? We are! The International 2017 Champions!
Manit0u
Profile Blog Joined August 2004
Poland17740 Posts
Last Edited: 2014-12-22 15:10:07
December 22 2014 15:09 GMT
#11135
On December 22 2014 23:55 Djagulingu wrote:
Show nested quote +
On December 22 2014 21:39 Manit0u wrote:
New intern. 50+. I ask about git. He says something along the lines of "Yeah, I've downloaded some zip files from GitHub before."

Kill... meeeee...

I hope that what you mean by 50+ is not the age of the intern. Please not.


It is. And he won't stop asking questions that you can google instantly, not even related to work...

And as an intern in my previous company I had to do merge requests into development from the get go and was responsible for some merge requests into production 1 month in. It sure taught me to look VERY carefully at the code. Both mine and other people's.
Time is precious. Waste it wisely.
Deleted User 101379
Profile Blog Joined August 2010
4849 Posts
December 22 2014 15:11 GMT
#11136
On December 22 2014 23:56 icystorage wrote:
i still need to consult git documentary. im very thankful for visual studio's source control.


It took me about 3-6 month of using git and being forced to work with feature branches before I really got git after working for decades with cvs and svn. It's definitely worth spending the time to dig into git.
Manit0u
Profile Blog Joined August 2004
Poland17740 Posts
Last Edited: 2014-12-23 20:36:58
December 23 2014 20:32 GMT
#11137
Yeah, life without git is unimaginable.

btw. everyone should update their git if they're on Windows or OS X, there were some pretty nasty bugs found in releases for those platforms last week.

http://arstechnica.com/security/2014/12/critical-git-bug-allows-malicious-code-execution-on-client-machines/
Time is precious. Waste it wisely.
McDutch
Profile Joined February 2011
Netherlands184 Posts
December 24 2014 20:19 GMT
#11138
So I'm here for a little advice. =) I'm a Junior webdeveloper. I'm mainly working as a back-end developer with PHP, Laravel. As of interest I want to get into game development as a hobby. I don't expect to create anything awesome anytime soon, but i just want to learn. Obviously I've googled a lot and a lot of different opinions.

I thought about learning C++ and C#, but then i read that XNA will not be supported on a lot of platforms anymore. Which makes me anxious about getting into it.

I could still learn C#, and go with Unity. For Unity i could even use javascript, which i obviously don't have to learn from scratch, but i feel learning C# will make me a better programmer.

I guess this question has been asked at least hundreds of times, but out of experience i know TL is mostly filled with Wise people who can show me some good insight and point me into the right direction!
naniwa, grubby, white-ra, ret
fmod
Profile Blog Joined November 2013
Cayman Islands330 Posts
December 24 2014 20:34 GMT
#11139
Anyone has experience with the languages Rust and Go? Especially CG/game related things. They look quite attractive to me, so much more neat and less bloated than c++. Much more modern I'd say.
I don't particularly like you.
spinesheath
Profile Blog Joined June 2009
Germany8679 Posts
December 24 2014 22:14 GMT
#11140
On December 25 2014 05:19 McDutch wrote:
So I'm here for a little advice. =) I'm a Junior webdeveloper. I'm mainly working as a back-end developer with PHP, Laravel. As of interest I want to get into game development as a hobby. I don't expect to create anything awesome anytime soon, but i just want to learn. Obviously I've googled a lot and a lot of different opinions.

I thought about learning C++ and C#, but then i read that XNA will not be supported on a lot of platforms anymore. Which makes me anxious about getting into it.

I could still learn C#, and go with Unity. For Unity i could even use javascript, which i obviously don't have to learn from scratch, but i feel learning C# will make me a better programmer.

I guess this question has been asked at least hundreds of times, but out of experience i know TL is mostly filled with Wise people who can show me some good insight and point me into the right direction!

Since you don't expect to create anything awesome anytime soon, C# will do the job for now. You'll have to get familiar with frequently occuring problems and concepts in game programming in order to become good at it. These problems and concepts should mostly apply to just about any language/framework, so it really won't matter a whole lot which language you use at the start. Similarly with programming languages in general; the majority of skills can be transfered between languages.

I personally recommend C# over C++ unless you have a specific reason to choose C++. C++ is a very powerful language, but it also requires a lot of effort and practice to use it properly.
If you have a good reason to disagree with the above, please tell me. Thank you.
Prev 1 555 556 557 558 559 1032 Next
Please log in or register to reply.
Live Events Refresh
Replay Cast
00:00
2026 GSL S1: Ro12 Group A
CranKy Ducklings109
Liquipedia
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 144
PiGStarcraft114
ProTech102
PattyMac 5
StarCraft: Brood War
NaDa 23
Dota 2
monkeys_forever836
League of Legends
Doublelift3914
Counter-Strike
fl0m4144
taco 664
Super Smash Bros
C9.Mang0342
Other Games
summit1g7198
tarik_tv5023
JimRising 372
WinterStarcraft326
ViBE65
amsayoshi38
Organizations
Other Games
gamesdonequick664
BasetradeTV151
Dota 2
PGL Dota 2 - Main Stream65
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 11 non-featured ]
StarCraft 2
• AfreecaTV YouTube
• intothetv
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
Other Games
• Scarra1218
Upcoming Events
Replay Cast
6h 59m
RSL Revival
7h 59m
Classic vs GgMaChine
Rogue vs Maru
WardiTV Invitational
8h 59m
Percival vs Shameless
ByuN vs YoungYakov
IPSL
13h 59m
Ret vs Art_Of_Turtle
Radley vs TBD
BSL
16h 59m
Replay Cast
21h 59m
RSL Revival
1d 7h
herO vs TriGGeR
NightMare vs Solar
uThermal 2v2 Circuit
1d 11h
BSL
1d 16h
IPSL
1d 16h
eOnzErG vs TBD
G5 vs Nesh
[ Show More ]
Patches Events
1d 21h
Replay Cast
2 days
Wardi Open
2 days
Afreeca Starleague
2 days
Jaedong vs Light
Monday Night Weeklies
2 days
Replay Cast
2 days
Sparkling Tuna Cup
3 days
Afreeca Starleague
3 days
Snow vs Flash
WardiTV Invitational
3 days
GSL
4 days
Classic vs Cure
Maru vs Rogue
GSL
5 days
SHIN vs Zoun
ByuN vs herO
Replay Cast
5 days
Escore
6 days
The PondCast
6 days
WardiTV Invitational
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Escore Tournament S2: W5
WardiTV TLMC #16
Nations Cup 2026

Ongoing

BSL Season 22
ASL Season 21
CSL 2026 SPRING (S20)
IPSL Spring 2026
KCM Race Survival 2026 Season 2
KK 2v2 League Season 1
Acropolis #4
SCTL 2026 Spring
RSL Revival: Season 5
2026 GSL S1
BLAST Rivals Spring 2026
IEM Rio 2026
PGL Bucharest 2026
Stake Ranked Episode 1
BLAST Open Spring 2026
ESL Pro League S23 Finals
ESL Pro League S23 Stage 1&2
PGL Cluj-Napoca 2026

Upcoming

BSL 22 Non-Korean Championship
CSLAN 4
Kung Fu Cup 2026 Grand Finals
HSC XXIX
uThermal 2v2 2026 Main Event
Maestros of the Game 2
2026 GSL S2
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
IEM Atlanta 2026
Asian Champions League 2026
PGL Astana 2026
TLPD

1. ByuN
2. TY
3. Dark
4. Solar
5. Stats
6. Nerchio
7. sOs
8. soO
9. INnoVation
10. Elazer
1. Rain
2. Flash
3. EffOrt
4. Last
5. Bisu
6. Soulkey
7. Mini
8. Sharp
Sidebar Settings...

Advertising | Privacy Policy | Terms Of Use | Contact Us

Original banner artwork: Jim Warren
The contents of this webpage are copyright © 2026 TLnet. All Rights Reserved.