« first day (1502 days earlier)      last day (3432 days later) » 

12:00 AM
But you still have to fast for like 8 hours beforehand.
 
yep
wasn't a problem as it was early morning
 
@Rapptz The story is a little bit weird. I have had dizziness and anisocoria for a while now. I immediately went to the doctor which sent me to the neurologist (and oculist, heart doctor, etc...) and the neurologist said that he couldn't notice any neurological problem (he did some basic tests I guess, like reflexes, eye visit, walk forth and back eyes closed, touch your nose eyes closed, etc...).
 
@Ell The radiation given at those "doses" is essentially non-lethal tbh. I mean I'd be worried if I was being blasted with it constantly.
 
FUCK
Too late, a couple of minutes
1
Q: C++ - struct constructor, redefinition error when trying to derefence a pointer to the struct

almosnowWhen defining a constructor overload whose only purpose is to dereference a value I get an error that I'd like to understand. Here's the code: struct _tv { string t; void* v; _tv(string _t, void* _v) { t = _t; v = _v; }; _tv(_tv* v) { _tv(*v); }; // A }; An...

If he would've posted it two minutes earlier :((
 
Ell
I wonder if there is already a proposal for calling a function with a tuple as the args in the standard library
 
12:04 AM
std::apply
 
user1646075
i've had a few CT for thorax and abdomen over the last 6-7 years, and an MRI recently for shoulder. MRI was longer and more annoying. The 'contrast' injection is wierd, makes you feel like ice is flowing through your veins, and like you're chewing on steel. I guess that's how Arnie and Stallone feel all the time...
 
@Rapptz Then he made the mistake of inviting my mum in, because he was pissed that the doctor wrote "brain tumors familiarity" (one of my granparents died from brain tumor and another had some operation in the brain as well). Then my mum engaged in a discussion with him about being certain about diagnosis and so on.

So the doctor, pissed, wrote down the prescription for a CAT scan and while handing it to me he said "Hey boy, I'll write the CAT scan prescription, you shall do this CAT scan only if you want to. Not if your mother does."
 
I probably wouldn't take it if it isn't necessary.
Just my 2c.
 
That's my point.
 
Wow. Girl Taylor Swift posts tech inclined joke:
okay...
 
12:06 AM
But all the other tests come up negative, so we still don't know what's causing this.
 
Physiological anisocoria is harmless. Dizziness could be caused by something else.
 
And recently I've been also having some hyper sensitivity on the hairs of my belly.
 
I kept getting that on the hairs on my foot.
you do not want to be walking around in shoes and socks with foot hairs that bitch at every slight motion.
 
And that apparently has something to do with the nervous system being damaged somehow.
 
How do you have hairs in your feet?
There are no hair follicles there.
 
12:09 AM
So now the idea of doing some more tests on the nervous system came back.
 
user1646075
@Rapptz toes have a few
 
Right.
 
@Rapptz I don't know if that's implicit in "anisocoria", but the eyes respond correctly to the light and they become unequal only after quite some eyes stress (eg. If I wake up and go to the mirror I don't have unequal pupils).
So the doctors said that they are not worried about that.
 
user1646075
i think i've seen some mild hairyness on top of a foot. Darker Mediterranean and/or arabic. I'll spend the next few days looking closely at sandalled people.
 
> It's wrong to blame Facebook for the murder of Lee Rigby no kidding, UK?
 
12:11 AM
@Rapptz Wait, you don't have hairs on your feet?
 
There are no hair follicles in the feet.
Just the toes
 
I have some blonde hairs on the top of my feet (not toes).
 
> “The made in China e-cigarette had malware hardcoded into the charger, and when plugged into a computer’s USB port the malware phoned home and infected the system.”
haha - electronic smoking, still bad for your health
 
My hair cuts off exactly at my ankles.
 
There
Where the white stuff is.
 
12:14 AM
Also, on my toes themselves (top). Gets a bit bristly so I know without looking
 
ugh, I thought the controller was fine after I dropped it the other day but now I notice the Y button is stiffer than usual
 
Probably should have specified further.
 
> Insgesamt gab die Polizei bei dem Vorfall 132.688 Schüsse ab, nachdem sich die Beamten von den Demonstranten bedroht fühlten. "Viele von ihnen waren schwarz, hatten bedrohliche Augen, Ohren und Münder und liefen auf bedrohlichen Beinen bedrohlich vorwärts", erklärte ein Sprecher der örtlichen Polizeibehörde. "Nicht wenige von ihnen trugen bedrohliche Gegenstände, die man mit zusammengekniffenen Augen durchaus für Schusswaffen halten konnte."
 
Also holy shit my neck muscles are tense.
 
12:19 AM
@LightnessRacesinOrbit Not really.
 
lol
 
@Rapptz Anyway, thanks for hearing me out. I really appreciated it. :)
 
Np.
Feel better.
 
@Jefffrey I hate that hair
 
@AlexM. I cut them regularly.
 
12:20 AM
I always cut it
 
I actually find them sexy when they are mid-length.
Ok, maybe sexy is not the correct term.
But I like them in that case.
 
FWIW what I meant by "feet" is the area between the phalanges and quadratus plantae + the soles.
 
I just used a Singleton in production Java code. Now I feel dirty.
My tech-lead said it's okay since it's all throw-away code anyway.
 
gj
I am working on a sprite class.
or well, documenting it now.
 
Documenting as a hobby now.
That must be a sickness
 
12:24 AM
..?
I document the libraries I make in my spare time, yes.
Or try to.
 
Ell
I'm trying to write apply. why doesn't it compile? coliru.stacked-crooked.com/a/b0f9ce99cdf55eb9
 
I don't why I'm turned on by this:
> std::unique_ptr<SDL_Window, window_deleter> ptr;
 
@Rapptz :) I was half kidding. I think I document my ideas for those up front. But I never finalize the docs. The code comments will have to do
@Jefffrey Because it's so ugly? Needs to be an alias, at the very least
 
