« first day (1392 days earlier)      last day (3561 days later) » 

12:01 AM
I'm not saying there cannot be exceptions, but in general if you religiously lock "per-object" then generally, concurrency will fail to scale for performance (instead generating bottlenecks around the locking). In such a case, threading refutes its own goal — sehe 1 min ago
@Ell hehe. I'm doing an off-site backup that takes 17hours right now. And ironically, I'm having to recover the (FAT32...) sd card from my tablet at the same time.
 
Ell
@sehe 17 hours? Gosh I don't think I have enough data for that :P
 
Sure you do. The pipe is ~280kB/s
I've done initial off-sites that lasted for weeks. But I did bandwidth throttle them when the network wasn't idle
 
Ell
@sehe Ohhh that kind of off-site
I thought you meant backup to tapes then store in a firesafe off site
 
yeah I fixed offline to offsite to be clearer.
 
Ell
Okay I'm going to try to sleep again
And I'll try my openid connect xmpp log in tomorrow
if it succeeds we'll be one step closer to lounge<chat>
which is good news for all!
Night @sehe and anyone else!
 
12:13 AM
night
 
@Ell yay
@Ell night
 
error: 'reinterpret_cat' was not declared in this scope
There's only one way to interpret cat.
 
lol
 
@StackedCrooked Cats are a force of nature beyond human understanding, not to mention interpretation.
 
12:31 AM
lol
an answer with just code and no explanation still gets accepted in SO :v
 
its the answers newbs prefer
no need to understand anything, just copy/paste and move o
 
it's literally code and no explanation
2
A: fstream not creating text file

oopscenestr = "Attempt"; str += std::to_string(num_attempts_x_million); str += ".txt"; textfile.open(str); textfile << password << endl; textfile.close();

Ah well.
 
@StackedCrooked o.o that looks eerily like windows 8 login
 
12:36 AM
lol
it does look like Windows 8
 
He's on Winux xD
 
@StackedCrooked Why is Linux copying Windows 8? Are they trying to get sued by Microsoft? Oh wait...
 
@Mysticial no theyre trying to get them new customers
 
I don't like Gnome 3
 
heightist
 
12:46 AM
Wow.
That's such a bad joke.
 
Ell
I can't sleeep
 
Ell
And openssl documentation is awful
How is it that half the world's servers use it? It makes no sense!
I need some Lua bindings to openssl
 
@Rapptz I don't dislike code-only answers per se, but in this particular case, the OP is being kept dumb/keeping himself dumb. That's bad
@Ell That'll fix it. GO SLEEEEP
 
@Ell They aren't using it directly but they rely on tools that make use of it.
 
Ell
12:49 AM
@sehe I'm trying :'(
 
actually this looks bad..
 
I can't immediately think of a reason one would need lua openssl bindings.
 
Ell
@stacked my version of lounge chat is currently a plugin for prosody, a Lua xmpp server. For OpenID connect auth I need to cryptographically verify signed JSON web tokens
@rapptz I've wanted an excuse to try out sol anyway :P
That's if I can figure out how to use openssl at all, never mind from a language I don't really know :P
 
1:10 AM
Morning, I see that the name of the room has been restored ;)
 
1:21 AM
Good morning.
> Type_Index: Runtime/Compile time copyable type info, from Antony Polukhin.
Nice.
 
already exists
#include <type_index>?
 
> Fusion:
Fusion is enabled for use on GPU
wat
 
Wow, lots of changes ^^
 
there's nothing really new in Boost 1.56
 
@Rapptz I know, but portability, old compilers, etc.
 
1:24 AM
@Borgleader lol
 
@Rapptz "Show me ya moves!"
Ha, still cracks me up.
 
this is encoded with webm?
 
yes
or mp4
 
does it say if its VP9 or VP8 ?
 
1:28 AM
> Added support for rvalue references. Now optional<T> works with moveable but non-copyable T's.
Finally.
 
@Borgleader Not sure.
 
Boost.Thread though has some great additions.
 
