Friday Issue Nr.129

2025-02-07

back

How long is a second? Yes, that's the very first post, but it's also an interesting read about the broken NPM audit, the new Fetch mocker, and the future of Svelte. There is also a really good one about CSS nesting and CSS design mistakes. Tailwindcss 4 is out, and it's a good read about Electron. Happy reading!

JavaScript News

How long is a second in JavaScript?

Well, the second itself is just a second, but things are not as simple as you might think.

https://docs.timetime.in/blog/how-long-is-a-second-in-js/

NPM audit broken by design

https://overreacted.io/npm-audit-broken-by-design/

The hidden complexity for Scaling WebSockets

https://composehq.com/blog/scaling-websockets-1-23-25

The Fetch mocker

What do you do when you can't find a testing library to mock your fetch() tests? Well, you write your own library, of course. This is what Nicholas C. Zakas did, and that's how the Mentoss testing library was introduced.

https://humanwhocodes.com/blog/2025/01/introducing-mentoss-fetch-mocker/

Svelte 5 Future

Not magic, but magical!

https://www.smashingmagazine.com/2025/01/svelte-5-future-frameworks-chat-rich-harris/

Optimising the critical rendering path

https://www.debugbear.com/blog/optimizing-the-critical-rendering-path

HTML & CSS News

CSS nesting

This is a fresh view of the latest CSS features. The post focuses on nesting, but there are more. That reminds me of the border-radius and box-shadow CSS properties, which suddenly were used on every website to every possible container on the page. The colourful title technique is now a "must-have" for every portfolio website, and never mind the usage of @layer or @scope.

https://piccalil.li/blog/css-nesting-use-with-caution/

New capabilities for attr()

https://una.im/advanced-attr/

Squircle

Tiny library to create SVG background patterns with rounded corners.

https://somonoco.com/

CSS Multi-Column Layout

I never noticed any use case for a multi-column layout, but this post shows an excellent case.

https://css-tricks.com/revisiting-css-multi-column-layout/

How to Favicon 2025

https://evilmartians.com/chronicles/how-to-favicon-in-2021-six-files-that-fit-most-needs

Tailwind CSS 4.0

https://tailwindcss.com/blog/tailwindcss-v4

Codepen examples

3D effect hover card with kind of holographic glow

https://codepen.io/jh3y/pen/wvXvERq

Futuristic objects with three.js

https://codepen.io/wakana-k/pen/VYZRwNb

Incomplete list of mistakes in the Design of CSS

If we consider that CSS was meant for documents and is 30 years old, then those mistakes are understandable. For example, border-radius should have been corner-radius. RGBA() shouldn't exist; the fourth element should be optional for RGB() and similar. Fun to read.

https://wiki.csswg.org/ideas/mistakes

Page bloat update

Nothing is surprising here. The page sizes are getting bigger by the day.

https://www.speedcurve.com/blog/page-bloat-2025/

Mixed News

Things people get wrong about Electron

https://felixrieseberg.com/things-people-get-wrong-about-electron/

A webAssembly compiler that fits in a tweet

If you read this post from Z → A, you would have a step-by-step tutorial on how almost readable code is converted into a very compressed version of 192 bytes.

https://wasmgroundup.com/blog/wasm-compiler-in-a-tweet/

Coding with voice exercise

https://whitep4nth3r.com/blog/how-i-learned-to-code-with-my-voice/

Comment on BlueSky

Andris Švarcs

Somehow, I've survived over 15 years as a web developer without losing my interest in the craft. Quite the opposite, with so many great improvements in the Web standards, what was nearly impossible now is easy to make.

My career has been a wild ride through small agencies and big corporations, building everything from finance apps to health dashboards.

I'm that annoying person who needs to understand products beyond just slinging code. I ask questions like 'Why is this feature important?' and 'How will this improve the customer journey?' – you know, the kind of questions that make project managers reach for the pint aspirin. This curiosity has led me down the rabbit holes of design, accessibility, and SEO. Because apparently, making websites pretty, usable, and findable wasn't challenging enough on its own.

P.S. If this bio sounds too polished, blame my evil AI twin. I'm still working on teaching it sarcasm.

Copyright © since 2021, Andris Švarcs. All rights reserved.

Lets connect

bluesky

youtube

linkedin