« first day (1616 days earlier)      last day (3323 days later) » 

12:00 AM
that is different to the code you have posted, where post_task is called inside a member, so it can refer to this implicitly.
 
Indeed.
Just exploring the possibilities.
 
also it plain has different semantics because in the bind version, the bar and har objects are copied whereas in the lambda they're referenced.
also frankly, latencyCounter is clearly duplicated inside the PTMF version anyway because you've specified the class name as well as the object name.
all you've done is gimp the flexibility of the function.
for example, how much more fun are you going to have with a PTMF if process is overloaded?
or a template?
 
I should mention the ptmf requires an overload for const methods...
I think I'll stick to the callables :P
 
the PTMF is just a manual lambda and also so much worse.
 
Can't beat post_task(F&& f)
 
12:04 AM
indeed you cannot.
well I'd better head off to bed
work tomorrow...
 
I discovered that it's not hard to write a macro that generates a free function overload for a method.
Probably worst idea ever. But it's remarkable how the combo of macro and variadics help here.
Anyway. That's it for me tonight.
I've gone too far again..
 
1:00 AM
40 idle users...
WAT
spams indefinitely, then leaves
 
hmm
I wonder why GCC isn't more aggressive in its optimizer.
 
and yet more removed spam
 
1:16 AM
@StackedCrooked liar! :)
 
Modern wifi gets throughput of 600 Mbit/s. That's quite impresssive.
@caps I stopped. But then I started again. So it was not a lie.
Technically, it's also already a new day :P
 
should a programming language with infix notation define negative literals, or only positive literals combined with unary minus?
 
1:42 AM
Is this weird:
 
template<typename T>
struct TypeRegistry
{
static const std::type_index TypeId;
};
wow, good timing @StackedCrooked :p
 
Web dev seems like a crazy world indeed.
@Pris It was very precisely planned :P
 
2:28 AM
Hmm, why?
 
it all feels so wrong ;__;
ks::ecs::Component::Type<ks::ecs::Component>::Index.name();
 
Wait, Index is an object?
 
@Jefffrey lol
@Jefffrey Index is a 'static std::type_index'
 
@Jefffrey lol
 
2:45 AM
Is there a way that I could prevent C++ from outputting to shell console window?
 
@Pris Why would you use CamelCase for objects?
 
@Jefffrey mistake, should be snakecased
 
I'm trying to stop C++ from outputting to the console... You guys know how?
 
@HelpingHand where do you want to output
 
@Pris I don't want it to output... I'm trying to stop my shell from outputting to the command line.
@Pris But have no way to control its output...
 
2:49 AM
@HelpingHand What are you trying to do again?
> I do a bit of HTML, Javascript, BASIC, C++, ++PHP++, a bit of Ubuntu booting, a bit of Reverse Engineering with Backtrack, a bit of iPhone/iPad fiddling, and a bit too much computer stuff in general.
What's ++PHP++?
 
@Jefffrey My shell is internally outputting to the command line, and I have no way of controlling it. I want to stop its output to the shell's console window...
@Jefffrey Just PHP with a bit of importance
 
So you are looking for something like the ob_* family functions in PHP for C++?
 
@HelpingHand You want a program that doesn't launch a shell?
 
@Nooble I need the shell but don't want any output to it... Unless I specifically tell it to only in the scope of the shell... Not included files...
 
Make a command line flag for that v0v
 
2:56 AM
@HelpingHand If you don't want to output, then don't use stdout?
 
So someone reported a bug where my Pi program can't use all the cores on a machine with more than 64 logical cores running Windows. The reason has to do with a thing called "Processor Groups" on Windows.
The problem is: Where the fuck am I gonna get a Windows machine with more than 64 logical cores to play with?
 
@Nooble I need to output, but only from one file... not any of the #include files...
@Jefffrey Please explain...
 
@Mysticial That has the smell of WaitForMultipleObjects() restrictions on it.
 
@HelpingHand You parse the command line arguments, and check if there's the flag that you decide will be used to prevent output (say --silent for example), and then every cout call will be filtered and if this flag is false, then you output everything, otherwise you don't output stuff.
 
@Mysticial I've heard of this company called Google that has lots of servers.... :-)
 
3:00 AM
@Jefffrey How do I filter the cout call?
 
@MartinJames For one, the SYSTEM_INFO structure only gives information on the local processor group rather than the entire system. That's a small problem since you can override the auto-detected settings manually. The bigger problem is that the thread creation is locked to one processor group unless you do something special.
 
@HelpingHand if (!flag) { std::cout << ...; }
 
