News for hackers. Stuff that matters.

phodo

Seeing a book or two I recommended more than 10 years ago is pretty cool.
no affiliation - just thought it was an inspiring story. I modified the YouTube headline to be more neutral.

Original: "After AI cost him his job, this North Texas engineer built a map for cheap local restaurants"

https://fs.blog/chestertons-fence/

“Do not remove a fence until you know why it was put up in the first place.”

Re:How we made hit video game Prince of Persia on Friday June 12, 2026 @04:28AM (#48501423)
In 7th grade social studies, I did a report for a class project, and printed the Karateka opening screen on my apple image writer as the cover page. I got an A+ because of that cover!
>> "who wants to own cutting vinyl?"

Well, Sega gamers for one: https://www.youtube.com/watch?v=c744iD0_fWU

RIP - last of the greats - hugely influential to me in his disciplined approach to perfecting his craft and overall grit - https://www.selmer.fr/en-int/blogs/infos/sonny-rollins-bridg...
Re:Claude.ai and API unavailable [fixed] on Wednesday April 29, 2026 @11:02PM (#47957553)
what model do you use?
Re:A playable DOOM MCP app on Tuesday April 28, 2026 @03:36PM (#47939474)
Great work. I wonder what the future "can it run doom ?" Will it be: Can it run AGI on a new quantum processor/ robot / bio-engineered cell. Or will it be Doom all the way down...
Re:The Visible Zorker: Zork 1 on Monday April 27, 2026 @04:21AM (#47919027)
Neat! Any cool stories? What games did you work on?
Re:Tell HN: Merry Christmas on Wednesday December 24, 2025 @08:23PM (#46381246)
Prompt: create a christmas tree in ascii but that is a merkle tree

Answer: Here’s an ASCII Christmas tree that is also a Merkle tree (Each parent node is the hash of its two children; leaves are the “data blocks”.)

                   MERKLE TREE  

                       H(ROOT)
                      /       \
                 H(0-1)       H(2-3)
                 /   \         /   \
              H(0)  H(1)    H(2)  H(3)
              / \    / \     / \    / \
            D0  D0 D1 D1   D2 D2  D3 D3

But that's a little too tidy to be a proper Christmas tree — so here’s a more “tree-like” version with ornaments, while still preserving the Merkle structure:

                        H(ROOT) 
                        /       \
                H(0-1)         H(2-3) 
                  /   \           /   \
            H(0)   H(1)     H(2)   H(3) 
              / \     / \        / \     / \
            D0  D0  D1  D1     D2  D2  D3  D3
           (leaf)(leaf)(leaf) (leaf)(leaf)(leaf)
Notes (so it’s actually Merkle-y)

D0–D3 = data blocks (your “presents” )

H(0) = hash(D0 || D0) (duplicated leaf for balance, common in Merkle trees)

H(0-1) = hash(H(0) || H(1))

H(ROOT) = hash(H(0-1) || H(2-3))

If you want, I can:

generate a bigger tree (8, 16, 32 leaves),

make the hashes look like real hash strings,

or format it like a perfect triangular Christmas tree silhouette while keeping the Merkle parent/child layout.

-- Prompt: format it like a perfect triangular Christmas tree silhouette while keeping the Merkle parent/child layout.

Answer: You got it — here’s a perfect triangular Christmas tree silhouette that still preserves the Merkle parent/child layout (parents directly above their two children, leaves at the base).

                                H(ROOT) 
                              /           \
                    ┌────────H(0-3)────────┐
                   /                       \
            ┌────H(0-1)────┐         ┌────H(2-3)────┐
           /               \         /               \
       ┌─H(0)─┐         ┌─H(1)─┐ ┌─H(2)─┐         ┌─H(3)─┐
       /     \         /     \   /     \         /     \
     D0       D1     D2       D3 D4     D5     D6       D7
                                                
If you want it even more like a Christmas tree (full silhouette + ornaments)

Here’s a slightly more “filled” version while keeping the structure valid:

                                    H(ROOT) 
                                  /           \
                         ──────H(0-3)──────
                               /               \
                     ─────H(0-1)─────   ─────H(2-3)─────
                           /         \           /         \
                   ───H(0)───   ───H(1)───   ───H(2)───   ───H(3)───
                        / \           / \           / \           / \
                      D0  D1        D2  D3        D4  D5        D6  D7

Edit: Note the emoji ornaments did not come through.
Re:Ask HN: What Are You Working On? (December 2025) on Sunday December 14, 2025 @10:18PM (#46270071)
My sister and I are glued to it, and she continues to destroy me, with consistent zero reveals and half the time to complete, as yours truly. We love this game. thanks.
Will this be the new "pelican on a bicycle" test for frontier models?

Ask HN: Futuristic and Sci-Fi Solutions to Fire Safety

Imagine you are tasked with a step function (10x, 100x, 1000x) improvements in fire safety, containment on a large scale basis. What would you dream up? Cost is not a factor in this case. Imagine fire becomes the existential threat. Imagine that climate change continues to be getting worse, and root causes for addressing climate change are being handled in another project.Yes, there are...

( Read More... | no comments | 3 points | on HN )
Good point. It’s 2 conditions and both have to be true : - Arrive first - Use that first arrival to innovate with your new AGI pet / overlord to stay exponentially ahead
One view is that it’s not first mover, but first arriver advantage. Whoever gets to AgI (the fabled city of gold or silver?, Ag pun intended) will achieve exponential gains from that point forward, and that serves as the moat in the limit. So you can think of it as buying a delayed moat, with an option price equivalent to the investment required until you get to that point in time. Either you believe in that view or you don’t. It’s more of an emotional / philosophical investment thesis, with a low probability of occurrence, but with a massive expected value.Meanwhile, consumers and the world benefit.
Re:Traveling with Apple Vision Pro on Wednesday October 16, 2024 @04:26PM (#41863498)
you can use the iPad kindle app and it works great.
Obsidian +1
Thank you all for the comments. Got a lot of good input and ways to think thru the tried and true tools (enjoying ripgrep-all + fzf) plus the standard ai/rag-style tools. I do think there is room for a bridge or an integrated way to pipe in similarity / embedding into the ripgreps of the world. Maybe something close to fzf’s piping model. Will explore if I have some time.

Ask HN: I have many PDFs – what is the best local way to leverage AI for search?

As the title says, I have many PDFs - mostly scans via Scansnap - but also non-scans. These are sensitive in nature, e.g. bills, documents, etc. I would like a local-first AI solution that allows me to say things like: "show me all tax documents for August 2023" or "show my home title". Ideally it is Mac software that can access iCloud too, since that where I store it all. I would prefer to not...

( Read More... | 90 comments | 63 points | on HN )
What are some top indie games you would recommend?
Re:A Clutter-Free Life: Going Paperless with Paperless-Ngx on Saturday October 07, 2023 @05:11PM (#37805610)
Does auto OCR work on iCloud files ? For example: I scansnap a huge collection of documents to a folder that is on iCloud (synced w desktop). It works great because it is so simple. However if I have, say, PDF document, will the Mac ocr functionality perform the OCR if the doc is on iCloud and will I then be able to search for the text in that doc via spotlight / finder ? I tested this a few years ago and the search on content inside scanned PDFs did not work. I had looked at Paperless but decided to stay on Mac os file system.
Re:Nvidia on the Mountaintop on Monday August 28, 2023 @08:21PM (#37302007)
What is a good book on how nvidia is run ?
Re:The Odd Appeal Of Absurdly Long YouTube Videos on Tuesday May 30, 2023 @05:00AM (#36122656)
If on a mac you can always type ‘caffeinate’ in Terminal and it will keep your laptop on when you close the lid.
Re:YouTube, the Jewel of the Internet on Sunday April 23, 2023 @11:43PM (#35683434)
My biggest gripe is that I cannot search playlists by name - especially when I want to add a new piece of content to a previously created playlist. I end up having to scroll through many playlists or end up creating duplicate playlists.
Re:Using LLaMA with M1 Mac and Python 3.11 on Sunday March 12, 2023 @03:56PM (#35125383)
What are some prompts that seem to be working on non-finetuned models? (beyond what is listed in example.py)

Older »