• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 19:34
CEST 01:34
KST 08: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
Serral wins HomeStory Cup 2914Serral wins Maestros of the Game 243ByuL, and the Limitations of Standard Play3Team Liquid Map Contest #22: Results and Winners7Code S Season 2 (2026): RO4 and Finals Preview12
Community News
ZeroSpace Early Access is Now Live!10Weekly Cups (July 13-19): Terran & Protoss rise; Zerg falters2Balance hotfix patch 5.0.16b (July 16)80Reynor: GSL Loss Wasn't About Preparation Format16[IPSL] Spring 2026 Grand Finals - This Weekend!18
StarCraft 2
General
Balance hotfix patch 5.0.16b (July 16) Weekly Cups (July 13-19): Terran & Protoss rise; Zerg falters How would you feel about frequent/monthly balance patches for SC2? Clem: "I don't have that much hope in Blizzard" [D] Wireframe Casting Removed
Tourneys
RSL Revival: Season 6 - Qualifiers and Main Event Master Swan Open (Global Bronze-Master 2) WardiTV Summer Cup 2026 GSL CK #5 Race War HomeStory Cup 29
Strategy
[G] Having the right mentality to improve
Custom Maps
New Map Maker - Looking for Advice - Love or Hate Work In Progress Melee Maps [D]RTS in all its shapes and glory <3
External Content
Mutation # 535 Assembly of Vengeance The PondCast: SC2 News & Results Mutation # 534 Burning Evacuation Mutation # 533 Die Together
Brood War
General
BW General Discussion HORROR STARCRAFT MOVIE BGH Auto Balance -> http://bghmmr.eu/ How Famous was FlaSh before his Debut? screpdb: new Starcraft reporting tool
Tourneys
[Megathread] Daily Proleagues [IPSL] Spring 2026 Grand Finals - This Weekend! Escore Tournament - Season 3 Small VOD Thread 2.0
Strategy
Simple Questions, Simple Answers PvT advise for noobs Fighting Spirit mining rates Creating a full chart of Zerg builds
Other Games
General Games
Path of Exile ZeroSpace Early Access is Now Live! General RTS Discussion Thread ZeroSpace at Steam NextFest - Last free demo Nintendo Switch Thread
Dota 2
Looking for a Dota Mentor Official 'what is Dota anymore' discussion
League of Legends
TSM pausing esports and CLG Dead
Heroes of the Storm
Heroes of the Storm 2.0
Hearthstone
Deck construction bug
TL Mafia
TL Mafia Power Rank NeO.D_StephenKing vs This Guy From 1 Million Dance TL Mafia Community Thread Vanilla Mini Mafia
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread How to buy a book - shipping from Korea to Europe The Games Industry And ATVI UK Politics Mega-thread
Fan Clubs
The IdrA Fan Club The HerO Fan Club!
Media & Entertainment
Series you have seen recently... Anime Discussion Thread Movie Discussion! [Req][Books] Good Fantasy/SciFi books
Sports
2024 - 2026 Football Thread TeamLiquid Health and Fitness Initiative For 2023 Formula 1 Discussion MLB/Baseball 2023 McBoner: A hockey love story
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread Simple Questions Simple Answers FPS when play League Of Legend on laptop
TL Community
Northern Ireland Global Starcraft The Automated Ban List
Blogs
Hello guys!
LIN1s
Role of Gaming on Mental Hea…
TrAiDoS
ASL S22 English Commentary…
namkraft
Poker (part 2)
Nebuchad
An Exploration of th…
waywardstrategy
ramps on octagon
StaticNine
Customize Sidebar...

Website Feedback

Closed Threads



Active: 6580 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
Poland17798 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
Poland17798 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
Poland17798 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
Poland17798 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
Next event in 26m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
ViBE264
BRAT_OK 60
StarCraft: Brood War
Artosis 514
League of Legends
JimRising 427
Trikslyr47
Counter-Strike
summit1g8802
minikerr53
Super Smash Bros
hungrybox620
PPMD39
Other Games
tarik_tv5836
Grubby2630
shahzam586
UpATreeSC252
ToD202
Temp02
JuggernautJason1
Organizations
Other Games
gamesdonequick1098
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
[ Show 17 non-featured ]
StarCraft 2
• Hupsaiya 90
• RyuSc2 44
• Adnapsc2 18
• Kozan
• LaughNgamezSOOP
• sooper7s
• AfreecaTV YouTube
• intothetv
• Migwel
• IndyKCrew
StarCraft: Brood War
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• TFBlade623
Other Games
• Scarra1442
• imaqtpie892
• Shiphtur260
Upcoming Events
PiGosaur Cup
26m
The PondCast
10h 26m
Kung Fu Cup
11h 26m
OSC
1d
CrankTV Team League
1d 11h
Replay Cast
2 days
CrankTV Team League
2 days
Korean StarCraft League
3 days
Afreeca Starleague
3 days
RSL Revival
3 days
Serral vs SHIN
herO vs Solar
[ Show More ]
Online Event
3 days
Replay Cast
4 days
RSL Revival
4 days
Clem vs ByuN
Rogue vs Lambo
WardiTV Weekly
5 days
Sparkling Tuna Cup
6 days
Liquipedia Results

Completed

Acropolis #4
HSC XXIX
Eternal Conflict S2 E3

Ongoing

CSL 2026 Summer (S21)
KCM Race Survival 2026 Season 3
Proleague 2026-07-21
RSL Revival: Season 6
CranK Gathers Season 4: BW vs SC2 Team League
SCTL 2026 Spring
BLAST Bounty Summer Qual
Stake Ranked Episode 3
XSE Pro League 2026
IEM Cologne Major 2026
Stake Ranked Episode 2
CS Asia Championships 2026
Asian Champions League 2026
IEM Atlanta 2026
PGL Astana 2026

Upcoming

Escore Tournament S3: W4
ASL S22 SEASON OPEN Day 2
Escore Tournament S3: W5
CSLAN 4
Blizzard Classic Cup 2026
HSC XXX
SC4ALL II: StarCraft II
Kung Fu Cup 2026 Grand Finals
Light Tournament 2026
Eternal Conflict S2 Finale
ESL Pro League Season 24
Stake Ranked Episode 4
Logitech G Connect 2026
SL StarSeries Fall 2026
FISSURE Playground #5
BLAST Open Fall 2026
Esports World Cup 2026
BLAST Bounty Summer 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.