nah, I think it's fine.
 
Why would I alias something I only use once internally?
 
12:27 AM
using window_ptr = std::unique_ptr<SDL_Window, window_deleter>; would be just noise.
 
disagree - it's nice and readable
though maybe add it only when you need it twice
 
your mum is readable
 
using is C++11 only I see
I'll stick to typedef-ing then
 
well... that usage of using is
 
I think the most recent case where I used an alias like that was in C#, depending on the platform (WP or W8) the web browser control was coming from a different place but the interface itself was pretty similar
so I just made a BrowserControl alias that would be set to whatever was right depending on the platform
at the same time I got rid of the tons of #ifs in the parameter lists that were there before
 
Ell
12:38 AM
Hmm. I wonder why something can't be inferred in std::forward :S coliru.stacked-crooked.com/a/dab856dca7670f19
Oh I forgot the type :P
I forgot how to use forward
 
-16
Q: a demonic reputation requires a demonic notification?

ymzit just happens to me that my reputation become demonic, thus equals excactly 666! any chance to make a notification for this rare situation?

 
@Mysticial im always amazed at the stupid shit ppl come up with
 
10
A: How do I type an 'æ' character?

WhaaaaaatTyping unicode is slightly different in Ubuntu. The key combination is: Ctrl+Shift+U+code+Space However, Windows uses decimal notation while Ubuntu uses Hex notation. Æ in this case (what 0198 is) is c6 for Ubuntu. So, you'd do: Press Ctrl+Shift+U. Release it. Type c6 (or 00c6) Press Space ...

"Unicode" /cc @R.MartinhoFernandes
 
looks like a troll not dumbass
 
12:48 AM
sometimes, it's hard to tell the difference between a troll, an idiot & an ignorant user in which the case you would have to read his/her past comments, questions & answers or other supplied info to figure it out
 
You mean when you stalk someone, it's hard to figure out who's the idiot :)
 
@Ell yay, more unreadable code
 
@LightnessRacesinOrbit FUS-RO-DÆ
 
Ell
@LightnessRacesinOrbit which bit?
 
@Ell only a small bit
basically the segment that starts at the first line and ends at the last line
 
12:57 AM
...
 
I call that detective work
but I guess detectives stalk people so ...
 
@Ell It's library code. Its purpose is to be generic. So. It's just natural for it to be not optimally readable
Because you can only move from rvalue references... Oh, and yes, the Bar&& value parameter is a lvalue. C++ is a fun language. You'll get the hang of it — sehe 58 secs ago
 
Ell
Bar&& is an lvalue?
It seems I was naïve enough to think I "got" it :P
 
It's highly unintuitive. Anyways, it's the difference between int x = 42; int& y = x; Here too, y is a const lvalue, but you don't usually "think of it" that way
 
Ell
Ohh I just understood
 
1:04 AM
is it possible to link the games on my windows partition to my linux partition, so games do not have to be downloaded twice?
 
Ell
The referee of a Bar&& is an rvalue?
@corvid unlikely to be easy
But you could probably manually junction/softlink directories with platform independent content together
 
