« first day (1480 days earlier)      last day (3470 days later) » 

12:01 AM
I just lost my faith in the Stackoverflow community (and humanity, were the latter is less relevant)
 
@Columbo Took you that long?
 
@Nooble Yep
Wait!
It seems there is hope!
Finally, I got an upvote
 
An upvote!
 
I was already gonna drown in the irony of this
 
Link
 
12:05 AM
8
Q: Why does the first function call bind to the first function?

Mike MikeyWhy does the first function call (cm(car);) bind to the first function? I understand that second call is bound to second function because it's non-template, despite both being perfect matches. If the first function is defined as non-template with fixed array length, as: void cm(const char (&...

 
P vs NP is really interesting.
 
My answer is the correct one. The other one is incorrect (and mostly irrelevant) and got a couple of upvotes whilst mine didn't get any until one minute ago
 
I know, I upvoted you.
 
Hallelujah! Faith in SO community restored! \o/
(Not in humanity)
 
Restoration!
 
user1646075
12:07 AM
Actually, I think I did my maths wrong. Bartek is right. at least 200HP/ton.
 
Quick, start a ceremony!
@aclarke What car do you drive?
 
user1646075
a clapped-out nissan silvia. nearly driven it to death. Time to move on, but kids...
 
Is it fun to drive?
I feel like I will be just as miserable driving to college in the future.
 
user1646075
I have my eye on the 370Z + a twin-turbo kit from Greddy which they promise will still allow the car to live a long and happy life without blowing itself up. Unfortunately it would cost around AU$100K to put it together, and kids...
 
Then again, no more public transport!
 
user1646075
12:10 AM
@Nooble yes. it's your classic japanese drift car. not that I actually can pull sustained drifts, but the point is......
 
@aclarke Your job not paying enough? Fear not! Two jobs is the answer!
@aclarke I meant, is it fun to drive in general. Do you race?
 
@Nooble This lounge itself is one large never-ending party.
I think.
Anyway, thanks for your help guys, very appreciative
 
As much as I would love to drive around in a Ferrari 458 Italia with my windows down calling everyone I pass peasants.
 
user1646075
@Nooble no, only myself. I've lived close to the outskirts of sydney so I used to take myself late at night and blast around some twisties in a national park. Did that so many times it's not funny
 
user1646075
I started in the family car and somehow managed to keep it on the road.
 
12:12 AM
Out of curiosity, what industry do you work in?
 
user1646075
IT - software for bidniz
 
What specialization? - Gotcha.
 
getTime :: IO (Maybe Double)
getTime = do
    t <- fromC `fmap` c'glfwGetTime
    return $ if t == 0
        then Nothing
        else Just t
why
just return 0 already
 
@aclarke I've floored a go-kart before around a park near me, it's scary.
Not only for me, but for the little kids' parent's.
Especially on the unpaved road.
 
user1646075
@Nooble go-karts can be mean. they like to oversteer. depends on the power levels they're pushing too.
 
12:14 AM
@aclarke I think it was 15hp
Cousin took away to HP limiter.
 
user1646075
I drove a (local class) V8 supercar recently. That was fun. The G forces in the corners make me desire putting racing slicks on my car now.
 
The brakes on the go-kart didn't even work. Well enough.
 
user1646075
the close-to-the-ground sensation of a kart is what really makes them a buzz.
 
I feel like if I corner really hard that I will roll.
The thing's center of gravity was me.
 
user1646075
also the directness of the handling and the awesomeness of the racing brakes was a revelation. I expected it to be an evil violent beast, but it just did what I told it. Perhaps that would change if I had actually managed to take it to it's limits. Dunno
 
12:17 AM
@Columbo Yup--nicely done.
 
@JerryCoffin Thank your sir!
 
user1646075
@Nooble heh nup. cars and karts are really really hard to roll. you'd need help from a kerb at the very least. Or get sideways on thick dirt
 
Hmm, the 370z starts at 29K USD
 
@aclarke I've done it without a curb. Not sure about thick dirt, but when I was in high school (or thereabouts--long time ago) a couple of us decided to see if we could roll one. I managed it by cranking it sideways at full speed down a fairly steep incline. Those were the days--intentionally rolling it, and never even considered wearing a helmet (and none of the adults around seemed to either).
 
user1646075
@JerryCoffin oh yeah. an incline. that'll do it! And you lived???
 
