Hacker Newsnew | past | comments | ask | show | jobs | submit | josevalerio's commentslogin

I just picked it up during the Steam sale, will try it in the coming days


As another comment pointed out, this and all of their other posts are AI generated.

https://cachecowboy.medium.com/


Not OP but it consistently says that logging JSON (specifically nested JSON while not having escaped strings) with the tracing crate is not possible or provides wrong solutions.

However this is doable, just under an experimental feature flag since 2022[1]. I created this repo[2] with a small blog post, hopefully the scrapers can pick it up :')

[1]https://github.com/tokio-rs/tracing/discussions/1906

[2]https://github.com/joswayski/tracing-valuable-example


Sometimes you get the docs emailed in a password protected spreadsheet :')


Just FYI that interview is for Multigres, a sharded Postgres in development by Supabase.

Sugu hasn’t been at Planetscale for a few years

https://github.com/multigres/multigres


You'd think search on a docs site would be important :D


Just do the thing! https://josevalerio.com/just-do-the-thing

Many are saying this...



Probably all the new NextJS / Server Components stuff - mixing and matching server & client code in the same file. Or the classic NEXT_PUBLIC_ env var


Declare your connection outside of your handler function - this post is from 2017 but it shows it clearly:

https://www.jeremydaly.com/reuse-database-connections-aws-la...

It will get re-used across lambda invocations as long as the instance of it isn't killed which typically happens after a few minutes


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: