« first day (1524 days earlier)      last day (3416 days later) » 

12:00 AM
Anyway what game should I play
 
user1646075
There. Better?
 
I've been feeling oddly demotivated to almost everything
lol thanks
 
user1646075
santa will bring you new games in a week
 
@Rapptz hang on hang on i'm getting to it
 
user1646075
@LightnessRacesinOrbit .... just .... one more ..... wave .................
 
12:01 AM
@LightnessRacesinOrbit I think it was earlier.
I remember you had a screenshot of you being top user for the year.
And you were Lightness there, not Tomalak. This was around 2012.
 
Alright, so my SAS/SATA controller and cables arrived today. Can't wait to get home to setup my first system with 16 internal hard drives. (17 if you include the boot drive)
 
good or bad parenting?
@Mysticial you monster
 
user1646075
@Rapptz Jeez, 1st day of holiday and Mr 10 is bored enough to fire up his ratchet and clank crack in time after a year off. This holidays will be hell.
 
@Borgleader As on Parenting.
 
Ell
Good :P
 
user1646075
@Mysticial that's just greedy
 
Yup.
 
@GuruAdrian Why greedy?
 
3rd Jan 2012
 
user1646075
12:04 AM
@Borgleader great parenting. I'd be adding 'welcome to the world, princess'
 
:)
 
@Borgleader fuel for the kids to hate their parents
 
user1646075
@Mysticial 16 drives? there are people in the world struggling to afford 1 - an old 90Gb.
 
user1646075
check your privilege
 
12:05 AM
yep, you're right, it was actually that very day
 
it ain't lookin' like much
but stuff like that comes back to you
even when you're old
 
user1646075
@AlexM. that goes without saying.
 
@GuruAdrian no spartan ops for me!
@Rapptz p good memory btw
 
Ell
When is the unconferenceee
 
that's kinda freaky actually
@Ell Dude it was last week...
 
user1646075
12:06 AM
see, i know that's a setup because a 4 year old couldn't say the word "tournament"
 
@GuruAdrian lol, I bought this stuff with my own money. I can do whatever I want with it. :D
 
Ell
Wtf man
I quit.
3
 
@Ell Didn't... didn't anybody tell you?
 
Ell
Nice knowing you
 
@LightnessRacesinOrbit what
was the thing about Berlin that people talked about the unconference?
 
12:07 AM
@AlexM. oh boy
 
user1646075
@Ell ??
 
@AlexM. let's say yes
 
@Ell You sound like jalf. "Quit" without really "quitting".
 
we were all there man
 
@Mysticial shhhhhhhhhhhhhhhhhhhhhhhhhhhhhh
don't bring that up
 
12:07 AM
@Mysticial not enough hypocrisy, patronising, making things up, etc
lol
right, time to read this edit. it's like a completely different answer man...
 
Ell
@Mysticial hey, I've only ever quit for practical reasons :P
 
user1646075
c'mon, do I have to defend him now? don't make me do it. You wouldn't like me when I'm .... whatever. Something that might make me change colour. Not green, but maybe beige, or polka dots, or something
 
Beer and movies
 
see, Cat's got the right idea
I'll get a beer myself
 
user1646075
@Ell by handing in notice. And we said No. But you persisted. /Accolades
 
Ell
12:09 AM
Surely you're beige already, if you live down under?
 
user1646075
scorched umber most of the time
 
Ell
@GuruAdrian my notice is already handed in! I'm leaving after new years to study for a few months
 
Accolades to set of all people x set of me
 
user1646075
@Ell groovy. no need to further employment during term?
 