> Breaking change: Variant now uses variadic templates if they are supported by compiler. This leads to smaller binaries and better compilation times but in some cases may break metaprogramming functions, especially if BOOST_VARIANT_ENUM_PARAMS and BOOST_VARIANT_ENUM_SHIFTED_PARAMS are not used. Usage of variadic templates may be disabled.
I think one my problems has just been solved.
 
@Rapptz according to one comment i found its vp8, vp9 is still too new apparently
i hope they switch soon
 
1:35 AM
> boobs are a sexaul part of a woman and feeding a baby with them is just odd...use a baby bottle like everyone else
6
 
@Jefffrey becareful saying that to a feminist. It will be a huge ugly argument.
 
@Jefffrey Reading YouTube comments eh?
 
eh
 
@cyberspace009 Everything you say to a feminist is an ugly argument.
 
don't speak with feminists
 
1:39 AM
@cyberspace009 I would say that would depend in the size and looks of the feminist in question, but experience indicates that "huge and ugly" pretty much covers it (G, D & R).
 
everything you say will be used against you
 
I heard you can find a bunch of them in tumblr.
 
@cyberspace009 You can find a lot, but it's hard to guess how many are real, and how many guys posting completely over the top crap, just to bait the rest.
 
My boost download has just halted at 99%...
 
@MarkGarcia I guess that makes you the 1%
 
1:45 AM
@MarkGarcia Pause it and replay it.
 
@Rapptz Yup, just done that at it worked.
 
could be a clever troll in disguise ... or simply dumb
 
2:05 AM
@Rapptz We call it MCVE these days. :-) — Chris Jester-Young 1 min ago
TIL
 
3:02 AM
Is it possible to get some info on exceptions caught in a catch(...) blocks? (Maybe typeid on current_exception or something?)
 
why would you want that?
also current_exception returns std::exception_ptr
 
Logging.
 
@StackedCrooked catch(...) { []{ try { std::rethrow_exception(std::current_exception()); } catch(const std::exception&) {} catch(...) {} }
Eh, formatting...
 
doesn't work with everything
just std::exception derived ones
which at that point it might as well be caught as-is
-1
Q: Why Linus Towards despise C++?

user.3898215Does he just know some paradigms and close his mind to believe others? Linus assume C++ people will write bad code easily! But he never know C people do this too. I think he research system kernel early and be indifferent about domains, how do you think it?

 
-1
Q: Why Linus Towards despise C++?

user.3898215Does he just know some paradigms and close his mind to believe others? Linus assume C++ people will write bad code easily! But he never know C people do this too. I think he research system kernel early and be indifferent about domains, how do you think it?

fuck
 
3:07 AM
1 second too late
 
How did you beat me?
 
Apparently there is a GCC extension that allows you do to __cxa_current_exception_type()->name()
 
@StackedCrooked ^
@Mysticial Damn it. Should be "closed as Linus is a dork" or something.
 
it seems like the only word that is censored on adult swim is now 'fuck'
everything else seems to pass through
 
@StackedCrooked The linked article isn't that related to your problem (logging) though I think it might be useful.
 
3:12 AM
@MarkGarcia I mean if a library throws an exception that does not derive from std::exception.
And you want to know what it is.
 
Oh...
 
@MarkGarcia I've done a lot of research the last couple of months. I've gone way beyond that :)
@MarkGarcia Just out of curiosity. I don't really need it.
 
There's something in Boost I remember in Bartek's code.
 
I understood your question. I don't think it's possible to do with the current facilities unfortunately.
Maybe through compiler extensions.
 
@Rapptz Yeah, gcc can do it (see above).
 
3:15 AM
@StackedCrooked I should have known better. :)
Boost why u no online links?
 
> It's a fucking duplicate, I get it. Now stop posting on here and downvoting it for no reason. Thanks.
 
@StackedCrooked Haha. Nice. Better catch the exceptions from Demangle though.
 
@MarkGarcia My use case is similar though. I needed a good exception handling system for an RPC-based client application. This also involves an "exception boundary" where translation occurs.
@MarkGarcia I only catch baby jeebus.
 
