Hacker News

Subscribe to Hacker News feed
Hacker News RSS
Updated: 51 min 15 sec ago

Show HN: I just bootstrapped the best feedback tool for SaaS

Sun, 03/30/2025 - 5:33am

Hey HN!

Transform your user's feedback into product success.

This is a sentence I really hear often, but nobody knows what that really means.

So I just bootstrapped Feedback Hunter to help every SaaS owner with this hard task.

I hope you like it, I would really like it if you give me some feedback, guys :)

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

Points: 2

# Comments: 1

Categories: Hacker News

Show HN: I built an AI Agent Navigation site

Sun, 03/30/2025 - 5:31am

Article URL: https://www.agenthunter.io/

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

Points: 1

# Comments: 0

Categories: Hacker News

JD Vance's ominous pitch to Greenland

Sun, 03/30/2025 - 5:11am
Categories: Hacker News

The Great Scrape

Sun, 03/30/2025 - 5:06am
Categories: Hacker News

Tqdm (Python Progress Bar)

Sun, 03/30/2025 - 5:01am

Article URL: https://tqdm.github.io/

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

Points: 1

# Comments: 0

Categories: Hacker News

SaaS Overload? Is this the solution

Sun, 03/30/2025 - 5:01am

Article URL: https://auth.heyjuno.co/chat/kiljcd

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

Points: 1

# Comments: 1

Categories: Hacker News

Show HN: Ts-result – Rust's Result<T, E> type for explicit error handling in TS

Sun, 03/30/2025 - 5:01am

Hey HN,

Like many, I've often found standard error handling in JS/TS (heavy try-catch, ambiguous null returns) a bit cumbersome for representing expected failures explicitly. Inspired by Rust's Result enum (Ok(T) | Err(E)), we built ts-result.

It's a lightweight, focused TypeScript library bringing that pattern over:

Explicit Result return types for functions. Type safety via discriminated unions and type guards (isOk/isErr). Functional composition methods (map, andThen, orElse, etc.) to avoid deep if nesting for success/failure checks. Modern TS practices (strict types, ESM/CJS exports). We were evolving an internal version that started looking like Result anyway, so we decided to build a clean, open-source implementation based on the Rust API.

While there are other libraries (some older, some part of larger FP ecosystems like fp-ts/effect-ts), our goal was a minimal, easy-to-adopt implementation of just the Result pattern itself.

It doesn't magically replicate Rust's ? operator or compiler guarantees, and you still need try-catch at boundaries with exception-throwing code, but we've found it helpful for adding clarity and type-safety to our core logic where specific failure states are expected domain outcomes.

Links:

GitHub (Source/Docs): https://github.com/TrylonAI/ts-result npm (@trylonai/ts-result): https://www.npmjs.com/package/@trylonai/ts-result We wrote a blog post detailing the motivation, our journey from internal tools, design choices, and how it compares to exceptions or larger FP libraries: https://trylonai.github.io/ts-result/ts-result-blog-post.htm...

Would love to hear your thoughts and feedback

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

Points: 1

# Comments: 0

Categories: Hacker News

Ask HN: Code should be stored in a database. Who has tried this?

Sun, 03/30/2025 - 5:00am

To me it seems obvious that code should be stored in a database rather than a hierarchical, text-based format.

The main way we navigate and organize code is by folder hierarchies. Everyone has a different approach: by feature, by module, by file type (template, component, etc.), by environment (backend/frontend).

Rather than folders and file names, everything could just be tagged in different ways.

Who has tried this and what is the best tool for working like this today?

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

Points: 1

# Comments: 0

Categories: Hacker News

Ask HN: AI bot to analyze Earthquake affected buildings

Sun, 03/30/2025 - 4:59am

Myanmar was affected by Magnitude 7.7 earthquake a few days ago and a lot of buildings are affected. There are cracks in the buildings and people need something to identify + analyze the safety level of their houses.

Are there any ai bot which can triage and analyze the buildings' safety level based on the photos?

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

Points: 1

# Comments: 0

Categories: Hacker News

Pages