« first day (1804 days earlier)      last day (3134 days later) » 

6:00 PM
Yeah, there's attributes for actual inlinine
__attribute__((inline))
 
Xeo
force inline is a thing
 
btw, the inline "worked" in that no function call was made to "bitwise_or"
but the resulting code is different
 
Xeo
@StackedCrooked that's totally at the compilers discretion
 
@melak47 yep
 
do I need to link the vc++ C runtime or something?
 
6:01 PM
possibly
 
user1804599
I like to think of it as providing the definition inline in the header, instead of in a separate TU.
 
MinGW should come with all the support C libraries you need I believe
maybe just link with g++ verbose and note all the libs it links to?
 
Ell
emacs highlights lines over 78 characters I think. I'm not sure why or if that is the rule o.O
 
FOR FUCKINGS FUCK SAKE
4
one of my cats chewed through my macbook power adapter cable
7
 
@Ell because 80-character line noobs
 
user1804599
6:02 PM
lol
 
Xeo
@BartekBanachewicz hahahahaha
 
it's not funny at all you inconsiderate dipshits
 
user1804599
better get a new one for six hundred bucks
 
Xeo
I'm sorry but.. hahahaha
 
@BartekBanachewicz oh well, time to get a new laptop!
 
6:02 PM
you're right; it's hilarious
 
Ell
@Puppy but then why not make it just 80? weird o.O
 
fucking little monsters
 
@elyse It's more like ~40 Euros, I think?
 
Ell
6:02 PM
@BartekBanachewicz ah dear
the charging cable?
 
@Ell 2 chars reserved for something, line number or something like that
 
@Ell the thin one
 
Ell
@Puppy ah yes thank you
 
the epilogue to the story is that I've fixed and soldered it already
 
user1804599
to use fat pointers or to not use fat pointers
 
6:03 PM
but you can imagine my reaction
 
Uh... what if, in the future, they do that when it's connected?
 
user1804599
with fat pointers I need fewer heap objects since objects that fit in one word can be inlined
 
@Boni they better fucking not
I'm pretty sure it was the smaller, annoying temporary cat
 
Xeo
@StackedCrooked evaluation order
 
@BartekBanachewicz Time to get a new cat
 
6:04 PM
the thin one carries low voltage anyway
 
Xeo
the first version has to evaluate all functions, and then "call" bitwise_or
 
@ElimGarak my main cat is perfectly fine
it's the small fucking one
i am 100% sure
 
why do you have a small temporary cat.
 
Xeo
The second one can just interleave it (which you can see in the asm output with the or ebx, eax)
 
Ell
6:04 PM
I think you can just take the cat to the apple store and they should just replace it
 
Damn cat temporaries.
 
Ell
@BartekBanachewicz has an xcat
 
Ell
or is it a prcat?
 
look at that fucking face
 
6:05 PM
ahahahah
the beard, so adorable
 
Ell
@BartekBanachewicz woah long whiskers
 
it spells "I wanna fuck up your macbook" alright
 
Ell
and... eyebrow? o.O
 
@ElimGarak wanna take it?
 
well if you bought a macbook you already got fucked enough so it probably figured you'd like it
 
Xeo
6:05 PM
sure
 
Don't give @Xeo more cats.
 
user1804599
@BartekBanachewicz evil cat
 
She's already enough of a cat lady.
 
@BartekBanachewicz Needs a monocle
 
Xeo
@Ell those are flexible whiskers - they can move around the face
 
user1804599
6:06 PM
my guts I feel terrible
 
Ell
@elyse what did you eat?
 
user1804599
dunno
 
Xeo
prolly cock
 
user1804599
cookies
 
user1804599
oh god toilet brb
 
Xeo
6:06 PM
*cockies
 
@Puppy because she lost her home and we're keeping her until someone can take her permanently
@Puppy it's better than any non-mac laptop I had so far
 
bad gcc! good clang!
 
Xeo
@StackedCrooked btw, your bitwise_or is doing &s
 
