« first day (1588 days earlier)      last day (3356 days later) » 

12:00 AM
@JerryCoffin Ah, TIL.
 
> The material, taken as a whole, must lack serious literary, artistic, political or scientific value.
This part there is why porn has a plot.
 
Porn isn't cable.
 
@EtiennedeMartel Red Shoe Diaries was so thought provoking.
 
And most porn plays after 10 PM.
 
12:04 AM
'Red hood Diaries' would sound provoking too ... in a different way ...
 
@EtiennedeMartel Or at least why broadcast (and even cable) shows only soft-core porn that at least attempts to have something they can claim is a plot.
 
ns::Test is so ugly. :(
 
Caveat: In this case, I'm really only referring to the more or less mainstream cable (HBO, Showtime, etc.). Obviously things like the Playboy channel are considerably less restrained.
@Rapptz ...but so much more beautiful in Comic Sans! :-)
 
HBO and Showtime are premium cable though.
I had Showtime open a few days ago
And it was 11 PM and they were playing softcore pornography
I was sitting here minding my own business and I noticed the porn music in the background
 
@Rapptz They are, so if they really wanted to show hardcore porn with no plot, they probably could--for them it's mostly a decision about whether doing so is likely to increase or decrease their revenues. Apparently they think it's better (more profitable) to segregate hard-core porn to its own channels.
 
12:13 AM
Well Showtime is known for its porn after hours I guess.
Rather lame porn though.
 
Ell
I wonder if there are any well produced porn series
 
I think there's also a bit of feeling that if they took too much advantage of the current lack of regulation, the law would probably change to stop them. People would probably complain if hard-core porn started to show up on mainstream channels, but it's pretty hard to complain that: "I subscribed to the Playboy channel, and was horrified to discover it had pictures of naked women!"
 
which is the preferred signature for overloading the += operator?
friend class operator+=(class &a, const class &b)
or class &operator+=(const class &b)
 
@Ell I'm not sure there's ever been a well-produced porn anything. I've also heard that due to the sheer number of porn videos now being shot that the budget for any single one is now minuscule, so nobody really even thinks about good production any more.
 
Why are we talking about porn and why
???
 
Ell
12:20 AM
I feel like well produced porn could be mass appeal
imagine game of thrones but with actual porn in it
 
This tank top is $27
wtf
why
@TriHard8 It's preference......................................................................‌​.......
now gtfo
also you need const class &a
class &a is asking for bugs ok bye
 
TIL ~char() yields an int.
 
@TriHard8 All assignment operators should be member operators, not free functions. Overloading as a free function is primarily to allow implicit conversions on the left operand, but in the case of assignment, it makes no sense (an implicit conversion would create a temporary that could only bind to a const reference, so you couldn't assign to it anyway).
@DonLarynx No--the return from an assignment should normally be a non-const reference. stackoverflow.com/a/26985363/179910
 
@JerryCoffin o snap - didn't consider +=
 
@JerryCoffin Thanks. I opened a question yesterday for non-assignment operators and didn't want to open another one just to clarify the assignment case.
 
12:24 AM
That's very basic. You should be ashamed!
 
@DonLarynx Karma, haha.
 
@TriHard8 Surely (but a compound assignment operator really is a completely different question from something like operator +).
 
@JerryCoffin I'll take that as a hint.
 
@TriHard8 Sounds like a plan.
@TriHard8 I'll state it as a fact. Something like operator + creates a new value, independent from either of its inputs (and leaves the inputs unchanged). Something like operator += modifies one of its inputs, without modifying the other input or creating any new value.
 
I'll read it as your opinion.
 
12:32 AM
The same, of course, is true of -=, %=, *=, etc. vs. -, %, *, etc., as well. Less obviously, for now I'm talking about something that basically just adds a new type. For an extensive EDSL (e.g., Boost Spirit) it can sometimes make sense to define operators to work quite differently from how they do in the base language (provided the result is coherent, understandable, etc., even though it's clearly quite different from normal C++).
 
@JerryCoffin Oh, I got what you meant. I meant I was taking it as a hint to open the question on SO. When I posted the original Q yesterday (regarding +, -, <, etc), I didn't realize that an implicit conversion would occur. So, today when I was looking at my += signatures, it donned on me that what i learned yesterday doesn't apply in this case b/c of the need for assignment.
 