Yes. Or at least, this we promise the compiler (it can actually be an lvalue object, because, what is the difference? We just tell the compiler he can treat it as an rvalue because we no longer care about the object)
@corvid vice versa is what I do (not with games, but e.g. virtual machines)
It's a lot easier to access NTFS from linux than it is to access a sane Linux FS from windows
 
Ell
Yeah
 
Xeo
time to put an end to this stupid day. g'night
 
have a better day tomorrow @Xeo
 
Ell
1:07 AM
Night @xeo, hope you feel better tomorrow
 
Matrix Runs on Windows XP ... how could I have not seen this earlier?
 
@chmod711telkitty very well done
 
Ell
What range library do you folks use?
Hmm. I wonder if typeid will keep the ref qualifiers of an rvalue ref correctly
 
TIL Nick Drake is (a) old, and (b) dead longtime.
 
1:34 AM
Hm.
@Ell None.
 
Ell
I don't either
I just want them to be standard
 
Woke up and can't sleep. Reading disussion on thawing turkeys.
 
Ell
Will ranges replace iterators?
Entirely
 
iterators probably won't be removed from the language in a long time
 
Ell
But conceptually you don't need iterators if you have ranges right?
 
1:38 AM
I think you'll still need them.
 
Ell
Is there any use of an iterator without an end iterator with it?
I guess infinite things
 
Sometimes the default constructed iterator indicates the end iterator.
So in those cases you'd only need one iterator and just create the end iterator when you need it.
 
Ell
Like istreambuf iterators
 
Ell
I wonder how ranges would interact with streams
You'd need to hand it a type
Man I'm pissed at that phone bill
 
1:45 AM
@Ell what did it do?
 
Ell
Went up to £60 :P
 
> The average male orgasm lasts 6 seconds. Women get 23 seconds. Which means if women were really interested in equality, they'd make sure we have four orgasms for every one of theirs.
lol
 
Hello Marcus. What can I do the help?
i cri everytim
 
o.o
oh jesus way past my bedtime bye
 
Ell
1:57 AM
23 seconds
I'm jelly
 
@Ell ?
@LightnessRacesinOrbit fuck
 
Ell
2:08 AM
@jefff ?
 
@Ell I'm way past bedtime too.
 
2:57 AM
Nobody say a thing and pretend you never saw it. If he finds this, that means he's totally stalking me.
  ___ _              ___
 / __| |_  ___  __ _/ _ \
 \__ \ ' \/ _ \/ _` \_, /
 |___/_||_\___/\__, |/_/
               |___/
 
Ell
whistles
 
3:25 AM
Quick question. Why on Earth does this compile?
template<typename F, typename... args, typename R>
static R unsafe_c_callback(void* thisptr,args... a) {
    return (*((F*)thisptr))(a...);
}



template<typename F, typename... args, typename R>
static void* C(const F& callback, R(*&fptr)(void*,args...)) {
    fptr = unsafe_c_callback<F,args...>;
    return (void*)&callback;
}
(C++0x mode g++)
 
What did you instantiate this with? IOW, why not show us an SSCCE?
 
OK. I'll paste an example program on pastebin
Compile with --std=c++11
or --std=c++0x
It converts a lambda to a C function pointer
Example program prints:
Lambda text
5
 
3:40 AM
Why would it not compile?
 
The type of fptr ensures there is no ambiguity in selecting the unsafe_c_callback specialization.
 
Wondering how the compiler is able to infer the type for R
In unsafe_c_callback
 
Yeah what Luc said.
 
In turn, the type of fptr (the C parameter) is determined through template argument deduction.
so it is the type of your fptr in main that drives the whole thing
 
Ahh; so it can actually look at the return type. That's pretty cool
By the way; is that a good way to pass lambdas to C callbacks; or is there a better, preferred way of doing it?
I've considered using a pointer to an std::function but that has too much overhead
 
3:50 AM
The general principle is fine.
(Technically you’re not supposed to be able to pass C++ linkage functions as arguments to e.g. extern "C" { void eat_callback(void (*f)()); } but the major compilers/platforms don’t enforce that.)
 
Ahh. Why is that?
 
It allows an implementation to treat those pointers differently if it needs to, supposedly.
 
Ahh; so that might be relevant for something like Emscripten.
 
I don’t think there is much of anything that remembers this rule and respects it.
 
4:17 AM
how do I learn the ways of Rightfold?
 
@sbi Well considering that we only have heard of this twice and both of the same species, it still is surprising for most. But you're right, they're animals, we just need to have more surveillance on their sexual activities. ;)
 
why do you have to be like the lobster in particular & not some random ass like everyone else here?
 