Ell
But I'm sure you'll organise the in conference before my exams are over :(
 
12:10 AM
Get drunk nerds
 
Ell
@GuruAdrian not sure. I'm waiting until after christmas anyway
 
user1646075
@CatPlusPlus before noon? Don't tempt me
 
Slam drunk
 
Ell
@CatPlusPlus I'm getting royally pissed on Friday
 
So what
 
Ell
12:11 AM
But I'm driving tomorrow so no can do tonight
 
two days until holiday
gotta celebrate
cheers
 
user1646075
@Ell and me when the doctor says i'm clear. In fact, I'll be taking a hip flask full of O/P rum into the consult on monday
 
Ell
@GuruAdrian cheers to you if I don't pop in and say hi!
 
user1646075
@Ell you'll find me at the pub, topping up
 
@Rapptz Dunno - can't tell whether it really looks like the answer the OP accepted and therefore may be a little unethical to totally transform it like that. Dedownvoted anyway
 
12:14 AM
I wanted to delete it.
But alas, I cannot.
 
Ell
I have a function returning the "distance" between two objects - the number of transformations required to get from one to the other
Sometimes they can't be transformed
 
Fascinating.
The answer is inf.
No, wait, integers. Okay, -1. Or throw. Your only [good] options.
 
-1 if signed
is what I'd use
I'd certainly not throw
I'd use something like that like...
int transformationCount = thatFunction();
if (transformationCount != -1) { do some magic; }
 
Ell
What should the return type be? I was thinking int with a special case for -1
Or should it be optional<into> ?
 
isn't optional a bit overkill for this?
maybe if you had something like
optional<TransformationSequence>
or something
 
12:21 AM
If your -1 is not a valid value (or not a meaningful value), then optional is what you are looking for.
 
to say that there may or may not be a sequence of transformations to get from A to B
 
i'm not a huge fan of optional because of the extra mess needed to access even the valid states
 
^
 
Ell
@LightnessRacesinOrbit how did you know my question before I asked :o
 
@Ell I'm a genius
 
12:23 AM
neato
 
just define a constant for it, somehow
 
pugixml v1.5 is out
lots of performance improvements
(for anyone who cares about XML file parsing)
 
I'm just an XML girl in a JSON world baby
 
Still prefer JSON :v
But PugiXML's API is a pleasure to work with.
 
yeah I hate XML it's the devil's work
JSON 4eva tbh
 
Ell
12:27 AM
I like yaml
 
I like JSON the most but due to my lack of serious experience in both JSON and XML, I like it just because it's less verbose
:A
 
no decent parsers in C++
 
yeah
last I checked there was only really one
 
that's kinda hard to dispute
 
Ell
12:27 AM
Yaml CPP iirc
 
the json parser we use at work scares me
 
JsonCpp is great
 
parsing json is easy
 
I threw some broken json at it in an unit test of mine and noticed that... it parsed as much of it as possible
 
so easy even I can do it
 
12:28 AM
without complaining
I think it's... JsonCpp?
 
was it ambiguously "broken"?
i.e. not what you wanted but still valid?
 
no I mean it was missing closing }s
 
