Live data from Hacker News

Phoenix.new – Remote AI Runtime for Phoenix

fly.io

261–270 of 283 posts

Re: Phoenix.new – Remote AI Runtime for Phoenix

#261
post #67

Earlier quoted context omitted.

Any takeaways on using Fly APIs for provisioning isolated environments? I'm looking into doing something similar to Phoenix.new but for a low-code server-less workflow system.

1 week of work to go from local-only to fly provisioned IDE machines with all the proxying. fly-replay is the unsung hero in this case, that's how we can route the *.phx.run urls to your running dev servers, how we proxy `git push` to phoenix.new to your IDE's git server, and how we frame your app preview within the IDE in a way that works with Safari (cross origin websocket iframes are a no go). We're also doing a b…

Would love to read about some of the techniques for how you accomplished this.

Re: Phoenix.new – Remote AI Runtime for Phoenix

#262
Phoenix needs an ActiveRecord-like database abstraction layer. Many Rails developers try Phoenix at some point because they may need better performance. They’re so accustomed to the Rails structure that they assume Rails has done everything right. However, Ecto and ActiveRecord are two very different beasts. When Rails developers try out Ecto, they often feel there’s too much boilerplate and believe the Rails design is much more intuitive. This, I think, is one reason Phoenix struggles to attract Rails developers. If it can’t please Rails users, it will rarely appeal to others.

Re: Phoenix.new – Remote AI Runtime for Phoenix

#263

Phoenix needs an ActiveRecord-like database abstraction layer. Many Rails developers try Phoenix at some point because they may need better performance. They’re so accustomed to the Rails structure that they assume Rails has done everything right. However, Ecto and ActiveRecord are two very different beasts. When Rails developers try out Ecto, they often feel there’s too much boilerplate and believe the Rails design…

The Ash framework is a data abstraction layer you light want to check out, although I'm not familiar with Rails/ActiveRecord to tell if it's closer to what they're after.

Re: Phoenix.new – Remote AI Runtime for Phoenix

#264

Earlier quoted context omitted.

Read up on the Jevons Paradox

> In economics, the Jevons paradox (/ˈdʒɛvənz/; sometimes Jevons effect) occurs when technological advancements make a resource more efficient to use (thereby reducing the amount needed for a single application); however, as the cost of using the resource drops, if the price is highly elastic, this results in overall demand increasing, causing total resource consumption to rise. Governments have typically expected ef…

> Why would you pay a high salary for a SWE when your business teams can just generate whatever app they need without having to know anything about how it actually works?

It depends on how good the AI is. The advantage of an SWE is that they have a systems thinking mindset, so they can solve some problems more efficiently. With some apps in won't matter, but with others will.

One potential positive outcome is that we will be able to solve more and bigger problems, since our capacity for solving problems has been augmented with AI.

Re: Phoenix.new – Remote AI Runtime for Phoenix

#265

Earlier quoted context omitted.

Indeed, why would an employer pay us a high salary to sit by the pool? The benefits will go to the founders/investors and the customers. They'll benefit greatly from the increased output and lower costs, but the middlemen (SWEs) will be cut out. That's a great thing if you're a founder/investor or a customer, but not if you're the middleman. New opportunities may come around, but I don't think that's inevitable. It r…

It will not be easier for founders/investor either. If couple prompts is all it takes to build your product, your potential customers will write those prompts themselves instead of buying your product.

Some people prefer to pay for others to handle things and take responsibility.

Re: Phoenix.new – Remote AI Runtime for Phoenix

#267

This is very cool! I will say though, my spidey senses kick in when looking at stuff like this, and make me wonder about how much I'm going to get vendored in here. Could I use it develop a site off fly.io? If the answer is no, then I'd say this is cool and I think useful for people who need something quick and simple and out of the box, but not something I would ever use on a serious production project.

The answer is yes. What would you say then? There’s a “clone Git repo” thing in the left side bar, use that to clone the project locally, mix deps.get, mix phx.serve and you’re up. You can deploy this anywhere you want.

If the DB, Auth libraries and such are not tied to fly.io, then yep that's cool. Happy

Re: Phoenix.new – Remote AI Runtime for Phoenix

#268
post #166

Earlier quoted context omitted.

In my experience, Elixir is very much on that end of the spectrum as well. I'm wondering if GGP just considers packages that don't have updates for 6 months as "unmaintained" or "dead" because they come from Javascript world where everything is, well... you know.

Broken and deprecated from inception?

Fragmented, 'not developed here, and 'only I can create the one standard everyone needs'?

Re: Phoenix.new – Remote AI Runtime for Phoenix

#269
post #212

Earlier quoted context omitted.

The Phoenix.new environment includes a headless Chrome browser that our agent knows how to drive. Prompt it to add a front-end feature to your application, and it won’t just sketch the code out and make sure it compiles and lints. It’ll pull the app up itself and poke at the UI, simultaneously looking at the page content, JavaScript state, and server-side logs. Is it possible to get that headless Chrome browser + age…

When Roo Code uses Claude, it does this while developing. It renders in the sidebar and you can watch it navigate around. Incredibly slow, but that’s only a matter of time.

Does it work with VSCode GitHub Copilot LLM provider? They have Claude in there

Re: Phoenix.new – Remote AI Runtime for Phoenix

#270

I am a long time php dev who has been interested in learning elixir/phoenix for a while but never quite motivated enough. I saw this and thought, if this doesn't get me to give it a go, nothing will. Less than 45 minutes after signing up for fly.io, I have a multi-room tic tac toe game deployed. https://tic-tac-toe-cyber.fly.dev/ I had it build the game, opting for a single room at first to see if that worked. Then I…

Did you figure out how much credit was used? I want to try this out, but $20 of credit can go quick doing agentic work
Post reply on HN