« first day (586 days earlier)      last day (4360 days later) » 

Ell
6:00 PM
now I'm in a sticky situation. what do I append to my username that I will remember...
 
There are some sites where my login procedure is 1. Press "Forgot password"; 2. Set new password, probably "123456" or similar.
Every single time.
 
Ell
haha
I used to keep my passwords on KeePass (I think)... then it got hacked o.O
okay so I signed up to gravatar... now how do I make one out of a hash? :L
 
Now you add a picture.
It associates it with the hash of your email address.
 
Ell
Oh. I don't need this.
I like my green thingy :L
 
6:04 PM
@Ell: You should take a screenshot of it then since it's based on your IP (if you don't have an email address associated with your account)
 
Where did you keep that KeePass database, on a public computer?
 
Ell
Erm I can't remember, just my desktop one, but I remember it syncing somehow
and I don't need it anyway - I have switched to a safer solution. Same password everywhere.
 
Lol.
KeePass doesn't sync.
 
Ell
meh I don't know :L I used to keep it in keepass then forgot about keepass.
 
6:07 PM
@Ell that's not a safer solution
@Ell so save a picture of your current avatar
 
Ell
@MooingDuck I was being... sarcastic? or something.
why? o.O
ohh to upload
oooh gimp 2.8, shiny!
 
Speaking of avatars, @MooingDuck, your avatar is a ghost.
 
@CatPlusPlus ish
@CatPlusPlus I got a 1x1 white pixel as my avatar to save bandwidth
 
@CatPlusPlus To me it looks like a.... duck.
 
6:09 PM
@CatPlusPlus I'm currently seeing if I can remove my avatar completely and get my hash back
@Insilico CTRL+F5
 
Ell
A psyduck to be precise :L
 
Fuck shouldn't have refreshed the page
 
bam, got my hash back. Saving....
 
@MooingDuck You do know that your avatar gets cached on your hard drive the first time you get it, right (unless your browser is crap)?
 
6:10 PM
@MooingDuck lol
 
hmm, gravatar doesn't like when I try to upload my gravatar as a gravatar. Gets confused.
 
@MooingDuck imgur it first?
 
Ell
if gravatar hadn't given me a choice of rating, I wouldn't have to go looking for an r-rated avatar right now
 
(i.e., add one level of indirection)
 
R-rated won't show on SO.
 
6:11 PM
@Ell You don't need one.
 
@Ell: You need to look? Half of the images on the Internet are R-rated.
 
They restrict avatars to PG.
 
Ell
@RMartinhoFernandes of course I need one :)
 
lol, half.
 
@RMartinhoFernandes I just saved it
 
6:12 PM
@RMartinhoFernandes It's a very conservative estimate. :-)
 
I wonder how many of you see which of the 4 avatars I've used in the past half hour.
 
@CatPlusPlus What if you rate it PG even if it's not?
 
well, technically 5
 
"Moo... I'm a goat"?
 
@RMartinhoFernandes obviously
 
Ell
6:14 PM
@MooingDuck I've seen one :L
 
My fiance just got her drivers license!
 
@MooingDuck: Congratulations to <insert correct gender>!
 
Ell
tell her congratulations from me personally
 
@Ell I think it only updates when you reload/refresh
 
Ell
ahh you are a girraffe/goat now
 
6:16 PM
@Ell done
 
Ell
haha really?
 
@Ell why not? I didn't know InSilico's real name though, so she's probably confused.
 
Ell
you know my real name? o.O
 
@Ell Elliot?
 
@MooingDuck Oh gawd, that's bad news, right?
 
Ell
6:17 PM
oh wait i've probably accidently posted it many times
 
@RMartinhoFernandes she can get a better job now! :D I don't have to drive everywhere!
 
Ell
ya :) I thought you meant last name too
 
@MooingDuck Wait, what?
 
I just realized that I don't necessarily know everyone's gender on Lounge<C++>
Or their sexual orientation
 
@Ell you typed it here yesterday when someone asked if you were female
 
6:18 PM
Male, except @Cicada.
 
And maybe @Xeo.
 
Ell
@MooingDuck ahh yes :)
 
We still don't know about that one.
 
Ell
what... there are females here? Why didn't somebody tell me!?
 
@EtiennedeMartel Apparently @sbi met him in person.
 
Xeo
6:18 PM
Indeed.
 
@Insilico though many are safe bets.
 
@RMartinhoFernandes Apparently.
 
Ell
I would feel honoured to meet any of you in person
 
@Ell Should we advertise that in the topic?
 
@Ell even LearningC?
 
Ell
6:19 PM
@RMartinhoFernandes yes :D
@MooingDuck Erm can't say I've spoken to him/her much :L
 
is there a history of topics for the room?
 
@RMartinhoFernandes Wouldn't that be sexist?
 
