dezgeg

Joined 13 years ago

Karma
2,898
Submissions
441
Member since
Aug 7
[ my public key: https://keybase.io/dezgeg; my proof: https://keybase.io/dezgeg/sigs/T97m4HN4fIeKVsJzfbIsXEgnHunf6ut9z2hZbtMU3BM ]
View on Hacker News

Recent submissions

Comment · 2 days ago
Isn't decrementing pos beyond start of haystack technically undefined behaviour?
Comment · 18 days ago
Well it doesn't need to be a generic purpose OCR, just one that works for this single UI layout and font.
Comment · 21 days ago
How do you know the original code didn't use some undefined variable on stack, but happened to consistently work because something else spilled a register containing "suitable" value?
Comment · 22 days ago
I've generally found it better to do it other way around - keep all the stuff in Linux partition and from Windows side access that over the virtual network share \\wsl.localhost\<Distro>\home\me\whatever
Comment · 22 days ago
On top of the performance issue you mentioned, /mnt/c will be case-insensitive and trip up lots of Linux software!
Comment · 24 days ago
Doesn't the Microsoft implementation work by having nop instruction as the first instruction of the function, which can then be patched to a jump to the patched code, that finally jumps back to the original function past the NOP?

Naive implementation of this scheme doesn't allow stacking.

Comment · 29 days ago
> YouTube, Google, Google Maps, and Chrome

You listed products that have been around for ~20 years. Keeping up already entrenched products running doesn't correlate with being able to launch new products.

Comment · 29 days ago
I'm gonna guess that the crew have been regularly landing while ignoring similar automated warnings in the past
Comment · 1 month ago
Not to mention how any sort of TLS key exchange is supposed to happen with an unidirectional network.
Comment · 1 month ago
If your session / computer crashes, for one.
Comment · 1 month ago
Yes, most of this is all supported. There is a existing recipe for building an image that you just dd to and SD card and can boot in a Raspberry Pi (and other devices supported by mainline kernel + u-boot).

Kernel is a package just like another; so you just write your own recipe. Patching kernel recipe works just like patching any Nix recipe.

Not sure about the rockchip-proprietary boot parts; you may be on your own.

Comment · 1 month ago
In theory device trees are supposed to be a OS-neutral stable ABI. Being able to put a device tree into unchangeable mask ROM is an often mentioned design goal.

However, there is a fatal flaw in the process that makes this a pipe dream in reality. In Linux, these rules only apply to reviewed and merged drivers. And during review any new DT interface will almost certainly be bikeshedded in some way.

So unless your chip vendor has upstreamed ALL their drivers before a device is manufactured, the device's firmware-provided DT will very likely work only against a vendor kernel and requires updating.

Comment · 1 month ago
It probably will help you maintain a better local fork, but getting all things upstreamed is the bottleneck and won't help too much here.

Live from the official Hacker News API

A modern reader for Hacker News · SvelteKit + Skeleton