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

I was kinda watching it unfold on X, I think this user was a couple days before https://x.com/delba_oliveira/status/2020515010985005255?s=46 and simpler/less-invasive instructions

---

Also, I'd love to use these sound effects, but I am an rts player and love aoe and wc franchise, these noises just trigger me to want to play too much.

---

Also, also, if you haven't seen AgentCraft, you are missing out -> https://x.com/idosal1/status/2021661861163544818 (worked in one npx command for me using my claude, a+ for creativity and smoothness)


Agentcraft is exactly what I was thinking about when I saw this

I’m interested in this space my thoughts so far;

The idea of representing UI as state goes back forever, I’m not that old but at least in the advent of the web, plenty of JSON -> UI specs or libraries have came into existence. If the specification is solid and a large portion of people agree upon it, I don’t doubt it will take over what we think of UI. (current contenders are json_render, a2ui etc)

The first benefit being that if I can describe my entire UI and the actions each component wants as json, theoretically, I can pass that file to any client to render be it mobile, react, a java swing app etc The responsibility of rendering becomes of anyone who wants to do it.

UI JSON -> UI Framework <- Design Tokens

Above is a simple way of describing how it would generally work. Where the UI framework can be whatever it wants to be as long as it knows how to connect up the UI JSON in a meaningful way.

Now for existing apps and their respective UI’s it’s never made all that much sense to describe how your components behavior in state, useful for some, and many have done it, but a hard pitch for others.

In the agentic era, the pitch is a lot more appealing.

- LLM’s are great-enough at writing JSON

- A lot of people are sharing the sentiment that they can just vibe code small apps for themselves. Hinting at they love the actual ability for full personalization.

Though having the user generate HTML and the rest all the time by LLM’s is more error prone, slow and costly.

The user can just ask an LLM to compose a composition of components in JSON laid out how they want and connected to the API’s they care about. (that can be rendered anywhere)

Personally, if I had a catalogue of 100 distinct services/API's, and I could ask an LLM to generate a UI in JSON that I can copy and paste anywhere to render it, I would be in heaven.

If I had subscriptions to services that; (fake services)

- EMAILR: Sent Emails

- BOOKLAND: Explore books

- DEEP_RESEARCHER: Researches Topic

I could ask an LLM to "With my services, EMAILR, BOOKLAND and DEEP_RESEARCHER and their attached tools.

Can you generate me a dashboard that lists out the top 20 BOOKLAND books, below each one added a button that posts the book title to DEEP_RESEARCHER when I click it. Also add a button below each book that uses EMAILR to email me them"

It would then return something like;

  {
  "view": "dashboard",
  "title": "Book Research Hub",
  "children": [
    {
      "type": "grid",
      "columns": 4,
      "source": { "service": "BOOKLAND", "action": "list", "params": { "limit": 20, "sort": "top" } },
      "each": {
        "type": "card",
        "children": [
          { "type": "text", "bind": "$.title", "variant": "heading" },
          { "type": "text", "bind": "$.author", "variant": "muted" },
          { "type": "image", "bind": "$.cover_url" },
          {
            "type": "button",
            "label": "Deep Research",
            "variant": "primary",
            "action": { "service": "DEEP_RESEARCHER", "method": "research", "params": { "topic": "$.title" } }
          },
          {
            "type": "button",
            "label": "Email me this",
            "variant": "secondary",
            "action": { "service": "EMAILR", "method": "send", "params": { "to": "$user.email", "subject": "Book: $.title", "body": "Check out $.title by $.author" } }
          }
        ]
      }
    }
  ]
}

Users could share their layouts and what they like and you could end up with a market place or sane defaults for those who don't want to bother with describing what they want. No longer do you have to rely on the UX team of the service for it to be laid out how you want.

There is a metric tonne of work that has to be done to make a specification that can handle more complex things. But I'd bet a lot of users will learn to love and appreciate that the 5% of features they care about they can finally just actually place how they want it to across all their disparate apps.


If it's mostly static, just cache it at the http level e.g. cloudflare which I believe wouldn't even charge for 450m requests on the $20 plan at least

