Blank
@blankparticle
Followers
429
Following
167
Media
36
Statuses
104
Rahul Mishra ok-ish programmer at @iterate
Earth
Joined July 2023
Cloudflare: A Minecraft Server With Tailscale + Cloudflare Containers you can host a multiplayer Minecraft server inside Cloudflare, or any other TCP server
19
40
874
This is not a scientific benchmark by any means, just a showcase of the issue https://t.co/xOaICi0Err
github.com
Contribute to BlankParticle/zod-memeory-leak-benchmark development by creating an account on GitHub.
0
0
0
I ran some very simple numbers Please take these numbers with a grain of salt, but looks like unstable schemas with metadata in zod are a huge footgun In contrast other libs like valibot doesn't have this issue
I've just found the most insane memory leak coming from Zod It turns out, Zod has a global registry, and if you use .describe, it'll add an entry into the registry (??) So... if you're dynamically creating a *lot* of Zod objects, it's just pumping records into an object that
2
0
10
cursor unironically suggested this code today const shouldUpdate = options.shouldUpdate ? true : false;
2
0
10
currently locked behind `experimental` flag in wrangler https://t.co/reysQfRv2i
github.com
For every top-level export, ctx.exports will contain a corresponding property which acts as a binding to that export. If the export is a simple object or WorkerEntrypoint, then the ctx.exports prop...
0
0
1
new and shinny experimental features coming soon to @CloudflareDev `ctx.exports` will have self referential bindings, its very useful to call rpc methods on itself or any Durable Object exported from the worker entrypoint
2
1
5
alchemy[.]run is one of the best things that happened to @CloudflareDev at @iterate we deploy every PR to custom domains, run E2E tests against them on their own respective databases, KV and Durable Objects and once the PR is closed, everything just vanishes like they were not
5
8
106
extracted the code from our helpers and turned it into a package https://t.co/BZ0TCzoCJx
github.com
tRPC-style Safe RPC methods for Cloudflare Durable Objects - iterate-com/safe-durable-objects
0
0
2
created this little helper library to add @trpcio styled safe RPC methods with durable objects this helps us to generate schemas for the methods so that Counter.increment becomes a native tool for any LLM agent
2
2
18
Building makeshift convex at home on top of durable objects for @iterate Its no where near convex level of DX and efficiency, but its a good start
3
1
49
I'm happy to announce @better_auth has raised a $5M seed led by PeakXV Partners (formerly Sequoia Capital India & SEA), with participation from Y Combinator, Chapter One, P1 Ventures, and a group of incredible investors and angels We're making rolling your own auth not just
163
82
1K