Joe Pea

@joe.trusktr.io

Building 3D HTML Elements ✨ https://lume.io Solid.js infra team. https://solidjs.com Custom Elements advocate. ⚒️ Google, Meta, SpaceX, NASA, IMVU, Fed Reserve, Chipotle

@solidjs.com has a new `sld` tagged template function coming out to replace its `html` template function. `sld` is renamed from `html` because it not HTML-syntax-compatible, with JSX-like case-sensitive <Component> syntax. No more pesky <${Component}> syntax!

Bild

If something like this DOM templating proposal becomes reality, it'll start to reduce the need to install frameworks like React, Solid, or Vue. And it will start to create commonality for tooling such as TS, linters, compilers, and frameworks to build on top of. github.com/justinfagnan...

GitHub - justinfagnani/dom-templating-api-proposal: A proposal for a new DOM Templating API

A proposal for a new DOM Templating API. Contribute to justinfagnani/dom-templating-api-proposal development by creating an account on GitHub.

github.com

Still waiting for AI coding agent output to not be slop. The day will come, but right now it's really only good for monotonous straight forward tasks.

I really appreciate where macOS 26 Liquid Glass UX will land, but it is still being worked on, and feels a little rushed. This is hard to read at the moment due to a bug where the underlying shadow shrinks and the contrast is lost (note the shadow is at the top, not tall enough):

Bild

From Pulsar Editor's recent update: "perhaps most importantly, you may notice substantial improvements in performance." I am SO excited. The UI/UX is far better than VS Code's, and the CSS is exposed. Just open up your CSS style sheet and hack away! View CSS in devtools, and style anything!

Joe Pea@joe.trusktr.io · 6mo ago

The Pulsar text editor recently upgraded from Electron 12 to Electron 30 (from Node 14 to Node 20)! With performance improvements. Pulsar is a living fork of the dead Atom editor. I'm keeping an eye on Pulsar due to very bad perf issues VS Code has with extensions, unfixed for years.

The Pulsar text editor recently upgraded from Electron 12 to Electron 30 (from Node 14 to Node 20)! With performance improvements. Pulsar is a living fork of the dead Atom editor. I'm keeping an eye on Pulsar due to very bad perf issues VS Code has with extensions, unfixed for years.

Bild

Anyone know a tool to prune node_modules based on an importmap? I've got Custom Elements that run as vanilla ES Modules in the browser. They import solid.js, and f.e. my importmap grabs `solid-js` from node_modules. However solid.js also installs unneeded tools like Babel. Hoping to clean it up.

A useful phrase to understand capitalist dynamics is: Socialize the cost, privatize the profit. Explains a lot of policy and corporate action.

Kevin J. Kircher@kevinjkircher.com · 7mo ago

This chart by @nathanielbullard.com is one reason data centers are driving up our electricity prices. Tech companies usually build data centers close to cities, where accommodating their GW-scale power demand entails costly reinforcement of wires or transformers. Utilities pass those costs on to us.

Chart showing how far data centers are from urban areas, compared to factories, power plants, steel plants, coal mines, and mineral mines. Data centers are usually within 6-12 miles (10-20 km) of an urban area, much closer than the other stuff.

`classy-solid` 0.5.2 is released, adding the ability to control whether effects start upon instance construction via a `static autoStartEffects` class field. Add @solid_js signals and effects to your JavaScript classes with concise decorator syntax: github.com/lume/classy-...

A screenshot of code using the classy-solid library to add signals, memos, and effects to a "Dog" class definition by decorating a "years" class field with @signal to make it a reactive value, decorating a readonly "dogYears" class getter with @memo and having it return a derived value being the "years" field multiplied by 7, and decorating a "log" method with @effect and having it read and log to console the "dogYears" property which in turn causes the method to automatically rerun any time that the "dogYears" property value changes.

I've published classy-solid v0.5.1 "keep your privates private!", supporting #​private @​memo and @​effect decorated members. Add @solidjs.com-powered signals and effects to JavaScript classes. Notes: github.com/lume/classy-... Example declarative class with @​signal, @​memo, and @​effect members:

Bild

React continues to snowball exponentially, unfortunately. Outpacing newer, better, standards-aligned techs (chart from npm stat). Probably due to herd mentality and picking a library merely beacuse the usage count is higher. Imagine if people rebalanced their picks based on technical merits.

Bild

I often hit this text editing bug in Apple iPhone on Bluesky, making it impossible to edit what I'm posting. Looks like a iOS Safari bug I've only seen triggered on Bluesky. The caret and text selection drawings are rendered in the wrong visual location.

Bild

Imagine if ShadowDOM simply had this.attachShadow({ mode: 'open', openlyStylable: true }) which would do one thing very simply: Any selectors from any level up higher pierce into the root. You accept the possible consequences, but you can also simplify a variety of use cases.

Don't optimize the thing that should not exist. Delete it! AIs love to optimize things that should not exist, after adding them!