« first day (1357 days earlier)      last day (3582 days later) » 

8:00 PM
@Rapptz wow, first comment, C, how is that relevant in C++?
 
Ell
I can't find out what a .def file does in lua >.<
 
lemme see
 
Ell
Googling it is difficult is all :s
I think it's some kind of module file or something o.O
 
@rubenvb Pretty sure that C++ only adds the std namespace to the list.
@Ell Fuck all.
 
are you building lua?
that's the only result I get for .def file lua
and they were only for Lua 4.x
 
8:02 PM
@Puppy Hold on a sec about that. I seem to remember something else.
 
Lua is currently in 5.2
 
Ell
No, I'm sorting out dependencies for prosody, a lua xmpp server
and it gets it's dependencies by require'ing them
 
@rubenvb, "±29 years"
 
C++ reserves identifiers with double underscores. C does not.
C only has those beginning with double underscore
Those pop up in header guards written by fools quite often.
 
.def is a legacy C DLL export mechanism, the predecessor to __declspec(dllexport).
 
Ell
8:05 PM
Oh right.
 
.def is still useful in certain cases
but its use is discouraged.
damn it's hot in Belgium
Must be all the hot chicks dancing at Rock Werchter.
 
> Scanning: source\data\models\aux.py
Good job vim
 
Rock Werchter - causing global warming since 19-something
 
@Rapptz because I wanted an aligned allocator
 
I meant writing allocator_traits
It doesn't seem like you're doing anything that the default doesn't do unless I missed something
 
8:10 PM
hmmm play around with OpenCL or code architekton (finally!)...
Can't decide
 
user3010322
VC++ can't handle allocators with std::size_t parameters @Rapptz
 
Or play Thief Deadly Shadows.
I'll go with that.
 
because the stdlib wouldn't pick up my allocator even if set explicitly because allocator_traits only has a single template argument
 
user3010322
Or allocators with more than 2 types
 
I see.
 
8:12 PM
the safe way to write that allocator would have been to allocate and then use std::align but I was being lazy and didn't want to make a stateful allocator
 
Ell
gah I can't get anything to load >.<
 
user1804599
Hmm.
 
user1804599
Should await x * y be (await x) * y or await (x * y)?
 
alright
 
user1804599
I think await (x * y) makes more sense.
 
8:20 PM
now I built a silly coliru frontend where you can build Wide and C++ code together, kinda like jsfiddle.
 
@rightfold What language?
 
user1804599
LasagnaScript.
 
In Haskell function application has precedence, and I actually like it.
So I'd go with: (await x) * y
 
@rightfold Why not just await(expr)?
 
Because, I bet, (a, b) is a tuple.
 
8:23 PM
he used parens for precedence earlier and I'm pretty sure that's ambiguous with using them for tuples.
 
@Puppy you can't have a tuple of a single element
so no, it's not ambiguous (at least in Haskell)
 
user1804599
@Puppy Then I want return(expr) and throw(expr) as well.
 
@rightfold They're statements, not expressions, so they don't need it.
 
user1804599
Ugly.
 
I have been considering building a grammar that does not require semicolons
and that was one of the things I'd have to change.
 
user1804599
8:26 PM
Ugh.
 
user1804599
x * await f(x, y) gives a syntax error now lol.
 
lol
 
Of course it does.
 
user1804599
Argh.
 
Should be x * await(f(x, y)) or x * await (f x y)
 
user1804599
8:27 PM
No idea how to do unary operators like that.
 
user1804599
@Jefffrey No, await has lowest precedence of all operators.
 
user1804599
But in my current grammar, * doesn’t allow an await expression as operand.
 
what's await?
 
user1804599
Like C#’s await.
 
what's C#'s await?
 
user1804599
8:29 PM
It waits for a promise and then continues.
 
so it's not a function?
 
user1804599
But it transforms the function into a state machine so it doesn’t block the thread.
 
user1804599
No, it’s an operator.
 
oh
 
HAHA I FOUND MY AWESOMENESS CHART AND RUBY IS AHEAD OF PHP
2
 
8:30 PM
link?
 
No
It's terrible
It needs to be revised
 
don't be shy
 
more reason imo
 
No I mean it's factually incorrect
 
user3010322
<___>
 
user3010322
8:31 PM
PARALLELOGRAMS ABOUND
 
C# at the same position as C++? BAH
Also Ruby ahead of Lisp :laffo:
 
come on, let us see
 
link it now, really curious here
 
I had rightfold's chart open in a tab two montsh last year :)
 
8:32 PM
> version 2.0 meow
 
that chart is fantastic
 
user1804599
This is my current grammar but I’m pretty sure the awaitExpression shouldn’t be in that place:
 
user1804599
expression : awaitExpression;