@StackedCrooked No guarantee that it actually offers better performance.
 
6:07 PM
@Xeo oops
it meant bitwise and
bitwise_or means bitwise and.
just a coding style
 
Xeo
riiight
 
@Borgleader danger of death by cuteness scontent-ams3-1.xx.fbcdn.net/hphotos-xpl1/t31.0-8/…
 
@Ell that one made me giggle btw
 
@AlexM. that was exceedingly disappointing
 
as a side note, i opened up some YT videos on "how to fix a mbp cable"
 
6:10 PM
@Puppy worth a try, but no luck.
 
it started out good, with people knowing what they're doing
 
VW admits to cheating in Europe as well.
 
but then it quickly went into "we're gonna do this with no tools... now I'm gonna use my teeth... now we should solder but w/e... and I conclude it's 100% fixed look it charges"
 
This micro optimization keynote is meh
 
The optimizer was too smart for the benchmark. :P
 
6:12 PM
@AndyProwl Walk away dramatically and close the door violently.
 
> We are literally benchmarking nothing over and over and over.
 
> How do we defeat the optimizer?
 
This is not very interesting to me
 
...is he going to end up volatileing something?
 
6:14 PM
@AndyProwl weird band
 
real benchmarks do not defeat the optimizer.
 
I think it's too narrow shit for a keynote
 
that's a fail
 
justin bieber 20?
 
@Alex code
 
6:14 PM
> asm volatile
yay
 
@Griwes :D
 
I love those tokens.
Memory barrier!
 
Fuck this
 
This is beautiful <3
@Puppy ...the optimizer optimized out the benchmarked function.
 
just goes to show that it was a trivial irrelevant function then
 
6:15 PM
> push_back
> trivial irrelevant function
 
@BartekBanachewicz I'm too tired to go over it now, I'll ping you this weekend
 
if you call it in a trivial way it certainly can be
 
"and then we get really crazy and write inline assembly code"... "and then we tell the compiler this really strange thing"... no thanks
 
@AndyProwl you forgot to say "hack"
 
Not everyone is a compiler optimizer
@Bartek I was quoting him
 
6:16 PM
> And soon you'll become a manager and you'll never do something really useful again. - Bjarne Stroustrup
9
 
god i still have cancer after those FB slides
 
FB? Oh you mean Andrei. This is Chandler
 
@Griwes use argc as input and return result of computation from main.
 
If this is what every c++ programmer needs to know then I probably don't need c++
 
Nah, just basically asm volatile ("" ::: "memory"); with some additional arbitrary operand.
 
6:18 PM
never needed asm volatile for benchmarking shit
 
@AndyProwl just like 90% of people writing C++
 
I dunno
 
most of them could use a higher-level language
deterministic destruction is overrated
anyway
I ate some cakes to raise my sugar and I'm not that angry anymore
what do.
 
Also fuck people with a flu going to public places
 
installing rust
 
6:21 PM
Fuck them hard
 
let's see
oh cool Rust authors actually do realize that piping curl into sh might be seen as wacky in some circles
good thinking
 
Boooriiing
I wish I could get out of this room
 
You can vOv
 
No I can't
 
Yes You Can!
 
6:27 PM
No You Cunt!
:D
 
Look, people are leaving. :P
 
They're not sitting in the first line :D
 
lol US english too weak
 
Well, now you see the fault in sitting in the front? :P
 
6:29 PM
 
TIL that on OSX selecting a file and pressing enter renames it
 
cannot take words
 
this is gonna be a long evening
 
@fredoverflow What a beautiful score. :D
 
some shortcuts are perfectly fine, like the command ones (actually much more comfortable)
 
6:30 PM
@Griwes I was used to Chandler delivering great talks
 
but this enter thing is just
 
How could I expect this superboredomness
 
You just have to do more stuff at assembly level, then you'll appreciate it :P
 
Also VS might be crap but profiler has a nice UI that does not require you to work with all that ugliness and nonsense flags
 
