HackerLangs
TopNewTrendsCommentsPastAskShowJobs

phodo

no profile record

comments

phodo
·29 days ago·discuss
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!
phodo
·last month·discuss
>> "who wants to own cutting vinyl?"

Well, Sega gamers for one: https://www.youtube.com/watch?v=c744iD0_fWU
phodo
·last month·discuss
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...
phodo
·2 months ago·discuss
what model do you use?
phodo
·2 months ago·discuss
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...
phodo
·2 months ago·discuss
Neat! Any cool stories? What games did you work on?
phodo
·7 months ago·discuss
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.
phodo
·7 months ago·discuss
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.
phodo
·7 months ago·discuss
Will this be the new "pelican on a bicycle" test for frontier models?
phodo
·10 months ago·discuss
a few moments earlier... https://en.wikipedia.org/wiki/The_Mother_of_All_Demos