frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Being a Dad

https://www.derekthompson.org/p/three-reasons-to-be-a-parent
1•Curiositry•5m ago•1 comments

AI Erodes a Legacy of Reading

https://molochinations.substack.com/p/ai-erodes-a-legacy-of-reading
2•domhudson•5m ago•0 comments

The Permission Slip

https://www.cringely.com/2026/05/28/the-permission-slip/
1•B1FF_PSUVM•15m ago•0 comments

Iterating Faster with TypeScript 7

https://code.visualstudio.com/blogs/2026/06/26/iterating-faster-with-ts-7
2•soheilpro•15m ago•0 comments

Show HN: Boot a tiny app-making OS inside an AI chat

https://hollingsworthd.github.io/RAu/
1•logn•16m ago•0 comments

The Impacts of Unauthorized Immigration on U.S. Labor and Housing Markets

https://www.dallasfed.org/research/papers/2026/wp2607
1•nradov•31m ago•1 comments

Enterprise AI customers pulling back from OpenAI and Anthropic as costs mount

https://qz.com/enterprise-ai-spending-openai-anthropic-roi-pullback-062626
2•toomuchtodo•35m ago•4 comments

Compiler Education Deserves a Revolution

https://thunderseethe.dev/posts/compiler-education-deserves-a-revoluation/
1•azhenley•36m ago•0 comments

I Co-Founded Wikipedia. Now I'm Banned for Life

https://www.thefp.com/p/larry-sanger-wikipedia-co-founder-banned
9•bko•36m ago•3 comments

Show HN: Tested – AI Tools Scored by a Panel of LLMs (Claude, GPT, Gemini, Grok)

https://trytested.com
1•pro_methe5•38m ago•0 comments

What's the value of the Biblical half shekel?

https://www.chabad.org/library/article_cdo/aid/673063/jewish/Whats-the-value-of-the-biblical-half...
1•teleforce•39m ago•0 comments

Show HN: GetBlocked – a local-only Chrome extension for blocking web trackers

https://github.com/alex-w-developer/GetBlocked/
6•sudo_cowsay•43m ago•3 comments

Indus civilisation reveals its volumetric system

https://www.thehindu.com/news/national/Indus-civilisation-reveals-its-volumetric-system/article16...
1•teleforce•45m ago•0 comments

Evolving the Node.js Release Schedule

https://nodejs.org/en/blog/announcements/evolving-the-nodejs-release-schedule
1•thunderbong•46m ago•0 comments

Greatgramps: A static site generator for GRAMPS family trees

https://bennuttall.com/blog/2026/06/greatgramps/
1•benn_88•48m ago•0 comments

Join .agent – Pre-Register Your Domain Free

https://agentcommunity.org/join
2•Anon84•55m ago•1 comments

The State of the AI Economy

https://intelligence.exponentialview.co/
2•marc__1•55m ago•0 comments

How a Star Wars Lego Dispute Triggered an Armed Police Raid in Utah

https://www.wsj.com/us-news/how-a-star-wars-lego-dispute-triggered-an-armed-police-raid-in-utah-c...
1•fortran77•55m ago•1 comments

Building While Becoming

https://pushapaula.substack.com/
2•paulawp•57m ago•0 comments

The Supreme Court's Era of Meaningless Rights

https://www.theatlantic.com/ideas/2026/06/supreme-court-decisions-unenforceable-rights/687713/
1•paulpauper•59m ago•0 comments

Show HN: I scanned 87 MCP servers for agent-authority hygiene – leaderboard

https://capframe.ai/leaderboard
1•euan21•1h ago•2 comments

Show HN: Hacker News on a Train Station Style Flip Board

https://popflame.quickish.space/hn-flipboard/
2•PaybackTony•1h ago•1 comments

The Duck Is Growing

https://gemenergyanalytics.substack.com/p/the-duck-is-growing
1•paulpauper•1h ago•1 comments

The State of the AI Economy

https://www.exponentialview.co/p/the-state-of-the-ai-economy
1•paulpauper•1h ago•0 comments

The formation of human populations in South and Central Asia

https://www.science.org/doi/10.1126/science.aat7487
1•teleforce•1h ago•0 comments

Show HN: Hatchr – Share Claude Designs with a public link

https://www.hatchr.link/
1•othmanosx•1h ago•0 comments

Show HN: Noise Lang, JIT stochastic programming language in Rust

https://noiselang.com/
1•manucorporat•1h ago•0 comments

PrismLib – semantic LLM cache and cluster mesh that cuts token spend

https://github.com/insightitsGit/prismlib
2•insightits•1h ago•0 comments

Economists have pushed for prediction markets. They're not what they'd hoped for

https://www.cnn.com/2026/06/21/business/prediction-markets-economists
2•JumpinJack_Cash•1h ago•1 comments

Routing for serverless servers with Pingora, Envoy, and Spanner

https://modal.com/blog/serverless-servers
2•birdculture•1h 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/