awaitExpression : 'await' awaitExpression
                | sumExpression;

sumExpression : sumExpression '+' productExpression
               | sumExpression '-' productExpression
               | productExpression;

productExpression : productExpression '*' callExpression
                  | productExpression '/' callExpression
                  | callExpression;

callExpression : callExpression arguments
               | identifierExpression;

arguments : '(' (expression ',')* expression? ')';
 
Also god where did 2 years go
It's from 2012
 
C# < JS is surprising
 
8:34 PM
Totally wrong
 
ah good to read
 
user1804599
Hey I’m writing my compiler in JS!
 
Yeah but you're crazy
 
I know so few languages so I can't make a chart
 
(I wanted to write Goblin Camp in JS :lol: Even had a data parser)
 
8:35 PM
> - ∞ + E
is it even correct?
 
It's ε dummy
Also yes
 
:effort: finding the key
 
@rightfold await await await await await await await await 1 + 1
 
user1804599
That should be allowed.
 
turn on the TV and check out the game, the crowd is wild.
 
user1804599
8:37 PM
A promise may yield another promise and I don’t see why await await shouldn’t work then.
 
user3010322
RAGE
 
user1804599
ENGINE
 
sucks dongml
 
user1804599
Hmm.
 
it looks like shit, but functionally, it works.
 
8:40 PM
evening
 
user1804599
x * (await f(x, y)) parses fine.
 
user1804599
I see, though, that the ES6 generator outputs x * (yield f(x, y)) with parentheses.
 
user1804599
I wonder if x * yield f(x, y) is valid ES6.
 
Is await busy wait?
 
unlikely
 
8:42 PM
I don't believe it's even really a wait.
 
more like, "signal me when you're done" kind of thing
 
I read a thing about formatting that made a lot of sense today: a*b*c + d*e, no space separating multiplication. Reads better than parenthesises imo.
 
I always shudder a little bit when I see the multiplication sign, because for split second I think someone's gone and used raw pointers.
 
I see**.
 
8:44 PM
ewwwww
 
user1804599
// @Jefffrey consider this code:
async fn fetchElements(url) {
    val elements = JSON.parse(await download(url));
    return elements;
}

val promise = fetchElements('foo');
promise.then(function(elements) { … });
 
quite nice that code
readable and makes sense
 
user1804599
download also returns a promise.
 
Ell
okay I give up on lua, I'll try again tomorrow :P
 
user1804599
Within an async function you can use await to transform what comes next into a similar .then call.
 
8:45 PM
a lick and a promise
 
user1804599
But you don’t have to write callbacks and state machines explicitly, so huge win.
 
I wonder what would happen if you had Cat and Puppy in the same room? Would they ever agree on anything? Would Cat claw Puppies eyes out?
 
No, I don't get it. Why await is applied to download(url)?
 
user1804599
Because you want to wait until the promise returned by download completes.
 
If download returns a promise, what is there to wait?
 
8:48 PM
to promise means something will happen in the future
 
user1804599
You wait for the promise to complete.
 
in this case the elements will be downloaded
and then you can process them
 
@rightfold Don't you do that with promise.then?
 
user1804599
Yes, but this is syntactic sugar.
 
@TonyTheLion It'd just be "PHP sucks." "I agree." walk away
 
user1804599
8:48 PM
2 mins ago, by rightfold
But you don’t have to write callbacks and state machines explicitly, so huge win.
 
@Puppy Sounds very uneventful.
 
if I do decltype(stuff)::type do I need typename before it?
 
good question, I don't know the answer
 
you do if stuff's type is dependent.
 
silly :v
 
8:50 PM
not really.
decltype doesn't make any difference here.
 
well it's better than typename std::basic_ostream<CharT, Traits>::sentry so w/e
 
it's the same old story as far as typename is concerned.
 
user1804599
@Jefffrey The code generated by the compiler uses promise.then. The code after await is wrapped into a function.
 
can I easily prove that ::type is a type? no? typename needed.
 
user1804599
In reality it uses a generator because that’s way simpler but both approaches work semantically.
 
8:51 PM
Fuck corrupted save files
 
facets are weird
 
user1804599
Dammit Cloud To Butt Plus replacing “cloud” with “butt” in text areas.
 
> Cloud To Butt Plus
dafuq?
 
@rightfold :lol:
Good job
 
8:59 PM
@rightfold lol
 
@Puppy That's an easy rule to remember
 
Oh hey, an old GCC crash repro case
When wstring got corrupted somewhere deep within Boost.Filesystem for fuck knows what reason
 
@TonyTheLion It was created by a genius, so of course.
 
lol
You probably apply your genius to getting a job.
 
@CatPlusPlus Windows?
 
9:02 PM
It was a test case for you so yes :v
 
I start again next week
 
