« first day (987 days earlier)      last day (3964 days later) » 

user142019
12:04 AM
Okay, I got it to compile.
 
Xeo
Hm, GoingNative 2013 registration is $299
 
.... Wat.
 
We know
 
My wallet can't handle that kind of shit.
Goddamn.
 
Xeo
That's actually pretty low
From what I normally see for conferences.
 
12:06 AM
Yeah 100/day is not so bad
 
@Xeo Welll excuuuuse me, Mr. Rich Richington.
 
Xeo
The worst part is, of course, the flight.
Which would be around a thousand bucks
And then there's the problem of a hotel or something similar
So yeah, not gonna happen
 
0
Q: Machine Learning to discover duplicate questions?

BassemDyWhy doesn't Stack Overflow implement an algorithm able to detect the % of similarity in questions being asked and if that percentage is above a certain threshold the user is denied posting? Is it in progress? Any reason preventing that feature from being integrated?

 
Xeo
Welp, certainly some interesting directions for VC++
 
I have calculated the value of dirt!
 
12:18 AM
@Mysticial Yeah. I was actually thinking earlier 'not many retard questions today'. Got back from club, and we're back to 'return pointer to local stack var', 'seg fault when deref. a pointer that I have not newed/malloced', and 'debug my shit 'cos I cannot be bothered'. Luckily, I'm too pissed to bother replying.
 
@Xeo Interesting, but GCC and Clang are still beating the snot out of it.
 
user142019
var factory = NpgsqlFactory.Instance;
 
user142019
God why are these APIs always so horrible.
 
Xeo
@ThePhD No wonder, when VC didn't even have a fucking AST
 
@rightfold The better question is why do you always pick the worst apis to work with?
 
12:20 AM
@Xeo Seriously!
That blew my mind. xD
"VC++ doesn't have an AST..."
Christ, how did you last that long?
 
Xeo
I was like "how.... WHY?!"
 
@Xeo You heard him: old code.
 
Xeo
@ThePhD I liked how non-chalantly he said that.
"So, VC is very robust and obtw we don't have an AST"
 
