« first day (944 days earlier)      last day (3996 days later) » 

1:00 PM
at the very least you could of only defined before you start using it and then (most importantly) undefined it after you are done with it.
 
hm, right, it's in .hpp
 
I don't really care where it is :P
 
in cpp it wouldn't matter that much
 
IMO it's a lazy short cut that does not save anything
 
also, uh, I can hardly imagine a situation where it breaks something.
 
1:02 PM
bad practice :P
 
@thecoshman uh, are you suggesting I wrote \n at the end of every line?
 
I would also be inclined to have just those shaders in separate files and #include them in line. so you get the 'feel' of them being as separate files, but still get to bake them in.
 
uh that doesn't help at all
they are hardcoded because they are supposed to be in the same file
 
helps keep that noise out that class
 
that's not noise
 
1:04 PM
I thought this was pretty funny.
 
If I wanted to make them separate I would load them from disk
I don't see how splitting the code dependant on each other into two places helps in anything
 
std::string vert =
#include "data/shaders/baked/FullscreenQuad.vert"
that file being...

"#version 400 core"
NL "precision highp float;"
NL "layout(location = 0) in vec2 in_position;"
NL "layout(location = 1) in vec2 in_texcoord;"
NL "out vec2 var_texCoord;"
NL "void main() {"
NL " var_texCoord = in_texcoord;"
NL " gl_Position = vec4(in_position, 0.0, 1.0);"
NL "}" NL;
don't forget, #include is not only for headers :P
 
Xeo
 
@thecoshman I am going to add shader preprocessing soon
@thecoshman meh. My previous statement still holds
 
@Xeo WTF?
 
1:12 PM
@Xeo my firewall is blocking this
 
@BartekBanachewicz I don't see how the rest of that code is dependent on the content of those shaders, but what ever.
 
@thecoshman NL "layout(location = 0) in vec2 in_position;" and glEnableVertexAttribArray(0); and appropriate glVertexAttribPointer
 
@BartekBanachewicz fair enough
 
it's tightly bound
and until I make the preprocessing for inputs it has to stay that way
also these classes are also, well, drafts
 
example, I need to draw a debug line, I write a class
 
Xeo
@StackedCrooked You keep forgetting to expand stuff
 
@StackedCrooked tail...
 
@StackedCrooked Also isnt' that a feature from 1y?
variadic non-type packs?
 
user142019
1:17 PM
Man.
 
try -std=c++1y
 
user142019
C++ y u no switch on std::type_infos.
 
hm
> main.cpp:7:52: error: expansion pattern 'unsigned int' contains no argument packs constexpr unsigned mask(unsigned head, unsigned ...tail)
 
user142019
You cannot do that.
 
user142019
template<typename... T> unsigned mask(unsigned head, T... tail);
 
1:19 PM
4
A: Non-type variadic function templates in C++11

Konrad RudolphYou are simply confusing type names and non-type names. What you want simply doesn’t work. You can probably use variadic non-type templates in functions, but not as (non-template) arguments: template <int N, int... Rest> int max() { int tmp = max<Rest...>(); return N < tmp ? tmp : N; } ...

 
Woot, it seems we're moving to git.
3
 
@R.MartinhoFernandes work?
 
@DeadMG You could kill her, you know.
 
1:23 PM
@Collin The coolest part is, it was one of the lead devs that suggested it, so I just have to show my support and offer to help out the newbs ;)
 
I figured I could post a photo.
 
@R.MartinhoFernandes awesome, congrats
what are you using now?
 
@R.MartinhoFernandes That's the most important part.
 
@jalf cvs :|
 
@R.MartinhoFernandes nice
 
1:24 PM
@R.MartinhoFernandes ah, we moved from cvs to git a year ago
good times :)
 
@ScottW all stuff from ES2 extensions
 
@BartekBanachewicz Is WoW TCG fun?
Stupid question.
 
@R.MartinhoFernandes IMHO it's better than MTG.
 
I wonder if it requires grinding.
 
"Hey let's buy 4kg of stupid boring stuff" -- said... well, I'm sure someone said something like that once, but you get my point.
 
1:25 PM
Otherwise it isn't really WoW.
 
@R.MartinhoFernandes haha, depends on how much you pay :P
@R.MartinhoFernandes if I bought this for myself, it would get boring. Point is to play with friends. 2v2 TCG, anyone? ;)
Also, we can play!
 
@BartekBanachewicz Is there a rule that, for every general game rule, there exists a card that breaks that rule?
 
There's a free software used to play MTG
and it has WoW image packs
 
Meh, that's boring.
 
I forgot the name, but I've used that in the past and it's rather nice
 
