Re:Tell HN: Merry Christmas
by DetectDefect on Wednesday December 24, 2025 @06:18PM
(#46380357)
Shall we showcase our trees?
[ Parent
| on HN ]
Re:Tell HN: Merry Christmas
by cluckindan on Wednesday December 24, 2025 @06:40PM
(#46380526)
o
/ \
o o
/ \
o o
/ \
o o
/ / \
o o o
/ / \
o o o
I knew I should have invested in that fancy self-balancing one, oh well.Ah, don't worry. If you just append to one side always and do an anti-balancing one, you get a string of lights.
o
\
o
\
o
\
o
\
o
\
o
\
o
\
o
Re:Tell HN: Merry Christmas
by contravariant on Wednesday December 24, 2025 @07:15PM
(#46380798)
Hey we have the same tree!
(()(()((())((())(()())))))Pinus newickii
Mine looks weird but it's decorated:
@star
@lights
@balls
def christmas_tree():
n1 = Node()
n2 = Node()
n3 = Node()
n4 = Node()
n5 = Node()
n6 = Node()
n7 = Node()
n8 = Node(n1, None)
n9 = Node(n2, n3)
n10 = Node(n4, n5)
n11 = Node(n8, n9)
n12 = Node(n6, n7)
n13 = Node(None, n11)
n14 = Node(None, n12)
return Node(n13, n14)
christmas_tree()
Re:Tell HN: Merry Christmas
by blazingbanana on Wednesday December 24, 2025 @07:09PM
(#46380749)
.-^-.
/_/_\_\
/_/_/_\_\
/_/_/_/_\_\
/_/_/_/_/_\_\
/_/_/_o_/_/_\_\
/_/_o_/_/_o_/_\_\
/_/_/_/_/_/_/_/_\_\
/_/_o_/_/_o_/_/_/_\_\
/_/_/_/_/_/_/_/_/_/_\_\
/_/_/_o_/_/_o_/_/_o_/_\_\
/_/_/_/_/_/_/_/_/_/_/_/_\_\
/_/_o_/_/_o_/_/_o_/_/_o_/_\_\
/_/_/_/_/_/_/_/_/_/_/_/_/_/_\_\
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_\_\
/_/_o_/_/_o_/_/_o_/_/_o_/_/_o_/_/_\_\
/_/_/_/Merry Christmas HackerNews__/_/\_\
/_/_o_/_/_o_/_/_o_/_/_o_/_/_o_/_/_o_/_/_\_\
/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_\_\
|||||||||||||||
|||||||||||||||
|||||||||||||||
|||||||||||||||
_|||||||||||||||_
Re:Tell HN: Merry Christmas
by KellyCriterion on Thursday December 25, 2025 @01:59AM
(#46382688)
This one is really cool!
May you have a perfectly balanced Christman
h
_____|______
/ \
r t
/ \ / \
e . i a
/ \ / \ / \ / \
M r y C r s m shahaha, Merry Christmas to you too!
Re:Tell HN: Merry Christmas
by sallveburrpi on Wednesday December 24, 2025 @06:32PM
(#46380469)
@
***
*****
*******
*********
***********
*************
***************
|
|
Best I can do ;/
Re:Tell HN: Merry Christmas
by LeoPanthera on Wednesday December 24, 2025 @08:08PM
(#46381144)
I love your player character tree topper.
Re:Tell HN: Merry Christmas
by blazingbanana on Wednesday December 24, 2025 @07:09PM
(#46380756)
It's the thought that counts
¥
Lovely idea but please spare a thought for people using a screen reader! Imagine having ASCII art spelt out to you character by character, line by line.
This really is a job for a LLM.
With apologies to screen reader users: "space tab space space asterisk new line space space tab space new line space space space tab pipe new line ... forward slash o full stop full stop backslash ..."
Class ChristmasTree extends Tree{}
Re:Tell HN: Merry Christmas
by randallsquared on Wednesday December 24, 2025 @08:33PM
(#46381300)
Not always! Sometimes `extends Plastic{}`
Or `extends Aluminum{}`!
[0] https://tvtropes.org/pmwiki/pmwiki.php/Main/AluminumChristma...
So Tree is an interface then, not a class?
I'm pretty sure its called a Trait these days.
*
/|\
[ROOT]
n=25000
/ | \
[N] [I] [C]
.33 .51 .94 <-- UCB1 winner
| | / \
[OH] [MEH] [E] [E]
coal socks NICE NICE
| \ \
:/ :) :)
MCTS: Monte Carlo Tree Santa
"in the limit, all children converge
to the nice list" - S. Claus
Merry Xmas Nerds! *
/^\
/* *\
/+@o* \
/o*+*o+*\
/* @+*o@+*\
/+*o*+@*o*+*\
/@o+*o@+*o+@o*\
/*+@o*+@*o+*o@+*\
/o*+@o*+@o*+@o*+o*\
/@@@@@@@@@@@@@@@@@@@\
|||
|||That's the first tree that rendered properly on my mobile, Merey Christmas and good job! Also nice bottom layer of ampersands, looks really festive for some reason!
Re:Tell HN: Merry Christmas
by qingcharles on Thursday December 25, 2025 @12:00AM
(#46382174)
DOOM BSP (XMAS) TREE :p
. * .
(IDKFA)
---\ | /---
\|/
( ROOT NODE )
( Partition )
/`--...___...-`\
/ \
/ \
o--( Node 1 )--o o--( Node 2 )--o
/ Front \ / Back \
/ | \ / | \
/ o \ / o \
[SUBSECTOR] ( Node 3 ) [SUBSECTOR]
| (Leaf A)| / \ | (Leaf B)|
|_________| / \ |_________|
[SEGS] / \ [SEGS]
( Gift ) [SUBSECTOR] [SUBSECTOR] ( Gift )
| (Leaf C)| | (Leaf D)|
|_________| |_________|
[SEGS] [SEGS]Just you mentioning Doom makes me wonder how fast will we get someone to run Doom on individually controlled Christmas LEDs on a Christmas tree.
Re:Tell HN: Merry Christmas
by Flere-Imsaho on Thursday December 25, 2025 @05:38AM
(#46383569)
Love the cheat code at the top
idkfa
iddqd
idspispopd
This is etched into my mind.
Re:Tell HN: Merry Christmas
by cluckindan on Thursday December 25, 2025 @06:11PM
(#46387645)
IDKFA = id kicks f*king ass
IDDQD = id delta quit delta (apparently some kind of inside joke)
IDSPISPOPD = id smashing pumpkins into small piles of putrid debris
Re:Tell HN: Merry Christmas
by rhubarbtree on Friday December 26, 2025 @03:44AM
(#46390363)
Not keys full ammo?
Re:Tell HN: Merry Christmas
by russellbeattie on Thursday December 25, 2025 @12:13AM
(#46382243)
[delayed]
Re:Tell HN: Merry Christmas
by keepamovin on Thursday December 25, 2025 @12:23AM
(#46382293)
` _\/_ .
- /\
/|\ `
. / /*|O\. .
/*/|\*\
/X/O|*\X\
/*/X/|\X\*\ .
/O/*/X|*\O\X\
/*/O/X/|\X\O\*\
~~~~~~~~~~~~~~~
|X|
|X|
Merry Christmas!
merry Christmas to all you people out there :)Merry Christmas! Nice touch with the snow, makes for a cosy and homely atmosphere! (It's 25⁰C here. Please send help >.<)
renderTree(type='Christmas')
Re:Tell HN: Merry Christmas
by KellyCriterion on Thursday December 25, 2025 @01:58AM
(#46382683)
▲
▲▲▲
▲▲▲▲▲
▲▲▲▲▲▲▲
▲▲▲▲▲▲▲▲▲
▲▲▲▲▲▲▲▲▲▲▲
Hell - mine one is crashed! Claude didnt work properly :-D
Re:Tell HN: Merry Christmas
by gregfjohnson on Thursday December 25, 2025 @02:20AM
(#46382782)
Build one yourself! Here's an interactive balanced binary tee builder:
https://gregfjohnson.com/redblackbuilder.html
Re:Tell HN: Merry Christmas
by Vicinity9635 on Thursday December 25, 2025 @04:28PM
(#46387156)
▲