« first day (858 days earlier)      last day (4092 days later) » 

9:00 PM
That shit is awful.
 
That's only futures returned from async. All other futures in the standard library work fine, i.e., only block if you ask for it with .wait() or .get().
 
Xeo
@EtiennedeMartel It's broken.
 
user142019
Also this is broken.
 
user142019
Select won't use the await operator, so the order will be random and race conditions and shit. Or maybe not. Oh well.
 
@Zoidberg So, call me, maybe?
 
9:01 PM
Is sehe drunk?
 
Never
 
@Zoidberg Your design is weird.
 
user142019
No you know what.
 
Why are you using async?
Or, rather, why are you using it in this case?
 
user142019
Because my web framework is based on async.
 
9:02 PM
@DeadMG Can you explicitly export const and/or static variables on a class when making a dll? Or do you not need to?
 
user142019
I just realized that in this case it's not neccessary.
 
It's like "Hmm, I'm gonna learn how to use a new tool, so I will use it in a totally inappropriate situation in order to fuck myself up".
 
user142019
I can prefetch all bugs into an array.
 
user142019
And that doesn't matter.
 
@Zoidberg Nooo, not an array.
 
user142019
9:03 PM
Because the HTML tree will be completely in memory anyway.
 
@Zoidberg Then what was the whole point? The bug fetching stuff was the likely IO bound step
 
@sehe (I constantly ask myself that question when listening to Zoid)
 
user142019
@EtiennedeMartel what else? A linked list? A set? :P
 
@EtiennedeMartel I don't, really. But sometimes, yes
 
user142019
9:04 PM
List is also an array.
 
@Zoidberg No. It's a container that uses an array underneath.
That's an important point.
 
@Zoidberg No. It contains an array.
 
user142019
Array is a general concept.
 
user142019
std::vector<T> is also an array.
 
When talking about .NET, "array" refers to a specific CLR construct that blows camels.
 
9:04 PM
you're worried about the performance of I/O bound code?
 
Xeo
Honestly, what the fuck are my neighbours thinking?! "Oh, 10 minutes before night's rest... Honey, get me the drill, I can fit a wardrobe in!"
 
@Zoidberg It expressly does not expose the array. Which brings the troubles
@doug65536 No. He's worried about blocking his one precious server thread with them
 
IOCompletionPort. have fun with that in C#
 
@Xeo Hmmm. What is he drilling into ?!....
 
Xeo
@sehe I have no fucking clue whatsoever.
And it's honestly getting on my nerves.
 
9:06 PM
@doug65536 That'd be just BeginInvoke and AwaitObjects or similar
 
Xeo
Not only the drilling, but also the hammering.
 
user142019
IAsyncEnumerable<T> :3
 
@Xeo Are you describing sexual intercourse again, or being literal?
 
Xeo
@R.MartinhoFernandes Actual drilling and hammering.
 
@sehe there's more to it than that, but that's a good start
 
9:07 PM
@Xeo At least he's not drilling into your nerves.
 
Xeo
@EtiennedeMartel It certainly feels like that, though.
I'm getting mighty irritated here.
 
@Zoidberg That sounds like something you'd like. You might want to model the different service-handling steps as "states" in a IAsyncEnumerable<Progress> thing. Then, you could make a Service Engine (asio style) that just "select/polls" on all the async "event queues" to handle any completion
 
is std::array<bool, N> specialized at all?
 
Xeo
@ThePhD No
 
@ThePhD god forbid
 
Xeo
9:08 PM
There's std::bitset<N> for that.
 
@Xeo What about for compile-time bitsets?
Or is bitset compile-time ?
 
@Xeo With a rotten interface, IYAM
@ThePhD constexpr constructor? (maybe)
 
@ThePhD std::bitset is a compile time bitset.
 
Oh.
 
Oh, wait. I know what you meeaaaaannn
 
user142019
9:09 PM
Hmm how would I use yield return in an async method.
 
Guess I'm using std::bitset, then, instead of my BitTable<N> then.
 
@EtiennedeMartel Nah. It's statically typed. I think ThePhD might mean "bs(mask1) & bs(0xFF6)" is constexpr
 
A TABLE OF BITES
 
No clue. Buy the new Skeet book
Maybe
 
user142019
yield return requires IEnumerable<T> but async requires Task<T> as return type. AFAIK. xD
 
9:10 PM
@EtiennedeMartel That's not French, is it?
 
@R.MartinhoFernandes Almost. "Bite" is slang for penis.
 
WTF
bitset doesn't exist for me?!
Something must be going wrong.
 
@ThePhD include header
 
What a cake made with noobs.
 
