« first day (1774 days earlier)      last day (3181 days later) » 

8:00 PM
@AndyProwl working on it
for some reason I am unable to scrape the page with that information
it's loading the HTML, but not parsing it
 
I found Cat's house
 
@Xeo whoops, fixed
 
Xeo
@nabijaczleweli Now everyone's at place #1
r-martinho-fernandes has 10898 stars and is at place #1
cat-plus-plus has 9558 stars and is at place #1
puppy has 4516 stars and is at place #1
tony-the-lion has 4261 stars and is at place #1
sehe has 4167 stars and is at place #1
fredoverflow has 4069 stars and is at place #1
elyse has 4018 stars and is at place #1
etienne-de-martel has 3657 stars and is at place #1
xeo has 3544 stars and is at place #1
sbi has 3508 stars and is at place #1
 
am I at #1?
 
8:06 PM
@Xeo whoops, fixed
 
Xeo
So, is that stars given or stars received?
 
Received, I think
I mean, that'd make sense, right?
 
received when posting sexually-ambiguous sentences
especially out-of-context
and sometimes not-so-ambiguous
yesterday, by Nooble
@MarcoA. HOW TO SUCK COCK
 
user406009
lemon has stars recieved.
 
user406009
I have stars given.
 
user406009
8:08 PM
(Well actually rlemon has both, but he just posted stars recieved)
 
@Xeo woof woo fmotherfucker
 
@Lalaland i'm leaving this public until I get my system running rlemon.ca:8888
so you can always fill gaps from it if you want
 
@Xeo We're all #1.
 
Shit
How do I sort
 
user1804599
@Xeo stars given can't be computed since it's private.
 
user1804599
8:21 PM
Stars are anonymous.
 
@nabijaczleweli Yo.
 
Xeo
@elyse 'cept it's not, apparently?
 
user1804599
oh
 
user1804599
that's moronic
 
@nabijaczleweli first discover how is pointar formed
all the rest will follow naturally
 
Xeo
8:22 PM
It's public if you are in the room when the star is given, or something
 
@elyse No it's not.
Lol.
 
user1804599
oh
 
@Xeo Yep, it's sent right through the event stream, I think.
 
all you need to do is sit a bot in a room and sniff websockets
report to a server
BOOM, you have all of the stars
I have a bot in the top 6 active rooms
 
I lost track of the quantity of useless header-only libraries for C++
++(var)
 
8:24 PM
@Nooble Ya?
 
You guys ever run into a feedback loop problem with the observer pattern? I have a Window class. The Window class has properties that can be changed by the User or by the Application (ie the dev). If the User changes a property (size resizes the window), the Window notifies the App which will call the platform do a resize. Then the App will notify the Window the size property has changed... which will cause the Window to notify the App and you have an infinite loop
 
lolserver
 
Ell
Ah Jesus my feeeeet
 
the problem is that you have a bidirectional data flow.
the User should ask the App to do shit.
and then the App thinks about it and if it's a blue moon but not a teal or burgundy moon, he asks the Window to do it.
 