JsonCpp doesn't parse broken JSON
but it does eat it up incrementally (no it doesn't)
 
it was definitely invalid
 
I've used JsonCpp at work for years and never seen that
testcase plz!
 
12:29 AM
yeah it's jsoncpp and we're planning a switch to rapidjson
 
pfft
you're idiots
 
I'll pass you the json tomorrow if I get the chance
 
please do
i'm curious now
 
@LightnessRacesinOrbit it's possible that the thing was modified internally by some team
I can't guarantee that it isn't modified
 
if i'm going to start contributing to open source it's going to be the projects I use at work. already did a bit with CxxTest on github
 
12:30 AM
since it's from a local svn repo
 
that's ok I can reproduce or not pretty quickly
 
aight, just mentioned since my version might have been intentionally made more ahem permissive to issues
 
yep
if I can't reproduce we'll just blame that
 
does it normally throw on invalid stuff?
because people here disable exceptions in their games so that might have been one reason
 
user1646075
are there options for more tolerant parsing with recovery, maybe so you can see more than one error at a time? things that give me only one error and halt tend to shit me - it drags out the fix/test/fix/test cycle to interminable length
 
12:33 AM
I'm surprised to hear jsoncpp is good, but then again I haven't bothered to check the general opinion on it
all I know is that a change to rapidjson is needed because the lead guy says "jsoncpp is crap"
 
@AlexM. no
@AlexM. the lead guy is crap
JsonCpp is awesome
it used to assert if you type mismatched at runtime which was a bit shit but AIUI that was changes a few years ago (but we're stuck on an older version; still it hasn't hurt us at all)
 
Some kind of "constexpr assert" would be nice.
 
like static_assert?
 
why do they censor swearing in kitchen nightmares but don't in hell's kitchen
 
Ell
I think he means asserting something is constexpr
 
12:38 AM
is kitchen nightmares some sort of kids' show
 
@LightnessRacesinOrbit Yeah, but only if the input is known at compile-time, otherwise fall back to runtime assert.
 
Ell
Oh I see.
 
@AlexM. If you censored Gordon Ramsay the show would have no sound
 
well he and everyone else is censored in kitchen nightmares at least on youtube lol
the beeps are annoying
 
Ell
Hmm. I need a value function which flags an expression as supposing to be a value for my open multi methods dispatcher
 
12:40 AM
@Ell lol
 
Ell
Don't lol at me
I'm a seasoned c++ expert ill have you know
 
the most interesting thing about kitchen nightmares is that these places and things are like real
 
You seasoned my C++ then when I ate it I was ill
 
you can go on and read about them and customer reviews and stuff
 
@Ell What spice did they season you with?
 
12:41 AM
@Ell you forgot "to leverage my synergies"
 
Ell
I can feel my synergies aligning. I am the most seasoned to be sure
@Borgleader performance, c compatibility
The usual
 
user1646075
@AlexM. he's in full glorious surround-sound obscenity on all the tv shows I've seen.
 
user1646075
damn i'm hungry but i'm too lazy to get up off the couch for late breakfast. Especially since all the bacon is gone.
 
Ell
Bacon is over8'ed
 
user1646075
i'm just watching Jnr rack up the points in a battle arena in ratchet and clank
 
user1646075
12:45 AM
it was over-8'd that's why i ran out
 
user1646075
i should set a good example with the kiddies and have weetbix i guess
 
user1646075
fibre. boring!
 
@Ell i over 8 bacon
 
12:57 AM
must.. sleep..
 
Ell
Meh
Implicit conversions can't possibly work in a reasonable way for this.
I think I might be overcomplicating things
I need to know overload resolution rules better wrt values
 
@Ell it really is
tbh I find bacon to be disgusting, like any meat with that white greasy thing still on
 
Ell
Fat? :P
 
fat yeah
if I find fat in my meat I cut around it and leave it on the plate
needless to say I don't order much pork or beef at restaurants
unless they're made at home so that either I or my family can remove the fat, it's a waste of food to give it to me
I can't eat things that look like this because of it
it's not worth the effort to cut around that fat lol
 
1:05 AM
and there's this otherwise decent sandwich on offer in our vending machine at the office
 
@AlexM. that's so rude. suck it up.
 
the cheese in it is amazing but damn
 
I don't understand anyone who fastidiously cuts off the tiny slithers of fat and leaves it on their plate. Silly people.
 
they didn't bother removing the outside layers of fat from the ham which made it inedible :(
 
And how do you eat lamb chops? The fat's the best part!!
@AlexM. you're a ninny that's perfectly "edible"
good for you, even
 
1:06 AM
Hello from Windows 10 TP :D :D
 
no it's not, it's disgusting
it has a way different feel from the meat, like an opposite pole
it's greasy and sort of elastic or worse, way too squishy
ew
it's the same feeling you get from... eating a stew with huge chunks of tomatoes in it
 
user1646075
@AlexM. fat can be soft and tender. Also it's less fattening that all the flour-based shit we drown in these days. I guarantee, if you look at the diet of obese people, you'll see a pile of bread, pasta, pastries etc along with the veges and (also probably excessive) meats
 
like you eat those potato things but then you notice a tomato peel is getting stuck in your mouth
it's even worse if it moves around
 
user1646075
@AlexM. oh, that's probably a roach or something. no biggie
 
@GuruAdrian I'm not about how bad or good it is for the health, it's just that it feels bad in my mouth
4
inb4 taken out of context
 
user1646075
1:09 AM
i must confess, i was totally like this as a kid. can't remember when I opened up to the full glory of whole-meat
 
I used to hate onions as a kid but now I eat them raw when I cook food
 
user1646075
in fact I was the worst amongst my 3 siblings. Solidarity, bro.
 
fuck knows if I'll ever open to the glory of whole-meat
probably not
 
user1646075
@AlexM. don't give up hope, i changed
 
user1646075
@AlexM. oh gawd, the list of stuff I wouldn't eat. I don't want to think about it. There's sod-all I can't eat now. One is capsicum and that's only because it gives me horrible reflux.
 
1:12 AM
15
Q: What "Extravagant culture" could be used as an antonym to "Spartan"?

Robbie"Spartan" is an adjective derived from Sparta, an ancient Greek city-state famous for its austerity. The adjective is used today to mean basic and minimal. I'm looking for an antonym, i.e. a culture that implies ornate luxury. The antonyms I'm finding are words like "opulent" or "embellished", wh...

^ interesting
 
user1646075
errrrm
 
user1646075
caligula springs to mind but that's not become a 'word'
 
this reminds me
I need to play Rome 2 TW
 
user1646075
Hollywood?
 
just read the accepted answer
the whole page is interesting
 
user1646075
1:14 AM
can't i try first before checking? this is a test innit?
 
Well this one's going to be controversial. — Joshua 2 hours ago
lol
@GuruAdrian ok. and no.
brb
i'll check your answers upon my return
 
user1646075
oooh lots of good words. Must use in daily sentences /cc @sehe
 
Hey
 
user1646075
morning. midnight?
 
1:20 AM
Just woke up.
 
user1646075
eeek. fell asleep after hard labour moving office?
 
user1646075
berlin = 2am my kde clock says.
 
Something of the sort, yeah.
 
Ell
1:34 AM
I should sleep now probably
But meh I'm thinking about ambiguous overloads
Is calling foo(Bar&) with a non const lvalue ref ambiguous if foo(const Bar&) also exists?
 
@Ell no
foo(Bar&) will be a better match
 
Ell
Right
Cool
What is 1 in foo(1)?
What value type
 
Ell
I mean like rvalue ref or prvalue or whatnot
 
pure-rvalue
 
@Ell you mean "value category"
 
WTF is going on on the starboard.
 
Ell
Value category yes thank you :)
 
