Better HN
topnewbestaskshowjobs
Log inSign up

mnazzaro

50 karma · joined Jul 11, 2024 (2y ago) · 11 submissions

Submissions

comment 10mo ago · link · parent

I could be misunderstanding, but typing "l" into the terminal should send one byte, which should fit into one TCP packet

comment 10mo ago · link · parent

Yup! There's a language server and file server running in the sandbox that the editor on the frontend interacts with.

comment 10mo ago · link · parent

While I can see that working well for echoing keystrokes in a terminal, I'm not sure how it would work when you actually enter commands into the terminal. Same for opening files in the IDE.

comment 10mo ago · link · parent

Thanks for letting me know- I'll take a look

comment 10mo ago · link · parent

I have! It's pretty interesting and handles a lot of the problems discussed here, but is a little young for us. For one thing, it doesn't have fly replay, so we'd have to build a separate proxy again.

If we were starting from 0, I would definitely try it. My favorite thing about it is the progressive checkpointing- you can snapshot file system deltas and store them at s3 prices. Cool stuff!

comment 10mo ago · link · parent

1. The pools are very shallow- two machines per pool. While it's certainly possible for 3 tasks to get requested in the same region within 30 seconds, we handle that by falling back to the next closest region if a pool is empty. This is uncommon, though. 2. I haven't considered it, but yeah- the caching seems to work great for us. 3. The tokens are generated per-task, so if you are worried about your token getting leaked, you can just delete the task!

comment 10mo ago · link · parent

I'm a huge GCP fan, but cloud run wouldn't fit our use case because of the routing and ephemeral nature. I think you would have to try to build something yourself using GKE + gVisor

8.

Nobody likes lag: How to make low-latency dev sandboxes(compyle.ai ↗)

105 points · by mnazzaro · 10mo ago · 45 comments

comment 1y ago · link · parent

This is a valid concern, but astral just has an amazing track record.

I was surprised to see the community here on HN responding so cautiously. Been developing in python for about a decade now- whenever astral does something I get excited!

comment 1y ago · link · parent

While I agree with this particular point, it's weird not to share the slides, everything else rings true for me. I graduated college about a year ago, and so much of this I just took for granted. The class would just get smaller as the semester went on and more people 'disappeared'. In a lecture hall of 200 people, do you really think that my classmates weren't on their phones constantly?

Empirically, literacy rates are dropping. The anecdotes match the data. Why are you trying to negate this article?

comment 2y ago · link · parent

This is such a strange spot for a glass half full take lol. "At least it's warm in hell!"