cluckindan 7 days ago

      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.
  • basilikum 7 days ago

    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
  • contravariant 7 days ago

    Hey we have the same tree!

        (()(()((())((())(()())))))
    • thiht 6 days ago

      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()
encomiast 7 days ago

May you have a perfectly balanced Christmas

                 h
            _____|______
          /             \
         r               t
       /   \           /   \
      e     .         i     a
     / \   / \       / \   / \
    M   r y   C     r   s m   s
properbrew 7 days ago

                                .-^-.
                               /_/_\_\
                              /_/_/_\_\
                             /_/_/_/_\_\
                            /_/_/_/_/_\_\
                           /_/_/_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_/_/_\_\
            /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_\_\
                           |||||||||||||||
                           |||||||||||||||
                           |||||||||||||||
                           |||||||||||||||
                          _|||||||||||||||_
qingcharles 6 days ago

               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]
  • necovek 6 days ago

    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.

  • Flere-Imsaho 6 days ago

    Love the cheat code at the top

    • dxdm 6 days ago

      idkfa iddqd idspispopd

      This is etched into my mind.

      • cluckindan 6 days ago

        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

sallveburrpi 7 days ago

           @
          ***
         *****
        *******
       *********
      ***********
     *************
    ***************
           |
           |
Best I can do ;/
etothet 6 days ago

           *       
          /^\ 
         /* *\
        /+@o* \
       /o*+*o+*\
      /* @+*o@+*\
     /+*o*+@*o*+*\
    /@o+*o@+*o+@o*\
   /*+@o*+@*o+*o@+*\
  /o*+@o*+@o*+@o*+o*\
 /@@@@@@@@@@@@@@@@@@@\
          |||
          |||
  • user_7832 6 days ago

    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!

keepamovin 6 days ago

  `        _\/_          .
     -      /\
            /|\     `
  .   /    /*|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 :)
  • user_7832 6 days ago

    Merry Christmas! Nice touch with the snow, makes for a cosy and homely atmosphere! (It's 25⁰C here. Please send help >.<)

gerdesj 7 days ago

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 ..."

phyalow 7 days ago

                    *
                   /|\
                 [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!
Insanity 7 days ago

Class ChristmasTree extends Tree{}

[removed] 7 days ago
[deleted]
[removed] 7 days ago
[deleted]
[removed] 7 days ago
[deleted]
KellyCriterion 6 days ago

▲ ▲▲▲ ▲▲▲▲▲ ▲▲▲▲▲▲▲ ▲▲▲▲▲▲▲▲▲ ▲▲▲▲▲▲▲▲▲▲▲

Hell - mine one is crashed! Claude didnt work properly :-D

[removed] 7 days ago
[deleted]