Hacker News

Subscribe to Hacker News feed
Hacker News RSS
Updated: 25 min 52 sec ago

Vibe Coding is the Future [video]

Mon, 04/21/2025 - 10:25pm
Categories: Hacker News

Lessons Learned Writing a Book Collaboratively with LLMs

Mon, 04/21/2025 - 10:08pm

(Note: I'm not linking the resulting book. This post focuses solely on the process and practical lessons learned collaborating with LLMs on a large writing project.)

Hey HN, I recently finished a months-long project collaborating intensively with various LLMs (ChatGPT, Claude, Gemini) to write a book about using AI in management. The process became a meta-experiment, revealing practical workflows and pitfalls that felt worth sharing.

This post breaks down the workflow, quirks, and lessons learned.

Getting Started: Used ChatGPT as a sounding board for messy notes. One morning, stuck in traffic, tried voice dictation directly into the chat app. Expected chaos, got usable (if rambling) text. Lesson 1: Capture raw ideas immediately. Use voice/text to get sparks down, then refine. Key for overcoming the blank page.

My Workflow evolved organically: Conversational Brainstorming: "Talk" ideas through with the AI. Ask for analogies, counterarguments, structure. Treat it like an always-available (but weird) partner. Partnership Drafting: Let AI generate first passes when stuck ("Explain X simply for Y"), but treat as raw material needing heavy human editing/fact-checking. Or, write first, have AI polish. Often alternated. Iterative Refinement: The core loop. Paste draft > ask for specific feedback ("Is this logic clear?") -> integrate selectively > repeat. (Lesson 2: Vague prompts = vague results; give granular instructions. Often requires breaking down tasks: logic first, then style). Practice Safe Context Management: LLMs forget (context windows). (Lesson 3: You are the AI's external memory. Constantly re-paste context/style guides; use system prompts. Assume zero persistence across time). Read-Aloud Reviews: Use TTS or read drafts aloud. (Lesson 4: Ears catch awkwardness eyes miss. Crucial for natural flow).

The "AI A-Team": Different models have distinct strengths: ChatGPT: Creative "liberal arts" type; great for analogies/prose, but verbose/flattery-prone. Claude: Analytical "engineer"; excels at logic/accuracy/code, but maybe don't invite for drinks. Gemini: The "copyeditor"; good for large-context consistency. Can push back constructively. (Lessons 5 & 6: Use the right tool for the job; learn strengths via experimentation & use models to check each other. Feeding output between them often revealed flaws - Gemini calling out ChatGPT's tells was useful).

Stuff I Did Not Do Well:

Biggest hurdles:

AI Flattery is Real: Helpfulness optimization means praise for bad work. (Lesson 7: Prompt for critical feedback. 'Critique harshly'. Don't trust praise; human review vital). The "AI Voice" is Pervasive: Understand why it sounds robotic (training bias, RLHF). (Lesson 8: Combat AI-isms. Prompt specific tones; edit out filler/hedging/repetition/'delve'; kill em dashes unless formal). Verification Burden is HUGE: AI hallucinates/facts wrong. (Lesson 9: Assume nothing correct without verification. You are the fact-checker. Non-negotiable despite workload. Ground claims; be careful with nuance/lived experience). Perfectionism is a Trap: AI enables endless iteration. (Lesson 10: Set limits; trust judgment. Know 'good enough'. Don't let AI erode voice. Kill your darlings).

My Personal Role in This fiasco:

Deep AI collaboration elevates the human role to: Manager (goals/context), Arbitrator (evaluating conflicts), Integrator (synthesizing), Quality Control (verification/ethics), and Voice (infusing personality/nuance).

Conclusion: This wasn't push-button magic; it was intensive, iterative partnership needing constant human guidance, judgment, and effort. It accelerated things dramatically and sparked ideas, but final quality depended entirely on active human management.

Key takeaway: Embrace the mess. Capture fast. Iterate hard. Know your tools. Verify everything. Never abdicate your role as the human mind in charge. Would love to hear thoughts on others' experiences.

Comments URL: https://news.ycombinator.com/item?id=43758459

Points: 4

# Comments: 2

Categories: Hacker News

Show HN: I made a dual-arm robot for ninja folding T-shirts

Mon, 04/21/2025 - 10:01pm

In 30 hours, our team of 5 built 2 robot arms and trained them to autonomously fold t-shirts using the ninja folding technique for robothackathon.com, the world's largest hackathon at the time of writing.

We forked LeRobot to operate a bimanual arm setup for 2 SO-ARM100s on a single computer. Then recorded 85 teleoperated folding sessions and trained an Action Chunking Transformer (ACT) on them.

The model learns to fold a shirt by predicting joint configurations based on the camera inputs! The robot gets a working (slightly crumpled) fold about 70% of the time, fails 15% of the time by dropping one of the shirts, and the other 15% of the time by failing to let go of the shirt at the end.

This crazy setup involved 6 power adapters, 5 USB-A and 3 USB-C inputs to power 4 arms and 3 cameras (one on each arm and an overhead webcam). We have 4 arms (2 leader arms and 2 follower arms).

Shoutout to my insane team: Spencer Kee, Advait Patel, Leo Lin, and Anuj Sesha!

Comments URL: https://news.ycombinator.com/item?id=43758427

Points: 1

# Comments: 0

Categories: Hacker News

Show HN: Codebase Knowledge Graph Builder

Mon, 04/21/2025 - 9:56pm

I've been working on tools for 'understanding' software code for a couple years now. I have yet to find a better way to model actual concepts than with knowledge graphs. To that end, I present to you here you a tool to automatically construct a knowledge graph over a codebase, which can serve as the foundation for a wide range of downstream tools. Point it at a codebase, give it your OpenAI API key, and let it go to work. Larger codebases (> 1000 files) will take a while to process - a conservative estimate would be 12 files / minute.

Comments URL: https://news.ycombinator.com/item?id=43758410

Points: 2

# Comments: 0

Categories: Hacker News

Pages