« first day (1863 days earlier)      last day (3084 days later) » 

10:01 PM
async is easy, don't :P
 
user1804599
 
// TODO: Handle error!
// TODO: Retry!
 
user1804599
Not important. Lines 5, 12 and 16 are key.
 
user1804599
They make the overall API blocking and hence easy to use.
 
why is that double forked
 
user1804599
10:04 PM
It's actually triple forked, but the original is gone.
 
@Rapptz screw sync, use coroutines
 
what coroutines
 
(its my new favorite word since i watched that talk, dont mind me :P)
 
user1804599
With stackful coroutines, you can turn sync into async and vice versa with little overhead. There's little reason to not use them as the backbone of a concurrent application unless you're doing terrible low-level things that they break/break them.
 
@Elyse why didn't you use boost coro?
 
user1804599
10:07 PM
@sehe I do. See fiber.cpp, fiber.hpp.
 
user1804599
and fiber.tpp
 
user1804599
also thread_pool.{h,c}pp
 
dayum. Why did you need the intermediate layer
 
user1804599
Thread pooling and fiber::current, mostly.
 
That's something that ASIO does anyways (both)
 
user1804599
10:08 PM
Just having a high-level API. Boost.Coroutine itself is rather low-level.
 
Ok
 
user1804599
 
@sehe coro yolo
 
user1804599
Coroutines are a rather general thing. They can be used as generators, for example. My use-case is more specific, see src/fiber.cpp.
 
user1804599
I should extract the thread pool and fiber stuff into a separate library.
 
10:20 PM
don't bother, you're not going to finish it, and even if you did, people will only re-invent it themselves any way
 
@Borgleader what is it?
 
user1804599
The most work is wrapping all of Boost.Asio, though.
 
user1804599
Also there should be a function that takes a function and executes that function on a separate thread pool, blocking the calling fiber instead of the calling thread.
 
@thecoshman Looks like Mercy's Wings
wrong link
 
10:24 PM
@Borgleader I was going to say :P
 
ah no, its Aether Kayle
 
@Borgleader when does it start shooting?
 
user1804599
Also WTB channels (easy to implement) and select statement (fuck my life).
 
@Elyse never ever had to use these. Just spawn and post (oh and yieldcontext)
 
user1804599
@sehe link
 
user1804599
10:27 PM
Never heard of spawn.
 
I don't think I have a sample live. Scan my SO answers for [boost-asio] spawn
@Elyse Oh, then you've obviously never used Asio with the support for stackful coros
Because it's really the only way to go, in Asio's API
Everything else you do is hacked :/
 
My DoS said you can do a faceroll and probably get a valid Perl program
 
user1804599
@sehe nice
 
Is that true
 
@Columbo You have worse problems than Perl to contend with if you have DoS talking to you
 
10:29 PM
Morning.
 
@sehe (DoS = Director of Studies)
 
@Morwenn You, sir, should get your clock synched
 
@Morwenn Sup
 
@sehe I'm using the Internet Chatroom Timezone.
 
@sehe This is the universal chatroom timezone or some shit
 
10:29 PM
@Columbo your dos?
 
@Columbo teehee. Yeah, he's right. Be sure to do it on your keyboard, though, or the program will just be very short
 
user1804599
@sehe I want all the infrastructure (e.g. yield_context) to be global, though. And also thread pools.
 
chat ROM flash
 
@sehe :-D
 
@Columbo more like Dumb Old Shit
 
10:30 PM
@thecoshman He's 35
 
@Columbo best get him his slippers and pipe
 
@Elyse I figured. That's not coros, though. That's green threads. Also, just put the yc somewhere shared.
 
user1804599
Yes. Green threads is what I implemented above (just called it "fibers").
 
user1804599
It uses Boost.Coroutine internally.
 
@thecoshman id like someone to give me a pipe (only funny if you speak french)
 
10:31 PM
@thecoshman He's a cool guy, actually.
 
@Borgleader ... boobs?
 
@Elyse So. You're not using Asio's coro support. At all. You're just (likely) running asio on green threads
 
user1804599
@sehe Does yield context use a thread pool?
 
@Columbo Not as cool as @Mr.kbok
 
@Borgleader He probably is, actually
 
user1804599
10:31 PM
@sehe Yeah. With classic Asio callbacks, which then schedule the fiber on the thread pool again.
 
Oh, I finally managed to put my hands on the old page: UGT: Universal Greeting Time.
 
@Elyse Depends on how many threads run io_service::{run,poll}
 
user1804599
@sehe Ok, nice.
 
@Morwenn Okay, good evening, then!
 
user1804599
Didn't know Boost had that. :3
 
10:32 PM
Headaches are making me find my bed. Also, broken heating.
 
@sehe You're not even half fun :(
 
And a week of house breaking ahead
 
@Morwenn I thought that sentence was going to end much more falically
 
@sehe Good night ser :)
 
ty ty
Have fun
 
10:33 PM
@thecoshman Hey, all I say doesn't magically end up falically :o
@sehe Oh, you're going, that's why. Good night then :)
 
@Morwenn that and this ended falically
 
@thecoshman ...
I can't even fight back.
 
thanks for not making it rape :D
How is any way?
 
@thecoshman Not quite.
 
@Borgleader cunt?
 
10:37 PM
it was a blowjob pun (but cross language)
 
nano was updated.
 
@thecoshman Fine. We got to record the last instruments for a song.
 
I wonder what they changed.
Probably just a nano-LOC
 
@Columbo The version number.
 
@Morwenn there was some mild panic, but everything is now fine again. Some people died, but it's over now, everything is fine.
 