I forgot to back up my constexpr string
:(
I had it fully documented and everything.
Man.
 
3:25 AM
Man, I've forgotten how hilarious the meta 10k tools can be:
 
I need 40 more points to get 10k tools on SO.
and consequently on meta
 
We can fix that.
 
@StackedCrooked I mean, what if your call to Demangle inside the catch(...) throws? (I see throws inside the function).
@Mysticial <sub>*hey 648 for me :P*</sub>
 
@MarkGarcia std::terminate I suppose. I don't really mind.
 
lol serial upvoting
 
3:28 AM
@Rapptz lucky
 
not so :v
 
@MarkGarcia Can't help you there. Even without the serial vote script, I don't have a enough votes in 1 day.
:)
 
@Rapptz :P
 
what's the serial vote script?
 
It reverse serial voting.
4 upvotes isn't enough.
At least I don't think so.
 
3:29 AM
Oh you mean that.
oh yay
user image
3
 
congratz
 
now I can see why everyone else is annoyed at flags
 
10k took me many years
 
it will probably take me for ever
I have not answered a question for ... like nearly a year on Stackoverflow
 
3:33 AM
Half of the most downvoted list on meta is about anonymous downvotes.
aha
Rapptz is like, "fuck all you guys, I'm gonna indulge myself in some 10k tools"
 
There's no meta posts from people thanking the community for downvoting them on SO and making them realize their wrongs.
 
-23
Q: How can I start a discussion critiquing the culture of Stack Overflow?

PLEASE DELETE MEHow can one ask a question that is critical of the gamification community on SO with as little offense as possible? Is it even possible?

^^ check the first revision
 
Chat's lack of rules and StackOverflow's strictness produce a nice symmetry.
Like a counterweight.
 
@Mysticial Not even the word "gamification".
 
@Mysticial Actually, I answered a question (despite the rep cap). :p
 
3:39 AM
You're repcapped?
No you're not. Not yet.
 
oh
my thing says +200
oh wait I got 2 accepts
 
@Rapptz Includes previous unchecked rep.
 
You're soft-capped, but not repcapped.
 
@Mysticial If you want to critique SO then you should be a respected member first.
Probably.
 
3:41 AM
Or just bug Shog directly. :)
 
I would like to see my donation to the animal welfare group used in saving stray dogs/cats & unwanted pets. Not on public stun like that ...
 
@Mysticial Actually, I think it's a little unfair that this question is downvoted so much. I realized it's a good question after reading the top-voted answer.
 
@StackedCrooked The first revision earned it all the downvotes.
 
Yeah the first revision is pretty bad.
 
Why am I browsing the meta.SO 10k list? You guys can all see that already.
 
3:44 AM
Not that I donate to peta ...
 
Where is the link to view revision history again? I can't seem to find it on meta.
 
@StackedCrooked It's in the same place as the main site.
 
Oh it didn't look like link.
And it didn't highlight the first time I hovered it.
> I'm talking about the minority of 'users' who end up being, for brevity's sake, 'Topi Nazis'?
 
-21
Q: Downvotes are primarily opinion-based

Niels van ReijmersdalRecently I had a bad experience on workplace.stackexchange.com where my answer got a couple of up, but in total more down-votes. Personally I think this is not because my answer is bad, but due to the fact I have a different perspective on the situation. The down-votes are from people who apparen...

 
Meta is like a cookbook with recipes for getting downvoted.
 
3:47 AM
@Rapptz Since you've reached 10k, lemme introduce you do my favorited list along with all the deleted and entertaining crap that I've bookmarked over the years. :)
 
@StackedCrooked Where Puppy is the master chef.
 
@Mysticial Hah.
I didn't know mod tools were like this.
 
yay no more screenshots
 
@Mysticial I'm disappointed that no-one replied to that with "this is a bullshit post"
 
3:55 AM
lol
 
@Rapptz Don't get me excited.
 
I'm still gonna have to screencap meta.SE questions. Since I think LRIO is the only other person here who can see them.
 
so what does the brown number mean?
 
Pending edits.
 
when I clicked on them pre-10k it'd give me suggested edits
but now the number is bigger (5 to 44)
and clicking it just gives me review tab
 
