« first day (1615 days earlier)      last day (3341 days later) » 

12:00 AM
AP java exam
except they don't expect you to know what chars are
 
lol programming qualifications
 
I'm not posting any anwrs o rcomenst tonite.
 
guys, assuming a perfect hashing function, would it be faster to use a vector of indices to a data vector instead of unordered_map in order to avoid the bucket indirection or do most implementations take care of that?
 
Martin is drunk again ~_~
 
@AlexandrosLiarokapis Nobody assumes perfect hashing function. That's way too rare.
 
12:12 AM
@AlexandrosLiarokapis At least offhand, it sounds like it would depend on the hashing functions, how much clustering you got with the standard hash table, etc. (i.e., not enough difference to be sure one would be faster than the other in general).
 
@AlexandrosLiarokapis (a) bucket indirection is not a hard requirement (there are other techniques) (b) perfect hashes frequently are too large to be really applicable. But you know, if lookup is rare, and you can afford to map the large backing vector into process space, then yeah, profile that.
But chances are you just get O(1) access with a huge constant time due to page fault
 
@chmod711telkitty Martin has recovered from another bout of sobriety.
5
 
who the hell is martin
 
@Puppy koalafications*
 
oh martin james
derp
 
12:16 AM
@orlp Bond.
 
@orlp Lo :)
 
a simple implementation could use unions for instance to avoid the bucket indirection if the bucket contains only a few keys but I am not sure whether implementations do that. And it's not exactly straightforward to profile.
 
@MartinJames hehe hic
wwhasssj uu guys uptoooo t'nigh? hic
 
@orlp I am a bit ratted, TBH,
 
@orlp hic?
 
12:18 AM
I have teh pizza now :)
 
@MartinJames Every time someone says "teh", it reminds me of our long lost friend @GuruAdrian. He could never type "the" because his keyboard was broken.
He disappeared on Christmas.
In pace requiescat.
 
is guru ded?
 
Probably not.
He left on December 25-6 but he came back on February 11 on SO, just not in the lounge.
 
what the fuck
 
12:27 AM
@orlp I don't believe that website is his.
 
don't have plugin
plis
what is it
 
He just likes Guru Adrian and said it represented him, and so he used the name.
 
this is hilarious
 
He used to go by the name aclarke.
 
@orlp nice, no
 
12:33 AM
Has there been any other case of missing loungers?
Kinda makes you wonder why they went away.
 
@Nooble not really though
I mean this is the lounge after all
 
Well, I guess.
But he seemed pretty happy.
And I never saw him engage in any conflict.
 
Pubby.
Never forget.
He gave us Sparkly Bjarne.
 
> After this interview I was taken to lunch by the engineer who interviewed me on the second (phone) interview. She told me she was working at Google for two years and was very happy about it. We went to Asian food restaurant (located in Googleplex) and I had all kinds of delicious foods. All free!

Then she showed me around Googleplex. It was all amazing. Free drinks and candy everywhere, some arcade machines, a beach volleyball outside, and many other surprising things.
 
@R.MartinhoFernandes What happened to him?
 
12:45 AM
@Nooble James McNellis used to be a lounger, but hasn't been seen since he was stolen way by Microsoft.
 
@Nooble Soo many people.
 
I always though Pubby was just a nickname for Puppy :P
@JerryCoffin Those thieves!
 
@Nooble it's a very tragic story.
I met James when he was in Berlin.
Nice chap.
 
@R.MartinhoFernandes Certainly seemed like it in the Lounge (but there are probably a few who think the same about me, so it may not mean much).
 
@JerryCoffin You don't consider yourself nice?
 
12:54 AM
He doesn't consider himself a chap.
 
Well, he's a wasp.
 
@Nooble Fortunately for you, I rarely hang out near eucalyptus trees.
 
Eucalyptices.
 
Wasps have a worse reputation than they deserve though. We're really not all that bad, in general. It's just a matter of some who do bad things giving a bad name to the other 1%.
 
did navta pei stop becoming active?
i miss his misunderstanding of most things i said
 
12:58 AM
@Blob I haven't seen him in the Lounge recently. Seems like I saw some comments from him on Stack Overflow within the last couple of days though.
 
@JerryCoffin 1% of wasps are nice wasps then.
 