10:39 PM
@thecoshman It's sad, but life goes on. And as long as you don't know anybody involved, you can't be that sad actually.
 
@Morwenn oh... hang on...
 
@orlp You new tool is fun. I almost started something like a few weeks ago if you ever need some additional ideas :p
 
@Morwenn What new tool?
 
@Borgleader That one: github.com/orlp/iwyu
 
oh, include what you use, doesnt google have a thing for that?
 
10:43 PM
I wanted to try to use libclang to write such a tool, but never managed to get it working properly.
@Borgleader I don't know. There are probably many such tools.
 
Guys.
Is Mark Garcia dead?
 
The tool I wanted to write was slightly different: it read files describing include guarantees: it would check whether some features had been include with no-guarantee transitive includes.
Like relying on a feature found in <type_traits> without having explicitly included <type_traits>.
 
@Elyse :,(
 
10:52 PM
what does that 0 of .. warnings mean lol
 
Not displayed probably
 
@orlp > A small utility to help you include you the right C++ headers.
Double "you"
 
@Borgleader yeah
 
user1804599
 
user1804599
11:04 PM
cc @Ven @StackedCrooked
 
@R.MartinhoFernandesam I?
 
@Elyse For your sake, I'll hope it's your last.
 
@thecoshman Yarrrr
 
11:23 PM
@Nooble Not as dead as I am dead inside
Also, @Nooble, uninstall cPython, install PyPy and try to re-build Gaem
 
@JohanLarsson wot
@thecoshman but where has all the rum gone?
 
@jaggedSpire code gen gone bad, recovering
VS got a bit sluggish
 
@JohanLarsson ah
my record is 4k errors when missing a dependency for a C++ unit test
 
Why am I watching pregnancy reaction videos
 
@jaggedSpire a wench threw it all away
 
11:30 PM
@Borgleader but why the rum?
D:
 
@jaggedSpire you tell me :P
 
@Borgleader But the rum! Why would you throw rum away?
 
No, but I'm not a wench :P
 
@jaggedSpire Because rum != vodka
And vodka is the only true alcoholic beverage
 
@набиячлэвэлиь that's more an argument for throwing vodka away, really
 
@Borgleader okay, why would this wench throw the rum away?
 
@jaggedSpire I ain't Russian, so dunno
 
does this wench have something against rum?
 
It's a rumager
 
good lord, Austin Powers is 16 years old?!
 
11:34 PM
Huh?
 
Nooble used: youthful obliviousness! It's super effective!
 
@jaggedSpire Because it turns even the most respectable men into scoundrels
 
@Nooble Uninstall cPython, install PyPy and try remaking waf
 
@Borgleader but I want arguments against rum...
:?
 
@набиячлэвэлиь wif waf?
 
11:36 PM
@jaggedSpire RuM SuXxXX!!!!1!!
 
@jaggedSpire D:
 
@thecoshman waf
(it's a link)
 
@Borgleader :S
 
Actually, it's pronounced "jithub"...
 
@Borgleader like gif?
:P
 
11:40 PM
@jaggedSpire thats the goke
 
@Borgleader ah
 
is git pronounced jhit?
 
@jaggedSpire So you like 'em naughty? :P
 
@thecoshman is sit pronounced shit?
 
@Borgleader I like rum
:P
 
11:43 PM
 
actually that's a lie, I've never had rum. ;_;
 
@ScarletAmaranth I'll sit on it whilst I think
@jaggedSpire doesn't matter, you still like it
 
except as a component of kahlua
 
Is that a wild @GregorMcGregor I see?
 
11:44 PM
rum tastes funny
 
@jaggedSpire If Ive had rum, its been a long time. Not sure what it tastes like.
 
@набиячлэвэлиь no he's invisible
 
@jaggedSpire huh?
 
@ScarletAmaranth Funnier than your jokes, at least
 
@набиячлэвэлиь so is your face
 
11:44 PM
@jaggedSpire <insert no comma joke>
 
afaik, Kahlua isn't made from rum
but it goes nice with it :)
 
@ScarletAmaranth Meh, setting the bar low, are we?
 
@набиячлэвэлиь but... your mother...!
 
Kahlúa is a coffee-flavored sugar-based liqueur from Mexico. The drink also contains rum, corn syrup and vanilla bean. == HistoryEdit == Pedro Domecq began producing Kahlúa in 1936. It was named Kahlúa, meaning "House of the Acolhua people" in the Veracruz Nahuatl language spoken before the Spanish Conquest. Kahlúa was Hispanicized as Ulúa, forming the name of the modern San Juan de Ulúa fortress. The company merged in 1994 with Allied Lyons to become Allied Domecq. In turn, that company was partially acquired in 2005 by Pernod Ricard, the largest spirits distributor in the world since its merger...
 
retarded fbcdn urls
 
11:45 PM
@jaggedSpire huh, there we go
 
@GregorMcGregor rehost on imgur
@ScarletAmaranth No, sir!
 
also, my bottle says "RUM --AND-- COFFEE LIQUEUR"
 
@Nooble yes
 
@nick Hi there.
 
11:48 PM
hello
 
I bet this is why it goes well with rum
@nick yo
@Borgleader :3
@GregorMcGregor what if one of them wants to be a vodka when they grow up?
 
what if they want to be parents & grow more potatoes :')
 
@Nooble DO THE THING I TOLD YOU TO DO
Did the fucker plonk me, I swear to fucking god
 
No I don't plonk people.
 
11:58 PM
I'm focusing on homework.
 
I'll download pypy later.
I also just put ninja in my path.
 

« first day (1863 days earlier)      last day (3084 days later) »