« first day (1405 days earlier)      last day (3529 days later) » 

1:00 PM
It seems to be still working, but can't say I want to use the reader now.
 
@Ell What the fuck.
 
@thecoshman I've upped my standards. Now up yours!
 
@JerryCoffin it's not a competition
 
Why are you surprised IE is broken
 
@thecoshman No, just an excuse to say: "up yours"... :-)
 
1:05 PM
@JerryCoffin You need to use a comma now, up yours!
 
Ell
Okay I'm a common tissue type for bone marrow transplant. Hmm.
 
@thecoshman No I don't...or "No, I don't", if that makes you happier.
 
@JerryCoffin yes, you do and yes, it does.
@Ell o_0 you what?
 
Ell
@thecoshman I'm possibly going to donate bone marrow :P
 
@thecoshman No, I really don't. And you don't want to argue these rules with me--I'm the one who invented them (that's why they're utterly capricious and insane).
 
Ell
1:13 PM
@thecoshman Why does he need a comma?
 
@Ell Because "Jerry says".
 
@Ell Grammar
@Ell AFAIK that is painful to say the least. Is it for someone in particular, or just a general donation?
@JerryCoffin So sorry, I wasn't really in the habit of caring what you personally wanted.
@R.MartinhoFernandes dat grrafic iz so smart
 
Ell
@thecoshman general donation
and I've been looking at the procedure and they put you under general anaesthetic
 
@Ell kudos to you
@Ell it's not the operation it self that hurts, but healing after wards
 
user3010322
1:26 PM
@R.MartinhoFernandes I don't quite get it. They serialized which words and sent it over how?
 
Ell
@thecoshman well, they take less than 1% of your bone marrow and replenish your blood supply with blood you stored earlier
 
user3010322
Just hola and ciao? THey didn't even tell me if the other person actually "heard" the word in their head.
 
Ell
and there is only bruising on the puncture marks where the needles went in
 
user3010322
They just say it turned up as flashes of light on the corner of the recipient's vision.
 
user3010322
Unless they're dropping morse code in my visor, that's not anything even close to telepathy or brain to brain communication.
 
user3010322
1:27 PM
THat's just words to flashing lights.
 
@Ell well, I hope for your sake I'm wrong
 
Ell
@thecoshman Me too :p
 
Xeo
@ThePhD WTFL-interface - I like it
 
64bit Chrome on Windows 7!
 