1:27 PM
It's like playing RPGs with electronic dice: takes away half the fun.
 
@R.MartinhoFernandes certainly not as fun as F2F, but with voiceom, well, why not
 
@R.MartinhoFernandes Well, you can always blame the RNG instead of the dice.
 
@Griwes hm, I am not sure. Most of the rules can usually be bypassed somehow though. It's not always worth it.
 
@EtiennedeMartel You never blame the dice!
 
I know it's cool and all to say you suck because your dice are cursed, but...
Or because your technique sucks...
 
1:29 PM
@BartekBanachewicz The true joy you can have from playing MtG is from breaking the rules in most ridiculous imaginable ways :P
 
If the dice fail you, it's your fault: you rolled them wrong, you dropped them, you discharged them, whatever. Your fault. Dice are innocent and all-knowing.
Do you know the "charging" theory?
 
You fully embrace the gambler's fallacy, then.
 
@EtiennedeMartel You don't understand the dice!
 
@R.MartinhoFernandes I know a theory that fits that name... two perhaps....
 
@EtiennedeMartel Of course
 
1:29 PM
@EtiennedeMartel then what?
 
@Griwes uh, but you have to get something from breaking these rules WRT the game progress no? Like placing more than one resource (mana) in one turn
 
I find it weird that someone would display great knowledge of number theory, except when D&D is involved.
 
yay for Black Lotus
 
user142019
GCC is neat.
 
@R.MartinhoFernandes hm?
 
1:30 PM
@BartekBanachewicz Dice have a limited number of 20 rolls (assuming d20s). Every time you roll a 1, you charge an extra 20 in it. Every time you roll a 20 you discharge one.
 
also, I've seen a few tests showing that most common dice really are pretty shitty in terms of distribution
 
@R.MartinhoFernandes and uh what does "discharge" mean?
 
@BartekBanachewicz It's cognitive bias applied to dice rolling.
 
@BartekBanachewicz Means there's one less left.
 
@BartekBanachewicz The most ridiculous (one that gave me total WTF) card I've seen in MtG was "if you run out of cards in your library, you win instead of loosing".
 
1:31 PM
So if you're clever, you preroll all the 1's out of it, so you have better odds of getting a 20. And then you only use that die when it's really important
 
It de facto breaks one of the elementary rules.
 
@jalf Exactly!
@Griwes Meh, that's quite natural.
 
@EtiennedeMartel I don't get it
 
If you roll dice when it doesn't matter and roll a 20, you're a sucker that just wasted a charge for naught.
2
 
did you get around to playing Agricola, btw?
 
1:32 PM
@jalf I got a boxed game, had a few d6 with it, nice themed ones, nothing too fancy though. Didn't take long for me and my friend to quickly see that they where very badly balanced, so took to drawing the dice from a bag first, to help randomise it more.
 
I've once seen a fake one saying "creatures don't die when they are killed" long time before touching MtG for the first time, but I don't think it'd be as OP as I've once thought.
 
@R.MartinhoFernandes uh.
@Griwes there are plenty of "undying" cards in WoW too.
 
@jalf Nah, the group was full last week :S Thanks for reminding me though!
 
@BartekBanachewicz It gives you the impression that you have control over randomness, thus empowering you.
 
@BartekBanachewicz Note the "fake" part :D
 
1:33 PM
(I'm being overly serious. That's the joke)
 
@Griwes oh, I wouldn't really be surprised if that existed.
@EtiennedeMartel ookey.
Also note how MTG has "creatures", and WoW "allies"
subtle difference.
 
Anyway, I don't think you can get anywhere above MtG's level of ridiculousness.
 
@Griwes Most OP cards are quite hard to spot by newbs.
 
all of these cards are banned anyway in most of the formats
 
(While staying it TCGs, obviously)
 
1:34 PM
@BartekBanachewicz Erm, no.
 
and I don't mean strict tournament rules
 
@BartekBanachewicz Erm, not really.
 
Is it true that every time they release new cards, they're always better than the old ones so that you're forced to buy them to stay competitive?
 
Well, strict formats are like "3 last sets"
 
which is your favorite compiler?
 
1:35 PM
Most banned cards don't have such apparently obviously OP abilities.
 
@EtiennedeMartel well stop it ;)
 
@EtiennedeMartel No.
 
@BartekBanachewicz really depends on the tourny type. afaik, only T1 allows Alpha/Beta cards (the ones that really matter)
 
@EtiennedeMartel yes and no
 
@EtiennedeMartel there is that illusion
 
1:35 PM
Well in WoW formats are quite strict
also they usually ban most of the "fun" cards
look at that one, I have 2... googles
 
