Hi friends!
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
https://reactjs.org/blog/2020/02/26/react-v16.13.0.html">React 16.13.0 released
https://dev.to/blarzhernandez/build-a-simple-arcade-game-with-vanilla-javascript-dom-manipulation-50en">Build a Simple Arcade Game With Vanilla JavaScript
https://aneventapart.com/news/post/making-things-better-aea-video">Making Things Better: Redefining the Technical Possibilities of CSS
https://blog.logrocket.com/css-motion-path-the-end-of-gsap/">CSS Motion Path: The end of GSAP?
Something that interested me this week
I released Version 2 (https://twitter.com/cassidoo/status/1233008362251571201">and promptly 2.0.1) of my to-do app, https://cassidoo.github.io/todometer/">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, https://www.kickstarter.com/projects/cassidoo/go-on-the-go?ref=dj6n7u">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.
Example:
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
https://www.reddit.com/r/MechanicalKeyboards/comments/fauv19/metropolis_go_well_with_milkshake_mousepad/">KBD75 with GMK Metropolis
http://www.theastronauts.com/2020/02/damage-numbers-and-health-bars-why/">Damage Numbers and Health Bars ….Why?!
https://codeofmatt.com/list-of-2020-leap-day-bugs/">List of 2020 Leap Day Bugs
Joke
What do you call a hippie’s wife?
A Mississippi.
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 https://twitter.com/javorszky">Gabor, https://twitter.com/stephenmhouston">Stephen, and https://twitter.com/the_jonsey306">Louis for supporting my https://www.patreon.com/cassidoo">Patreon and this newsletter!
cassidoo
https://cassidoo.co/">website | https://twitter.com/cassidoo">twitter | https://www.patreon.com/cassidoo">patreon | https://github.com/cassidoo">github | https://codepen.io/cassidoo">codepen