HN user

css_apologist

92 karma
Posts1
Comments64
View on HN

i see

so it's more than all tranducable types implement a common interface?

or the tranduceable operators depend on a small subset of generic functions?

I got a few ideas which will probably never get done at this point

1 - actual css static analysis -- consume html + css, and provide tooling to preview what properties are inherited given the context you're in -- what you're overwriting, what display mode you're in. If there's inconsistent display modes depending on where in the html you are.

2 - a reactive html scripting language which using html as the source of truth, and synchronizes html elements through their relationships to each other

i only have prototypes, and unfortunately given the climate i feel i am the only person who wants these tools.. but every few weeks i get to sit down and get some progress and that's nice

This is an idea that is not ON or OFF

You can get ever so gradually stricter with your types which means that the operations you perform on on a narrow type is even more solid

It is also 100% possible to do in dynamic languages, it's a cultural thing

Show HN: Rails UI 6 months ago

ugh this looks dated even by 2016 standards

when will developers learn UI actually matters

bootstrap was a mistake, and lowered the bar for everyone

Vibecoding #2 6 months ago

this isn't technically vibe coding right? this is just like using llms here and there for details you don't care to learn more about

xpath is so fucking cool

i can understand why it failed for general use, but shit like this revives my excitement

q: i'm not an expert, this looks like it extends xpath syntax? haven't seen stuff like the /map is this referring to the html map element? or a fp-style map?

on Shadcn's codegen

I think this is necessary since we need to regularly modify components to suit our needs.. (I've dreamt of extending this kind of approach to libraries for a long time)

HOWEVER

there has been an elegant solution to this problem for 30 years - CSS

CSS tooling lags behind, but from a technical perspective CSS is superior to this component library approach in almost every way