« first day (2137 days earlier)      last day (2802 days later) » 

Ven
8:06 PM
:(
 
In two years my goldfish will be old enough to make porn.
 
@Morwenn The worst one is life itself
 
@набиячлэвэли It's also the best one.
 
Can't reproduce?
Haha, probably like me in a few months :D
 
8:13 PM
@Morwenn What'cha doin'?
 
Hormones. Maybe. I'll know in a month or so.
 
That we'll know in a few months.
Eh, huge moth in the room. Those are so annoying -___-
 
:(
 
@JerryCoffin Also, you can't make it worse
 
You can make the context worse: forced to write PHP with a keyboard which doesn't have a $ key.
 
@Puppy I'm tempted to ask how anybody could possibly make PHP worse, but then, I consider the (obviously immense) capacity for making things worse that's shown in PHP today, and shudder at the thought...
 
Ell
@EtiennedeMartel terrible
I wonder why all of these sex crimes come up with the large movement of people
 
8:52 PM
Because it's easier?
 
@Ell Lots of people in situations where taking advantage of them is relatively easy. Most probably don't have a lot of money, which renders most typical scams (and such) irrelevant, but they still have their bodies, so...
 
Ell
But I mean, it's happened both ways
 
that's just what happens when you get a lot of people and you put them in the same place.
back in Syria, there would be child rapists, you just wouldn't know about it.
another example of how this may not be even remotely notable is if those child rapists above simply would have raped some other child instead and just picked refugees because they were easier targets
you really need a bigger statistical picture to start drawing useful inferences
not that I'm not sympathetic to the plight of sexually abused child refugees
it's simply not immediately obvious that this represents any kind of unusual or worse outcome
 
9:12 PM
Thanks, g++. I'm glad there's a crash in ???, and I'm glad I know where I can go to fix it.
 
@ThePhD Missing debug symbols somewhere?
 
@Puppy True, but I'd guess there's a good chance it is at least a little worse than usual. If you leave money lying around on the ground, chances are that it's going to get picked up, and probably by somebody who'd never consider stealing under normal circumstances. To somebody with an inclination toward taking advantage of the defenseless, I'd guess refugees seem pretty similar.
 
the source in this case is hardly the paragon of morality either, though.
 
@JerryCoffin You mean it won't happen in South Korea?
 
9:30 PM
@Morwenn I guess I'm not sure how South Korea relates to the discussion at hand.
 
@JerryCoffin IIRC over there it's illegal to pick up money on the floor; only police officers are allowed to do so. Otherwise you can be held liable for theft.
 
@ThePhD Fun times.
Not quite as fun as PHP though. With the whole NULL < -1 and NULL == 0 thing
 
@Puppy Perhaps not--but my basic point is fairly simple: many people will do wrong only when extraordinarily tempted, and the current refugee situation almost unavoidably creates an unusual level of temptation. Put those together, and it's almost inevitable that at least a few bad things will happen that wouldn't otherwise.
 
I've got a headache. Talk to you later -___-
 
@Morwenn G'night.
 
9:36 PM
thx
 
"Only when extraordinarily tempted"
Because ISIS is extraordinarily tempted
 
9:48 PM
They are. They are led by power hungry manipulators who herd the masses of disgruntled poor people
If that's not extraordinary, then I don't wanna know where you live.
 
@Darkrifts ISIS almost undoubtedly contains an entire spectrum: true believers who honestly believe they're following the Koran, at least a few who are just psychotic (or whatever), some who don't care about religion but enjoy what ISIS lets them get away with doing, and at least a few who are just following the crowd--some voluntarily, others probably reluctantly but knowing they'll be next up for beheading if they complain.
 
Ven
richard answered /cc @Griwes @jaggedSpire @LucDanton
 
> (Note that the rules here are actually subtly wrong: the point of instantiation for an entity referenced by the declaration of another entity actually must immediately precede that entity rather than immediately following it. This has been reported as a core issue, but it's not on the issues list yet as the list hasn't been updated for a while.)
lol
> Therefore, when the call to foo from has_foo<unsigned> looks up the partial specializatios of foo_impl, it does not find the floating-point specialization at all.
Oh holy hell.
 
10:04 PM
♩ The stars are brightly shining. ♪
♫ It is the night of our dear C plus plus. ♬
 
@sehe Any place with a far-right party.
 
Similiar but on a wholly different scale.
 
@Ven ...wait a second.
Does this mean this is one of the cases where the limerick applies?
:D
@Ven Richard is a wizard.
And I say that as a person that gets called somewhat similar terms on random occasions.
On another topic, I really really can't tell whether HarD Gamer is a troll or not.
 
10:48 PM
@sehe Well, whilst it's true that we're hardly in the middle of a big-ass civil war over here, we did just vote for Brexit.
 
@Puppy Might be the first civil war in history that's actually...civil (well, at least sort of civil, anyway).
 
yeah
have yet to see what our government will actually do, except cry, in response to the vote.
 
Personally I agree on the message being anonymous if two or more moderators reach the same decision.
 
Ell
11:18 PM
@Puppy well, leave the EU at some point I imagine :P
 
or not
 
Ell
That would be terrible
For the politicians at least
 
And doing it wouldnt be? Did you see the economic fallout thus far? :P
 
Ell
We haven't even started leaving the EU yet
There is uncertainty undoubtedly
I don't want to talk politics actually
I'm going to bed :3
 
'night
 
11:26 PM
@JerryCoffin They'll have Tea and Scones.
 
Is there a reason why std::vector's move constructor is not noexcept? I don't see any technical reason why it can't. You're aren't moving any user-defined objects that can throw.
 
3
A: why vector's move ctor does not deduce a noexcept()?

Jonathan WakelyI assume that by "move constructor for std::vector with custom allocator" you mean the allocator-extended move constructor i.e. this constructor: vector(vector&& v, const allocator_type& a); The main reason is that if v.get_allocator() != a then the constructor must allocate more memory, which...

?
 
Fuck that shit.
 
Xeo
That's for the allocator one
@Mysticial Also, it is
 
@Xeo It is? Even for the normal move-constructor, I don't see it marked noexcept on cppreference.
 
11:37 PM
>> If alloc is not provided, allocator is obtained by move-construction from the allocator belonging to other.
 
Xeo
@Mysticial scroll down to "Exceptions"
yes, it's confusing how cppreference shows it
 
Oh fuck that site. Thank you. :)
 
@Mysticial :(
cppreference is love
 
Xeo
It's objectively sucky at showing which functions are noexcept, tho
 
Spent the whole day designing/redesigning a hash table. So I'm a bit peeved right now at all the corner cases. lol
 
11:40 PM
A noexcept hash table?
 
@CaptainGiraffe It's complicated. I'm trying to make insertions with strong-exception guarantee. But if the insertion results in a rehash, things get a little ugly.
 
That does sound complicated =) Best of luck.
 
Xeo
yeah, hf with that.
 
handle a lot of corner cases would likely to make the code slower
 
If std::vector's move assignment throws, it fucks everything up.
 
Xeo
11:43 PM
@Mysticial but it can't, so yay
(if you use the default allocator)
 
Yeah, it's all default allocator.
 
Unless you have a funky allocator.
 
Xeo
then you're fine
 
Rehashing isn't supposed to happen at all since it's expensive. So the users are responsible for sizing it appropriately at the beginning.
But it still needs to work. And it needs to work with non-copyable/non-movable objects.
^^ That one is a pain in the ass.
 
Xeo
I hope you're not talking about types that are both non-copyable and non-movable at the same time
(i.e., brick types)
 
11:45 PM
@Xeo I am actually.
Emplacement insert.
 
That's not a hash table.
 
Rehashing is easy to do if you just make a new table, iterate the old one and insert everything into the new one.
 
Xeo
@Mysticial And how, without moving or copying?
 
But that doesn't work for brick types.
 
I truly dislike these IDEs that are not visual studio.
 
11:46 PM
@Xeo The node that owns the object needs to be transferred over.
 
I remember reading about this problem both in Knuth, as well as a more modern paper. I'm going spelunking.
 
A true developer can work with any popular IDEs :p
 
Coordinating multiple projects to have multiple outputs end up in one directory to be run, explicitly marking "dependency" files... all of this is a fucking trainwreck in QtCreator and there's no point to be using the IDE because it just vomits its shit out to the commandline.
And it does its job fucking poorly, too.
 
Xeo
@Mysticial is it vector<node> with struct node { T value; }?
or is there a pointer at one or both of the levels?
 
For example, ninja doesn't output its errors to std::cerr, only std::cout, so when QtCreator parses its output (e.g., the errors), none of it is clickable or searchable because ninja doesn't play nice with the ecosystem.
 
Xeo
11:48 PM
If there are no pointers involved, I don't think that's doable for brick types.
 
@Xeo There's one level of indirection. The table itself is expected to be extremely sparse. So I can't inline the entire object into it since it will consume far too much memory.
 
@Mysticial Do you have any beforehand info on the hashes?
 
Xeo
@Mysticial Okay, so you got vector<node*> (ownership aside, I'd have unique_ptr there prolly)
 
@Mysticial Assuming a standard unordered_map (or similar) which has to handle collisions by chaining, you should normally be starting with a pointer to the node, in which case the rest should be pretty easy.
 
Xeo
then you don't need to worry at all and can handle all the same, nah?
 
11:50 PM
@JerryCoffin That's what I'm starting with as a baseline. I expect things will get uglier once I have performance metrics.
 
Xeo
@JerryCoffin Isn't that just for unordered_multimap?
 
@Xeo I believe that is implementation defined.
 
The thing that bugs me right now is that lookup-misses are 1 indirection best case and lookup-hits are 2 best case. I have a feeling that even that 2 is too high.
I'll find out later.
 
Xeo
I think the common implementation for unordered_map has 2 as well, IIRC
 
nwp
@ThePhD If you want to properly support Qt Creator you probably need to support qmake and make a .pro file. If you don't then go with cmake which is supported enough to build a project (but development is a pain. They are working on it but so far it just doesn't).
 
11:53 PM
Cache misses are always tricky.
 
@Xeo local_iterators pretty much force the use of collision chaining (or something extremely similar).
 
Xeo
One through the vector's data, one through the list's iterator to the node (and its value member)
 
Basically, they liked my immutable hash table a lot. So now everyone is asking me to do a fully generic hash table.
 
Xeo
@JerryCoffin I guess you could count a list as collision chaining. I remember MSVC having vector<list::iterator> with list<node>
and local_iterator = list::iterator
the vector stores begin/end pairs of iterators into the list for a specific hash value
and the list just contains all nodes
 
@Xeo Yeah, if you want to link the buckets together into one big linked list, I doubt there's anything to stop that.
 
Xeo
11:58 PM
I wonder why they made the vector store the iterator pairs directly instead of something like struct bucket{ list::iterator first, last; }
storing them directly makes the indexing a bit weird
 

« first day (2137 days earlier)      last day (2802 days later) »