Mac Ziehlke
dmio.co
Mac Ziehlke
@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.
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
February 5, 2025 at 12:43 PM
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.
January 20, 2025 at 12:03 PM
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
January 19, 2025 at 2:14 PM
The IKEA Markus is one of the worst office chairs on the market. I regret not spending more on something better.
January 16, 2025 at 10:06 PM
@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?
January 16, 2025 at 6:24 PM
Redis (or shall I say Valkey?) Pub-Sub here we go.
Something new I never done before. You live you learn.
January 13, 2025 at 2:50 PM
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
January 6, 2025 at 6:23 PM
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?
December 18, 2024 at 3:38 PM
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.
December 11, 2024 at 7:43 PM
#adventOfCode Day 8, but part 1 only today

github.com/digitalmio/a...
github.com
December 8, 2024 at 7:54 PM
#adventofcode day 7
Here is my attempt... speed improved a lot from first iteration

github.com/digitalmio/a...
github.com
December 7, 2024 at 10:54 PM
#adventofcode day 7
wow... my code is sloooooow
December 7, 2024 at 3:23 PM
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.

🤯
December 6, 2024 at 10:07 AM
Here is my approach for #adventofcode 2024, day 5.
github.com/digitalmio/a...
github.com
December 5, 2024 at 2:52 PM
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?
November 28, 2024 at 9:46 AM
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!
November 26, 2024 at 5:33 PM
Kingston Upon Thames
November 17, 2024 at 9:49 AM
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.
November 13, 2024 at 10:30 PM