I asked the guy to try switching the framework to Cilk Plus and see if Intel has already solved the problem. He hasn't gotten back yet.
 
Wait, you can declare non static objects like Level level = Level(50, 50); in the class definition?
 
3:30 AM
@Jefffrey Yes (in-place initialization like this is new in C++11).
 
3:46 AM
I'm finally done with an extremely difficult DDP project.
I mean really, if you're going to give me a CAD program, please give me one that's well documented.
There are basically no instructions online on how to use Inventor Pro.
 
ddp?
 
Design and Drafting for Production
 
Code: NoSuchKey
Message: The specified key does not exist.
Key: 404.html
RequestId: 4C21C27CCA72075D
HostId: z5ABtw5C2N1+UBFg6gBPyNB0EZCttLdaY1/mCtz4hjdbL3US8S4yl7DTo8JwJnoO
??
On mobile, can not format code
 
So Microsoft has this 25 page document on how to use more than 64 logical cores on Windows. Thanks...
 
4:20 AM
0
Q: Why am i being told "past questions have not been well-received, and you're in danger of being blocked from asking any more"

martin fI find that very offensive! How do i fix my "poor questions"? You've really gone an fucked up.

 
This post is a perfect example. You really wonder why you're heading towards a question ban? — Lightness Races in Orbit 24 secs ago
@Mysticial The irony is you're the only person I know who is likely to need to do that
So, someone's set up a fake Facebook account of an attractive girl from my home town, with a fairly realistic backstory but little detail. And a profile photo stolen the web. And randomly added me over the last few hours. I know it's one of you guys. Very funny.
 
He has a stacked resume, you think its a fake account?
 
@Pris so html5
@Pris um what????
 
@LightnessRacesinOrbit Look at all the places he has worked; why would a professional say stuff like "You've really gone an fucked up. "
 
dat 2.76MB webpage background image
@Pris We're talking about different things, buddy.
 
4:30 AM
@LightnessRacesinOrbit Not sure if you were here earlier to see this:
2 hours ago, by Mysticial
So someone reported a bug where my Pi program can't use all the cores on a machine with more than 64 logical cores running Windows. The reason has to do with a thing called "Processor Groups" on Windows.
 
But yeah... I have a bug for which even if I fixed it, I have no way to test it. :)
 
hi Kits
honestly, this fake Facebook profile is fucking creepy. at least one of you people is really very sad.
 
Morgan Cunningham?
 
@LightnessRacesinOrbit why do you think its someone from here
 
4:35 AM
@Pris a few things
I have to admit it took me half an hour or so to realise it was a fake
so you got me, well done
whoever you are
ultimately just wasting your own time on your LRiO obsession, though
> Solar eclipse set to plunge UK and Europe into darkness
I mean, yes, it is, but isn't this a bit sensational?
anyway, yeah, I should get some sleep if I wanna see it
> This action is not dangerous, but there is a risk of looking into the Sun around the edge of the phone as the screen is lined up.
lol this bullshit again
> The weather always has the potential to play spoilsport, and early forecasts suggested thick cloud would cover much of the UK at the critical times. A cold front is pushing south over the country and it may be that only a lucky few - most likely across the English Midlands and perhaps north-east Scotland - will get a glimpse of clear skies.
hmm
> Prof Giles Harrison explained: "This is the first big partial eclipse to happen in the UK since 1999, and the next one isn't until August 2026, so this is a once-in-a-generation opportunity. "By observing what happens on Friday we are effectively turning the skies of Britain into a giant weather lab, giving us a rare chance to see what happens when you 'turn down the Sun'.
that's so cool
> Oxford University scientists are using the event to try to understand how eclipses affect electricity grids. The deep shadow will reduce the output from solar panels, which now supply a significant proportion of power needs right across Europe. The researchers will look to see how this dip in performance impacts the stability of grid networks.
wtf do you mean like NIGHT TIME? get a grip
> WARNING. NEVER LOOK DIRECTLY AT THE SUN WITH THE NAKED EYE, OR WITH CAMERAS, TELESCOPES, GLASSES OR DEVICES OF ANY KIND UNLESS SPECIFICALLY STATED THAT IT IS SAFE TO DO SO. LOOKING AT THE SUN WITHOUT PROPER PRECAUTIONS CAN CAUSE SERIOUS EYE DAMAGE.
unless the Lounge concludes you're okay to do so (/cc @R.MartinhoFernandes)
goodnight kids
 
5:05 AM
Lol, I never have this kind of problem because I am not on Facebook 😂
 