@Nooble "Nice" might be over-stating things, but at least not embodiments of pure evil like some people claim.
 
Hey everyone. Anyone interested in discussing a potential proposal for constexpr parameters?
 
@R.MartinhoFernandes Eucalypti*
 
I haven't seen a proposal for it so far, although I've seen some discussion on the google group.
 
1:02 AM
Starting to have self doubts lately, @JerryCoffin :p
 
Oh and our lion, Tony.
What happened to him?
 
@chmod711telkitty Oh, none at all. I definitely am the embodiment of pure evil.
 
@Blob He's... Here. Lurking. Look at the thing on the top right.
 
@πάνταῥεῖ hi
 
1:07 AM
@Nooble That sounds more like a star (or at least a nebula). I'm more in the "Ugly giant bag of mostly water!" category.
[Though lest that be mistaken: despite a few memorable lines, no I'm not really a Star Trek fan]
The vast majority of good science fiction still comes from books.
 
@JerryCoffin Speaking of which, I dissected a grasshopper.
 
@Nooble Grasshopper? I hope you treated it well--those are good eating!
 
@JerryCoffin It was already dead.
But it was preserved in some sort of solution.
 
@Nooble Oh--well, that sort of ruins it.
 
1:14 AM
I have been hugging my pet chickens everyday, I was told I am the kind who would get bird flu first ...
 
@JerryCoffin It's better for the grasshopper.
 
@Nooble Formaldehyde, perhaps? Not sure if they use that on insects and such, but it's certainly common with larger animals.
 
@JerryCoffin Most likely.
 
@Nooble I'm not so sure the grasshopper would agree, but maybe that's just my ignorance.
 
The grasshopper wouldn't disagree.
Implicit consent.
 
1:16 AM
@JerryCoffin Well, either it dies through some sort of gas, or it endures its legs being pulled out.
And it's thorax being cut open with a needle.
And my classmates desperately trying to find its brain by decapitating it and accidentally ripping off half of it's stomach.
 
@Nooble You make dissection sound so violent and...unpleasant.
 
@JerryCoffin Is it supposed to be pleasant?
 
Came back to this discussion. Not disappointed,
 
OpenGL on linux is it just the mesa package? I saw a bunch of links telling me to install freeglut and glew, but I dont want to use either of those, I just want the opengl headers/libs
 
@Nooble Well, I assume somebody must think it is. It's not like a teenager going to a boring horror movie, just hoping his date will put her arms around him and hide her eyes in his puny, scrawny manly chest.
 
1:26 AM
I bet I'd get a lot of "ew, yoda conditions" responses if people actually would read cruft like this stackoverflow.com/a/29135644/85371
 
@JerryCoffin :D sounds wonderful!
@Borgleader Huh?
You either use freeglut or you use GLEW.
You can't really use both.
Also just use 'em man.
Unless you want to do all of that boring function loading (you don't).
 
@Nooble glloadgen will do the function loading for me
 
Oh alright then.
 
thats what I use on windows
 
@Xeo quicksort
 
1:28 AM
Then you don't need GLEW/freeglut.
 
so i just need this mesa thing?
 
Also, you don't need mesa either, you can use your graphic card's provider's own libs.
 
@sehe People there are who Yoda conditions dislike?
@Nooble You never need (or want) freeglut (or any other glut).
 
I dunno. It's one of those things that I acquired as a habit and I still sometimes find it more legible, and often not less legible. So I don't "correct" myself when it rolls out in Yoda
 
@Borgleader Pretty much. It's basically the Linux counterpart to Window's OpenGL32.lib.
@JerryCoffin Agreed.
 
1:40 AM
@Nooble ohi see
 
Good night fiends (and deities)
 
@sehe G'night.
 
@sehe Don't forget koalas.
Night :)
 
@Nooble I keep trying, but always fail.
 
@JerryCoffin >:(
 
1:42 AM
Have you guys seen this badassery?
 
Good morning.
Hmm. Why the GR prefix?
 
@MarkGarcia Gamma Ramp.
 
2:35 AM
BTW, Cities: Skylines looks great.
 
3:01 AM
MY TEMPLATE MACHINERY WORKS :D
well its not really machinery its just a statement
Check out this hot number
static_assert(std::is_same<void(*)(std::shared_ptr<Derived>),decltype(&Derived::Init)>::value,"");
It enforces a function signature at compile time
 
3:22 AM
I would advise void_t<decltype( unqualified_t<Type>::Init(std::declval<std::shared_ptr<Type>>()) )> or similar.
 
3:35 AM
You know what sucks?
when you need to find a plausible cure for a disease
and you find one
but apparently fgt companies starting working on it already
and the teacher wants something original
fuck you, companies.
my fucking idea.
 
is it cancer?
 
no, hypercholesterolemia
 
@LucDanton Could you elaborate on what the void_t and std::declval bits are for
 
declval is to get a value for a type
 
@LucDanton Missing &.
 
3:41 AM
how the hell does one write/read things like what @Pris and @LucDanton posted?
i feel like there's a higher plane of C++ i'm excluded from
 
Or were you planning on doing declval<Type>().Init(declval<std::shared_ptr<Type>())?
Also this sounds like disgusting two phase init.
Kindly reconsider your design.
 
@Rapptz Don’t think so.
 
@Rapptz You are in the cancer research filed, right?
 
Yes.
 
Is it top secret?
 
3:45 AM
Not really.
 
@Jefffrey From what I see so far, it's @Rapptz that's top secret. :P
 
@Rapptz Is there's something interesting you can say?
Like some recent developments
 
Not entirely sure what is considered interesting but basically for the past 2 years all I've been doing is looking at the relationship between telomeres and cancer so it's not exactly top tier excitement category.
 
@Rapptz It is, I tried reconsidering it and gave up
 
@Pris void_t is the least important bit. It’s a convenient place to put the SFINAE in.
 
3:48 AM
Basically, where I'm at you're not going to see something exciting like cancer cures and what not.
And at work all I really do is tell people that they can get blasted with radiation so I don't think that's exciting either.
 
i can tell you about the exciting idea i just had that people apparently already stole
relating to hypercholesterolemia
 
@Rapptz I see
 
@Pris std::declval (inside decltype) is the interesting bit. It allows you to pretend you have a value of the given type.
 
If it gets somewhere in 2 years we'll see how it goes.
 
there's this protein called PCSK9 that normally downregulates LDL. i read about it because mutations in genes for that protein fucks up LDL levels in blood and crap. made the connection that you can inject person with pcsk9 and hope most of the ldl gtfo's.
 
3:50 AM
I do other stuff on the side because dealing with work can get dull at times
 
you're welcome, humanity
 
If you look at how things like the Iterator proto-concepts are defined, it’s in terms of valid expressions. E.g. with an iterator it you may do ++it or *it. But it’s not in terms of "there must be an operator++ with so-and-so signature".
 
@Rapptz So what's the top tier?
 
So that’s why I suggested the above, it brings you closer to what concepts will end up like.
 
The weekly overexaggerated articles on science magazines saying some amazing cure is possible.
 
3:52 AM
@Rapptz Well that wasn't obvious to me at first. :)
 
@LucDanton Except *it is required to return reference :v
 
what of it
 
@Blob "copied". I think you're many years late bub.
It's time to step it up m8
 
@Rapptz which really sucks
 
Part of the learning process.
 
3:54 AM
i have this night to come up with a plausible "cure"
those damn companies have forever
let me take one, plis.
 
lol the implications
 
... I'm a bit lost. Like, I don't even understand what you posted does. Why would SFINAE be part of this at all?
 
no one has a hidden cure
 
@Rapptz There isn’t even an operator to take the address of for T*. Is the point.
 
Oh wait I misread, typical me.
 
3:56 AM
@Pris Should you need it, void_t is a convenient place to put the SFINAE in.
 
urgh. i wish there was some list of things that destroyed LDL specifically and nothing else
 
| <- Pris . . . . . . . . . . . . . | <- Luc
Not trying to be a dick I just think he's way confused.
 
@Rapptz That confuses me
Are you saying that Pris is in front of Luc?
 
no man
context
:(
 
That they are not close?
 
3:58 AM
Yeah, when it comes to templates I'm pretty much completely inept. I have a lot of trouble making the leap from basic C++ and ... 'non-emergent' templates, to the TMP stuff
 
Luc is a couple of steps ahead of Pris and he's confused.
 
So we should read it from left to right?
But then why are the arrows right to left?
 

« first day (1615 days earlier)      last day (3341 days later) »