New Show Hacker News story: SHOW HN: I built a social profile for vibecoders to share & store their projects

SHOW HN: I built a social profile for vibecoders to share & store their projects
3 by sonOfHades | 1 comments on Hacker News.


New ask Hacker News story: Norrin – Git/ diff control in Claude Code

Norrin – Git/ diff control in Claude Code
3 by gagewoodard | 1 comments on Hacker News.
You can now control diff inline, track files, and reject/ accept as you like in Claude Code. With this new tool you get Cursor-like control over your claude code agents making your code cleaner, you never get lost in changes, and can reduce your PR review time by more than half. https://norrin.dev

New Show Hacker News story: Show HN: Pure Effect – Reproduce production bugs on your laptop without a DB

Show HN: Pure Effect – Reproduce production bugs on your laptop without a DB
2 by tie-in | 0 comments on Hacker News.
Hi HN, I think it's safe to say that the majority of developers don't give a second thought to writing code with I/O tangled in business logic. It's all too common to see code like: const user = findUser(email); if (!user) await saveUser(user); Now, you may ask: what's the big deal? When we write code like this, two things happen: 1. It gets harder to debug production bugs. Unless you have the exact same database and remote API services to connect to, you may fail to reproduce the bug. 2. You have to use mocks and fakes in your tests, or use test containers, which only help somewhat, and they are slow! To solve these issues, I built Pure Effect, a tiny TypeScript/JavaScript effect library. The core idea is simple: if a function performs I/O, it isn't pure. But if it returns a description of the I/O it wants to perform, it is. So instead of await findUser(email), you return a Command object that says, "I would like to call this function, and when it finishes, here's what to do next." Your business logic becomes a pure function. Same input, same output, every time. The database never gets touched until the interpreter (runEffect) runs. When I first started the library, I didn't expect just how far that one idea would stretch. Once your pipelines are just data, a lot of wonderful things become possible: - No need for mocking libraries. You walk the tree in tests and assert on its structure: assert.equal(flow.cmd.name, 'cmdFindUser'). Nothing is executed. - Wrap any effect with Retry(effect, { attempts: 3, delay: 200, backoff: 2 }). The configuration is plain data, so you can assert on it in tests. - Every command's input and output flows through the interpreter, so you get a full execution trace for free. You can write a simple timeTravel() function that replays it locally without touching any I/O. Perfect for debugging complex production bugs. - An onBeforeCommand hook sits between your business logic and the interpreter. Since it sees every intended side effect before it fires, it can be used to enforce runtime guardrails. You can quarantine destructive calls before they happen for example. - You can review AI-generated code before it runs. Since Pure Effect pipelines are plain data, you can inspect what the generated code intends to do before it touches anything. There are just six primitives: Success, Failure, Command, Ask, Retry, and Parallel, plus effectPipe and runEffect. Zero dependencies. Under 1 KB minified and gzipped. How it compares to Effect-TS Effect-TS is the full-featured option in this space and has a large ecosystem. Pure Effect offers a different tradeoff. It covers the 80% case: testable pipelines, dependency injection, retry, and OpenTelemetry hooks, all in under 1 KB with zero dependencies and no new vocabulary to learn. Effect-TS is a framework you build around. Pure Effect, on the other hand, is a pattern you drop into existing code. I've been using Pure Effect in production since December. It's at v0.8.0, not 1.0 yet, but stable enough that I wanted to put it out there and hear what people think. GitHub: https://ift.tt/srbQNdI I wrote five posts that document how Pure Effect evolved. They are tagged at https://ift.tt/0d6lu4H if you want the longer story.

New ask Hacker News story: Ask HN: How should I convert Microsoft Word documents to Markdown?

Ask HN: How should I convert Microsoft Word documents to Markdown?
4 by lkrubner | 3 comments on Hacker News.
I took over a project that was built by an overseas team. They set up a data ingestion process. They have a step in the ingestion where they use Libre Office (in headless mode) to convert Microsoft Word documents to PDFs. Later we convert all PDFs to Markdown. They felt that it was best to convert everything to a PDF, and then convert all of the PDFs to Markdown. What I notice is that LibreOffice can create very complex PDFs when the Microsoft Word document has: 1. tables 2. multiple columns 3. strikethrough text I am thinking we should go straight from Microsoft Word to Markdown. What is the right software for that?

New Show Hacker News story: Show HN: Ember, a native iOS Hacker News reader I built around accessibility

Show HN: Ember, a native iOS Hacker News reader I built around accessibility
82 by sylwester | 17 comments on Hacker News.
I read HN on my phone every day and never really settled on a reader, so I wrote my own and finally tidied it up enough to put out there. It's plain SwiftUI with no third-party dependencies. A few things I spent the most time on: Comments are parsed and drawn as native text instead of being dumped into a web view. Links, italics, quotes and code blocks behave like the rest of the OS, text selection works, and threads collapse instantly. The whole comment tree comes back from the Algolia API in a single request, which felt a lot nicer than walking the Firebase API node by node. Accessibility. Nothing depends on color on its own, so points, read state and selection all carry a shape or an icon too. VoiceOver reads each story as one coherent element with proper actions, Dynamic Type and Reduce Motion are respected, and there's a color-blind mode. The first-run setup actually looks at your device's accessibility settings, switches on the matching options, and tells you what it changed instead of making you hunt for them. Then the usual things you'd expect: Top/New/Best/Ask/Show/Jobs, search, saved stories, read tracking, an in-app reader, light and dark, and a handful of accent colors. It only talks to the public HN APIs, there's no account and nothing is tracked. Source and screenshots are in the repo. I'd most like feedback on the comment rendering and the accessibility choices, since those were the parts I cared about getting right. Happy to answer anything about how it's put together.

New Show Hacker News story: Show HN: LoopFlow – loop engineering for Claude Code

Show HN: LoopFlow – loop engineering for Claude Code
2 by faisalishfaq | 0 comments on Hacker News.


New ask Hacker News story: Ask HN: What is your #1 practical lesson or "aha" moment from coding with AI?

Ask HN: What is your #1 practical lesson or "aha" moment from coding with AI?
2 by johndavid9991 | 1 comments on Hacker News.
As a developer, my own workflow has shifted completely over the last few months, but I feel like I'm still uncovering the best patterns. I'm curious about the specific inflection points where things clicked for others. Was it a shift in how you prompt, a change in your tech stack, or learning when not to trust the output?