also ST behavior WRT folders is totally dumb on mac
 
6:32 PM
Also, his explanation for why reserve made things 10 times faster was a quite important point.
 
I think you can explain that without showing assembly
 
user1804599
Bjarne Strousyrup
 
Dang I'm hungry. Should've eaten a breakfast...
@AndyProwl But being able to read assembly is important! (Just to clear any possible confusion, this message is not sarcastic.)
 
The italics only made it only more sarcastic
 
@Griwes yes, if your job requires micro optimization
 
6:35 PM
No, if your job requires C++ compilers, because sometimes your compiler will actually miscompile something.
 
Finally got AppVeyor to work somewhat
 
I never needed to inspect assembly so far in my job
 
You're not writing any crazy-ish code then.
 
Yes and I think that's a good thing
 
One day you'll write a piece of code that's miscompiled :P
 
6:36 PM
@elyse Bjarne Stroopwafel!
 
user1804599
Lekker, een stroopwafel.
 
Bjarne Structstrup
 
user1804599
@AndyProwl is he classy?
 
@elyse unfortunately I don't know enough Dutch to maintain this conversation
 
@elyse He probably inherited that trait yes
 
6:37 PM
I've just compiled and ran my first rust program
cool.
 
@Griwes In my own code, I mark all places that are problematic with "COMPILER-BUG-". And there's a few dozen of them in my Pi program.
 
user1804599
 
Mostly GCC bugs.
 
@Mysticial heh
 
> The first is that it’s indented with four spaces, not tabs. Please configure your editor of choice to insert four spaces with the tab key.
oooh /cc @ʎǝɹɟɟɟǝſ
 
user1804599
6:38 PM
@BartekBanachewicz Dat is jammer.
 
@Griwes In the hope that future versions of the compiler will fix them. So far that has only been the case for anything other than GCC.
MS and Intel are actually pretty good with fixing bugs.
 
I'd imagine Intel doing good work at that, yes. :P
 
Sure MS won't support half of C++11, but they are really quick to fix bugs that cause miscompilation.
By "quick", I mean the next major release or within 2 updates.
 
They're not quick to fix bugs that cause non-compilation
 
6:41 PM
that's not what I imagine by "quick"
 
@R.MartinhoFernandes That I totally agree. The one that has me peeved is the bug where you can't throw move-only objects. That has been there for eternity.
 
Hmm what libraries do you guys recommend for the average programmer to have one click away? I already have Boost, C++ ODB, cryptopp, GLM, google mock, google test, mysql and sqlite.
 
@Gizmo I have all 6000+ hackage libraries one command away
 
@Gizmo s/google test/Bandit/, though
 
6:45 PM
use a better language
also don't use MySQL ever for anything
 
having things one click away is a slippery slop to bloated dependencies.
 
user1804599
@Gizmo libpq
 
@FilipRoséen-refp tru
 
user1804599
@Gizmo Catch
 
6:47 PM
@BartekBanachewicz why? Depending on the environment, usage, and all other tiny details, after good configuration MYSQLcould fit, fox complex databases postgresql ought to be much better
 
user1804599
@Gizmo Poco
 
@Gizmo Try brains
 
@elyse nah that's propietary shit
 
user1804599
@Gizmo My I/O library once it's ready (i.e. never)
 
6:47 PM
things should be so hard to install that you don't do it unless you have to, but easy enough to get so that you don't consider reinventing the wheel
 
user1804599
@Gizmo What? Poco is FOSS.
 
@Gizmo There's no place where MySQL is better than PostgreSQL
 
also; I'm fucking bored.
 
you need to buy a license key?
 
user1804599
No?
 
6:48 PM
@FilipRoséen-refp Get drunk
 
@Gizmo for sources?
 
user1804599
Extended Edition maybe
 
user1804599
not for Basic Edition and Complete Edition
 
