« first day (675 days earlier)      last day (4291 days later) » 

8:00 PM
@TonyTheLion Oh, I'm elite? That's good, right?
 
Ell
@Xeo you could make that in a night
 
@R.MartinhoFernandes yes, that's good, but it's not good from the view that normal non-elite C++ devs sometimes have a hard time understanding your template wankery
 
Xeo
Meh, never bothered with Boost.Asio before
 
@Xeo Well, true. The only thing of (standalone) value I've produced is a code generation tool that munges on a large collection of C# assemblies and generates Java code to create UML models for the important classes in IBM Rational Software Modeler :)
 
I have
 
Xeo
8:00 PM
and never really coded server stuff, except once with real sockets n stuff
 
@TonyTheLion Well, get a life.
 
Unsurprisingly the code generation part is ... pretty ugly
 
Xeo
Oh well, first things first.. upgrading to Boost 1.50.0 x_x
 
@Xeo There's more to it than that -- you want something small enough that you can duplicate it withing a halfway reasonable period on demand, if they ask for it.
 
Xeo
8:01 PM
I hate upgrading Boost, takes so friggin long
 
@Xeo write a chat program in TMP
 
Xeo
@TonyTheLion lol
 
@TonyTheLion The robot's isn't wankery. It is facilitating non-wanky template programming IMO
 
@TonyTheLion how is it used
 
I don't know, you should know that better than me
 
Xeo
8:02 PM
@JerryCoffin Right
 
@Xeo Huh? (1.) Download (2.) Bootstrap (3.) wait ~10 minutes (4.).... (5.) profit
 
@JohannesSchaub-litb It sends messages over the socket as you compile, and flags determine the message that'll be sent. Of course, with the wrong flag, they get 30 pages of incomprehensible trash.
 
Xeo
Oh, Boost 1.51.0 is up
 
May 24 at 15:59, by R. Martinho Fernandes
make a packaged task, get its future, post the task to asio.
 
8:02 PM
ohh
 
@sehe but he's very adept at TMP, is what I mean with "Template Wanker"
 
Xeo
Btw, I don't like bjam
 
@JerryCoffin sounds complicated
 
@Xeo I prefer strawberry jam.
 
8:03 PM
AAMOF I'mma download 1.51.0 right now to verify my timings.
 
@Xeo I don't like it either, cause it seems like a cheap non-edible kind of jam
 
FTR, I dislike template wankery, in the sense of writing TMP code to generate tables and stuff, especially tables that never need recomputing (like the hexit lookup table yesterday).
 
@R.MartinhoFernandes but you like writing template code right?
 
TMP to work with types is good. TMP to do pre-computation is bad.
 
yea
in the video there was a question about getting static for etc
that brought up the whole TMP discussion they have
 
8:05 PM
@TonyTheLion I like generic coding.
 
@JerryCoffin ohh
 
@R.MartinhoFernandes cool
 
@TonyTheLion If it's for iterating over parameters packs, that would be neat.
 
@Xeo I actually used it (and Boost.Build) for a project. You only think you don't like it.
 
@R.MartinhoFernandes problem is debugging that code, if there's an error in it
 
8:06 PM
You can't appreciate how terrible it is until you delve in.
 
@Xeo still has a mutable though. Mine's less typing :) as it's just an unordered_set<class_with_mutable_member>.
 
we have "static if"
 
