« first day (844 days earlier)      last day (4090 days later) » 

10:00 AM
Back
Pepsi + Porter
 
@sehe that's why uni sucks. If I had only work, I could have stable cycle. Uni classes mess everything up :/
 
don't let lightness hear you say that.
 
lightness? The Lightness? I keep getting smacked down by lightness on my questions.
BLAM
like POW
 
@BartekBanachewicz I'll let you in on a secret: uni is heaven compared to work :)
 
@DeadMG The former implies the latter. Now consider something like`struct foo { int i; foo(foo const&) { /* nothing! */ } };`. Very obviously nothrow, and very obviously at odds with a trivial copy.
 
10:02 AM
@BartekBanachewicz wait. You work evenings?
 
and Alok
 
@LucDanton No, I know the difference, I meant in terms of observable difference.
if you copy T, then that copy doesn't actually seem to involve different semantics, unless for some reason you wish to memcpy it around.
 
@sehe I work whenever I want to; just have to work at least 25hrs/wk. Also, NO, uni is a fucking hell.
 
@DeadMG Given foo f { 42 }; (assuming appropriate constructor), then auto copy = f; does differ.
 
:)
 
10:03 AM
@sehe and that's pretty much while I'm still at home, underdressed.
 
@BartekBanachewicz TMI
 
I.e. you get assert( copy.i == f.i ); for the trivial one, but not for our contrived nothrow one.
 
@sehe At least he's dressed at the under side.
 
@sehe I changed un- to under- :P whatever. Still, I hate my uni. I have another algorithms exam today (failed the first one, obviously). I fell asleep yesterday on the lecture script -.-
 
@StackedCrooked "at the underside"?
 
10:07 AM
You should be able to parse that :)
 
@StackedCrooked yeah I am. I just object to the abuse of Engrish
@MartinSmith Thanks for pointing that out. :) — Mysticial 16 hours ago
@Mysticial ^ what did he point out?
 
@sehe A typo in my answer. Check the revisions.
 
@sehe he pointed, mysticial changed his answer, then removed the comment
 
@DeadMG Why is it disappointing?
 
10:10 AM
@sehe I think that meta post got that question downvoted to negative.
But I don't think anyone wants to downvote it to -5, cause then you automatically give half the answerers reversal badges.
 
class foo
{
public:
   operator QString(std::wstring& ws)
   {
       return QString::fromStdWString(ws);
   }
}
does this even remotely look valid?
 
… I broke Google
 
well done :)
 
8
Q: Destroying a spammer summoned a lolcat (again)

Tim PostI just destroyed a spam / robot account that was just copying the help text into answers and posting them. The ID was 2045498. Upon hitting 'destroy', I got the lolcat exception page. I loaded the user's profile again (following a link from one of the junk answers, not refreshing) and this is wh...

 
> About 47 results
(Googled for “Marlowe”)
> 1 result (0.25 seconds)
 
10:12 AM
@TonyTheLion looks like implicit conversion. What the fuck is Qstring?
 
(Googled for “Kit Marlowe”)
 
@Mysticial I don't think many people think that far. Or care about reversal badges on others enough
 
@BartekBanachewicz It's a string from Qt library
 
@sehe good point
 
10:13 AM
@Mysticial Is it me, or did Tim Post delete an answer at that Meta question? I distinctly remember posting a comment at his answer, but can't find it (<10k)
 
@sehe Tim deleted his own answer.
Not sure why
 
@KonradRudolph Meh. To be honest I am only interested in the fuzzy searches.
 
@Mysticial I thought it wasn't really on topic. I liked his heartfelt plead for less rudeness and more tolerance. However, that has little to do with disproportianate rep farming off "silly" (well, not very interesting) questions
 
@TonyTheLion something that involves Qt isn't even remotely valid
 
user142019
Hey noobs.
 
10:16 AM
@sehe I'm (usually) a lot more tolerant of silly questions getting tons of votes. But that one was a new low.
 
@R.MartinhoFernandes Is it any good? I mean, does it replace complete+=i (which is unworkable with stdlib/boost)?
@Mysticial Glad. I thought it might have been a more frequent thing, since I never pay a smidgen attention to the Supercollider
@Zoidberg Likewise
 
user142019
lol
 
@sehe They're pretty easy to find actually. Just run down this list:
Probably about a quarter to a third of them are silly.
 
