« first day (694 days earlier)      last day (4269 days later) » 

11:00 PM
Who knows. He could be a fine gentleman in real life.
 
@StackedCrooked lol
 
My god.
The lovestruck puppy.
 
@StackedCrooked I know is is. That, however, isn't relevant down here
 
Well DeadMG has been nice to me prior. I remember he helped me out on a problem pretty late at night, and he kept up with my stupid questions for about 30-min or so. I think it was a binary search problem back then.
 
Talking about jinxed stuff: two people voted this question up:
2
Q: boost spirit rule - rule concatenation

bayerbI have a map of string-rule pairs: ip_rule %= lexeme[(+char_("0-9."))[ref(ip) = _1]]; timestamp_rule %= lexeme[('[' >> +(~char_(']')) >> ']')[ref(timestamp) = _1]]; std::map<std::string, rule_t> convert_logformat; typename std::map<std::string, rule_t>::iterator it; con...

 
11:02 PM
Yeah, he's a super nice guy.
 
^ That's got to be the weirdest Spirit question in a looooooong time and it is also quite poorly posed. Huh.
 
Lol!
That's slightly confusing.
 
> .... Using Visual Studio's debugger, the data is being stored correctly. – user1658731 20 mins ago
 
His finishing touch hinted at greater mastery of the English language.
@sehe LOL, wft?
 
Yeah. It's the Eve Of Great Minds
room topic changed to Lounge<C++>: Witnessing the Eve Of Great Minds. Come here and enjoy the end of an era [c++] [c++11] [c++-faq]
room topic changed to Lounge<C++>: Witnessing the Eve Of Great Minds [c++] [c++11] [c++-faq]
 
11:06 PM
A great mind just entered the room actually.
 
Sorry about that. First one way to wordy
@StackedCrooked True enough
 
Coincidence? I think not!
 
@StackedCrooked We're aware of that.
 
Time for a new One Piece ep!
 
Kid took a fall. Would come back with a vengeance, for sure.
@StackedCrooked Meh Manga I presume?
 
11:08 PM
@sehe See my avatar :)
And compare with Google results for One Piece.
 
@daknøk Someone got confused OCD :)
 
funny fella.
 
Ell
Scahdenfroide
 
> "If you think of willpower as something that's biologically limited, you're more likely to be tired when you perform a difficult task," said Veronika Job, the paper's lead author. "But if you think of willpower as something that is not easily depleted, you can go on and on."
@Ell Schadenfreude (FTFY)
 
Ell
Ahh kk thank you
Can I say "this gives me much schadenfreude?"
 
11:18 PM
I derive a great deal of schadenfreude from this.
 
Ell
right kk
 
@Ell You can say almost anything you want. Most people, however, tend toward not admitting to feeling schadenfreude even when they do feel it.
 
Ell
I forget - is it used for sexual circumstances only?
 
Nope. Tried very hard to conjure up situations that would qualify as/for 'sexual schadenfreude'. Didn't succeed
 
Ell
S and m?
Meh I'm too tired to talk, Nighty night all
 
11:23 PM
@Ell G'night.
@sehe I suppose if you're at a bar and tried to pick up a woman (and failed) you might at least feel a bit consoled to see others fail with her as well. Not really any sex involved per se, but could at least be sexually oriented.
 
@JerryCoffin Ok, half point for effort
 
@sehe I certainly won't claim it's worth any more than that anyway.
 
Protip: get drunk, and you won't even care.
 
@EtiennedeMartel I went a different route: got married and quit trying to hit on women in bars.
 
Oh. That's a much better idea.
 
11:34 PM
Is there a way to quickly convert a .chm to .pdf
 
why is it that when I do sizeof("some string that goes right here") I get 32 bytes, but when I do:

string mystring = "some string that goes right here"
sizeof(mystring)

I get 8. What am I missing here?
 
@JerryCoffin I never tried. Still got married. Hmmm. Either hopeless or a real magnet :)
@NicoBellic didn't you ask this a while back? Or did you happen to switch souls with Mohammed Whatsisname?
 
@sehe no I'm afraid no soul switching has taken place. First time asking this question.
 
@NicoBellic "literals" are const char[N] so you get corresponding sizes. std::string is just ... standard struct; The actual string is dynamically allocated (unless SSO applies)
Sep 5 at 1:06, by sehe
@MohamedAhmedNabil Google or search Stack Overflow for "SSO". Also, strings are dynamically allocated from the heap (except for the small strings, hence SSO)
Sep 5 at 1:06, by Mohamed Ahmed Nabil
why is std::string always 32 bytes, no matter what is stored in it?
@NicoBellic ^ Eerily similar, don't you think?
@Rapptz Dump to HTML, use html2ps or related to assemble pdf
Or you can use chm2pdf code.google.com/p/chm2pdf:
> Convert CHM files to PDF files. This package supports batch conversion, command line, PDF security options, password protection, and compression modes. The program has an Explorer-like interface.
 
1
A: Overflow on a 64 bit Machine

Cheers and hth. - AlfFirst, “on a 64-bit computer” is meaningless: long long is guaranteed at least 64 bits regardless of computer. If could press a modern C++ compiler onto a Commodore 64 or a Sinclair ZX80, or for that matter a KIM-1, a long long would still be at least 64 bits. This is a machine-indepe...

^ Nice photo.
 
11:47 PM
Player :)
@Rapptz ^ failed to plink. See code.google.com/p/chm2pdf
 
@sehe Yeah I see it, I'm giving it a try. Thanks.
 
@sehe so the true size of my_string is actually 32 bytes?
 
@NicoBellic Well depends on your definition of 'true size'. It is the true size of the object instance of type std::string
@NicoBellic do read the answers given at that linked point in chat transcript. Mysticial raises a few notes and a helpful link to an SO answer
 
I apologize, but which link specifically?
 
9 mins ago, by sehe
Sep 5 at 1:06, by Mohamed Ahmed Nabil
why is std::string always 32 bytes, no matter what is stored in it?
 
11:53 PM
@Cheersandhth.-Alf lol I found it from the homepage first. I +1'ed because of the picture. :)
 
@NicoBellic Note the coloured link, saying 'Sep 5...'
 
Oh that was good.
 

« first day (694 days earlier)      last day (4269 days later) »