Good :)
 
@CatPlusPlus IIRC it was fixed by configuring GCC/libstdc++ with --enable-dynamic-string which undid some crazy shit that crashed passing empty std::string over DLL boundaries.
 
user1804599
I’m going with await x * y compiling to (await x) * y.
 
user1804599
It’s more useful.
 
9:06 PM
Hah old subset of MSVC I used for a build server
 
user1804599
When the fuck do you return a promise from an * overload.
 
Anyone wants TortoiseHg tutorial courtesy of Kyrostat (NOT DEAD) project
1 2 3 4 5
 
user1804599
Now time to implement classes.
 
user1804599
Oh how fun. escodegen does not support classes.
 
Best picture
 
Xeo
9:13 PM
missing 'stache and monocle
 
Is old
 
Xeo
NO EXCUSES
 
user1804599
Fuck JavaScript’s this scoping.
 
user1804599
I’ll have this which is lexical and dynamicthis which is dynamic.
 
I keep getting Xeo and Rightfold mixed up
 
9:16 PM
is there a lounge steam group?
 
user1804599
Remember: rightfold is pink and Xeo is blue.
 
the damn anime gravatars, and the fact Rightfold used to have a blue gravatar
 
rightfold is pink and Xeo is a girl
 
I keep thinking Xeo is rightfold
@AlexM. yea one where nobody ever chats
 
user1804599
9:16 PM
He must feel honoured.
 
and has been deserted for ever
 
@AlexM. Yes
 
user1804599
class C { construct(…) { … } } or class C { (…) { … } }?
 
user1804599
Hmm I like this like D uses.
 
user1804599
class C { this(…) { … } }.
 
9:18 PM
there should be a pink card in football
 
user1804599
Pink means death in voodoo.
 
Obvious joke
Heh my Steam account is almost 10 years old
 
user1804599
9:22 PM
Congratulations.
 
Green skin rememberers represent
 
user1804599
ES6 also has structs but I don’t know how they work.
 
@rightfold What's that, constructor?
 
user1804599
Yes.
 
I used type for both.
 
9:28 PM
Xbox One users are getting charged for free FIFA 14 and EA Sports UFC demos due to system error polygon.com/2014/7/4/5870363/…
 
user1804599
Doesn’t really matter very much.
 
@Puppy type as a keyword, or contextual keyword, or...?
 
keyword.
as in, type C { type() {} }.
 
How do you handle conflicts with C++ code?
 
I stole @keyword from C#
 
user1804599
9:30 PM
Me too. :D
 
also fuck yeah canned tuna
the most expensive food that looks as if it's cheap
I should have just added 0.5 * price of canned tuna to the price of canned tuna
and bought a big pizza
but at least I made rice balls with tuna so it wasn't a complete waste... maybe
 
user1804599
I just added 10 new keywords. :v
 
user1804599
Including a new keyword. :d
 
Make every word a keyword
100% forward compatibility
 
9:42 PM
greetings.
 
Of course, it's all the US's fault. They are such retards and stuff.
 
ow, my guts hurt.
may have something to do with the holes in it.
 
I just realized we should all use dynamic libraries for the sake of LTO. It will keep crap from spreading.
 
What?
 
9:48 PM
@Puppy nah, probably not. It's because of the retarded Muricans.
 
You should use dynlibs to make security updates easier
 
I got some OEM .lib library I need to include it fucks my program with LTO enabled. Without it, everything is dandy.
 
Yes you need to compile everything with LTO to leverage LTO
 
The US should pull the fuck out of the Middle East and let them kill each other off.
 
Because the entire point is to not generate code before linking
 
9:51 PM
a game called "The Cat Lady"? Sounds like the game for me
 
it probably isn't
the cad lady is a game for nobody
monster hunter got released on iOS itunes.apple.com/us/app/id744769918?mt=8
I hope they do android too, otherwise I'll start to regret selling my ipad
 
I'm looking for linux games... any good ones on steam?
 
browse the games on steam, select linux as platform, sort by rating if that's allowed
otherwise just look at them all
it's not like it's a huge selection anyway
 
looks like mostly just valve's games and an assortment of indie games
 
some of the indies are well worth it
like FTL
 
There's a goat simulator game?! I NEED THIS
 
@LightnessRacesinOrbit :D
 
back when I was using linux on my desktop I used to play A LOT of cube 2
it's not on steam, but it's on ubuntu's store so go there
it's called sauerbraten
get Arx Fatalis from GoG.com
 
There's a lot of free FPSes nowadays
 
extract the data and run it with Arx Libertatis
afaik it's fully playable
 
9:59 PM
Y'all should buy GW2 so we can be terrible at MMOs in a guild
 
pfft
 

« first day (1357 days earlier)      last day (3582 days later) »