I have this 24/7-support "hot line" for students taking the C++ course at the Uni, mostly because I then get to see what type of questions they are having when they experiment on their own, which means that I can address them the next lecture (if it's worth while)
 
I don't know, always when I googled something poco has it, and ofcourse at the top of every source file Poco::Unlock(key); or somehting
or it was another library
 
6:49 PM
@FilipRoséen-refp Or contribute to some open source projects
 
@Gizmo lol wtf
 
but maybe I should have rate-limited the whole thing, now I get question such as the poor ones at SO; "I have a problem, this is my code, why doesn't it work?"
 
/cc @Borgleader
 
user1804599
6:50 PM
@Mysticial Lounge<C+plus> rename plx
 
> Don’t be scared of using macros. We’ll get to the details eventually, you’ll just have to trust us for now.
oooh.
 
^ Playing this right now ahahah
 
looks cool
 
@набиячлевэлиь I could write c++ bindings for neo4j - just randomly started talking to a developer working their a train to a shoot yesterday, get my hand out my ass and write a decent compositor for wayland, or.. erhm, I don't know
 
@ElimGarak What is it? Dragons?
 
6:51 PM
Yeah, it's pretty great for its time. Star Trek: Elite Force. There is also a sequel, pretty cool, too. One of the few games to do justice to Star Trek, beyond Bridge Commander and that DS9 game.
 
@Mysticial he forgot to black the last @
 
@набиячлевэлиь honestly too tired/depressed/whatever to get cracking on anything, which is why I'm botred - of course
 
@FilipRoséen-refp Play Gaem
 
@набиячлевэлиь no mac installer :(
 
Yeah, Gaem has realistic on the GPU rendered menus.
 
6:53 PM
Lounge<C+plus>
3
 
@BartekBanachewicz Cimpol it yerself
Is it that hard
 
@ElimGarak "The Fallen"?
 
I'll actually get up and walk to my other machine
 
Nobody uses Macs anyway
 
user1804599
6:53 PM
@Nican repost
 
@melak47 Yes! :D You know it? I remember many people doing voices for it, except for Avery Brooks and Colm Meaney (O'Brien).
 
@elyse repost
 
@ElimGarak yeah, picked it up in some random store on a family vacation many years ago :p
 
@набиячлевэлиь you can upload releases to gh btw
 
6:55 PM
@BartekBanachewicz I do, IIRC
Releases, which there were none of
 
oke lib pq added, and ugh, now I need to go and do a comparision myself gtest vs bandit vs catch
 
Yes I know how to google :D but thanks anyway for the link :)
 
@набиячлевэлиь i've no idea how to play this thing
 
There was a time when star trek games sold in random supermarkets in Germany. Feels strange. :p
 
6:57 PM
@BartekBanachewicz Controls are listed below the map
WSAD/arrowkeys to move
 
Yeah, the golden age of Star Trek: Bridge Commander, DS9: The Fallen, Star Trek: Elite Force 1 & 2... And then came shit like Star Trek Legacy and Star Trek Online. Also, the other side of the fence, KotOR I & II.
 
IIRC Legacy became legacy software that doesn't even run on Win7 :D
 
@набиячлевэлиь uh, this is an ncurses game with 179 commits. I've opened random one and noticed gawk
this is scary
@набиячлевэлиь what do i do after I don't fall down
 
room topic changed to Lounge<C+plus>: We're a rowdy bunch, but deep down we love each other. [c++] [c++11] [c++14] [c++-faq]
5
 
besides there's a bug
 
6:58 PM
@BartekBanachewicz Fall down less
 
@BartekBanachewicz you've not fallen and can't get up?
 
if you press D at the beginning you stop falling down
 
@BartekBanachewicz File an issue, pls
 
@R.MartinhoFernandes Huh? What changed?
 
6:59 PM
Oh
I see now
 
@набиячлевэлиь can I file an issue about the GAWK first
"GAWK is the sound that I made"
 

« first day (1804 days earlier)      last day (3134 days later) »