Readit News logoReadit News
jeffrallen commented on Go Proposal: Secret Mode   antonz.org/accepted/runti... · Posted by u/enz
jeffrallen · 3 days ago
Wow, this is so neat. I spent some time thinking about this problem years ago, and never thought of such an elegant solution.
jeffrallen commented on Deprecations via warnings don't work for Python libraries   sethmlarson.dev/deprecati... · Posted by u/scolby33
jeffrallen · 6 days ago
I prefer Go's solution to this problem. Just don't deprecate stuff. And to make that possible, slow down and design stuff you will be willing to support forever.
jeffrallen commented on Golang's big miss on memory arenas   avittig.medium.com/golang... · Posted by u/andr3wV
pkulak · 6 days ago
My guess is that when you measure, an arena is not worth the trouble when you run a generational GC, which essentially uses an arena for the eden space already. And if you have an arena, it's probably very short lived and would otherwise live entirely in eden.
jeffrallen · 6 days ago
Go's GC is not generational.
jeffrallen commented on Golang's big miss on memory arenas   avittig.medium.com/golang... · Posted by u/andr3wV
jeffrallen · 6 days ago
The author is confused about how performance tuning works. Step one, get it right. Step two, see if it's fast enough for the problem at hand.

There is almost never a step three.

But if there is, it's this: Step three: measure.

Now enter a loop of "try something, measure, go to step 2".

Of the things you can try, optimizing GC overhead is but one of many options. Arenas are but one of many options for how to do that.

And the thing about performance optimizations are that they can be intensely local. If you can remove 100% of the allocations on just the happy path inside of one hot loop in your code, then when you loop back to step two, you might find you are done. That does not require an arena allocator with global applicability.

Go gives realistic programmers the right tools to succeed.

And Go's limitations give people like the author plenty of ammunition to fight straw men that don't exist. Tant pis.

jeffrallen commented on America Has Become a Digital Narco-State   paulkrugman.substack.com/... · Posted by u/rbanffy
BLKNSLVR · 8 days ago
Want to do something that protects a significant percentage of children? Ban social media for children.

Work out a zero knowledge way to verify age, and implement it. It won't be easy, but it also won't require breaking the rules of mathematics as per most of the governmental requests to 'safely' backdoor encryption.

jeffrallen · 8 days ago
And shockingly enough, the EU has been investing in this technology for a while. Check out OIDC4VCI, and the selective disclosure protocols that go with it.

The Swiss citizens just approved a system like this.

Deleted Comment

Deleted Comment

jeffrallen commented on Mechanical power generation using Earth's ambient radiation   science.org/doi/10.1126/s... · Posted by u/defrost
wombatpm · 9 days ago
Now you just need a couple of droids and you could go into the moisture farming business
jeffrallen · 9 days ago
Nah, those are not the droids he's looking for.
jeffrallen commented on Germany votes to bring in voluntary military service programme for 18-year-olds   bbc.com/news/articles/ckg... · Posted by u/petermcneeley
Balgair · 10 days ago
Actually you make a good point here. Women have better reaction times then men, so female drone operators, all else being equal, may be better at the job.
jeffrallen · 10 days ago
In my village's shooting club the women shoot just as well at the men, and quite a bit more consistently as well.

u/jeffrallen

KarmaCake day2916April 3, 2018
About
[ my public key: https://keybase.io/jeffallen; my proof: https://keybase.io/jeffallen/sigs/nJfLchP35rFv8zuKLYFh5_kfjbSm6ASYkWc2XqiWc64 ]
View Original