HNHacker News
TopNewBestAskShowJobs

planede

2,063 karma · joined April 21, 2022

submissionscomments
planede··on On the Costs of Syscalls (2021)
Maybe the problem is that it is "lib"systemd, meaning it doesn't really have control over when the process forks, it's the application code's responsibility. Although I would probably also avoid this design, but that would probably make the library interface a bit unfriendly, with the application needing to pass its own pid to library functions where appropriate.
planede··on The things nobody wants to pay for
The question is how much unrestricted donations would the Linux Foundation get if they offered directed donations as well. They might not get enough unrestricted funds to pull this.

It might also not look good on them if they used the unrestricted donations in a very unbalanced way to counter restricted donations the way you describe, so they might get less unrestricted donations in the future.

planede··on The things nobody wants to pay for
As an individual where do I click and say donate $20 towards the development efforts of the Linux kernel?

It looks like one can donate towards the LF as a whole [1], but the LF manages a ton of other projects besides Linux. So if was possible to restrict small donations towards the development of the Linux kernel, that would be great.

[1] https://www.linuxfoundation.org/about/donate

planede··on Apple announces changes to iOS, Safari, and the App Store in the European Union
The distinction is between using APIs (documented or undocumented) vs using and distributing 3rd party libraries and SDKs.

It's likely that in order to avoid distributing Apple IP one would need to reverse engineer some undocumented APIs, but that's coincidental.

planede··on Post Office plan to sack Horizon IT reviewer kept secret, documents reveal
Sure enough, it is Arial.

https://imgur.com/a/WAdo55M

I might play with imageworsener to see if I can figure out the exact downscaling method.

edit: ah, you beat me to it. I just played with Inkscape and word spacing to match that line. The scanned document looks very lightly slanted, but I don't think it matters too much.

planede··on Post Office plan to sack Horizon IT reviewer kept secret, documents reveal
I wonder if the redacted versions are available in higher resolution.

I think the downscaled version could potentially be deciphered if the exact font is identified.

planede··on Apple announces changes to iOS, Safari, and the App Store in the European Union
Using APIs is fair use. If you can avoid using Apple code to do so, or only minimal ones, like headers, then I think you would be in the clear. See Google vs Oracle. IANAL of course and personally I wouldn't pursue this.
planede··on Ode to Internet – V.90 56k dialup modem handshake for orchestra (1996) [video]
It sounds closer when it's sped up.
planede··on Why are we templating YAML? (2019)
Hang on there, array of strings? Environment variables can't handle that either without quirks.
planede··on Why are we templating YAML? (2019)
How does it compare to dhall?
planede··on The humble brilliance of Italy's moka coffee pot (2018)
Do yourself a favor and get a silicone replacement gasket instead of the Bialetti one.
planede··on Driver hack lets you run Linux after Windows BSODs, no reboot required
It was basically the same idea as WSL1, i.e. running the Linux kernel (or equivalent) in Windows userspace.

It actually worked decently when I tried it back then.

planede··on 6174
Even if the set is infinite, there surely is a smallest non-negative interesting integer.
planede··on Passing nothing is surprisingly difficult
I read this as "there were a lot of buggy implementations of the C standard, so we imported the bug into the standard". Crazy. Don't make the language less defined going forward.

When those implementations eventually pick up C23, they surely could fix the bug as well. At best this should have been an errata/defect for the previous standard, so that the previous standards document behavior of implementations of said standards.

planede··on Std: Clamp generates less efficient assembly than std:min(max,std:max(min,v))
You can't fully disable fast-math per-library, moreover a library compiled with fast-math might also introduce inaccuracies in a seemingly unrelated library or application code in the same executable. The reason is that fast-math enables some dynamic initialization of the library that changes the floating point environment in some ways.
planede··on Std: Clamp generates less efficient assembly than std:min(max,std:max(min,v))
Another PSA is that dynamic libraries compiled with fast-math will also introduce inaccuracies in unrelated libraries in the same executable, as they introduce dynamic initialization that globally changes the floating point environment.
planede··on Std: Clamp generates less efficient assembly than std:min(max,std:max(min,v))
On a somewhat similar note, don't use std::lerp if you don't need its strong guarantees around rounding (monotonicity among other things).

https://godbolt.org/z/hzrG3s6T4

planede··on Lichee Console 4A – RISC-V mini laptop: Review, benchmarks and early issues
The thing to be checked are the installed GPG keys that are trusted for package signing.
planede··on A supply chain attack on PyTorch
While I'm not familiar with the black market, I refuse to believe that an arbitrarily modified pytorch binary release has zero value.
planede··on Nuclear smartphone 3V battery lasting for 50 years
The catch seems to be delivering only 100 microwatts. Very far from powering a phone.
planede··on Demonstrating Cybertruck's dangerous lack of pinch sensors
Fortunately these kind of accidents never happen, so nothing to see here. /s
planede··on The memory remains: Permanent memory with systemd and a Rust allocator
This is going to be possible with CRIU and Wayland applications. I saw a PoC with Qt that did this.
planede··on The memory remains: Permanent memory with systemd and a Rust allocator
You are better off with CRIU at this point, IMO.
planede··on British Post Office Scandal
Couldn't the parliament pass some generic law that could make the work easier? It's clear that many people are convicted on the basis of evidence coming from the same faulty source, yet the convictions need to be reviewed case-by-case. The goal could be to reduce this friction for similar scenarios, not just for the Horizon convictions.
planede··on The Curious Case of MD5
Are court documents routinely analyzed by computer forensic experts, or only when there is suspicion of tampering?
planede··on The Curious Case of MD5
PDF being Turing complete doesn't mean that the program embedded within can access the bytes of the document.
planede··on The Curious Case of MD5
> the real document won't have hash colliding artifacts in it

I don't think that hash colliding artifacts would necessarily be obvious. They could be in part of a file that ends up being ignored by parsers of the file format. Or it could be some low level noise in pixel values in scanned documents.

planede··on GCC Specs: An Introduction
> That's inevitable in my opinion, because this modular interface has been used for a very long time.

I wonder how widely it's actually used and if making this an exposed modular interface was worth it.

planede··on GCC Specs: An Introduction
I think the main mistake here is that it was made to be a public interface instead of an internal implementation detail. Now you can expect that some people are relying on custom specs. Migration to a saner configuration language is still possible, but it probably needs to be done with deprecating and phasing out the old DSL concurrently to introducing a new language. Bonus points for providing a tool for converting old specs to the new language.
planede··on Salim Kara stole $2M in coins with a magnet and a car antenna (2022)
Correlating with water and electricity bills could raise suspicion, but yeah, it's probably harder.
← PreviousPage 6 of 24Next →