HNHacker News
TopNewBestAskShowJobs

dezgeg

2,900 karma · joined August 7, 2013

[ my public key: https://keybase.io/dezgeg; my proof: https://keybase.io/dezgeg/sigs/T97m4HN4fIeKVsJzfbIsXEgnHunf6ut9z2hZbtMU3BM ]
submissionscomments
dezgeg··on Using Ghidra and Python to reverse engineer Ecco the Dolphin
Usually as in "most of the time regardless of the game", yes.

Seems like a sibling comment explained this already in much more detail: https://news.ycombinator.com/item?id=42082420

dezgeg··on Using Ghidra and Python to reverse engineer Ecco the Dolphin
Usually the timing rules aren't the same for TAS and RTA, as TAS timing always starts at console power-on while RTA usually when 'new game' is selected from the menu.
dezgeg··on Monorepo – Our Experience
> I don't see what point you tried to make. So A breaks when someone breaks B. That's ok. You spot the error the moment you try to update A, well before you commit any code. You file a low-priority ticket and go on with your life because A is still good in production.

What inevitably happens is that A hasn't been updating their version of B in weeks/months, but some recently landed bug fix in B is now needed RightAway(tm). And now if something accidental breakage happened between now and weeks/months ago, it'll be much more annoying to triage.

> Not really, it's the easiest part of the whole thing and a non-issue. If you manage a package this does not even register as a problem.

Well, where I'm at we have semi-regularly teams we have never heard of using our libraries. How can I know what things such people are using?

dezgeg··on Monorepo – Our Experience
Bugs can and will happen, eg. when A depends on B and some developer accidentally makes a change to B that will pass B's tests but only break in A's use case. In monorepo case such bug can be noticed before the broken code hits master. In versioned case it might take long time (until B releases, and A takes the release into use).

Knowing when no one uses older versions is also hard (especially when you can no longer grep for them, unlike a monorepo) so some people get into defensive mode and never delete or fix any interfaces because "someone might still be using it".

dezgeg··on Monorepo – Our Experience
In my experience this turns to nightmare when (not if, when) there is need to make changes to the libraries and app at the same time. Especially with libraries it's often necessary to create a client for an API at the same time to really know that the interface is any good.
dezgeg··on LTESniffer: An Open-Source LTE Downlink/Uplink Eavesdropper
Possibly it's decoding MIB only, which is only 1.080 MHz wide.
dezgeg··on Asterinas: OS kernel written in Rust and providing Linux-compatible ABI
No. There is no stable ABI nor API for in-kernel device drivers.
dezgeg··on How to fork
Agreed, and in the wild I've indeed seen rebasing used significantly more often than merges for this purpose.
dezgeg··on AAA Gaming on Asahi Linux
x86 app might mmap 8kb, then munmap the second 4kb and expect that to work. But not possible on 16k pages.
dezgeg··on Buildroot
I've generally found buildroot work pretty well. One common problem causing weird issues however is lots of tools from the host system are used (without any sandboxing). E.g building old releases of buildroot on newer Ubuntu will break.

Its biggest Achilles heel IMO is the need to always compile everything from scratch with no possibility of caching. Also the fact that incremental rebuilds after changing config options isn't guaranteed to work unless you manually know to know which packages to force nuke and force to recompile (this is intentional design choice for implementation simplicity and well documented). Also having two different boards that inherit from common shared config isn't really supported, everyone just rolls their own custom config splicer at that point.

Yocto fixes those issues, but IMO the most other things are much less ergonomic. While buildroot is extremely simple, yocto is total opposite to that, an architecture astronaut's dream. There is custom language to learn, ton of functionality, config and documentation split in tiny files in different repositories. Of which everyone using slightly different subset to accomplish almost the same thing.

dezgeg··on Varlink – IPC to replace D-Bus gradually in systemd
Yeah, using serialization format that doesn't even have obvious way of representing every possible Linux filename (nothing mandates filenames to be valid UTF-8, only thing they can't contain is NUL and '/') seems bad fit for low-level system services.

I can't wait to have apps and services crash and burn left and right due to accidentally (or maliciously) created non-UTF8 filenames in world readable directories.

