Lurker News
Back to discussion

Comment by DetectDefect

DetectDefect14 replies#
Shall we showcase our trees?

        *
        |
       /.\
      /o..\
      /..O\
     /.o..o\
     /...o.\
    /..O..o.\
    ^^^[_]^^^
sallveburrpi3 replies#

           @
          ***
         *****
        *******
       *********
      ***********
     *************
    ***************
           |
           |
Best I can do ;/
xandrius#
¥
properbrew#
It's the thought that counts
LeoPanthera#
I love your player character tree topper.
cluckindan2 replies#

      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#
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
contravariant2 replies#
Hey we have the same tree!

    (()(()((())((())(()())))))
culi#
Pinus newickii
thiht#
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()
properbrew1 reply#

                                .-^-.
                               /_/_\_\
                              /_/_/_\_\
                             /_/_/_/_\_\
                            /_/_/_/_/_\_\
                           /_/_/_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_/_/_\_\
            /_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_/_\_\
                           |||||||||||||||
                           |||||||||||||||
                           |||||||||||||||
                           |||||||||||||||
                          _|||||||||||||||_
KellyCriterion#
This one is really cool!
gerdesj#
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 ..."

Insanity1 reply#
Class ChristmasTree extends Tree{}
randallsquared2 replies#
Not always! Sometimes `extends Plastic{}`
Hobadee1 reply#
So Tree is an interface then, not a class?

Continue this thread — 1 reply

encomiast1 reply#
May you have a perfectly balanced Christmas

                 h
            _____|______
          /             \
         r               t
       /   \           /   \
      e     .         i     a
     / \   / \       / \   / \
    M   r y   C     r   s m   s
frunkad#
hahaha, Merry Christmas to you too!
phyalow#

                    *
                   /|\
                 [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!
etothet1 reply#

           *
          /^\
         /* *\
        /+@o* \
       /o*+*o+*\
      /* @+*o@+*\
     /+*o*+@*o*+*\
    /@o+*o@+*o+@o*\
   /*+@o*+@*o+*o@+*\
  /o*+@o*+@o*+@o*+o*\
 /@@@@@@@@@@@@@@@@@@@\
          |||
          |||
user_7832#
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!
qingcharles2 replies#

               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#
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-Imsaho3 replies#
Love the cheat code at the top

Continue this thread — 3 replies

Continue this thread — 5 more replies