HNHacker News
TopNewBestAskShowJobs

pilord314

1 karma · joined December 11, 2025

embedded fw engineer. C, Python
submissionscomments
pilord314··on MTG Bench: Testing how well LLMs can play Magic
They should randomize games of judge tower and see who wins:

https://mtg.fandom.com/wiki/Judge_Tower

pilord314··on SectorC: A C Compiler in 512 bytes (2023)
you bootstrap it into a library you can include optionally, duh
pilord314··on We put Claude Code in Rollercoaster Tycoon
I've been playing around with an AI generated knowledge base to grok our code base, I think you need good metrics on how the knowledge base is used. A few things is:

1. Being systematic. Having a system for adding, improving and maintaining the knoweldge base 2. Having feedback for that system 3. Implementing the feedback into a better system

I'm pretty happy I have an audit framework and documentation standards. I've refactored the whole knowledge base a few times. In the places where it's overly specific or too narrow in it's scope of use for the retained knowledge, you just have to prune it.

Any garden has weeds when you lay down fertile soil.

Sometimes they aren't weeds though, and that's where having a person in the driver's seat is a boon.

pilord314··on Ask HN: What are you working on? (January 2026)
A disassembly diff tool:

input <- old_image new_image

output -> report

Example summary:

================================================================================

TOTAL

================================================================================

  -20 insns, -40 bytes (c.insn→insn +40b)  [spill -22, cmov +3, call -2, br -1]  mem +13, alu -6, mv -4, bitmanip -1

  Added/Removed: +0 / -220 bytes

  Functions: 4 better (-20 insns), 0 worse (+0 insns), 1 removed, 1062 unchanged
pilord314··on When would you ever want bubblesort? (2023)
When you get into C code sometimes you know the most thinngs that will be in the priority queue is like 3. So bubble sort is fine.

You can also do something like a calendar queue with bubble sort for each bin.