@R.MartinhoFernandes linky (to the hexit thingy? - I'd like to 'marvel')
 
I imagine static for would be like
 
@TonyTheLion Yes, we really need a TMP debugger.
 
8:07 PM
@R.MartinhoFernandes a debugger for a debugger :P
 
static for(int i = 0; i < 10; i++) /* now use 'i' as a compile time constant */
 
Xeo
wtf, I can't delete my old boost folder... need administrator rights.. yeah right, I am the administrator
 
meta debugger
 
yesterday, by R. Martinho Fernandes
@Xeo http://liveworkspace.org/code/3a0639d8163d2c5dca052e9e6904709b
 
@Xeo yes, but even if you're admin, you don't always have elevated rights by default
 
8:08 PM
yesterday, by R. Martinho Fernandes
Btw, I do not condone this.
 
Xeo
@TonyTheLion Even pressing "retry" doesn't help
 
@JohannesSchaub-litb Ugh, that's not what I had in mind.
 
@R.MartinhoFernandes muhahahaha - again:
4 hours ago, by sehe
you know, the way to guarantee they don't is: don't post it
 
Xeo
let's see if rmdiring it from an elevated console will do
 
@R.MartinhoFernandes obviously i'm wrong
 
8:09 PM
@sehe I don't like the idea of hiding knowledge.
 
@Xeo lol what Windows version is that? Or isn't it Windows?
 
Xeo
if not, I'll need to boot up my debian box
@TonyTheLion Win7
 
@R.MartinhoFernandes I'm joking, you know :)
 
Anyway, I used a technique similar to that to fill the interrupt descriptor table in a pet kernel.
 
8:10 PM
@Xeo recursively take ownership first, that normally helps. Then, recursively change the permissions: cacls path\to\boostdir /T /E /G Everyone:F and delete
 
Xeo
@sehe whatever that command does, using an elevated cmd to rmdir it seems to work
 
@Xeo better (also, I was quoting the flags to cacls.exe from memory, somehow thinking /T might be /S really, but that might be shady memories of other windows commands interfering. It's very rare that I need to deal with windows these days)
 
Xeo
12mins remaining for unpacking Boost.. ugh
Btw, last time I checked my "Code" folder was 40gig large.. with 122k files and 40k folders
 
WTF. Do you store porn there?
 
Xeo
nope
 
8:14 PM
And now for something completely different. I just love SO's rep system. A shiny new "Guru" badge for the amazing insight that zero is zero:
2
46
A: Why is C++ allowing me to assign a const char to a const char *?​!

Jerry CoffinAs you've defined it, nullchar is an integer constant expression with the value 0. The C++03 standard defines an null pointer constant as: "A null pointer constant is an integral constant expression (5.19) rvalue of integer type that evaluates to zero." To make a long story short, your nullchar ...

 
@Xeo hentai?
 
@Mysticial That doesn't count as porn?
 
@Xeo precompiled headers and many build configs :)
 
Xeo
@Mysticial Nope, there's a toplevel "Doujin" folder for that :P
 
@JerryCoffin LOL. Grats
 
8:15 PM
@JerryCoffin, the guru of zero.
 
@sehe Uh thanks...I guess. :-)
 
Ell
@Xeo what is "Doujin"? I know hentai, but not doujin o.O
 
Xeo
@sehe School stuff, some libs (Boost, eAthena, lua, Ogre3D, SFML, SDL, ...)
@Ell "Doujin" is the general name for fan-artwork in the anime/manga scene
normally, that means hentai
 
Ell
ahh right okay
 
Xeo
Though there are lots of SFW titles too
 
8:18 PM
@JerryCoffin Nah there are far more stupider things that have gotten a Guru badge.
That question, IMO was actually good.
 
Xeo
@Mysticial For example my 1+2+3+...+1000 answer :D
 
@Xeo Still. 40 gigs. That's perverted. My whole installation <30Gb and it includes the kitchen sink
 
Xeo
@sehe 3 school projects are in there aswell as I just noticed. Including artwork and stuffs
 
@Xeo Nah, that's also a good one.
 
@Xeo That's primary school material :)
@Xeo Artwork always helps
 
Xeo
8:19 PM
Oh
22gig of that 40gig are coding videos :(
 
@Xeo Disclaimer: haven't seen the q/answer
 
@Xeo So, porn.
 
Xeo
Template porn
 
@Mysticial Yeah, I guess it's a perfectly fine question, and I think my answer was reasonably complete and accurate. According to the rep system, however, it's my ninth best answer ever. According to me, 900th would probably be closer.
 
Xeo
Downloading the C++ and Beyong vid is so going to kill my bandwidth
 
8:21 PM
uhhh eric posted a question for the "Gurus"
 
Xeo
86
A: How to drive C#, C++ or Java compiler to compute 1+2+3+...+1000?

XeoUpdated Now with improved recursion depth! Works on MSVC10 and GCC without increased depth. :) Simple compile-time recursion + addition: template<unsigned Cur, unsigned Goal> struct adder{ static unsigned const sub_goal = (Cur + Goal) / 2; static unsigned const tmp = adder<Cur, s...

This is also one of the ... more strange ones
 
@Xeo I tried redditing that a week ago to get you over 100. It didn't work out though. :(
It did get you 2 votes though.
 
Xeo
heh
35
A: What is "rvalue reference for *this"?

XeoFirst, "ref-qualifiers for *this" is a just a "marketing statement". The type of *this never changes, see the bottom of this post. It's way easier to understand it with this wording though. Next, the following code chooses the function to be called based on the ref-qualifier of the "implicit obj...

This is one of the answers I'd want a guru badge for
Not the computing thingy...
 
So I showered! Woo :)
 
Xeo
8:23 PM
@TonyTheLion Gimme some of that freshness
I need to shower too x_x
Too fucking warm here
 
freshness ...
it feels awesome
 
