« first day (1520 days earlier)      last day (3427 days later) » 

12:14 AM
Got my Fanatic badge lol
 
Columbo has a C++ gold badge?
guess they hand those things out to anyone now
 
I was gold badge #250 a few months ago.
 
I want a gold badge :(
 
@Rapptz I was gold badge #20 (and slowed down to get a round number--definitely could have been #19 and probably #18 if I'd tried).
 
Some numbers are just prettier :p
 
12:28 AM
@Puppy I wouldn't say that. He's been top answerer in the last 30 days for a while now.
 
I wonder if it's faster to use std::thread instead of std::async + std::future in this particular case.
the functions return void so I have no use for an std::future
 
Morning
 
hi
 
@Rapptz Yup--though looking at things, a couple of accounts have been deleted, so it looks like I was #18.
 
12:34 AM
@Puppy Answering C++ questions and get many upvotes is fairly easy.
Just pick mid-easy questions, place a standard quote even if there's no need of one. Wait. ??? Profit
 
@Jefffrey The Shafik Strategy.
Works pretty well.
Named after this guy
 
@Jefffrey To paraphrase Ambrose Bierce: "YouTube: an invention of the devil that abrogates some of the advantages of making disagreeable music keep its decade."
 
@Rapptz 18 may be prettier, but 20 is more experienced
 
@Rapptz I didn't know it has a name. I've look it up on google, but nothing comes up for "Shafik Strategy stackoverflow". Is there's some more background I can read on?
 
@Rapptz Shafik recently had a +31 voted answer to "Why can't you declare a variable inside a do while loop?"
Wow
@Jefffrey follow the damn link, silly
 
12:39 AM
@Jefffrey It's pretty much unknown outside the lounge.
 
@Jefffrey I just came up with it.
 
@sehe It's... a profile page?
 
@Jefffrey Read his name man.
 
@Rapptz Ow... :c
 
How's that not self-explanatory
4 mins ago, by Jefffrey
Just pick mid-easy questions, place a standard quote even if there's no need of one. Wait. ??? Profit
 
12:40 AM
@Rapptz Yes, I got that part. But I thought there was background like a meta rage thread or something.
 
Nope.
 
I didn't know it was a vlad-like character.
SORRY OK!?!
 
The guy is literally your comment exemplified.
Look through his answers.
 
AFAIKS 87% of the top-rated users are like that in (disclamer)
 
@Jefffrey not yet. we, loungers, don't do meta storms (that much)
 
12:42 AM
@Jefffrey Not really Vlad-like. Especially early on, Vlad wrote some truly horrific answers. Shafik's answers were never really terrible--he just stuck to simple questions, and giving standards quotes to support simple answers.
 
I see
 
Messing with threads is not fun.
 
@JerryCoffin Very much like me, than. But then I took an arrow to the knee got bored and started learning boost
 
Maybe I should just do all of this sequentially.
 
If you wonder, then yes, certainly that's better
 
12:46 AM
@sehe Close to the opposite of most answers I've noticed you writing. Yours tend to be fairly heavy on code (i.e., you frequently show how to do something) and often cover relatively obscure areas (most obviously, parsing with Spirit).
 
yeah. I was referring to my really early days. 2011
Also: annoying when you spot typo's late
 
No threads          : 168.5697331s
std::async          : 163.2570652s
Modified std::async : 136.171869s
std::threads        : 142.5665134s
:(
Guess I'm I/O bound.
 
what is this?
 
@sehe I'll take your word for it--I'm far too lazy to look though old answers to figure out.
 
:D
 
12:51 AM
@Mysticial Some shitty Rapptz program.
 
@Rapptz Mostly--though you are gaining a little by using threads.
 
Me too. I sometimes get a little uncomfortable with the cheesyness of my own early answers. As with my own questions (that were all teleported from mailing lists)
@Rapptz or you're (implicitly) waiting amongst threads?
 
@Rapptz You're trying to thread I/O?
 
@Mysticial yes
 
make it async
 
12:53 AM
@Rapptz As in make I/O run in parallel with some computation?
 
Yup.
 
operator[], front(), etc aren't marked noexcept in the standard, should I mark them noexcept for devector or not?
 
@Rapptz Ah. You might want to separately measure the computation and the I/O to see how long each takes and get an estimate for how much overlapping will even help.
 
Xeo
Hi
 
Heyo.
 
12:55 AM
Hi
 
Xeo
How did Soberbot react to Drunkbot's shenanigans?
 
I haven't seen robot all day.
 
Xeo
He was here in the morning
at ~9am my time
 
Which is weird because we were supposed to play Diplomacy today I think.
 
Xeo
so 17h ago
 
12:55 AM
Maybe no one showed up
 
Did he even mention anything about last night?
 
Xeo
He said something about checking his mails and I think he asked who pinned his message
 
@Mysticial I'll see.
By the way.
The difference between regular std::async and the modified one is how I used std::lock_guard.
The first one was keeping it alive for the entire scope, and the second one was giving it a tighter scope.
 
@Xeo which one :):):)
 
