I hope you all had a wonderful week! I've had an international one, I spoke both in Paris on Thursday and in Dublin on Friday! I'm still off in Europe now doing some teaching for work. I've really enjoyed being out here, but I admit I'm quite excited to go home. Anyway, let's go!
Web links of the week
React 16.13.0 released
Making Things Better: Redefining the Technical Possibilities of CSS
CSS Motion Path: The end of GSAP?
Something that interested me this week
I released Version 2 (and promptly 2.0.1) of my to-do app, todometer, this past week! It's completely rewritten from the ground up. I took out Redux and a bunch of old processes, class-based components, and styling and put it all together in a tidy new React hooks-based package.
I first wrote the app back in 2017 (if you go deep through the archives of my newsletter, I talk about it!), as a way to learn Electron, Redux, and to have something to motivate me to do my tasks better. It worked for what I wanted it to do, but it was kind of hard to maintain in the way I wrote it, and over time I just lost motivation to deal with it. Recently, I missed having that app around, so I rewrote it, added in some extra features, and finally launched it. Check it out if you're interested!
By the way, my Kickstarter project is still live! Today is the very last day that you can get in on it! I'm so excited to get over this last hurdle. I know that manufacturing and fulfillment will be a lot of work, but it's been an awesome learning experience getting it out the door. As of writing this, there's 27 hours left, so get on it if you want it!
Interview question of the week
Last week, I had you make an event emitter! Good work Abdullah, Ten, Gustavo, Tamás, Matt, Stefan, Jesse, Louis, and Dimitris!
This week's question:
Write a function that when given a positive integer n and a digit d (which is not 0), outputs a way to represent n using only addition, subtraction, multiplication, exponentiation, division, concatenation, parenthesis and the digit d.
n = 6, d = 1 => 1 + 1 + 1 + 1 + 1 + 1
n = 10, d = 1 => 1 | 1 - 1
n = 12, d = 1 => 1 | (1 + 1)
n = 64, d = 2 => 2 ^ (2 + 2 + 2)
n = 1, d = 9 => 9 / 9
(In this example, | represents concatenation)
Cool things from around the internet
KBD75 with GMK Metropolis
Damage Numbers and Health Bars ….Why?!
List of 2020 Leap Day Bugs
What do you call a hippie's wife?
That's all for now, folks! Have a great week. Be safe, make good choices, and wash your hands a lot, please!
Special thanks to Gabor, Stephen, and Louis for supporting my Patreon and this newsletter!
website | twitter | patreon | github | codepen