• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 13:39
CET 19:39
KST 03:39
  • 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 Revival - 2025 Season Finals Preview8RSL Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12
Community News
Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets0$21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7)12Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns7[BSL21] Non-Korean Championship - Starts Jan 103SC2 All-Star Invitational: Jan 17-1822
StarCraft 2
General
When will we find out if there are more tournament SC2 Spotted on the EWC 2026 list? Weekly Cups (Jan 5-11): Clem wins big offline, Trigger upsets Weekly Cups (Dec 29-Jan 4): Protoss rolls, 2v2 returns Spontaneous hotkey change zerg
Tourneys
$25,000 Streamerzone StarCraft Pro Series announced $21,000 Rongyi Cup Season 3 announced (Jan 22-Feb 7) WardiTV Winter Cup WardiTV Mondays SC2 AI Tournament 2026
Strategy
Simple Questions Simple Answers
Custom Maps
Map Editor closed ?
External Content
Mutation # 508 Violent Night Mutation # 507 Well Trained Mutation # 506 Warp Zone Mutation # 505 Rise From Ashes
Brood War
General
[ASL21] Potential Map Candidates Potential ASL qualifier breakthroughs? A cwal.gg Extension - Easily keep track of anyone BGH Auto Balance -> http://bghmmr.eu/ BW General Discussion
Tourneys
[Megathread] Daily Proleagues [BSL21] Grand Finals - Sunday 21:00 CET [BSL21] Non-Korean Championship - Starts Jan 10 SLON Grand Finals – Season 2
Strategy
Game Theory for Starcraft Simple Questions, Simple Answers Current Meta [G] How to get started on ladder as a new Z player
Other Games
General Games
Beyond All Reason Nintendo Switch Thread Awesome Games Done Quick 2026! Mechabellum Stormgate/Frost Giant Megathread
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
Vanilla Mini Mafia Mafia Game Mode Feedback/Ideas
Community
General
Things Aren’t Peaceful in Palestine US Politics Mega-thread Russo-Ukrainian War Thread European Politico-economics QA Mega-thread Trading/Investing Thread
Fan Clubs
White-Ra Fan Club
Media & Entertainment
Anime Discussion Thread
Sports
2024 - 2026 Football Thread
World Cup 2022
Tech Support
Computer Build, Upgrade & Buying Resource Thread
TL Community
The Automated Ban List TL+ Announced
Blogs
My 2025 Magic: The Gathering…
DARKING
Physical Exercise (HIIT) Bef…
TrAiDoS
Life Update and thoughts.
FuDDx
How do archons sleep?
8882
James Bond movies ranking - pa…
Topin
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2605 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
Poland17596 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
Poland17596 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
Poland17596 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
Poland17596 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 6h 22m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
UpATreeSC 274
BRAT_OK 142
JuggernautJason113
SC2Nice 47
MindelVK 43
White-Ra 2
StarCraft: Brood War
firebathero 148
Mong 105
Dewaltoss 59
Hyun 58
scan(afreeca) 18
NaDa 9
Dota 2
qojqva3943
Counter-Strike
ceh9409
Heroes of the Storm
Liquid`Hasu414
Other Games
Grubby5103
Gorgc2930
Liquid`RaSZi2044
B2W.Neo1512
FrodaN771
Beastyqt556
Fuzer 324
ArmadaUGS238
DeMusliM179
QueenE126
Mew2King39
Organizations
Other Games
gamesdonequick3553
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 18 non-featured ]
StarCraft 2
• StrangeGG 34
• IndyKCrew
• sooper7s
• AfreecaTV YouTube
• Migwel
• intothetv
• LaughNgamezSOOP
• Kozan
StarCraft: Brood War
• HerbMon 31
• FirePhoenix5
• STPLYoutube
• ZZZeroYoutube
• BSLYoutube
Dota 2
• WagamamaTV490
League of Legends
• TFBlade1268
• Shiphtur543
• Nemesis522
Other Games
• imaqtpie1284
Upcoming Events
PiGosaur Cup
6h 22m
WardiTV Invitational
17h 22m
The PondCast
1d 15h
OSC
1d 17h
OSC
2 days
All Star Teams
3 days
INnoVation vs soO
sOs vs Scarlett
uThermal 2v2 Circuit
3 days
All Star Teams
4 days
MMA vs DongRaeGu
Rogue vs Oliveira
Sparkling Tuna Cup
4 days
OSC
4 days
[ Show More ]
Replay Cast
5 days
Wardi Open
5 days
Liquipedia Results

Completed

Proleague 2026-01-12
Big Gabe Cup #3
NA Kuram Kup

Ongoing

C-Race Season 1
IPSL Winter 2025-26
BSL 21 Non-Korean Championship
CSL 2025 WINTER (S19)
OSC Championship Season 13
Underdog Cup #3
BLAST Bounty Winter Qual
eXTREMESLAND 2025
SL Budapest Major 2025
ESL Impact League Season 8
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025

Upcoming

Escore Tournament S1: W4
Acropolis #4
IPSL Spring 2026
Bellum Gens Elite Stara Zagora 2026
HSC XXVIII
Rongyi Cup S3
Thunderfire SC2 All-star 2025
Nations Cup 2026
BLAST Open Spring 2026
ESL Pro League Season 23
ESL Pro League Season 23
PGL Cluj-Napoca 2026
IEM Kraków 2026
BLAST Bounty Winter 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.