That's what she said.
 
Ell
fuuuuuuuuuuuuu
 
@Xeo Upvoted it. Nice work.
 
Xeo
@EtiennedeMartel keikaku dori
 
8:26 PM
Screw Herb.
 
@Xeo I had already upvoted that
 
@R.MartinhoFernandes What kind of herb?
 
@R.MartinhoFernandes oh, did you get to the bashing TMP bit? :P
@EtiennedeMartel the Sutter kind :)
 
About about 25:00.
 
what he said?
 
8:27 PM
But it seems they're focused on the megalomaniacal over-the-top stuff like boost.lambda.
 
Never seen the boost.lambda stuff
 
@R.MartinhoFernandes I've heard another committee member call Herb "The oracle of wrong." He asks the right questions, thinks about the right things, then somehow manages to come up with an answer that's not just wrong, but almost insanely so.
6
 
I'm sure it's complicated
 
@JerryCoffin lol
 
Xeo
@TonyTheLion _1 * _2 + _3, and now get an error message with that - fills a book
 
8:28 PM
@JerryCoffin you just had to quantify Robots statement, didn't you?
 
He's right about that. It just seems he's assuming TMP means something different than what I think.
 
@TonyTheLion Something like that, I guess.
 
@Xeo why is it that _1 * _2 + _3 is wrong
 
@JerryCoffin but that can't be all the time, right? Else why is he the Commitee chairman?
 
@JohannesSchaub-litb Because it should be in the language.
 
Xeo
8:29 PM
@JohannesSchaub-litb It's not, but if you get an error that includes it...
 
@Xeo oh lol
 
should i use system ("PAUSE") in my program or is there a better alternative
 
oh what's that "C&B" panel
nice
it's on his blog
 
@MohamedAhmedNabil use std::getline(..) or something along those lines
 
sbi
For those of you who were asleep when it happened: @Nils discovered that the book question was closed again, and it took a while for the room to find enough users who hadn't voted to reopen the question before, so we could reopen it. I added this comment, in the hope that it would spare us the trouble next time, and it needs upvotes, to be more visible:
To the misguided individuals who keep closing this question randomly: Please leave this question open. It has been discussed on meta multiple times and the verdict was that, despite this question not fully adhering to current moderation guidelines, it does more good than harm. Also keep in mind that there are — literally!thousands of links to this question all across the Internet. — sbi 8 hours ago
 
8:31 PM
@MohamedAhmedNabil why do you need to do that?
 
Xeo
@sbi @Nils was it, IIRC
 
@MohamedAhmedNabil if you need user input (i.e., the user's permission to continue), then ask for input.
 
@TonyTheLion Undoubtedly not all the time. At least from what I've seen he's better politically than technically -- he's quite good at coordinating work, getting others motivated, etc.
 
sbi
@Xeo Thx!
 
@LuchianGrigore so the program doesnt close at the end without givming me a chance to see the output
 
8:32 PM
@JerryCoffin and he's a good speaker, IMHO
 
@MohamedAhmedNabil then yes, system("pause") is ok.
 
Which is better system("PAUSE") or std::cin.get();
 
@sbi you have my upvotes, but I need a link, cause I've hit the ultimate epitomy of being a Lion, super lazy :P
 
i can't believe how a nerd book answer is on the first place in that question
 
The best option is an IDE that doesn't require that.
 
Xeo
8:33 PM
@sbi Oh wait, it was @rubenvb after all :)
 
sbi
@TonyTheLion You are not only a lazy, but also a dumb lion. (There is a link to the comment at the end of every oneboxed comment.)
@Xeo Too late.
 
@TonyTheLion That too. There's also the fact that even though his answers are often wrong, once that's been proven (thoroughly enough, anyway) he can and will actually change his mind -- and not just grudgingly either; once he's convinced he'll get behind and really push the right answer.
 
@LuchianGrigore that looks ugly imo, the pause as a string
 
Xeo
@JerryCoffin He receives critique very well
 
Which is better system("PAUSE") or std::cin.get();??
 
8:34 PM
@sbi there you have my upvote. The dumb part was unnecessary you know.
 
we could link the author names to their respective stackoverflow accounts, if they exist
in the book question
 
@MohamedAhmedNabil std::cin.get(); works on every platform. system("pause"); does not.
 
@MohamedAhmedNabil @TonyTheLion if you're writing an application where you have to see the output in the console before it closes, it's probably just for educational purposes, right? So why put so much emphasis on it? If you're building something remotely useful, you should either have a gui or log to files, or at least keep the program from closing with logic (i.e. waiting for signals, messages, a close command)
 
