I run untested, viewer-submitted code on my 500-LED christmas tree.

Поділитися
Вставка
  • Опубліковано 21 лис 2024

КОМЕНТАРІ • 10 тис.

  • @notJamiera
    @notJamiera 3 роки тому +102773

    feels like im watching a professor run his students’ code they did for a project and he’s grading them on a scale based on how cool they are

    • @alfredo2229
      @alfredo2229 3 роки тому +1895

      You pretty much are

    • @christian170310
      @christian170310 3 роки тому +2281

      That "It's a hue. I'm not huuuuegely impressed so far" on 30:08 prove that 🤣🤣

    • @darkdestroyer32
      @darkdestroyer32 3 роки тому +1385

      I literally has a professor like this for game development. If you made something funny or cool looking, even if it was objectively bad relative to what the assignment was, you got the grade, but if it happened to look boring, but highly technical and required a lot of work, you never got the credit you deserved for the time invested, even if you ended up getting a good grade.

    • @787310
      @787310 3 роки тому +1028

      @@darkdestroyer32 well yea dude if you wanna be a game developer why develop boring games

    • @BODYBUILDERS_AGAINST_FEMINISM
      @BODYBUILDERS_AGAINST_FEMINISM 3 роки тому +141

      Watching it through that point of view makes this video so much more enjoyable

  • @EvanF
    @EvanF 2 роки тому +27912

    The comedic timing when he turns around to look at the tree but we can already see the code is broken is so good

    • @user-pr6ed3ri2k
      @user-pr6ed3ri2k Рік тому +34

      2⁹thliker

    • @chidalso
      @chidalso Рік тому +30

      right. lmaoooo

    • @-Teague-
      @-Teague- Рік тому +170

      ​@@abel6298why KJV? It's wildly innacurate at many points and dishonestly censored in many ways

    • @vuodet
      @vuodet Рік тому +74

      the way he quickly turns his head to look at the screen is too funny

    • @Lua0x07
      @Lua0x07 Рік тому

      ​@@-Teague-Because this idiot thinks he's smart for reading the bible in broken old english. Religious people aren't very bright

  • @esverker7018
    @esverker7018 3 роки тому +20018

    This felt exactly like when my comp sci professor ran through every student's final project in front of the class. Traumatic memory.

    • @khushi1767
      @khushi1767 3 роки тому +294

      relatable

    • @blue_light_bot
      @blue_light_bot 3 роки тому +498

      (am incoming freshman in CS) oh god am i making a mistake

    • @Becca-680
      @Becca-680 3 роки тому +432

      @@Eidako and they all clapped

    • @soccerlife8912
      @soccerlife8912 3 роки тому +243

      I’m learning code right now and I felt the cortisol shoot through me after reading this.

    • @nate9247
      @nate9247 3 роки тому +45

      That's the exact vibe I got from it lmao

  • @TheWonder_OfU
    @TheWonder_OfU Рік тому +9887

    Whenever he gives that “ahhh too bad” I feel the weight and shame of a student who spent 2 weeks working on a project, only for you to turn it in and it not work for the first 5 seconds so the teacher just fails it. Like my big moment of something I was proud of has been ruined in an instant by some stupid thing I didn’t consider.

    • @深夜-l9f
      @深夜-l9f 11 місяців тому +269

      traumatic

    • @polomarco8773
      @polomarco8773 10 місяців тому +322

      it’s a painful lesson but you dont get to be good at programming without doing a stupid or two

    • @vroomkaboom108
      @vroomkaboom108 10 місяців тому +232

      repeat that for 4 years and you're an IT graduate

    • @aprilfools-g2e
      @aprilfools-g2e 10 місяців тому +42

      @@polomarco8773 more like 50-

    • @yarpen26
      @yarpen26 7 місяців тому +102

      I can just feel the headbashing against the wall by all those poor bastards who forgot to make sure their modules of choice would be as available on the Linux version of PIP as they were on Windows.

  • @hats1642
    @hats1642 3 роки тому +26176

    "My tree is too low-resolution" is a problem from the 2050s.

    • @seronymus
      @seronymus 3 роки тому +127

      Thank you ancient Celtic Norf F. C. Wojak

    • @cathl4953
      @cathl4953 3 роки тому +41

      Or cyberpunk 2077 but with faces

    • @pikube1138
      @pikube1138 3 роки тому +108

      12:54 for the timestamp thank me later

    • @khiyon
      @khiyon 3 роки тому +8

      Or Pokemon SWSH trees.

    • @elhopper3735
      @elhopper3735 3 роки тому +6

      He’s a time traveler from the future confirmed

  • @aridan9023
    @aridan9023 3 роки тому +12781

    the way he looks at the tree expecting something and then turns back to the computer so aggressively is hilarious

    • @livly_garden
      @livly_garden 3 роки тому +1100

      @Jaleesa Hernandez or its just.. the guy turning around..

    • @_.Dylan._
      @_.Dylan._ 3 роки тому +694

      @Jaleesa Hernandez You think this guy is making sure throughout this almost hour-long video “I need to keep aggressively moving for THE UA-cam ALGORITHM!”

    • @BroudbrunMusicMerge
      @BroudbrunMusicMerge 3 роки тому +205

      @Jaleesa Hernandez I don't think the algorithm cares about the actual video content so much as the viewer behavior of that content.

    • @MRdeLaat
      @MRdeLaat 3 роки тому +14

      @Jaleesa Hernandez what?

    • @charlesturner897
      @charlesturner897 3 роки тому +9

      The simplex noise reaction was brilliant.

  • @stevensauls2013
    @stevensauls2013 2 роки тому +18790

    "Painful to view" and it's one LED at the back and bottom of the tree. Absolutely genius.

    • @Dufftata
      @Dufftata Рік тому +311

      its my fav too

    • @reothomas956
      @reothomas956 Рік тому +50

      Timestamp?

    • @Dufftata
      @Dufftata Рік тому +176

      @@reothomas956 10:07

    • @Skikyro
      @Skikyro Рік тому +790

      It was freaking hilarious, bet he doesn’t have too good of a sense of humor. Or perhaps he’s too old to appreciate that sort of absurdist humor Idk haha

    • @bran_rx
      @bran_rx Рік тому +52

      yeah, masterpiece... loved it

  • @vampireprincess4620
    @vampireprincess4620 Місяць тому +1527

    Why was I recommended this random video about a Christmas tree 3 years later in September? Who knows but I'm still watching

  • @Animeshelly0120
    @Animeshelly0120 3 роки тому +5087

    I really enjoyed “fire” and “fireflies”. they were both so creative and pretty.
    “painful to view” was such a masterpiece I hate that this guy doesn’t appreciate its comedic genius.

    • @kuuke8283
      @kuuke8283 3 роки тому +305

      It was absolutely genius indeed

    • @ajiebkp
      @ajiebkp 3 роки тому +372

      I laughed hard at “painful to view” that was the most refreshing for sure. Genius indeed!

    • @christiancarlo-stella7633
      @christiancarlo-stella7633 3 роки тому +362

      I don’t actually think painful to view worked. Because the singular LED that was on, was also on the whole video even when the tree was “off”

    • @Gapeh0rn
      @Gapeh0rn 3 роки тому +6

      Time stamp ?

    • @leahclaret775
      @leahclaret775 3 роки тому +59

      @@Gapeh0rn 10:06

  • @febby_8622
    @febby_8622 3 роки тому +24393

    Use this as ‘I have no idea about code I just like the pretty colours’

  • @pcsecuritychannel
    @pcsecuritychannel 3 роки тому +52889

    When I saw the first few fail, I literally thought it was a troll video about how code never works.

  • @bananna988
    @bananna988 Рік тому +4007

    Here’s a directory of all the working codes
    2:29 spin program
    5:23 fanimator (blinking colors)
    7:26 fire animation
    8:17 Fireflies
    8:53 Octahedron Rotation
    11:22 Rainbow
    12:06 Rehoboham
    13:05 RGB Sphere
    15:53 Sierpinski Triangle
    17:22 smart snake
    20:44 Tree-Song sync
    22:35 3D Fire
    23:34 3D Spin
    24:13 Bezier Comets
    25:11 Candy Cane
    26:02 Color Orbs
    26:35 Color Waves
    27:19 Contagion
    28:07 Fire by Andrew
    28:59 Yellow Fire with Wisps
    30:07 Hue Shifting Helix
    31:28 Moonbeam
    32:38 More Planes
    33:08 Nathan’s photos display
    35:03 Plasma
    35:45 Hypercube
    36:28 Sine Waves
    36:58 Sphere
    38:52 Worms
    43:20 Finale of Video

    • @simonblackwell3576
      @simonblackwell3576 Рік тому +230

      You’re missing 10:06 painful to view and 10:46 perlin 😂

    • @candice5759
      @candice5759 Рік тому +16

      ​@@simonblackwell3576no because they didn't work

    • @battery_wattage
      @battery_wattage Рік тому +337

      @@candice5759painful to view did work. It was just a single painful light.

    • @EliteBeast
      @EliteBeast Рік тому +121

      Painful to view was the best.

    • @oceanss2159
      @oceanss2159 Рік тому +4

      Legend

  • @paytonisdying
    @paytonisdying 3 роки тому +8389

    The level of judgment is *exactly* like a professor going through his students projects

    • @ev5837
      @ev5837 3 роки тому +328

      I'd bet this guy is a high school teacher. He's got that vibe.

    • @aceman0000099
      @aceman0000099 3 роки тому +330

      @@ev5837 this is his job, but he does do lectures at universities, he likely does have teaching experience

    • @Nessa___
      @Nessa___ 3 роки тому +9

      I refuse to like your comment so you can stay on 666

    • @paytonisdying
      @paytonisdying 3 роки тому +39

      @@Nessa___ that's a nice sentiment but like all great things, that number was ephemeral

    • @scottyyay
      @scottyyay 3 роки тому +3

      lmao

  • @KerbalFacile
    @KerbalFacile 2 роки тому +30115

    "Let's run someone else's untested code!"
    > undefined variables
    > missing dependencies
    > typecast errors
    > incompatible versions
    > namespace collisions
    > fails silently
    Well, at last that's realistic !

    • @SongOfStorms411
      @SongOfStorms411 2 роки тому +1040

      Don't forget inconsistent use of tabs vs spaces

    • @KerbalFacile
      @KerbalFacile 2 роки тому +276

      @@SongOfStorms411 Nah that's more commonly a difference in text editor choice.

    • @KerbalFacile
      @KerbalFacile 2 роки тому +128

      @MorTobXD I've done Python before, it was a while ago but the way I remember it, indentation issues were usually because of different default encodings or tab space handling in different editors.

    • @DomiaAbrWyrda
      @DomiaAbrWyrda 2 роки тому +9

      When I get indentation errors, it's usually because I copied parts of code from stackoverflow and didn't check if it used tabs lol (I use spaces)

    • @DarkEnt1ty
      @DarkEnt1ty 2 роки тому +6

      These are common code mistakes

  • @iShiniest
    @iShiniest 3 роки тому +19785

    Shout-out to the algorithm for inviting me into this man's living room to have a beer and watch him play with his Christmas tree

    • @420Chameleon
      @420Chameleon 3 роки тому +113

      Same! Cheers friend!

    • @Yetipfote
      @Yetipfote 3 роки тому +38

      I see what you did there

    • @swiftpawtheyeet6648
      @swiftpawtheyeet6648 3 роки тому +13

      Mood

    • @elidaw2322
      @elidaw2322 3 роки тому +46

      I agree, feeling thoroughly more relaxed and interested in this sort of thing

    • @VicktorMoberg1
      @VicktorMoberg1 3 роки тому +46

      Idk how I got here, but I'm not complaining lol

  • @Samstercraft77
    @Samstercraft77 6 місяців тому +502

    i actually love that its unedited

  • @surprisedpotato
    @surprisedpotato 3 роки тому +14693

    "Painful to view?"
    *one single led turns on*
    "Well, you're not wrong."

    • @phraseology6858
      @phraseology6858 3 роки тому +1090

      I was hoping that the one light would turn on, stay on, and then after a bit of time, all of the lights would turn on and blind him.

    • @virusrhino5399
      @virusrhino5399 3 роки тому +364

      @@phraseology6858 Flashbang out

    • @toericabaker
      @toericabaker 3 роки тому +321

      i dont think matt understood the joke... needles touching your face in order to view that light

    • @spectatorhomi
      @spectatorhomi 3 роки тому +190

      That single led is open from the very start right?? Are my Eyes broken?

    • @pringles8939
      @pringles8939 3 роки тому +33

      @@spectatorhomi Yeah I saw that too

  • @ojkolsrud1
    @ojkolsrud1 3 роки тому +3988

    Mad props to whomever actually got the code to run, without having the physical hardware or the correct software environment!

    • @TheGianaJinx
      @TheGianaJinx 3 роки тому +185

      For real, I couldn't do it even if I had the hardware and software necessary.

    • @kapjoteh
      @kapjoteh 3 роки тому +15

      Whoever

    • @Leon-uu4wk
      @Leon-uu4wk 3 роки тому +15

      @@goldenkow5161 whoever is correct

    • @jackshotton9222
      @jackshotton9222 3 роки тому +82

      @@Leon-uu4wk They’re actually both correct. You can use either term depending on if you use a classic style English vocabulary or not.

    • @ivanadriazola1991
      @ivanadriazola1991 3 роки тому +48

      For real, the way I code is just write whatever until I can start test running and then fix the broken code

  • @tfinnm
    @tfinnm 3 роки тому +6642

    "You need a better resolution tree" might just be the most futuristic thing I have ever heard.

    • @icantread1058
      @icantread1058 3 роки тому +103

      2012 lorax be like

    • @igor-yp1xv
      @igor-yp1xv 3 роки тому +18

      Sounds like Minecraft

    • @behinderungimtunnel714
      @behinderungimtunnel714 3 роки тому +107

      What?! You have a prebuilt tree? You know its cheaper to build it yourself right?

    • @kip258
      @kip258 3 роки тому +79

      I don't even own a TV at this point, I just watch Netflix on my bedroom tree. It automatically switches to other trees in my house when I walk from room to room, too!

    • @leokroe
      @leokroe 3 роки тому +6

      @@behinderungimtunnel714 Your Tree might be unstable!

  • @notneean
    @notneean 4 місяці тому +903

    its 3 am and the middle of july but hey, if youtube brought me here i will happily stay and watch

    • @spicybiscuit88
      @spicybiscuit88 3 місяці тому +8

      Summer here too, and I have no idea about code or anything related to code. I enjoyed the last one though, and his bread.

    • @gracehaven5459
      @gracehaven5459 3 місяці тому +3

      Same only a month later

    • @BlazeStorm
      @BlazeStorm 3 місяці тому +2

      I'm having great fun with it! Also funny having Matt apologetically say thanks for watching while this definitely isn't my first time

    • @evanherriges4042
      @evanherriges4042 Місяць тому

      same, and I'm pretty sure I've watched this video before

  • @kristen5998
    @kristen5998 2 роки тому +9965

    This feels like I’m in some sort of programming course taking place during a fall semester of college and the extra credit assignment was to program some funky lights for the professors Christmas tree. This is the last class before winter break and the spring semester starts. If the program runs, we get 10 points added to our lowest project grade. If it does not run, oh well we move on.

    • @iasomnium919
      @iasomnium919 Рік тому +379

      That actually sounds like an extra credit assignment I had one year lol

    • @korinnab.2318
      @korinnab.2318 Рік тому +320

      You captured the vibe of college courses perfectly

    • @Kyleforthe3SIKE
      @Kyleforthe3SIKE Рік тому +86

      @@iasomnium919 I also had an assignment exactly like that. Professor made a video of him judging them on a christmas eve livestream. It was a memorable class

    • @lelandrb
      @lelandrb 6 місяців тому +14

      the prof seems fun and quirky but it's actually the hardest course you'll ever take

    • @Distress.
      @Distress. 3 місяці тому +2

      I miss the chill moments at school

  • @merlin6962
    @merlin6962 3 роки тому +7959

    I don't know who this guy is but I watched 45 minutes of him changing the color of his christmas tree.

    • @luka_8
      @luka_8 3 роки тому +341

      Same. I know nothing about code and I've never seen this guy but that was a very interesting video lol

    • @ZedF86
      @ZedF86 3 роки тому +102

      He has a main channel about mathematics and the like that I'm subscribed to, but I stumbled on this one too.

    • @alecluna4921
      @alecluna4921 3 роки тому +7

      Interesting same here.

    • @laur-unstagenameactuallyca1587
      @laur-unstagenameactuallyca1587 3 роки тому +6

      same lol

    • @zo869
      @zo869 3 роки тому +127

      Matt saying that this channel is not optimised for the UA-cam algorithm and then this being the video that ends up in everyone’s recommended is highly amusing to me

  • @Robin-fx5hf
    @Robin-fx5hf 3 роки тому +13754

    Nothing makes me happier as an old computer science major than seeing all the code not working for like 3 minutes straight

    • @Neymarinet
      @Neymarinet 2 роки тому +359

      My first assignment in my C++ II class was programming a functional knights tour chessboard. So happy to know im in good company here

    • @PomadaGaming
      @PomadaGaming 2 роки тому +8

      lol

    • @TrinityUnofficial
      @TrinityUnofficial 2 роки тому +15

      but why though, that seems almost like me watching someone test a mod for an hour trying to get it to work

    • @Kc-kr6qs
      @Kc-kr6qs 2 роки тому +177

      @@TrinityUnofficial It's one of those things
      where after enough pain - it starts to become enjoyable. You can't explain it, but its like watching someone getting hit in the head by a beachball or something. It sucks for the other person and you know that cause you have felt that same pain but its funny as hell watching it.

    • @TrinityUnofficial
      @TrinityUnofficial 2 роки тому +18

      sado masochism, right on

  • @just_limerence
    @just_limerence 11 місяців тому +69

    3 years in a row of coming back to this video, it's become one of the seasonal watches along with the live action Grinch movie and all 3 extended LOTR movies.

  • @applepie9806
    @applepie9806 3 роки тому +4093

    *jokingly* What I learnt is that given a christmas tree, most programmers would set it on fire

    • @rarapas
      @rarapas 3 роки тому +153

      Full brightness, all LEDs on, PSU on fire! :D

    • @s3ven_six322
      @s3ven_six322 3 роки тому +147

      I prefer the term, "set it ablaze" thank you very much

    • @dylanshandley1246
      @dylanshandley1246 3 роки тому +28

      @@rarapas I remember when I was a kid and we didn’t have a heater in our house, at Christmas time I used to use the power supply unit that acted as the base and little legs of the tree to warm myself up xD

    • @FMontanari709
      @FMontanari709 3 роки тому +28

      They went from inverting a binary tree to setting a real one on fire... They learn so fast

    • @maarcislv
      @maarcislv 3 роки тому +8

      Put a fire dispenser next to the christmass tree and do "repeat(1000) FIRE();" 😄

  • @NickkAtNyte
    @NickkAtNyte 3 роки тому +969

    I just spent 45 minutes watching a guy bang on about code whilst watching a Christmas tree light up. I love the internet. I know bugger all about coding but this was awesome to watch.

    • @Speed001
      @Speed001 3 роки тому +2

      That's why 2x is your friend

    • @contrasbeatshop
      @contrasbeatshop 3 роки тому +2

      @Absins optimized pyschopath

    • @crylune
      @crylune 9 днів тому

      @@Speed001 adhd

    • @Speed001
      @Speed001 9 днів тому

      @crylune real adhd is watching the whole thing

  • @tearsofboredom7956
    @tearsofboredom7956 3 роки тому +7862

    "This is not optimized for the UA-cam algorithm"
    Me who was recommended this suddenly and watched the whole thing: Are you sure about that?

    • @rebeccawhite3731
      @rebeccawhite3731 3 роки тому +29

      Same

    • @moisessoto5061
      @moisessoto5061 3 роки тому +15

      Youre either liers or outliers

    • @amandajensen3382
      @amandajensen3382 3 роки тому +36

      I've been getting this recommended since Christmas, it's now past St Patrick's day.

    • @rebeccawhite3731
      @rebeccawhite3731 3 роки тому +11

      @@moisessoto5061 I mean, I've looked at calc videos and if I blow the dust off of my view history there *maybe* a python thing or to, but not enough to call it more than random.

    • @rebeccawhite3731
      @rebeccawhite3731 3 роки тому +6

      @@moisessoto5061 ah, now that I think of it I'm subbed to micheal Reeves. So maybe not that random

  • @宇宙ステーションレベル6
    @宇宙ステーションレベル6 6 місяців тому +165

    34:04 that's bad apple, you madlad!

    • @erinboyle2889
      @erinboyle2889 2 місяці тому +14

      You have incredible eyes to catch this

    • @RHQ_W
      @RHQ_W Місяць тому +13

      Oh shit now i kinda see it

    • @fragi1e757
      @fragi1e757 9 днів тому +5

      Yup. Dude did it, recognized it by first couple of frames

  • @ralphiegixenflargle
    @ralphiegixenflargle 3 роки тому +2420

    Saddest part was when the beat dropped but the tree didn’t

  • @HighFlyer-
    @HighFlyer- 3 роки тому +1987

    The fireflies code is highly underrated. I’d have that one on all night

  • @HeyItsRykon1
    @HeyItsRykon1 3 роки тому +3117

    Its 4am and I'm watching untested code being run on a Dying Christmas tree, what is my life right now.

    • @MAndSquared
      @MAndSquared 3 роки тому +13

      Same, though I’ve just about finished watching the video and it’s now 04:30

    • @Gcsm308
      @Gcsm308 3 роки тому +1

      Same

    • @CircusFoxxo
      @CircusFoxxo 3 роки тому +18

      Wait, do you have a camera in my room? Because it's 4am and I'm watching untested code running on a dying Christmas tree

    • @notprefekt
      @notprefekt 3 роки тому +9

      Legit 3:59 am as i’m scrolling through the comments lmao

    • @BuffaloNYSkyWatcher
      @BuffaloNYSkyWatcher 3 роки тому +8

      It’s 4:18am 😂 wow what have we become 😂

  • @tri9580
    @tri9580 11 місяців тому +106

    This video has become a part of my Christmas season ritual - I watch it every year and it brings me the holiday feeling. Thank you, Matt!!

    • @evie4548
      @evie4548 11 місяців тому +6

      came here to say that too!

  • @HunterJackson25
    @HunterJackson25 3 роки тому +4883

    Never thought that I’d watch a Christmas tree putting on a light show for 45 minutes two months after Christmas, but here I am.

    • @mthlay15
      @mthlay15 3 роки тому +54

      I "MAY" have a problem.

    • @birboii
      @birboii 3 роки тому +3

      @@mthlay15you beat me to the punch. 😂

    • @sheilafrancl1423
      @sheilafrancl1423 3 роки тому +3

      Almost summer and watching 😂

    • @JeffTheNoobGamer
      @JeffTheNoobGamer 3 роки тому +5

      And here we are almost half a year from Christmas..

    • @mrjingles2487
      @mrjingles2487 3 роки тому +2

      A week before my LC exams in June and I'm procrastinating watching a tree lightshow

  • @ThatSB
    @ThatSB 3 роки тому +3071

    That one LED he notices during "painful to view" never shuts off

    • @HISEROD
      @HISEROD 3 роки тому +130

      It might just be a lens flare. At 10:30 the camera loses focus for a second and that spec distorts instead of blurring in a bokeh shape while the lights in the window blur normally.
      edit: I believe Wilco Verhoef is actually correct.

    • @giovannibertocci8944
      @giovannibertocci8944 3 роки тому +17

      @@HISEROD i don't think that's the case tho

    • @WilcoVerhoef
      @WilcoVerhoef 3 роки тому +254

      It's the led on the Raspberry Pi

    • @missundies
      @missundies 3 роки тому +64

      No because he saw it himself in real and pointed it out! 😂 That's why I doubt it's a lense flare.

    • @HISEROD
      @HISEROD 3 роки тому +8

      @@missundies How do you know he wasn't looking at an occluded light?

  • @lexsea
    @lexsea 3 роки тому +3206

    "painful to view" was an under appreciated masterpiece

    • @benreed2166
      @benreed2166 3 роки тому +80

      It was my favorite part

    • @thisphoneisbusted
      @thisphoneisbusted 3 роки тому +6

      timestamp? 😭

    • @PolarBearVolcano
      @PolarBearVolcano 3 роки тому +26

      @@thisphoneisbusted 10:02

    • @KXC42069
      @KXC42069 3 роки тому +122

      It didn't even RUN - that light is on earlier @3:10 (and long after)

    • @benreed2166
      @benreed2166 3 роки тому +39

      @@KXC42069 we may not be able to see it, but he looked and said there was a light that came on

  • @barnaclebob123
    @barnaclebob123 Рік тому +80

    My favorite part of this as a devops developer (lots of scripts deployed anywhere) is the fact fully half of these just failed to run. Love it

  • @katrinafrancis9735
    @katrinafrancis9735 3 роки тому +4013

    “this is not optimized for the youtube algorithm” and yet it showed up on my homepage even though i haven’t watched a single matt parker video since numberphile 5+ years ago

    • @deViant14
      @deViant14 3 роки тому +26

      Yeah the closest things I watch on my channel here is unboxings.

    • @dreadgiraffe2109
      @dreadgiraffe2109 3 роки тому +240

      I’ve never seen this man in my life and it showed up on my homepage

    • @the.muffin
      @the.muffin 3 роки тому +64

      I had never watched or even heard of his videos, but now im subscribed to his second channel loll

    • @o0Avalon0o
      @o0Avalon0o 3 роки тому +3

      Same

    • @Liefx
      @Liefx 3 роки тому +36

      I've literally never watched one of his videos and don't watch coding videos yet here I am thanks to the algorithm

  • @febefox5930
    @febefox5930 3 роки тому +1928

    I honestly expected to get bored quickly with this and just skim it but there’s something so nice about watching his man, his code, and his LED tree.

    • @Daezmond
      @Daezmond 3 роки тому +52

      Totally agree. And I can't believe that I spend nearly an hour watching it.
      In April.

    • @nunyabizz1092
      @nunyabizz1092 3 роки тому +11

      Yup. Its May and I watched the whole thing.

    • @SingularityDan
      @SingularityDan 3 роки тому +4

      Relatable

    • @wknw1442
      @wknw1442 3 роки тому +12

      I know nothing about coding and i dont celebrate christmas yet here i am

    • @sillyredsheep2421
      @sillyredsheep2421 3 роки тому +28

      My favorite parts were the moments he'd turn around expecting something to cool happen before seeing the error message pop up.

  • @jamespetersmorgan
    @jamespetersmorgan 3 роки тому +3171

    rip the guy that wrote blen instead of blend for one of his function calls. 26:26

    • @MrFantom_
      @MrFantom_ 3 роки тому +58

      Big Rip

    • @gikle8354
      @gikle8354 3 роки тому +24

      Sadge

    • @toxic_icecream
      @toxic_icecream 3 роки тому +44

      da blen

    • @twrk139
      @twrk139 3 роки тому +10

      How do you not test if it works first

    • @bitzelijoschaevci3444
      @bitzelijoschaevci3444 3 роки тому +95

      @@twrk139 maybe you have a tree with real candles, i never had an led strip edit: nvm there was a virtual tree, i have no clue how you couldn't've testet your code

  • @ChanceGagaa
    @ChanceGagaa Рік тому +205

    If you are interested, I believe the Rehoboam code around 12:10 is based off a machine of the same name in season 3 of Westworld

    • @mattw1730
      @mattw1730 Рік тому +6

      Nailed it. My thoughts exactly

    • @imblueeee
      @imblueeee 11 місяців тому +4

      I'm disappointed not more people know this

    • @Aquablecs
      @Aquablecs 6 місяців тому +1

      Season 3 better than season 2? I loved season 1 but season 2 turned me off

    • @yeti1835
      @yeti1835 4 місяці тому

      ​@@Aquablecsunfortunately I think each subsequent season is a bit worse, with 4 and 5 maybe being a tossup

  • @GZXC993
    @GZXC993 2 роки тому +3845

    I feel bad for the people that were missing the python modules. They were likely so close to running. The problem was that Matt installed the modules using `pip3`, but then ran the code using sudo. Had he run `sudo pip3` to install the modules, they likely would have worked.

    • @PartlyXenon
      @PartlyXenon Рік тому +59

      I feel like on Unix (Ubuntu 22.04 and 23.04) environments, it is best to install with apt, because even with sudo pip some of the installed packages fail to be recognised, or am I remembering this (experience) wrong?

    • @ArenGorman
      @ArenGorman Рік тому

      @@PartlyXenon on any platform it's better to install into a virtual environment using virualenv/poetry

    • @lumin9ry
      @lumin9ry Рік тому +68

      @@PartlyXenonusing sudo will install the packages globally (i.e. for root and all users) otherwise they will generally only be installed for the user that ran pip

    • @PartlyXenon
      @PartlyXenon Рік тому +7

      @@lumin9ry I was comparing sudo apt vs. sudo pip. I believe some of my packages failed to install or run properly if not installed with apt (but npm or pip3, even with sudo and -g). 🤷🏻‍♀️

    • @DoinkertonGreeble
      @DoinkertonGreeble Рік тому +2

      Why is that? I thought that would only be a problem if the local user is using a different python interpreter or environment than the root/default user.

  • @Lifeinerinn
    @Lifeinerinn 3 роки тому +2423

    You joked about a higher resolution tree, but I've seen artificial trees with each pine needle replaced by a little fiber optic light. I'd be amazed to see what people could do if those were programmable LEDs.

    • @ericlanegen
      @ericlanegen 3 роки тому +91

      Install a server rack, that would be a super computer of a job

    • @fuzzybuzzy3159
      @fuzzybuzzy3159 3 роки тому +242

      Someone would find a way to play Doom on it/recreate Bad Apple!!.

    • @7n7o
      @7n7o 3 роки тому +31

      @@fuzzybuzzy3159 why is this so true

    • @dylanshandley1246
      @dylanshandley1246 3 роки тому +113

      @@7n7o cause if someone decided that doom on a calculator had to happen, we all known damned well that there’s some crazy, demented little geniuses, somewhere, with far too much time, a Christmas tree with an obscene amount of fibre optic lights, and the precise knowledge and ability on how to make it possible.

    • @hooliganhandful1564
      @hooliganhandful1564 3 роки тому +19

      @@dylanshandley1246 OH MY GOD.....I KNOW A GUY.

  • @hassaanbangash4294
    @hassaanbangash4294 3 роки тому +4853

    I dont code. I dont celebrate Christmas. I didnt know who Matt Parker was before I watched this video yet here I am 45 minutes later feeling kinda sad that this perfectly entertaining, genuine moment with a stranger having this much fun is over. UA-cam recommendations are the best, and you sir, are a breath of fresh air. Love your personality :) Stay safe

    • @Resomius
      @Resomius 3 роки тому +77

      Matt Parker is (asaid from youtube) known as a Mathematical Stand up comedian. And god he is good. He even wrote a Book about when Math goes wrong called Humble Pi. It is great, I have a signed Edition!

    • @lovedbz5814
      @lovedbz5814 3 роки тому +1

      same hat

    • @ramesty89
      @ramesty89 3 роки тому +5

      @@Resomius That's actually neat.

    • @spiceywolf15
      @spiceywolf15 3 роки тому

      Same.

    • @suzannekratosmaker7484
      @suzannekratosmaker7484 3 роки тому +6

      Yep, at least the time of year was almost accurate for my recommendation.

  • @angelongaia
    @angelongaia 11 місяців тому +101

    The way Matt walks into frame with a loaf of bread just as the code time out is an aesthetic masterpiece

  • @Mizatsuwu
    @Mizatsuwu 3 роки тому +17375

    *Sees video title*
    Expectation: runs extremely dangerous virulent code and gets his personal data stolen
    Reality: programmers suffering and struggling to get a christmas tree to light up

    • @skyr3x
      @skyr3x 3 роки тому +479

      I wouldve rather seen him run wannacry than imagining whatever the poor guy must be going through who had inconsistent indents 😔

    • @galacticshrimpenterprise6100
      @galacticshrimpenterprise6100 3 роки тому +138

      I’m completely code illiterate, what does inconsistent indents mean? (If it’s too complex no stress lol)

    • @skyr3x
      @skyr3x 3 роки тому +508

      @@galacticshrimpenterprise6100 an indent is basically a big space you make by pressing tab, if you write lots of documents in word you probably use them
      In python you need to use them to let the program know that the stuff youre writing rn is supposed to be in a loop, if statement, etc.
      For example (pretend that the bunch of spaces is 1 indent):
      while true:
      print("hello world")
      print("bye")
      This will never print "bye" because its not in our loop, because its not indented and the while true loop will run forever
      Hope this helped :)

    • @galacticshrimpenterprise6100
      @galacticshrimpenterprise6100 3 роки тому +136

      @@skyr3x cool, I learned a neat thing today, thank you!!

    • @breakfastboii
      @breakfastboii 3 роки тому +18

      That’s pretty much how code works lol

  • @deanmoncaster
    @deanmoncaster 3 роки тому +836

    "I don't want to choose a favourite but fanimator is a current leader"
    Out of the only one that works so far not a bad position to be.

  • @twiceevery14
    @twiceevery14 3 роки тому +2178

    Every time he turns his head to see the tree the dramatically whip his head back to the computer to see what’s wrong sends me

    • @sagesolutions9054
      @sagesolutions9054 3 роки тому +8

      He swallows way too much also. Just sounds gross! ... not a voice for radio one could say!

    • @AceStrife
      @AceStrife 3 роки тому +25

      @@sagesolutions9054 Some people actually like that..
      ..and it's a common thing in ASMR videos too.
      I don't like mouth noises either, but to each their own.

    • @drivebyemusic
      @drivebyemusic 3 роки тому +31

      @@sagesolutions9054 throats get dry when you talk a lot

    • @mkle3977
      @mkle3977 3 роки тому +5

      @@sagesolutions9054 I didn't even notice until I read this ujuuu

    • @xxhollyxx97
      @xxhollyxx97 3 роки тому +2

      @@AceStrife yeah i didn’t get bothered because i watch a lot of asmr

  • @AesWhole
    @AesWhole Рік тому +220

    The fanimator one was incredible, especially getting to see it fully run in the outro

  • @Altair4611
    @Altair4611 2 роки тому +2007

    I love the way he just stares at the blank tree for a couple seconds and then glances his head over to his computer to see the error

  • @cawashka
    @cawashka 3 роки тому +5553

    all the ones that worked:
    02:25 “spin”
    07:24 “fire-animation”
    08:16 “fireflies”
    08:54 “octahedron-rotation”
    10:07 “painful-to-view” (prolly didn’t work)
    11:22 “rainbow-and-fireplace”
    12:05 “rehoboam”
    13:03 “RGBspheres”
    15:54 “sierpinsky-triangle”
    17:23 “smart-snake” (personal fav)
    20:44 “sync-to-intro”
    22:42 “3D-fire”
    23:33 “3D-spin”
    24:12 “bezier-comets”
    25:10 “candycane”
    26:00 “colour-orbs”
    26:33 “colour-waves”
    27:18 “contagion”
    28:09 “fire-andrew”
    28:58 “fire”
    30:06 “hue-shifting-helix”
    31:25 “moonbeam”
    32:29 “moreplanes”
    33:06 “nathan”
    35:02 “plasma-manoel”
    35:45 “quantum-hypercube”
    36:30 “radial-sine-waves”
    36:59 “sphere”
    38:51 “worms”
    43:20 “fanimator”

    • @GamerKid11
      @GamerKid11 3 роки тому +270

      "painful-to-view" definitely did not work, because on "worms" you could see the single LED lit up again

    • @squibs3355
      @squibs3355 3 роки тому +90

      Thank you for taking the time to compile this

    • @lanassokillerguy7310
      @lanassokillerguy7310 3 роки тому +229

      Also, 5:26 "fanimator"

    • @industrialover
      @industrialover 3 роки тому +24

      You missed a few in the beginning

    • @teapeaa
      @teapeaa 3 роки тому +14

      Bless your soul

  • @FoxenPiano
    @FoxenPiano 3 роки тому +5717

    "I'm a man of finite time"
    Spends 40 minutes running programs for blinky lights on a Christmas tree.

    • @leftleanin6649
      @leftleanin6649 3 роки тому +253

      spends 45 minutes watching a guy running programs for blinky lights in a Christmas tree

    • @realmaximouse
      @realmaximouse 3 роки тому +120

      @@leftleanin6649 ah but he never claimed he was a man of finite time

    • @dumdum7099
      @dumdum7099 3 роки тому +22

      @@realmaximouse 40 minutes is finite.

    • @phirerising
      @phirerising 3 роки тому +12

      Probably more actually, since he'd have to edit the video

    • @user-mk3rw8lf8m
      @user-mk3rw8lf8m 3 роки тому +5

      He said he wasn't going to edit the video, he did say he spend all day lining the code up tho

  • @AlmostCH
    @AlmostCH 4 місяці тому +34

    It’s the middle of summer and it’s 3 years later but I loved this video! Now all I want to do is have a beer by my Christmas tree which is beautifully lit 😄

  • @TotosTales
    @TotosTales 3 роки тому +1347

    Personally I loved “painful to view” because if that was its intended function, I think it’s hilarious because it is the sheer frustration of not having checked the lights before putting them on the tree

    • @TotosTales
      @TotosTales 3 роки тому +48

      @@safiire I really have 0 clue - I just saw a funky Christmas tree video. I believe you, it’s just I interpreted it that way given the file name

    • @TotosTales
      @TotosTales 3 роки тому +1

      @Dolly oh I can’t remember, but it’s relatively early in - sorry I can’t be more helpful!!

    • @spyrosgyros.
      @spyrosgyros. 3 роки тому +3

      @Dolly 10:05

    • @aviatornic2839
      @aviatornic2839 3 роки тому +5

      10:00

    • @Travnorton5
      @Travnorton5 3 роки тому +46

      I thought it was going to be a single light which causes you to get close and stare at it, then light up everything at once.

  • @Tozza229
    @Tozza229 3 роки тому +4348

    Lad, you’ve absolutely shithoused the UA-cam algorithm and I can do nothing more than respect it.

    • @acehellsing2491
      @acehellsing2491 3 роки тому +19

      i am the 1k like on this comment =)

    • @Tozza229
      @Tozza229 3 роки тому +90

      I’ve absolutely shithoused the UA-cam comment section and I can do nothing more than ask myself why?

    • @taffyadam6031
      @taffyadam6031 3 роки тому +9

      Ok british

    • @alreed2434
      @alreed2434 3 роки тому

      @@Tozza229 Ask why not?

    • @PoliticalDestruction
      @PoliticalDestruction 3 роки тому +12

      Makes sense... Untested code, Christmas tree in January, WHO wouldn't wanna watch this?

  • @abdelrahmanelsherbiny5434
    @abdelrahmanelsherbiny5434 3 роки тому +4068

    "this is not optimized for the youtube algorithm"
    2.5M views.

    • @cannonfodder-xh7ew
      @cannonfodder-xh7ew 3 роки тому +56

      Now its 3M,just a day difference

    • @Cucazikf
      @Cucazikf 3 роки тому +53

      While the original "optimized" video has only 400K views...

    • @Haverr1
      @Haverr1 3 роки тому +9

      @@Cucazikf *insert hmm emoji*

    • @GuidoHaverkort
      @GuidoHaverkort 3 роки тому +41

      Just go to show you cant choose to optimize for the algorithm, the algorithm chooses you.

    • @r32juan
      @r32juan 3 роки тому +1

      3.1

  • @jacquesdupreez2146
    @jacquesdupreez2146 Рік тому +57

    For those of you out there like me... ENJOY..
    2:26 - Original Spin Program.
    5:24 - Blinking Colors
    5:40 - Sine Function
    6:02 - Selecting Colours on X
    6:35 - Multi Colour Wave
    7:00 - Blue and Yellow Wave
    7:28 - Fire Animation
    8:15 - Fireflies
    8:52 - Octahedron Rotation
    11:20 - Rainbow Speed
    12:05 - Red Sparkles
    13:08 - RBG Colours
    14:25 - RBG Sphere
    15:55 - Sierpinski Triangle
    17:25 - Smart Snake
    20:50 - Sync With Song
    22:45 - 3D Fire
    23:35 - 3D Spin
    24:12 - Bezier Comet
    25:10 - Candy Cane
    26:02 - Light Orbs
    26:35 - Colour Waves
    27:18 - Contagion
    28:10 - Fire
    30:10 - Hue Shifting Helix
    31:35 - Moonbeam
    32:42 - More Planes
    33:08 - Nathan
    35:05 - Plasma
    35:45 - Hypercube
    36:30 - Radial Sine Waves
    37:00 - Sphere
    38:55 - Worms
    43:15 - Fanimator (END)

  • @joostvanrens
    @joostvanrens 3 роки тому +4102

    "I have finite free time"
    Says the man loading random code into his deteriorating Christmas tree on a Monday night.

    • @mattparker2
      @mattparker2  3 роки тому +760

      QED.

    • @aaronjulien7331
      @aaronjulien7331 3 роки тому +80

      while baking bread.

    • @duality4y
      @duality4y 3 роки тому +165

      i read that as "I have finite tree time"

    • @ssj3gohan456
      @ssj3gohan456 3 роки тому +26

      finite numbers go almost to infinity, but not quite.

    • @williametchison7678
      @williametchison7678 3 роки тому +23

      @@ssj3gohan456 9 trillion isn't any closer to infinity than 9.

  • @TC-8789
    @TC-8789 3 роки тому +3625

    I feel like I'm sitting through the most brutal finals class.

    • @97Giorgos97
      @97Giorgos97 3 роки тому +75

      This.

    • @kuroboshiron
      @kuroboshiron 3 роки тому +301

      i can totally imagine the people who submitted code and seeing the code work and just sitting back like "yesssss!!"

    • @Xkill89
      @Xkill89 3 роки тому +87

      Now this is a final that's worth doing. At least I'll fuck up with colors

    • @AjanUnderscore
      @AjanUnderscore 3 роки тому +127

      The way he doesn't look at the screen first to see if there's an error makes it so crushing.

    • @designerivan9775
      @designerivan9775 3 роки тому +69

      Let's see what this does... Nop, not working. Maybe next year if you still enrolled

  • @magno172
    @magno172 3 роки тому +2494

    5 minutes in, and not a single program has been able to run properly
    *WHY IS THIS ENTERTAINING ME*

    • @arijitroy7
      @arijitroy7 3 роки тому +3

      Omg 😂😂

    • @noobmaster7939
      @noobmaster7939 3 роки тому +3

      Thought it was click bait 🤣

    • @richardbonnette490
      @richardbonnette490 3 роки тому +9

      That was amusing, actually. He has some great reactions whenever the code fails somehow.

    • @Dankdalorde
      @Dankdalorde 3 роки тому

      Thank you for wasting your time for us

    • @ginger1531
      @ginger1531 3 роки тому

      @@richardbonnette490 "YEP"

  • @GermaphobeMusic
    @GermaphobeMusic Рік тому +1360

    42:28 "This is not optimized for the UA-cam algorithm"
    Becomes his most viewed video

    • @ME0WMERE
      @ME0WMERE 5 місяців тому +34

      more views than his most-viewed video on his main channel lol

    • @BlackAwsum
      @BlackAwsum 4 місяці тому +64

      UA-cam would NOT stop recommending me this video. It's been weeks. I finally caved and watched it lmao

    • @heatherbrm
      @heatherbrm 4 місяці тому +6

      @@BlackAwsumsame it probably recommended it to me 100 times

    • @yeti1835
      @yeti1835 4 місяці тому +3

      First time it's been recommended to me and I'm grateful to the algorithm

  • @TheRealPlato
    @TheRealPlato 3 роки тому +3272

    "This is not optimized for the youtube algorithm"
    > youtube recommends it to me for two months straight

    • @userPrehistoricman
      @userPrehistoricman 3 роки тому +18

      4 million views

    • @MrCheeze
      @MrCheeze 3 роки тому +33

      His second most popular video EVER! And it was off-the-cuff enough that he put it on his secondary channel instead of his main one.

    • @JanoyCresvaZero
      @JanoyCresvaZero 3 роки тому +4

      It’s been recommending it to me for days. Finally watched it.

    • @Project_Kritical
      @Project_Kritical 3 роки тому +1

      Make that 3 months

    • @panda_9742
      @panda_9742 3 роки тому

      Nice like count m8

  • @PronteCo
    @PronteCo 3 роки тому +1848

    "I'm sorry, you put so much effort into this.. but hopefully you'll get a doctorate!"
    I heard this one before

    • @khoast3835
      @khoast3835 3 роки тому +12

      haven’t we all? 😔

    • @novaria
      @novaria 3 роки тому +6

      Underrated

    • @sayallimbu4618
      @sayallimbu4618 3 роки тому +5

      As soon i saw this cmt he also said it
      What a timing

  • @stubbyfoamz1
    @stubbyfoamz1 3 роки тому +8007

    Everyone's a coder till they try lighting up a Christmas tree.

  • @AFRNick
    @AFRNick 11 місяців тому +47

    I come back like tradition and watch this every holiday. I wish he did it every year 😢

  • @Ash-jr4gq
    @Ash-jr4gq 3 роки тому +470

    code: *runs properly*
    matt: top 5 material!

  • @MrMonshez
    @MrMonshez 3 роки тому +2425

    Should've left the firefly play longer it was starting to look really good

  • @pigpig252
    @pigpig252 3 роки тому +4069

    I think fireflies was underrated, it’s very cute!

  • @imjopping
    @imjopping Рік тому +29

    I have nothing to do with coding and Christmas or beer, but I was compelled to click and thoroughly enjoyed every moment of this! I genuinely laughed several times and honest to god this might be one of my new favorite videos of all time. It's wholesome, it's genuine, and I learned so much about a whole world I knew nothing about. Thank you for this video!

  • @TheMegaPingasMobile
    @TheMegaPingasMobile 3 роки тому +1010

    I love how he looks at the tree and then turns back to see an error

    • @chickens-go-moo5079
      @chickens-go-moo5079 3 роки тому +100

      He whips around so excitedly and turns away so disappointed

    • @hanac5586
      @hanac5586 3 роки тому +40

      Every programmer knows the excitement before clicking run and then the disappointment when your code doesn't work or an error pops up lol

    • @hanac5586
      @hanac5586 3 роки тому +23

      "AHH WAIT now I know what the problem is!! Haha I was so stupid"
      *fixes the problem and tries again but it still doesn't work*
      "wHAT????"

    • @lilttiger
      @lilttiger 3 роки тому

      @@chickens-go-moo5079 this describes it perfectly its so sad and so funny at the same time 😭😭😭

  • @iFireMonkey
    @iFireMonkey 3 роки тому +6068

    I don't know how this showed up on my recommended but I watched all of it while laying in bed. Spooky code tree

  • @Mx.RumpusParable
    @Mx.RumpusParable 3 роки тому +1021

    I LOVED “Painful to view”. That was hilarious of a submission.

    • @edkroketje1
      @edkroketje1 3 роки тому +153

      I started laughing so hard when it started and you saw that no error code appeared but the tree was still dark.
      That was an amazing troll

    • @OMFGSTFUWTFBOLILLO
      @OMFGSTFUWTFBOLILLO 3 роки тому +119

      The funny thing is that the single led just kept being on even when he told the tree to turn off the 500 lights so he won for his code running the longest lol

    • @Timbobs
      @Timbobs 3 роки тому +54

      @@OMFGSTFUWTFBOLILLO I thought so too, but I think it’s the light from the power plug. It’s on even before the code runs.

    • @shanechopko5523
      @shanechopko5523 3 роки тому +3

      Here ya go! 10:00

    • @OMFGSTFUWTFBOLILLO
      @OMFGSTFUWTFBOLILLO 3 роки тому +4

      @@Timbobs yeah just saw so what exactly did that even turn on lmao it was probably a light that couldn't even be seen

  • @catchingstars7
    @catchingstars7 11 місяців тому +31

    This was great.
    I hope you'll upload the song+tree this year as a separate video. I hope the people who sent in their code but it didn't work, get a chance to resubmit their code and get featured in a new video this year.

  • @maybepumpkins
    @maybepumpkins 2 роки тому +4918

    I like how he reviews each animation, but if it breaks, he reviews the error message instead.
    "Classic", "I am not touching that" etc.

    • @squiffedallday
      @squiffedallday 2 роки тому +57

      Because who has time to go through each one and fix everyone’s litany of issues

    • @Bullshit_Media
      @Bullshit_Media Рік тому +60

      Oh, no! Anyway

    • @Zed_eS
      @Zed_eS Рік тому +88

      @@squiffedallday he’s not saying them not being fixed is a problem, he’s saying it’s amusing that he reads the error message out and comments on it in some way lol :)

    • @user-pr6ed3ri2k
      @user-pr6ed3ri2k Рік тому +3

      I read this a minute before "I am not touching that" lol

    • @mbdg6810
      @mbdg6810 Рік тому +1

      @@squiffedallday some of the errors are the code being ran in sudo when certain things are downloaded using pip3

  • @dafoex
    @dafoex 3 роки тому +834

    Mad respect to all the people that sent in code, though. Developing for an obscure piece of hardware that you don't actually have access to seems like a nightmare!

    • @LeoTheHuman
      @LeoTheHuman 3 роки тому +36

      One can write a simulator, the example code is there with a visual it produces and the hardware is pretty well defined (:

    • @nagitokomaeda3237
      @nagitokomaeda3237 3 роки тому +8

      rm -rf /

    • @esixt
      @esixt 3 роки тому +2

      @@nagitokomaeda3237 --no-preserve-root

    • @Watcher-of-Forms
      @Watcher-of-Forms 3 роки тому +8

      @@nagitokomaeda3237 Wtf? I typed that into my console to see what it does and my computer disappeared O.o

    • @gblargg
      @gblargg 3 роки тому

      Write an interface to the hardware and implement a simple simulator for testing. Could simply plot as ASCII periodically, or output images to files.

  • @JossieMimo
    @JossieMimo 3 роки тому +2252

    33:12 "Displaying matt parker's head?"
    *Matt proceeds to show his head to the camera*
    Code successful.

  • @YourKyckling
    @YourKyckling 19 днів тому +4

    This is one of the most cozy and comforting videos I have ever seen. Thank you.

  • @jipfr
    @jipfr 3 роки тому +763

    I just watched a 40 minute video of a man running untested code on his christmas tree.... and it was totally worth it

    • @egretfx
      @egretfx 3 роки тому +1

      Yeah. Me too..Loved it!

    • @JohnPedder
      @JohnPedder 3 роки тому

      Same lol

    • @marvinblue6825
      @marvinblue6825 3 роки тому +4

      Yeah and I hope next year his tree has a higher resolution 😁🎄🎄🎄

  • @NatePrawdzik
    @NatePrawdzik 3 роки тому +5106

    The most fun is watching you get progressively happier as the beer becomes progressively more absent.

  • @SupremeCreame
    @SupremeCreame 3 роки тому +628

    The way he spins around when code doesn't work just makes me chuckle, idk why.

    • @animuauntie
      @animuauntie 3 роки тому +19

      To me its the way his head swivels back to the terminal

    • @00vulture
      @00vulture 3 роки тому +14

      **play**
      "Let's see what we have here!"
      0.06 seconds after realizing it doesn't work:
      **super fast 180° spin with head**
      **reads code for 3 seconds**
      "well, to the next we go"

  • @BROWNBRANCH
    @BROWNBRANCH 6 днів тому +3

    Every winter since this video was released the algorithm has recommended this video and everytime I watch it 😂

  • @DevinJuularValentine
    @DevinJuularValentine 3 роки тому +169

    I have been avoiding watching this for months, it is constantly recommend to me and I have no idea why. But here I am, finally. I'm ready for the tree.

  • @Shendue
    @Shendue 3 роки тому +326

    Fanimator is a clear winner, he put so much in that. Snake is definetely second best, very original and perfectly executed. Fireflies was very pretty and cozy.

  • @ThePaul555
    @ThePaul555 3 роки тому +940

    The "smart snake" is so badass. Just needs to be a bit slower

    • @isidoreaerys8745
      @isidoreaerys8745 3 роки тому +14

      How does the computer program know the LED’s location in 3 dimensional space in order to create the effect of directional movement through the lights?

    • @ThePaul555
      @ThePaul555 3 роки тому +13

      @@isidoreaerys8745 absolutley no clue friend. I'm no magician lol

    • @isidoreaerys8745
      @isidoreaerys8745 3 роки тому +3

      @@ThePaul555 thanks

    • @divyanshaggarwal6243
      @divyanshaggarwal6243 3 роки тому +6

      @@isidoreaerys8745 the video explaining it is on matts first channel Stand Up Maths

    • @isidoreaerys8745
      @isidoreaerys8745 3 роки тому +1

      @@divyanshaggarwal6243 thanks

  • @2FacedManiac
    @2FacedManiac Місяць тому +3

    This is the third or fourth time UA-cam has shown me this video and without fail I watch it, and every time I am surprised and amazed.

  • @micahmatichuk
    @micahmatichuk 3 роки тому +998

    Gamers: need higher res monitor
    Matt: need higher res tree

  • @Jade_Raven
    @Jade_Raven 3 роки тому +453

    Why am I enjoying this so much, I don’t code, it’s not Christmas, and I’m not on psychedelics

  • @soup5344
    @soup5344 3 роки тому +970

    I enjoy how the [inconsistent use of tabs and spaces in indentation] error just sounds like a note a teacher would put on an essay.

    • @MrCmon113
      @MrCmon113 3 роки тому +44

      Optimally grading should be like an informative error message. So the student can go into his source code and correct it.

    • @Stettafire
      @Stettafire 2 роки тому +4

      @Technophilius Pulcherax I'm a .Net (C#) dev as a living. My coworjers will tell you I'm super OCD with spacing and indentation. The joke is "oh dear look at Larry's code! You'll make Stetta's eyes twitch!" It doesn't matter regarding compilation, bit its one of those little ways that marks code with care and time put in it compared to something slap-dash

    • @uberlord983
      @uberlord983 2 роки тому

      Granted, one of the biggest things about code isn't that it just runs, but that anyone else with coding ability similar to your own can look at a program you've written, & clearly understand what you're doing without so much as a word from you. Because writing code that you use is one thing, but writing code that others can use without a hitch is a whole level above that.

    • @enclave2k1
      @enclave2k1 2 роки тому

      @@Stettafire Readability is important. Dogmatism is not. If indentation spikes your cortisol, this is more of an indication of pedantry or lack of real problems to solve.
      Style cops exist to address these issues; _"You'll make Stetta's eyes twitch!"_ becomes _"This code will never pass our style check and will be rejected on commit. Fix your shit, [sloppyCoderName]."_

  • @KrakHedKorps
    @KrakHedKorps 3 дні тому +1

    UA-cam recommends this video to me every year around this time and I love it! I’d love to see an updated video to this!

  • @VseeAR
    @VseeAR 3 роки тому +3239

    Everyone: Wow, this is really impressive!
    Me, who knows nothing about code: Tree does pretty colors haha

  • @cyandrix
    @cyandrix 3 роки тому +5688

    Man, I can't imagine trying to create code without being able to test the code first

    • @Sergonizer
      @Sergonizer 3 роки тому +75

      Well having a sample code and knowing python it is not really hard

    • @vojtechstrnad1
      @vojtechstrnad1 3 роки тому +435

      You can test it by replacing the tree controller with some dummy object and checking that it's receiving what it's supposed to be receiving. Also known as integration testing. There might still be errors that you would only notice with the real tree, but it certainly wouldn't crash like it did for most people in the video.

    • @jeffstewert12
      @jeffstewert12 3 роки тому +112

      He says in the video there’s a virtual tree they could test on, although that didn’t fix things apparently

    • @alexandrezani
      @alexandrezani 2 роки тому +16

      @@vojtechstrnad1 Making good fakes is really hard though. My usual approach is to run all my tests on both the fake and real one and require identical behavior, but it's easy to miss parts of your interface.

    • @davidy22
      @davidy22 2 роки тому +38

      @@jeffstewert12 most of the error messafes looked like they didn't have anything to do with the interface, guys just didn't test their code

  • @wakerobin9215
    @wakerobin9215 3 роки тому +915

    This guy seems like he'd be a really good teacher. He's friendly and enthusiastic, yet you wouldn't want to disappoint him with your project lol. Fun video 😀

    • @azerty1933
      @azerty1933 3 роки тому +9

      I'm actually surprised he is not an actual coding teacher
      The way he explains everything really sounds like some (good) teachers i had in uni

    • @tspander
      @tspander 3 роки тому +17

      I mean, he used to be a math teacher before he went to do public science communication and then UA-cam. So that energy isn't coming from nowhere

    • @orotoi1
      @orotoi1 3 роки тому +13

      He is a teacher. Just not working on a "normal" school or something..
      Educating public and making science more aproachable to a wider audience is a kind of 'teaching'.

  • @magnusnate
    @magnusnate 11 місяців тому +6

    I watch this every year on/around Christmas. I can't place it but there's just something comforting about it. Thanks a bunch.

  • @kate_07
    @kate_07 3 роки тому +798

    The UA-cam algorithm literally said, “aye it’s like 3 weeks after Christmas but hey, let’s watch this cool coded tree.
    Me: **respect**

    • @ancientbuns6770
      @ancientbuns6770 3 роки тому

      Big mommy Milkers

    • @EoRdE6
      @EoRdE6 3 роки тому +3

      I mean he posted it two weeks after Christmas

  • @Zicora
    @Zicora 3 роки тому +1199

    "Can you play Doom on it?" That's the real question.

    • @juliewinchester1488
      @juliewinchester1488 3 роки тому +71

      Actually, yes.
      It looks like crap, _low-res trees after all_
      But you can

    • @Septimus7140
      @Septimus7140 3 роки тому +8

      But can it run Crysis?

    • @kllrnooooova
      @kllrnooooova 3 роки тому +30

      And the other real question: Can it play Bad Apple?

    • @tm0129
      @tm0129 3 роки тому +1

      @@Septimus7140 no no no. Dark souls

    • @dumbdumb8526
      @dumbdumb8526 3 роки тому +2

      @@kllrnooooova exactly what I thought. I’m generally disappointed no one sent code for bad apple

  • @heshuimu
    @heshuimu 3 роки тому +1377

    "Computer Engineering Professor roasts his students' assignment for 45 minutes"
    Seriously: Untested code, suspicious plagiarism, and the one that goes above and beyond.

    • @Zondac
      @Zondac 3 роки тому +88

      AHAHAHA god damn that's literally how it is every damn assignment, what an amazing analogy

    • @thejusmar
      @thejusmar 3 роки тому +7

      What testing methodology would you use to test for deployment on some dudes Christmas tree?

    • @handle11122
      @handle11122 3 роки тому +3

      @@thejusmar write some mocks

    • @StatusQuo209
      @StatusQuo209 3 роки тому +2

      Sounds like a typical college class.

  • @yn2570
    @yn2570 11 місяців тому +9

    Since this video has been out I like to come back every Christmas and watch this to get in the Christmas spirit.

  • @chevvy427
    @chevvy427 3 роки тому +1512

    33:15 "Displaying Matt Parker's Head" *leans over to look, showing the camera the back of this head*

    • @ReddBerry78
      @ReddBerry78 3 роки тому +8

      XD

    • @KhanhNguyen-dg9rl
      @KhanhNguyen-dg9rl 3 роки тому +114

      In case you haven't notice, you have fallen right into my trap

    • @TheMangomelon789
      @TheMangomelon789 3 роки тому +3

      I just ruined the perfect 666 likes on this comment 🤷‍♀️

  • @ryanm8144
    @ryanm8144 3 роки тому +1908

    "This channel is not optimised for the algorithm"
    You underestimate my UA-cam recommended, glad I found your main channel through here!

    • @lukjad007
      @lukjad007 3 роки тому +16

      It might show up even without being optimised though. A shovel will still work even if it's not optimised for digging in sand, it would just be less effective.

    • @toastiftw5299
      @toastiftw5299 3 роки тому +16

      I have seen two midgets racing a camel show up in my feed, the algorithm shows us things that need to be seen

    • @noohairdontcare
      @noohairdontcare 3 роки тому +1

      It is now

    • @GottZ
      @GottZ 3 роки тому +1

      @@noohairdontcare i found it through recommendations too.

    • @Dougy359
      @Dougy359 3 роки тому +1

      @@toastiftw5299 that’s a glorious video

  • @DarkDodger
    @DarkDodger 2 роки тому +5361

    I don't understand coding, nor do I ever talk about coding, but "I'm enjoying that both on an aesthetic and conceptual level" is a phrase I am shamelessly stealing and will proceed to use in everyday conversation.

    • @chithead3768
      @chithead3768 2 роки тому +62

      You are going to sound insufferable

    • @DarkDodger
      @DarkDodger 2 роки тому +212

      @@chithead3768 Didn't feel like he sounded insufferable in the video, maybe you did, I don't know.

    • @tektauron
      @tektauron 2 роки тому +61

      timestamp of this quote for those interested: 27:56

    • @RedKincaid
      @RedKincaid 2 роки тому +111

      @@chithead3768 Maybe if the people you hang out with are boring. Among the right friends they wouldn't care if you spoke in rhymes and riddles as long as it's from the heart

    • @snakedeadly
      @snakedeadly 2 роки тому +58

      Paired with “my disappointment is immeasurable, and my day is ruined” for those bad days

  • @kashmiryy8820
    @kashmiryy8820 Місяць тому +5

    I'm ngl i watch this every year. What a video