Piyush | pycz.dev (@PiyushCodez) header
Piyush | pycz.dev (@PiyushCodez) profile picture

i do be codin

Pune, India
Joined December 2017
Photo by Piyush | pycz.dev (@PiyushCodez)Photo by Piyush | pycz.dev (@PiyushCodez)Photo by Piyush | pycz.dev (@PiyushCodez)Photo by Piyush | pycz.dev (@PiyushCodez)Photo by Piyush | pycz.dev (@PiyushCodez)Photo by Piyush | pycz.dev (@PiyushCodez)Photo by Piyush | pycz.dev (@PiyushCodez)Photo by Piyush | pycz.dev (@PiyushCodez)Photo by Piyush | pycz.dev (@PiyushCodez)Photo by Piyush | pycz.dev (@PiyushCodez)
designing PCBs is fun
2
5
490
designing custom keyboards from scratch looks hella exciting
2
3
451
migrated my site to use Turso, works great - but now there is latency issue - not with turso but with my proxy setup w/ @vercel and @Cloudflare Turso is in bom, set the vercel region to bom - but as it is proxied through CF, getting vercel responses from fra - latency go brrrr
2
1
388
for comparison: left is routed through CF, right is raw vercel
1
2
299
also did a @tursodatabase replica in fra region, doesn't help tho
222
does anyone know the optimal configuration for vercel & cloudflare to avoid such situations? trying to avoid turning off CF proxy :) migration PR: github.com/officialpiyush/py…
187
time to move my custom slug shortner for pycz.dev and custom pastebin paste.pycz.dev from PlanetScale to @tursodatabase i like the idea of sleeping databases - waking up when there is a request. 1/2
they wake up by themselves if there is a request. You won't notice anything different, except for higher latency (around 300ms)
1
196
there are not many requests on my link shortner or pastebin, causing PlanetScale DB to sleep, and when me/someone tries to access it when we need it - it doesn't respond. The ideology of TursoDB to wake the DB if there is a request sounds v neat to me. 2/2
150
UI loads on chrom(e|ium), but still not usable
1
216
yo @tursodatabase, do the free tier databases sleep if no write operations are performed for some time duration? (it'd have read's but writes would be less frequent)
3
2
1,111
TIL Type C (AltDP) follows the DisplayPort spec, which is hard-wired to the external GPU
1
124
screen freeze while using AltDP is truly messing with my head now, I'm surprised I still haven't crushed my setup *yet*
101
added swap :p
firefox eating 10 gigs of my ram with just 3 tabs open 💀 (and I just realized that I didn't configure any swap)
2
168
firefox eating 10 gigs of my ram with just 3 tabs open 💀 (and I just realized that I didn't configure any swap)
1
5
384
waiting for bun to add polyfill for util.formatWithOptions so that we can use consola in projects cc: @jarredsumner
2
1
4
299
@jarredsumner could this be implemented :eyes:
1
107
(or maybe consola could try to become independent of a specific runtime) npmjs.com/package/consola
88