Profile avatar
dmio.co
Javascript developer specialising in React and Node/Deno/Bun/AnyOtherJsRuntimeThatWillHappenInNextFewDays. Happy husband and father. Jedi Knight by night. Building next big hosting thing in free time. Uploading bad photos from time to time.
50 posts 25 followers 76 following
Regular Contributor
Active Commenter

Cloudflare Workers are great, but for me being unable point client domains via CNAME (this is only possible from Business account onwards $200/mo) is a deal breaker. Clients often are not able to change DNS servers/provider. cc @cloudflare-dev.bsky.social @cloudflare.social

That moment when your Apple Watch praises you with "You did it" for reaching your stand goal, while you were just walking to the kitchen for a pack of super unhealthy crisps.

I am working on #static sites #hosting. I'm super excited for this project. Have an MVP, but I'm starting hitting the wall: is it ready? is it good enough? Anyone would be kind enough to offer his time to complete quick form for me? In return can offer hosting credits. CC @astro.build community

The IKEA Markus is one of the worst office chairs on the market. I regret not spending more on something better.

@tanstack.com Router question guys: tanstack.com/router/lates... -> auth.tsx file Any idea why we do have this 250/500ms sleep in login/logout? Is it to avoid race conditions? To mock async call in demo?

Redis (or shall I say Valkey?) Pub-Sub here we go. Something new I never done before. You live you learn.

I'm working on static hosting and am wondering... when you're hosting your site via 3rd party provider would you be interested in analytics provided as part of the service? This would require to inject JS into your code (can be automated). #buildinpublic #hosting

So today I learned that @tailwindcss.com v4 is keeping ALL vars in final build. Is it just me, or they not needed? I presumed it'll keep only ones used in CSS classes?

Shall I use @tanstack.com Query in a project that uses TanStack Router? The docs state that the Router handles caching, etc., for loaders, so maybe I should just use a decent fetch library like Ky that handles exceptions for me, and I’m good? This will be a medium-sized project - a hosting panel.

#adventOfCode Day 8, but part 1 only today github.com/digitalmio/a...

#adventofcode day 7 Here is my attempt... speed improved a lot from first iteration github.com/digitalmio/a...

#adventofcode day 7 wow... my code is sloooooow

Can someone tell me please how is it possible to complete BOTH #adventofcode day challenges in under 1 minute? Or 1 challenge in under 10 seconds? On day 1, BOTH stars were earned after 9! seconds. You need time to read, understand, write code, copy input data, submit twice etc. 🤯

Here is my approach for #adventofcode 2024, day 5. github.com/digitalmio/a...

What happened to DNS service providers that don't cost a fortune? All I could find now are Bunny DNS, CloudNS, and DNSimple. Is this market too small?

Any bunny.net #DNS users here? I have a problem with generating Wildcard #LetsEncrypt certs when I have wildcard CNAME on domain. In that case TXT with validation is not resolving. Anyone found workaround? Opened a ticket about this, Bunny is aware of bug, but no ETA. Thanks!

Kingston Upon Thames

Hey @vitest.dev, is there any way to use mocked imported function in one test, and actual real function in other? My use case: want to mock middleware response for most of tests (mocked), but on the other side, I want to write test to check and throw when no token is provided.