Advertisement Β· 728 Γ— 90

Posts by Sam

Post image

lol Gemini what

1 day ago 1 0 0 0

Actually I've buried the lede, this is really about encoding binary data in JS strings as UTF-16.

But it's not as good as base64 now. Just use base64.

3 days ago 0 0 0 0
Base64 Is Fast Now, Actually The browser's base64 encoding is fast now

samthor.au/2026/base64-...

πŸ—œοΈπŸ’¨

3 days ago 0 1 1 0

the house is slowly getting over COVID.

pity I bombed some professional stuff in the middle of the week, maybe related, who knows. 🫠

5 days ago 0 0 0 0
Preview
The Great CSS Expansion CSS now does what Floating UI, GSAP ScrollTrigger, Framer Motion, and react-select used to require JavaScript for. Here is exactly how much that saves, why these libraries were painful beyond their si...

this is a great CSS read.
blog.gitbutler.com/the-great-cs...

not to mention syntax improvements; nested CSS, CSS vars and mixing colors, et al.

1 week ago 50 16 0 0

Wake me up when fetch() has a supply chain attack

1 week ago 1 0 0 0

That discount is more than my EV costs to charge per km.

1 week ago 1 0 0 0
Advertisement
GitHub - samthor/nanbox: Box yer NaNs Box yer NaNs. Contribute to samthor/nanbox development by creating an account on GitHub.

Tired of storing your bytes in regular memory?

Have you always wanted to pack them into NaNs instead?

github.com/samthor/nanbox

1 week ago 0 0 0 0

> Now can lick runes to pull them. Rune-licking refunds spent mana

it's all I've ever wanted 🐸

2 weeks ago 0 0 0 0

"...it's carrying probably 1,800 truck movements a day..."

Let's say each truck = one 20 foot container

Let's say 900 each way, and 30 flatbeds for 60 containers, that's 15 trains/direction/day extra.

I wish this was actually a reasonable alternative in NSW.

1 month ago 1 0 0 0
Post image

it's been 100 years

1 month ago 1 0 0 0

Yeah I love caniuse but we need a reset on these %ages. Or maybe I'm just too scarred from being in DevRel when we actually had to care about IE11 πŸ˜‚πŸ˜‚

It's more that maybe it's a different world now. 95% is effectively everybody.

1 month ago 0 0 0 0

🀦 I left in a dependency I was using for testing.

Published a valid version now.

1 month ago 0 0 0 0

I don't know why I even mention on the page that it has 95% browser support.

`fetch()` only has 96.3%. `async` is 96.2%. CSS Grid is 96.5%.

The last 5% can't use the interactive internet today in _any_ meaningful way. (Yes, ship uninteractive HTML/CSS. But stop imagining we can compile 'web apps')

1 month ago 0 0 1 0
Preview
but-unzip - npmx tiny (<1k) unzip for node/browser

The AI and me cut 5% (for Node) and 30% (for browsers) off but-unzip: probably the world’s smallest unzip library.
npmx.dev/package/but-...

1 month ago 3 0 2 0
Post image

more train riding

1 month ago 4 1 0 0
Post image

alert CERN

1 month ago 2 1 0 0
Advertisement

I know this is copium but

> β€œI know that the Japanese government essentially, and Japanese companies, are very interested in playing a role. [...]”

JR South has a nice ring to it.

1 month ago 0 0 1 0
Preview
Two big tax holes are perpetuating Australia's wealth inequality Intergenerational inequality will only be dealt with by taxing the people that have the money, not by cutting the taxes of those who don't have it.

Alan Kohler talking about the urgent need to tackle inequality. The major parties talk about it a lot but don't seem to want to do what it'll take:

πŸ’Έ changes to CGT discount on investment properties

πŸ’Έ start taxing wealth more than work

πŸ’Έ get a fair return for our natural resources

1 month ago 251 82 15 5

I'm not sure. Costs are everywhere.

I just see the "a" series as "I don't care, I need a phone".

Like if you have a broken 9a right now under warranty.. I reckon you'll on odds get a 10a replacement. It's just Google's standard phone.

1 month ago 0 0 0 0

"automotive grade"

1 month ago 1 0 1 0

People are giving Google a hard time for the Pixel 10a.

But it's legitimately a decent phone with zero camera bump. No "almost nothing". No "measure the main part of the phone". Just flat.

Not since the old iPhone SE have we been so lucky.

Anyway, flat lovers unite.

1 month ago 4 1 1 0

nit: I was confused by "VT animations" because maybe there's another type?

I'd say "it does not provide *any* animations, but simply provides stub methods for ..."

But also maybe I'm just tired and blind! πŸ˜‚

1 month ago 0 0 1 0

does it... actually do the VT? or just mock the methods/behavior?

I feel like you're underspecifying the library here

1 month ago 1 0 1 0

I didn't know Pixel could talk

1 month ago 2 0 0 0
Advertisement

Oh a new friend!!!

1 month ago 1 0 0 0
Post image

thank $​DIETY

1 month ago 0 0 0 0

hooray, it's `x := new(1)` day

1 month ago 0 0 0 0

I didn't know what EU shoe sizes were based on, TIL, thanks.

I now basically only refer to my EU size (43) since it feels the most universal. Also I don't have to think about kids sizes being different scale than adult sizes.

2 months ago 1 0 1 0

Apparently 150g!

2 months ago 1 0 0 0