Hello friends!
I hope you've had a great week so far! I'm going to be speaking at the
Maha Festival for the first time tomorrow and I'm super excited to be there. Until then, let's surf!
Â
Web links of the week
Is it possible to apply CSS to half of a character?
Create A Web Animation From Scratch
Writing Modes And CSS Layout
Â
Something that interested me this week
This past week at work we released a TON of new things! My project in particular was the complete conversion of profile pages on CodePen to React, our designer Klare designed
a new syntax color scheme for the site, one of our devs Shaw launched
a new build process for exported Pens, and, well...Â
codpen.io now exists.
Now that all of these things are settled at once, the whole team is going to be working on some projects together. Oftentimes (especially on remote teams) it's hard to not feel siloed when you are working on your own little section of a larger project, so it'll be a fun change to get to work alongside everyone over the next few weeks as we launch more things!
Also, in case you missed it, Kent C Dodds launched his podcast series (and you'll find
an episode with yours truly on it), and I was also on the
Product Hunt Radio podcast!
Â
Interview question of the week
We had tons of responses to the question last week about validating a triangle! Props to
Sophie,
Thomas,
Stuart,
Marcela,
Ethan (twice!),
Kyle,
Eva, andÂ
Bukola!
This week's question:
Given strings n and m, find the minimum number of times n has to be repeated such that m is a substring of it (and if it's not possible, return -1).
Example:
> repeatedSubstring('abcd', '
cdabcdab')
> 3 // When you repeat n 3 times, it becomes 'abcdabcdabcd', and m isn't a substring of n when it's repeated less than 3 times
>Â
repeatedSubstring('ab', 'cab')
> -1
Â
Cool things from around the internet
Anne Pro with GMK Jamón
How a 'NULL' License Plate Landed One Hacker in Ticket Hell​
The moral panic over Fortnite and the "purpose" of play
Â
Joke
I just read a book on how to survive falling from a staircase. It's a step-by-step guide!
Â
That's all for now, friends! Have a great week. Be safe, make good choices, and don't forget your charger at home!
cassidoo
website |Â
twitter |
patreon |
codepen