@Ell I seem to recall you're USA, but I can't recall where. A fuzzy in teh back of my mind says Northern EastCoast, but I can't rely on fuzzy memories.
 
Xeo
@rubenvb search "room topic changed to"
 
6:20 PM
@rubenvb The best you can get is chat.stackoverflow.com/… But remember topic change messages can be edited and then no longer shown up there.
 
Xeo
and then order by time
 
@rubenvb: Everything is a possible topic in this room. :-)
 
@EtiennedeMartel That's why I'm not doing it.
 
@Ell I'm not that interesting. My only notable skill is the ability to chug beer at high speed.
 
Oct 10 '11 at 18:04, by FredOverflow
room topic changed to Lounge<C++>: room topic changed to Lounge<C++>: room topic changed to Lounge<C++>: [c++] [c++11] [c++-faq]
 
Ell
6:21 PM
@MooingDuck I am UK :) -the uk is small so not saying where :L
 
That works nicely thanks
 
@Ell see, that's why I don't trust the fuzzy memories. Not even the not-fuzzies are reliable
@Ell fair enough, I was just wondering with whom meeting with was plausible.
@Ell DeadMG is UK, a few others. (Though do you want to meet the puppy in person)?
 
Since when did we call ourselves by the location we're from? :-P
 
@Cicada: hey, we were just talking about you
 
Ell
@MooingDuck I think meeting DeadMG in person would be an interesting though terrifying experience
 
6:22 PM
Surprising.
 
Ooouuh.
 
Anyway I have an interesting (or so I believe) question
 
@Insilico I dunno what you're talking about
 
@MooingDuck: "I am UK"
 
Ell
inhales its cicada! the female!
 
6:23 PM
Can I achieve something like
> mov ecx, object
> call someFunctionIKnowTheObjectCanSupport
In "clean" C++?
Namely I'm trying to do a generic-callback interface
 
I don't understand.
 
Poor man's reflection, you mean?
 
Also what where you saying about me
 
That you were female.
 
@Cicada std::function or templates might help, but I don't understand what you want
 
Xeo
6:23 PM
template<class T> void f(T const& v){ v.someFunctionIKnowTheObjectCanSupport(); }
 
Or, actually, the only female person in the fucking room.
 
Xeo
?
 
@EtiennedeMartel namely that there was a girl in teh room, I guess we didn't mention her specifically did we?
 
@MooingDuck Someone did.
 
6 mins ago, by R. Martinho Fernandes
Male, except @Cicada.
Not me.
 
6:24 PM
6 mins ago, by R. Martinho Fernandes
Male, except @Cicada.
 
sbi
19 secs ago, by R. Martinho Fernandes
6 mins ago, by R. Martinho Fernandes
Male, except @Cicada.
 
Fear the sbinator.
4
 
Xeo
@EtiennedeMartel That's clever
 
Ell
argh stupid advert soundtrack coming from nowhere
 
6:25 PM
I can't possibly be the only XX genotype holder in this room
 
@Cicada: Probably not. But we wouldn't know unless they said so
 
sbi
> If you would like to see a new edition of Effective C++ that is filled with useful information, go forth and make lots of mistakes, tell me about them, so that I can go "Okay, now we know what works and what does not work." — Scott Meyers @ C++ & Beyond 2011, Ask Us Anything Session, @00:48:36
 
Xeo
Sure can. The only other one claiming to be a girl was actually a fake.
 
sbi
@Xeo Or so someone said.
 
Xeo
Right.
Anyways, it's not about male/female in here, it's about animal/not animal
 
6:26 PM
And the derailed room just went nuclear in the presence of a ... "XX genotype holder"
 
sbi
@Cicada Why not? There aren't many female C++ programmers, are there?
 
:3840784 I can't recall what happens when I reply to myself.
@MooingDuck ah, nothing
 
Xeo
Actually, something should happen
 
Something.
 
Xeo
Atleast it worked properly before
 
6:27 PM
There isn't a lot of non animals in here.
 
Xeo
Anyways, @Cicada, what exactly was your question about now?
 
@RMartinhoFernandes Happens.
 
@Xeo I got the wrong number. Too slow.
 
sbi
@Xeo In that, @Cicada is an odd case, too, because she#s an animal by name, but not by avatar. That's a new one here, AFAICS.
 
@sbi this is a room for C++ programmers?
 
6:29 PM
@SamDeHaan This is a room for living beings who know what "C++" means.
 
Xeo
@sbi Well, we got the @MooingDuck which is a walking contradiction, but atleast the avatar is kind of an animal
 
It's a monster.
 
sbi
@SamDeHaan No, it's a room for poor, derailed, procrastinating individuals who accidentally just happen to fit the room description.
 
it was a kind-of-duck before. Now it's a giraffe with a goatee
 