stateful allocators really are a game-changer.
 
user1646075
1:44 AM
@R.MartinhoFernandes it looks almost back to normal. Although the top 4 don't look brilliant
 
user1646075
apart from alex's mouth feel
 
Ell
Have an upboat
 
user1646075
then again...
 
I'm surprised how few allocations there are with std::deque. Only 3 allocations after 150 push_backs.
 
Ell
So a call to bar(1) where there is bar(int&) and bar(int &&) isn't ambiguous either?
 
1:46 AM
@Ell definitely not. bar(int&) is not a valid match.
 
@Ell FWIW, a literal like 1 is pretty much always/unavoidably a prvalue. For something like x, the category depends on where/how it's being used, but there's pretty much no way to turn 1 into anything but a prvalue (though it can be used to do things like initialize something that's not a prvalue, of course).
 
Ell
Oh yes of couse. Literals aren't lvalues
@JerryCoffin right this makes sense
 
So, can you guess what the value category is of *new int(1)? :P
 
Ell
Errrr
Lvalue? :P
I need that table, I forgot what they're all called
 
Yep :)
 
user1646075
1:48 AM
phew - i was thinkin' lvalue too. I'm less out of touch than I feared
 
Ell
Now for some more complicated ones
 
rvalue is like an object with no domicile.
 
Ell
std::move(std::make_unique<int>())
I reckon this is an xvalue :P
 
@Ell That's bad code.
 
Ell
Oh right
 
1:52 AM
xvalue refers to returned local variable
 
@Ell An xvalue is an expiring value. It's usually something like the xxx in return xxx; (or similar).
 
