frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Release PiClaw v2.3.0 – Tirion upon Túna · rcarmo/piclaw

https://github.com/rcarmo/piclaw/releases/tag/v2.3.0
1•rcarmo•2m ago•0 comments

CEOs want tariff refunds as earnings take a hit

https://www.cnbc.com/2026/05/06/tariff-refunds-earnings-hit-pandora-philips.html
1•tcp_handshaker•3m ago•0 comments

The AI fitness instructors selling unreal gains

https://www.bbc.com/sport/articles/c5ye7dnxv86o
1•reconnecting•4m ago•0 comments

Show HN: wfb-link, a userspace WiFiBroadcast radio stack for macOS

https://github.com/arc-edge/wfb-link/
2•mhamann•5m ago•1 comments

Show HN: Describe what makes a photo "bad" and let a local LLM flag them

https://github.com/iamnotagentleman/bad-photos-out
1•velieroglu•6m ago•0 comments

Using Clerk for Advent of Code (2023)

https://www.juxt.pro/blog/using-clerk-for-aoc/
1•tosh•6m ago•0 comments

DigitalOcean AI-Native Cloud for Production AI Workloads

https://www.digitalocean.com/blog/introducing-digitalocean-ai-native-cloud
1•ulrischa•8m ago•0 comments

AI at Discount

https://tomtunguz.com/ai-at-discount/
1•koolhead17•9m ago•0 comments

Show HN: I built a platform for experimenting with attention arbitrage

https://readyfaucet.com/
1•Odeh13•9m ago•0 comments

AI Slop Is Killing Online Communities

https://rmoff.net/2026/05/06/ai-slop-is-killing-online-communities/
5•thm•9m ago•0 comments

Having a religious affiliation doesn't prevent betting on sports

https://phys.org/news/2026-04-religious-affiliation-doesnt-sports.html
1•PaulHoule•10m ago•0 comments

The science of changing political beliefs

https://ozeanmedia.com/research/how-to-actually-change-political-beliefs-brain-shocks-and-friend-...
2•alexpatton•11m ago•0 comments

As U.S. Debt Hits a Worrying Milestone, Washington Barely Notices

https://www.nytimes.com/2026/05/07/business/us-debt-trump-policies-budget.html
2•tcp_handshaker•12m ago•0 comments

Show HN: A local-only image filter editor and batch processor in the browser

https://kaliedarik.github.io/sc-filter-builder/
1•rikroots•12m ago•0 comments

Ask HN: What is your go-to solution for a personal wiki in 2026?

3•ex-aws-dude•13m ago•2 comments

The Zen of Peter Frampton

https://www.nytimes.com/2026/05/04/arts/music/peter-frampton-carry-the-light.html
1•paulpauper•13m ago•0 comments

Incentives Drive Everything

https://yusufaytas.com/incentives-drive-everything
7•goonergoose•13m ago•0 comments

U.S. intelligence says Iran can outlast Trump's Hormuz blockade for months

https://www.washingtonpost.com/national-security/2026/05/07/cia-intelligence-iran-trump-blockade-...
6•tcp_handshaker•14m ago•0 comments

A per-prompt memory layer for Claude Code (26% Improvement in Task Completion)

https://github.com/Fergtic/chronicle-write-up/blob/main/Chronicle_Write_Up.pdf
1•ferguswhite•14m ago•0 comments

Show HN: Real-time world model demo

https://www.reactor.inc/
1•ahmedahres•14m ago•0 comments

Consumer Confidence Diverging for Low- and High-Income Households

https://www.apollo.com/wealth/the-daily-spark/consumer-confidence-diverging-for-low--and-high-inc...
2•akyuu•16m ago•0 comments

Brain-eating amoeba detected in western national park waters

https://www.sfgate.com/national-parks/article/brain-eating-amoeba-parks-22245464.php
2•amichail•17m ago•1 comments

Before Leviathan Wakes

https://www.hyperdimensional.co/p/before-leviathan-wakes
2•paulpauper•17m ago•0 comments

Mojo Language

https://mojolang.org/
2•melodyogonna•18m ago•0 comments

I rebuilt Voicy with agents instead of rewriting it myself

https://blog.borodutch.com/i-rebuilt-voicy-with-agents-instead-of-rewriting-it-myself/
1•borodutch•20m ago•0 comments

School shootings are declining quite a bit

https://twitter.com/cremieuxrecueil/status/2051795948410372245
2•paulpauper•20m ago•0 comments

CERN's KiCad component library now open source

https://home.cern/cerns-kicad-component-library-now-open-source/
3•Betelgeux•22m ago•0 comments

Finite Functional Programming

https://arxiv.org/abs/2604.26161
1•matt_d•24m ago•0 comments

What Is the Model Context Protocol (MCP)?

https://modelcontextprotocol.io/docs/getting-started/intro
2•doener•24m ago•0 comments

I Spent Half a Day Fixing a WordPress Charset Problem

https://kgolubic.com/posts/fixing-a-wordpress-charset-problem/
1•kgolubic•24m ago•0 comments
Open in hackernews

Automatically add missing "async/await" keywords to your TypeScript code

https://github.com/stanNthe5/typescript-autoawait
7•theThree•1y ago

Comments

bastawhiz•1y ago
Is this a problem that people actually have?
xeromal•1y ago
Fun side project man!
primitivesuave•1y ago
I took a peek at the implementation - I think this only works for a case where the typing explicitly contains the string "Promise". For example, I don't think it would work if I use `SomeInterface["some_promise_key"]` or might incorrectly add an async if I use `Awaited<Promise<...>>`.

I think what you're trying to build might be best served by Typescript's VFS - https://www.npmjs.com/package/@typescript/vfs. You can load the local files into an in-memory type system, and quickly extract async/await hints that might be more useful for a typical TS developer. I think there's a lot of really interesting static analysis you could do to improve async/await safety, as it certainly leads to issues from time to time.

joshstrange•1y ago
I do not want to be mean but I think you'd be much better served with ESLint rules to yell at you when you don't await when you should or do when you shouldn't.

This should _not_ be an automatic operation since it can change behavior in ways that will be unclear to the developer (completely undoing any gain from them being added automatically).

theThree•1y ago
You can still control it by adding "//no-await". In fact, the "//no-await" makes me feel more clear.
nextweek2•1y ago
I created a ticket, using comments is not necessary because there is already the `void` syntax for when you don't want to wait:

https://github.com/stanNthe5/typescript-autoawait/issues/1

nextweek2•1y ago
It should be noted that there is already a lint rule for this: https://typescript-eslint.io/rules/no-floating-promises/