Thursday, November 13, 2025
HomeJavaScriptInternet Weekly #115 | Stefan Judis Internet Improvement

Internet Weekly #115 | Stefan Judis Internet Improvement


Whats up, hi there Buddies! 👋

How does Google do web site reliability engineering? Is utilizing relative CSS models (rem) to regulate areas like margins and paddings a good suggestion? Are you able to undertake native and relaxed CSS nesting?

This week’s Internet Weekly consists of all of the solutions and rather more. Get pleasure from!

I heard having your individual font is vital for profitable tech firms today. Vercel adopted the playbook and launched Geist.

Examples of the Geist font

Shortly after, GitHub adopted. However the Octocat maintainers did not launch one more customary coding font, however somewhat a whole font household — say hi there to “Monaspace”.

monaspace — An innovative superfamily of fonts for code.

Monaspace is a set of 5 variable fonts supporting the identical font axes. I have not tried it but, however theoretically, you would combine and match the fonts, and so they’ll keep on the identical grid. Candy!

Five GitHub fonts: Neon, Argon, Xenon, Radon, Krypton

And I have to say, I am inclined to attempt Krypton on the weblog as a result of it seems properly out of house. The fonts additionally help ligatures if you wish to be tremendous fancy.

However monospace fonts often have some visible issues. The i usually is just too huge. The m seems squished. It is unlucky, however that is the way it needs to be — it is monospace in spite of everything, proper?

Example of texture healding showing that the "m" character expands whereas the "i" character narrows.

Monaspace comes with a brand new font characteristic referred to as texture therapeutic. Texture therapeutic works towards placing each character into the same-sized field and expands/narrows characters whereas protecting the textual content monospaced. Very funky!

I will attempt the fonts in my VS Code setup and see if texture therapeutic is nicer on the eyes.

One thing that made me smile this week

A coding kitty

Please disperse; there’s nothing to see right here. It is only a cat being up for pair programming.

Code with the kitty

Code snippet using `useEffect` followed by a pragraph stating that there are 5 bugs in it.

Apparently, the React docs advise utilizing a library to fetch knowledge in your parts. Why is that? Is not it simple to name fetch in a useEffect hook? Effectively… no. And Dominik explains how the short’n’straightforward useEffect method results in delicate bugs.

Use a library to fetch knowledge

 Lessons Learned from Twenty Years of Site Reliability Engineering — Or, Eleven things we have learned as Site Reliability Engineers at Google

Despite the fact that web site reliability engineering is not in my ballpark, I loved the teachings discovered whereas scaling tasks at Google.

Hold issues up!

Methods to type disabled kind components

:disabled != [disabled]

Do you know there are different methods to disable a kind aspect than setting the disabled attribute? Å ime Vidas explains why the :disabled and [disabled] CSS selectors can match totally different components.

Match all disabled components

My misconceptions about utilizing relative CSS models

Utilizing relative font sizes (rem) as an alternative of pixel-based ones is a good suggestion as a result of they permit customers to regulate a web site’s font measurement through their browser settings. If somebody desires to extend the general font measurement, our CSS ought to settle for this.

This apply works effectively on desktop, however the cell house is much less predictable. Manuel Matuzović examined how cell browsers deal with rem models, and effectively…

Nothing, keep using rem. People will benefit from it. It's just good to know that some (most?) operating systems and browsers do their own thing.

The relative font measurement dealing with on cell is greater than messy.

And after discovering that rem models behave inconsistently, Ashlee M Boyer got here alongside to share that utilizing relative models for spacing is a foul thought. I have to admit I’ve by no means thought in regards to the factors she makes, however she’s onto one thing right here.

When a user is customizing their viewing experience, they thing that's most important to them and their task at hand is the content. Spacing isn't often vital for a user to perform their task, so it doesn't need to grow or scale at the same rate as the content itself.

I did not encounter any bizarre internet corners this week. Are you able to assist me out for subsequent week? What are your favourite web corners? Ship them my method, and I will embrace them in Internet Weekly!

A button with an interactive UI showing the layers it consists of.

Jhey Tompkins’ Codepen profile is value visiting as a result of he publishes a ton of spectacular CSS demos.

This button instance coming with interactive controls blew me away.

Construct fancy buttons

The War of Attrition — Since May, uBO has been in a cat-and-mouse game with YouTube. And they’ve shown incredible resilience, especially when you consider that there are only two people on the uBO team dealing with YouTube.

In case you’re not paying for YouTube proper now, you could have observed that the service ramped up its efforts to nudge us all to change to premium or at the least flip off adblockers.

Zhenyi Tan describes how adblockers block advertisements and the way YT makes it more durable and more durable to take action.

Play cat and mouse

Simple Screen Recorder in 20 lines of JavaScript

Okay, that is wild! What number of traces of JS do it’s essential report your display screen and reserve it to a file? 20. That is it. 🤯

Begin recording

Random MDN – inset-block and inset-inline

Demo from MDN visualizing `inset-block`

From the limitless MDN information archive…

You would possibly know that inset is a shorthand for prime, proper, backside and left. However do you know that there is additionally inset-block and inset-inline?

These properties take into account the writing mode, whereas inset does not. 🤯

Use logical absolutes

TIL recap – reuse bundle.json values

package.json example that reuses a config field.

You most likely wish to keep away from repetition in the event you’re sustaining advanced npm scripts. Reusing bundle.json properties is perhaps useful right here.

Clear up your scripts

Stefan's Tweet announcing that relaxed CSS nesting landed in browsers.

It is time, mates! 🎉 This week’s largest platform information was that relaxed CSS nesting landed in all three important engines.

What’s relaxed nesting? When browser distributors began wanting into supporting native CSS nesting, the primary draft included the limitation that nested selectors should start with considered one of these characters: &@:.>~+#[*. You couldn’t “just” nest things and had to prepend a & if you wanted to nest element selectors.

Luckily, this syntax limitation was relaxed, so the behavior is now closer to what we’re used to from CSS processors. And Chromium was the last engine to implement the change. In a few browser releases, it’s finally time to ditch some tooling and rely on native nesting. But how will browsers display nested CSS rules in the developer tools?

DevTools of the three engines showing a working example with relaxed CSS nesting.

As you see, Firefox does a good job by rendering the entire nested CSS rule. Chromium and Webkit, on the other hand, don’t make it very clear what we’re looking at.

Let’s see when and if they will improve their dev tools.

Three valuable projects to have a look at

Ahref Broken Link checker

I did some blog winter cleaning, and Ahref’s broken link checker was incredibly handy to get rid of links going nowhere.

Avoid linking into the void

Did your relationship with work change over the past few years?

We made it through Covid, the climate crisis is unavoidable, the tech world has experienced mass layoffs, and multiple wars are plastering the news — many reflect on their life choices.

Sara Wachter-Boettcher published thoughts on “quiet quitting”, motivation (or the lack of it) and life goals, and it included this line that made me sit down and think.

Telling yourself you should want something isn’t the same as actually wanting it.

Loved this email? Hated this email? I want to hear about it!

If there’s something that needs to be improved or something that you enjoyed, reply to this email because I want to know more!

And with that, take care of yourself – mentally, physically, and emotionally.

I’ll see you next week! 👋

RELATED ARTICLES

LEAVE A REPLY

Please enter your comment!
Please enter your name here

Most Popular

Recent Comments