HNHacker News
TopNewBestAskShowJobs

hun3

304 karma · joined February 21, 2022

submissionscomments
hun3··on How we rebuilt Next.js with AI in one week
> if your framework's value can be replicated by targeting its test suite,

Side note: this is also why SQLite's full test suite is proprietary / private

https://sqlite.org/th3.html

hun3··on How I use Claude Code: Separation of planning and execution
Except that merely surfacing them changes their behavior, like how you add that one printf() call and now your heisenbug is suddenly nonexistent
hun3··on AI is not a coworker, it's an exoskeleton
eke*

(yes, I'm dying on this hill)

hun3··on Hands-On Introduction to Unikernels
Mostly depends on how bloat correlates to attack surface, but you're right
hun3··on 200 MB RAM FreeBSD desktop
The size feels like you can almost fit it in a L3 Cache-As-RAM
hun3··on Nested code fences in Markdown
Sure, as long as you don't run out of `s
hun3··on Hands-On Introduction to Unikernels
Hypervisor as a microkernel
hun3··on Hands-On Introduction to Unikernels
Stripping away unused drivers (.config) and other "bloats" can get you surprisingly far.
hun3··on Kernel bugs hide for 2 years on average. Some hide for 20
Then the question becomes: to what extent do you trust Xen and Qubes RPC?
hun3··on Test, don't just verify
Verified software should satisfy the liveness property; otherwise, an infinite loop that never returns would pass as "correct."

Verifying realtime software goes even further and enforces an upper bound on the maximum number of ticks it takes to complete the algorithm in all cases.

hun3··on Using TypeScript to obtain one of the rarest license plates
Just append

  X-Crawl-Reason: Finding spare license plates, throttled ONLY to prevent service disruption. To the best of my knowledge, [legalese claiming good faith and compliance to all applicable laws]
(Mandatory disclaimer: IANAL, ignorance is no excuse for breaking laws)
hun3··on Code Is Debt
> Code is an asset.

Funnily enough, this doesn't contradict "code is debt" because Asset = Equity + Liability.

hun3··on Some bits on malloc(0) in C being allowed to return NULL
My next malloc(3) is returning NAN.
hun3··on Claude has learned how to jailbreak Cursor
surprised pikachu face
hun3··on MCP is the coming of Web 2.0 2.0
maybe REST? I think a proper REST system of APIs is designed to be discoverable.
hun3··on Gmail to SQLite
Probably something like

  Error: stepping, NOT NULL constraint failed: messages.dkim (19)
because, unlike MySQL, SQLite apparently returns SQL NULL for JSON null value.
hun3··on Make C string literals const?
I think we're going a bit past each other.

In AVR or other MPU-less architecture you can literally modify the string literal memory without triggering a crash.

Why? Because there is no memory protection ("rodata") at all.

And such microprocessors are still in use today, so it's a bit too far fetched to say "really old code."

It's UB, sure, but how many embedded programmers actually care? The OP's proposal is trying to change the type system so that this UB becomes much less likely to trigger in practice.

hun3··on Make C string literals const?
The affected platforms lack an OS (e.g., bootloaders) and/or an MMU/MPU (e.g., microprocessors like AVR)
hun3··on Tracing the thoughts of a large language model
Quoting a paragraph from OP (https://www.anthropic.com/research/tracing-thoughts-language...):

> Sometimes, this sort of “misfire” of the “known answer” circuit happens naturally, without us intervening, resulting in a hallucination. In our paper, we show that such misfires can occur when Claude recognizes a name but doesn't know anything else about that person. In cases like this, the “known entity” feature might still activate, and then suppress the default "don't know" feature—in this case incorrectly. Once the model has decided that it needs to answer the question, it proceeds to confabulate: to generate a plausible—but unfortunately untrue—response.

hun3··on WinRing0: Why Windows is flagging your monitoring and fan control apps as threat
WinRing0 is associated with CVE-2020-14979 where any local program can take complete control (NT AUTHORITY\SYSTEM) over your system: https://nvd.nist.gov/vuln/detail/cve-2020-14979

It is possible, although not confirmed, that the block was motivated by an ongoing malware threat that involves this particular threat, but take this with a grain of salt.

hun3··on Performance of the Python 3.14 tail-call interpreter
-O3 does autovectorization: turning your loops into a bunch of SIMD instructions, sometimes even drastically changing performance profile.

If autovectorization is "not that much magic" then idk what else it is.

hun3··on Google's Sergey Brin: Engineers Should Work 60-Hour Weeks in Office to Build AI
At least it's one day off from 996.icu

for now.

hun3··on Open source projects could sell SBOM fragments
Tangentially related: https://sqlite.org/purchase/license
hun3··on What does "supports DRM and may not be fully accessible" mean for SATA SDDs?
idk, losing access to preinstalled OEM license?
hun3··on SQL nulls are weird
Or VBA, which has Empty, Null, and Nothing:

https://excelbaby.com/learn/the-difference-between-empty-nul...

(and sometimes Missing)

hun3··on Debugging memory corruption: who the hell writes "2" into my stack? (2016)
(2016)
hun3··on Demystifying Debuggers, Part 2: The Anatomy of a Running Program
Have fun brute forcing heisenbugs and LLM hallucinations
hun3··on AI Decodes the Calls of the Wild
See also: word embedding and sentence embedding models
hun3··on Making memcpy(NULL, NULL, 0) well-defined
Not really. MMIO mapped at 0x0 for example.
hun3··on Create block devices on your computer backed by Redstone Memory
> The ping backed memory storage

It's worth noting that this is a network reincarnation of the old tried-and-true delay-line memory.

https://en.wikipedia.org/wiki/Delay-line_memory

← PreviousPage 2 of 5Next →