Ell
24th :(
 
8:38 PM
it's the 25th today
 
Ell
My star place I Mean
 
Shouldn't a 'Window' be its own thing though? It seems roundabout to have the user tell the application to resize a window. I need two separate channels... one: User --> Window --> App. Other App --> Window --> Non-App listeners. Confusing to think about
 
the Window is it's own thing.
that doesn't mean that the User must immediately know about it and issue commands directly to it.
the unidirectional flow is way simpler.
 
Application app;
Window win = app.CreateWindow();

// 1
app.resizeWindow(win,size);

// 2
win.resize(size);
I guess I could have window just call app. But then they'd have to know about each other
hmmm
 
have User call App.
 
8:48 PM
in C#, 23 mins ago, by Mike Asdf
I hate estimating dev tasks. It's like trying to estimate the life expectancy of Russian Roulette participants.
 
also
why the holy fuck do you need an App to create a Window?
also why the fuck do you even have an App class in the first place?
 
Apparently constexpr allows more data to be stored in ROM rather than RAM. Is this relevant for desktop software? Or does it mostly apply to embedded stuff?
 
desktops don't really have ROM anymore.
 
I see.
 
8:50 PM
at least for the infinite majority of application's considerations.
 
I wasn't sure if read-only section of the process memory also counts as "ROM".
 
ROM exists only insofar as to prevent attacks, not as a memory concern.
@StackedCrooked Not really. You can create those sections at will and non-read-only ones too.
 
what they mean is that on embedded systems, they can have e.g. 512KB ROM and 2MB RAM, which is fixed in hardware, so using more ROM saves you RAM directly.
but in desktop systems both draw from the same pool and you can arbitrarily move memory between them so there's not much purpose.
 
@nabijaczleweli quick
 
8:52 PM
@sehe Deep sigh
 
Oh. You meant snort. Sorry
 
The Application class does a bunch of stuff. It starts the main loop and does platform init. Its the platform abstraction layer
 
applications are not platform abstraction layers.
 
<trigger warning> its a singleton and manages stuff </trigger warning>
I could rename it to Platform; does it really matter?
 
yes.
namely that one of them makes sense and the other is a pile of crap
 
8:55 PM
Its related to the application too. Its doing event handling for the process... so I mean, calling it a 'Platform' isn't entirely descriptive either
 
user1804599
@sehe did you find a nice one yet?
 
that seems overly optimistic.
Somehow assumes there is a clear statistical upperbound to the time taken
 
haha, nice
 
@elyse Sigh. I have to really get into the mood. First I'm working out the details of our "farewell agreement"
 
@Prismatic Event handling is a platform-specific detail, so that is completely accurate.
 
user1804599
8:57 PM
@sehe "kthxbye"
 
also hang on, that doesn't really make sense.
it should not be doing event handling for the whole fucking process, only pump messages for a given object like a window.
 
user406009
My guess is singletons.
 
user406009
Singletons everywhere.
 
@elyse Money and interests are involved. I find that hard to work out
 
user1804599
oh
 
9:00 PM
@Puppy It does basic event handling for all windows and user inputs so far. I don't really see how you would split up event handling... (right now I'm using SDL)
 
well each event source should really handle itself
so for each window, have that handle its own events
 
good job SDL and their global event queues
Allegro 5 is better
there, the event queue is a tangible object
 
Allegro doesnt support some stuff I want
 
user406009
Like window.resizeEvents.subscribe((){std::cout<<"Victory!"<<edt::endl;});
 
they might in the future though so I plan to check it out at some point
 
Ell
9:04 PM
Windows itsself has global event queue
 
so what
 
I've never used event handling in Windows except on a particular window.
 
user406009
Regardless, a library can always abstract global handling for local handling and the other way around.
 
Ell
yeah I suppose
 
not if your api is bad enough
 
user406009
9:08 PM
@unordered_meow Can you provide a counter-example?
 
user406009
I think it's always possible.
 
OpenGL and their tied-to-the-thread surface drawing
 
id rather have a small set of things to reimplement with each platform
 
@Lalaland when no opaque userdata can be passed with targeted messages
 
user406009
@sehe Yeah I just realized that as well.
 
user406009
9:09 PM
But that's a broken api anyways.
 
user406009
Since you always need user data.
 
just saying
Yeah. You could go and use a global map of native handles to your opaque data.
 
@sehe Then use LLVM to JIT a function with the relevant reference.
 
Solving the mess by doing more bullshit :)
@Puppy Good luck. I tend to stay pragmatic :)
 
user406009
@sehe That's evil.
 
user406009
9:11 PM
Imagine the memory leaks.
 
It's not my bad idea :)
 
user406009
Whatever. Most api's provide an option for data.
 
user406009
So these tricks are unnecessary.
 
@MarcoA. they recommend all their sessions
@Lalaland moving the goal posts faster than we can spit
 
9:14 PM
@sehe then learn to spit noob
 
Ok
 
Just converted my entire engine into this_case.
That took too much work.
 
so that was what, ten minutes?
 
@Puppy Yeah pretty much :D
Thankfully I didn't write much yet.
 
snake case for everything?
 
9:15 PM
@Prismatic Yes.
 
lame
 
Well, following what the standard library does.
So template parameters are still Capital.
 
user406009
Yes.
 
@Nooble god forbid you had tests
 
@sehe D:
 
9:17 PM
> Intregral
 
@sehe you don't livecode anymore :(
 
user406009
I don't even know how you would unit test a graphics library.
 
@Nooble You don't pay attention when I do
 
Ell
smoke tests
 
@Lalaland it depends on the library
threshold algorithms for the output images are used
if the library outputs graphic stuff of course
 
9:19 PM
@sehe Oh. I need to start earning more attention so that I could pay you with it.
 
otherwise it can easily be unit-tested as any other library
 
