dezgeg
dezgeg on Hacker News
Isn't decrementing pos beyond start of haystack technically undefined behaviour?
Posted by
dezgeg on Wednesday October 21, 2026 @06:26AM
from the pagetable.com dept.
Well it doesn't need to be a generic purpose OCR, just one that works for this single UI layout and font.
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?
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
On top of the performance issue you mentioned, /mnt/c will be case-insensitive and trip up lots of Linux software!
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.
> 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.
I'm gonna guess that the crew have been regularly landing while ignoring similar automated warnings in the past
Not to mention how any sort of TLS key exchange is supposed to happen with an unidirectional network.
If your session / computer crashes, for one.
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.
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.
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.
Correct, N64 and PS1 era projects can essentially always be strictly tackled one function at a time. There are very minor things (like string literal sharing) where some earlier function can affect later function, but the workarounds are comparatively simple.
On the other hand, I have heard even old MSVC is a nightmare. Various things are affected by hash table ordering (so the names of variables matter in some situations), stuff like order of #includes mattering, etc.
The term for that is byte-matching decompilation. This is not such project.
Don't most harnesses already do that for bash commands?
There is more normal looking code in other files. It sounds like the original game had animation data (or similar) embedded in the C code.
Games use plenty of native code; so much in fact that when Intel tried to enter the Android tablet market with x86 they had to write an ARM emulator.
4G/5G Telco equipment (ab)use HDMI connectors/cables in a similar way.
How is that any different from PyPI, npm, cargo, etc?
Correct way is to have everything as-if a source dependency, but a globally shared cache system that can automatically provide artifacts if that exact version of source has already been compiled.
Any system that can only consume manually built (and even in worst case, only tagged and globally pushed) dependencies is horrible for cross-module development, like large scale refactorings and the like.
Yeah, for all the hate Gemini gets, at least it isn't obsessed with adding comments and it's output is more readable than recent Claude's.
I extremely doubt it's Gemini - all previous Geminis have had very different output style from other models. In a coding harness Gemini is extremely quiet and mostly just does thinking and tool calls, with the thinking blocks heavily summarized.
Also Claude and the Chinese models really like to say "Let me X", Geminis preference is "I will X".
I wonder if pilots' medical checks would catch some of these early?
How so? In my experience, the peak of Device Tree days was with the final 32-bit ARM chips before move to aarch64. Back then you had U-Boot which did minimal stuff and after that the kernel had full ownership of the hardware, no management firmware layers or extra code at runtime.
It's during the move to 64-bit aarch64 where things started to imitate the x86, with more and more always-on firmware and secure monitors and whatever being introduced. Nothing really to do with device tree, in fact ACPI is being pushed to the ARM too, yet again hiding more details of the hardware towards proprietary bytecode.
Seems like I have much better results with Gemini <= 3.5 Flash being able to solve 10 Lake levels. Of course there may be methodology differences (like how many times the level is attempted from scratch).
I wonder if the reasoning tokens are still being accidentally discarded between turns in those tests. It seems to be much more important to preserve those for Gemini, as it likes to stay quiet and and just make tool calls, unlike Claude that yaps a lot what it's planning to do.