News for hackers. Stuff that matters.

josevalerio

Re:Orbs on Sunday August 30, 2026 @01:33PM (#49500827)
OpenAI already does this with Codex cloud

https://chatgpt.com/codex/cloud

From my experience, Orbs have been more consistent, along with Cursor's agents

Re:Ask HN: What are you working on? (August 2026) on Sunday August 09, 2026 @05:22PM (#49236066)
I've been working on a cross platform screenshot/screen recording tool with a built in editor:

https://github.com/joswayski/captures

Managed to snag a cool domain for it too!

http://captur.es/

Would love any feedback from anyone that tries it

Re:What job interviews taught me about Kubernetes on Monday June 15, 2026 @08:44PM (#48549105)
Re:Ask HN: Best/Easiest way to host Rust with PostgreSQL? on Wednesday May 06, 2026 @12:45AM (#48032274)
I never used Shuttle but you could try Railway[1]. I have a few rust services there costing me pennies per month due to the low resource usage[2]

You hook your repo up and it does a good job figuring out what you need. Not much to it really :)

[1]https://railway.com/

[2]https://cleanshot.com/share/RgwRLCk6

Re:No Fun Allowed on Sunday December 21, 2025 @03:49PM (#46348279)
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/

Re:Rust won: the quest for performant, reliable software [video] on Saturday September 13, 2025 @03:35PM (#45234704)
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

Re:Everything I know about good API design on Tuesday August 26, 2025 @12:04AM (#45022152)
Sometimes you get the docs emailed in a password protected spreadsheet :')
Re:Neki – sharded Postgres by the team behind Vitess on Monday August 11, 2025 @08:40PM (#44871085)
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

Re:I couldn't submit a PR, so I got hired and fixed it myself on Saturday August 02, 2025 @10:07AM (#44767760)
You'd think search on a docs site would be important :D
Re:Why Companies Don't Fix Bugs on Wednesday April 09, 2025 @05:06PM (#43638001)
Just do the thing! https://josevalerio.com/just-do-the-thing

Many are saying this...

Re:Resend Security Incident on Wednesday January 10, 2024 @06:13PM (#38944897)
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
Re:How Meta Built the Infrastructure for Threads on Monday January 08, 2024 @02:49PM (#38917099)
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

Please don’t Reddit my HN
Re:From S3 to R2: An economic opportunity on Thursday November 02, 2023 @09:04PM (#38122964)
Don’t those volume discounts kick in once you’re doing near 1PB? You’re still paying “normal” CloudFront prices all the way up and it also varies per region :$

https://aws.amazon.com/cloudfront/pricing/

Re:From S3 to R2: An economic opportunity on Thursday November 02, 2023 @07:08PM (#38121710)
Here’s a tweet from Corey Quinn describing how bonkers R2 pricing is:

> let’s remember that the internet is 1-to-many. If 1 million people download that 1GB this month, my cost with @cloudflare R2 this way rounds up to 13¢. With @awscloud S3 it’s $59,247.52.

https://x.com/quinnypig/status/1443076111651401731?s=46

Re:Ask HN: How to survive indefinite DDoS attack? on Monday October 30, 2023 @10:59AM (#38070252)
As others have stated, Cloudflare is the best solution here. Other services like AWS WAF will charge you just for validating requests, which means even if the DDOS is mitigated, you're still paying for it to inspect each request and then block it, which now turns it to a denial of wallet attack.
I'm not a target user but wanted to provide some feedback. As a customer, when I buy software I don't really care that it's open source or not and if you look in other threads on here, many people feel the same way. It's good marketing - especially for devs - but the whole point of someone paying you for hosting is so they don't have to do it ;)

I'd feature it less prominently as a selling point further down the page. As in: "btw, we're also open source!".

And I would drop the decimals on the pricing - take it from Patrick McKenzie[1]

The site looks really clean and wish you the best!

[1] https://stripe.com/guides/atlas/saas-pricing -> Under "Getting the aesthetics of pricing correct matters in B2C"

Re:Lessons learned from re-sharding Postgres at Notion on Tuesday July 18, 2023 @05:13PM (#36779186)
You could run Notion with SequelLight on a BlueberryPi, this sharting seems unnecessarily complex for an app with a measly 30 million users.
Re:FerretDB, a truly open-source MongoDB alternative on Wednesday April 12, 2023 @04:47PM (#35546620)
Another day on the orange site where people don't understand that you can 100% have relationships in a NoSQL database - just don't try to do it the same way you do in a "relational" one or you're going to have a bad time. Storing everything in one collection is critical.

Here is an example using multi key indexes with Rick Houlihan from re:Invent 2022: https://youtu.be/eEENrNKxCdw?t=1131

Re:Be careful what you test or deploy to Vercel on Thursday April 06, 2023 @09:43PM (#35477033)
Fair points, hopefully this brings about the needed changes in these billing systems to prevent it happening in the future. It happens all the time on other providers as well. I'm very critical of the actual necessity of these infinitely scalable systems if you find my other comment in this thread
Re:Be careful what you test or deploy to Vercel on Thursday April 06, 2023 @07:45PM (#35476126)
You're right I used the term interchangeably - AWS Lightsail would have been a good service comparison, and those do start at $3.50[0]. The $8 figure came from running the smallest Fargate task at .25cpu and 512mb, excluding the load balancer etc. [1]

It was announced that App Runner (today) allowed for smaller instances[2], and the price/mo for this instance would basically be 1/4th of the previous default. So ~$14 [3]

[0] https://aws.amazon.com/lightsail/pricing/

[1] https://calculator.aws/#/estimate?id=42b33d2f26786ac08a3610a...

[2] https://twitter.com/danilop/status/1643968804727271425?s=20

[3] https://calculator.aws/#/estimate?id=a46d5f15ed9c079131c6a73...

Re:Be careful what you test or deploy to Vercel on Thursday April 06, 2023 @07:32PM (#35475976)
Took me less than 1 min to setup NextJS on AWS App Runner with auto deploys on commits, the rest was waiting for it to finish which I'll admit, Vercel is much faster at.

https://www.youtube.com/watch?v=kmbgATze8UU

Re:Be careful what you test or deploy to Vercel on Thursday April 06, 2023 @06:51PM (#35475608)
Awesome response, handled well!

You guys are always on top of things community wise, especially Lee Robinson in any related thread :')

Re:Be careful what you test or deploy to Vercel on Thursday April 06, 2023 @06:48PM (#35475578)
I wonder what the aversion is to using a plain old server / vps. It's really not that difficult to deploy nowadays [0][1][2][3] and I'd rather get an $8 bill every month as insurance than ever worry about shit like OP just went through. It'll probably be more performant anyway due to cold starts and "edge" still having to hit us-east-1 for data.. cache your static files with Cloud Flare/Front. People are always surprised by how much traffic a single VPS can take[4] and believe it all has to be serverless to be web scale. I believe HN still runs on a single core or something.

There's a ton of places to get cloud credits as well, too many to link, so just Bing™ it

[0] https://docs.aws.amazon.com/cdk/api/v2/docs/aws-cdk-lib.aws_...

[1] https://aws.amazon.com/apprunner/

[2] https://cloud.google.com/run

[3] https://render.com/

[4] https://news.ycombinator.com/item?id=34676186

Older »