@Nooble y;day and today. Yesterday ~4 hours. I threw all of it away because it was a mess.
I kept a short session of tonight
hmm. http://wordsafety.com/ http://t.co/pi5GUlrGkR
For all you frenchies
Including those that died.
 
9:37 PM
Ahh summer homework.
Thanks Trump.
 
@sehe What, you think that SSE-optimized JIT-compiled thunks are overkill for just getting events from a window?
 
Ell
It sounds like it
 
@sehe Deep in the jungles of France.
 
Today I write a biological overview of 4 leaders of 4 different countries.
 
@Puppy depends on what needs to scale
 
9:48 PM
@Nooble Thanks Hilter <<< FTFY
 
if every widget is a target, and there are likely thousands widgets being created/destroyed all the time
 
@nabijaczleweli :P
 
hmm, is this supposed to work? void(*a)(void) noexcept = []() noexcept {};
 
user406009
I believe so.
 
or is there some special mumbo jumbo about noexcept and function pointers.
 
user406009
9:50 PM
Lambdas with no captures are supposed to be convertible to function pointers.
 
@sehe then you've gotta optimize the shit out of that thunk amirite
 
user406009
I don't know how the noexcept would change things.
 
@melak47 likely not, which could be a defect
 
user1804599
Lambdas are nice.
 
@sehe no mumbo jumbo, or not supposed to work?
 
9:51 PM
@Puppy Perhaps. Or you have to avoid the overhead of creating the thunks :)
 
that's for pussies
 
@melak47 I think if the specs don't say that constexpr should also work, this may be the cause for compilers to not support that.
It makes a bit of sense. (I didn't know constexpr lambdas were even in these days)
 
@Lalaland Are they?
 
@sehe I don't see any mention of noexcept in 5.1.2: lambda expressions :S
 
@Puppy The profiler will have a word on that
 
user406009
9:52 PM
@ʎǝɹɟɟɟǝſ Let me find the part of the standard.
 
profilers are for pussies
real men just throw FMA at the problem and go do something more interesting
 
pussies are way tastier than dogs
 
@sehe did you switch constexpr and noexcept on purpose? :S
 
the Chinese might disagree
 
@Puppy Free Music Archives?
 
user406009
9:53 PM
@Puppy Full Metal Alchemist? It's a good show, but I don't see how it would speed up your program.
 
fused multiply add, peasants
 
@melak47 no. But yeah I misread. Same story really. Unless noexcept was mentioned
 
@sehe it wasn't, but somewhere the explicit noexcept in the lambda must be mentioned :/
or maybe that's not in C++14?
 
@melak47 maybe it's implied in the suggested transformation to unnamed class
 
user406009
@ʎǝɹɟɟɟǝſ 5.1.2.6 in the standard.
 
user406009
9:55 PM
> The closure type for a non-generic lambda-expression with no lambda-capture has a public non-virtual nonexplicit
const conversion function to pointer to function with C++ language linkage
 
@sehe hm. I guess I'll ask on SO before I file another bug on connect and some MS guy has to tell me that they're sticking to the particularly sucky letters of the standard...
 
hi
 
@Lalaland Nice
 
good night ppl ;)
 
yes please
 
9:58 PM
@sehe There is mumbo jumbo about noexcept and function pointers, which is a defect. open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4533.html
 
lol
That seemed a bit predictable as an oversight
 
user406009
@ʎǝɹɟɟɟǝſ A true language lawyer never leaves his standard behind.
 
Thanks for digging it up again
 
np
 
yesterday, by sehe
@Morwenn Woot. Nice find. I envy you guys who keep track of DR/proposals and know how to find them
 
9:59 PM
> void (*r)() noexcept = []() noexcept {};
 
You're allowed to have add noexcept to a name, including the name of a fptr, but not to a type.
 
that's exactly it :/
@Potatoswatter yeah, bit silly
 
So in that line, noexcept gets stripped away and then added back… no problem.
 
@Potatoswatter what?
 
just like throw() I think
 
10:00 PM
The variety of trolls is astounding. But the boredom is a binding factor. If we could generate electricity from boredom, we could solve world durability in a jiffy
 
@sehe Durability?
 
too tired to rephrase
 
@sehe You need not; the world definitely needs to be a lot more durable.
 
@Potatoswatter what do you mean by "gets stripped away and then added back" ?
 
your mum
 
10:04 PM
Puppy makes a good point.
 
Puppy for room owner
 
user406009
No, Nooble2016!
2
 
Puppy2007!
 
so if this is N4533, at best this'll be in C++17, so MS can just say "our behavior is C++14 conformant WONTFIX" ? :/
 