@sehe Oh. Tee hee. Sorry~
I need a place to store all these pesky D3D11 Constants to reference at compile and runtime.
Maybe I should put them all in GraphicsCapabilities ...
MaxSamplerStates, MaxRenderTargets, etc. etc.
 
9:14 PM
@ScottW Yes. But "boobcake" doesn't have the same ring as "noobcake".
 
GraphicsMax ?
 
@ThePhD GraphicsPenises
 
@EtiennedeMartel Penii ?
 
@ThePhD Would only work if the singular was Penus.
 
Ah.
Penus of Venus.
Meh, fuck it.
GraphicsConstants.
 
9:16 PM
@ThePhD I'm not sure Venus was a hermaphrodite.
 
As good a name as any.
@EtiennedeMartel ... Cannot unsee.
 
@EtiennedeMartel Actually, it could well be a neuter word, leading to Penus, penera, or even (4th declination) Penus, penus (pl.)
 
@sehe The more you know.
 
:)
 
hmm... restart server... average ping of seven seconds... shit aint right homie
 
9:21 PM
@ScottW Everybody sing along now:
 It ain't necessarily so ♩
 ♬ It ain't necessarily so
 The t'ings dat yo' li'ble ♪
 To read in de Bible,
 It ain't necessarily so. ♫
 
Xeo
Hmmm.... map.emplace(a, b, c, d);, Y U NO WORK. :(
 
user142019
libstdc++?
 
@Xeo 4 initializers?
 
Xeo
Aye
 
@Xeo what compiler?
 
Xeo
9:23 PM
@sehe One for the key, 3 for the value type. :/ Was my hope, anyways.
 
user142019
Use libc++. :P
 
user142019
Ohh std::map.
 
@Xeo std::piecewise_construct?
 
user142019
It emplaces a pair I think. xD
 
oh, could be some sort of bandwidth limit... but I would have hardly hit that...
 
Xeo
9:24 PM
@sehe Needs tuples, but might work...
 
@Xeo Well, it saaahlves things, right? (You might just as well explicitely instantiate the second part of the pair... But this is the root cause anyway
 
Xeo
@sehe I meant the piecewise_construct of pair takes tuples.
 
user142019
I know what I will do!
 
user142019
var bugs = await FetchBugs(); // :D
 
Xeo
Also, SERIOUSLY FOR FUCKS SAKE, if my neighbours don't stop soon with the FUCKING drilling I'm gonna make some noise.
It's fucking 10:30 in the evening.
 
9:26 PM
@Xeo Turn on some metal, yo.
 
@ThePhD He doesn't have it?
 
user142019
I cannot return an object of anonymous type right?
 
Oh.
 
user142019
Hmm wait I can with dynamic or object, the former being more useful but very undescriptive.
 
@cicada and @catplusplus do OVH give you some sort of warning or notification if you get close or go over the bandwidth limit they start to throttle you?
 
9:27 PM
@Zoidberg Just,... fucking System.Diagnostics.Debug.Assert(!FetchBugs().Any()) somewhere async?
@Zoidberg you can. As object
 
user142019
FetchBugs returns a Task<IEnumerable<Bug>>.
 
Xeo
m.emplace(std::piecewise_construct, std::make_tuple(a), std::make_tuple(b, c, d));
 
user142019
You have to await or otherwise execute it.
 
never mind... 2GB out of 5TB... I think I'm fine
 
@Zoidberg well, m.m., don't deconstruct ma joke, please
 
Xeo
9:27 PM
fucking ugly compared to m.emplace(a, b, c, d);, though.
 
@Xeo forward_tuples.
 
user142019
@sehe oh it was a joke. :L
 
@Xeo Except that m.emplace(a, b, c, d) doesn't make much sense
 
Xeo
@R.MartinhoFernandes Yeah, I know.
 
user142019
@Xeo How would it construct the key?
 
9:28 PM
@Zoidberg assert "!FetchBugs().Any()" should have been pretty obvious, roght
 
user142019
How does it know how many args the key's ctor takes?
 
Xeo
Doesn't make it any cuter.
 
user142019
It's impossibru!
 
Ooh, my compile times are starting to decrease a bit.
This DLL is starting to pay off~
 
@ThePhD It's Vigil.dll?
 
Xeo
9:29 PM
@Zoidberg That'd be easy to check. First amount of arguments that lets both key and value type construct.
 
Anyone know where to find the memtest option on ubuntu 12.04 live cd?
Google doesn't provide much help :/
 
@sehe You keep making references I don't understand. ;~;
 
Ell
Hi guys
 
@Xeo That must be some strange meaning of the word "easy" I wasn't previously aware of
 
Xeo
{a, {b, c, d}} or {{a, b}, {c, d}} or {{a, b, c}, d} or maybe even {{a, b, c, d}, {}}
 
user142019
9:29 PM
@sehe That's a string which won't convert to a bool implicitly. Unless Debug.Assert is overloaded for string.
 
@ThePhD Keeping you busy
 
user142019
@Ell HELLO
 
Xeo
Or maybe even m.emplace(a, std::delim, b, c, d), now that one is easy (I think).
 
@Xeo Talk to @LucDanton about his prioritizing algo to find 'permuting' tuple assignments (I think he wanted to call it rebind or something?) Stuff gets wild fast with variadic constructors, implicit argument conversions whatnot
 
Ell
@sehe your boost assertion error was caused by not finding "Terrain.png" in my case :3 although, as you said before, you already knew that :P
 
Xeo
9:31 PM
@sehe That's why I said "first that works."
 
@Xeo Wholly depends on the order in which you get the compiler to try candidates
 
Xeo
@sehe Eh... I'd make that order (as the implementor of std::map).
 
@Ell :) Yeah fixed that by renaming the "Data" dir and changing working directory. Anyways, I get a very CPU intensive empty window when I run it. Anything else I might have needed to tweak?
@Xeo As in: completely arbitrary. Nice :)
 
