| Blog | https://silveiraneto.net |
Let's do this.

Let's learn and grow. New things are cool!Links 'n' stuff down below. Lots of links.First, the "clean version." Please pass that around.https://youtu.be/Zgxb...
I was asked over IRC if my cosine-powered Fizz Buzz could be a one-liner. Of course it can:
printf 'from math import cos, pi\nfor n in range(1, 20):\n print([n, "Fizz", "Buzz", "FizzBuzz"][round(11/15 + (2/3) * cos(2*pi*n/3) + (4/5) * (cos(2*pi*n/5) + cos(4*pi*n/5)))])' | python3
I mean, it looks nice and all. Good for demos. There is that. But they could have somehow made it to work better out-of-the-box. It feels like configuring something 20 years ago.