dezgeg··on I Made a Rubbish Clock
I found this part funny:

> Also, I really didn't want yet another thing with [...] code to debug (there comes a time in every programmer's life when they can't face debugging yet another thing that should be simple and just work)

... when two paragraphs later comes the code to generate a SVG :)

dezgeg··on Things you should know about Windows Input, but would rather not
Another "fun" thing is old joysticks and steering wheels that require calibration. This used to be done in the windows control panel such that not every game needs to implement that... However it seems the latest API in fashion that eg. Unity uses just totally ignores that native calibration totally. (Could just be an Unity side problem also). So bunch of old wheels are broken on Unity.
dezgeg··on Why Scrum is stressing you out
Good example is SpaceX vs. all the others
dezgeg··on Engineer's guide to convincing your Product Manager to prioritize technical debt
Also not so coincidentally the 'fun' to fix debt is often prioritized over critical debt.

Case in point, the situation with our flaky/unstable test got so bad that quarter of them are now to set ignore any failures. Pretty much zero interest in fixing.

Meanwhile, the rewrite of a service that had no outstanding bugs (but was originally written by other team but handed to us) is still not done after 4 months...

dezgeg··on Porting systemd to musl Libc-powered Linux
It's already been in the mid range (~1 GHz CPU, ~1 GB RAM) embedded systems over half a decade.
dezgeg··on Extreme Pi Boot Optimization
The firmware is in control of the clocks, and in case too high of a clock is specified in config.txt it burns a 'warranty void' fuse.
dezgeg··on I'm tired of fixing customers' AI generated code
The +x needs to belong inside the {}, ie. "${var+x}" not "${var}+x"

But I agree I wouldn't extrapolate too much from one such brain fart

dezgeg··on Stripe's Monorepo Developer Environment
In addition to what you mentioned, the ability to atomically commit to a library and all of its consumers. And for a change to a library run the tests of all of its consumers as well.
dezgeg··on RP2350 PicoDVI Preview
I'd be surprised if that was not fixable in the Jetson with pure software changes.
dezgeg··on Remembering Larry Finger, who made Linux wireless work
Not true, there are smaller companies providing closed source kernel modules as well. Check any Android image for a device with SD card slot in the era where open source exfat driver didn't exist, and you'll likely find one of the 2 proprietary exfat driver modules.

Embedded/mobile projects don't tend to use bleeding-edge kernels and stuck on one version regardless of closed source modules anyway.

dezgeg··on Agilent 2000a / 3000a Oscilloscope NAND Recovery
I assume that's because wear leveling is something that would be implemented purely in software, so there's no much point having such info in a hardware manual.
dezgeg··on ChromeOS will soon be developed on large portions of the Android stack
Mainline kernel tends to have only basic support (if at all) for many SoCs that actually get used in phones, especially full power management support has been lacking.
dezgeg··on LXQt 2.0.0
There's still plenty of embedded shops stuck thinking "it's embedded so only thing performant enough is C++", despite having multicore SoCs with multiple GBs of memory and integrated GPU. But I agree (and certainly hope so) that the amount of those companies go down.
dezgeg··on Tax consequences of WIN95 team members keeping a piece of software for testing
It sounded to me that he's just responding to a frequently asked readers question. And I'd guess it's more likely for people to ask such question if they're not familiar with US taxation.
dezgeg··on German state moving 30k PCs to LibreOffice
Haven't those people who have years of experience also gone through years of forced MS Office GUI changes?
dezgeg··on RP2040 Boot Sequence
The same thing has happened in the Linux kernel - there are multiple semi-duplicate SoC USB drivers for the Synopsys core.
dezgeg··on More powerful Go execution traces
Haskell enforces that types and type constructors start with Uppercase, and that everything else starts with lowercase.
dezgeg··on Cloning a Laptop over NVMe TCP
Somehow I had thought even in buffered mode the kernel would only accept block-aligned and sized I/O. TIL.
dezgeg··on Cloning a Laptop over NVMe TCP
Isn't `nc -l -p 1234 > /dev/nvme0nX` working by accident (relying on that netcat is buffering its output in multiples of disk block size)?
← PreviousPage 5 of 14Next →