Overlapping computation with I/O is something I do in my Pi program. The optimal solution usually involves using two buffers and switching after each IO/compute iteration.
But it's more complicated.
 
12:59 AM
7 mins ago, by sehe
@Rapptz or you're (implicitly) waiting amongst threads?
was a large factor then
 
Yup.
I'm not sure if I should use Boost.Asio.
Probably won't help too much and would complicate it even more.
> When using a C++11 compiler, most of Asio may now be used without a dependency on Boost header files or libraries. To use Asio in this way, define ASIO_STANDALONE on your compiler command line or as part of the project options.
 
Measure first. Optimize later. Boost Asio can help implementing IO asynchronously without necessarily incurring much locking overhead.
 
I only really lock for std::cout
I could probably remove the print statements entirely
but they're there for measurements
 
Don't print in the middle of the measurement. Save the value and print at the end.
Actually, what timescales are we talking about? How long does the computation take? Seconds? Milliseconds? Microseconds?
 
Seconds.
 
1:03 AM
Oh, then printing shouldn't matter.
 
Ell
Yeah I want to know how robot reacted
 
Xeo
1:26 AM
yesterday, by R. Martinho Fernandes
Fuck you future me. Don't bother checking every message around this time.
He... fucked up badly while drunk
 
Oh you gave me the context I was missing.
Thanks m8.
 
@Xeo hehe. He said similar things before
 
Xeo
Check my message after that :P
and the links therein
 
I'm drinking right now
Also movies
I don't think he talked to her btw
 
Xeo
bwahaha at the Azidoazide Azide
 
1:35 AM
@Xeo deleted, ofc. Though I concur, y'day appears to have been a new highpoint
 
Xeo
@sehe yes. oh wait, you're not an owner anymore, are you
 
Pizza, beer, movies, almost perfect weekend
 
Xeo
Sorry, I thought you'd be able to see them
 
I don't get it
 
Why are you not registering on Phabricator you butts
 
1:37 AM
I have a steam engine connected to a pole, water at 100 going into it, boilers going and pump working and it doesn't generate electricity?
 
Engine input is in the middle
 
@LightnessRacesinOrbit Nah it'd be banned because it's noise and annoying
 
@CatPlusPlus I have connected it into the middle.
 
@Jefffrey You have it backwards I think
Rotate it 180
 
1:40 AM
nope, still nothing
 
Dunno I'm drunk
You're probably doing something wrong
 
it gives the yellow sign of "missing electricity"
it's just not shown in the picture
also stop drinking, jesus
 
@Jefffrey You need to connect it to the electric network.
 
Never stop drinking
How did Robot spell things
It's amazing
 
Use the small/medium/large electric poles or substation
 
Xeo
1:42 AM
@CatPlusPlus I was wondering if he was stupidly drunk enough to send her some sms while intoxicated
 
What does the engine status bar show
@Xeo I told him not to
 
@milleniumbug Woops. Thanks.
 
But he should really talk to her while sober
 
Xeo
@CatPlusPlus Well you telling him and him not doing it...
 
DONT BE ME
I'm going to watch more films and drink more
 
Xeo
1:49 AM
I'm gonna sleep
 
why am I still up?
 
Ell
No idea
 
2:13 AM
I cant stop laughing
 
2:43 AM
@TonyTheLion why I am still down?
Why is this mentally disabled kid so Down?
 
user1804599
@StackedCrooked dat pun
 
3:48 AM
A CRTP class could use std::is_base_of to check if it's really a base of T.
Is this a compiler bug?
 
@StackedCrooked Derp. It checks if Foo is derived from CRTP<Foo>, and indeed it is.
 
oh, lol
 
You need to check it in the derived class
 
Yeah, sort of. :D But I think this is worth more analysis, so I'll be thinking about it.
 
4:03 AM
 
4:13 AM
@R.MartinhoFernandes Robor, don't drink.
 
@Xeo I didn't send anything. I can't talk to her. It's complicated. It's non-negotiable. I'm fine. Not. I will be fine.
Also stop talking about it.
 
5:02 AM
Anybody have a favorite DCT implementation for the GPU?
 
5:17 AM
@StackedCrooked I kind of had this happen to me today.
 
really?
 
On a related note, changing diapers is not that fun.
 
Never done that. But I think I'd agree.
 
@StackedCrooked Yeah. I was changing the diapers on my baby cousin and I was thinking how weird female baby vaginas are compared to male baby penises. Kind of weird that the comic was posted.
 
What's weird about it?
 
5:20 AM
Just looks strange.
 
I don't really think so.
 
I wouldn't recommend googling it (e.g. "naked babies") but hell.
You can go ahead.
 
lol
I'll refrain from doing so.
I was thinking of Age of Empires until I googled the acronym.
(It means "area of effect attack".)
 
Guessing you don't play many games :p
 
