« first day (1054 days earlier)      last day (3895 days later) » 

6:01 PM
Teacher of Stepanov? cool!
 
I wasn't down for this talk, but my interest is peeked now
 
@Borgleader Somebody peeked at your interest?
 
i probably butchered the expression (or invented it) =.=; english is not my (going) native language
 
peek != peak ;)
 
SAM
Does the new book "A Tour of C++ " has to do anything with the primary 4/5 chapters with the same heading in TC++PL 4th edition?
 
6:04 PM
A peek peak.
A peak peek.
Peek peek.
Now your brain is mine.
CxxReflect has about 50 loops in about 35,000 lines of code. It uses algorithms practically everywhere. #SeaPlusPlus
I can't help but notice how funny "it uses algorithms practically everywhere" sounds.
 
@CatPlusPlus Tweets are dense
 
@SAM I would assume equality.
 
@sehe Still.
 
Quiet!
 
16:9 slides look funny
 
6:06 PM
Okay, time to look at boost::variant and figure out what its overhead compared to a union is
 
SAM
Because I have TC++PL 4th ed ... and I wonder if I should buy the new book
 
Xeo
an integer, I'd guess
 
@KonradRudolph "not much" ;)
 
@KonradRudolph placement new + aligned storage. I think the overhead is close to zero.
 
@Borgleader How charmingly unquantitative ;)
 
6:07 PM
The overhead is irrelevant compared to type-safety.
 
@SAM Oh wait, 4th is the latest. I think the Tour is an excerpt from the 4th, but I'm not sure. Can't you take a peek into the book at amazon or something?
 
SAM
@FredOverflow the tour
 
Variant visitation generates unrolled if/else code instead of using a for loop.
Even though the for loop could have been unrolled by the compiler probably.
 
Ok I like this guy.
 
Because he disses his company? :)
 
6:09 PM
@StackedCrooked Oh, I would actually have expected a jump table, to be honest, but now that I mention it I have no idea how that would work with static dispatch (probably “not”)
 
SAM
@FredOverflow no.. not yet
 
@FredOverflow Partially that, but he seems to have a good sense of humor.
 
@KonradRudolph Quite large IIRC - Lemme search
 
SAM
@FredOverflow May be we'll find something on stroustrup.com about that
 
Wow, Boost.Variant is an ugly beast … could probably simplified substantially by targeting C++11
Anyway, dinner first.
 
6:13 PM
Luc has C++11 variant.
 
Oct 20 '12 at 22:07, by sehe
@LucDanton should std::tuple<> potentially be POD? I'm trying to explain for myself why sizeof(T=std::tuple<char,char,char>)==sizeof(struct X{char x[3];}), but sizeof(variant<T>) == 16 and sizeof(variant<X>) == 8 here
@KonradRudolph It is. Combinatorial explosion for all constructors. And sfinae. And move semantics. Etc. And Compiler support.
 
Xeo
31 mins ago, by Xeo
I don't think the next talk will be that interesting anyways
I was wrong
 
I'm learning stuff =/ But that's because I don't know most of these algorithm
You can review my shellsort if you're bored ;)
 
private class DeadRenderer : IObjectRenderer // A renderer that is never alive
 
DeadReindeer
But then, can it be dead, if it was never alive to begin with?
 
6:21 PM
wtf is a dead renderer
 
A renderer that is never alive, duh. Pay attention.
 
@Borgleader A dead renderer is a IObjectRenderer.
 
Ell
Looking at this picture (en.wikipedia.org/wiki/File:Uniform_circular_motion.svg) do the arrows above "v" indicate v is a vector? Or something else? If so, it seems to contradict the arrow showing the direction of the velocity. :S
 
I hate how the guy (Sean) constantly mutters "Okay...".... "okay?" .... "Okay!?" ... "... okay"
Seems extremely manipulative. He wants me to agree at every half sentence.
 
@Ell He's not talking about that kind of rotation.
 
6:23 PM
@Ell Yes, it means it's a vector.
 
@sehe OKAY?!?
 
Ell
@StackedCrooked Haha thats good :P
 
No, it doesn't contradict anything.
 
@EtiennedeMartel I'll decide for myself whether I consumed and accepted his sentence. Okay?
 
@CatPlusPlus Do you ever just say "No"?
 
6:24 PM
@sehe I thought it was more like he was confirming to himself that he could move on to the next slide / section of his presentation
 
@sehe OBEY.
 
@Chemistpp No.
(Also then you'd whine that I don't explain it)
 
@Borgleader Yeah could be. It's still noise. It takes energy for me as a listener
 
@CatPlusPlus lol
ok
You're most likely right.
 
hmm, what fonts are still readable at 8px?
 
6:26 PM
Bitmap fonts.
 
names, I want names!
 
@melak47 Colonel Mustard, in the study.
2
 
Bob. John.
 
Floating Point Exception 404 ... Error 404 float not found?
 
What's the talk about?
 
6:28 PM
@R.MartinhoFernandes We were talking about you, but then you showed up.
 
@R.MartinhoFernandes Goals to make your code better. You don't need to watch it ;)
 
Xeo
Improving code.. or something? Hard to pinpoint.
 
@R.MartinhoFernandes replacing for loops with algorithms .
 
SAM
Slide and Gather.... so cool !!
 
Sounds really interesting.
 
6:29 PM
@StackedCrooked that's just the first goal, i think he has 3
 
right
 
I'm on the train to the store, I.e. walking
 
Xeo
sort(v, [](<), [].last)
2
kekeke
 
@Xeo Yep, this is awesome.
 
6:31 PM
@Xeo what is this
 
Xeo
My proposal
 
[].last? o.O
 
@Xeo is it going to be discussed in chicago ?
 