user3010322
@Xeo It would have been cooler if it was turned into morse code. :(
 
@ThePhD They serialised feet movement as zeros and hand movement as ones.
 
That base64 is undecodable btw
 
@ThePhD It's binary.
 
I have no idea why this shit even exists
Get fucked Drupal
 
1:37 PM
poor drupal
drupals have feelings too
 
user3010322
@R.MartinhoFernandes Oh, now I see it in the diagram. hands = 1, feet = 0.
 
> But, for the moment, just emailing your boss with regular words is still probably easier than flailing your hands and feet to encode your feeble excuse for not coming in today and sending it into their brain—how do you spell “hangover” in binary, anyway?
 
@CatPlusPlus I've never quite understood how "get fucked" ended up as a negative. How does "I hate you. Go have fun." make any sense at all?
 
user3010322
@R.MartinhoFernandes Doing the Flailing Fish to communicate.
 
I want to go back to high school
 
1:40 PM
freak
 
you're crazy
 
user3010322
High school was terrible. Why go back there? D:
 
Ell
High school was great
 
turn off your autocorrect
it sometimes replaces "shit" with "great"
 
@CatPlusPlus s/high school/being high/.
 
1:42 PM
really high school was the worst kind of school
 
Maybe yours
 
in a class of 30 people there was really one guy with the same interests as me
vs 35903535 in college
I was essentially surrounded by football fans
whose greatest achievements were to get drunk all the time
 
that was my experience of university
 
Literally the best time, no responsibilities, great people, no real effort needed
And I didn't drink, maybe I should go back to that
 
@CatPlusPlus Seems like you'd get pretty dehydrated that way.
I'd advise at least a liter of water per day.
 
1:46 PM
@JerryCoffin Water?
 
@MartinJames Yes, water (though of course, that might be mixed with something like 13% alcohol, plus some tannins and such).
 
3
Q: Void ** a generic pointer?

Adarshvoid * is a generic pointer, but what about void **? Is void ** also a generic pointer? Can we typecast void ** to int **, char ** and so on. I would be thankful to stack overflow family for any information on this.

 
Xeo
@AlexM. Meh, no school was really fun for me. Fuck school.
 
well college isn't fun for me either, but at least I'm not surrounded by utterly detestable people all the time when I go there :(
 
2:06 PM
does xcode automatically build 1 project per core
it seems to build two projects at the same time on a core 2 duo
 
Ell
I think university will be a great way to meet like-minded people
esp. with societies n stuff
 
lol
 
lol societies
 
ok, you might meet some like-minded people if you want to do nothing but get wasted every night.
 
Ell
my two elder brothers had success in meeting intelligent people that don't just get wasted every night :p
 
2:07 PM
being surrounded by like-minded people is a good idea because they're not that annoying
actively going to meet and be friends with them or something is
uh... a waste of time imo
unless you want to recruit people for whatever purpose you have in mind
or you want to be recruited for someone else's purpose
 
Hey guys, is this question really so great?
13
Q: Which array/list should I use?

ViatorusI am looking for a list type which implement the following feature (pseudocode): list.init(5, 2, 6, 9); list.add(1) // 2, 6, 9, 1 list.add(4) // 6, 9, 1, 4 list.add(8) // 9, 1, 4, 8 Add new element to fixed size list and pop the oldest one. I am sorry, I don´t know the name of this concept...

 
@ShadowWizard what do you mean by "so great"?
it's just a valid question
 
it seems perfectly functional.
 
@Abyx so great to deserve 13 upvotes and be featured as hot network question
Not saying it's wrong, just something feels off
 
@ShadowWizard are you envy or what?
 
2:13 PM
more drupal shit to do
killme
 
@Abyx lol no, it's just that most questions don't get a single upvote and out of the blue there is this one. Guess nothing is wrong, cya guys!
 
@ShadowWizard It's a mediocre question--but even mediocrity shines like a diamond compared to most of what's on SO any more.
 
2:30 PM
Next is C++1z?
 
@JerryCoffin yeah, too true.
 
@ShadowWizard Terrible title.
 
@ShadowWizard Bandwagon effect.
Votes attract votes of the same type.
 
@jweyrich Next is C++17.
 
@JerryCoffin right. I meant the flag to enable C++17 features. Nevermind, I just found the relevant Clang changeset.
 
2:42 PM
@AlexM. It also keeps you safe inside your protective bubble. I mean that effect known as circlejerk in some places.
 
@R.MartinhoFernandes Getting out of your comfort zone is so overrated.
 
Ell
this is so clever and funny youtube.com/watch?v=CUvFeyGxaaU
and kind of not funny at the same time
 
And by 40 they're practically extinct? Interesting. These teenagers!
 
@Jefffrey 25.
 
2:55 PM
25 is considered teenage?
 
Oooh, 99k.
Also, ugh, sweaty palms are back :s
 
why do you have sweaty palms? :(
 
Dunno.
A few years back I had that all the time.
Then it went away somehow.
Today it's back.
I'm not particularly nervous or excited. There's nothing important happening in the near future.
 
you never know .. your bus driver could fall asleep while driving, just saying ...
 
Ell
I always have sweaty palms
it sucks
 
3:11 PM
> Q: Choose your preferred fictional vacation spot: Narnia or Middle-earth (or some other fictional realm)…
A: Canada. OH COME ON NO ONE BELIEVES IT EXISTS. They just deploy people from Minnesota to fool us.
 
@R.MartinhoFernandes Sorry, but I've vacationed in Canada. It's really quite different from Minnesota. In Minnesota, the mosquitoes are bigger.
 
> Q: What is your preferred robot noise? A) Beep, B) Boop.
A: The lack of acknowledgement of “ping” as a valid robot noise SICKENS ME.
3
 
I would assume there are many types of mosquitoes in Minnesota.
 
@chmod711telkitty Many mosquitoes, but all the same type: the type that can swoop down and kidnap a baby (or small adult).
 
3:15 PM
Also I would love to visit the rocky some days ...
@JerryCoffin meaty, I like it!
 
> Q: Bad news: You’re about to be marooned alone on a desert island—name the five things you would bring along.
A: Nothing, because the desert island I’d choose to be marooned on is Australia. THAT’S RIGHT AUSTRALIANS YOUR ISLAND IS MINE GET OUT. Finally all the Tim Tams will be mine.
He has an interesting view of the world.
 
Australian was an island for convicts, but there were too many convicts so they chose a big island ... probably that's what happened
But then so is the U.S., but then again the U.S. doesn't look an island on the map
I searched for "roasted unicorn" but I got this instead:
Now I feel cheated ...
 
I've had some of my dwarves eat roasted unicorn once.
 
3:35 PM
unicorns must taste really nice - they are like donkeys ... with wings ...
 
You know what? I kinda don't dislike recursive lambdas anymore.
It's all ASIO's fault.
 
I need to take a break and do something fun
Fuckin Drupal
 
What do you guys use to clean a windows PC? CCleaner?
 
Microfibre cloth
 
Ell
3:50 PM
Damn there's something wrong with my tablet screen
 
@Jefffrey format
 
@R.MartinhoFernandes Do tell.
 
@LucDanton Loops.
 
Your ninja hacker is off 2 bed, Zzz
 
I.e., I don't actually have explicit recursive calls, but I need to pass "this lambda" to functions.
 
3:53 PM
Connecting a -> Async a to itself?
 
It's a -> Async b, but I need to call (a -> Async b) -> Async b.
I have reached the conclusion that I don't like any of the options ASIO gives you for dealing with the asynchronicity.
 
@R.MartinhoFernandes You ever did?
 
Entitiled moron:
http://stackoverflow.com/questions/25430092/c-winapi-readfile-writefile-exe
 
Ah, Async is the wrong level I think. This is when you’re avoiding writing a class type (or a new handler) no?
 
it seems to me like "Being recursive" and "Being a lambda" are two totally orthogonal things.
 
3:57 PM
The relevant feature of class-scope being this.
 
room topic changed to Lounge<C++>: I am getting the error [c++] [c++11] [c++1y] [c++-faq]
 
@CatPlusPlus That's good - I also use generic foam cleanser on the case and display screen.
 
Xeo
room topic changed to Lounge<C++>: I am getting the error [c++] [c++11] [c++14] [c++-faq]
 
I sort of have a mental note of not ever, ever writing Asio code without writing classes. Not that I’ve tried though.
 
3:58 PM
The fans are an annoyance, but I have a small paintbrush and vacuum cleaner, (but it does make the fans overspeed, if not careful).
 
f(this->buffer); port.async_read_some(this->buffer, *this); or something to that effect.
Duh, that was dumb before the edit.
 
Xeo
 
The this in this->buffer is dealt with with captures, but not the one in *this.
 
Somewhere around 2094
 
Can't capture yourself by value (duh!) and capturing yourself by reference is a recipe for trouble.
 
4:01 PM
^makes a copy, I’ve waited long for move-only support so you can have a cheap std::move(*this) with no lifetime issue. I haven’t watched the releases since then, is that supported now?
 
Xeo
Didn't ASIO explicitly not want to allow move-only or something?
because of lifetime and stuff?
 
iow you stuff an object into the io_manager, which when called passes its value along to the next async call.
 
Xeo
ISTR something in that direction
 
If I'm writing classes, I'm going back to coroutines instead.
 
I don’t understand what copies buy you. I can’t imagine repeating an invocation being a feature.
 
Xeo
4:02 PM
OTOH, I also seem to remember about move-only handlers being supported.
 
@Xeo in ASIO you can't have moveable-only handlers IIRC
 
@Xeo I know moves without support for move-only was enabled early on.
 
@Xeo uhm.. really? they do support move, but they have to be copyable
 
@R.MartinhoFernandes Nothing wrong with that.
 
Coroutines bring their own annoyances, though, but at least I'll keep some similarity with existing code.
// timer needs to survive reentry
 
Xeo
4:03 PM
@R.MartinhoFernandes One has to wonder: Is there any pretty way to handle async stuff?
 
asio + boost.coroutine looks great, but stackful coroutines eat stack so you can't have a lot of them.
 
@R.MartinhoFernandes Speaking from experience? What kind of timer doesn’t survive where?
 
@Xeo Any do-notation style thing. (C#'s async/await or some old hacks with yield return come to mind)
@LucDanton Oh, replace timer with x. It's just the name of one variable.
 
Xeo
@R.MartinhoFernandes Asio supports futures though, no?
 
4:06 PM
You need language support
 
@CatPlusPlus not for stackful coroutines
 
i.e. easy composition, you assemble the bits by hand in C++-land in general
 
Xeo
('cept that futures don't really support chaining properly atm, I guess)
 
@Abyx Eh?
 
Ell
coroutines are kewl
 
4:08 PM
It comes to having async/await-kind of thing, and that needs to be in the language
 
@Xeo Don't remember what we found annoying about them. Or more than annoying. My boss probably remembers, but he's not around today.
 
@CatPlusPlus looks how asio does it
lemme find an example...
 
I don't care how Asio does it, that's not the point
 
@Abyx With enough awkward you can do anything in C++.
 
pewpew
 
4:09 PM
Cat's point is that to do it without the awkward you need language support.
 
github.com/ascheglov/websocket-cpp/blob/master/details/… - it's even cleaner than C#'s async/await
 
In my case I like Asio with classes precisely because I can sort of squint and not see the class and separate handlers, but the one flow I care about. The scaffolding is still there though.
 
@Xeo But I do remember that we decided futures were off the table.
 
@R.MartinhoFernandes That’s… worrying. Or is there a particular category of things that normally don’t survive in coroutines I don’t know about?
 
so there isn't any difference between await async_fn() and async_fn(yield)
 
4:13 PM
Oh yes, there is.
 
what is it?
 
@Abyx No it's not
Where does the control flow go?
 
@CatPlusPlus see my next message.
 
Yeah no where does the control flow go
 
@CatPlusPlus Nowhere. It hacks the stack.
 
4:15 PM
@CatPlusPlus async_fn switch context until it can resume...
 
Nice and clear
 
That's stackful coroutines, fibers in Windows.
 
You can't call shit without obtaining a yield context first, though.
 
Also how do you return a future value
 
@Abyx The await in await async_fn() is optional, for example.
@CatPlusPlus Take a yield context parameter and return it normally.
 
4:19 PM
@R.MartinhoFernandes ok, but is it important?
 
Yes, it is. A minimal encounter with async_fn doesn't lead you to adding all the infrastructure you have there, namely the call to spawn and the io_service.
Because:
github.com/ascheglov/websocket-cpp/blob/master/details/… - it's not really cleaner than C#'s async/await.
 
@R.MartinhoFernandes in C# you also need something to spawn and schedule tasks
 
@Abyx Not really, the thing with async_fn deals with it fine.
You can just call that straight up and work on it.
The fact that you can await it has no impact in the interface, nor even client code that doesn't use it.
(Note how there's not even a mention of await in the docs)
 
well yeah I don't really know much about C#.
but I'd really like to see a console echo server with async/await. like this one - boost.org/doc/libs/1_56_0/doc/html/boost_asio/example/cpp11/…
 
// You can also do stuff like this easily:
var futureClient = listener.AcceptTcpClientAsync();
DoSomethingElseBeforeYieldingButWhileTheAcceptIsUnderway();
var client = await futureClient;
 
4:35 PM
looks like some client = futureClient(yield) to me. i.e. you can do the same with a C++ library.
 
What do you mean by "a C++ library"? Asio?
@Abyx What does var futureClient = listener.AcceptTcpClientAsync(); look like in that code?
 
@R.MartinhoFernandes not Asio but it's doable.
 
Totally cleaner, then.
 
@R.MartinhoFernandes just the same auto futureClient = listener.AcceptTcpClientAsync();
 
Important point: you need a different call to async_fn.
Much cleaner.
@Abyx In Asio you typically pass boost::asio::use_future.
 
4:39 PM
well you can have two overloads. for async_fn(yield) and async_fn()(yield)
anyways. the thing is that if you wanna language support for coroutines - it should be stackless coroutines.
 
Ell
only stackless?
 
(like in C#, yeah)
 
Hi guys, OpenGL group is frozen on stackoverflow due to inactivity.
any OpenGL 3+ developers here ?
 
@Ell you can do stackful coroutines with that spawn/yield thing.
 
Ell
@ManmohanBishnoi I'm interested in it but terrible and not useful
 
4:44 PM
yield is basically what carries around the stacks that make it "stackful".
C# just rewrites the code into CPS instead.
 
Ell
why don't you just put delimited coroutine language support in
 
@R.MartinhoFernandes yeah that's what "stackless" is
 
@Ell cool, do you have experience with bulletPhysics ?
 
Ell
then you can make coroutines/stackless coroutines/whatever as library
 
It would be more useful if they didn't name it like that, though :<
 
Ell
4:45 PM
@ManmohanBishnoi Nope
 
With that name, using it to replace any kind of CPS makes it an abuse.
The same way you can abuse query syntax for emulating Haskell's do-notation.
 
@R.MartinhoFernandes Then how do they deal with local control flow?
 
@Puppy it's not just CPS but it transforms code into a state machine
 
4:48 PM
@Puppy Similar to what they do with yield, but not exactly the same rewrite rules.
 
@jweyrich inb4 everyone is aiden
 
I nuked old tabs and tab groups
Probably around 300 of them
Firefox is slightly faster
I think the oldest tab group was problematic somehow
Okay more tabs :v
 
Ell
I don't understand why you have so many
what is the point?
you can't be using all 300 surely?
 
he's a cat
 
He's a hoarder.
 
4:54 PM
When I'm working on a thing and I have tabs with relevant shit opened, I don't close them, because why
 
Ell
@CatPlusPlus I find it easier to close what I'm not using and then just open them again when I need them
that's just me though I guess
 
You're not a hoarder.
 
That’s two clicks. Minimum. Laziness is a virtue.
 
Inefficient
 
4:57 PM
Speaking of which, movement inside my bedroom is starting to be noticeably hindered.
 
Xeo
Same, so I cleaned up
 
I should clean floors
 
@Xeo But...
I really need a new, bigger, shelf.
 
I'm unwinding today. Let's play with OpenGL and CEF and stuff
 
I can't throw all that away.
 
Xeo
5:04 PM
I wanna do some coding, but then I remember that I need graphics for what I want to code, and then I don't anymore.
 
I have books piled on top of the one shelf I have, on top of my chest of drawers, on my desk, and on the floor. Then I have board games, and electronics stuff, and telescope, and...
Book can't be piled up too high or they're hazardous.
 
heh, I was considering making a joke about putting away the soldering iron.
 
I guess I can disassemble the telescope and shove it under the bed when winter comes.
 
@R.MartinhoFernandes You mean when you watch Game Of Thrones? ;)
 
Game of Thrones starts in April.
 
5:08 PM
Winter is coming in April?
 
Winter only comes at the end of season six, I suppose.
 
homer@marge ~ $ jjs
jjs> ['10', '10', '10', '10'].map(parseInt)
10,NaN,2,3
lolwat
fuck JavaScript
 
Impressive.
 
parseInt expects two parameters
 
Lemme guess, it parses with base 0, base 1, base 2, base 3.
 
5:13 PM
parseInt takes two arguments, and map always provides more than 1
 
['10', '10', '10', '10'].map(Number)
 
And JavaScript is shitty enough to let that slide
Because signatures are useless
 
@R.MartinhoFernandes that's AGES
 
JavaScript is a dumb language. For being a dumb language, idiots can make incredible things. But the most common scenario is for non-aficionados to go through a lot of trouble.
I know I'll regret saying that.
 
Doubtful
@Bartek your hero is, once again, a dick plymouthherald.co.uk/…
> CONTROVERSIAL scientist Richard Dawkins has sparked anger once again - this time by claiming foetuses with Down's syndrome should be aborted. The outspoken athiest author said parents should abort unborn babies with the condition and "try again".
 
5:34 PM
@LightnessRacesinOrbit Wait what.
That's quite low even for him.
 
@R.MartinhoFernandes Yeah
 
Eh, in context it doesn't sound so bad.
For reference, this is question to which it was answer:
Irish Catholic fitter Aidan McCourt responded by asking The God Delusion author: "994 human beings with Down's syndrome deliberately killed before birth in England and Wales in 2012. Is that civilised?"
 
@R.MartinhoFernandes heh
 
Aaand the joke is on me for not reading the rest of the article >.>
 
5:37 PM
It may well be "civilised"; nobody's decided what "civilised" means yet.
 
But still, I don't see what is so controversial about it.
 
He's a dick. That's all.
 
Ell
@Xarn before birth? How long before birth?
 
@Xarn Eugenics
 
Ell
5:38 PM
ah oh.
 
@Ell IIRC abortions are first trimester only? So take that as your answer.
 
Ell
idk, I don't think it's uncivilised
 
@LightnessRacesinOrbit No, very much not from US.
 
He apologised, btw.
 
@Xarn Czech your privilege
 
5:40 PM
@LightnessRacesinOrbit Not this joke again. :-D
 
@Xarn Very much depends on where you are
 
Ell
at what age do you think you should begin owning yourself?
 
Wait, you can do that?
 
Ell
own yourself? :P
 
@LightnessRacesinOrbit Excepting places where it is illegal to get abortions (usually excepting health, rape, etc), is it drastically different somewhere? (Also you can be strongly recommended abortion for medical reasons later during the pregnancy, but that doesn't count)
@Ell Define owning yourself.
 
Ell
5:44 PM
Not very well currently :L
@Xarn able to do what you want to yourself, able to sign contracts as yourself, able to own other property
 
@Xarn I'd rather not look it up over the hotel wifi but yes I believe so. Depends on what you mean by "drastically", I suppose.
 
Ell
let me change the question actually
until what age should your guardians be able to enter contracts on your behalf?
and consent for stuff
 
@LightnessRacesinOrbit Probably something like "Here you can decide to have abortion done right now, the day before giving birth!" and not something like "well, you can have an abortion before 11th week only in country {1} and only before 12th week in country{}".
 
I have the OST.
Of season 4 too.
 
5:48 PM
I figured
Just bringing it to attention really
 
@Ell Depends on if you want to assume current child protection laws being in effect or not.
 
@Ell If yes, I don't really have problems with arbitrarily chosen age of maturity, like 18.
If not, anything you pick leaves the children fucked, so...
 
god so many hoops to jump through to get nVidia OpenGL tools
 
Wow, you're serious.
 
5:51 PM
And it's "application" so they probably won't be happy about me using my nickname instead of real name
Fuck it
 
> Dear Mr Plus,
 
What's the point of barricading ostensibly free tools behind developer programs I will never know
 
Run a company then come back and tell me that
 
Btw, upon further inspection it seems that Dawkins has never actually said what is in the headline. British tabloids...
 
Tabloids everywhere.
 
5:56 PM
It's dumb
And also infuriating
 
@jweyrich Yeah, but the british ones are most famous.
 
~journalism~
 
^^ that went down fast
 
WTF?
 
Someone found about Markov chains
 
5:59 PM
Deleted within 10 secs of being posted. I didn't even get a chance to flag it.
 

« first day (1405 days earlier)      last day (3529 days later) »