HNHacker News
TopNewBestAskShowJobs

nly

11,493 karma · joined April 14, 2013

submissionscomments
nly··on NUMA: Cores, memory, and the distance between them
If the code is mapped readable and not mutated how does it make a difference?

The code will be prefetched in to local (executing) CPU cache just the same. No invalidations will take place across NUMA zones.

Modern DLLs on e.g. Linux use PIC and not mutable relocations.

nly··on The CEO of Mullvad is the main financer of the Swedish Örebro party
Ironically most of the polish I know who came to Britain returned home to Poland for better prospects.

Adjusting for purchasing power parity, GDP per capita in Poland isn't far behind the UK.

nly··on Age verification is just a precursor to automated attribution of speech
Because it's accurate?

If I have access to your digital ID I shouldn't be able to impersonate you anymore than I should be able to fly using your passport.

Your passport is useful not just because it's difficult to forge, but because border control is a thing.

nly··on Age verification is just a precursor to automated attribution of speech
Yeah...I'm fully aware what a ZKP is..you're just missing the point.
nly··on Age verification is just a precursor to automated attribution of speech
Doesn't matter!

You still need to send a digital image from the id, signed by an authority, saying "this person is 18"

You then still need a trusted ID service or algorithm to capture an image of the user _at the time of use_ to compare that to.

Just having access to your digital ID credentials proves nothing

The zero knowledge proof only helps prevent tracking between the ID service and the website you're logging into. This is valuable but requires standardisation and client side support, which doesn't exist.

All the time the client side is implemented by JavaScript served from the server side you're just trusting these parties to behave and not snoop

nly··on Age verification is just a precursor to automated attribution of speech
But to be effective you need to prove that the person presenting the ID is the person the ID belongs to.

In person that falls to a human being, and it's an easy and intuitive task that takes seconds.

On the internet this involves some kind of video recording being sent to some agency somewhere being paid a fee, who may later be asked to prove the efficacy of their service. This agency needs a digital copy of the photo from your ID for matching purposes. They'll be tempted to store this for auditing purposes... they'll also be tempted to store correlation IDs etc if the architecture allows.

The issue is trust. You just can't trust these first and third parties not to collaborate for commercial gain or at government demand or request.

And ultimately you're still exchanging verification at registration for a shareable credentials: I could use my ID to sign up to pornhub premium and then sell the username and password to a 16 year old if I wished, just like those buying alcohol can go and give it to the underage. A black market for digital credentials is even easier to establish than material goods

nly··on Fintech Engineering Handbook
> However, I've heard that in HFT, they don't do that because the overhead itself is too costly.

I've worked at several HFTs and 2 had independently settled on 64bit signed fixed point with a implied 10^9 scaling factor between internal systems.

However in-process one just used 'double' for all FX conversions, scaling etc. With 15 digits of precision and careful rounding choices it's fine.

Dealing with the outside world you'd obviously just convert as cheaply as possible - and there are some crazy fast algorithms doing fast binary float -> correctly rounded decimal conversions these days

nly··on Fintech Engineering Handbook
I worked on a trading system dealing with transaction limits expressed in USD but trading in many currencies.

FX rates and prices were expressed in fixed point because it was more efficient to handle in FPGA. A lot of thought went in to making the system accurate enough based on real FX rates while falling on the right side of the limit

nly··on A C++ implementation of a fast hash map and hash set using hopscotch hashing
It's not great.

Rapidhash is just insanely fast and provides good distribution, with built-in support for mixing.

nly··on A C++ implementation of a fast hash map and hash set using hopscotch hashing
My goto these days (and afaik the state of the art) is boost::unordered_flat_set paired with rapidhash for hashing (since the GNU std::hash functions based on murmurhash are ridiculously slow)

The cacheline performance is pretty hard to beat (SIMD optimised linear scan before hopping), which is where all the wins come in the real world.

But basically any of the faster hash maps from absl, boost or folly are going to wreck the standard library in terms of perf

nly··on Pondering routing more of my traffic via nodes outside the UK
Been using a VPN on my phone and PC for 20 years. Always use non-UK exit points
nly··on Windows 10 quietly gets one more year of support and updates
And good god...windows 11 updates still take fucking hours and still require multiple reboots. How this is still so painful after 2 decades is beyond me
nly··on US AI stock sell-off shakes markets from Wall Street to Asia
As always, zoom out.
nly··on VPN ban update for UK households as government looks at 'age-gate'
I've been using a VPN in the UK on my laptop and phone exclusively for 20 years, and the state has been working with ISPs to make "connection records" for most of that time.

On mobile a VPN isn't always effective in avoid geoblocks. Some apps are able to determine I'm in the UK and still ask for ID - reddit is one for example, if you stumble on to an adult subreddit. Using the web interface avoids this.

The UK has also moved to force ISPs to block certain bittorrent search engines.

The UK is not shy when it comes to invading your privacy or censoring the Internet.

nly··on Computed goto for efficient dispatch tables (2012)
All well and good provided your opcodes are sequential/dense
nly··on 10Gb/s Ethernet: switching to a Broadcom SFP+ module
I'd settle for 1 Gbps with a real IP address (UK)
nly··on UK set to announce social media ban for under-16s
Almost all parents I know just let their kids use their phones. It's wild.
nly··on UK set to announce social media ban for under-16s
Tbh I've never understood why a strict non-negotiable ban on phones in schools hasn't been in place. This is an easy win with no negative consequences for adults.
nly··on UK set to announce social media ban for under-16s
That basically kills the business model and would wipe hundreds of billions of $ in capital away

Not that I disagree

nly··on UK set to announce social media ban for under-16s
Perhaps using anonymous registration-free platforms like Session
nly··on UK set to announce social media ban for under-16s
Alternative title: ID verification to be required for all UK citizens to use social media
nly··on Treating pancreatic tumours may have revealed cancer's master switch
You might want to read this

https://en.wikipedia.org/wiki/HeLa

nly··on Orthodox C++
Your map example only concerns the standard library, not the language.
nly··on Orthodox C++ (2016)
> obtuse error messages

With concepts and constexpr-if and consteval it's increasingly less of a problem

nly··on Job: Head of Stonehenge
The median terraced house (entry level family home) in London is actually £642K

'Inner London' and it goes up to £876K

nly··on Job: Head of Stonehenge
Yeah, but they probably have a £700K mortgage and will have to bulldoze one career to have kids.
nly··on Job: Head of Stonehenge
Snozzcumbers
nly··on Job: Head of Stonehenge
Funny, but it's actually in Wiltshire
nly··on The Token Value of $200/mo Plans
A 40:1 or 70:1 contention ratio doesn't sound unreasonable. Those under-utilising subsidize those over-utilising
nly··on WindowSwap: Someone else's window view from anywhere in the world
Thankfully none of this is live...

One of the ones I hit was a Californian residential suburb and had filmed the neighbours drive and front door.

← PreviousPage 3 of 34Next →