@Xeo "Yeah we don't have an AST nbd guys we got it covered."
My eyes screwed up when I heard that and I laughed at work.
People looked at me. =[
 
OW HOLY SHIT SO SICK
OWWWWWWWWWWW
MORPHINE PLIX
 
12:23 AM
@ThePhD I have no idea, especially given how amazing their C# compiler projects are -_-
 
@DeadMG If you need morphine, might be the time to go to a hospital
 
'Pile of Gunge of the Month' contender:
http://stackoverflow.com/questions/17373996/initialization-and-resize-of-a-stdvector-invalid-read-of-size-8
@Borgleader Yes, now.
 
evening/mornin
 
@Xeo That explains, though, why things like constexpr and what not weren't going to be coming to the compiler anytime soon.
 
@Aboutblank Goodnight, (UK).
 
Xeo
12:28 AM
Also, someone here mentioned that __async/__await looked like C#
Well, guess where the original idea came from.
 
twas rightfold
 
Xeo
@rightfold ^
 
user142019
@Xeo I did.
 
Xeo
Anyways, sleepy time now.
 
user142019
Goodbye @Xeo.
 
12:30 AM
'night
 
@Borgleader I have no idea if they'd rate me as severe enough to justify it
 
I clicked my [C++][C++11] stackoverflow bookmark, and 8 of the displayed 15 questions are about pure virtual functions or virtual destructors O.o
 
Xeo
@DeadMG I really wonder - how do gallstones do the hurting?
I mean, what makes them hurt you rather than just idly lying around somewhere in your body?
 
@MooingDuck A poor professor outthere said today "alright on mondays exam: virtual functions"
 
how the fuck should I know
all I know is that I'm an inch from waking up my parents and begging for hospitalisation
 
12:38 AM
@Xeo "Biliary pain is most frequently caused by obstruction of the common bile duct or the cystic duct by a gallstone" en.wikipedia.org/wiki/Biliary_colic
 
@MooingDuck So much bloat.
 
template<typename T>
auto take(T& t) -> Future<T&>
{
    T* pt = &t;
    return Future<T&>(move(std::async([=]()-> T& { return (*pt);})));
}
Anarchy!
 
Online!
 
int n = 0;
take(n).then([](int& n) -> int& { return n += 1; }) // explicit return type required
       .then([](int& n) { n += 1; })
       .finally([&]() { std::cout << n << std::endl; });
It works! :D
 
What is this, what are you trying to do and what "works" ?
 
12:50 AM
I'm messing around and it's messy.
So that's a success.
Actually, I'm making a future.then implementation. Just for fun.
 
user142019
Oh God.
 
user142019
I should've learned about Lombok earlier when I had to work with Java.
 
Did you mean Lambik?
 
user142019
No.
 
user142019
Lombok.
 
12:52 AM
I'm looking at the demo video.
 
user142019
It's a Java library/compiler hack that fixes Java to some extent.
 
He sounds Dutch.
Very Dutch.
 
user142019
He is Dutch.
 
user142019
He's from Delft.
 
@DeadMG Hospitalisation on a Friday night in the UK is a nightmare. A&E is full of drunks, druggies and other sundry thugs. If you can last till morning, your symptoms may well have subsided. If not, you then stand a better chance of not being beaten up by some crack-head or other moron begging for methadone.
 
user142019
12:53 AM
val map = new HashMap<Integer, String>();
 
user142019
This is probably its best feature. :lol:
 
user142019
Cool lazy getters.
 
@MartinJames They usually do subside by morning. The primary issue is that if I wait until morning, it involves WAITING UNTIL MORNING WITHOUT PAIN RELIEF
fucking NHS have done nothing but arse me around for years
 
@DeadMG Yeah, I know:( Can you not get the surgery?
 
I'mma go back to my doc and tell him I want the fucking surgery pronto
I'm done shitting around losing weight unless he wants to prescribe me a repeat morphine
 
12:57 AM
@DeadMG Oh fuck. Sorry :((
@DeadMG Bastards. Repeat morphine is a bad choice, as you surely know :(
 
user142019
Cyanide > morphine.
 
rightfool
9
 
@rightfold That's wrong! (alphabetically)
 
user142019
@StackedCrooked Not in binary assuming ASCII.
 
@rightfold Well, you cannot get addicted to cyanide:(
 
1:02 AM
@MartinJames Nobody ever kicked the habit.
 
user142019
Cyanide reliefs your pain permanently and doesn't make you addicted.
 
user142019
It's great!
 
@StackedCrooked Nah - kicked the bucket instead.
 
And I kicked their bodies. Muahahah!
Dammit, Google Reader is going down in 2 days.
 
@DeadMG stuft. I'm guessing that private is out of the question and gallstone surgery low-priority on NHS :(((
Hey, I gotta sleep. @ DeadMG best wishes to you and Daisy.
 
1:45 AM
It looks pretty bad..
But I can't say if it will matter.
Each one adds 16KB.
And that's optimized with -O2 without debugging symbols.
Maybe it's because everything can be inlined..
Oops. I didn't use launch::async at the end. Fixed.
 
user142019
@StackedCrooked It's C-fucking-++. What would you expect?
 
I don't know.
 
2:02 AM
> FUCK YOU, YOU DAMN FAGGOTS!! You have ruined the Internet, may God destroy you for you have turned against Him. Are you offended? What are you going to do?, you gonna kiss me to death?, let's see you try!!! You have scarred me for life!!
I should stop reading YouTube comments.
 
user142019
@EtiennedeMartel I'm watching EG.
 
user142019
Have you seen it already?
 
user142019
Somebody filmed it in the cinema and uploaded it to YouTube.
 
user142019
:lol:
 
@rightfold I know that. I'm waiting until August 6, when it's gonna be out in Blu-Ray (and therefore in decent quality).
 
user142019
2:13 AM
@EtiennedeMartel Ah. :P
 
user142019
Well this quality is good enough for me.
 
The image quality is generally decent with cam rips. The problem is the audio.
 
user142019
Not bad either.
 
Anyway. I'm not that much in a hurry to watch it.
 
It's a wonderful thing.
The author calls it The C++ Network Library.
 
user142019
2:24 AM
Networking in C++ sounds like a nightmare.
 
C++ is good for the low-level stuff.
 
user142019
It was a good movie but I'm not sure I'm going to watch it again.
 
user142019
@StackedCrooked C++ is for writing networking drivers, not networking applications.
 
Nag nag nag.
You nag.
 
user142019
Het is weekend en ik moet pissen.
 
2:32 AM
Nagger.
@rightfold Ja, typisch.
 
user142019
 
In de week heb je daar immers geen tijd voor.
@rightfold I know :)
 
user142019
@StackedCrooked Me too :)
 
It's the most memorable South Park thing.
 
user142019
Also the Mongolians and the Great Wall of China.
 
user142019
2:35 AM
That episode is hilarious.
 
I have a friend that went hiking on the Wall of China. That seems like an awesome trip.
 
user142019
XTC also gives you an awesome trip.
 
user142019
Depending on your mood.
 
It's an imaginary friend.
 
@StackedCrooked I want to do that too, but not the touristy part - done the touristy part when I was 5, then again a couple of years ago
 
user142019
2:38 AM
It's a rational friend.
 
user142019
He can get quite complex, though.
 
@rightfold If it depends on your mood then it's not a very strong drug.
 
user142019
@StackedCrooked It enlarges your mood into the extremes.
 
This sleeping pill only works if you are sleepy.
 
user142019
So it's better if you only take it if you're happy.
 
user142019
2:39 AM
If you're sad and you take it you're probably going to jump off a bridge. I mean, if you take it while you're happy you're also going to jump off a bridge, but that's because you'd think you can fly instead of wanting to die.
 
So better stay away from bridges then.
 
I want to do the wild part of great wall, but I heard it is dangerous
and maybe banned
 
user142019
Go to a hardstyle festival.
 
user142019
Lots of XTC there.
 
user142019
And GHB.
 
user142019
Ik heb vandaag een friet speciaal op met een shaslick met shaslicksaus en een frikandel speciaal.
 
user142019
My palate had an orgasm.
 
@rightfold That's a good day.
 
user142019
 
user142019
This first suggestion is so wrong.
 
2:43 AM
 
That is with safe search on.
 
@rightfold Once Google starts to suggest rule 34 for all search terms then it means it has discovered rule 34.
 
user142019
WHAT
 
user142019
I LOST ONE REPUTATION TODAY?!?!
 
user142019
2:48 AM
Due to a downvote on this shit.
 
@rightfold I see nothing wrong here.
 
I almost never downvote.
 
user142019
@Crowz look up rule 34.
 
@rightfold I know what it is.
 
I have 4 downvotes since 2009.
 
user142019
2:52 AM
@StackedCrooked Ik probeer mijn reputation een even getal te houden.
 
I lost 8 rep yesterday because I deleted one of my +0 answer (which turns out was a +1/-1 answer)
 
The coliru archive is now 652MB with 4498 entries.
 
user142019
Let's see if we can crack that up a little.
 
@StackedCrooked I guess I'm a little more negative (or active). I've cast 53 down-votes (but also 5438 up-votes).
 
user142019
yes > foo.txt
 
user142019
2:57 AM
+ yes
/tmp/1372474627-1083338587/cmd.sh: line 8: 22758 File size limit exceeded(core dumped) yes > foo.txt
 
user142019
Haha nice.
 
user142019
I have 848d 2894u over three years not counting deleted posts.
 
@JerryCoffin I'm sure I have cast more downvotes than upvotes. I guess I'm a huge asshole xD
 
@Borgleader Maybe -- but not if they were deserved.
 
user142019
@Borgleader From that fact I can safely assume that you only visit Stack Overflow through links posted in Lounge<C++>.
 
3:02 AM
Haha, no I do go out and read questions on my own
 
I tend more toward voting to close (660 times) instead of voting down.
 
Then I get depressed that I can't answer any and refrain from doing so for a week or two
I can't VTC (that's a 3k rep privilege afaik)
 
user142019
@Borgleader Then it must be a coincidence.
 
user142019
Time to piss and sleep in that order.
 
@Borgleader Obviously you need to answer more questions. Even at only one or two answers a day you'd get from 0 to 3K rep in only a couple of months (at most).
 
3:08 AM
@Borgleader Nope.
356 up, 179 down
 
@Rapptz o.O Color me surprised
 
I have 772 up and 234 down.
 
@JerryCoffin Yeah I tried that the other day, I answered a few questions, got only one accept (and no upvote despite that answer being accepted)
I guess I should try more
 
@Borgleader Probably. I recommend finding some older questions that haven't been answered (at all well) yet. Do some research if necessary to post a good answer.
 
3:38 AM
Answer ALL the things.
Blaarrgh.
Why is reflection so hard? D:
When I finish this, I'm submitting it for use in C++. D:
Fuck the SG09(Reflection) or whatever they are.
Argharghargh Visual Assist X not working with VS2013. x_X
 
@ThePhD You know what's probably gonna work with VS2013? ReSharper.
 
@EtiennedeMartel That doesn't have C++ support just yet. :c
 
@ThePhD Yeah. Weep.
 
;~;
@EtiennedeMartel You know what would make me feel better?
 
@ThePhD An episode of MLP?
 
3:52 AM
@EtiennedeMartel No. Nothing about weird pony creatures will make me feel even the slightest bit better.
That's a horrible suggestion.
 
@ThePhD You do MLP-related Google searches quite a lot for someone who doesn't watch the show.
 
@EtiennedeMartel I don't know what you're talking about~
 
That said, yeah, that works.
@ThePhD You know, that's exactly what I did just before I started watching it.
 
Oh no. D:
 
So, if you're not already a closeted brony, you're probably on the verge of becoming one.
 
3:54 AM
NEVER!!!
You'll never turn me into one of them!
 
There's no escape. No sense fighting it. Join the herd. We have cheesy songs.
 
@ThePhD Speaking of Nintendo-related metal, check that out.
 
I already have that entire album.
I've had it for years. :D
 
pls help me sleep you guys
 
4:07 AM
Get off your computer you fat lazy fuck. D:<
 
4:23 AM
THIS IS COLIRU

execution expired
 
EAGAIN
was tweaking it a little
It sucks. But that's because it sucks.
 
so, what, now everyone can see the stupid shit I try on there? :(
 
They don't know you did it.
 
4:57 AM
@melak47 Tag all your contributions to it. :D
 
5:14 AM
Hm.
I can't get VS 2012 to use VS2013's executables.
Oh well. =[
 
5:35 AM
Hm.
I need a technique that can hide a templated type inside of a runtime virtual type...
 
OW MY STOMACH
 
@ThePhD boost any
And you mean polymorphic type.
 
@DeadMG =[ Go to a hospital or something. =[
@StackedCrooked I need to be able to get at the interface, and the interface is the same for all the templated types, so perhaps something a bit less abstracted.
 
Well, no can do probably.
Of course you could have a template type with virtual methods.
 
Hm. I think I can do better. But it'll require some wrappers...
Huh, coliru is taking a long time to compile.
 
5:46 AM
Occasionally that happens
 
So that's what I was trying to get at.
 
If it takes too long to compile just refresh the page and try again a little later.
 
Essentially, I have several templated Encoding types that all have the same interface (a few functions like the foo in that example), and I wanted to separate the virtual interface from the templated one.
So rather than derive from a base type on the template types, I just wrap the template types up in a virtual wrapper (TVirtualize), and those derived from a base type, which allows for run-time shenanigans of a template type.
 
TVirtualize could inherit T.
 
Composition v. Inheritance: I'm wondering what that would save us, though.
I'd have to delegate / rewrite the constructors in the inheritance of T, wouldn't I?
 
5:55 AM
@ThePhD That discussion does not apply to special cases like this.
I'm not saying my solution is good. But if you want to fool around I'm your buddy.
 
I didn't mean to say it was bad or good. I was just wondering what the merits of inheritance v. composition were in this case (because it's either use inheritance, or use composition).
 
It's more like reverse inheritance if anything.
 
Though, I do like the slicing / referencing ability a lot. :D
@StackedCrooked Kinky~
 
You should checkout boost variant visitation.
That might be what you want.
It depends on whether or not the solution space is a hardcoded set or not.
For example there are two types of IP addresses: IPv4 and IPv6.
On the other hand the list of application level network protocols is not a fixed set. New ones are being invented every day.
You can only use boost variant in the former case.
However, most people, coming from OOP background choose the latter by default.
Not saying that it is always wrong to use dynamic polymorphism when static is possible.
The Roots are pretty good.
template<typename To, typename From>
To& implicit_cast(From& from) {
    T& to = from;
    return to;
}
Occasionally I want this.
 
6:37 AM
@StackedCrooked cowboy_cast~~~
 
You can have the cowboy_cast.
IIRC @GManNickG wrote the SFINAE sample that is on Wikipedia. I've seen that duplicated in various places.
 
@StackedCrooked I understand this. The reason I have a fixed, templated interface is because I want to template on TEncoding, where TEncoding is anything that supports encode_one, decode_one, and count_one. The problem is, later on someone might come along and do another kind of encoding. So I can't very well only variant<Ascii, Windows1252, UTF8, UTF7, UTF32LE, UTF16LE> and hope it works.
@StackedCrooked Really?
 
Just saw some very similar code in Gennaro's book.
 
Lul.
Everyone be copyin'.
 
Indeed.
 
6:40 AM
GManNickG is too much... of a G.
 
G fetish.
 
More chat flags?
 
Dbz
Hey
Is anyone around?
I'm getting an error "No Matching function for call to 'online'
and I have a function online
Can someone take a look at it? It's only a few lines of code.
I get the error in both of the couts at the bottom
 
If it's only a few lines of code, paste them here
Use the 'fixed font' button to format the code appropriately before sending
 
Dbz
Well, it's like 40 lines,
 
6:52 AM
._.
 
Dbz
But most are taken up by spacing
Really 12 lines of code
More lines of making arrays
It's suuper simple
 
@BoltClock Hey now!
 
Dbz
@BoltClock, do you know what might be the problem?
 
nope I don't actually know C++. I'm merely a hostage pet here
 
7:07 AM
Pets are nice.
 
Dbz
Well, I appreciate you telling me!
I actually just got an answer
decided to post it as a question
 
lol
@ScottW I have a bachelor's degree which is not very high, but employers never seemed to care.
I find the quality my job very important.
And I'm lucky to have had mostly good jobs up until now.
It's not really about proud, more about satisfaction.
Doing interesting stuff.
 
7:33 AM
lost car in a 9 level car park
 
@ScottW No. Focus on the things that matter for you.
Your preferences should define your path in life. Not the other way around.
 
yeah spent half an hour looking for it
Oo :p
not that serious
 
I once lost my car in berlin. Spent half a day looking for it.
 
lol, are we comparing stupidity now?
 
@ScottW Just where I left it.
@Telkitty猫咪咪 I AM THE STUPIDEST!
 
7:37 AM
Lounge<dumbass++>
 
Ooh, a challenger.
 
usually I am not dumb, but every now and then when I get dumb, oh gosh ... I'll beat you all x 10!
 
so guys, which stories did herb tell?
 
8:09 AM
0
Q: Why StackExchange in not open source?

Sébastien PalcouxI read that some interesting Q&A websites like ask.sagemath.org don't want to migrate to StackExchange because this software is not open source. Is it true that StackExchange is not open source ? In general, the interest of a proprietary software is to do money, but StackExchange is free. ...

^^ let the trolling begin...
 
Catch 1.0 looks nice
 
8:48 AM
It caught my attention.
 
Fixes a handful of things that'd been bugging me
actually, nearly everything that had been bugging me
 
@StackedCrooked I lost a hire car in Portsmouth. The hotel car park was full so I parked it in 'some side street'. After meetings, beer, sleep, I checked out, only find it had snowed - all the cars were white. I knew the reg/tag 'cos it was on the key fob, but the snow had stuck to the plates on the cars and they were all unreadable :(
 
That's extreme.
Must have been fun.
 
Mawning
 
8:59 AM
@StackedCrooked Snow/ice also featured in my other, notable car-screwup. I could not get in to my car 'cos the key would not turn in the frozen-up locks. After half an hour of de-icer, fag lighter and blowlamp, (blistered the paint round lock), I eventually discovered that it was not actually my car.
 

« first day (987 days earlier)      last day (3964 days later) »