logoalt Hacker News

Tell HN: Merry Christmas

1322 pointsby basilikumyesterday at 10:56 PM318 commentsview on HN

Different cultures celebrate Christmas at different days and time zones are a thing. But it's Christmas here, so:

Merry Christmas to everyone. I hope you get some rest and can spend time with people who are dear to you and get to focus on what's important rather than getting lost in stressing about everything having to be perfect.

Also much love to everyone who cannot spend their Christmas with dear people.

To make sure this post meets the relevancy criteria, here is a Wikipedia article about some Christmas (more precisely advent) tradition which I personally really like: https://en.wikipedia.org/wiki/Christmas_market


Comments

GreyZephyryesterday at 11:54 PM

Merry Christmas!

fuzzfactortoday at 3:06 AM

Meanwhile almost nobody noticed this page:

>single html file, no frameworks, images or webgl

Happy Holidays https://xe.dev/xmas 2 points by jFriedensreich 15 hours ago

https://news.ycombinator.com/item?id=46374804

ekianjotoday at 2:40 AM

Merry Xmas Everyone!

LargoLasskhyfvtoday at 2:34 AM

Sti-hilläh Na-hacht, hei-li-gäh Na-hacht.

Wir Frässähn bis die Schwarte kracht!

tuggiyesterday at 11:46 PM

Merry Xmas HN!

fergbraintoday at 3:21 AM

Blessed Feast of the Nativity of Our Lord Jesus Christ

booleandilemmatoday at 1:27 AM

Merry Christmas HN!

andrepdtoday at 1:16 AM

Happy holidays!

reactordevyesterday at 11:43 PM

What a year!

2OEH8eoCRo0today at 1:03 AM

Merry Christmas to all!

wraptiletoday at 5:58 AM

Happy winter solstice! I used to like Christmas but current version of geopolitics and christo fascists really nerfed the joy of Christmas. Maybe they'll release a patch fix by next year

show 1 reply
aclarkyesterday at 11:23 PM

Merry XMAS!!

adventuredtoday at 12:47 AM

Merry Christmas HN

sallveburrpiyesterday at 11:34 PM

Feliz natal

hubraumhugotoday at 9:45 AM

Merry Christmas HN! You're one of the few constants among the many variables in my life, please never change :)

curtisblaineyesterday at 11:19 PM

Merry Christmas!

jackblack369today at 2:53 AM

enjoy your life

sdobbietoday at 12:57 AM

Merry Christmas!

readthenotes1today at 12:45 AM

Can't believe no one's regifted this present yet:

https://xkcd.com/835/

tom1031today at 3:14 AM

hello

songodongotoday at 1:52 AM

Merry Christmas! Christ is King.

imchillybtoday at 2:02 AM

Twas brillig, and Santas toes were freezing in the sleigh.

All icey were the Reindeer hooves, moody and unlikely they were to play.

Then Christmas Eve did come about and, Santa, mounted slay he did.

Present bag taken firm in hand, one for each and every kid.

Down-down-down chimney stacks around each and every town.

Milk and cookies, warmth and hearth.

Every present for every home. Boys and girls light and dark.

Good or bad, used to matter. But Santa had a change of heart.

We all mess up sometimes. And, sometimes, we need a brand new start.

Enjoy the gifts! Santa yelled, as the reindeer took off once again.

Be kind to one another all, and try to make new friends.

Merry Christmas!

hamonryetoday at 8:32 AM

[dead]

helloweb123today at 10:43 AM

[dead]

cindyllmtoday at 1:13 AM

[dead]

Yash16today at 6:22 AM

Merry Christmas Obsessed with this AI image prompt: “Awkward 90s Christmas Studio Portrait” https://picxstudio.com/templates/298-awkward-90s-christmas-s...

ardantoday at 7:08 AM

[dead]

maxwelljoslyntoday at 3:34 AM

I'm on call this Christmas :')

sapphirebreezeyesterday at 11:38 PM

[dead]

phodotoday at 1:23 AM

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.
tamimiotoday at 12:09 AM

Technically it’s merry Yule and Saturnalia, christ has nothing to do with it.

show 3 replies