@LuchianGrigore im learning, and want to have good programming habits
 
Xeo
Btw, on the output issue.. put a breakpoint on the closing brace of main
 
8:35 PM
@JerryCoffin that's a good quality to posses, being able to admit you were wrong about something, then being able to change your mind about it and push the new idea
 
Stop using system("PAUSE");. Put pressure on IDE writers to do it fucking right.
File a bug.
 
@Xeo Aha, it was TMP. That makes things a bit more interesting.
 
Ell
I find IDE's more bother than they're worth tbh
 
system("pause"); is awesome.
 
@TonyTheLion Wrong!...Oh wait, I quite agree. You're absolutely right and I think I'll star your message saying so... :-)
 
Xeo
8:36 PM
@R.MartinhoFernandes Hey, the IDE is just doing what you do when you double click the .exe ... to keep a command line app open, you execute it from the command line
 
@Ell IDEs don't make you use system()
 
@JerryCoffin :)
 
Ell
@sehe I just run it from a console so I don't use one either :)
 
@JerryCoffin haha
 
@Xeo So what? That's counter-productive.
 
8:37 PM
@Ell me neither, but there is always good old cin>>dummy, get(), getc() or even gets()
 
fuck, man
the wettest storm ever
 
Xeo
> David: You're of course right. By and large I'm trying to minimize mentions of D in C++ contexts because it's as unfair as bringing a machine gun to a knife fight. Andrei on C9
lawl
 
Ell
I love storms, they are so exciting
 
@Xeo That means the IDE is not helping. It can allocate a console for it to share and keep it open.
 
@sehe Hey, you can't expect me to pass up an opening that obvious, can you?
 
8:38 PM
@DeadMG oh it's raining eh, where you are?
 
@Xeo When talking about TMP, he's right.
 
@sbi eh, many of those links are from stackoverflow.com itself
 
Xeo
@R.MartinhoFernandes certainly
 
@jalf Try boost::lambda, if your Boost is old: stackoverflow.com/q/12062672/541686
 
sbi
@JerryCoffin He's also able to do incredible amounts of work. He was doing those GotW articles for half a dozen years, writing dozens of articles (some of them monthly), (co-)authored four books, was the committee chairman for a decade, for years lobbied for parallelizing programming, spoke at numerous conferences, organizes some (C&B), has a daytime job (now at MS), does videos, and whatever else insane amounts of work he does in parallel. He also got married, so he must have had a private life.
 
8:42 PM
Maybe he doesn't do anything at his daytime job (you know, how VC++ has little C++11 and all that).
 
sbi
@JohannesSchaub-litb Yeah, I know. A helpful commenter noted that there's >3k links from outside of SO pointing at this question, but I don't know how to exclude links from SO in that google query.
 
How many links are there to the regex question?
 
probably many
I'm guessing
 
@sbi Yup, no real question that he does a lot.
 
sbi
@R.MartinhoFernandes From what I know he also was the driving force behind VC Express being given away for free. I bet that took an incredible amount of effort at MS.
@Mysticial Why don't you check it out.
 
Xeo
8:44 PM
@Mysticial -site:stackoverflow.com or something like that?
 
@sbi ohh i see.i dunno either
 
There's about 600 links to the branch predictor question according to google. Searching for:
stackoverflow 11227809
stackoverflow 11227902
 
@JerryCoffin I don't
 
now I'll try the regex question
 
Ell
what is your regex question?
 
sbi
8:46 PM
Wow, the book question is now the most linked to question at SO!
 
@Mysticial: I posted this as a question, I think you might be interested in it. :)
 
16700 + 8060 for the regex question
stackoverflow 1732348
stackoverflow 1732454
 
DAMN - I appreciate that our utility company is doing it's very best to justify my investment in a home UPS, but seriously: power failures once a week is getting on my nerves now
 
@Mehrdad problem is that I don't know anything about lambdas
 
@Mysticial Ah I see, no worries then :)
 
8:47 PM
@sehe ...but are they throwing in the power spikes to ensure you're happy about it protecting against them too?
 
@JerryCoffin Probably. I've tree surge protectors in strategic places too (one of which is incorporated in the UPS)
 
Ell
@sehe really? o.O
how long does your UPS last?
 
> tree surge protectors
 
sbi
@Mysticial That doesn't work for the book question. It produces mostly false positives.
 
8:49 PM
@Ell Pick your poison. Germophobia or data-safety paranoia :)
 
@TonyTheLion I've been in tropical storms that killed people that rained less than this
 
Ell
germophobia :P
 