any recommendations for a linux tool to see what is using bandwidth?
 
Xeo
3 mins ago, by Xeo
{a, {b, c, d}} or {{a, b}, {c, d}} or {{a, b, c}, d} or maybe even {{a, b, c, d}, {}}
Oh well.
 
9:33 PM
@thecoshman iftop
 
Xeo
Also, the delimiter thing.
 
@sehe thanks
 
@Xeo That's terrible!
 
Xeo
36 secs ago, by Xeo
Also, the delimiter thing.
 
Ell
@sehe Hmm. I don't recall tweaking anything else after making it compile, mine doesn't take up much CPU at all
 
9:34 PM
@thecoshman: iftop to see where to/from the traffic is going/coming.
 
does iftop auto update like top/htop do?
 
Yes.
 
Ell
@ScottW std::cout << "\nHELLO SCOTT W!!!!\n";
 
then oh good god has my server been slowed down :O
 
@Xeo That is also terrible.
 
Ell
9:36 PM
Not much. Just about to fix the mouse movement for my sfml minicraft
 
Xeo
@LucDanton Why?
@ScottW Oh, nothing at all.
 
user142019
{k, e, y, DELIMITER, v, a, l, u, e}
 
anyone else hosting with OVH?
 
user142019
You?
 
@Zoidberg well I am not someone else am I, I am myself
 
Ell
9:39 PM
@ScottW heh yes
 
@Xeo Perfect-forwarding gets muddy.
 
13
A: Just fix the Stack Overflow "Quality Question" text

Jeff Atwood There has been an obvious problem with newbies getting the dialog when they have been question banned, and they don't understand the basics of clicking on the link to get the answer to why it happened. The solution is simple: these users need to go away. They've had many chances to get it r...

 
I.e. do you perfect forward the delimiter on, or is that out-of-band?
Actually that's more of an example. The root cause is mixing out of band and in band information.
 
0.5% of bandwidth... I think shit got fucked up somewhere ¬_¬
 
@LightnessRacesinOrbit I like it
 
Every time I see Lance Roberts though..
 
I prefer Tim Post's answer.
 
best make sure it's not my end ¬_¬ before I start shouting my mouth off :P
 
user142019
 
user142019
Is Foundation open-source?
 
9:46 PM
nope, my internet is as good as it always is
SERVER Y U NO BANDWIDTH!
 
11
Q: I think [tag:illegal] is not legal on SO

ZaheerAhmedAs illegal not defines any category, technology etc., and its a general term. I think it should be deleted.

Hahahahaha
 
Xeo
@LucDanton Hmmm... m.emplace_(a)(b, c, d)!
I just want that shorter. :/
 
Can I ask a Haskell question?
 
@EtiennedeMartel I think it would be more fun to make illegal.
 
user142019
9:53 PM
@Nils Yes.
 
How do I enter something like

factorial :: Integer -> Integer
factorial n = product [1..n]

into ghci?
 
user142019
let factorial n = product [1..(n :: Integer)] :: Integer :v
 
What is :v?
 
Ell
A nose face
:v)
 
user142019
A smiley.
 
9:55 PM
heh
 
user142019
FUUUUUUUUUUUUUUUUUUUUUUUUUUUUUUCK
 
user142019
FUCK FUCK FUUUUUUUCK FUCK FUCK
 
What?
 
user142019
9:56 PM
I posted Gist #5000008. :(
 
@Zoidberg U have like tried out every programming language?
 
user142019
No, but many.
 

« first day (858 days earlier)      last day (4092 days later) »