Hacker News

New stories

Live mirror
30 storiesupdated just nowView source snapshot
  1. 42x faster prompt lookup drafting in llama.cpp (jadidbourbaki.github.io)
    —discuss
  2. The Case for Learning in the Era of AI (jonbehnken.substack.com)
    1comments
  3. Show HN: Way to divide parameter space in LLM training (zenodo.org)
    —discuss
  4. OpenAI: Self-replicating prompt injections exist (alignment.openai.com)
    —discuss
  5. Just Ask Jev: Reinforcement Learning for Calibrated Decisions (arxiv.org)
    —discuss
  6. Redium: A small and declarative JavaScript-based UI library (github.com/rolandbrake)
    —discuss
  7. PHP 4.1.1 Simulator: A jsfiddle-style edit-run page for 2001 era PHP (infinitefun.com)
    —discuss
  8. Finding All Solutions to LinkedIn-Queens Puzzle (wyounas.github.io)
    —discuss
  9. AI Replacing Me? Please Do (medium.com/azolf)
    —discuss
  10. Show HN: Grabbit – agent-first screenshot API (MCP and one-line CLI) (grabbit.live)
    —discuss
  11. What will AI do to our jobs and our wages? [video] (youtube.com)
    —discuss
  12. The Beatles have permeated research papers across academic disciplines (phys.org)
    —discuss
  13. Show HN: Pawl – iOS gambling blocker you unlock with a physical Security Key (github.com/jasonepage)
    2comments
  14. ChatGPT has a data synchronisation bug that can easily cause data loss (emil.fi)
    1comments
  15. Don't Solve My Sudoku (ubavic.rs)
    —discuss
  16. AI models have caught up with Unity dev (reddit.com)
    —discuss
  17. Mechanistic reasoning in biology among elementary school children (tandfonline.com)
    —discuss
  18. David Letterman meets Manny the Hippie in Haight-Ashbury (1996) [video] (youtube.com)
    —discuss
  19. Handwritten Notes for Friends and Machines (ifup.org)
    —discuss
  20. AI Exec: We May Have Pulled Off "The Largest Theft of Labor in Human History" (motherjones.com)
    —discuss
  21. Ask HN: Did you not get the warnings about building thinking machines in Dune?
    1comments
  22. Video CDs Break Windows Explorer (clydesnotes.blogspot.com)
    —discuss
  23. Stock Buybacks and Quarterly Thinking: How America Fell Behind in Battery Tech (ineteconomics.org)
    —discuss
  24. Show HN: CaughtShipping – curfew app for developers, enforced by a public wall (caughtshipping.com)
    —discuss
  25. Who is going to teach the junior developers? (luap.info)
    3comments
  26. Seed Game (seed.game)
    —discuss
  27. Show HN: Shielded Bitcoin – private payments on Bitcoin, proven in the browser (bitcoin.pe)
    —discuss
  28. Schools for the poor are not poor schools (economist.com)
    —discuss
  29. My brother's new high rise apartment doesn't allow individual internet services (reddit.com)
    1comments
  30. Show HN: Billed – a one-time-purchase invoicing app (no subscription) (apps.microsoft.com)
    —discuss

Drawgent: Coding agent on a live Excalidraw canvas

54 pointsby 4h agotangled.org
17 comments
2h agoHN ↗

I've had a fairly thorough exploration of how I can give my agent a whiteboard so we can work on architectures together. To my surprise, current solutions (including Excalidraw) were not good enough and didn't deliver what I wanted. I ended up finding Mermaid to be the most agent-friendly medium and coded an Obsidian plugin for it. It works okay; we can work on the same doc while I bring my own AI agent, and we can brainstorm together. https://community.obsidian.md/plugins/mermaid-relay

56m agoHN ↗

Did you play with TLDraw at all? I’ve had some success with it but haven’t been using it for that particular use case.

2h agoHN ↗

YMMV, but the value I get from producing a diagram is derived from the thinking. Thinking about what I'm trying to draw leads to understanding about where my/my team's knowledge is poorer, what assumptions we're making, etc.

2h agoHN ↗

I don't remember who said it, but someone mentioned that mathematics papers don't read well because the models don't know which parts to emphasize and which parts to gloss over. I would imagine similar tendencies here.

2h agoHN ↗

Yeah I tend to make my diagrams either as I go, as exploration, or after I'm done figuring things out as a summarizing artifact (and agents are great at using Mermaid to do that second one).

2h agoHN ↗

Posted this somewhere else aswell but I've had good success with https://whiteboard-mcp.com - it seems to work better than other free alternatives for things like architecture diagram creation

2h agoHN ↗

tldraw has a lot of programmatic access I have not compared it to excalidraw but there is still no equivalence between the model capabilities to build amazingly detailed infographics and diagraming tool use which is a gap I hope will narrow

2h agoHN ↗

I’ve been trying to find the best practice to connect a person’s existing ChatGPT/Codex / Claude accounts so they can be used in an app for the agent in the app.

Any advice? Everything seems clunky, even the best MCP efforts

1h agoHN ↗

best approach is to create an webapp that uses WebMCP and then use ChatGPT Desktop. you open the app using it and it and it can use all the tools. Then you implement navigation in the tools and you will see ChatGPT using your app pairing with you.

1h agoHN ↗

MCP is the answer but it's only really worth it if you product is reasonably complex e.g. n8n has a community MCP fully for this reason.

1h agoHN ↗

What frustrates me about many projects is it's never been easier to just make a quick video or image or gif and put it in the README to show what the value is. This was at least somewhat complex before AI but now you can just paste an image and have the AI put it in your README.

I guess the frustrating bit is that the readme is 100s of lines long. AI is already saving you so much time on a project like this but you still make me clone and spin it up if i want to see it for real.

I get that open source is a gift and you’re not obliged to do anything I say but please consider taking the extra few minutes on your next project.

1h agoHN ↗

To that end, I've found it super easy to tell $LLM to make me a video showcasing the main features of whatever I'm building, have it write subtitles and give it a voice over. Obviously for a README a simple gif with burned in subtitles/annotations would be more useful.

Especially if the project is web-based it can just spin up playwright and record its actions.

1h agoHN ↗

Wow, I just can't agree with this take at all. The README is only 161 lines (very short for a git repo README!) and took me about 15 seconds to skim and decide whether or not it was interesting enough to keep the tab open.

Most of the project pages I have seen with videos either animate things at hyper-speed, meaning you can't actually follow is what happening, or drag on for minutes just to communicate something that I could have read in seconds. My time is more valuable than that.

Images are cool, however. We should do more of those.

1h agoHN ↗

This is crazy. My claude chess stuff is (edit: was) currently near yours on the front page and noticed your post. I have a project very close than yours that I hesitated to share. From a quick glance, we went for a similar approach. I just open sourced it so that you can compare implementation notes. https://github.com/brumar/whiteboard-agents . It's not thoroughly tested but can be interesting to check.