keybits (@keybits) profile picture

Gone elsewhere.

Joined September 2010
Photo by keybits (@keybits)Photo by keybits (@keybits)Photo by keybits (@keybits)Photo by keybits (@keybits)Photo by keybits (@keybits)Photo by keybits (@keybits)Photo by keybits (@keybits)Photo by keybits (@keybits)Photo by keybits (@keybits)Photo by keybits (@keybits)
In the latest issue of Private Eye (thanks to a friend for sharing) - "So farewell then, Science in Action..." Wishing I could tell EJ Thribb that reports of the programme's demise are premature, but that may depend on support from outside the BBC. ☹️
11
7
3
19
2,206
The threat to World Service journalism has been picked up by @CommonsForeign, with a big section submitted on the proposed demise of ScienceinAction in a time of increasing anti-science and disinformation. Hopefully influential people are listening. committees.parliament.uk/com…...
2
1
3
163
Very sad to hear this. My favourite podcast. Thank you for the excellent journalism Roland. I hope you get to continue your work somehow. A while back I wrote a blog post in praise of the show: keybits.net/posts/my-favouri… Your interviewees saying 'exactly' is the highest praise.
1
1
3
102
🎉BIG NEWS TIME🎉 I am joining @getsentry as a Developer Experience Engineer! Expect videos and content 💪
41
1
1
158
3,470
Congrats Kyle, sounds great for both you and Sentry!
1
1
18
uploading...
100x this. Most voted YT comment under @AnthropicAI Claude Code announcement. 🫡 @fireship_dev
60
37
2
2,856
201,109
Had the same issue with Svelte. Nearly all models fail with the new runes syntax constantly. I feel we need to create documentation context apis for any llm and somehow finetune them dynamically?
1
2
972
Bun wildly simplifies my stack. I’m rebuilding an internal web app that we’ve had since 2016. So far, I have a grand total of 1 npm runtime dependencies (jwt-token). Our previous version of this tool, using Next, had 826 (!!!) NPM dependencies. I also have zero build steps. Just ship the files directly to the server. I’m using: - Bun as a JS runtime - Bun as a package manager - Bun.serve as a webserver - Bun’s websocket server for realtime - TypeScript on server side - JSDoc on the client side - REMEMBER: no build steps! - not even TypeScript in the deps - HTML via template strings - CSS - Hosted on DigitalOcean droplet - In-memory state (just a JS object) - JSON file for persistence - JS’s setInterval for scheduled tasks - git to deploy - Cursor to generate and edit code I’ll talk more about each of these below.
88
107
34
2,188
365,463
This is awesome I feel slightly uneasy about using setInterval as a cron-like queue since data is lost on restart. It’s probably fine in this case, but I wish we had something like Sidekiq. A simple persistent & parallelizable background job queue with retries
11
165
9,253
github.com/nalgeon/redka is pretty nice single binary and sqlite file
33
If you previously set your @flydotio machines to stop, you can now change that to "suspend" instead of a complete stop. This adjustment allows for much quicker startup times. However, there are some caveats: it only supports machines with less than 2GB of memory and no swap enabled.
1
1
1
74
That ‘unfortunately’ means it’s the wrong algorithm, and he doesn’t want to change it, even though he knows it.
The 𝕏 algorithm assumes that if you interact with content, you want to see more of that content. One of the strongest signals is if you forward 𝕏 posts to friends, it assumes you like that content a lot, because it takes effort to forward. Unfortunately, if the actual reason you forwarded the content to friends was because you were outraged by it, we are currently not smart enough to realize that.
4
2
9
1,818
I see you have bsky account, it's getting good over there 😉
1
9
What’s your favorite front-end framework? We’re thinking of moving (back) from Vue to React/Next.js.
244
11
5
469
275,160
What’s the most complex app built with Svelte?
8
2
4,935
Native rich text editing in Svelte 5. Think ProseMirror/Lexical but in ~600LOC. Uses a strict set of constraints to keep the codebase tiny. Work-in-progress...
Working on a new in-place rich text editing framework on top of Svelte 5. Goals: - Frontend equals backend (use as little JS as possible) - Annotations stored separately from the text - Map DOMSelection to internal model - Undo/redo stack that includes selection states
8
2
1
60
4,907
Looks fantastic! Great to see your take on this evolving 😀
1
60
Replying to @jvpmamede
The protocol and software for Bluesky are all open source and the network is 'locked open'. It's worth exploring as atproto is interesting technology with wide application. It's also a lot more efficient from a network traffic and electricity usage perspective than Mastodon.
1
2
62
My first attempt on taming contenteditable was 12 years ago. Yet today the job is still not done. 😬
1
12
649
I'm curious about "We can’t afford pulling in ProseMirror or Lexical, as that would be too much Javascript to load for people who are just viewing, but not editing a page." If the site is dynamically generated e.g. by SvelteKit why not only load the editor for logged in users?
1
108
Written 7 years before I was born, yet still sounds like it was made only yesterday. Peak.
7
2
1
96
5,642
Watch me share my local dev env with the entire internet. And no, it's not as easy as it should be! I feel like we get this solved in a more official way, but if not I'm open to making a package out of it. youtu.be/pT7e31DMTYY
20
5
3
120
14,170
Great video. As mentioned on the YouTube comments, Cloudflare Tunnels might be an easier option. Also Tailscale Funnels is great: tailscale.com/kb/1247/funnel…
8
Claude Sonnet 3.5 can now search the web with just 15 lines of Python code (step-by-step instructions):
29
219
10
2,089
614,027
@simonw might like this!
1
172
I really wish it was easier to take something server rendered (SEO) and upgrade it to a SPA. Feels like the obvious progression to me, but also not exactly where things are going.
23
21
14,236
whats the tl;dr? does it _feel_ like a SPA, or just slightly optimized server rendering?
3
374
It very much feels like an SPA. Recommend giving it a try.
32
Looking for Google Analytics alternative which can be used self-hosted or managed? In this video we go through @posthog and how you can use it in your Remix/RR7 application
This post is from an account that no longer exists. Learn more
1
2
184
Replying to @ohmypy
Just saw your blog post on this and remembered that the community there is very much in favour of allowing submissions from authors: lobste.rs/s/tnpfea/meta_coul… I wonder why mods didn't heed the weight of opinion?
12
Is it just me or is the iPad CPU comically overpowered? I don't think iOS apps have been CPU constrained in years, and there's an artificial floor on responsiveness imposed by animation delays so they never "feel faster"
3
388
I use an iPad for music creation and production. The ability to run lots of synths, sequenceers and effects in an app like AUM is wonderful. When you stack up quite a few like this it can make good use of the M1: youtu.be/T4ZxuZ43g5I?si=F_Bi…
1
18
SvelteKit issue: When I expose the dev server to the network (npm run dev -- --host), cookies are no longer persisted when surfing the site via http://192.168.0.18:5173. When using http://localhost:5173 it works. Any idea anyone? @PaoloRicciuti?
4
4
1,334