Ell
> A function call or overloaded operator expression if the function's or the overloaded operator's return type is an rvalue reference to object type, such as std::move(val)
(From cppreference)
(Amongst others)
 
@StackedCrooked I'd have to check to be sure, but I think a local could also be an xvalue if you threw it instead of returning it.
 
@StackedCrooked Not necessarily.
 
1:59 AM
Yeah, I don't know the precise definition, but I know I was being sloppy.
 
Reverse engineer life too hard
 
@Rapptz Do you mean "the life of a reverse engineer is too hard" or "reverse engineering life is too hard"?
Or are you being deliberately ambiguous?
 
former in this case
 
@Rapptz I tend to agree--I spent way too long doing reverse engineering.
 
you need a rosetta stone
 
2:06 AM
Yeah same here.
I think it's fun at times but other times it's just annoying.
I was trying to reverse engineer these amiibos yesterday but the encryption is pretty weird.
Everytime you'd scan the NFC chip, despite nothing changing (except, well, time) you'd have completely different values in the different pages of the NFC chip.
 
Ell
I never reverse engineer anything
Its too hard!
1650 three times now
Why do I keep dying 150 short of the required 1800!
I'm gonna sleep instead
 
@Ell G'night.
 
@sehe Boost spirit question for you ;)
0
Q: Access violation in boost::spirit::lex

BorgleaderI've reduced my code to the absolute minimum needed to reproduce the error (sadly that is still 60 lines, not quite Minimal, but its VCE at least). I'm using Boost 1.56 in Visual Studio 2013 (Platform Toolset v120). The code below gives me an Access Violation unless I uncomment the marked lines...

inb4 closed as "Why isn't this code working"
 
@Borgleader Oh so tempting to downvote just to be an ass. Fortunately for you, I'm well aware that I'm an ass, with or without downvoting, so I guess you get by this time.
 
2:30 AM
Oh look. This place is going to the birds.
 
2:43 AM
I see dead pixels.
 
@karlphillip Time for a new monitor (or just a new movie reference)?
 
@JerryCoffin I see dead people (The sixth sense)
 
@JerryCoffin Time to see an eye doctor, most probably.
What about those secrets hats, hmm,
 
I see dead code.
better clean that up
 
Does anybody has any cool secret hats besides Chameleon and Fascinating?
 
2:48 AM
lol that movie The Interview has been dropped by Sony.
Been a while since I've seen a movie dropped 8 days before release + with trailers playing on TV/online.
I find the idea of North Korea supposedly hacking Sony really funny.
 
Seriously?
 
A bit too funny actually.
 
They produced, edited and then .. didnt release it?
 
Yup.
Due to bomb threats.
 
@Rapptz Oh is that the movie with hmmm whats his face... the guy from green hornet that got Kim Jong Un pissed?
 
user1646075
2:52 AM
@Rapptz gawd. the terrists have won
 
@GuruAdrian No kidding.
 
8 people spammed answers in less than a minute. WOW — Bot 4 hours ago
 
@GuruAdrian Lol yeah.
I wasn't even interested in the movie but this is just sad.
 
@R.MartinhoFernandes Terrible gas station beer and terrible westerns
Welcome to Wednesdaaaaaaaaaaaaaaaaaay
Get drunk nerds
 
user1646075
doesn't it directly take the piss on NK and the great leader? can't remember. I suppooose that's what the internet is for.
 
user1646075
2:54 AM
"Dave Skylark and producer Aaron Rapoport run the celebrity tabloid show "Skylark Tonight." When they land an interview with a surprise fan, North Korean dictator Kim Jong-un, they are recruited by the CIA to turn their trip to Pyongyang into an assassination mission."
 
@Mysticial That's a bad question =/
 
Indeed it is.
 
Welp I'm at 79 rep for today. Purrrty good.
 
user1646075
awwww, isn't someone going to explain that a reference to a lump doesn't mean you can't edit the contents of the lump? and then point out that it can be faster?
 

« first day (1524 days earlier)      last day (3416 days later) »