@melak47 The lambda function call operator is noexcept. The lambda function conversion operator returns a pointer to non-noexcept function. This is successfully assigned to a noexcept pointer, because return values are out of reach of the static analysis that would provide safety.
 
10:08 PM
@Potatoswatter ah, ok. Hmm, VC++ does not allow this: void(*fptr)() noexcept = [](){}; so it does seem intentional?
 
ok
what the fuck is the Ultimate Kerbin 3 Challenge
 
you tell me
 
It has 'bin' in the name, you should know
 
I am the Binmeister
 
I want a shirt that says WONTFIX
 
10:11 PM
@melak47 GCC and Clang accept it. I think the letter of the standard forbids it, but at the same time forbids it with noexcept on both sides. So enforcing the rule in that case is asinine. The DR is what gives them authority to ignore the rule.
 
DR?
 
because no implementation would ever ignore the Standard for their own amusement
 
DR 92.
 
14 mins ago, by Potatoswatter
@sehe There is mumbo jumbo about noexcept and function pointers, which is a defect. http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2015/n4533.html
 
defect report? I'm new to these language lawyer acronyms :p
 
10:13 PM
Yes.
 
I'm hoping the missing conversion is just a bug, since they do explicitly enforce the noexcept...
 
@Lalaland True
 
11:01 PM
1
 
{}
 
()
 
wtf VC++
static const tag_t *get_null_tag() {
    using ti = const std::type_info*;
    static tag_t tag {
        [](variant_t &, variant_t &&) {},  // move_construct
        [](variant_t &, const variant_t &) {},  // copy_construct
        [](variant_t &) {},  // destroy
        [](const variant_t &, const visitor_t &visitor) {
            visitor(null_t{});
        },  // accept
        []() -> ti { return ti{}; }  // get_type_info
    }; //error C2143: syntax error: missing ')' before ';' //error C2143: syntax error: missing ';' before ')' //error C2059: syntax error: ')'
those three errors, all reported on that line.
 
@ScottW Hey you mumbling?
 
@jaggedSpire Yes.
Nah he's not, but I am.
 
11:13 PM
@Nooble ok cool
I'll get on in a bit. I'm making dinner.
 
I got some free advertising!
 
@Nooble Who the hell is merkin and why am I a good substitute? Inquiring rock piles want to know.
 
@jaggedSpire Was it kbok?
 
@MartinJames veddy niez
 
Merkin = American.
 
11:18 PM
@Nooble You were responding to kbok yes
Oh
 
And Kbok needs to marry someone to get an American Visa.
 
Ell
A Merkin is a pubic wig
 
@Nooble Cheaper than American Express.
 
@MartinJames Lol.
 
that would be amusing
 
11:41 PM
In practice, Haskell's modularity is somewhat limited because its compilation relies heavily on inlining and specialization for performance. If a module is modified in any way, all modules that import it will need to be recompiled. There are techniques for performing type-driven optimizations off various sorts (such as unrolling loops over data structures whose size is fixed by their types), and also a somewhat wild system for user-defined compiler rewrite rules. — dfeuer Aug 21 at 23:35
dunno what to think about that
 
@ScottW cool beans
 
@LucDanton lol, so, like an 'h' file, then. I don't think that is how 'modules' are supposed to work:)
 
@MartinJames They also suck already. Regardless of implementation shenanigans. It’s a layer of crap on a shit sandwich.
 
Could be worse: just discovered in my delivered code:

NewDatabasePath:=NewDatabasePath;

I wonder what I meant to set it to?
 
Maybe it was 2. Could give it a try.
 
11:50 PM
aughh this doesn't make any sense. coliru.stacked-crooked.com/a/607a6fab97b1d820
if it's not a variadic template, or if I remove c, it compiles
 
What about unary plusses. Unary plusses make everything better.
 
not lambdas (on VC++)
surrounding the lambdas with () works...
 
what about adding zeroes
hey you can unary star, unary plus doesn’t have to hog all of the limelight
 
1>src\main.cpp(17): error C2593: 'operator *' is ambiguous
1> src\main.cpp(17): note: could be 'built-in C++ operator*(void (__cdecl *)(void))'
1> src\main.cpp(17): note: or 'built-in C++ operator*(void (__vectorcall *)(void))'
VC++ best C++
 
> warning: pointer to a function used in arithmetic
 
11:58 PM
lol
 

« first day (1774 days earlier)      last day (3181 days later) »