document_body's profile picture.

Eli

@document_body

Eli reposted

local-first people: what's the thinking on storing sensitive user data in localStorage/IndexedDB; what's the fallback/workarounds you're thinking of. how do you implement TTL, all that. are there special browser apis for this usecase I'm not aware of. tagging @aboodman


Eli reposted

13 things I would have told myself before building an autorouter 🧵 I’ve spent about a year working on an autorouter for tscircuit (an open-source electronics CAD kernel written in Typescript). If I could go back a year, these are the 13 things I would tell myself

seveibar's tweet image. 13 things I would have told myself before building an autorouter 🧵

I’ve spent about a year working on an autorouter for tscircuit (an open-source electronics CAD kernel written in Typescript). If I could go back a year, these are the 13 things I would tell myself

Eli reposted

🚀 Launching style-observer: A bulletproof, production-ready library for observing CSS property changes in JS. For reals. Developed with the help of my apprentice @DmitrySharabin over the last month, after I ran into yet another use case, and none of the existing options worked…


Eli reposted

Nice post on software engineering. "Cognitive load is what matters" minds.md/zakirullin/cog… Probably the most true, least practiced viewpoint.

karpathy's tweet image. Nice post on software engineering.
"Cognitive load is what matters"
minds.md/zakirullin/cog…
Probably the most true, least practiced viewpoint.

Eli reposted

this library absolutely crazy, I saw this a couple days ago on the TL turns out they have odin bindings too! make desktop apps great again

seatedro's tweet image. this library absolutely crazy, I saw this a couple days ago on the TL

turns out they have odin bindings too!

make desktop apps great again

Eli reposted

an IndexedDB based persistent SQLite out of the native WASM port just landed, it provides db .save() or .delete() extra methods and it overrides the constructor to point at a db file + optional buffer to initialize it. I love when my modules come together! github.com/WebReflection/…


Bolt and v0 are in an interesting race, each trying to protect different parts of their product. Bolt already open-sourced the things which v0 considers its secret sauce. The main thing v0 could do to unseat Bolt would be to release an open-source WebContainers alternative

When @v0 first came out we were paranoid about protecting the prompt with all kinds of pre and post processing complexity. We completely pivoted to let it rip. A prompt without the evals, models, and especially UX is like getting a broken ASML machine without a manual



Eli reposted

💡 There is a free performance improvement you can make right now to your CSS variable animations (if they're scoped to the current element). Register your CSS variable the inherits: false option. Depending on the size of the style recalcs this can be a huge saving.

mattgperry's tweet image. 💡 There is a free performance improvement you can make right now to your CSS variable animations (if they're scoped to the current element).

Register your CSS variable the inherits: false option. Depending on the size of the style recalcs this can be a huge saving.

Eli reposted

In a nicer web world, we'd be: - exposing lower-level primitives in web standards - making alternative APIs to existing legacy APIs - resisting adding one-off use-cases in the form of DSLs (Yes there's some of former, but not nearly enough, and too much of the latter)


Eli reposted

a tiny gem to quickly prototype without needing bundlers and tools to resolve dependencies: gist.github.com/WebReflection/…

WebReflection's tweet image. a tiny gem to quickly prototype without needing bundlers and tools to resolve dependencies:
gist.github.com/WebReflection/…

Eli reposted

HTML is the original SSR.


Eli reposted

My mother (and I am way past 50) writes HTML: <pie-chart> <slice size="10"></slice> <slice size="20"></slice> <slice size="40"></slice> </pie-chart>


Eli reposted

The team loved it. Culturally, we avoided hiring people who were framework zealots. We hired people who had a growth/learning mindset and wanted to deliver the best customer experience, picking the best tools for that. The big team I spoke of, after they converted over, made a…


Eli reposted

Work on speccing ESX was started by @WebReflection a while ago and it went down like a lead balloon. Enrage yourself by reading the feedback he got on esdiscuss here: es.discourse.group/t/proposal-esx… TLDR it's unnecessary because we have tagged template literals already


Why do so few web component related discussions focus on actual user-facing problems that are being solved by WC’s or their alternative


Eli reposted

Async is hard, but essential. In this post I make the case to bring Async to Signals and explore the profound impact that has had on my view of reactivity. "Async Derivations in Reactivity" by @RyanCarniato #DEVCommunity #webdev #signals #solidjs dev.to/this-is-learni…

dev.to

Async Derivations in Reactivity

Congratulations on making it through the series thus far. But this is where things start to go off...


Eli reposted

TIL: Transient Activation it's not that an event must be sync at all costs to allow multiple async APIs (such as SerialPort related one) to work, there is a timeout so that handlers can be async and, if fast enough, can do much more at once (ie: getPorts) developer.mozilla.org/en-US/docs/Glo…


I was looking for an alternative to Comlink to clean up some web worker and frame spaghetti. Searched google, github, chatgpt, nothing good. Finally I thought to search twitter for ‘comlink @webreflection’. 😙👌Perfect:

📢 coincident/server is out (v0.10) We can drive from a Web Worker both UI and Server (NodeJS/Bun) without needing any "namespace" or weird operation, it's all sync and yet not blocking 🤯 Read this thread to know more 🧵 github.com/WebReflection/…



Eli reposted

Simple recipe for making a good thing: make many wrong things very fast, then start over.


Eli reposted

The web really needs better touch gestures/handling. Its a huge space where the web is running behind on native. I've yet to come across a web implementation that *truly* feels native-like.


Loading...

Something went wrong.


Something went wrong.