🧒 Stefan's Web Weekly #6

stefanjudis

Stefan Judis

Posted on February 14, 2021

🧒 Stefan's Web Weekly #6

Welcome to Web Weekly #6

I can't say that I've been outside much this week. Berlin is still buried under snow. My biggest highlight was all the children with their sledges in front of my balcony. There's a little hill (I wouldn't even call it "a hill") and everybody is enjoying their thrilling three second rides. πŸ›·

This week's web weekly includes beautiful illustrations, a joyful battery display app, npm lockfiles, CSS masonry grids and, as always, GitHub repositories, new Tiny Helpers and some music.

Enjoy!

More beautiful Twitter illustrations

An Illustration showing a good and bad day in a graph

In a previous newsletter, I shared the @dinosaur Twitter account with you. It posts beautiful illustrations that make you think about your life.

This week I found @lizandmollie. They're posting similar graphics and illustrations (without dinosaurs though) and are much welcome in my timeline!

πŸ‘‰ Follow @lizandmollie

Listen to radio stations from all around the world

Radio garden playing a station from London

I love Spotify, but I have to admit that it's not great for discovering new music. Recently, I found myself listening to the Berlin radio more frequently. I discovered radio.garden which lets you play hundreds (thousands?) of radio stations from all around the world! It's perfect for discovering new music!

πŸ‘‰ Listen to random radio stations

My new joyful battery display

Battery buddy apps that shows the battery app with a smiley

I installed a new menubar app. It replaces the default mac battery icon with a smiling one. What shall I say? A happy battery makes my day. Interfaces should be more fun!

πŸ‘‰ Install battery buddy

@randomMDN is back!

Tweet of randomMDN

Two years ago I set up the @randomMDN Twitter bot. It shares random MDN pages several times a day. And in January it broke! MDN changed how they serve their sitemap. sitemap.xml became sitemap.xml.gz, yes that's right, the sitemap is now a gzipped file and this change broke my bot.

You can find a snippet explaining how I now fetch and unzip the sitemap in Node.js on my blog.

πŸ‘‰ Follow @randomMDN

Are spacer gifs coming back?

JSX with a spacer component

Josh Comeau publishes an incredible amount of in-depth content, and his website is a beautiful experience. I don't want to know how much time he spends on it. If you haven't had a look at his work yet, you should!

In a recent article, he describes how spacer components can help with building pages and layouts. Instead of adding classes to define spaces between elements, he advises using spacer elements instead. It's a fascinating approach for sure.

πŸ‘‰ Read "Let's Bring Spacer GIFs Back!"

Browse GitHub repositories with style (and VS Code)

github1s.com showing a repo in VS Code

Did you know that there is a service out there, that lets you browse public GitHub repositories in VS Code? Change the URL of the repo that you want to inspect from github.com/someone/something to github1s.com/someone/something, and you'll find VS Code right in your browser. CMD+p to jump into files is a bit "funky", but it's a great project for sure!

Copy property path in Chrome DevTools

Copy property path in chrome devtools

A while ago my friend Khaled showed me that when you're prototyping in the Chrome DevTools console, you can copy the path to a nested property! If you like to test things out in the console, that one's for you!

Advanced Google search queries

Use Google like a pro by Marko Denic

Being good at googling is a very underrated skill. I wanted to believe that I'm pretty good at it, but when I read posts that show me all the available queries, it becomes clear, that I'm not good at googling. I mean, did you know that and/or clauses are supported in Google search: (javascript OR python) free course, I didn't!

πŸ‘‰ Level up your Google skills

Masonry grid layouts, feature detects and confetti cannons

Confetti with the message "Looks like your browser support masonry grid layout"

I added a CSS-only masonry grid layout to the Today I learned section of my site! πŸŽ‰ If you want to learn about masonry layouts, feature detection in CSS and(!) JavaScript and how you can throw confetti into your pages using SkyPack (an ES module CDN), this post is for you.

πŸ‘‰ Learn more about masonry CSS grids

Lockfile changes in the new npm v7

npm - Catching Up with Package Lockfile Changes in v7

npm is coming with a package-lock.json file for a while now. The file format changes with v7. Nitay Neeman describes in great detail what's new.

πŸ‘‰ Learn about the new lockfile format

Licensing and the problem with open source

If you're using husky in a commercial project, your support would be extremely helpful (husky 5 is free to try for 30 days).

The popular husky package (4.5 million weekly npm downloads) is a tool to automate git hooks in your projects. Husky's new version 5 comes with a licence change. It now includes, wait for it... the "License Zero Parity 7.0.0 and MIT (contributions) with exception License Zero Patron 1.0.0.".

I'm not a lawyer, but as far as I understand the license allows free usage when you're doing open source, but if you're building a commercial product, you have to donate to Husky. In my opinion, that's a good move. There are too many people maintaining open source without getting anything back.

πŸ‘‰ Read the Husky release notes

New tiny helpers

New tiny helpers including Iconduck, Color hunt and glyphs.fyi

  • Color Hunt – Get color inspiration with hand-picked color palettes.
  • glyphs.fyi – Find open source icons.
  • IconDuck – Find free and open source icons and illustrations.

Three useful projects to have a look at

A quote to think about

I came across this quote from programming pioneer Grace Hopper. There's much truth in it!

One accurate measurement is worth a thousand expert opinions.

A song that makes you stop coding

Screenshot of I can't do without you from Caribou

Caribou's soft and electronic "Can't do without you" is a perfect track to forget the winter, take a breather and think of the great summers!

πŸ‘‰ Listen to Caribou


And that's a wrap for the sixth Web Weekly! πŸŽ‰

If you enjoyed this edition, a quick share means the world to me. :)

Stay safe and warm, and I'll talk to you next week! πŸŽ‰ πŸ‘‹

PS. I heard the cool kids use RSS. You can find multiple feeds on my site.

πŸ’– πŸ’ͺ πŸ™… 🚩
stefanjudis
Stefan Judis

Posted on February 14, 2021

Join Our Newsletter. No Spam, Only the good stuff.

Sign up to receive the latest update from our blog.

Related