• Log InLog In
  • Register
Liquid`
Team Liquid Liquipedia
EST 23:36
CET 05:36
KST 13:36
  • 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 Season 3 - Playoffs Preview0RSL Season 3 - RO16 Groups C & D Preview0RSL Season 3 - RO16 Groups A & B Preview2TL.net Map Contest #21: Winners12Intel X Team Liquid Seoul event: Showmatches and Meet the Pros10
Community News
RSL Season 3: RO16 results & RO8 bracket11Weekly Cups (Nov 10-16): Reynor, Solar lead Zerg surge1[TLMC] Fall/Winter 2025 Ladder Map Rotation14Weekly Cups (Nov 3-9): Clem Conquers in Canada4SC: Evo Complete - Ranked Ladder OPEN ALPHA12
StarCraft 2
General
RSL Season 3: RO16 results & RO8 bracket SC: Evo Complete - Ranked Ladder OPEN ALPHA RSL Season 3 - Playoffs Preview Mech is the composition that needs teleportation t GM / Master map hacker and general hacking and cheating thread
Tourneys
StarCraft Evolution League (SC Evo Biweekly) RSL Revival: Season 3 $5,000+ WardiTV 2025 Championship Constellation Cup - Main Event - Stellar Fest 2025 RSL Offline Finals Dates + Ticket Sales!
Strategy
Custom Maps
Map Editor closed ?
External Content
Mutation # 500 Fright night Mutation # 499 Chilling Adaptation Mutation # 498 Wheel of Misfortune|Cradle of Death Mutation # 497 Battle Haredened
Brood War
General
Data analysis on 70 million replays soO on: FanTaSy's Potential Return to StarCraft FlaSh on: Biggest Problem With SnOw's Playstyle [ASL20] Ask the mapmakers — Drop your questions BGH Auto Balance -> http://bghmmr.eu/
Tourneys
Small VOD Thread 2.0 [BSL21] GosuLeague T1 Ro16 - Tue & Thu 22:00 CET [BSL21] RO16 Tie Breaker - Group B - Sun 21:00 CET [BSL21] RO16 Tie Breaker - Group A - Sat 21:00 CET
Strategy
Current Meta Game Theory for Starcraft How to stay on top of macro? PvZ map balance
Other Games
General Games
Path of Exile Stormgate/Frost Giant Megathread [Game] Osu! Should offensive tower rushing be viable in RTS games? Clair Obscur - Expedition 33
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
TL Mafia Community Thread SPIRED by.ASL Mafia {211640}
Community
General
US Politics Mega-thread Russo-Ukrainian War Thread Things Aren’t Peaceful in Palestine The Games Industry And ATVI About SC2SEA.COM
Fan Clubs
White-Ra Fan Club The herO Fan Club!
Media & Entertainment
[Manga] One Piece Movie Discussion! Anime Discussion Thread Korean Music Discussion
Sports
2024 - 2026 Football Thread Formula 1 Discussion NBA General Discussion MLB/Baseball 2023 TeamLiquid Health and Fitness Initiative For 2023
World Cup 2022
Tech Support
TL Community
The Automated Ban List
Blogs
The Health Impact of Joining…
TrAiDoS
Dyadica Evangelium — Chapt…
Hildegard
Saturation point
Uldridge
DnB/metal remix FFO Mick Go…
ImbaTosS
Customize Sidebar...

Website Feedback

Closed Threads



Active: 2058 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
Poland17444 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
Poland17444 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
Poland17444 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
Poland17444 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 2h 54m
[ Submit Event ]
Live Streams
Refresh
StarCraft 2
RuFF_SC2 143
ProTech43
StarCraft: Brood War
Sea 5012
Calm 2892
Leta 265
yabsab 49
Sexy 39
Icarus 6
Dota 2
monkeys_forever280
NeuroSwarm81
League of Legends
JimRising 696
Reynor40
Other Games
summit1g6991
C9.Mang0292
fl0m202
Trikslyr54
CosmosSc2 19
trigger2
Organizations
StarCraft: Brood War
UltimateBattle 60
StarCraft 2
Blizzard YouTube
StarCraft: Brood War
BSLTrovo
sctven
[ Show 15 non-featured ]
StarCraft 2
• Hupsaiya 61
• intothetv
• AfreecaTV YouTube
• Kozan
• IndyKCrew
• LaughNgamezSOOP
• Migwel
• sooper7s
StarCraft: Brood War
• Azhi_Dahaki31
• BSLYoutube
• STPLYoutube
• ZZZeroYoutube
League of Legends
• Lourlo690
• Stunt271
Other Games
• Scarra781
Upcoming Events
RSL Revival
2h 54m
Zoun vs Classic
SHIN vs TriGGeR
herO vs Reynor
Maru vs MaxPax
WardiTV Korean Royale
7h 24m
Replay Cast
18h 24m
RSL Revival
1d 2h
WardiTV Korean Royale
1d 7h
SC Evo League
1d 7h
IPSL
1d 12h
Julia vs Artosis
JDConan vs DragOn
BSL 21
1d 15h
TerrOr vs Aeternum
HBO vs Kyrie
RSL Revival
2 days
Wardi Open
2 days
[ Show More ]
IPSL
2 days
StRyKeR vs OldBoy
Sziky vs Tarson
BSL 21
2 days
StRyKeR vs Artosis
OyAji vs KameZerg
Replay Cast
2 days
Monday Night Weeklies
3 days
Replay Cast
3 days
Wardi Open
4 days
Replay Cast
5 days
Wardi Open
5 days
Tenacious Turtle Tussle
5 days
The PondCast
6 days
Replay Cast
6 days
Liquipedia Results

Completed

Proleague 2025-11-16
Stellar Fest: Constellation Cup
Eternal Conflict S1

Ongoing

C-Race Season 1
IPSL Winter 2025-26
KCM Race Survival 2025 Season 4
SOOP Univ League 2025
YSL S2
BSL Season 21
CSCL: Masked Kings S3
SLON Tour Season 2
RSL Revival: Season 3
META Madness #9
BLAST Rivals Fall 2025
IEM Chengdu 2025
PGL Masters Bucharest 2025
Thunderpick World Champ.
CS Asia Championships 2025
ESL Pro League S22
StarSeries Fall 2025
FISSURE Playground #2

Upcoming

BSL 21 Non-Korean Championship
Acropolis #4
IPSL Spring 2026
HSC XXVIII
RSL Offline Finals
WardiTV 2025
IEM Kraków 2026
BLAST Bounty Winter 2026
BLAST Bounty Winter 2026: Closed Qualifier
eXTREMESLAND 2025
ESL Impact League Season 8
SL Budapest Major 2025
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.