@Polymorphin Hell++
 
@EtiennedeMartel In M:tG most OP cards are quite old (like, from the very first few sets).
 
@R.MartinhoFernandes I see. So they're getting better at it.
 
They do try to balance stuff properly these days.
They still fuck up from time to time.
 
1:37 PM
I have to build a deck around this card :P
 
yeh.... never got into MtG... was a yu-gi-oh man myself... not much though, mostly caught up with a few friends who played it
 
@R.MartinhoFernandes It's probably not as easy as balancing an online game. You can't simply release a new patch.
 
@EtiennedeMartel but you can explicitely ban a few cards
like whole darkmoon faire :/
 
Indeed. But what is a card is only slightly OP if and only if used in a specific situation?
 
It was a promo set of 5 cards
 
1:38 PM
@EtiennedeMartel The game is so fucking complex that it is very hard to consider all possible interactions, so from time to time you see a seemingly weak or mediocre card taking over entire tournaments.
 
@EtiennedeMartel this ^
that's why buying 2500 crappy cards is not as stupid as it seems
 
@R.MartinhoFernandes Sounds like StarCraft.
 
@BartekBanachewicz Too much for teh lulz.
 
it tends to be obscure combinations that tern a few crap cards into a power deck
 
This was the most recent card I owned that was banned: gatherer.wizards.com/Pages/Card/…
 
1:39 PM
There was this tournament where an entire team came in with a new strategy involving a blue flame hellion timing push. They wasted everyone.
 
It doesn't have any over-the-top ability like "Creatures don't die" or "Instead of losing you win".
 
@R.MartinhoFernandes uh double draw for 1 mana?
 
Yet it had to be banned.
 
@R.MartinhoFernandes uh
 
@BartekBanachewicz +sacrifice.
 
1:39 PM
Money the Gathering
 
how much does a draw normally cost in MtG? 3 and conditional 2?
 
Xeo
@R.MartinhoFernandes What, that thing's banned?
 
@R.MartinhoFernandes meh.
 
@R.MartinhoFernandes Nah, I didn't say those are "OP", I said they break fundamental rules.
 
@BartekBanachewicz Depends. Blue can draw cheap.
 
1:40 PM
@R.MartinhoFernandes ah I forgot about colors.
 
@Griwes Yeah, but someone mentioned OP.
 
Xeo
Yeah, blue is generally good with drawing and decks
 
In WoW I don't know who has the greatest draw
 
@R.MartinhoFernandes Me, in the context of "when I had no idea about the game, it seemed OP".
 
probably a priest built in Holy.
 
1:40 PM
@Xeo Was banned when it was in Standard, and IIRC it's restricted in Vintage (only 1 per deck).
 
number of combinations in WoW is also a bit greater than in magic, I think
 
@ScottW are you not a yugioh trainer?
 
@R.MartinhoFernandes you can intermix pretty much all faction allies
 
@BartekBanachewicz Really?
 
Xeo
@BartekBanachewicz Uh, you can mix any and all things in Magic - provided you have the fitting Mana
 
1:42 PM
@R.MartinhoFernandes and each of 10 classes has 3 talent trees that can also be mixed
@Xeo uh how much decks other than mono or double-color do really play?
 
@BartekBanachewicz Lots.
 
user142019
Yay my parser works.
 
Pretty much no one plays mono in serious play.
 
Xeo
@BartekBanachewicz Multi-color works seriously well
 
Most of my friends played double or rarely triple.
 
1:43 PM
@rightfold link or it didn't happen
 
Xeo
Especially sliver
Well, used to, anyways.
 
user142019
I know about the memory leaks and I don't care about that yet.
 
Depending on metagame you can also see five-colour decks winning tournaments.
 
user142019
I first have to write a garbage collector.
 
1:43 PM
@rightfold Just 7 typenames?
Meh.
 
@rightfold oh, that link to a .hpp file and my dyslexic ways gave me a freight :P
 
user142019
:D
 
@R.MartinhoFernandes WoW decks are usually made around some idea. Interrupts, Discards, Allies with Ferocity (insta attack) etc. I am not sure how that relates to multicolor decks
 
@EtiennedeMartel (╯°□°)╯︵ ┻━┻
 
1:46 PM
@thecoshman This.
 
user142019
@EtiennedeMartel I once heard one guy say that creepers look like penises.
 
@thecoshman Hey, put that back.
@rightfold Well, they are pretty phallic.
 
ponies again. sigh
 
@EtiennedeMartel ┬──┬◡ノ(° -°ノ)
...
 
@BartekBanachewicz Me neither. I know how M:tG works quite well, but I have no idea about WoW.
 