@Ell My UPS lasts ~ 30 minutes in ideal circumstances. i.e. when I'm around to switch of the monitors (because they suck the juice).
 
Ell
I <3 rain
 
@DeadMG oh ok
 
8:49 PM
@Ell what is it called, then :)
 
Ell
@sehe minutes?
 
@Ell yeah, sry
 
@sbi Really? It looks fine to me. Everything on the first page is relevant.
 
@sehe Motherhood.
 
I never let it come to that, though. I might not be around, so my servers go in safe shutdown after 10 minutes, unless I take control
 
8:50 PM
84300 hits for:
stackoverflow 388242
 
@JerryCoffin Good call
@Mysticial What is this? Inline Secretsexchange?
 
@sehe One I wouldn't have realized before I was married.
 
@sehe lol
 
@JerryCoffin Well, it varies. My wife isn't overly... Or maybe I just think that's normal.
And yeah we have kids, in case you wondered
 
I get 84300 hits when searching for "stackoverflow 388242" - which is the ID for the C++ book question.
 
8:52 PM
Man, a single train ticket to the place I need to go is only 1 pound sterling cheaper than a return. WTF
 
@sbi No, it's not. I bet you have or ignored.
 
@TonyTheLion makes sense if the full return ticket is £2
 
sbi
@DeadMG I was once in a tent with my girlfriend in the Golden Gate State Park north of San Francisco, when a rainstorm came in from the Pacific. Being in a tent bent by the wind in the woods at the slopes of a hill/mountain, we heard widow-maker branches crashing down around us all night. In the morning the weather got better, so we wanted to leave, but the road was blocked by a mudslide, so we couldn't leave.
 
@sehe lol
 
sbi
@Mysticial For the book question?
 
8:53 PM
@sehe If I'd gone (nearly) directly from living with my parents to being married, I probably wouldn't have noticed it. My many years as a bachelor changed my perspective a bit though.
 
@sbi Yes
 
sbi
@R.MartinhoFernandes Does that count on that page??
 
@sbi Guess that beats me. When I was in said killer storm, we were forced to leave the campsite by the authorities.
 
sbi
@R.MartinhoFernandes Oh yeah, you're right.
 
oh wow
@DeadMG was that in the UK?
 
8:54 PM
@JerryCoffin Just how many. I had ... let see maybe 6 years. Very very well spent too
 
no
southern France, near Bordeaux
 
sbi
@TonyTheLion A tropical storm in the UK?
 
Is there a way to use atoi with std::string?
 
oh France, yea makes sense, storms don't like French people :P
 
yeah
 
8:55 PM
lol
 
A tropical storm in France?
 
but apparently, it was the worst storm in that area for like, a hundred years or something like that
big pity because I really liked that campsite
 
nice swimming pools, several nearby lakes, etc
 
@sehe Ummm...let me think. 1982 to 2008, so that must be 26 years.
 
sbi
8:56 PM
@DeadMG The "authorities" (a park ranger in his house next to the campsite) had forgotten about us, and was surprised the next morning to see us. (His fault, we had officially registered with him.) He said had he known (i.e., remembered), he'd had taken us in.
 
Storms are cool.
 
yea when you're not in them
 
oh
we were only forced to leave after the storm.
 
@JerryCoffin one symptom was, that when I moved places, my girlfriend (now wife) found a pillow-cover (?) filled with dishes from a previous move (or perhaps.. two back; yeah, I think I know where I filled it). And I mean: unwashed.
 
during the storm, we all huddled together
 
8:57 PM
We washed some of it, and threw the ugly stuff.
 
@TonyTheLion No, when you're not in them they're not cool because they make you jealous.
 
@R.MartinhoFernandes Not if you're on Pukkelpop
 
@R.MartinhoFernandes lol, right. I guess I don't like storms as much as you do then.
 
sbi
@Mysticial Are you searching for stackoverflow 122120?
 
@JerryCoffin Ok, you win. By a wide margin. 26 years before marriage. Just how old are you :) Or did you count from birth (in that case, I only trail by 2 years)
 
8:58 PM
No. I searched for: "stackoverflow 388242" (without the quotes)
388242 is the id for the book question.
 
@sehe Sometimes I think my wife would be more comfortable if I was more like that. She takes for granted that being female means she'll be better at things like dishes and laundry, but I've had enough practice that it isn't necessarily so.
 
Well, I'm not actually 'like that'. I think.
But I had _bad patches_ shall we say
 
sbi
@Mysticial Hell, yeah, I must have messed that up. Looks much better now. Sheepish grin.
 
@sehe No, I'm counting from when left home to go to college.
 

« first day (675 days earlier)      last day (4291 days later) »