Hello friends!
I hope you've had a great week so far. Mine's been great, I started my new job yesterday at
React Training! Let's boogie.
Â
Web links of the week
DropCSS
A simple homemade JavaScript obfuscator
Mastering The HTML <audio> Tag
React Markdown Editor
Â
Something that interested me this week
As I mentioned in the intro, I started my new job this week! It's been interesting so far. The guys at
React Training do some amazing open source work (like
React Router and
Reach UI), and teach some really cool workshops and courses offline and online. I'm excited to have a role that covers both teaching and coding, and onboarding so far has been a fun learning curve!
While I was in between gigs for the past week, I put together a couple things I was proud of: I made
parsesize, a small CSS preprocessor for shorthand for width and height, and I submitted
an entry into
CodePen's 5-line challenge. Check 'em out!
Â
Interview question of the week
Last week, I asked you a sorting question given a custom alphabet!
Ilya and Yuan,
Mustafa,
Marcela,
joliebulle,
Stuart,
Micah, and
Daniel had great answers!
This week's question:
Write a function where given an array of integers (where each element represents the max number of steps that can be made forward from that element), return the minimum number of jumps to reach the end of the array (starting from the first element).
Example:
miniJump([1, 3, 5, 8, 9, 2, 6, 7, 6, 8, 9])
> 3 // 1-> 3 -> 8 ->9, so here the first element is 1, so can only go to 3. Second element is 3, so can make at most 3 steps (to 5 or 8 or 9). If you encounter a 0 in the array, just return -1.
Â
Cool things from around the internet
How to make 80-hour adventures for blind gamers
Water vapor — and maybe even rain — found on distant world twice the size of Earth​
Tokyo60 with custom brass weight and MT3 Godspeed
Â
Joke
I accidentally swallowed a bunch of Scrabble tiles.
My next trip to the bathroom could spell disaster.
Â
That's all for now, folks! Have a great rest of your week. Be safe, make good choices, and be kind!
Special thanks to Gabor and Stephen for supporting my Patreon and this newsletter!
cassidoo
website |Â
twitter |
patreon |
codepen |
github