Live data from Hacker News

Code and Let Live

fly.io

181–190 of 195 posts

Re: Code and Let Live

#181
post #4
post #3

This sounds great and it's roughly what exe.dev is doing too. Coincidence?

This has been in the works for quite awhile here. We put a long bet on "slow create fast start/stop" --- which is a really interesting and useful shape for execution environments --- but it didn't make sense to sandboxers, so "fast create" has been the White Whale at Fly.io for over a year.

What I like about exe.dev is that you only need ssh to access it, is something like that under consideration for Sprites.dev?

Additionally, is Tailscale/Wireguard connectivity something you'd consider?

Re: Code and Let Live

#182
post #167
post #161

Earlier quoted context omitted.

why does an API that only accepts json need me to specify in a header that it’s json. just assume it’s json. you’re gonna parse and validate it anyway.

If it turns out that someone is willing to pay for some other protocol then they just have to hook it up to that MIME type and start serving. It might be possible that they can derive an implementation of that protocol from their data schemas. If they hardcode JSON such a change would be breaking for their previous users.

Why would it be a breaking change? Just continue assuming JSON if no Content-Type is provided.

Re: Code and Let Live

#183

Earlier quoted context omitted.

I have found container-use to be super useful for this. https://container-use.com/quickstart BTW Simon, I was super happy when I heard on Theo's podcast that he will be encouraging you to monetise your work more. I'm super appreciative of your work and I'm pretty convinced that the more you profit from it, the better the universe will be!!!

For those of us who weren’t on that podcast, can you clarify who Theo is?

Sorry, yes it is Theo Brown:

https://www.youtube.com/@t3dotgg/videos

It was in one of his videos from last week.

Re: Code and Let Live

#184
post #4

Earlier quoted context omitted.

This has been in the works for quite awhile here. We put a long bet on "slow create fast start/stop" --- which is a really interesting and useful shape for execution environments --- but it didn't make sense to sandboxers, so "fast create" has been the White Whale at Fly.io for over a year.

What I like about exe.dev is that you only need ssh to access it, is something like that under consideration for Sprites.dev? Additionally, is Tailscale/Wireguard connectivity something you'd consider?

Nope, re: SSH. Tailscale should already work on a Sprite. Everything we do at Fly.io is connected by WireGuard, so it's just a question of whether we want to expose that to users.

Re: Code and Let Live

#185
> Rather: an intended part of the ordinary course of using a Sprite. Like git, but for the whole system.

What I've been waiting for, for a long time. Basically the thing you need if you want agents to run freely but still in a safe way kinda.

>For reasons we’ll get into when we write up how we built these things, you wouldn’t want to ship an app to millions of people on a Sprite. But most apps don’t want to serve millions of people. The most important day-to-day apps disproportionately won’t have million-person audiences.

I appreciate a lot this vision of personal computing.

I'll give sprites a try, they sound super cool.

Re: Code and Let Live

#187
post #54

What is the criteria for a sprite being "idle"? Is it no network activity or is it cpu based?

It stays awake if you have an open connection (like sprite console) or an exec session if running and producing stdout. You can specify a max exec time for a process when you launch it via the API.

Is there something we have to do to get a sprite to idle? Because I started one over the weekend that's still running despite no network usage, so that seems to be currently broken.

Re: Code and Let Live

#188

On the documentation, you install the NPM package via Anthropic: https://sprites.dev/api (on this page, if you select Node) npm install @anthropic-ai/sprites Is there some relationship between Anthropic and Fly.io that I didn't hear about?

I noticed the same thing, I suspect it's hallucinated. It seems like the correct package is @fly/sprites --https://www.npmjs.com/package/@fly/sprites

Re: Code and Let Live

#189
post #63
post #62

[flagged]

You feel wrong. I would eat a bug before I ran LLM text on our blog. This one thing --- the fact that you can't negate a clause without people claiming an LLM wrote it --- this alone do I place angrily at the feet of AI.

The 3 em dash… kinda a flex move in this case.

Re: Code and Let Live

#190
post #63

Earlier quoted context omitted.

You feel wrong. I would eat a bug before I ran LLM text on our blog. This one thing --- the fact that you can't negate a clause without people claiming an LLM wrote it --- this alone do I place angrily at the feet of AI.

The 3 em dash… kinda a flex move in this case.

I've been typing `---` every time I do a dash since 1998 when I learned Latex to write a paper, and then (at the time) sort of just figured "oh if I keep typing --- people on Usenet will think I'm one of the Latex cool kids". Here we are. I refuse to stop just because LLMs have uslurped it.
Post reply on HN