• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EDT 14:42
CEST 20:42
KST 03:42
  • 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
StarCraft open world shooter announced at BlizzCon15Weekly Cups (Aug 30-Sep 7): herO thrives amid growing schism10Official StarCraft website teases new content ahead of BlizzCon?152Stellar Fest TWO the Moon (Dec 16-20)9Weekly Cups (August 24-30): Patches' balance mod takes over3
StarCraft 2
General
StarCraft open world shooter announced at BlizzCon 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!
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? Broodwar Prediction Market BGH Auto Balance -> http://bghmmr.eu/ Practice Partners (Official) [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
Diablo Animated Series on Netflix 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: 6661 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
Poland17843 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
Poland17843 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
Poland17843 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
Poland17843 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
AI Arena Tournament
17:00
Swiss - Round 1
Laughngamez YouTube
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RotterdaM 777
Tasteless 498
BRAT_OK 82
CosmosSc2 66
StarCraft: Brood War
Britney 25464
Calm 3621
firebathero 928
Artosis 667
Shuttle 650
Mini 159
Dewaltoss 112
910 65
HiyA 54
Mong 45
[ Show more ]
Hm[arnc] 17
Noble 6
Dota 2
qojqva3513
420jenkins333
monkeys_forever41
canceldota20
Counter-Strike
fl0m1349
Fnx 715
Super Smash Bros
Chillindude16
Heroes of the Storm
Liquid`Hasu928
Trikslyr79
Other Games
Grubby5560
B2W.Neo1184
JimRising 443
Mlord338
XaKoH 112
QueenE51
Organizations
Heroes of the Storm
Heroes of the Storm2397
StarCraft 2
StarCraft1633
Other Games
EGCTV1270
StarCraft 2
ComeBackTV 838
StarCraft: Brood War
Afreeca ASL 594
Other Games
BasetradeTV42
angryscii35
[ Show 16 non-featured ]
StarCraft 2
• Hupsaiya 80
• printf 36
• EnkiAlexander 8
• AfreecaTV YouTube
• intothetv
• Migwel
• Kozan
• IndyKCrew
StarCraft: Brood War
• Airneanach36
• FirePhoenix8
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
League of Legends
• Jankos1684
Other Games
• imaqtpie620
• Shiphtur158
Upcoming Events
OSC
1h 48m
Sparkling Tuna Cup
15h 18m
WardiTV Invitational
16h 18m
ByuN vs Percival
Cure vs Classic
Shopify Rebellion Sundays
20h 18m
Spirit vs Mixu
Clem vs TBD
RSL Revival
21h 18m
Serral vs Rogue
BlizzCon
23h 48m
IdrA vs MC
Replay Cast
1d 5h
Afreeca Starleague
1d 15h
Light vs JyJ
Soulkey vs hero
WardiTV Weekly
1d 16h
Monday Night Weeklies
1d 21h
[ 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.