@sehe Dunno. But standard completion won't find canonical_equivalence if you type cequiv. This one will.
 
@Mysticial ahahahahah
 
10:20 AM
233
Q: Why is i-- faster than i++ in loops?

Afshin Mehrabani Possible Duplicate: JavaScript - Are loops really faster in reverse…? I don't know if this question is valid in other languages or not, but I'm asking this specifically for JavaScript. I see in some articles and questions that the fastest loop in JavaScript is something like: for(var...

 
@R.MartinhoFernandes oh, that's kinda neat indeed
> People who scored low on “agreeableness” were more likely to enjoy masturbation. (I guess they have to.) derp science
 
^^ This one in particular pissed quite a few people off.
 
@Mysticial lol at timing
 
yeah
9 delete votes... woah...
Yeah, people are REALLY mad at it.
 
@Mysticial Well, that question is arguably more interesting than the "boolean x = (i==1)" question. I mean, it calls to debunk some myths and shed light on historic facts about compilers and machine code emission.
 
10:22 AM
fuckin gazillion of upvotes... (╯°□°)╯︵ ┻━┻
 
@Mysticial It has a duplicate source, as well
 
Now that it's deleted, we can expect a meta post pretty soon.
 
What happens. Do people actually lose the rep?
 
I'm gonna abstain on this one though because it actually slightly controversial unlike the boolean question.
@sehe It's been more than 60 days so no.
But don't forget that big posts are like "badges" that sit on your profile.
 
@Mysticial I mean "boolean x = (i==1)" just demonstrates ignorance. Which is OK, this being a Q/A site. But it becomes especially repulsive if the same ignorance dominates the many highvoted answers.
 
10:24 AM
gonna vote to undelete
 
@Mysticial God. How can people make life so complicated. It's unimportant :( Just have a good health and a job that appreciates you and v.v.
 
I'm abstaining. I voted to undelete the Javascript syntax question. And a few people ripped me on meta when I defended the question.
 
@LuchianGrigore Go right ahead. It's democracy, not war
@Mysticial Mmm. that's... terror. Not nice
 
@sehe To be fair, it's gotten me jobs.
 
10:26 AM
crap, so now I need to put the guns away?
 
@LuchianGrigore No you're fine. Just don't try to defend yourself on meta.
 
@TonyTheLion to what, actually?
@LuchianGrigore Nope. It's a democracy. You're fine
 
Defend what? It's just a vote, and AFAIK, it's invisible till it actually gets reopened
 
IMO, this i--, i++ question is worse than the Javascript syntax question.
I got ripped for defending the Javascript syntax question.
So I'm not gonna defend this one.
 
I officialy love back_inserter from now on
 
10:28 AM
@Mysticial which one?
 
Not that I particularly like it anyways. Since it is overvoted.
 
@sehe the article
@BartekBanachewicz that sounds soooo wrong
 
@TonyTheLion Ahahaha
 
Agreed, it is overvoted, but IMO not really a reason to delete.
 
@TonyTheLion oh, now I look at it... yes, a bit
 
10:29 AM
Whoa. This YouCompleteMe plugin better be complete! A clone of the git repo is 60MiB... ?!!!
 
11
Q: Duplicate asking to explain chunk of code, with more than 400 upvotes, was deleted

JohnJohnGaMy question about a block of JavaScript code, "Can you explain why ++[[]][+[]]+[+[]] = 10", was deleted and I want to know why. It is a programming question with 400+ upvotes that contains a fantastic answer. Anyone care to explain?

 
The count of javascript noobs upvoting questions is too damn high!
 
Which one? The ++i/--i question? Or the "boolean x = (i==1)" one?
The latter is just a mediocre question. Last time I've seen it, it had **no** valid/good answer. Yet, multiple answers were voted > 50 upvotes
 
@Mysticial I don't get why that was deleted....
@sehe both. The one Mysticial posted seems like a fairly interesting question.
 
10:30 AM
@LuchianGrigore Well, jealousy is a major factor in these deletions.
 
@LuchianGrigore "fairly"? somehwat maybe:
9 mins ago, by sehe
@Mysticial Well, that question is arguably more interesting than the "boolean x = (i==1)" question. I mean, it calls to debunk some myths and shed light on historic facts about compilers and machine code emission.
 
It's a terrible question. This is about as far from practical as you can get. Every time I see one of these "what/why happens if you mash a bunch of operators together nonsensically" questions I vote to close. I wouldn't mind a historical lock, but this definitely doesn't deserve to be open. — Jeremy Banks Jan 18 at 23:44
^ this
 
The comments were mostly against me. But I had enough silent supporters where my post score was still positive.
 
anyways, off to lunch
 
cya
and I'm off to bed
4:30 here
 
10:36 AM
Here it's even later.
 
@TonyTheLion Conversion operator which takes an argument?
 
@StackedCrooked That doesn't work right?
 
There's no syntax for that.
 
lol
Zombie.CreateZombie(); <--- Found in code
 
10:50 AM
 
@LightnessRacesinOrbit false positive, skin
 
that's even worse!!
also, really?
 
@thecoshman lol. How's your day?
 
@TonyTheLion spiffing
 
user142019
10:53 AM
Persons.
 
@thecoshman lol
 
damn fuck. std::istreambuf_iterator is not working
 
@Zoidberg zoidberg!
 
user142019
What's up.
 
@BartekBanachewicz no, you're using it wrong.
 
Xeo
10:53 AM
FINALLY INTERNET!
 
Reading up on Google Mock for C++ (Wiki: gmock for dummies)
 
@Zoidberg the ceiling.
 
@LightnessRacesinOrbit are you fucking kidding me?
 
@thecoshman yes.
 
Xeo
@BartekBanachewicz Doing it wrong? :P
 
10:54 AM
:7569594 	vector<char> Temp(
        (std::istreambuf_iterator<char>(FileStream)),
        std::istreambuf_iterator<char>()
		);
 
@Xeo welcome to the Internet. Don't expect anything, expect the unexpected.
 
user142019
@TonyTheLion what about the floor of the next floor?
 
@Zoidberg a vector perpendicular to the ground plane
 
user142019
@BartekBanachewicz y u no brace initialization.
 
Xeo
@TonyTheLion Not at home, though. I'm at work, but internet was dead until just now.
 
10:54 AM
@Zoidberg MSVS Y U NO decent stdlib -.-
 
Does anyone else get very nervous/ uncomfortable at a framework like that? (^gmock)
using ::testing::Return;...
EXPECT_CALL(turtle, GetY())
.Times(4)
.WillOnce(Return(100));
 
@Xeo oh right.
 
@LightnessRacesinOrbit hint: I was spewing more bullshit then manuor truck
2
 
user142019
@BartekBanachewicz y u MSVC.
 
@Zoidberg because debugger
 
10:55 AM
@sehe it's fugly
 
Xeo
@BartekBanachewicz What are you actually trying to do?
 
user142019
Hmm.
 
Yeah, it may be rather expressive. But it is also arcane, hard to reason about and ... generally obscure.
 
it's meh
 
@sehe I wouldn't use those adjectives, no.
 
10:55 AM
@Xeo read the whole damn file into vector
 
user142019
Hmm.
 
Xeo
@BartekBanachewicz Then that should work.
 
user142019
Preprocessor directives as single tokens.
 
@LucDanton Well, it's not like I'd be emotionally unstable. I just don't feel attracted to this, at all. I'd much rather explicitely write the stubs for this
 
Xeo
What exactly is the problem? :P
 
10:56 AM
@TonyTheLion stop looking in the mirror then
 
@thecoshman meh
 
@Xeo that's the point. It ain't working. I can read characters with operator>>, but the Temp is always empty.
 
user142019
And a separate relexing step.
 
@sehe 'Uninterested' is also how I'd put it.
 
you suck
 
10:56 AM
@TonyTheLion your mum
 
oh for fucks sake it suddenly worked
 
@LucDanton I'm happy to know I'm not alone
Is anyone else big on Google Test/GMock for C++?
 
@BartekBanachewicz cough
 
@BartekBanachewicz things don't suddenly work. If they do, it's prolly UB.
 
@TonyTheLion Or a full rebuild
 
10:57 AM
or magic
 
I learned the hard way "don't debug code without return statements"
 
<facepalm>
 
@BartekBanachewicz cough. choke
 
because out of scope
 
10:58 AM
@TonyTheLion lol?
 
I want to be left alone for a while
 
trolling.
@BartekBanachewicz kthxbye
 
@BartekBanachewicz go here
@BartekBanachewicz we all did that. And then learned to use -Wall :)
 