@chmod711telkitty Think about it for a moment before you conclude that the problem is Facebook. Consider the likely "culprit". Start by narrowing it down to all the Lounge denizens with a history of grabbing photographs of attractive women from the web and using it as their profile picture. Now quick, who is the person who almost certainly did this?
 
@JerryCoffin Uhhhhh Bartek? Bartek, right?
Or maybe it was the polar bear
 
@Pris If Bartek's ever done that, this is the first time I've heard of it.
 
im just playin
 
@Pris Well, I guess you never know--that could be a female polar bear.... :-)
@Pris Yes, I figured.
 
5:16 AM
@JerryCoffin You can't point a finger at a lounger just by circumstantial evidence
 
@chmod711telkitty I'm not pointing a finger at anybody, just pointing to the evidence.
 
Also LRiO likes to use beautiful women as his avatar, are you suggesting that he was so engrossed with a subject he created a fake account while sleep walking & contacted his other self with it?
 
@chmod711telkitty I'm not implying or suggesting anything about sleep walking about at all.
 
5:47 AM
@sehe Pretty bad analogy, I would say.
 
6:27 AM
Morning all.
 
How did the monk get himself banned from heaven?
He said, "Damn it God, stop talking to me! Don't you know I've taken a holy vow of silence?"
Also it can't be that early/late, right?
 
6:44 AM
@Cinch It's 7:43 here, I've been awake since 4am.
 
It's 8:44pm here.
'Twas the nite before midterms, and all of SO was sleepy and sound
Then suddenly hangover and Haskell and toilet paper and OOPS.
"Da zero zero 1 one!!!" said my professor.
Midterm grade: S-.
Then I went to teach kids Minecraft.
 
@Cinch 8:44pm? You're on Hawaii?
 
@Zeta Duh do you even HST man
 
Nah, I usually CET. Or CEST.
 
Okay.
Does anyone here like Final Fantasy music?
Fine I'm going to post some since no response; they're freaking great.
 
6:53 AM
Just post a link to a playlist. For example the distant world concert.
 
Oh but that's easy to loo up.
How can so many remixes come from one song?
 
Lol, I was watching this. youtube.com/watch?v=iYt7hPU8svw has music from FF7...
 
@Bair One-Winged is... meh.
I think only the orchestral live version is good.
 
Yeah, most of the comments agree. just a funny coincidence that you mentioned FF...
 
I like FF but I'm amped for FFXV
And finally no emo-ness coming from Noctis.
He just seems more normal guy than emo this time and is not a cardboard plunkie with no personality.
Also Yoko is a goddess for music.
How can you NOT like this?
 
7:04 AM
Because I prefer to spend time on things that are more useful?
 
@chmod711telkitty Dude how what can be more useful than band-aids for the SOUL?
SOULLLLLL
 
@chmod711telkitty Like SO chat.
@Cinch Depends. If I'm bleeding, band-aids for the body would be better than a perfect performance by the FF orchestra. Although it would be a sweet way to pass away.
 
@Zeta for the SOUL man not your body tis but a flesh wound
/s/s
Anyways.
What C++11 feature should I learn today?
 
@Cinch why would I need band aids for my soul, do you put band aids on your perfectly healthy skin?
 
@chmod711telkitty No I pile moisturiser on it and then slap it over and over to get rid of my rad neck wrinkles.
 
7:45 AM
 
8:10 AM
I wonder what airline is this:
user image
3
The "TC-JBI" suggests that it's just a photoshopped Turkish Airlines A320.
 
8:32 AM
@Puppy Just use plastic bin bags and avoid having to wash it at all?
 
8:47 AM
@Mysticial is what I'd expect yes
@chmod711telkitty Like uptalk :)
@wilx I like it. Especially for the fact that it is completely ruined by the opposite implications related to miners. And the fact that male and female canaries suffer equally. Etc. I think it's a perfect example of how any observation (not even just analogies) can and will be (a) onesided (b) easily attacked for being onesided
@LightnessRacesinOrbit get a grid*
 
user1804599
toString is such a horrible thing.
 
@Mysticial luxury problems :)
 
> As a beginning coder myself, I am SO grateful for all the beginning coders that posted super-basic questions in the past. That's why I know of stack overflow, because I searched stupid things like "convert string to int java" and get that ignorant person's question as my first hit.
 
user1804599
The only reasonable thing is a generic function that returns an AST, and another function that calls that and returns a string.
 
Hehe, I'm the same.
 
user1804599
8:59 AM
But a generic to-string-for-humans-to-read is nonsense.
 

« first day (1616 days earlier)      last day (3323 days later) »