this is so cool
haptics.lochie.me
Some people can't afford the cost of a Real ID, or a copy of their birth certificate, which is why it's important for those of us who can help to help. Even helping just one person goes a long way.
This is about preparation for any foolishness while we continue to fight for our right to vote.
“mock” is a loaded term. Out of context, yeah, this is narrow-minded thinking. The MSW approach is not the same as module-level mocking. Those against mocking are usually talking about mocking internal modules and dependencies, not the network/data layer.
Scammy text appeal seeking donations for the "No Kings Act" which will be "500% MATCHED"
PSA: The No Kings PAC is not affiliated with and had no role in putting on the 10/18 mobilization. If you get a spammy text from them claiming your donation will be 5x matched, know that it's not from anyone involved in the No Kings protest (and please direct your angry emails to them, not us)
it's kinda weird that all the software i am expected to use for work are all written by distributed teams, go, python, postgres, linux, chrome, k8s etc
and despite being told "the best teams work in an office together" i don't know of any software i use that's actually written that way
“The moment you have nine useStates in a component, you've already shot yourself in the foot.”
PREACH
let me change my mind about this
I want a normalized API pattern where introduction of a side-effect returns you a function to undo it.
const controller = emitter.on('foo', cb)
controller.abort()
For everything, please. No more "and now let's call .removeListener() and provide the same fn by reference" 🤮
💯💯💯
It’s rare that anyone but “Principal” and “Distinguished” “Engineers” decide on the stacks in enterprises. Given these roles are usually tied to director and VP level pay scales, there’s exceedingly few compared to all those resumes in your bin. “Doing your job” is often suboptimal.
Kinda feels like e2e with playwright is better than literally any other test setup. Starting to second guess the value of Storybook in these crazy times.
AI-assisted coding for teams that can't get away with vibes
blog.nilenso.com/blog/2025/05...
💯 it isn’t clear from the docs how to roll your own RSC implementation which is pretty important for developing a strong intuitive understanding of the technology
Maybe.
My mental model for UIs is rooted in physical metaphors: steering wheel, speed gauge, light switch, faucets, doors, etc etc and these things don’t make sense as caches in my brain.
it’s maybe the difference between *views* and *controls*
Idk, thanks for the discussion!
The settings are orthogonal to the real-time network speed, which (in the example) is the purpose of this UI. This is not so different from waveform in a DAW or a video playing on YouTube.
Point being, a lot of UI just isn’t a cached of data, it’s more like a stream of data.
fair. Ideally if you fail to declare one of the expected states, the runtime would inform you via error/warning
One that comes to mind is fast.com
Obviously this is somewhat trivial but it’s a utility that I personally use regularly that has a good UI and doesn’t strike me as a cache of data. Any sort of “real-time” stream of data fails to fit this mental model of a cache
It’s a terse mental model but not a useful one. This is a server-centric view of UI. This idea doesn’t extend well to a strictly local app or a highly interactive app where interactions are ephemeral and the UI state is not persisted
<use-async key=comments>
<p slot=pending>Loading…</p>
<p slot=rejected class=error>
Failed to load.
</p>
<div slot=resolved>
<template id=comment-template>
<p>
<slot name=text></slot>
</p>
</template>
</div>
</use-async>
🤤 butter
I’m convinced that with AGI we will reshape reality in the style of a Studio Ghibli film
Would love a web component version of this! Nice work 👏
TIL
This is really cool! Your suggestion for Rust/Haskell makes sense. I’m curious your thoughts on using Typescript with a really strict config as the base lang, given how prevalent it is in frontend applications?
As web devs we work on top of a huge pyramid of *extremely* good abstractions, from the metal on up.
The problem with web dev currently is all the abstractions on top of HTML/CSS/JS/HTTP, by comparison, are quite leaky.
Hey guys meta announced a new policy where they send a killer to get you so be sure to go to settings>my account > killer> disable killer to turn that off
Headless UI libraries make a lot of sense, I just wish they were authored as web components so I could use them in any framework
Even worse: the longer this is the case, the higher the skill floor is, eating into mid and senior level roles until we’re only left with “distinguished wizard architects” and their fancy autocomplete
the tech market is so weird for entry level devs. it seems like no one wants to hire non-experienced devs, but you gotta get a job to get said experience, but the advent of AI makes companies not want to spend on entry level tasks, then eventually there will be no one to promote to seniors
Pretty sure this is why JSX is so popular. As much as I dislike a build step between my code and my browser, it really is the most ergonomic option available