1:47 PM
(ノಠ益ಠ)ノ彡┻━┻
 
@TonyTheLion There's one easy way to stop being bothered by ponies: become a brony yourself.
 
@rightfold they do
 
@EtiennedeMartel Or shoot you!
 
user142019
@thecoshman ┻━┻ ︵ヽ(`Д´)ノ︵ ┻━┻
 
@EtiennedeMartel ಠ_ಠ
 
1:47 PM
@R.MartinhoFernandes That won't work. Because friendship.
 
@EtiennedeMartel No. I don't want to become a brony. I can have friends and be a nice person without needing ponies.
 
@R.MartinhoFernandes that's why we should totally play someday :3
 
@rightfold ┬──┬◡ノ(° -°ノ) don't be stupid.... ┬──┬◡ノ(° -°ノ)
 
TIL Firefox's BDI text direction flip hotkey is Shift+Ctrl+X.
Goodbye browser restarts when I accidentally flip into right-to-left!
 
@TonyTheLion Why not both?
 
1:48 PM
@LightnessRacesinOrbit mwahaaha
 
@LightnessRacesinOrbit Ha, you could have asked.
Had that crap one too many times.
 
@BartekBanachewicz (While you're at it, try bronifying him)
 
> Not really. I MAKE friends. They're toys. My friends are toys. I make them. It's a hobby. I'm a genetic designer.
 
@EtiennedeMartel Because I have no interest in ponies. It really isn't my thing.
 
Etienne's obsession with ponies is fucking disturbing
Sorry, but it is
 
1:50 PM
@R.MartinhoFernandes you bastard! you lucky lucky bastard!
 
@LightnessRacesinOrbit Tss tss.
 
user142019
Time to write a compiler.
 
I used to think you were just trolling, but I don't believe that any more.
@rightfold Use one of Zoidberg's! He has a few...
 
@rightfold another one...
 
@TonyTheLion what if they where dissected and hung?
 
user142019
1:51 PM
My first one!
 
@LightnessRacesinOrbit That he isn't trolling was obvious from the beginning, I thought.
 
@LightnessRacesinOrbit I never was trolling. I'm not ironically liking MLP.
 
@thecoshman even less interest then.
 
@thecoshman I did nothing!
 
user142019
OMG MLP
 
1:51 PM
By the way, it's not about the ponies. It's about the characters. They could be humans, and nothing would change.
 
@BartekBanachewicz You mean online?
 
user142019
@EtiennedeMartel My Little Human
 
I'd prefer to watch The Lion King over MLP
 
Both are good.
 
@EtiennedeMartel then why do they look like fucking ponies and not humans?
 
1:52 PM
@Abyx Because the show also has to sell plastic toys.
 
user142019
@TonyTheLion Because you're in it?
 
Humans can't do magic or fly...
 
There is pony fucking?
 
@TonyTheLion Wishful thinking, perhaps.
 
@MartinJames Only in fanart.
 
1:53 PM
> I'm not in the business... I am the business.
 
user142019
@Pubby Neither can ponies.
4
 
This is fun.
 
@Pubby Fantasy setting, dude.
Pegasi in Equestria control the weather by moving clouds around.
 
That's right. Humans can't do magic or fly so, in order to make a show about magically flying people, those people must be ponies. Makes sense.
6
 
user142019
Also
 
user142019
1:54 PM
We can fly using planes and we can make things sufficiently advanced to be indistinguishable from magic!
 
Ponies can fly fine - thye just need a magic bridle, (and a pressurised cargo bay).
 
Ponies probably fly plains
hehe
surprised I haven't heard that one before
have a star
 
@ScottW I hope they don't race by running. Because you know, lame.
 
Lameness != lame people
e.g. lameness can "run rampant" in a group of people, causing the people not to be able to run
 
1:56 PM
just sayin'
name a musical artist please
 
I'm listening to Howard Shore.
 
user142019
I wonder what LLVM does when I call a function that's only declared using JIT-compilation.
 
will I regret this?
@rightfold probably compiles it. y'know, just in time.
 
@LightnessRacesinOrbit Maybe. Maybe not.
 
@R.MartinhoFernandes you lucky lucky bastard!
 
1:58 PM
@ScottW that was last week
@ScottW oh, not in the mood for all that
 
@thecoshman Still on SuckyCase huh
 
@ScottW to build a home, baby
 
@thecoshman What you stuck with?
P4? CC? gasp VSS?
 
@R.MartinhoFernandes ಠ_ಠ clearshit
 
@thecoshman Well, someone needs to take the first step.
 

« first day (944 days earlier)      last day (3996 days later) »