@TonyTheLion lolwut
 
bad riposte and repost
 
Xeo
:7569748 You like that one, huh?
 
riposte?
 
google it, FAMMIT
 
@Xeo I think it's quite hilarious
> In fencing, the riposte (French for "retort") is an offensive action with the intent of hitting one's opponent, made by the fencer who has just parried an attack.
 
11:01 AM
why does YouCompleteMe fail to compile (clang-c/Index.h: ENOENT)
 
@sehe because it can't complete you.
Polar Bears cannot be completed
 
Zing
 
user142019
Schreeuw
 
so, @Xeo are you coming to Berlin over the weekend then?
 
Xeo
Don't think so, would be a bit... spontaneous after all.
 
11:03 AM
@TonyTheLion fucking french
 
Can't have that. Brrr
 
@Xeo what's wrong with spontaneous?
 
Xeo
@TonyTheLion The money.
 
ah right
makes sense
 
Xeo
I'd like to, though.
 
11:05 AM
How much was it again?
 
It's only a couple hundred bucks ducks
> The number -- 2 multiplied by itself 57,885,161 times, written mathematically as 2^57,885,161-1 (...) -- well done Fox, well done
 
Argh Unity requires Pro license for triggering the build programmatically
 
user142019
I was writing a Haskell program and now this stupid school interrupts me with Java. ;_;
 