I still don't get what you mean
> it makes no sense (an implicit conversion would create a temporary that could only bind to a const reference, so you couldn't assign to it anyway).
 
i just read a bit of the above passively
didn't understand any of it
had to reread actively
fucking c++
 
@DonLarynx Sorry my terminology is jacked up...
 
Ok, let's bet on Apple's watch - hit or flop?
 
12:36 AM
flop
1st weekend sales will be through the roof.
 
I 2nd that
 
only thing apple can do properly is advertise
look at their website; looks amazing
 
TIL that the Mayo Clinic does not repair salad dishes.
 
@DonLarynx Perhaps a quick demo would help: coliru.stacked-crooked.com/a/552507efbcfa29b5
 
also apple cars? what's happening with google's driverless cars?
 
12:38 AM
google's still working on it, as far as i know
 
Nokia is doing driverless cars too
 
@chmod711telkitty They all left to work as taxis.
 
@chmod711telkitty Apple has enough diehard fans that no matter how badly it sucks, it'll still be a hit. Enough of those fans are journalists that no matter how badly it sucks, the reviews will hail it as the beginning of a new epoch in time keeping.
 
Years ago california said google would have cars on the road in 5 years, which should be any year now.
 
@JerryCoffin epoch heh
 
12:40 AM
@TriHard8 Lawyers...
 
@Pris I figured at least one person would catch that. :-)
 
@MartinJames I figured those 5 years were for the lawyers.
 
@TriHard8 If they can spin it out to 10, so much the better, (for them).
@TriHard8 After ten years, they will have perfected automated ambulance-chasers.
 
@MartinJames Good point. At some point in that timeframe, it would probably be more lucrative to flip and exploit the weaknesses they created.
 
Then they have ~10 years to rake it in b4 there are automated lawyers.
 
12:44 AM
A co-worker believes the next big boom in law will be lawyers going after each other.
 
adding support for string concatenation and crap broke assignment
i don't understand how my code even works at this point
 
@TriHard8 Hunger games:)
 
@TriHard8 They're much too smart for that. It's much more lucrative to take other people's money than each others. Besides, after they take all the litigants' money, they don't have to deal with the litigants any more--but even when it's over, they still have to deal with each other, so it's better to remain friendly with each other (regardless of what they tell their clients).
 
Tech giants are like a herd of sheep nowadays, since true invention is hard, they all try to steal borrow/share each others ideas - virtual reality devices, hi-tech cars, wearable gadgets. Where are the totally cool stuff: personal planes not much more expensive than cars, total automated houses, commercialized spaceships?
 
12:50 AM
@chmod711telkitty Personal planes have been around for a while - look at the scrap-heaps just off the end of small airstrips.
 
Ell
Spot the typo:
src/main.cpp:5:5: error: unknown type name 'IDirectFb'; did you mean 'IDirectFB'?
oh. Lowercase b
 
@AlexM. that's a long gif
 
imagine if all anime was delivered as 1080p gifs with an mp3 near them
 
@MartinJames I am not talking about these:
 
@AlexM. its called a video noob
 
12:52 AM
@Ell lol it's literally in the error
 
@AlexM. Nice:)
 
Ell
@Rapptz Yeah I know I just couldn't see it :P
I was spelling it out aloud and just couldn't spot it
 
@AlexM. So old m8
I'm pretty sure I posted it here last year and it was starred.
 
old is yesterday
last year is archaeological artifact waiting to be rediscovered
 
Ell
@AlexM. lol
 
12:56 AM
@Ell that was not very hard
 
@TriHard8 We just need a bunch of new, tedious, micro-managing laws about what lawyers can't do and must do
 
@Jeremy Laws written by lawyers?
 
Ell
@StackedCrooked it took me 5 mins
 
@Jeremy Haha, give the government something else to lose at.
 
@MartinJames Therein lies the problem
Then you'll need lawyer insurance before you can practice law
 
12:57 AM
Sometimes it takes me a while to figure out my typo in stuff like this: std::map<std:string, std::vector<std::string>>
 
it'll cost $30,000+/year, just like malpractice insurance
and soon, no sane person will want to be a lawyer
lawyers can ruin their own industry
for a change
 
@Jeremy Hopefully, yes.
 
@StackedCrooked ew
 
@JerryCoffin I'm about to post my question if you want to answer it.
 
1:00 AM
Fuck lawyers, and brain-dead typos.
 
@wilx That's great
 
lol martin, why do you hate lawyers so much?
 
my assignment was broken because i had regex'd a "." for my dot operator which matched "=" too and fucked everything up
21 hours ago, by Blob
i hate regex
 
