Dan White (@dnwhte) profile picture
United States
Joined March 2008
Photo by Dan White (@dnwhte)
Dan White retweeted
Introducing Flue — The First Agent Harness Framework Flue is a TypeScript framework for building the next generation of agents, designed around a built-in agent harness. Flue is like Claude Code, but 100% headless and programmable. There's no baked in assumption like requiring a human operator to function. No TUI. No GUI. Just TypeScript. But using Flue feels like using Claude Code. The agents you build act autonomously to solve problems and complete tasks. They require very little code to run. Most of the "logic" lives in Markdown: skills and context and AGENTS.md. Flue is like Astro or Next.js for agents (not surprising, given my background 🙃). It's not another AI SDK. It's a proper runtime-agnostic framework. Write once, build, and deploy your agents anywhere (Node.js, Cloudflare, GitHub Actions, GitLab CI/CD, etc). We originally built Flue to power AI workflows inside of the Astro GitHub repo. But then @_bgiori got his hands on it, and we realized that every agent needs a framework like Flue, not just us. Check it out! It's early, but I'm curious to hear what people think. Are agents ready for their library -> framework moment?
189
339
106
3,808
804,366
Dan White retweeted
System design just got way more interactive Someone built a web-based System Design Simulator, where you drag & drop architecture components and actually simulate traffic, failures, latency, and scaling in real time,
42
133
13
1,428
117,143
Dan White retweeted
This software engineer was nearly hacked by a coding interview. I've never seen this attack channel before. Be careful out there, especially vibe coders.
173
983
166
8,632
891,297
Dan White retweeted
PSA 📢: Avoid Barrels (A barrel is a file that exports code from other files) Barrel benefits: ✅ Shorter import paths ✅ Support importing many files via one import ✅ "Hide" modules - Only export some modules for the "public" interface But, I avoid barrels. Here's why: 🚫 Bloats the bundle. Inhibits tree shaking. 🚫 Increases memory usage. 🚫 Slows tooling (builds, tests, linting). Barrels create more modules to parse. 🚫 Slows code navigation ("Find all references" finds the barrel instead of the actual source). 🚫 Barrels shorten import paths and group related imports. Sounds nice, but it's an outdated benefit because I don't write imports anymore - my editor reliably auto-imports.
89
138
34
1,107
331,768
Dan White retweeted
At this point I’m pretty certain we could build every demo I’ve ever seen of React Server Components purely with runtime APIs and without relying on bundlers or magic “use x” program directives in your code. No “—conditions react-server” needed. Instead, you could use the same version of React on the server and in the browser like you’ve always done. RSC’s over-reliance on bundler magic illustrates just how far current React has strayed from its roots. In the original React that I first came to love, you didn’t even need to use JSX if you didn’t want to. You could just use pure runtime APIs if you wanted. Ofc, I always used JSX. But I always loved knowing that if I didn’t want to use a bundler, React had my back. That’s not the case with RSC, and I think it means we’ve sacrificed a core capability of React, not to mention introduced significant additional complexity.
18
19
2
293
88,783
Can you believe these slides are full page loads to completely new HTML pages‽ #smashingconf smashing-transitions.netlify… ^ try it with Canary and enable the flag chrome://flags/#view-transition-on-navigation what. rad. tech. 🤯
35
360
36
2,705
457,141
Dan White retweeted
Just learned about transform tools. This site converts a huge number of formats. JSON GraphQL TypeScript Zod YAML TOML CSS Tailwind OpenAPI schema Protobuf JSX And much more. My favorite? JSON to Zod schema. 🔥 Super handy! transform.tools/
11
143
3
867
86,151
Dan White retweeted
“Best Open Source CMS” goes to…🥁*drum roll please*🥁@umbraco!! Congratulations on your 2022 #CMS Critic People’s Choice Award! https://xitter.gq/t.co/cJ68j5q84Q
13
3
31
6,050
Dan White retweeted
Fantastic work by the team at @FastlyDevs 👏 @remix_run is now officially supported on 5 different JS runtimes: - node - Cloudflare Workers/Pages - deno - bun - Fastly Compute@Edge The future of JS frameworks is server rendered — at the edge!
6
19
1
172
43,083
Dan White retweeted
Here me out! this feature is so crazy that everybody needs to know about it 📢 server side closures with @QwikDev !! 🤯 builder.io/blog/module-extra…
37
120
50
773
269,443
💡 Tip for any framework: separate your view logic and app logic layers. Don't bake app logic into framework code. Frameworks make it too easy to bake everything in, but your code will be more maintainable & testable if you keep view logic & app logic separate.
11
44
8
335
125,434
Dan White retweeted
Pre-commit hooks are a waste of time. Why? Because they enforce standards too early. Pre-commit hooks make us wait for a quality check on every commit.👎 The code shouldn't need to be "right" to save my changes. The code only needs to be right before merge. Solution? Use CI.
245
216
86
2,332
407,166
Dan White retweeted
🎉🎊 React Native & @Expo are the top 2 mobile rising stars of 2022!! Amazing to see NativeWind, React Native Skia, NativeBase, and FlashList in the top 10!! → A great year for native developers! risingstars.js.org/2022/en
3
31
6
275
44,594
I'm dissatisfied with the state of form libraries. Every time I look into one, it normally does too much of stuff I don't care about and doesn't support stuff I do care about (or maybe it does, but it's hiding behind all the extra fluff).
51
18
9
498
192,216
Dan White retweeted
Client-side security boils down to one simple rule: Never trust the client. Assume the user will: - Manipulate the URL - Call endpoints directly with customized payloads - Change browser storage values So, don’t trust the client. Validate requests on the server.
15
87
13
848
90,657
Dan White retweeted
Today I'm releasing an open source project called Webspaces. Webspaces builds 3D worlds *into* the web, using just HTML. Add a <script> tag and an HTML page becomes a 3D world where you can build objects, share content, or hang out. 1/ webspaces.space
107
486
79
3,320
918,346
Dan White retweeted
36.Twitter files continued: "THE FIRST AMENDMENT ISN’T ABSOLUTE” Szabo’s letter contains chilling passages relaying Democratic lawmakers’ attitudes. They want “more” moderation, and as for the Bill of Rights, it's "not absolute"
5,801
17,988
4,819
67,083
Dan White retweeted
1. Thread: THE TWITTER FILES
17,934
108,006
24,944
324,756
Dan White retweeted
I’m a big Cypress fan, so I’m shocked to say this: I just switched to @playwrightweb. Here are 16 reasons I switched: 1. WAY Faster. ~2X faster with 1 core. ~6x faster with multiple cores (uses multiple workers) 2. Tests multiple browsers in parallel. 1/5 Comparison:👇
82
448
51
3,007
Dan White retweeted
if you're a mod who regularly changes their Discord pass 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙫𝙖𝙡𝙞𝙙 if you're an NFT project that cares about security and uses cold admins in Discord 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙫𝙖𝙡𝙞𝙙 if you check the data tab each time before signing a txn 𝙮𝙤𝙪 𝙖𝙧𝙚 𝙫𝙖𝙡𝙞𝙙
2
10
37