@Zoidberg I was writing a program and suddenly I should go to work
 
@CatPlusPlus ah. needs XTest, AutoHotKey, whatnot
 
user142019
11:08 AM
Prepare for withdrawal.
 
Eh, I think it has command-line options at least
 
@Zoidberg Insufficient account balance
@CatPlusPlus But they are disabled... ?
 
No, they should work
I'll have to make external scripts and complicate the build yay
 
hmmm
I went to play Starcraft 2, then I remembered that I deleted it.
 
@CatPlusPlus oh, these are just a little dependencies
 
11:13 AM
Not really no
 
@DeadMG A day in the life.
 
I know
 
Compilation won't terminate :|
So as it turns out, a trivial program involving variant<int, std::tuple<recursive_variant, recursive_variant>> compiles but one with variant<int, std::tuple<int, recursive_variant, recursive_variant>> doesn't.
 
11:36 AM
@LucDanton That's a new one for me
 
The question is, should I build a sound proof shed so I can setup my drumkit again to play or should I just sell my kit?!
 
@sehe It's happened a few times; just few enough that I have no idea why neither compiler complains ('yadda yadda such and such implementation limit reached') or system runs out of memory, or at least why it does so so slowly.
 
I'm in a quandary.
@sehe repost
 
@TonyTheLion 4 girls?
 
11:41 AM
@StackedCrooked well, wouldn't he be one of the four, thus three girls?
@TonyTheLion ¬_¬ why not both?
 
@thecoshman how can I play my kit when I've sold it?
lol
 
@TonyTheLion who said you had to use the sound proofed room for drumming a drum kit?
 
@thecoshman well, I don't fancy angry neighbours
so I don't have much of a choice
 
@TonyTheLion focus less on where you are drumming and more what you are doing in the sound proofed room :P
this fucking laptop died, again
 
@thecoshman what?
@thecoshman lol
 
11:52 AM
@TonyTheLion sex tony, I am talking about sex! you of all people should have picked up this!
 
this ^ but frecking expensive
@thecoshman OFFS, can't I ever have a serious conversation here?
 
@TonyTheLion sure you can, sex?
 
not sex
drums
sex is so yesteryear
I'm so full of shit
4
 
but yeah, totally make a drum sex room
 
meh, must resist temptation to google "sex room"
would be funny, but NSFW
 
11:54 AM
what ever gave you that idea?
 
in other news, my foot hurts
and aarrghhhh fuck fuck fuck
 
oh, they made a tribute to you at my work tony
they have the number six written out in Sweedish
 
lunch
 
funch
bunch
kunch
gunch
munch
hunch
junch
 
12:05 PM
 
she's getting le fat
 
stop giving her snacks
 
we don't
also, she needs shearing
 
more excercise?
 
12:08 PM
nah, too much food
when she was young, she wouldn't eat much, so we gave her all she wanted to eat
 
oh woah
 
except now she stuffs her face like a pig in an infinitely large trough.
so we're cutting down her food
 
right
shared_ptr.reset() doesn't destroy the resource or does it?
 
depends on the original contents
and what the ref count
was
 
hmm so a comment about freeing all memory above a shared_ptr.reset() call isn't necessarily correct
 