Public humiliation is a great way to learn a lesson.
 
@chmod711telkitty Well, to be fair, there are worse. Journalists are at the bottom of the sewer ladder, just below SQL developers.
 
1:11 AM
@MartinJames wait whats wrong with journalists?
 
@Pris sensationalism
 
@StackedCrooked wtf
 
@LightnessRacesinOrbit You're really helpful for drunk elderly people <3 :)
 
@πάνταῥεῖ ikr
@TriHard8 :P
@TriHard8 Well, I don't think you were humiliated.
 
1:18 AM
@TriHard8 What happened
 
Also speaking of shameless self promotion, the suburb (North Ryde) that I have bought my only house in recorded the highest growth amongst 500+ suburbs last year, according to this article
 
He thought it was "donned", not "dawned".
Upon reading that, I was momentarily frustrated at not being able to correct him on comments to a deleted question, but then I spotted that @Praetorian had already done it for me in the nick of time \o/
 
damn
std::system_category() is useless. :(
It's just a wrapper around strerror.
 
how is that useless?
you could replace std::system_category with T in a template to interchange it with alternatives
 
boost::system::system_category actually does what it's supposed to do
 
1:21 AM
Or use it through an std::error_condition&
Templates, check. Inheritance, check.
& strerror does neither of those things
 
I'm talking about the actual implementation.
Not the design.
boost::system has better QoI.
 
@LightnessRacesinOrbit Are you actually being a member at the pathfinders association? My daughter is, and I encourage and like that a lot.
 
All WinAPI errors are returning "Unknown error" because it's not valid for strerror.
It's useless.
 
@LightnessRacesinOrbit You're right. But, my ego took a hit, which is almost the same. I thought I understood Jerry's response to me earlier and did not.
 
std::system_category is supposed to deal with system error codes
Which on Windows is WinAPI errors
boost::system actually does this
 
1:23 AM
@πάνταῥεῖ Again, I don't know what you're talking about!
@Rapptz That sounds more like an implementation bug?
 
I mentioned it's a QoI issue
Yes.
 
@LightnessRacesinOrbit What's even funnier about that is I used to always spell it dawned, until a few years ago, for some reason.
 
@TriHard8 hilarious! :D
 
Helping elderly people. Doing good deeds (at least one) every day.
I didn't mean that in a sarcastic way (as I usually do). I really appreciated your edits.
 
1:25 AM
???
Don't feed the troll
 
Ell
I'm kinda confused about something
 
?
 
Ell
2d hardware acceleration for games - was that just faster memory?
 
Ell
There's not much calculation in BitBlt
 
1:27 AM
@Ell More or less
 
@LightnessRacesinOrbit We should just start reading each other on a more straight basis, instead of putting too much interpretation (extrapolation) in :)
 
@πάνταῥεῖ It would probably help if you made more sense most of the time :)
 
Does anyone have VS handy?
 
@Rapptz ya
 
1:29 AM
Can someone test the output of this program?
#include <iostream>
#include <winerror.h>
#include <system_error>

int main() {
    std::cout << std::system_category().message(WSAEACCES);
}
 
@Ell There's more to 2D graphics than BitBlt
consider semi-transparent overlays. that move.
@Rapptz On any particular implementation?
 
@Rapptz permission_denied
 
@LightnessRacesinOrbit Curious on VS's stdlib.
 
Ell
@LightnessRacesinOrbit yeah I guess
 
VS Express 2012: doesn't build
 
1:30 AM
@AMostMajestuousCapybara Cool. Better than what I'm getting lol.
 
you need <string>
 
@LightnessRacesinOrbit Probably I'm intending to have others too much background, that's just obvious for me. But what's so hard to understand about the pathfinders?
 
F:\Documents\Visual Studio 2012\Projects\test3\Debug>test3
permission_denied
i.e. seems to work properly
@πάνταῥεῖ I still have no idea what you're saying to me, sorry.
 
λ test
Unknown error
okay
 
"Probably I'm intending to have others too much background, that's just obvious for me."
this is just nonsensical as far as I can tell
 
