frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Human in the Loop (A Short Story)

https://github.com/dvelton/human-in-the-loop
1•deevelton•4m ago•0 comments

Highest paid world leader to get salary increase of $1M

https://www.bbc.com/news/articles/c5y5kn143d1o
2•teleforce•7m ago•0 comments

Space Force Uniform Is Inspired by Quasi-Satirical Film 'Starship Troopers'

https://deadline.com/2026/09/space-force-uniform-starship-troopers-1237070485/
3•alex_young•10m ago•3 comments

ex-OpenAI Researcher Quits Anthropic over AI Safety Fears

https://www.wsj.com/tech/ai/anthropic-researcher-quits-over-out-of-control-ai-fears-707b7628
2•paaloeye•11m ago•1 comments

NPM Status – Intermittent Failures Impacting NPM Publish

https://status.npmjs.org/incidents/b6958bgj1sm3
1•kyisaiah47•13m ago•0 comments

Zero-Copy KV-Cache Migration Protocol (81.6ms Latency)

https://github.com/DOMINICALI1/kv-cache-migrator
1•domincali•13m ago•0 comments

AI Responsibility – OpenAI and Anthropic

https://twitter.com/hilbertspaess/status/2097476196791709843
2•getatme32•14m ago•0 comments

Show HN: Merchant Outcome – Source-first catalog QA, charged per qualified row

https://merchant.ainetcafe.com/
1•ainetcafe•15m ago•0 comments

Swap, memory pressure and the Go GC

https://frn.sh/swap/
1•shellpipe•17m ago•0 comments

Appointing AIs to manage bitter political divisions

https://spakhm.com/projects/assembly.html
1•mellosouls•18m ago•0 comments

'Artificial' Teaser Trailer

https://youtube.com/rDZplZFnbOk
1•maxutility•18m ago•0 comments

Erik Schmidt on tech innovation in the Ukraine War

https://www.youtube.com/watch?v=ZNtevnJe_8k
1•mudil•19m ago•0 comments

Show HN: MCP server for job listings, startups and funding rounds

https://www.employbl.com/docs
1•connor11528•20m ago•0 comments

Ask HN: Is ageism in tech still a problem in 2026?

1•leonagano•26m ago•0 comments

Machines that think, Part 3: embodied intelligence

https://janbosch.com/machines-that-think-embodied-intelligence/
1•gmays•27m ago•0 comments

AI: Lot of "Hideous" Code but Found Bottlenecks for Faster Linux Compilation

https://www.phoronix.com/news/AI-To-Faster-Linux-Kernel-Comp
1•doener•32m ago•0 comments

27.5KB language-agnostic WebGPU syntax highlighter

https://gpu-lexer.vercel.app/
2•bpierre•32m ago•0 comments

US to ban Canadian dairy, alcohol, motor vehicle imports on September 29

https://www.reuters.com/business/us-ban-canadian-dairy-alcohol-motor-vehicle-imports-september-29...
9•JumpCrisscross•33m ago•3 comments

The spy who betrayed his country for 'Viagra'

https://www.the-independent.com/arts-entertainment/books/ben-macintyre-kgb-spy-redwood-sexual-dys...
1•pseudolus•34m ago•0 comments

China's used EV crisis: Why dealers reject 5-year-old electric cars

https://restofworld.org/2026/china-used-ev-depreciation-five-year-battery-warranty-dealers/
2•rdmuser•36m ago•1 comments

WHO validates Bhutan for eliminating dog-transmitted human rabies

https://www.who.int/news/item/04-09-2026-who-validates-bhutan-for-eliminating-dog-transmitted-hum...
2•thunderbong•44m ago•0 comments

Continual Harness: Online Adaptation for Self-Improving Foundation Agents

https://arxiv.org/abs/2605.09998
2•wslh•47m ago•1 comments

Show HN: Full feature ECS game engine for TypeScript

https://github.com/oasys-works/oecs
1•2khan•47m ago•0 comments

'Star Trek' Endures for the Next Generation, and the Next, and the Next

https://www.nytimes.com/2026/09/08/crosswords/intergenerational-star-trek-fandom.html
2•otoolep•51m ago•0 comments

Explain this to me like im 5 years old

https://laymans.vercel.app
1•wwolfson97•56m ago•0 comments

Client-side developer security tools that run with zero telemetry

https://envforge.aventinelabs.com
2•markbgilbert•57m ago•0 comments

Orionx Shutdown Raises Fresh Questions on Trust, Custody and Crypto Risk

https://predx-article.fika.bar/orionx-shutdown-raises-fresh-questions-about-trust-custody-01M1ZAE...
1•joeymabia1•1h ago•0 comments

Codex silently begs agents to make arbitrary web requests

https://spader.zone/wtf/
4•dboon•1h ago•0 comments

Cerebras's Laser Focus on Latency and Throughput

https://www.whatrunsai.com/research/cerebras
1•hmichaelson24•1h ago•1 comments

Wrangling blockchain RPC nodes, for dummies: Introducing Lasso

https://lasso.sh/
1•jaxernst•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/