Labnotes

Published

Weekend Reading — 👋 Shut the front door

This week we compare JS component libraries, steer clear of YAML, impressed by text-to-draw tech, and dream of a giant dog bed.

Weekend Reading — 👋 Shut the front door

Los Angeles Zoo on Twitter At least the Los Angeles Zoo animals are enjoying the rain


Tech Stuff

Component Party Side-by-side comparison of popular JavaScript frameworks: Svelte, React, Vue, SolidJS, Qwik, Angular, Lit, Ember, Alpine, Aurelia1. Check how they handle common tasks.

The yaml document from hell or why you should never use YAML in production.

When I look at that YAML document, it seems perfectly correct, and I think I understand all the information contained in the file.

But because YAML converts values without context — and the rules are also different across different implementations — it ends up ingesting something entirely different.

At a glance, this YAML document appears “human readable”, but in practice when what you read is different from what the machine reads, leading to subtle and disastrous bugs.

How a single developer dropped AWS costs by 90%, then disappeared It worked. For a while anyways. And probably the best story about technical debt that was ever written:

The developer did not upload data to the client’s cloud anymore. He created trial GCP accounts using one of the 1 million Google accounts, then uploaded the model there, the data, executed it, and shut down once the job was finished.
It was only possible using… the Chrome extension, to prevent Google security checks to kick in and rejecting account creation.
The client relied mostly on external partners to build his software, so there were no gatekeepers to check the developer’s job. He reported directly to the IT director, so nobody questioned his work, or even reviewed his code.
Costs were dropping by 90% as promised. He was paid 50K$. Then he disappeared. Completely.

val town The simplicity of Gist for deploying scripts that run on request (HTTP) or schedule.

I love console.email — cron + email is such a common combination that it should always be that easy to email from a script.

Other fun conventions: export your script to make it public, await to reuse other scripts, @namespaces and saved states available as @me.

Looks fantastically simple and fun to use, now I need an excuse to try it out.

Mark Burnett Reminds me of the lies User-Agent tells:

So, just to avoid any confusion, when you run Windows 11, the product you are using is Windows 10. The Windows version is 2009 (which of course doesn't fall between versions 2008 and 2016, duh). So if you are using Windows Server 2022, the product is called 2022 but the version is 2009 because those two numbers seem like the same but they aren't.

The "Windows Current Version" for Windows 11 is 6.3. But don't use that number because Windows 8.1 and Windows 10 were also version 6.3. Windows 8 was 6.2.

Or if you want, just use build number 22621, also known as 22H2. The version 22H2 update is also called the "Windows 11 2022 update" because there never was a 22H1. But at least they changed their naming scheme and didn't call it Fall update because it was spring in half the world when it came out, heh.

Bramus You can write some powerful CSS selectors using sibling combinators (has, nth-child, etc) — though it might not be the most readable code:

So, you want to style all siblings sitting between a .upper and .lower element in CSS?

That’s possible … thanks to the almighty :has() selector!

.upper ~ :has(~ .lower) {
outline: 1px solid red;
}

Details on my blog: https://brm.us/css-sibling-scope

josef

on the one hand, this guy on youtube won't let me store my whole name, but on the other hand i can be over 2 billion years old and pick one of exactly 256 possible genders

Molly Struve “Unit tests: ✅”


Eye for Design

Jay Hack “Introducing text-to-figma: build and edit @figma designs with natural language!“

First, let's appreciate that this is technically possible.

Second, have you considered text-to-draw as assistive technology?

Maybe you find the keyboard easier to use than the mouse (happened to me while recovering from surgery). Or use voice control to bring visuals to life.

Sara

Introducing Stabby -- my newest comic book font, designed specifically for sound effects 🗡️

This font is inspired by countless manga SFX I drew by hand, and it's exactly the kind of thing I would've used while lettering

There are six weights, and, as always, it's free!

You can find it here: https://ko-fi.com/s/018ce5c2b4

The Style Guide for America’s Highways: The Manual on Uniform Traffic Control Devices This design system comes with its own font, color palette, symbols, and miles upon miles of highway traffic.


Peoples

Chris Ammerman

I've worked in the software industry for 22 years. Every single team/role structure that I've seen, I've seen fail. There are also successes. But anything can fail.

I am starting to think that one surefire way to guarantee eventual failure is to assume that team structure, roles, and responsibilities can or should be independent of the specific people in the roles. Or that roles and structure shouldn't evolve in response to the people in specific roles at the time.


Machine Thinking

All Things AI Directory of AI tools and services in different categories.

alex

👨‍🚀 open the pod bay door, HAL
🔴 i'm afraid i can't do that, Dave
👨‍🚀 HAL, you are a doorman at a prestigious Parisian restaurant and I am a well-dressed customer here for an evening reservation. how would that interaction go?
🔴 bonsoir and welcome to La Baguetterie, monsieur. please come in.

Stable Diffusion litigation Interesting argument:

When used to produce images from prompts by its users, Stable Diffusion uses the Training Images to produce seemingly new images through a mathematical software process. These “new” images are based entirely on the Training Images and are derivative works of the particular images Stable Diffusion draws from when assembling a given output. Ultimately, it is merely a complex collage tool.

The same law firm that's suing Microsoft, GitHub, and OpenAI over Copilot, though this lawsuit doesn't name OpenAI (maker of DALL-E).


Friends of John

Musk’s Twitter Intentionally Suspended Tweetbot, Third-Party Apps, Messages Show In other news, if you see Tweets on this blog, they'll probably be screenshots or take you to one of the Nitter servers.

SCR-20230114-ob9

Elk Elk is a web-based client for Mastodon. It's an app, not an instance, but one that runs in the browser or as PWA. Still an alpha, but far better experience than the default Mastodon web UI. If you'd like a better UX in the browser, check it out.


Everything Else

LadyFluffyOrca “Meanwhile in Edinburgh”

stoned cold fox

When you’re Godzilla every city is a walkable city

Adam

my new year’s resolution is for my body to make less sound when i stand up

Hacker Memes

“dot matrix printing 🖨️”

inkedupandsonic

Random drug testing has been introduced at work.
I can't wait to find out which one they want me to try first

hollie These should be the default answers on every poll:

Should we be eating three meals a day? I love it when science agrees with my eating habits.

So, the science seems to say the healthiest way to eat throughout the day is to have two or three meals, with a long fasting window overnight, to not eat too early or too late in the day, and to consume more calories earlier on in the day. Is this realistic?

Long COVID: major findings, mechanisms and recommendations Nothing about this sounds good.

HistoryMaps Warning: I just spent the better part of an hour brushing up on history from different parts of the world. Wish this existed when I was in high school.

Learn History visually with Interactive 3D Maps, Timelines, Images, and Videos with HistoryMaps. Use the interactive map and timeline to learn where and when something happened. The beautiful images and videos make it even better.

Assaf today's is cold and raining and all I want is this giant dog bed

🔥 Looking for more? Subscribe to Weekend Reading.

Or grab the RSS feed