12:21 AM
@aclarke For 100k USD you could get a Nissan GT-R
 
@aclarke Nope--I've been dead for years now.
 
@aclarke Dude his last name is Coffin... get the hint
 
user1646075
I have a friend who makes me look tame. He grew up on a farm, and they used to bash small things like Mazda 323 hatches around the paddocks, hanging out the window recording it. They managed to record a roll and yet walk away.
 
user1646075
@Nooble $170k here, and also INSURANCE!!!
 
Pretty sure my total "protective gear" consisted of a T-shirt and cut-offs (or maybe full-length jeans--can't remember how warm it was that day).
 
user1646075
12:22 AM
@Borgleader Zombie Coffin
 
@aclarke I don't think I understand insurance for a car anyways. If it's anything like warranties for computers, then it can't be that necessary.
 
user1646075
I bent a rear axle on a 'silent cop' once, trying to handbrake a turn in the wet. On my P plates.
 
user1646075
@Nooble absolutely essential. Upto so many millions of dolllars coverage if you cause carnage. Also repair bills on the car. also in case of theft. etc
 
@aclarke Ah.
Lol "Cause a carnage"
 
user1646075
something I try to avoid.
 
user1646075
12:24 AM
touch wood. touch wood.
 
@Nooble My car was totalled last year after paying insurance for 10 years ... I was compensated $5000 for the wreck by the insurance company
 
user1646075
better get my hands out of my pants before the boss walks in...
2
 
hehehe
 
user1646075
@chmod711telkitty that sucks. They do reach a point where they're not worth insuring for their own sake. However even just 3rd-party personal insurance (ie against carnage) is almost the same price :-(
 
@chmod711telkitty You didn't get hurt did you?
 
user1646075
12:26 AM
best answer is to move on when a car is 5 years old, but I do like getting familiar with my cars. Until I can dance them I don't feel like I've mastered them.
 
not really, I got a new car, well a demo with 2000km on it ... put on 10000km during the past 11 months, so it's 12000km & 2 years old
 
@aclarke 5 years is not old is it?
I've seen people hold on to cars for decades.
 
user1646075
@Nooble nup, 5 should still be virtually perfect.
 
user1646075
also if they're not groaning from a hard life, you aren't using it properly.
 
user1646075
@Nooble Mine are screwed from after 10.
 
12:28 AM
@aclarke Do you sell them off or keep them?
 
user1646075
also if they're not groaning from a hard life, you aren't using it properly.
 
My average is 10000km per year, sometimes more, sometimes less
 
user1646075
I used to try to get the best mileage from my tires. Best I managed was under 8000km (low numbers are best) without just going nuts doing burn outs or other pointless tyre-damaging actions.
 
A set of tires cost half a grand here.
 
user1646075
@Nooble trade them for a nominal price to a dealer. They polish it and sell it to a sucker. For my current car, it would be snapped up by a 20-something year old who would rush to attach plastic, fat exhausts, engine bolt-ons and shiny things. Then they'd probably total it within 6 months.
 
12:30 AM
also I pay for membership on top of my insurance, but in return I get 2 weeks free rental car whenever my car goes into repair
I don't go for cheaper insurer nowadays - less hassle for not that much more premium
 
user1646075
@chmod711telkitty choice of repairer is pretty important. the AAMI system causes REALLY shit repair work.
 
> The domain in the base URI must contain a dot ("."), e.g. "http://example.com", not just a bare name like "http://example/". Some web browsers will not set cookies on domains with no TLD.
 
I am with NRMA ... have been with them for years
 
@aclarke My dad is getting a car, he's thinking of getting a Mercedes.
He'll most likely be the only one using it, since him and my mother both go seperate directions when going to work.
 
user1646075
12:34 AM
@Nooble that should last 30 years. If he doesn't let Jnr. drive it.
 
@CatPlusPlus No browser do that anymore.
 
@aclarke Like he's gonna let me drive it, haha.
 
I wouldn't be surprised if mobile browsers were shit
 
user1646075
Here's a factory looking example of mine, but mine is in blue. liveimages.carsales.com.au/carsales/car/private/…
 
user1646075
also mine looks tired, unlike that one.
 
12:35 AM
Looks like a drifter.
 
Most are derivatives of desktop ones, so really no worries.
Good morning all BTW.
 
@aclarke Do you think you can just mod it rather than buying a new car altogether?
 
user1646075
@Nooble to drift them properly, you need savagely solid suspension, at least another 100hp, and a 2-way lockup diff. The factory diff is a 'helical' which is aimed at excellent road manners
 
Besides it's Phabricator's error message when you try to access it via localhost
 
user1646075
@Nooble it would need a lot of remedial work just to get it back to basic robustness.
 
12:37 AM
@aclarke Well, I'm sure it would be less than 100K AUD
 
user1646075
@Nooble hmmm probably. then again, a 5-seater family sedan would only be 30. Sigh.
 
@aclarke Sedans are no fun.
But they are practical.
 
user1646075
@Nooble tell me about it. However this is tempting: carsguide.com.au/car-reviews/…
 
user1646075
a bit agricultural, but compromise is sometimes needed
 
user1646075
12:43 AM
things like audi etc have ridiculous prices here. Also don't think I could stand putting kiddies into something that's really nice.
 
> Any: RTTI is not required any more (TypeIndex library is used for RTTI emulation)
Good.
 
Why do some things in the standard library have hash_code() but std::hash doesn't use it?
Would be cool if default std::hash<T> delegated over to hash_code() if possible
 
Ell
@mark huh. How is this possible
Any requires RTTI
Oh its their own RTTI
 
I just checked
it still uses RTTI
 
12:56 AM
I think they just mean it doesn't use typeid
@nightcracker I am aware.
I'm talking about std::hash not delegating to that automatically if provided
 
well to be fair I think the better question is why hash_code is used at all in type_index
overloading std::hash is a fine mechanic
 
not really
you have to do #include <functional> and then you have to go specialise namespace std.
 
@Rapptz But it falls back to TypeIndex for builds with RTTI disabled or unavailable.
 
wait
is RTTI just dynamic_cast and typeid?
 
In the view of the standard, I think so.
 
1:01 AM
I see.
 
And std::type_info.
 
I think I could do that with my any
doesn't seem difficult
I actually already have an idea how to do it
 
TypeIndex is just a runtime thread-safe counter, I guess.
 
I don't think it'd be a counter
that seems naive way of doing it no?
 
Yes. And if it's used in hash containers, the hash functions does its normal stuff in distributing those values.
 
Ell
1:07 AM
I don't understand how you can make your own typeid without the compilers help
Unless you do it manually for all types
 
@Ell It would be like, for each specialization of this function template, store a static value for the first invocation where that value is being incremented each time it is retrieved. Subsequent invocations of the specialized function would return the stored value.
 
Ell
But templates are compile time no?
And I need runtime type identification
 
Ell
@MarkGarcia right but that can't work with dynamic types
Try giving it a Parent& to ChildA and ChildB and it will give the same type index, will it not?
I mean I guess its still useful
But doesn't cover all use cases
 
1:17 AM
Well, mine's just the type_index side of things.
:)
 
