Advertisement · 728 × 90

Posts by Nmn

AI-generated comic in the style of "Yes, but".

The "yes" frame shows this CSS:

```
.wrapper {
  container-name: --wrapper;
}

@container --wrapper {
  .child {
    …
  }
}
```

The "but" frame shows this CSS:

```
@scope (.wrapper) {
  .child {
    …
  }
}
```

AI-generated comic in the style of "Yes, but". The "yes" frame shows this CSS: ``` .wrapper { container-name: --wrapper; } @container --wrapper { .child { … } } ``` The "but" frame shows this CSS: ``` @scope (.wrapper) { .child { … } } ```

Yes, but. #CSS #scope

3 days ago 30 1 2 0

Thanks for reminding me!

1 week ago 1 0 0 0

Also IMO you also want the donut scoping from @ scope.

You don’t want the “scoped” styles to apply to anything inside of a nested component.

1 week ago 2 0 1 0

Check out how lightningcss polyfills light-dark

It’s got issues when using light-dark() as values for variables, but it works in any browser with support for variables.

And it’s possible to split every variables into light and dark versions and use the light-dark() only for application.

1 week ago 2 0 0 0

Try:
- Skyscraper
- Graysky
- Skeets

Can’t vouch for any of them too much but they all seem to work reliably enough in the short bursts that I’ve used them.

1 week ago 1 0 0 0

I’m very open to discussions about whether LLMs are “intelligent” or not. But this line of argument doesn’t really make sense IMO.

1 week ago 0 0 0 0

Language is what it always was. The medium of communication. The models generate language to communicate. This doesn’t mean they don’t have “intelligence”.

Also, most models are now multi-modal. They understand images, audio etc too. Not just language.

1 week ago 1 0 1 0

When you account for Gemini, Claude and the entire Chinese Market that have a completely separate apps, the number is easier over a billion.

Unlike smartphones, none if the western AI companies operate in China in any form.

1 week ago 0 0 0 0

That’s active users btw. Not just number of accounts.

1 week ago 1 0 0 0

You’re conflating how much utility people get from AI vs if they think it’s good for the world.

A lot of people find AI/ChatGPT very useful and yet feel uneasy about the ways it may affect society.

1 week ago 0 0 0 0
Advertisement

Secretly Microsoft logo?

1 week ago 0 0 0 0

Lame!

1 week ago 0 0 0 0

Does Tanstack router not use react transitions for navigation?

1 week ago 0 0 1 1

IMO this is a very well functioning system of capitalism and not anti-capitalist.

What we have today is closer to feudalism and not capitalism. (A few big players with fiefdoms and little to no choice for the rest)

1 week ago 3 0 0 0

Bit of a pedantic take, but the proliferation of the protocol would make a very competitive ecosystem and economy with little to no lock-in and easy portability of users and data. But it would still enable companies to compete and profit if they can win on their own merits.

1 week ago 2 0 1 0

Ive used react canary with both redwoodSDK and Waku so far.

1 week ago 0 0 1 0

You should be able to change the react version to the canary and it should work.

1 week ago 0 0 1 0
Preview
Mistrust How Apple’s penchant for breaking the web has given me more empathy towards developers who are suspicious of the web platform.

Everything else aside, these kinds of extremely severe bugs just being ignored for months really paints an absolutely terrible picture for Webkit and Safari.

@jensimmons.bsky.social you’re the only person I hope can get this the urgency it needs.

adactio.com/journal/22507

1 week ago 0 0 1 0

But also, pretext is super useful today for things like virtual scrolling. Being able to asynchronously calculate height of elements in a web worker would be massively useful!

2 weeks ago 1 0 0 0

Good text measurement was a massive issue for famo.us (fun fact I actually interned there for 3 weeks and tried and failed to make a react renderer around famo.us)

This library would have solved some of the problems famous had.

2 weeks ago 1 0 1 0
Advertisement

This work is so important that I reinstalled Bluesky to support it. Shoutout James and the rest of e18e for their thankless work making the web a better place

2 weeks ago 187 11 3 0

Who blocked who?

2 weeks ago 0 0 1 0

Rage and Prodigy?!

Some of the best music from the 90s!

2 weeks ago 1 0 0 0

FWIW, stylex.env was shipped recently and a type of “inline” api is in the works. So you might get something very close to your ideal soon

2 weeks ago 2 0 0 0

- Caching in dev mode. But it’s a minor annoyance.

- Use cache is still a bit unclear and last I tried broke things for me.

- the “one entry point for all RSCs” architecture doesn’t scale well enough. Needs a concept of “remote components” or something.

2 weeks ago 1 0 0 0
Preview
GitHub - nmn/solenoid: Prototype resumable framework that encodes signal graphs in HTML Prototype resumable framework that encodes signal graphs in HTML - nmn/solenoid

I built Solenoid that’s built on the same idea. Right now it’s built on alien-signals but I want to move it all to solid 2.0 for the signal implementation and APIs.

github.com/nmn/solenoid

2 weeks ago 1 0 0 0

The problem is not the glass material. It’s everything else. But mostly it’s how aggressive all the “chrome” covers content and literally gets in the way.

2 weeks ago 1 0 0 0
Post image

Finally getting my shadcn replacement published and here is why i built it:

3 weeks ago 24 1 3 0
Advertisement
Preview
StyleX DevTools - Chrome Web Store Inspect StyleX-applied styles and their sources in the Elements panel.

We have just published a beta dev tools extension for chrome.

It’s great for debugging StyleX and also useful for other atomic style solutions.
(Mapping styles to source are obviously impossible with Tailwind, however)

Please report any bugs!

chromewebstore.google.com/detail/style...

3 weeks ago 3 1 1 1

Idk. I feel like the extreme rounded corners is about to suffer an overcorrection soon.

Already seeing bunch of “brutalist” design getting trendy.

2 weeks ago 0 0 1 0