Y
HN Search
Hacker News Search
new
|
comments
|
top
|
jobs
ori_b
searching PlanetScale…
1.
▲
2.
▲
3.
▲
4.
▲
5.
▲
6.
▲
15 ms
·
331.
▲
by
ori_b
1y ago
Because the low power laptop part has rather different characteristics to the desktop part, according to CPUmark benchmarks. It's not surprising that the low power part is slower; it's surprising when the newer/faster part is
332.
▲
by
ori_b
1y ago
Are you sure they're outliers? Here's someone else with similar results: https://arkanis.de/weblog/2017-01-05-measurements-of-system-... Google also reported similar numbers in 2011, when publicizing their fi
333.
▲
by
ori_b
1y ago
Something is definitely up. Is there a VM? are you running in a container with seccomp? Why are your calls to sqrt so slow on your newest machine? Why is sqrtrec free on the others?
334.
▲
by
ori_b
1y ago
> If the answer is no to any of these questions, it's likely to lead to surprise/confusion. Worse, if the answer is yes to any of these questions, it's also likely to lead to surprise/confusion. The only way to win
335.
▲
by
ori_b
1y ago
I can't reproduce. When I run The code is here: https://github.com/gsauthof/osjitter/blob/master/bench_sysca... , here are the numbers on the computers I have: AMD Ryzen 7 9700X Desktop: --
336.
▲
by
ori_b
1y ago
For some reason, it seems like the vast majority of people pontificating about AGI scenarios seem to have trouble contemplating the idea that humans might not remain in charge.
337.
▲
by
ori_b
1y ago
The architectural registers can be renamed to physical registers. https://en.wikipedia.org/wiki/Register_renaming As far as that article, it's interesting that the numbers vary between 76 and 560 ns; the benchmark
338.
▲
by
ori_b
1y ago
A modern x86 processor has about 200 physical registers that get mapped to the 16 architectural registers, with similar for floating point registers. It's unlikely that anything is getting written to cache. Additionally, any writes, ab
339.
▲
by
ori_b
1y ago
When you measure, what numbers do you get? Also: register renaming is a thing, as is write combining and pipelining. You're not flushing to L1 synchronously for every register, or ordinary userspace function calls would regularly take
340.
▲
by
ori_b
1y ago
Those are only served from userspace if you call the libc wrappers. The syscall() function bypasses the wrappers.
341.
▲
by
ori_b
1y ago
No need to guess, it's 10 lines of code. And you can use bpftrace to watch the test program enter the kernel. Using the libc wrapper will use the vdso. Using syscall() will enter the kernel. I haven't measured, but calling the vds
342.
▲
by
ori_b
1y ago
> spectre & meltdown. I just measured. On my Ryzen 7 9700X, with Linux 6.12, it's about 50ns to call syscall(__NR_gettimeofday). Even post-spectre, entering the kernel isn't so expensive.
343.
▲
by
ori_b
1y ago
Note: that page is being served from a host running that file system.
344.
▲
by
ori_b
1y ago
If you don't think they're capable of listening to the same things as you are, taking into account team guidance, and coming to a reasonable decision, why would you trust them to implement something? If they're not getting th
345.
▲
by
ori_b
1y ago
Alternatively, my preferred method: "You're the one doing the work. Tell me what your decision is." Your job as a leader isn't necessarily to make the decision, just to be sure that the decision was made.
346.
▲
by
ori_b
1y ago
Alternative title: "I'm just here for a paycheck. Maybe you should be too."
347.
▲
by
ori_b
1y ago
> Unless you want a phone that comes with a pre-installed rubber bumper around the outside Sure, why not? If there's going to be a rubber bumper anyways, why wouldn't I want the manufacturer to ship it?
348.
▲
by
ori_b
1y ago
The selling point was efficiency, not quality. It follows that the result wasn't quality.
349.
▲
by
ori_b
1y ago
You don't particularly want indexing for that, but cursors. A byte offset (wrapped in an opaque type) is sufficient for that need.
350.
▲
by
ori_b
1y ago
Where's the chording?
351.
▲
by
ori_b
1y ago
No, it's a good time to start lobbying for positive privacy legislation.
352.
▲
by
ori_b
1y ago
Great analogy. As someone else pointed out in a different subthread, quality furniture isn't held together with nails.
353.
▲
by
ori_b
1y ago
That sandboxing doesn't help if your phone gets stolen.
354.
▲
by
ori_b
1y ago
If you log into accounts from your phone, that's also 1fa in the same way. And if you keep your phone in the same place as your laptop, so it can get stolen at the same time, that's also effectively 1fa. The threats that TOTP prot
355.
▲
by
ori_b
1y ago
Agreed. Boycotting them is necessary but insufficient.
356.
▲
by
ori_b
1y ago
Passkeys would be wonderful if they removed remote attestation. Remote attestation is still there, so I will not touch it.
357.
▲
by
ori_b
1y ago
Oh. Company towns.
358.
▲
by
ori_b
1y ago
A purely technical solution is insufficient. Put on your suit and prepare to play politics.
359.
▲
by
ori_b
1y ago
There's a lot of effort going into making it impossible to interact with the rest of the world if you run your own code. Look up remote attestation.
360.
▲
by
ori_b
1y ago
Not copy pasting code also makes it harder to change the system correctly at some point later on, because you transformed a local decision ("does this code do what the caller needs?") onto a global one ("does this code do wha
More ›