« first day (1966 days earlier)      last day (3207 days later) » 

15:00
Apparently allocators still make everything more complicated :p
Xeo
Xeo
Fun stuff. TSharedPtr<Stuff> p; p = MakeShared<Stuff>(); leaks memory in Unreal.
So, we are going to go that rabbit hole of allocators even deeper? Jeez.
Xeo
Xeo
because MakeShared returns some kinda proxy object and they fucked up
@Xeo what
... Lol unreal.
15:01
Cava cava
Funny thing of the day: I keep being harassed for Android dev positions but my linkedin profile specifically says
@Griwes Apparently there are at least 4~5 proposals related to allocators in the latest mailing.
;_;
> Please do not contact me for any mobile app development position!
And I presume none of them make any actual improvements (other than creating more complexity for library implementers)?
@Griwes But muh virtual allocators to share vectors with muh DLL API qqqqqqq
15:04
@Griwes One of them removes stuff and actually simplifies the job for library implementers IIRC.
The copy_swap_helper proposal is also there so that you can use it out-of-the-box without having to think about allocator-aware containers.
The issue about allowing a requires expressions in more contexts just move to « Ready ».
Ven
Ven
@TonyTheLion :3
Batch-enabled demultiplexing is tricky. So many ways to do it.. but I have no good intuition on which approach is likely to be faster than the other..
@Morwenn Yeah, that is a something that makes concepts lite slightly less bad ;d
15:11
Oh lol, the following commit moves the issue back to « Open ». Dang.
@StackedCrooked cue Mysticial's answer
Time for the working groups to review the week's work, and see what is ready for plenary this afternoon... #CppJAX
@HubertApplebaum I suppose SIMD will ultimately provide the fastest solution.
probably sort + batch process
and by sort I don't mean a full sort
Also hashing if you need to demultiplex on more complex data.
Like network packet filters.
15:16
total order doesn't matter
What kind of sort then? :)
@TonyTheLion <3
You really want to group stuff in SIMD-sized batches
So order doesn't matter above SIMD-size
I did something similar on GPU for fast ray tracing
I love this kind of late-drop tracks :D
Essentially, splitting rays in different bins of warp size (32) depending on the shader they would execute /cc @Elim
Some counting sort IIRC
Sort of bucketizing?
Right
Bucketize SIMD-elements at a time, then process each bucket SIMD-elements at a time
This way no branching and good cache usage
It was purely branchless
15:21
Cool.
Don't know if it's still a good solution for CPU, though.
added another approach. (Which also sucks since it's not SSE :p)
Xeo
Xeo
Holy shit. I just looked into Unreal's implementation of TSharedPtr and why the p = MakeShareable(new Stuff()) leaks
Hum, it seems that the committee started actually adopting papers now that the end of the meting is near.
However, the main benefit of batching is that you have better temporal and spatial locality. Packets travel a long time up the stack. By the time a single packet reaches the top the bottom of the stack is already cold. So doing small per-layer batches can help a lot.
15:32
@Xeo Pray tell
Xeo
Xeo
MakeShareable returns a proxy object that additionally allocates the reference control block (with new). That proxy object doesn't have a destructor. TSharedPtr::operator=(TheProxyType Proxy) does *this = TSharedPtr(Proxy.RawPtr);, forgetting the control block, and leaving it to leak.
fail.
Xeo
Xeo
yes
very much so
I can't even think of a reason for why that stupid proxy object exists in the first place
so unreal
that whole design of MakeShareable doesn't really make that much sense.
15:34
@Xeo what the fuuuuuuck
Good design is rare.
the whole point of those factories is that you control the allocation of the pointed-to object.
Xeo
Xeo
#Unreal
Maybe local-independent low-level number<->string conversion functions for C++17.
Xeo
Xeo
@Puppy vOv
15:36
@Morwenn Thank god.
@Xeo rule of ~zero
Want to provide char overload?
SF F N A SA
4 7 6 1 0

Add extended integer types?
SF F N A SA
2 8 6 2 0

Overloads for all non-bool integral types?
SF F N A SA
0 5 6 5 1

Add to_chars_format::general (by some name)?
SF F N A SA
4 8 1 3 0
Wait
Are they going to add
char/unsigned char
to <random>?
Add uppercase as an option?
SF F N A SA
1 6 3 7 0

<utility>

Parse should allow mixed upper&lower.

Want to add padding options?
SF F N A SA
0 1 7 8 0


Do we want to have Jens make the above changes and forward to LWG for C++17?
SF F N A SA
5 8 1 2 0

Do we want to have Jens make the above changes and forward to LWG for a Fundamentals TS?
SF F N A SA
4 8 4 0 0

Do we want to have Jens make the above changes and return to LEWG?
Unanimous no.

Jeffrey declares that the above implies we should go for C++17.
uniform_int_distribution is technically not allowed ot hav eit.
15:37
@ThePhD What? I never talked about random.
@Morwenn Hence why I'm asking about it.
I've no idea.
Sadface.
Erm, so which functions are they overloading?
Psrse?
15:39
You can't spell 'parse' without 'arse'
Lol
So Bjarne isn't here right now
And the TA is giving a presentation on the game he's writing
and he has a virtual visitor pattern <_>
user1804599
I love SQL.
user1804599
@Ven SQL is great.
Then again, this was pre variadics and the like, so I guess I can't fault them for not using variant...
Ven
Ven
yes it is
15:44
std::to_string(int); // love those zero overhead abstractions
well, small-string optimization helps
if our gcc version had it
Ven
Ven
;_;
@StackedCrooked hey, is it time yet for me to ping you back? would you be interested in a perl6 install on coliru? ;D
It's an Ubuntu 12.04. I'll have to check if they have a package.
perl6 is in rakudo package.. hm..
user1804599
Rakudo is a Perl 6 compiler.
user1804599
perl6 is a program that invokes a Perl 6 compiler and executes the result immediately.
The program 'perl6' is currently not installed.  You can install it by typing:
apt-get install rakudo
^ This is incredibly convenient.
It tells me what to do in order to get it.
user1804599
15:59
I don't get it.
$ perl6
-bash: perl6: command not found
^ OSX fail.
user1804599
dat hyphen
@Zoidberg It's a below zero UX experience.
"command not found" ..WELL FIND IT THEN!
gogle it for all i care
Dammit, rakudo is installing many dependencies.
Preparing to replace libmono-simd4.0-cil 2.10.8.1-1ubuntu2.2 (using .../libmono-simd4.0-cil_2.10.8.1-1ubuntu2.3_all.deb) ...
Unpacking replacement libmono-simd4.0-cil ...
Preparing to replace libmono-system-componentmodel-composition4.0-cil 2.10.8.1-1ubuntu2.2 (using .../libmono-system-componentmodel-composition4.0-cil_2.10.8.1-1ubuntu2.3_all.deb) ...
Unpacking replacement libmono-system-componentmodel-composition4.0-cil ...
Preparing to replace libmono-system-componentmodel-dataannotations4.0-cil 2.10.8.1-1ubuntu2.2 (using .../libmono-system-componentmodel-dataannotations4.0-cil_2.10.8.1-1
etc...
user1804599
lol Debian installs the CLR backend
user1804599
or Ubuntu
user1804599
16:03
Install Gentoo.
user1804599
apt-get install gentoo
user1804599
Ok. Rakudo.
user1804599
you should just troll and delete coliru
user1804599
or redirect to a shock site
Ven
Ven
16:08
@StackedCrooked wtf libmono?
why does it install CLR? @Zoidberg an idea?
use libclr to install mono
I was actually doing an apt-get upgrade.
Ven
Ven
ah makes sense. it's not rakudo doing crazy stuff
setcap 'cap_sys_chroot=+ep' /bin/bash
setcap 'cap_sys_chroot=+ep' /usr/sbin/chroot
Needed to run these commands again.
I want to eat blackcurrant and/or lemon sorbet.
16:14
> YEAAAAAAAAHHHHHHHHHHH DUE THIS SHIT IS GOOD AS MARIJUANA
Nice feedback :)
Or a good old soft serve.
@StackedCrooked It means that it alters your brain so that it doesn't work well for a while.
But at least it satisfies your endocrine receptors or something.
I wouldn't know really.
if someone were so kind as to ping @Griwes to look at discord I would appreciate :P
Ven
Ven
did he plonk you?
But a psychiatrist once told me that the effective meds are the ones that bind to receptors.
16:18
@StackedCrooked Effective meds are the ones that work ._.
Well, he didn't word it exactly like that.
But something like it.
I... wouldn't know either.
Ven
Ven
@Griwes someone wants you to look at discord
paracetamol works when I have a headache
I suppose that makes it good stuff.
@Ven Oh, I'm so sorry I am not at my computer 100% of time!
Ven
Ven
16:19
what
It more or less works with me too.
Ven
Ven
I just pinged you because i thought you had plonked @ScarletAmaranth, hence why he didn't ping you himself, @Griwes
But it seems that nothing works on my brother for some reason.
Ven
Ven
say no to drugs, they got you in the lounge in the first place
16:20
So he won't succumb to truth serum. That's good.
Ven
Ven
@ScarletAmaranth you better be thankful, considering i'm getting shat on for a ping
@Ven Be glad. Some people are ready to pay for that.
Ven
Ven
pls
No, seriously.
Literally.
16:25
@Ven Shat on? That was at least 80% sarcastic.
@Griwes Might I recommend a little caffeine? (and no, please do not take that as serious advice!)
Ven
Ven
@Griwes hey don't read stuff i sent to people you plonk
lol
Ven
Ven
i'm gonna have to call hubert on you
@Ven Reminds me of an old line some standup comic (Richard Pryor?) had about women doing natural child birth, and how many of they wouldn't be pregnant to start with if they hadn't used drugs ~9 months before.
Ven
Ven
16:39
:D
Xeo
Xeo
this is beautiful
17:15
@Xeo Note how there's a video titled « Vaginal Weightlifting » in the suggestions.
@Morwenn these suggestions are based on your browsing history, you know :3
Nope :p
I doubt it
I also saw Vaginal Weightlifting in the suggestions and I highly doubt that Morwenn and I have similar browsing histories.
I don't have much of a browsing history to start with.
Ok, vaginal weightlifting is a video on this person's channel.
Well, the joke was good while it lasted :)
17:23
Deprecated exception specifications will survive for at least one more meeting due to technical issues late in the wording review #CppJAX
How hard is it to remove stuff?
let's deprecate new while we're at it
@Morwenn Actually, it can be quite difficult. Lots of laws (for example) remain on the books long after they're obsolete specifically because removing them cleanly is a lot of work.
Nobody cares about the wording. Just ditch em.
:P
hmmm, I wonder if C++ standard library implementers are allowed to implement std::random_device::random_device(const std::string& token = /* implementation defined */) with two separate constructors
I have a PDF editor, so I can update the C++ standard for you.
17:28
I guess exception specifications share some wording with noexcept and telling them appart is not always easy.
@milleniumbug new is useful for private constructor invocation, deprecate delete instead
@milleniumbug Probably falls under as-is
@набиячлэвэлиь Well, if it was a member function, that would be true (trivially detectable with function pointers), but not sure about constructors.
off the top of my head: are all-default-arguments-constructors explicit?
That'd be the only collision (you still have rndv::rndv(const string &)), I think
Haha, Belarus now uses Chinese rockets to launch satellites.
@StackedCrooked seen the latest epi yet :)?
17:33
@набиячлэвэлиь this constructor is explicit, so that's not an issue
@Morwenn What's funny about that?
@milleniumbug So it would be fine
@Puppy I would totally expect them to use Russian rockets.
Implementations are free to modify the public interface beyond what's specified, IIRC
Russia's not exactly in a position to be launching a shitload of satellites right now
17:34
On the other hand, even countries that own rockets often use other countries' rockets instead.
Apparently a French satellite was launched by a Russian rocket this year.
they probably used their left-over Soviet rockets and then bought from the lowest bidder
India and China seem to be launching more and more rockets.
the West will start launching far more rockets if we can perfect re-usable ones
17:58
A side by side comparison of #Apeiron and the original (still so good). @bioware @CaseyDHudson #KOTOR #StarWars https://t.co/pUztwBgCCr
too much fog wtf /cc @ElimGarak
@Borgleader Everybody in the new one smokes a lot.
Also, I brokeded.
And implemented inheritance.
I also implemented it for when someone has RTTI and/or Exceptions turned off.
I'm using @Puppy's throwing technique to make it work.
@ScarletAmaranth soon :)
@ThePhD You are the bestest. The other lua libs can go home.
I also sent an e-mail to my prof.
I want them to give me an extension on some of these earlier due dates since I'm essentially turning in everything that's due for the ENTIRE class about 1/2 a semester in advance.
.... I just realized I've been working on this nonstop. How did jagged infect me so. :<
@StackedCrooked That motherfucker can go straight to hell.
The talker?
He's the person the kind of motherfucker who made for one of the first pull requests for sol, where that stupid library Cinder returned const Vector2 by value from a function..
It was matching for const Vector2&& and that's deleted.
@Puppy But we will have to solve the problem of having too many things in orbit.
Ell
Ell
@Morwenn can't we just put them further out?
We can blow them away.
@Ell Depends on what you're looking for, but I guess that we would already be doing that if it was that easy.
Didn't know we already had too many things in orbit. I once saw a scifi anime about this topic though.
18:34
I know that there are robotts currently designed to find the dead satellites and push them toward the atmosphere, but none of them are currently active AFAIK.
@Ell Yes, but...for a lot of purposes, you want a geosynchronous orbit, and to get that it has to be at a specific altitude (lower will move faster, higher will move slower).
Geosynchronous orbit is large enough not to be a problem, but the low-earth orbit is another problem.
> A large-enough collision (e.g. between a space station and a defunct satellite) could make low Earth orbit impossible.
@Morwenn That depends. Geosynchronous can be a problem too. But yes, LEO is undoubtedly even more seriously polluted.
Since most satellites have a speed of several km/s, collisions would create way too many debris.
@ThePhD Throwing exceptions is awesome.
there's a few hidden language features you can only access with exceptions, particularly in C++03.
18:46
throw_cast is the winnerz.
Now I need to figure out how to implement dynamic_cast given a list of bases, No Exceptions, and No RTTI.
... Lol, there's no way I can implement it.
Fuck the user is they disable both.
well, suffice to say, there's a reason why this is usually a core language feature.
@StackedCrooked Oh hey, I think I recorded that talk. :D
I feel a tiny bit proud in an absolutely weird way when I see people linking videos I had something to do with. It's... weird.
@Morwenn Don't believe any ever were. The problem is that the debris is often too small to really grab and push.
19:03
the application of sufficient nuclear force could very easily transform all that dangerous debris in a relatively harmless cloud of molten metal
what could go wrong
well, I think that orbit is big enough that you'd need a fair few nukes ;p
the key word here is 'sufficient'
think of all the nuclear stockpiles we don’t know what to do with anymore, two problems solved at once!
lol
we'd need a lot of rockets to lob them into orbit
yes I also have a solution to that
feel free
19:08
the application of sufficient nuclear force
lol
Xeo
Xeo
derpface sleeping on my desk, blocking me from coding
kind of her
@Xeo even cats know it’s Friday evening
user1804599
public static function main(): void {

}
19:44
@Zoidberg Why?
user1804599
Because PHP autoloading only works with classes.
user1804599
And I want to keep index.php as small as possible, because it isn't type-checked.
user1804599
It contains only this:
user1804599
<?php
$GLOBALS['HACKLIB_ROOT'] = '/opt/hack/usr/share/hhvm/hack/hacklib/hacklib.php';
require __DIR__ . '/vendor/autoload.php';
Hello\Main::main();
19:57
The last programming book you'll ever need https://t.co/cnObD8GYGZ
anybody can recommend a good programming book? (no language-specific, can be related to whatever, can have any amounts of math)
no.
not one single person on this planet can recommend a good programming book
@ScarletAmaranth Delphi 2005
I have an empty evening, I could use something to read
A Treatise on Programming in Wide
20:08
how narrow of you
20:22
Downvoting is appropriately treating?? Ur already demoralizing spirits of someone in need. This site is full of experts requiring high expertise from newbies. — Sachin Bahukhandi 17 mins ago
> This site is full of experts requiring high expertise from newbies.
@ScarletAmaranth The Art of Readable Code
@Mysticial Monday: butthurt, Tuesday: butthurt, Wesdnesday: butthurt, Thursday: butthurt, Friday: Meta!
meta butthurt
lol these walls look like from SnK
@StackedCrooked Yeah, totally not fair if they have Rambo on their side! :)
They had a few tough guys.
One of them had this sling with a big spiked ball.
But he was killed by rifle.
His armor didn't help much.
:P
Rambo however, might have helped.
He took down a few helicopters IIRC.
I saw it on TV.

« first day (1966 days earlier)      last day (3207 days later) »