user1804599
o.O o.O o.O o.O o.O o.O o.O o.O o.O o.O
 
Xeo
@melak47 yes
@Borgleader no :/
 
6:31 PM
Don't.
 
Damn :(
 
user1804599
I don't know, but if your eyes look like that you should visit a hospital.
 
I like the sound of avoiding for loops
I like the smell of refactored for loops in the morning.
 
@R.MartinhoFernandes What does it sound like?
 
meh, VS2012 takes a long time to build .NET code
WTF
 
6:33 PM
@StackedCrooked shoop
@TonyTheLion .NET is fairly large, you know.
 
I remember Accelerated C++ also contains some nice algorithm examples.
 
@CatPlusPlus eh
:(
 
I don't use synchronization primitives, so I'm good.
 
You'll get it wrong anyway.
:v
 
Wut no atomics?
 
6:36 PM
@R.MartinhoFernandes They have odor?
 
@Xeo what is [], and what is [].last?
 
@Borgleader You are wrong and you should feel wrong.
 
Xeo
@melak47 The latter is basically a shorthand for [](auto&& v) -> decltype(auto){ return std::forward<decltype(v)>(v).last; }
 
RT @gregcons: I am liking the word "raw" in lists of things to avoid: raw pointers, raw loops, raw sync primitives, ... #GoingNative2013
C++ programmers starting to get high-level programming.
 
user1804599
6:37 PM
@CatPlusPlus But raw beef is tasty. :(
 
I believe @Xeo had some updated version, but I don't have a link.
 
Thanks, gotta bookmark.
 
@Borgleader That's NaN
 
Raw loops?
 
6:40 PM
@Borgleader post a link
 
Do you have a bitbucket account?
 
Up is the worst direction for things to fuck.
 
@Borgleader How about pastebin or ideone?
 
Wots a 'raw sync primitive'?
 
@MartinJames threads and mutexes and stuff
 
user1804599
6:42 PM
@MartinJames mutex, I guess.
 
@Xeo I don’t get it. What’s the third argument of sort for?
 
user1804599
Use message queues.
 
@MartinJames Shit you have to stay away from.
 
OK, wots a non-raw sync primitive?
 
Xeo
6:43 PM
@KonradRudolph a projection
 
@MartinJames Tasks. Although that's not a primitive anymore.
 
hmm
ok
no
not ok
 
@MartinJames Actors, messages, tasks.
 
user1804599
@MartinJames actors.
 
Xeo
Basically sort(v, compare_by([].last).with([](<))) with that compare_by thing I wrote a while back
 
6:43 PM
@Borgleader omg RAW for loops!
 
return 3*(*this)(i-1) + 1;   // cute :)
 
@CatPlusPlus Oh, I'm fine with that.
 
@StackedCrooked That was coded before the talk! :(
 
@Xeo Okay, that’s okay then.
 
user1804599
@FredOverflow I prefer this->operator()(i - 1). :3
 
6:44 PM
The rights to emit greenhouse gasses is also being traded on financial markets
 
@Borgleader Oh, you really use repeated swaps. That's inefficient. There's a better way. Just save one element, move the others ones along, and then put the saved one where it belongs.
Oh wait, it's a rotate! Just use std::rotate.
 
@MartinJames not cooked
 
@sehe S'Ok. I'm good at cooking.
 
raw new and delete...
 
@MartinJames me too. What do you like to cook?
 
6:47 PM
@Chemistpp Blocking queues and thread pools. Also curries and stir-frys.
 
@MartinJames I'm just learning about threads and programming. Oh, I love Indian food. I cook it for the Indians in my lab and they say I can cook it well. I'm not so good with stir fry. Never crunchy or never cooked.
 
No raw pointers... boring ;)
 
@Borgleader Write drivers then :)
 
No I mean, we all know raw pointers are bad, this is a boring goal
@KonradRudolph beat him to the punch
(at least i think it was him)
 
@Borgleader I think you'll find not everyone has read KLMR's slides
 
6:51 PM
@sehe Sure about that?
 
@Borgleader Many many people said the same thing. It's not someone's invention
@KonradRudolph Pretty sure
 
I'm pretty sure.
 
KMLR? What's ML for?
 
I have no clue
 
@sehe I was referring to the slides though
 
6:51 PM
@Borgleader Good question, I just assumed @sehe was talking about me but apparently not
It’s KLMR
 
Massive Lounger
 
Konrad Ludwig Moritz Rudolph
 
OK, 'Lounge Master'
 
@KonradRudolph What? :)
 
@KonradRudolph Ludwig Moritz, where does that originate from?
if you dont mind my asking
 
6:53 PM
from my birth certificate
 
@Borgleader Boring goal? Didn't know West Ham were playing tonight.
 
@KonradRudolph lol... I meant, what country/nationality
 
Germany
but the names exist in pretty much every central European country in some variation
 
@KonradRudolph I would never have guessed.
 
Ludwig…Luis…Louis
 
user2787611
6:54 PM
 
BEER! BFN..
 
@JoanLeaven The IT Crowd?
 
Moritz…Maurice…
 
Ell
damn stream! work! I want to hear what he's saying about the linked list!
dern :3
 
user2787611
Yes it is
 
6:57 PM
Do Ints in C++ have any limits on how far they can go?
 
@TheGuyWhoCouldn'tTalkToTheGirl 10km
 
or is infinity, both positive and negative?
 
sizeof(int) returns the number of bytes an int occupies on your platform
From that you can deduce the range.
or use numeric limits.
 
Well, I am looking for a more general and conceptual answer though. Are there no limits to it?
conceptually speaking
 
conceptually speaking, you suck.
 
6:59 PM
lol
 

« first day (1054 days earlier)      last day (3895 days later) »