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.
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.
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.
@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!”
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
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.
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
@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.
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!
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 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
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
@@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.
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.
@@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
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.
@@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.
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.
“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
@@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
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.
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?
@@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
@@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). 🤷🏻♀️
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.
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.
@@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.
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
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!
*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
@@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 :)
@@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.
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 😄
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
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!
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
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.
@@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 :)
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!
**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"
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.
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.
@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
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.
@@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]."_
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.
@@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.
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 😀
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'.
"Computer Engineering Professor roasts his students' assignment for 45 minutes" Seriously: Untested code, suspicious plagiarism, and the one that goes above and beyond.
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.
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 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
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
You pretty much are
That "It's a hue. I'm not huuuuegely impressed so far" on 30:08 prove that 🤣🤣
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.
@@darkdestroyer32 well yea dude if you wanna be a game developer why develop boring games
Watching it through that point of view makes this video so much more enjoyable
The comedic timing when he turns around to look at the tree but we can already see the code is broken is so good
2⁹thliker
right. lmaoooo
@@abel6298why KJV? It's wildly innacurate at many points and dishonestly censored in many ways
the way he quickly turns his head to look at the screen is too funny
@@-Teague-Because this idiot thinks he's smart for reading the bible in broken old english. Religious people aren't very bright
This felt exactly like when my comp sci professor ran through every student's final project in front of the class. Traumatic memory.
relatable
(am incoming freshman in CS) oh god am i making a mistake
@@Eidako and they all clapped
I’m learning code right now and I felt the cortisol shoot through me after reading this.
That's the exact vibe I got from it lmao
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.
traumatic
it’s a painful lesson but you dont get to be good at programming without doing a stupid or two
repeat that for 4 years and you're an IT graduate
@@polomarco8773 more like 50-
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.
"My tree is too low-resolution" is a problem from the 2050s.
Thank you ancient Celtic Norf F. C. Wojak
Or cyberpunk 2077 but with faces
12:54 for the timestamp thank me later
Or Pokemon SWSH trees.
He’s a time traveler from the future confirmed
the way he looks at the tree expecting something and then turns back to the computer so aggressively is hilarious
@Jaleesa Hernandez or its just.. the guy turning around..
@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!”
@Jaleesa Hernandez I don't think the algorithm cares about the actual video content so much as the viewer behavior of that content.
@Jaleesa Hernandez what?
The simplex noise reaction was brilliant.
"Painful to view" and it's one LED at the back and bottom of the tree. Absolutely genius.
its my fav too
Timestamp?
@@reothomas956 10:07
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
yeah, masterpiece... loved it
Why was I recommended this random video about a Christmas tree 3 years later in September? Who knows but I'm still watching
same here lmfao
same here
same…
bro same
Same 😂 I thought same thing
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.
It was absolutely genius indeed
I laughed hard at “painful to view” that was the most refreshing for sure. Genius indeed!
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”
Time stamp ?
@@Gapeh0rn 10:06
Use this as ‘I have no idea about code I just like the pretty colours’
Sike i "kinda" know how to do code
I know how to code but support those who don't
I only know html 😂
@@tylercs8750 who are you?
@@tylercs8750 you prob can’t code to save your life.
When I saw the first few fail, I literally thought it was a troll video about how code never works.
What I came down to comments looking to find out myself haha
Me too
then the sudden spook when the first one to work happened.
Leo!
Fair
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
You’re missing 10:06 painful to view and 10:46 perlin 😂
@@simonblackwell3576no because they didn't work
@@candice5759painful to view did work. It was just a single painful light.
Painful to view was the best.
Legend
The level of judgment is *exactly* like a professor going through his students projects
I'd bet this guy is a high school teacher. He's got that vibe.
@@ev5837 this is his job, but he does do lectures at universities, he likely does have teaching experience
I refuse to like your comment so you can stay on 666
@@Nessa___ that's a nice sentiment but like all great things, that number was ephemeral
lmao
"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 !
Don't forget inconsistent use of tabs vs spaces
@@SongOfStorms411 Nah that's more commonly a difference in text editor choice.
@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.
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)
These are common code mistakes
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
Same! Cheers friend!
I see what you did there
Mood
I agree, feeling thoroughly more relaxed and interested in this sort of thing
Idk how I got here, but I'm not complaining lol
i actually love that its unedited
Same
"Painful to view?"
*one single led turns on*
"Well, you're not wrong."
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.
@@phraseology6858 Flashbang out
i dont think matt understood the joke... needles touching your face in order to view that light
That single led is open from the very start right?? Are my Eyes broken?
@@spectatorhomi Yeah I saw that too
Mad props to whomever actually got the code to run, without having the physical hardware or the correct software environment!
For real, I couldn't do it even if I had the hardware and software necessary.
Whoever
@@goldenkow5161 whoever is correct
@@Leon-uu4wk They’re actually both correct. You can use either term depending on if you use a classic style English vocabulary or not.
For real, the way I code is just write whatever until I can start test running and then fix the broken code
"You need a better resolution tree" might just be the most futuristic thing I have ever heard.
2012 lorax be like
Sounds like Minecraft
What?! You have a prebuilt tree? You know its cheaper to build it yourself right?
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!
@@behinderungimtunnel714 Your Tree might be unstable!
its 3 am and the middle of july but hey, if youtube brought me here i will happily stay and watch
Summer here too, and I have no idea about code or anything related to code. I enjoyed the last one though, and his bread.
Same only a month later
I'm having great fun with it! Also funny having Matt apologetically say thanks for watching while this definitely isn't my first time
same, and I'm pretty sure I've watched this video before
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.
That actually sounds like an extra credit assignment I had one year lol
You captured the vibe of college courses perfectly
@@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
the prof seems fun and quirky but it's actually the hardest course you'll ever take
I miss the chill moments at school
I don't know who this guy is but I watched 45 minutes of him changing the color of his christmas tree.
Same. I know nothing about code and I've never seen this guy but that was a very interesting video lol
He has a main channel about mathematics and the like that I'm subscribed to, but I stumbled on this one too.
Interesting same here.
same lol
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
Nothing makes me happier as an old computer science major than seeing all the code not working for like 3 minutes straight
My first assignment in my C++ II class was programming a functional knights tour chessboard. So happy to know im in good company here
lol
but why though, that seems almost like me watching someone test a mod for an hour trying to get it to work
@@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.
sado masochism, right on
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.
criminally underrated comment
😂😂😂😂😂
*jokingly* What I learnt is that given a christmas tree, most programmers would set it on fire
Full brightness, all LEDs on, PSU on fire! :D
I prefer the term, "set it ablaze" thank you very much
@@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
They went from inverting a binary tree to setting a real one on fire... They learn so fast
Put a fire dispenser next to the christmass tree and do "repeat(1000) FIRE();" 😄
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.
That's why 2x is your friend
@Absins optimized pyschopath
@@Speed001 adhd
@crylune real adhd is watching the whole thing
"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?
Same
Youre either liers or outliers
I've been getting this recommended since Christmas, it's now past St Patrick's day.
@@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.
@@moisessoto5061 ah, now that I think of it I'm subbed to micheal Reeves. So maybe not that random
34:04 that's bad apple, you madlad!
You have incredible eyes to catch this
Oh shit now i kinda see it
Yup. Dude did it, recognized it by first couple of frames
Saddest part was when the beat dropped but the tree didn’t
TIIIIIMMMBERRRRR
It did at the end tho
wait the tree was supposed to fall? 😳
The fireflies code is highly underrated. I’d have that one on all night
There are cheaper ways to burn down your house though
Fav
Timestamp?
Niklas Alasuutari watch the full vid bum
@@brendon2255 keyboard warrior
Its 4am and I'm watching untested code being run on a Dying Christmas tree, what is my life right now.
Same, though I’ve just about finished watching the video and it’s now 04:30
Same
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
Legit 3:59 am as i’m scrolling through the comments lmao
It’s 4:18am 😂 wow what have we become 😂
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!!
came here to say that too!
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.
I "MAY" have a problem.
@@mthlay15you beat me to the punch. 😂
Almost summer and watching 😂
And here we are almost half a year from Christmas..
A week before my LC exams in June and I'm procrastinating watching a tree lightshow
That one LED he notices during "painful to view" never shuts off
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.
@@HISEROD i don't think that's the case tho
It's the led on the Raspberry Pi
No because he saw it himself in real and pointed it out! 😂 That's why I doubt it's a lense flare.
@@missundies How do you know he wasn't looking at an occluded light?
"painful to view" was an under appreciated masterpiece
It was my favorite part
timestamp? 😭
@@thisphoneisbusted 10:02
It didn't even RUN - that light is on earlier @3:10 (and long after)
@@KXC42069 we may not be able to see it, but he looked and said there was a light that came on
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
“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
Yeah the closest things I watch on my channel here is unboxings.
I’ve never seen this man in my life and it showed up on my homepage
I had never watched or even heard of his videos, but now im subscribed to his second channel loll
Same
I've literally never watched one of his videos and don't watch coding videos yet here I am thanks to the algorithm
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.
Totally agree. And I can't believe that I spend nearly an hour watching it.
In April.
Yup. Its May and I watched the whole thing.
Relatable
I know nothing about coding and i dont celebrate christmas yet here i am
My favorite parts were the moments he'd turn around expecting something to cool happen before seeing the error message pop up.
rip the guy that wrote blen instead of blend for one of his function calls. 26:26
Big Rip
Sadge
da blen
How do you not test if it works first
@@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
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
Nailed it. My thoughts exactly
I'm disappointed not more people know this
Season 3 better than season 2? I loved season 1 but season 2 turned me off
@@Aquablecsunfortunately I think each subsequent season is a bit worse, with 4 and 5 maybe being a tossup
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.
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?
@@PartlyXenon on any platform it's better to install into a virtual environment using virualenv/poetry
@@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
@@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). 🤷🏻♀️
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.
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.
Install a server rack, that would be a super computer of a job
Someone would find a way to play Doom on it/recreate Bad Apple!!.
@@fuzzybuzzy3159 why is this so true
@@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.
@@dylanshandley1246 OH MY GOD.....I KNOW A GUY.
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
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!
same hat
@@Resomius That's actually neat.
Same.
Yep, at least the time of year was almost accurate for my recommendation.
The way Matt walks into frame with a loaf of bread just as the code time out is an aesthetic masterpiece
*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
I wouldve rather seen him run wannacry than imagining whatever the poor guy must be going through who had inconsistent indents 😔
I’m completely code illiterate, what does inconsistent indents mean? (If it’s too complex no stress lol)
@@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 :)
@@skyr3x cool, I learned a neat thing today, thank you!!
That’s pretty much how code works lol
"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.
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
He swallows way too much also. Just sounds gross! ... not a voice for radio one could say!
@@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.
@@sagesolutions9054 throats get dry when you talk a lot
@@sagesolutions9054 I didn't even notice until I read this ujuuu
@@AceStrife yeah i didn’t get bothered because i watch a lot of asmr
The fanimator one was incredible, especially getting to see it fully run in the outro
it's so cool!
Yes!
43:33
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
Timestamp?
@@AdminRosss0:00 - 45:16
@@Kokurorokuko ty
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”
"painful-to-view" definitely did not work, because on "worms" you could see the single LED lit up again
Thank you for taking the time to compile this
Also, 5:26 "fanimator"
You missed a few in the beginning
Bless your soul
"I'm a man of finite time"
Spends 40 minutes running programs for blinky lights on a Christmas tree.
spends 45 minutes watching a guy running programs for blinky lights in a Christmas tree
@@leftleanin6649 ah but he never claimed he was a man of finite time
@@realmaximouse 40 minutes is finite.
Probably more actually, since he'd have to edit the video
He said he wasn't going to edit the video, he did say he spend all day lining the code up tho
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 😄
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
@@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
@Dolly oh I can’t remember, but it’s relatively early in - sorry I can’t be more helpful!!
@Dolly 10:05
10:00
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.
Lad, you’ve absolutely shithoused the UA-cam algorithm and I can do nothing more than respect it.
i am the 1k like on this comment =)
I’ve absolutely shithoused the UA-cam comment section and I can do nothing more than ask myself why?
Ok british
@@Tozza229 Ask why not?
Makes sense... Untested code, Christmas tree in January, WHO wouldn't wanna watch this?
"this is not optimized for the youtube algorithm"
2.5M views.
Now its 3M,just a day difference
While the original "optimized" video has only 400K views...
@@Cucazikf *insert hmm emoji*
Just go to show you cant choose to optimize for the algorithm, the algorithm chooses you.
3.1
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)
"I have finite free time"
Says the man loading random code into his deteriorating Christmas tree on a Monday night.
QED.
while baking bread.
i read that as "I have finite tree time"
finite numbers go almost to infinity, but not quite.
@@ssj3gohan456 9 trillion isn't any closer to infinity than 9.
I feel like I'm sitting through the most brutal finals class.
This.
i can totally imagine the people who submitted code and seeing the code work and just sitting back like "yesssss!!"
Now this is a final that's worth doing. At least I'll fuck up with colors
The way he doesn't look at the screen first to see if there's an error makes it so crushing.
Let's see what this does... Nop, not working. Maybe next year if you still enrolled
5 minutes in, and not a single program has been able to run properly
*WHY IS THIS ENTERTAINING ME*
Omg 😂😂
Thought it was click bait 🤣
That was amusing, actually. He has some great reactions whenever the code fails somehow.
Thank you for wasting your time for us
@@richardbonnette490 "YEP"
42:28 "This is not optimized for the UA-cam algorithm"
Becomes his most viewed video
more views than his most-viewed video on his main channel lol
UA-cam would NOT stop recommending me this video. It's been weeks. I finally caved and watched it lmao
@@BlackAwsumsame it probably recommended it to me 100 times
First time it's been recommended to me and I'm grateful to the algorithm
"This is not optimized for the youtube algorithm"
> youtube recommends it to me for two months straight
4 million views
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.
It’s been recommending it to me for days. Finally watched it.
Make that 3 months
Nice like count m8
"I'm sorry, you put so much effort into this.. but hopefully you'll get a doctorate!"
I heard this one before
haven’t we all? 😔
Underrated
As soon i saw this cmt he also said it
What a timing
Everyone's a coder till they try lighting up a Christmas tree.
How many coders do you need to change the lights on a Christmas tree...
@@pillescasdies 0, because It'll never work anyways
lmao
🤣🤣🤣
😂
I come back like tradition and watch this every holiday. I wish he did it every year 😢
same!
code: *runs properly*
matt: top 5 material!
Should've left the firefly play longer it was starting to look really good
I agree
I think it was my favourite one, I'd leave it on all night
Yes. My fav. Blue is soothing.
Definitely my favorite. It's so soothing
It was really relaxing.
I think fireflies was underrated, it’s very cute!
Timestamp plees?
8:15
@@theNeverangel thank you
I like that one!
It got cut off before it could run up the tree. He gets bored before he gave some a chance...
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!
I love how he looks at the tree and then turns back to see an error
He whips around so excitedly and turns away so disappointed
Every programmer knows the excitement before clicking run and then the disappointment when your code doesn't work or an error pops up lol
"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????"
@@chickens-go-moo5079 this describes it perfectly its so sad and so funny at the same time 😭😭😭
I don't know how this showed up on my recommended but I watched all of it while laying in bed. Spooky code tree
LOL same!!
Haha currently same. Prob should get up considering its 9am and I woke up at 6am.
Literally me??
Me
Spoop tree
I LOVED “Painful to view”. That was hilarious of a submission.
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
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
@@OMFGSTFUWTFBOLILLO I thought so too, but I think it’s the light from the power plug. It’s on even before the code runs.
Here ya go! 10:00
@@Timbobs yeah just saw so what exactly did that even turn on lmao it was probably a light that couldn't even be seen
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.
I like how he reviews each animation, but if it breaks, he reviews the error message instead.
"Classic", "I am not touching that" etc.
Because who has time to go through each one and fix everyone’s litany of issues
Oh, no! Anyway
@@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 :)
I read this a minute before "I am not touching that" lol
@@squiffedallday some of the errors are the code being ran in sudo when certain things are downloaded using pip3
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!
One can write a simulator, the example code is there with a visual it produces and the hardware is pretty well defined (:
rm -rf /
@@nagitokomaeda3237 --no-preserve-root
@@nagitokomaeda3237 Wtf? I typed that into my console to see what it does and my computer disappeared O.o
Write an interface to the hardware and implement a simple simulator for testing. Could simply plot as ASCII periodically, or output images to files.
33:12 "Displaying matt parker's head?"
*Matt proceeds to show his head to the camera*
Code successful.
i see what he did there
Mind code
1000iq programming
Lol XD
Exactly what I noticed ))
This is one of the most cozy and comforting videos I have ever seen. Thank you.
I just watched a 40 minute video of a man running untested code on his christmas tree.... and it was totally worth it
Yeah. Me too..Loved it!
Same lol
Yeah and I hope next year his tree has a higher resolution 😁🎄🎄🎄
The most fun is watching you get progressively happier as the beer becomes progressively more absent.
Don’t you mean present?
@@JustTryingToGetAYTPlayButton absent from the glass
@@DhirC35 💀
3700thliker
@@JustTryingToGetAYTPlayButton present in his belly
The way he spins around when code doesn't work just makes me chuckle, idk why.
To me its the way his head swivels back to the terminal
**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"
Every winter since this video was released the algorithm has recommended this video and everytime I watch it 😂
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.
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.
Fire fly should have had a longer run
The "smart snake" is so badass. Just needs to be a bit slower
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?
@@isidoreaerys8745 absolutley no clue friend. I'm no magician lol
@@ThePaul555 thanks
@@isidoreaerys8745 the video explaining it is on matts first channel Stand Up Maths
@@divyanshaggarwal6243 thanks
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.
Gamers: need higher res monitor
Matt: need higher res tree
Why am I enjoying this so much, I don’t code, it’s not Christmas, and I’m not on psychedelics
But you like bread
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.
Optimally grading should be like an informative error message. So the student can go into his source code and correct it.
@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
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.
@@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]."_
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!
Everyone: Wow, this is really impressive!
Me, who knows nothing about code: Tree does pretty colors haha
I'm just gonna agree you both.. I dont even know what's goin on- but it's pretty-
Lmfao
@@CarrSasticCreations lmao
ahahaha
It makes me want to get a tree I can control with python
Man, I can't imagine trying to create code without being able to test the code first
Well having a sample code and knowing python it is not really hard
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.
He says in the video there’s a virtual tree they could test on, although that didn’t fix things apparently
@@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.
@@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
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 😀
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
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
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'.
I watch this every year on/around Christmas. I can't place it but there's just something comforting about it. Thanks a bunch.
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**
Big mommy Milkers
I mean he posted it two weeks after Christmas
"Can you play Doom on it?" That's the real question.
Actually, yes.
It looks like crap, _low-res trees after all_
But you can
But can it run Crysis?
And the other real question: Can it play Bad Apple?
@@Septimus7140 no no no. Dark souls
@@kllrnooooova exactly what I thought. I’m generally disappointed no one sent code for bad apple
"Computer Engineering Professor roasts his students' assignment for 45 minutes"
Seriously: Untested code, suspicious plagiarism, and the one that goes above and beyond.
AHAHAHA god damn that's literally how it is every damn assignment, what an amazing analogy
What testing methodology would you use to test for deployment on some dudes Christmas tree?
@@thejusmar write some mocks
Sounds like a typical college class.
Since this video has been out I like to come back every Christmas and watch this to get in the Christmas spirit.
33:15 "Displaying Matt Parker's Head" *leans over to look, showing the camera the back of this head*
XD
In case you haven't notice, you have fallen right into my trap
I just ruined the perfect 666 likes on this comment 🤷♀️
"This channel is not optimised for the algorithm"
You underestimate my UA-cam recommended, glad I found your main channel through here!
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.
I have seen two midgets racing a camel show up in my feed, the algorithm shows us things that need to be seen
It is now
@@noohairdontcare i found it through recommendations too.
@@toastiftw5299 that’s a glorious video
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.
You are going to sound insufferable
@@chithead3768 Didn't feel like he sounded insufferable in the video, maybe you did, I don't know.
timestamp of this quote for those interested: 27:56
@@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
Paired with “my disappointment is immeasurable, and my day is ruined” for those bad days
I'm ngl i watch this every year. What a video