3:57 AM
dunno
 
The most offensive phrase this chat ever produced is "Rightfold's vagina".
 
lol
 
@StackedCrooked most offensive title maybe
 
lol
 
@StackedCrooked Goddamn it! That's a bunch of Bullshit! Fuck "offensive" in the ass, motherfucker!
5
 
4:00 AM
@StackedCrooked You just reproduced "Rightfold's vagina".
;)
 
rightfold has reproduced? oh no!
 
I'm merely quoting :)
 
oh wait a minute
the commentary on low quality queue is quite literal
I'm actually posting comments
 
@StackedCrooked Asexual reproduction of bits.
 
@JerryCoffin lol
 
4:02 AM
@JerryCoffin With mutations via voltage fluctuations and cosmic rays?
 
don't forget user error :D
 
@JerryCoffin SA >SO
probably repost :d
 
@Yuushi Seems reasonable. I believe I've heard that cosmic rays are the source of many mutations.
 
These tools have only made me more confused!
 
@Rapptz which ones?
 
4:06 AM
the moderation ones
 
Specifically which ones? These? stackoverflow.com/tools
 
Just use it in moderation.
 
well the tools themselves aren't confusing (it seems it's just.. info)
I'm just confused about flagging now
 
Yeah. It's mostly info. There isn't much you can do.
All it really does is it lets you pile-on close and delete votes.
 
4:09 AM
lol, fix it
 
oh wait
they do review queues for other queues..?
makes sense I guess
 
Yeah. There will be more of them in the future.
They're gonna do delete vote queues as well.
 
@Rapptz Now you need to work on that gold badge so you can swing the dupe hammer.
 
that will take a long time for me I think
899 score but 178 answers
 
That's close. I still need 127 answers to get the hammer.
 
4:13 AM
899/178 is a nice score:answer ratio actually :D
not bad
 
TIL IOStreams has callbacks: stackoverflow.com/q/25195828/1619294
@Mysticial Destroy 'em all!
 
@MarkGarcia Yeah. There are a lot of "mysterious" things in <iostream>.
 
It's probably the most complicated section of the standard library.
 
@MarkGarcia agree 100%
 
@MarkGarcia Hmm...spoken like somebody who lacks...familiarity with locales.
 
4:23 AM
facets aren't too bad
 
@JerryCoffin I treat them as one.
 
@MarkGarcia Your mistake. Once you realize how they work and what they are, iostreams actually even make some sense.
 
Even though exception specifications are deprecated :)
 
No, only LAVA is called 'magma' while underground. Any other object underground is called 'lava'.
3
 
Hi everyone. Could anyone explain the rule from N3797 3.7.4.3/3: the result of an additive or bitwise operation, one of whose operands is an integer representation of a safely-derived pointer value P, if that result converted by reinterpret_cast<void*> would compare equal to a safely-derived pointer computable from reinterpret_cast<void*>(P)
We cannot apply additive opertaro to a pointer to incoplete type (void in the case).
 
4:37 AM
Something about butts
 