12:19 PM
wtf
you can't free memory that shared_ptr owns anyway, shared_ptr has to do it.
 
// Free up this database resource
SrcSession.reset();
DataSource.reset();
dafuq?
 
IOW, SrcSession = nullptr;.
 
leak?
 
no
wtf, man
what would be the point of a smart pointer if it did not manage the memory for you?
 
no point
 
12:20 PM
you cannot leak memory from a shared_ptr without invoking UB or reference cycles.
 
right
but these reset() thingies are really pointless
 
unique_ptr has release(), but apart from that, it's the same story.
 
used in that way
 
@TonyTheLion AFAIK, they are mostly for compatibility.
x.reset() would have been before nullptr, at a guess.
 
meh and a few lines later it reassigns the shared_ptr to another resource
so basically the assumption is that reset will delete the resource and then it can be reused again for something else
sounds wrong
> Effects: Equivalent to shared_ptr().swap(*this)
that's what boost docs say.
 
12:28 PM
well, it can be re-used for something else at any time.
you don't have to manually delete the resource.
 
std::shared_ptr::leak()
 
hmmmm
 
@R.MartinhoFernandes So, there's this. Won't link there though.
 
Oh gawd, I had forgotten how awful boost::variant errors look like.
 
Yeah? See that using tuple = hack?
 
12:31 PM
WTF
 
make_recursive_variant is C++03 and can't deal with std::tuple.
And my stuff won't terminate compilation.
(Plus it's not available on an online compiler so!)
 
New what-if is online
 
Yesterday, yeah.
 
oh damn, i thought it's on wednesday
 
1
Q: own iterator class not working with std::binary_search

KlausI found a lot of answers here to the topic, but I couldn't get my code to run. If I have to write my own iterator I struggle with value_type and other "specials" to operate with . I read a lot of articles here how to NOT write iterators but could not get any working example. Especially I read t...

eeek
 
12:45 PM
ah, he meant own as in not derived from std::iterator -.-
 
right
 
Slowpoke
 
1:01 PM
0
Q: Java - Nosuchmethoderror

user2046900Alright so lately i've been experiencing this issue not just with this call but with several others. What i'm experiencing is a NoSuchMethodError which is happening during Runtime. I've tried deleting all of my .class files and re-compiling with the same version of Java as compiled with but the i...

<facepalm>
 
@CatPlusPlus Dat
@R.MartinhoFernandes did you compile YouCompleteMe? I'm having real trouble
 
Without libclang, no issue.
 
wtf is YouCompleteMe?
 
@R.MartinhoFernandes wokay
@DeadMG Something you don't need :]
 
fair nuff'ages
 
1:13 PM
vim stuffs.
 
xD
 
1:28 PM
strange... my minecraft server log has a random 'lost connection' for an IP linked to Ericssons...
 
ITT thecosh plays minecraft from work but does not remember.
 
Is he a confused man?
 
He most definitely is
 
1:42 PM
Hello folks. Is taking the address of an object that has been destroyed (through a dangling reference) UB?
 
@LuchianGrigore: Kinda like that, yeah :-)
 
@LuchianGrigore Aha, stealing the good questions.
 
All right, I guess I can wait for the answer there then
 
@R.MartinhoFernandes I was curious, and Andy seemed to already know the answer judging by the comments.
@thang: oh, I see the address-of. I overlooked it in the first place, I don't know why. I will edit my answer. — Andy Prowl 12 mins ago
 
1:44 PM
@LuchianGrigore: I thought I did. Then I thought again
 
@R.MartinhoFernandes hey, you know C++, so is it ub?
 
Not sure.
I'm kinda busy to check right now.
 
ya, same here, that's why I didn't check
well, that and the rep :)
 
Don't ya just love banks? Left stranded at Iceland till with two trolleys of frozen and a declined card. I asked for a new card, (old one bent, but useable), two weeks ago. I got no new card but RBS cancelled my old one anyway..
 
huh
I'm with Natwest, which is owned by RBS, and they never cancelled my old cards, even if I asked for a new.
 
1:50 PM
They may do now? I had to leave the thawing-out food, run down to RBS branch and get cash. PITA.
 
owch
 
..and then, of course, I had join the checkout queue again, unpack all the bags, put all the stuff through the till again, pack it up again.
 

« first day (844 days earlier)      last day (4090 days later) »