I will feel thoroughly unfulfilled with life until I am a crustacean
 
5:16 AM
Hi?
 
hi
 
hi
I've given up on the sleeping plan.
Now eating tuna sandwich.
 
Good plan.
 
Only recently I've realized that tuna are really big fish.
Used to think they were about as big as salmon.
 
@StackedCrooked They get smaller and smaller each year.
hint: overfishing
 
5:28 AM
does that mean the salmons get bigger?
hint: nonsequitur
:D
 
@MarkGarcia it seems really bad
one tuna species is already on the brink of extinction
 
Mostly because of large-scale trawler fishing.
Local fishermen here still catch manually (bait) and if they catch a small one they'll release it back.
 
maybe we should stop fishing for a year
lol, never gonna happen :P
 
Yep, like no-fap months. ;)
 
5:35 AM
@MarkGarcia I like to not reply to such messages for a long time. That makes them more embarrassing to the one who posted them.
 
lol thanks then!
@StackedCrooked Also, clever reply.
 
6:06 AM
0
Q: Computer jjourmals that publish articles on C++

Vlad from MoscowWhat computer (on-line) journals can you advice where an article on C++ can be published and paid?:) If somebody had some negative experience with publiching an article then this information also will be useful.

 
When I go swimming in the ocean during summer, I always see those big groupers down near the bottom of the ocean floor. Never seem to get smaller
 
@Mysticial lol, he asked it on meta?
 
Still obsessed with vlad I see ...
 
@Mysticial lol I thought it was just some stranger. Should have known the avatar.
 
6:36 AM
-1 I rotated it to no avail — belisarius 1 hour ago
 
6:48 AM
@sbi Ah, did you move?
 
 
@Feeds I do not think I get the joke there.
 
7:08 AM
Finally finished reading Coders at work. It's pretty good.
 
7:21 AM
The Jurassic World trailer looks kinda fun.
 
Just for fun, today’s bug to be reported. I think that’s one of the larger GCC stacktraces I’ve seen.
 
Does anyone here have SDL installed?
I'm kind of curious about something.
 
@Rapptz It appears I have.
 
2.0?
 
I'd like my programs to be able to generate a stack traces like that.
 
7:26 AM
Looks like it.
 
neato
What does the output of this program look like?
#include <SDL.h>

int main() {
    SDL_ShowSimpleMessageBox(SDL_MESSAGEBOX_ERROR, "Testing Error", "This is the body", nullptr);
}
I ask because it looks (surprisingly) useless on Windows.
 
Ah my bad, I misread, I have 1.2 :s
 
Aw.
I went and checked the SDL source for Windows
and it confirms my suspicions.
the flags parameter (e.g. SDL_MESSAGEBOX_ERROR) is ignored.
Wonder why :S
Windows has different dialogues for error, info, and warnings.
lol
the one for X11 is so much more fleshed out
but flags seems to be ignored there too
only used in OS X/iOS
 
7:44 AM
Lack of interest?
 
iunno seems like a pretty oversight to me
X11 is what the original developer wrote it in
the rest were contributed it seems
 
7:56 AM
I'm running Turbo C++ in windows 8.1. How do I change the color of the text in the output screen of a program to green without using <windows.h>
 
There is no portable way to "change colors".
(What version of Turbo C++ are you running?)
 
Turbo C++ is like 22 years old bub.
 
> The original Turbo C++ product line was put on hold after 1994 and was revived in 2006 as an introductory-level IDE, essentially a stripped-down version of their flagship C++Builder.
 
20 years old!
close enough
 
Don't use Turbo C++.
It's bad for you.
 
8:02 AM
lol memories
 
It looks like vim.
But in blue.
 
omg what's that indentation
 
what a thrill
 
I see little regularity
 
Xeo
sigh
 
8:07 AM
@FredOverflow where did you find that antique?
 
@chmod711telkitty Google Image Search
 
@FredOverflow Turbo C++ for Windows 8.1. A quick google will get you to the sourceforge download. It's basically Turbo C++ in a DOSbox
 
cpx
I wonder what does this community edition of VS2013 offers what express doesn't.
 
@Mysticial I know.. it's the gazillionth time you're telling me. I'll switch to Visual C++ in due time.
@cpx Definitely a vibe of communityness.
 
cpx
6.88 GB.
with Update 4.
 
user1804599
8:14 AM
> A machine learning researcher, a crypto-currency expert, and an Erlang programmer walk into a bar. Facebook buys the bar for $27 billion.
 
@FredOverflow Technically it's Turbo C++ v3.00 running in DOSBox v5.00
3
 