I have been trying to understand this for a two days yet... :(
 
4:48 AM
quick question, do you know if its possible to save your profile prefrences on what is seen. For example I want to show my "Earned Bounties" by default when people view my profile.
 
No
Well, you can link them to it instead of just profile
 
cheers!
 
user3010322
Question.
 
Answer
 
user3010322
Is there a thing that chops a single type out of a type list?
 
user3010322
4:53 AM
tuple<T, U, V> -> tuple<U, V>, basically
 
Maybe something in MPL or Fusion
 
user3010322
Welp, guess I'd better go there.
 
Easy to write.
 
@ThePhD decltype(std::make_tuple(std::get<0>(other), std::get<1>(other))); or something.
 
user3010322
5:07 AM
Oh god.
 
?
 
user3010322
How do I access a templated base classes typedefs?
 
typename base<type>::blah?
 
user3010322
... Wow, that's not terribly inconvenient.
 
blah?
 
5:09 AM
your first one was right
 
@St.Antario I think it means you can do int* array = new int[10]; long ptr_val = reinterpret_cast<long>(array); long ptr_val2 = ptr_val + sizeof(int*); and expect ptr_val2 to be valid because reinterpret_cast<void*>(ptr_val + sizeof(int)) == &array[1].
My clarification seems more complicated than the standard text..
And contains errors.
I suck at this.
 
Morning!
 
5:24 AM
Good morning.
 
Where is this mysterious "redist.txt" file that is supposedly included with Visual Studio? I am having trouble finding it...
 
TIL Dave Abraham is aiding in the development of Swift.
 
Heretic!
 
I missed the s
oops
One of the creators of Boost
David Abrahams is a computer programmer and author. He is most well known for his activities related to the C++ programming language. In particular his contributions to the language include the delineating of a theory of exceptions, sitting on the C++ Standards Committee, being a founding member of Boost and co-authoring a book on the subject of template meta-programming. Abrahams became a member of the C++ Standards Committee in 1996. During the standardization process that resulted in the first ANSI standard C++ - in 1998 - Abrahams was a principal driving force behind detailing the exception...
 
5:38 AM
Never heard of em
 
He's active in Boost.
 
His name is on a lot of boost libraries as co-author.
 
@StackedCrooked Could you possibly give a little example for the rule?
 
@CatPlusPlus I hear he worked with Alexandrescu.
@StackedCrooked TY
 
5:40 AM
He works at Apple now
 
@Rapptz How long?
 
Since 2013.
 
Can Swift programming language be used on Linux?
 
@Rapptz yeah, that traitor! :)
 
@VáclavZeman Why not?
 
5:46 AM
@St.Antario Well, is its compiler and/or run time library available on Linux?
 
user3010322
Better question is why would it be available on Linux ever?
 
@VáclavZeman Probably not. It's probably only Mac OS X.
 
@Rapptz Sucks. :(
 
@VáclavZeman Probably easy to port if it isn't. It's LLVM-backed IIRC.
Seems like every new language today is LLVM-backed.
 
@VáclavZeman So I suppose, that no, it cannot be used besides OS X. :)
 
Is imgur.com broken only for me?
 
@VáclavZeman Rejoice then! :P
 
It was broken especially for you.
 
5:49 AM
@VáclavZeman works fine
BTW, Is there official spec for swift?
 
@St.Antario It's all over developer blogs, tech sites, and in facebook.
 
@MarkGarcia What about runtime library?
@MarkGarcia Is it standartized at all?
@MarkGarcia Suppose I want to build alternate implementation... Or apple precludes one?
 
@St.Antario I was joking. I don't care much about swift. I'm sure they have official specs though. I think I remember it on the days of its announcement that they're still only available for registered devs.
 
6:19 AM
I am sick. :(
Please tell the computer I want my possessions identified when I die.
 
No, no and no @St.Antario
Not yet anyway
The main developer of Swift was also the driving force behind LLVM. Being that LLVM is so incredibly open source and has Apple's backing it seems logical that Swift might be headed in that direction as well.
 
@St.Antario I doubt it. At least in the US they can't copyright a language (and I think the same applies everywhere the Berne convention is followed). I don't see anything in the language itself that's likely to be open to patenting either. That leaves them with little grounds on which to stop anybody from implementing it (even if we assume they really want to).
 
It doesn't look like Apple has a swift solution to Swift's problems with not being very swift.
 
Underneath the "runtime library" is mostly just the objective-c runtime library with some extra boilerplate eliminated
 
6:34 AM
@Mysticial swift's slow? :p
 
I've read a comment somewhere that notes that Swift's logo is a bird flying down swiftly.
 
@MarkGarcia Falling down swiftly.
 
They should've used Haskell instead.
 
0
A: Valgrind cannot execute memcheck tool on Android OS?

user3921101If you use Valgrind on Android OS, At least there are three way to solve the problem.(You must root your android phone first.) **** On your PC cmd adb shell $su cp /data/local/Inst/bin/valgrind /system/bin/ Note: Rembmber to chmod. For example “chmod 777 valgrind” **** On your android phon...

 

« first day (1392 days earlier)      last day (3561 days later) »