@RMartinhoFernandes technically
@rubenvb I had a gravatar spree. It's back to the duck
 
6:30 PM
Yeah, try to keep up people.
 
sbi
@RMartinhoFernandes Does that apply to the room question or the one referring to the bovine bird?
 
@sbi That's more like it.
 
@Xeo I don't know if pokemon count as animals or not
 
It's a lounge first and a C++ second.
Wait.
 
Xeo
@sbi This room is a monster too.
 
6:31 PM
@sbi Half of each.
 
sbi
I thought so.
 
Oh, right, my question. I dispatch network packets to different handlers. I want to call a specific method of the handler, based on an ID of the packet. All methods have the same signature.
 
sbi
> It just happened to be called "Effective C++" because the actual title of "My Biggest 50 Mistakes" just didn't sound that exciting. — Scott Meyers @ C++ & Beyond 2011, Ask Us Anything Session, @00:49:52
 
One handler object can have different handler methods
 
std::function?
 
6:33 PM
So basically I'm trying to call the right function (assuming I have it in an array) on the right object
 
sbi
@Cicada Sounds like a parser, IYAM.
 
Xeo
then something like std::function is indeed the answer, if you don't know the exact function name / if the functions are named differently but are compatible signature wise
 
@Cicada where does the object come from?
 
From a place.
 
Hmm I didn't know about std::function
 
6:35 PM
From outer space.
 
I'm checking that
 
Sounds like std::map<id, std::function<sig>>
 
@CatPlusPlus Yes exactly
 
Also, cmdargs is cool.
 
6:36 PM
@CatPlusPlus I'd probably use an array instead of a map
 
Xeo
@Cicada Polymorphic function wrapper that can store arbitary function-like things. Together with std::bind, you should be able to achieve what you want
@MooingDuck If the IDs are contiguous
 
@Xeo She said "I want to call a specific method of the handler, based on an ID of the packet" and I assumed contiguous (or nearly so)
can one construct a std::function that doesn't point to a function? I've never actually used it
 
Xeo
Yeah, depending on the possible range between two IDs, an array might work better.
@MooingDuck std::function<sig> f;
If you try f();, it'll throw bad_function_call
 
@MooingDuck The entire point of std::function is that it may take any function object.
 
@Xeo alright, so it's a pretty wrapper around a function pointer? (As vector to dynamic array at least)
 
6:38 PM
No.
It's way more than that.
 
@MooingDuck any function object.
 
Ell
it does functors too
 
sbi
> Every time I see a #stackoverflow Q with the title "what's wrong with my code" I'm tempted to answer "clearly you used emacs" — Jared Parsons (author of VsVim)
 
Ell
and member functions
 
Xeo
Oh, you only thought about function pointers? I took "point to a function" liberally meaning that it may contain a callable object
 
6:39 PM
It's type-erasing, for one. It can store member function pointers, lambdas and functors, too.
 
@DeadMG oh right, forgot they were magic
 
Xeo
@Ell No member functions
 
Ell
doesn't it? o.O
 
@MooingDuck Not magic, just clever- the same thing shared_ptr does with the custom deallocator.
 
@Ell you have to std::bind them I think
 
Xeo
6:40 PM
Nope, it only handles function pointers and functors
 
@Ell It does if you bind them.
 
Looks like MSDN is down.
 
Ell
thought so :)
 
but member function pointers are not function objects, so they don't really count
 
@EtiennedeMartel C++ standard library works for me, what part?
 
6:41 PM
@EtiennedeMartel I just loaded the page just fine
 
Ah, it started working right now.
 
new page design, I think
 
Xeo
ooh, I just noticed llvm 3.1 is officially out now
 
Hell no, repcap.
 
Ell
6:46 PM
ohhhhh its Richard Stallman
 
@Ell Our Lord and Savior, who will rescue us from the tyranny of closed software and salaries.
 
They patched Diablo 3. Apperently we can no longer dual wield two handed weapons.
 
@MooingDuck Arhem.
 
kinda reminds me of my youth
I can't sleep
 
Xeo
@Nils Gotta love VEVO and their censoring...
 
6:57 PM
already drunk two bottles of beer and it didn't help
 
Xeo
FUCK
 
Thank you guys it works!
 
Foxtrott, Uniform, Charlie, Kilo
what works?
 
Yes
 
6:58 PM
COUNTERFLAG
 
Xeo
Err.. wtf?
Who the fuck flagged that?
And again. Somebody's kidding me here.
 
Whoever's flagging, please leave and never come back. Thanks.
 
heheh @xeo well u were offesive
 
when I mouseover your post it tells me I flagged it, which I most certainly did not!
 
I've been dealing with build systems for the past several hours and I'm in a bad mood.
 
6:59 PM
I did
where is the unflag button?!
 

« first day (586 days earlier)      last day (4360 days later) »