Ell
Yeah
But it doesn't cover the dynamic type of stuff
 
Also that, yes.
 
Ell
Subtyping I guess is its proper name
 
@Ell Hm. I have an idea for that. Assuming destructors are virtual...
 
Ell
@MarkGarcia good luck without compiler help :P
 
1:21 AM
I don't need the compiler!
 
Ell
Im interested in what you'll come up with though
 
UB for sure.
 
Ell
What's your idea?
 
user1646075
use calloc for performance
 
Dissecting the vtable and vptrs and stuff.
 
Ell
1:23 AM
Maybe you could manually get the vtable pointer
Yeah
 
@aclarke And strlen.
 
Ell
There's no point if its UB
It counts as a failure :P
 
user1646075
@Ell Well since he's aiming for UB, clearly that's a success.
 
Speaking of UB, I haven't seen @ThePhD for a while now.
 
user1646075
you brute.
 
user1646075
1:26 AM
don't want to jinx the room, but there was an observer yesterday for about an hour
 
Mods be here. Mod with us. And mod became fully mod and fully user. A mod was born.
 
user1646075
Our moderator, who art in heritance, hallowed be call by name.
 
there are always observers sitting in the spec, it is a public chatroom. on another note: thick skin can get you through anything unless you die half way through
 
user1646075
yes, yes, just a random person with under 10 points. That's what I'm talking about, yes.
 
user1646075
Hail memcpy, mother of crash
 
Ell
1:35 AM
@aclarke I'd star this were I on desktop
Hallowed be call by name is genious
 
