HNHacker News
TopNewBestAskShowJobs

Graziano_M

727 karma · joined May 12, 2015

submissionscomments
Graziano_M··on Advanced Nintendo Entertainment System (ANES) – NES Modded to Use 2 PPUs
Should be able to fix a bunch of stuff. Slowdowns, missed frames, etc.

The game only has a limited amount of time to do all of its logic before the VSYNC interrupt forces it to draw to the screen. Game have different ways of handling this, e.g. by rolling back and abandoning the changes, drawing whatever they have, etc.

A faster clock should make it s/t games that don't always get done in time should at least have a better chance.

Graziano_M··on Usbliter8: an A12/A13 SecureROM Exploit
The DMA buffer points to the heap.

The USB controller has access to it, but it only increments it and decrements.

By sending multiple packets that are smaller than typical, we can trick the USB controller to decrement the base pointer by more than it should, getting to underflow.

It so happens that on A12, the DMA buffer is after the USB task stack, so getting it to decrement by enough will get it to point to the task stack, where we can then write to LR and control where some function on the stack will eventually return to.

Graziano_M··on Hyundai buys Boston Dynamics
#1 is the main reason. There is basically unlimited data of things being done with human bodies, and it's also the easiest data to collect (tell a human to do something).
Graziano_M··on Kuru Toga Dive: $100 mechanical pencil
OK I need to buy it now.
Graziano_M··on Kuru Toga Dive: $100 mechanical pencil
Cool pencil mechanism, but you can get it in a plastic model for $7 https://www.unibrands.co/products/kuru-toga-mechanical-penci...

I have this one and have been using it for years.

Graziano_M··on JLink JTAG Access on the Pinecil
Why that over the debug probe firmware?
Graziano_M··on I made a million dollar product from my dorm room (2025)
It doesn't have to be for that, but yeah, that's the target. At the time, a lot of keyboard designs were based around the pro-micro formfactor, so this made it more-or-less a drop in replacement.
Graziano_M··on Key, in sight – A guide, of sorts, to keyboard customization
I do this but better:

- caps + key = control + key

- tap caps = escape

- caps + space + key = ctrl, opt, cmd + key

All done in my keyboard firmware.

Graziano_M··on Men who stare at walls
One of the top comments on the video is "Bro accidentally discovered meditation"
Graziano_M··on Show HN: Ghost Pepper – Local hold-to-talk speech-to-text for macOS
I got that reference!
Graziano_M··on An Interesting Find: STM32 RDP1 Decryptor
It's probably to keep the payload in SRAM for longer.

If it's the attack I believe it to be, basically it:

1. Acts as a debugger (core blocks touching flash) and writes a 2-part payload to SRAM.

2. Detaches the debugger, straps the boot pins to boot from SRAM (payload 1)

3. Resets the board via reset pin (keeping SRAM)

4. SRAM payload 1 runs (core blocks touching flash), configuring the FPB to 'overlay' the reset vector on flash with a pointer to payload 2

5. Flicks off the power just long enough for the hardware to reset, but not long enough for the SRAM to clear (this is where I think being cold helps).

6. Device boots 'unlocked' into 'flash', but the FPB hijacked the vector table and so the CPU immediately jumps to payload 2.

7. Payload 2 can now do whatever with flash (e.g. dump it out over UART or SPI)

Graziano_M··on Fix your tools
Weird. I happen to be watching Malcolm in the Middle and I find a link to Malcolm in the Middle
Graziano_M··on Paged Out Issue #8 [pdf]
Ah! I thought your wording was a hint (it's the viewer that thinks it's only 92 pages).
Graziano_M··on Paged Out Issue #8 [pdf]
Oh yeah. I have the paperback 'bible'. I don't think that that one is a polyglot, though.
Graziano_M··on Paged Out Issue #8 [pdf]
I feel like this tweet suggests that the PDF is a polyglot or an embedded second PDF.

https://x.com/gynvael/status/2024180784064598134

Graziano_M··on Vim 9.2
Yep! and I already do: https://github.com/Grazfather/dotfiles/tree/master/nvim/fnl
Graziano_M··on I fixed Windows native development
I literally came to post the exact same line as my indicator that this was AI-generated. I ctrl-f'd first and sure enough I'm not alone in using 'key insight' as the canary.
Graziano_M··on Vim 9.2
I wish they supported Janet
Graziano_M··on Skip the Tips: A game to select "No Tip" but dark patterns try to stop you
I try to 'punish' for these and tip less than I would normally.
Graziano_M··on Oxide raises $200M Series C
Is Jessie Frazelle still there? She is very impressive.
Graziano_M··on Zig Libc
Are you using an agent? It can quickly notice the issue and fix it. Obviously if it's trained on an older version it won't know the new APIs.
Graziano_M··on Zig Libc
You must have not tried this with an LLM agent in the past few months.
Graziano_M··on Defeating a 40-year-old copy protection dongle
What did the function that called into it do with the result? If it was a simple "if rv != 0xabcd goto fail" the patch could probably be simplified to just... nop a few bytes.
Graziano_M··on The WiFi only works when it's raining (2024)
In a very strange coincidence, I happened to read that first story in a book[1] I'm reading, just last night! What are the chances?

[1] https://debuggingrules.com/

Graziano_M··on Over 700k (UK) graduates out of work and claiming benefits, analysis suggests
I don't get it?

    707000 = 1.46x
    x = 707000/1.46
    x = 484247
707000-464272 is more than 200k
Graziano_M··on Anthropic's original take home assignment open sourced
I recognized the name and dug around too. I played DEFCON CTF with him back in the day!
Graziano_M··on Making Magic Leap past Nvidia's secure bootchain and breaking Tesla Autopilots
I hope Nvidia's new offerings (Orin, Thor, etc) don't have the same issue in their bootROM. That would be an incredibly expensive mistake.
Graziano_M··on My Snapdragon Dev Kit was healthy and working fine until a Windows update failed
Yeah, I think so. It's been ~25 years, and only while typing out that comment did I remember the error message and realize that's probably what I had done.

If I recall correctly, he ended up scrapping the drive.

Graziano_M··on Play Aardwolf MUD
I had a crappy computer with crappy internet back in the day. I didn't play Aardwolf, but I played another mud called Alter Aeon. I still have fond memory of it and check back in every few years.
Graziano_M··on My Snapdragon Dev Kit was healthy and working fine until a Windows update failed
I had a friend's dad's computer's HDD fail while I was installing Linux on it to show him it. That was terrifying. I still remember the error, and I just left with it (and Windows) unable to boot. Later my friend told me that the drive was toast.

Come to think of it, maybe it was me. I might have trashed the MBR? I remember the error, though, "Non system disk or disk error".

← PreviousPage 2 of 14Next →