I used to play them a lot between 1998 and 2002.
Those were the days of StarCraft, Half-life and Age of Empires II.
After that I lost interest.
The only game that managed to rekindle my interest was Dragon Age in 2010.
I spent many hours on that one.
I should resume watching the anime :P
 
5:36 AM
age of empires 2 was me slowly, slowly building a castle in their base
 
lol
at first AoEiII was all about TC pushing
But with the expansion things got more balanced.
 
 
1 hour later…
7:02 AM
Can I install both Mac OS & window OS on my macbook air?
 
@chmod711telkitty Most are using a VM I think.
 
won't work in my case - I need to use the laptop to debug the app on the spot
I am using afternoon of my only free day of the week testing my new Android app, yet still so many bugs on testing round 2 ...
why is there no cancel option on this Android ... 'cut', 'copy', 'paste' ... no 'cancel'??
 
back button
 
 
1 hour later…
8:34 AM
@chmod711telkitty I don't know if Bootcamp still works
 
9:02 AM
ooooh, spinny
 
 
1 hour later…
Xeo
10:21 AM
@R.MartinhoFernandes If you say so
@R.MartinhoFernandes Sure
 
Anyone here happen to have experience with Mini-SAS controllers?
I'm doing my holiday shopping now, I'm a bit nervous about getting into industrial-grade storage.
 
@Xeo Yeah. Stop talking about it!
(I have no clue what this is about.)
 
Ell
Damnit I didn't get up in time to write my letter
I'll just tell him I won't be turning up after next week
 
10:36 AM
When you write a single argument rotate_left function for binary trees, do you want to pass in the parent or the pivot node?
 
@StackedCrooked Robot's crush.
 
Oh, just that.
 
@StackedCrooked Half-Life 2 was considerably better than Half-Life.
 
Yeah, I've been intending to play it for seven years now.
 
you can probably pick it up for super cheap in the next Steam sale.
 
Ell
10:47 AM
@StackedCrooked may as well wait for half life 3 ;)
 
does anyone know what time is today's meteor rain?
 
Guess I'll be picking one of these up: http://www.newegg.com/Product/Product.aspx?Item=N82E16816101792
2 fanout cables and 2 external racks.
I hope I don't fuck up the part compatibilities.
 
almost time ... now put on warm clothes & taking a 2 minutes stroll to the park to see some shining rocks (& ice) sliding across the sky
 
user1804599
@Puppy Are they robosexual?
 
Omg, I was going through this section coincidentally yesterday, haha
1
Q: Left bracket not matched correctly while using lambda inside brackets, inside template function

Meena AlfonsUsing Visual C++ 2013, the following code produces a weird compile error: /// header.h class Test { public: template <typename Func> void operator[](Func f) { f(); } }; template <typename T> void funct() { Test t; t[[](){; }]; // line 16 } /// main.cpp int ma...

 
user1804599
Does std::call_once typically use a mutex?
 
user1804599
lol, std::once_flag has no members in libc++ :v
 
user1804599
11:19 AM
oh nvm
 
@StackedCrooked Geeebus. The English dubbing sounds terrible.
 
@rightføld Btw, congrats on passing 10k.
 
@VáclavZeman yeah
 
user1804599
Ah, it uses a mutex.
 
user1804599
11:25 AM
Why not CAS?
 
user1804599
Because the function may throw?
 
user1804599
But then it could optimise for noexcept functions though.
 
user1804599
> If the selected function exits via exception, it is propagated to the caller. Another function is then selected and executed.
 
Arnold Schwarzenegger is already 67. Damn.
 
Hello people!
Someone knows how to use Clang with his own 'libc++' on Windows?
 
user1804599
11:37 AM
If I make Lazy T callable you can say myLazyValue! to force it which is nice.
 
@rightføld Stop being lazy you bum.
 
morning
 
user1804599
Don't recommend new[] and delete[] to people who are new to C++. — rightføld 9 secs ago
 
meh ... too early, being standing in the park like an idiot & saw 1 shooting star going in the opposite direction ...
 
@rightføld Don't see why.
 
user1804599
11:50 AM
Because it's exception-unsafe in nearly all situations?
 
user1804599
Because it's unnecessarily error-prone?
 
user1804599
Because there are alternatives that are far easier and safer to use?
 
Like integer overflow and zero-division?
:D
 
user1804599
More like fopen and fclose.
 
I would tell them about new[] and delete[]. Not recommend those but.. surely tell them about their existence. If I had to shut up for every feature they could get wrong and shoot their foot with, I should just teach them how to save a textual .cpp file (and believe me, with Windows hidden extensions they could get that wrong as well)
 
11:53 AM
Better tell them that arrays aren't pointers.
Because many got fooled and produce very bad code, including me years ago.
 
You what? ! What about all the stuff that was in your question (about getting the same distance each time etc. ...). I give up — sehe 2 mins ago
 
user1804599
@sehe That's what you get for answering non-questions instead of downvoting and closing them.
 

« first day (1520 days earlier)      last day (3427 days later) »