Someone needs to make an mcp server for my claude so it can check if services are down, it goes stir crazy when github is down and adds heaps of work around code =D

+1 and also add a feature for unique words to show how you vocab ranks


> unique words to show how you vocab ranks

I think writing well with plain language would be a better indicator of worthwhile contributions than estoeric jargon that only serves to confuse or intimate. That would be a lot more difficult to measure though, the number of fancy words per post probably is a lot easier to vibe code.


Yes I agree with this 100%

One of the things in future I wish to personally learn is how to write concisely. My posts are large and scattered.

To me, the beauty was in the depth/content in Hackernews. I still remember the day when HN clicked to me when I was in metro. A comment clicked with me and really changed my perspective on something. It was fairly long from what I can tell (I am sorry but I am a little hazy other than I was going/returning to school and I was using hackernews)

HN comments are great the way they are. Let's keep it that way.

> That would be a lot more difficult to measure though, the number of fancy words per post probably is a lot easier to vibe code.

Agreed, I use it for prototyping but I am still learning. I hope to not vibe code as I progress and go to college for example. Currently I was constrained because I was (sad?) from my last exam not going so well & the next one being in 8 days ish.

Wish me luck :)

The only reason I vibe code is either for prototyping (for time constraints) and I just wanted to share it to the world.

I have actually written a lot about it. I hope you can read it if you have time [all comments are and will always be written by me] :)

Have a nice day! I am just happy that it can be on front page :]


intimidate

;)


Yes, that is a typo!


You get double points for that one


Please don't start subtracting for em-dashes though. ;-)


It will be skewed due to all the jargon, slang and grammar errors.


But if it is equally skewed for everyone, does it really matter?


It probably doesn't have a large enough effect to matter, but I would expect that it would negatively impact the people you're trying to positively impact by using this metric. If you're careful with your words, a better typist, refrain from slang, reread your posts multiple times, edit out typos or inconsistencies or rambling thoughts, this type of vocabulary ranking would "hurt" you. But if you do that you're also probably the type of person to write longer more well thought out comments. So it's probably a wash to slightly "achieving the opposite of what you want but not really enough that you'd notice it" if I had to guess.


I keep trying to use Codex CLI but I love using claude --dangerously-skip-permissions but this seems impossible to do in codex, and it just asks me to approve every command per session. Am I taking crazy pills or is there a way to make codex just run in yolo mode?


--yolo

could find in --help


I'm working on tpmjs.com the npm registry for ai tools (just the vercel ai sdk flavor atm)

which lets users create collections of any publicly available tool which let's us do awesome things

We can auto generate a skills.md for collections https://tpmjs.com/ajax/collections/unsandbox/skills.md (https://tpmjs.com/ajax/collections/unsandbox to see the collection)

We analyze all the tools source code to write the skills.md using LLM's and then we auto inject three different ways agents can iteract with them

- hosted mcp servers for collections automatically e.g. https://tpmjs.com/api/mcp/ajax/unsandbox/sse

- a cli tool that can invoke each tool in the collection e.g. tpm run --collection ajax/unsandbox --tool [tool-name] --args '{"key": "value"}'

- restful endpoints for direct execution of tools e.g. curl -X POST https://tpmjs.com/api/mcp/ajax/unsandbox/http

It's very much alpha, but after building this, I don't see why you can't let agents choose any method they want of interacting with your service.

It means your agents can use CLI, MCP or REST, only in one style or any style all at once.


Please make a rest API!


Agreed. I've worked in startups most of my career, I've messaged CEO's, CEO's have been messaged, never a negative experience and higher quality candidates in my opinion.

Side note: You gotta hustle people!


I've been slowly working on https://blocksai.dev/ which is a framework for building feedback loops for agentic coding purposes. It just exposes a CLI that can run custom validators against anything with a spec in the middle. It's goal being like the blog post is to make sure their is always a feedback loop for the agent, be it programmatic test, semantic linting, visual outputs, anything!


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

Search: