That article is a bit "doomy" :D
Overall I'm still excited by AI and what it potentially can do. But it also shows how poor our existing tools still are.
Posts by Marvin Hagemeister
Good point, yeah the long term affects might still take some time to really surface. Right now the answer seems to be use AI to review AI. But I notice in my own projects that it's struggling.
true, sometimes I'm impressed and other times I'm just left scratching my head. Constantly flip flopping between these two states :D
Some thoughts about AI-assisted coding and how it affects my brain. I'm more productive and more exhausted at the same time.
marvinh.dev/blog/ddosing...
I've been playing around with Chrome's experimental HTML-in-Canvas API (I use it to create my videos), and I wanted to see if I could make text-selection work on a curved surface by moving the underlying element around on pointermove. It works pretty well!
There's something quite exciting happening with AVIF and progressive rendering.
Some recent patches let you provide custom 'frames' as progressive passes, so you can provide e.g. smaller blurry versions of the full image to use as a progressive pass.
I feel like I’ve been on vacation since I published my last article. Writing and organizing my thoughts on a topic is truly enriching.
In case you missed it:
willybrauner.com/journal/sign...
What if a signal on the server could just be a signal on the client?
Wrote about mixed-signals by @developit.dev - a library that reflects server-side Preact Signals to clients in real-time. No fetch calls, no deserialization, no cache invalidation. Just signals on both sides of the wire.
TypeScript 6.0 is now available!
This release brings better type-checking for methods, new standard library features, new module features for Node.js, and more!
But most important, this release brings us one step closer to the upcoming native-speed 7.0!
devblogs.microsoft.com/typescript/a...
A typosquatted Dependabot username "depenbadot" with the bio "Automated dependency updates built into GitHub".
It's, uh, less than ideal that I'm allowed to claim a GitHub username like this.
That's crazy!
A screenshot of the video section of the HTML standard, now containing the loading attribute, a new addition
Spec proposal merged.
HTML video and audio lazy loading is now a web standard.
github.com/whatwg/html/...
html.spec.whatwg.org#the-video-el...
html.spec.whatwg.org#the-audio-el...
Learning of the day: Using playwright instead of webdriverio for browser tests is 23x faster.
Second that, this looks sick!
Those are some generic optimizations for Preact. Anything that uses Preact client side would benefit
Benchmark Hooks Blocks Diff ───────────────────────────────────────────────── create 1k rows 41.6ms 37.7ms -9.4% replace 1k rows 50.7ms 43.2ms -14.8% update every 10th 33.3ms 22.1ms -33.6% select row 19.7ms 8.5ms -56.9% swap rows 37.1ms 25.2ms -32.1% remove row 22.9ms 18.2ms -20.5% create 10k rows 438.2ms 384.6ms -12.2% append 1k rows 51.5ms 43.9ms -14.8% clear 1k rows 19.3ms 17.9ms -7.3%
Playing around with some compiler guided optimizations in Preact
🙋 Hello there!
lol, nah that's a bit much. There shouldn't be any barrier in reaching out. No need for a task force :D
Thanks likewise, loved working with ya!
Thanks Ian, that's very kind!
Yesterday was my last day at Deno. It's rare you get to work with so many highly skilled peers in one place, but I'll be now cheering from the sidelines.
Not sure yet what comes yet. I'm officially looking for a job now!
Figured I'd open source the little preact+signals mastodon client I wrote a few years ago, in case the code is useful to folks.
It's called Mastodawn.com - a streaming, offline-first installable Mastodon web app that weighs under 100kb.
github.com/developit/mastodawn
We improved batching behavior in Signals-core.
If a signal goes A → B → A inside a batch, dependents will no longer re-run if the final value equals the starting value.
Example:
const count = signal(0)
batch(() => {
count.value = 1
count.value = 0
})
Good blog post from Carlos (a colleague) about a new proposed addition to Compression Dictionaries allowing short-lived HTML pages to continue to be used as compression dictionaries for longer:
dev.to/carlosmateom...
#webperf
New blog series: Blast Radius
We take real open-source PRs and run them through a 3D dependency graph to show what the diff missed.
First up: the Svelte PR that made the compiler 55% faster. 3 files changed. 2,036 affected.
codelayers.ai/blog/blast-radius-svelte-compiler-performance
Deno v2.7.2 is released
`deno install` is now dramatically faster
Full release notes at: github.com/denoland/den...
A clean looking graphic with sharp lines and crisp colour
The same graphic, but muddy and blocky. The previously sharp lines are blurry.
I think it's often overlooked that AVIF is also really good at flat colour & sharp edges.
Don't go straight for a lossless format just because it's the kind of image that would look bad as a JPEG.
Here's an 11kb image as an AVIF, vs JPEG XL.
JSR now lets you diff the generated documentation between released versions of a package, making it easy and clear what has changed in a visual manner!
Example: jsr.io/@david/gagen...
Can you spin environments in 200ms with all the dependencies installed and ready to use?
You can with snapshots in Deno Sandbox!
Do the setup once, reuse it forever.
See how in this demo with Python
youtu.be/mASEjxpuDTM
Curiosity is what fuels progress.