1:32 AM
thanks a lot
:(
 
@LightnessRacesinOrbit Also I find this a bit odd for some reason.
 
Win7 Ultimate SP1 64-bit, FYI
 
@πάνταῥεῖ Do they find pathes
 
@Rapptz Why's that?
I suppose one would expect system_error to have had to include string
if that's what you mean
 
1:33 AM
I would have thought it's implicitly included since the API uses it.
 
praps <string> includes some <internal_string_impl_type> and <my_string_ostream_ops>, and <system_error> only includes the former
in fact I can well imagine <string> delegating to a "basic_string.h" or summat. Doesn't libstdc++ do that?
 
Yeah.
Oh I get it now.
The error is in reference to operator<<.
I thought it was because message returns std::string.
I guess I'll go make my own system_category.
 
Odd, VS's <string> doesn't define basic_string at all nor include anything that does. It only has the operators (and related functions)
 
@LightnessRacesinOrbit So you're merely not being a member of the pathfinder scouts association. I'm just realizing, I was missing that the scouts is the more popularly used denomination for native english speaking people.
 
TIL Lightness is a scout
 
1:37 AM
@πάνταῥεῖ What on earth do the Scouts have to do with anything?!??!!?!
 
I like to think @πάνταῥεῖ is high all the time.
 
@LightnessRacesinOrbit Helping elderly people, and doing good deeds of couse dude :)
 
Sometimes I don't know what he talks about at all.
 
basic_string is defined in <xstring>, a header that leads with the comment: // xstring internal header (from <string>)
I can only surmise that it's automatically included somehow by the impl
@πάνταῥεῖ Right okay
 
Pretty impressive.
Does that make VS a free standing implementation?
 
1:39 AM
@Rapptz Hey I'm just drunk a little, and badly running out of dope actually :( ...
@Rapptz I still just have deficiencies with english language mostly :P
 
I was kidding obv
 
Guess the joke went over the head.
 
Ell
@Rapptz hahaha good one m8!
 
1:41 AM
Thanks m8
I like your giggles
 
for the record, <system_error> in libstdc++ includes (via <stdexcept>) <string> itself (not <bits/basic_string.h>) — so I'd expect including <system_error> to be sufficient to get all the string/stream ops
not sure why I looked into that
 
Because it's fun.
 
Sometimes I do it too.
 
this is, of course, a perfect example of why we should include the headers for the things we use no matter what "works" on one machine
 
Ell
1:42 AM
What do you guys think of lenovo doing a MITM with their certificate or something g
 
old news
I got over it
 
Ell
Would it put you off buying one?
 
You're like 19 hours late man.
Yes.
 
@Ell Noooooooooooo
 
gr8 impl
 
1:43 AM
I like to pay for a product that spies on me obviously
 
Who doesn't?!
 
@Rapptz Seems like déjà vu
 
@Rapptz What's wrong with it?
 
Ell
Why has my tax money not come yet
 
@LightnessRacesinOrbit Seems like déjà vu
 
1:45 AM
I stole it
 
Ell
@LightnessRacesinOrbit can I have some moolah please
 
@AMostMajestuousCapybara Why?
@Ell no mara
 
@LightnessRacesinOrbit Seems like déjà vu
 
@AMostMajestuousCapybara ok
 
7 hours ago, by πάντα ῥεῖ
@thecoshman I've seen that today at Heise News, with a big Lenovo Ad above it (seems it's still there). Me and my colleages were just pissing in our trunks for that laugh.
 
1:45 AM
Obvious code duplication?
Both impl differ by a constant
 
@LightnessRacesinOrbit Seems to ignore their other official targets (Cygwin, MinGW).
Though I actually don't know if MinGW team themselves modify the libstdc++ headers to suit them.
 
@Rapptz ah yes. well, hmm. not sure what I'd want them to do about it though. doesn't seem like going non-POSIX in the main impl is wise?
@Rapptz I imagine they have to. Otherwise, what's the difference between normal GCC and MinGW, really?
I expect they alter strerror's behaviour
 
0
Q: Where is the captcha?

lynvieI tried to post a question on mathematica.stackexchange and got this captcha notice, but I don't see a box anywhere?

You've been identified not to be a human in 1st place :P ... — πάντα ῥεῖ 1 min ago
 
@LightnessRacesinOrbit Doubt it. It's only for errno.
Good enough for me.
I like how this function can fail.
How do you get the string representation of that failure?
I looked into my shitposting above and it seems that strerror isn't allowed to fail.
 
@Rapptz By invoking GetLastError and then re-attempting FormatMessage with the new error code?
 
1:56 AM
FormatMessage adds 2 newlines at the end of the message.
Neat.
Is there a function that tests if something is a valid errno value?
 
@Rapptz I'd wish that would become fact :(
 
nope.
 

« first day (1588 days earlier)      last day (3356 days later) »