« first day (3638 days earlier)      last day (1293 days later) » 

3:03 AM
Looks like Windows leaked sources can be built into a mostly complete OS
 
 
3 hours later…
user7659542
5:43 AM
I m often very impressed with people who manage to actually hack something:
 
user7659542
Such people must be extremely competent
 
user7659542
@Mikhail yes, let s go build windows xp 2.0
 
user7659542
Those sources are presumably so outdated. Not sure what you could do with it
 
8:39 AM
Every time I read about far-right support Trump, I am like: this doesn't make sense. Not I am a fan of Trump, but isn't Trump anti-elitism and support the working class? This is a left stance?
Also what comes first? A.I. robots or inter-galaxy space travelling? Personally I thought A.I. robots would come first, then maybe mission to Mars. Because ... wouldn't it be a wise idea for the robots to scout other planets first before the humans?
 
well Mars is still well within our Galaxy
 
9:27 AM
There are different levels of Artificially intelligent idiotic robots. :x
 
 
3 hours later…
12:43 PM
@TelKitty He says many things... and then does others. But ultimately it's complicated and not appropriate for me to discuss here
 
 
2 hours later…
nwp
2:38 PM
How the fuck does ld manage to overflow a 15 bytes memory region with an 8 byte object that is 4 byte aligned by 2 bytes?
16 bytes memory region fits that 8 byte object which overflowed by 2 bytes just fine.
I don't understand what I'm doing at all.
Everything is straightforward, the documentation makes sense after a while, the syntax is not that difficult, you can relatively easily express what you want, and yet crazy things keep happening.
 
2:59 PM
@traducerad make reactos work even better than it works now.
@nwp may be it's not this struct especially that overflows but the one in which it is contained?
 
Is there is any real use of siginfo_t->si_addr in case process has received SIGTERM.
For other signals it is useful like SIGSEGV si_addr is useful to log but for SIGTERM does it helps logging si_addr in any way.
 
Would you use std::set or std::vector to store std::function<void()> callbacks?
 
3:39 PM
You can't use std::set because std::function is not less-than comparable.
@salbeira operator== and operator< are not supported by std::function.
(TIL)
 
4:12 PM
Huh I would expect it to simply be the functions address that is compared
 
 
1 hour later…
5:12 PM
Hm, I think the problem is that std::function contains not only a function address, but also any bound parameters. So two std::function objects could point to the same function but with different bound parameter values. You could try a tuple comparison on the function pointer and all the bound values. But those values might not also not support operator<.
 
Also on a sidenote: There is no way to insert a method as a callback with <functional> is there as the namespace of all methods conflicts with the signature of a callback function (like a curried f(O *this, A a, B b, C c) where the first parameter is already bound to the function call?)
 
 
3 hours later…
7:57 PM
@salbeira So, std::vector has the minor advantage that lookup is O(1), aka you could potentially know the index
 
8:15 PM
Nah for callback functions the index is usually irrelevant as you just iterate over the whole structure ... but in that case the index equals the iterator so ... yeah vector seems better in every way
 

« first day (3638 days earlier)      last day (1293 days later) »