user1646075
shucks thanks /blushes
 
user1646075
We should write the entire thing, which as much syllabic conformance as possible. Because conformance is mandatory.
 
@Rapptz are you located in EU?
 
@MarkGarcia He's busy or somethin
 
No.
 
1:44 AM
ah I thought so for some reason
 
user1646075
@nightcracker where local means within approx 4 billion square km?
 
@aclarke cubic*
 
user1646075
@nightcracker what, they're piled that deep now?
 
@MarkGarcia Dont tell me he ragequit :(
 
@aclarke 4 billion square km makes no sense as the earth only has 500 square mil of surface
 
user1646075
1:46 AM
@Borgleader no, not a rage quit. He knew you wouldn't get it.
 
It's all because of @Xeo.
Oct 11 at 20:44, by ThePhD
Aww, Xeo isn't here.
Oct 11 at 20:44, by ThePhD
Guess I'll figure it out on my own.
@Borgleader He's like a lesser version of rightfold. Don't worry.
 
user1646075
this shows "Area Total 4,381,376 km2" en.wikipedia.org/wiki/European_Union
 
user1646075
@nightcracker wait, you're from Ohio, right?
 
@aclarke that's 4 million ;)
 
user1646075
ohhhhhh, yesssssss.......... ok.
 
1:48 AM
lol
@aclarke I'm from Leiden
or well, I live in Leiden
 
user1646075
@nightcracker Is that where all the jars are made?
 
@aclarke if you need to store electricity, yes
Leiden (Dutch pronunciation: [ˈlɛi̯.də(n)] ( ); in English and archaic Dutch also Leyden) is a city and municipality in the Dutch province of South Holland. The municipality of Leiden has a population of 122,000, but the city forms one densely connected agglomeration with its suburbs Oegstgeest, Leiderdorp, Voorschoten and Zoeterwoude with around 190,000 inhabitants. Leiden is located on the Old Rhine, at a distance of some 20 kilometres (12 miles) from The Hague to its south and some 40 kilometres (25 miles) from Amsterdam to its north. The recreational area of the Kaag Lakes (Kagerplassen) lies...
 
user1646075
looks gorgeous. Needs some kangaroo carcasses on the side of the cobblestone
 
user1646075
" some 40 kilometres from Amsterdam to its north" So you'd get a lot of passive smoking then.
 
?
there's a coffeeshop 5 minutes walking distance from my house
 
user1646075
1:51 AM
Amsterdam cafe's
 
user1646075
oooo
 
user1646075
and apparently furriners aren't allowed in any more
 
user1646075
no fair
 
but honestly
weed is no big deal here
I don't even smoke weed
 
Ell
How about truffles?
Do you ever partake?
 
1:52 AM
as soon as you legalize it the kids will switch to something else to sniff/smoke/drink
 
user1646075
yeah, it's the old story I'm sure.
 
user1646075
people do plan trips from here.
 
user1646075
Right, kitty?
 
user1646075
I've smoked fish before.
 
Ell
@nightcracker I think its because most people are looking for social recreation
Drink and weed provide that
 
1:54 AM
@Ell nope
 
@Ell The assistance the compiler provides is as if (intrusively) adding virtual my_own_type_info const& type_id() const; to the polymorphic classes.
 
user1646075
@Ell drink is the worst, socially. I wonder why the old, new + koran don't have anything to say about dope. Or tobacco...
 
Ell
@nightcracker I don't think people would use heroin in the way they use drink and tobacco and weed if all else became legal
 
@Ell well no shit
 
user1646075
@Ell no, unlikely, however the sobering thought about that is, if you had access to reliable and clean opiates of consistent strength, apparently you could function adequately for many years. Or so I've heard.
 
user1646075
1:57 AM
self-control would probably play an essential part.
 
Ell
But I don't think heroin can be used in a social recreational way
Whereas the previously mentioned drugs can be, which is why they are popular
 
user1646075
no, sitting on a couch dribbling on yourself is not very social
 
Ell
For the masses at least
Party drugs are somewhat popular also. I'm not sure about those
I don't think they appeal to the masses either but I'm not sure
 
user1646075
See also opium dens. Sherlock Holmes was a user though, and look what he achieved.
 
did you guys know btw
that we dutch
said fuck you to the sea and made a road through it? goo.gl/maps/IPY6U
 

« first day (1480 days earlier)      last day (3470 days later) »