cpx
Okay, here's the difference.
> Visual Studio Community 2013 includes all the great functionality of Visual Studio Professional 2013, designed and optimized for individual developers, students, open source contributors, and small teams and it has some limits on who can use it.
 
user1804599
Are they both Emacs or Vim already? If not, they are still shit.
 
user1804599
 
8:50 AM
@meetingcpp ... In which twitter encourages rush journalism :S Please post again once you have the verifiable report, I'll keep an eye out
It's far to easy to cry 'murder' into the chasm these days
 
user1804599
I want bouillon with letter vermicelli.
 
@rightføld just promoted vim in a footnote :) stackoverflow.com/a/27144642/85371
 
user1804599
What Vim plugin do you use?
 
user1804599
Such autocomplete is the only feature I miss that I had in IntelliJ and Sublime Text 2.
 
No need, but in this case it's YouCompleteMe.
 
user1804599
8:52 AM
Control+P only matches prefix.
 
I tried it early and it completely annoyed me. But these days I like it a lot - it's fast enough and smart enough
 
user1804599
I'd also like control+P feature to not suggest the nearest one that matches but the second-nearest one that matches.
 
@rightføld Unless you use abbrevs and similar. Yeah, YCM is the fuzzy matcher in this case, though I'm pretty sure there are more plugins that did this
@rightføld how would you go to the nearest :S that would be might inconsistent and hard to explain
 
user1804599
void f(int xaa) {
    auto xbb = x<Control+P> // suggests xbb where I more often want xaa instead.
}
 
user1804599
Because xbb is more near the cursor than xaa is.
 
8:57 AM
@Xeo Wait, what?
I thought you had the cats already.
 
Xeo
No
 
What were those pictures you took?
 
user1804599
At least, that's the behavior I always observed. I don't know the exact algorithm.
 
Xeo
From when I visited the cats
 
user1804599
You should call your cats Piotr and Tony.
 
Xeo
9:00 AM
I don't get them
 
user1804599
 
Xeo
-.-
 
I like the timing of Feeds.
 
shit
I stole natalia's dinner
@Xeo the hell
@R.MartinhoFernandes she's great
 
user1804599
 
9:11 AM
@rightføld you're exactly right. I have no clue how you'd usefully define another algorithm that didn't include more crippling edge cases though. I have similar kinds of gripes with * jumping to the next instance of the current word by the way
I often find myself doing an edit (e.g. ciw blabla Esc, to UNDO it u, and then *.n.n.n.n.). That's backwards.
(Although finding ranges of lines containing particular identifiers is pretty nifty when `wraspcan` is not disabled: ggnVN)
 
user1804599
I also want shortcuts for camelcase-aware next/prev.
 
user1804599
And camelcase-aware substitution.
 
@R.MartinhoFernandes Is he a real person?
 
no
 
@rightføld 4chan ... really? Get out more, dude.
 
9:17 AM
@sehetw well, can't reproduce. Seems like its rather in my code...
I called it. Smelled like BS all along. People should remember when they have a twitter account with significant reach... :(
 
@sehe Potatoes!
 
@Nick she*
 
@BartekBanachewicz Tomatoes.
@sehe: Hi sehe :D
 
Come on, I bet there's a playground for this somewhere outside
 
@sehe Right. I should disappear back into my code.
Elvis has left the stack
Houston, we have a nutjob!
 
user1804599
9:24 AM
Sending over UDP is fire-and-forget, right?
 
Yes
 
yes
 
user1804599
Nice.
 
yes
 
user1804599
Ugh, I get 404 errors in Sentry because favicon.ico doesn't exist.
 
9:29 AM
Well, that makes a lot sense, doesn't it
 
user1804599
I don't want a favicon, but I don't know how to mute this specific event without muting all other 404s. :P
 
make it not 404. Just make it some no-op file with a cache validity of a year
I love this
 
user1804599
Sentry with Python is incredible.
 
user1804599
It logs stack traces with all variable values in all stack frames.
 
user1804599
I need to figure out how to make it not log sensitive information. :V
 
9:41 AM
If only ExampleData[{"Geometry3D", "Beethoven"}] was a full-body model, a judicious use of PlotRange would do it. — Rahul 17 hours ago
hehehe mathematica being very serious
@Cammy_the_block Yes, my mistake. Spanks for catching it. — Daniel Lichtblau 10 hours ago
 
9:56 AM
the silence
 
morning
 
@Jefffrey I wouldn't vote for them either.
 
@TonyTheLion the lambs
 

« first day (1502 days earlier)      last day (3432 days later) »