Feed aggregator
Tqdm (Python Progress Bar)
Article URL: https://tqdm.github.io/
Comments URL: https://news.ycombinator.com/item?id=43522611
Points: 1
# Comments: 0
SaaS Overload? Is this the solution
Article URL: https://auth.heyjuno.co/chat/kiljcd
Comments URL: https://news.ycombinator.com/item?id=43522609
Points: 1
# Comments: 1
Show HN: Ts-result – Rust's Result<T, E> type for explicit error handling in TS
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
Built an Open Source Website Blocker After Distractions Stole My Workday
Article URL: https://www.ashdeck.com/
Comments URL: https://news.ycombinator.com/item?id=43522605
Points: 3
# Comments: 1
Ask HN: Code should be stored in a database. Who has tried this?
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
Show HN: I made shopping AI chatbot from backend server of 289 API functions
Article URL: https://github.com/samchon/shopping-backend
Comments URL: https://news.ycombinator.com/item?id=43522600
Points: 2
# Comments: 0
Ask HN: AI bot to analyze Earthquake affected buildings
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
Show HN: Xian – A Python-native blockchain smart contract platform
Article URL: https://xian.org
Comments URL: https://news.ycombinator.com/item?id=43522585
Points: 1
# Comments: 0
Final Report on the Mochizuki-Scholze-Stix Controversy [pdf]
Article URL: https://math.arizona.edu/~kirti/Final-Mochizuki-Scholze-Stix-Controversy.pdf
Comments URL: https://news.ycombinator.com/item?id=43522584
Points: 1
# Comments: 0
Keep calm and panic: performance of errors in Golang
Article URL: https://www.dolthub.com/blog/2023-04-14-keep-calm-and-panic/
Comments URL: https://news.ycombinator.com/item?id=43522504
Points: 1
# Comments: 0
Show HN: BracketFast – A Fast and Simple Tournament Bracket Generator
I built BracketFast, a simple and fast tournament bracket generator. It supports single elimination, double elimination, and round-robin formats. No login required—just create, customize, and share your brackets instantly.
Comments URL: https://news.ycombinator.com/item?id=43522502
Points: 1
# Comments: 0
Looking Backward: 2000–1887
Article URL: https://en.wikipedia.org/wiki/Looking_Backward
Comments URL: https://news.ycombinator.com/item?id=43522459
Points: 1
# Comments: 0
Raising Kids to Have an Analogue Childhood in a Digital World
Article URL: https://www.joshuakennon.com/raising-kids-to-have-an-analogue-childhood-in-a-digital-world/
Comments URL: https://news.ycombinator.com/item?id=43522400
Points: 1
# Comments: 0
Image Feedback Loops, Creating Galaxies – HD Video Feedback Fractal Device
Article URL: https://www.youtube.com/watch?v=D3eHKI0nvKA
Comments URL: https://news.ycombinator.com/item?id=43522396
Points: 1
# Comments: 0
The JPMC/Quantinuum certified quantum randomness demo
Article URL: https://scottaaronson.blog/?p=8746
Comments URL: https://news.ycombinator.com/item?id=43522382
Points: 1
# Comments: 0
Four Lectures on Standard ML (1989) [pdf]
Article URL: https://www.cs.tufts.edu/~nr/cs257/archive/mads-tofte/four-lectures.pdf
Comments URL: https://news.ycombinator.com/item?id=43522363
Points: 4
# Comments: 0
My Day Inside America's Most Hated Car
Article URL: https://www.theatlantic.com/technology/archive/2025/03/cybertruck-washington-dc/682232/
Comments URL: https://news.ycombinator.com/item?id=43522332
Points: 2
# Comments: 1
Programming Language for the End of the World
Endor: WASM-Based Servers in the Browser
Article URL: https://thenewstack.io/endor-webassembly-based-server-in-the-browser/
Comments URL: https://news.ycombinator.com/item?id=43522318
Points: 5
# Comments: 1