News for hackers. Stuff that matters.
Re:Tell HN: Merry Christmas by DetectDefect on Wednesday December 24, 2025 @06:18PM (#46380357)
Shall we showcase our trees?

        *
        |
       /.\
      /o..\
      /..O\
     /.o..o\
     /...o.\
    /..O..o.\
    ^^^[_]^^^
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.
Re:Tell HN: Merry Christmas by basilikum on Wednesday December 24, 2025 @06:58PM (#46380671)
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!

    (()(()((())((())(()())))))
Re:Tell HN: Merry Christmas by culi on Wednesday December 24, 2025 @08:41PM (#46381330)
Pinus newickii
Re:Tell HN: Merry Christmas by thiht on Thursday December 25, 2025 @05:42AM (#46383594)
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!
Re:Tell HN: Merry Christmas by encomiast on Wednesday December 24, 2025 @07:52PM (#46381045)
May you have a perfectly balanced Christman

                 h
            _____|______
          /             \
         r               t
       /   \           /   \
      e     .         i     a
     / \   / \       / \   / \
    M   r y   C     r   s m   s
Re:Tell HN: Merry Christmas by frunkad on Thursday December 25, 2025 @01:59AM (#46382687)
hahaha, 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
Re:Tell HN: Merry Christmas by xandrius on Wednesday December 24, 2025 @06:37PM (#46380504)
¥
Re:Tell HN: Merry Christmas by gerdesj on Wednesday December 24, 2025 @07:24PM (#46380867)
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 ..."

Re:Tell HN: Merry Christmas by Insanity on Wednesday December 24, 2025 @07:38PM (#46380952)
Class ChristmasTree extends Tree{}
Re:Tell HN: Merry Christmas by randallsquared on Wednesday December 24, 2025 @08:33PM (#46381300)
Not always! Sometimes `extends Plastic{}`
Re:Tell HN: Merry Christmas by Timwi on Wednesday December 24, 2025 @09:14PM (#46381468)
Re:Tell HN: Merry Christmas by Hobadee on Wednesday December 24, 2025 @09:43PM (#46381597)
So Tree is an interface then, not a class?
Re:Tell HN: Merry Christmas by devsda on Thursday December 25, 2025 @01:44AM (#46382632)
I'm pretty sure its called a Trait these days.
Re:Tell HN: Merry Christmas by phyalow on Wednesday December 24, 2025 @08:37PM (#46381312)

                    *
                   /|\
                 [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!
Re:Tell HN: Merry Christmas by etothet on Wednesday December 24, 2025 @10:25PM (#46381805)

           *       
          /^\ 
         /* *\
        /+@o* \
       /o*+*o+*\
      /* @+*o@+*\
     /+*o*+@*o*+*\
    /@o+*o@+*o+@o*\
   /*+@o*+@*o+*o@+*\
  /o*+@o*+@o*+@o*+o*\
 /@@@@@@@@@@@@@@@@@@@\
          |||
          |||
Re:Tell HN: Merry Christmas by user_7832 on Thursday December 25, 2025 @12:25PM (#46385745)
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]
Re:Tell HN: Merry Christmas by necovek on Thursday December 25, 2025 @03:54AM (#46383119)
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
Re:Tell HN: Merry Christmas by dxdm on Thursday December 25, 2025 @11:40AM (#46385435)
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 :)
Re:Tell HN: Merry Christmas by user_7832 on Thursday December 25, 2025 @12:28PM (#46385773)
Merry Christmas! Nice touch with the snow, makes for a cosy and homely atmosphere! (It's 25⁰C here. Please send help >.<)
Re:Tell HN: Merry Christmas by racl101 on Thursday December 25, 2025 @01:57AM (#46382680)
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)
▲