Davide – Web developer from Italy 🇮🇹 I try building things, but I waste time perfecting the initial setup 🙃 CEO of ducks 🦆

Italy
Joined January 2024
DuckyCoding retweeted
Zod 4 stable will be released this Monday, May 19th
21
77
10
1,036
51,426
My course, learnastro.dev/, is launching this week! This course represents more than a year of planning, filming, and editing. To celebrate, I'm giving away a free course. RT to enter—a winner will be randomly drawn Thursday, December 5th.
1
5
5
355
What’s the Difference Between HTML’s Dialog Element and Popovers? They are pretty similar in both look and functionality, but are have some important differences, slightly different APIs, and functionality. The use cases are also a bit different, so let's have a look! frontendmasters.com/blog/wha…
3
11
2
69
15,560
DuckyCoding retweeted
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
33
2,189
364,836
debugger console.log
49
1,472
99
12,138
747,395
DuckyCoding retweeted
Introducing ElysiaJS - Ergonomic Framework for Human Try it out now $ bun create elysia app
11
40
6
359
101,042