Advertisement · 728 × 90

Posts by Marvin Hagemeister

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.

5 days ago 1 0 1 0

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.

5 days ago 1 0 1 0

true, sometimes I'm impressed and other times I'm just left scratching my head. Constantly flip flopping between these two states :D

5 days ago 2 0 0 0
Preview
DDoS'ing the human brain AI made us mass produce code at a scale we never could before. More code, more problems, same brain. Somehow I'm more productive and more exhausted at the same time.

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...

5 days ago 70 12 5 1
Video

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!

1 week ago 401 43 19 5
Video

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.

1 week ago 253 35 11 3
Preview
Signals, the push-pull based algorithm — Willy Brauner We have been using Signals in production for years via several modern front-end frameworks like Solid, Vue, and others, but few of us are able to explain how they work internally. I wanted to dig into...

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...

1 week ago 39 10 6 3
Advertisement
Preview
Bridging the Server-Client Boundary with Signals How mixed-signals turns server-side Preact Signals into real-time shared state across clients, and what that can look like in tech like Cloudflare Durable Objects

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.

2 weeks ago 34 8 5 0
Preview
Announcing TypeScript 6.0 - TypeScript TypeScript 6.0 is now available! TypeScript 6 is a stepping-stone release, aligning with the upcoming native-speed 7.0 release.

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...

2 weeks ago 315 87 7 12
A typosquatted Dependabot username "depenbadot" with the bio "Automated dependency updates built into GitHub".

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.

2 weeks ago 52 4 7 3

That's crazy!

2 weeks ago 1 0 0 1
A screenshot of the video section of the HTML standard, now containing the loading attribute, a new addition

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...

2 weeks ago 146 33 6 1

Learning of the day: Using playwright instead of webdriverio for browser tests is 23x faster.

2 weeks ago 45 1 3 0

Second that, this looks sick!

2 weeks ago 2 0 0 0
Advertisement

Those are some generic optimizations for Preact. Anything that uses Preact client side would benefit

2 weeks ago 1 1 0 0
 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%

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

2 weeks ago 27 0 1 0

🙋 Hello there!

3 weeks ago 12 0 0 0

lol, nah that's a bit much. There shouldn't be any barrier in reaching out. No need for a task force :D

3 weeks ago 2 0 1 0

Thanks likewise, loved working with ya!

3 weeks ago 1 0 0 0

Thanks Ian, that's very kind!

3 weeks ago 3 0 0 0

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!

3 weeks ago 177 18 11 4
Post image Post image Post image Post image

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

3 weeks ago 60 18 7 0
Advertisement

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
})

1 month ago 37 3 1 0
Preview
Beyond Static Resources: Delta Compression for Dynamic HTML Compression Dictionary Transport (RFC 9842), authored by Patrick Meenan and Yoav Weiss, lets browsers...

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

1 month ago 14 6 0 1
Preview
Blast Radius #1: The Svelte Compiler Got 55% Faster. The Fix Was 3 Files. A developer asked Svelte about performance. Then he fixed it himself — 5 PRs in 8 days. Here's what the dependency graph reveals about his 3-file fix.

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

1 month ago 45 3 2 1
Post image

Deno v2.7.2 is released

`deno install` is now dramatically faster

Full release notes at: github.com/denoland/den...

1 month ago 54 5 2 0
A clean looking graphic with sharp lines and crisp colour

A clean looking graphic with sharp lines and crisp colour

The same graphic, but muddy and blocky. The previously sharp lines are blurry.

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.

1 month ago 147 22 9 2
Post image

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...

1 month ago 111 16 3 2
Video

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

1 month ago 30 3 2 0

Curiosity is what fuels progress.

1 month ago 11 1 0 0
Advertisement