frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

https://github.com/stanNthe5/typescript-autoawait
7•theThree•8mo ago

Comments

bastawhiz•8mo ago
Is this a problem that people actually have?
xeromal•8mo ago
Fun side project man!
primitivesuave•8mo 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•8mo 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•8mo ago
You can still control it by adding "//no-await". In fact, the "//no-await" makes me feel more clear.
nextweek2•8mo 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•8mo ago
It should be noted that there is already a lint rule for this: https://typescript-eslint.io/rules/no-floating-promises/

Nvidia releases 8B model with learned 8x KV cache compression

https://huggingface.co/nvidia/Qwen3-8B-DMS-8x
1•alecco•52s ago•0 comments

Notes on Afghanistan

https://mattlakeman.org/2026/01/05/notes-on-afghanistan/
1•phsource•2m ago•0 comments

Oak-killing beetle reaches Ventura County, significantly expanding range

https://www.latimes.com/environment/story/2026-01-10/it-is-scary-oak-killing-beetle-reaches-ventu...
3•PaulHoule•3m ago•0 comments

Uptime Monitoring

https://github.com/AlertSleep/awesome-uptime-monitoring
1•thepatrykooo•3m ago•0 comments

I built Git for Minecraft for a hackathon and won [video]

https://www.youtube.com/watch?v=ZdM-iNpv3nU
1•radeeyate•4m ago•0 comments

How to stand out in the dead internet

https://letters.thedankoe.com/p/the-death-of-value-based-content
1•saikatsg•4m ago•0 comments

Favicons are broken in Google search results

https://www.google.com/search?q=chatgpt
1•sh_tomer•4m ago•1 comments

Detained MN women help ICE agent having a seizure

https://www.startribune.com/detained-by-ice-two-women-became-first-responders-during-agents-seizu...
6•MaysonL•6m ago•0 comments

What usually happens after a VC asks for a demo?

2•stijo•7m ago•0 comments

Pico: The tiniest coding agent (6 LoC)

https://github.com/barghouthi/pico-swe-agent
2•smokesy•8m ago•0 comments

Claudito: A web interface for Claude Code that interacts with the CLI

https://github.com/comfortablynumb/claudito
2•hepha1979•9m ago•0 comments

Show HN: Polymcp – Turn Any Python Function into an MCP Tool for AI Agents

1•justvugg•9m ago•0 comments

Agent Orchestration for the Timid

https://substack.com/inbox/post/185649875
1•markferree•11m ago•0 comments

ICE has killed another person in Minneapolis

https://www.theverge.com/news/867245/ice-has-killed-another-person-in-minneapolis
24•saubeidl•13m ago•10 comments

StackWarp security vulnerability that exploits a synchronization bug AMD Zen 1–5

https://stackwarpattack.com/
3•_____k•15m ago•0 comments

J.K. Lundblad on X: "Rise of the Reflyable Rocket (Part 1)" / X

https://twitter.com/JK_Lundblad/status/2015034130640306649
2•bilsbie•16m ago•0 comments

JSON-render: LLM-based JSON-to-UI tool

https://json-render.dev/
3•rickcarlino•24m ago•0 comments

James Cameron says he has left the US permanently

https://www.theguardian.com/film/2026/jan/23/james-cameron-left-the-us-permanently-covid-new-zealand
6•belter•25m ago•4 comments

Thousands of scientists inflate their CVs with self-published studies

https://english.elpais.com/science-tech/2026-01-22/thousands-of-scientists-inflate-their-cvs-with...
3•belter•26m ago•1 comments

Open Policy Agent

https://www.openpolicyagent.org/
1•locknitpicker•26m ago•0 comments

The US Is Losing Top Tech Talent to India in the Wake of Trump's H-1B Chaos

https://www.bloomberg.com/news/articles/2026-01-23/us-loses-top-tech-talent-to-india-in-wake-of-h...
9•alephnerd•27m ago•2 comments

The Concatative Language XY

http://www.nsl.com/k/xy/xy.txt
3•ofalkaed•29m ago•1 comments

Show HN: Viahuman – Human In loop Notification system for LLMs

https://viahuman.xyz/
1•pdrojack•32m ago•0 comments

The Coming Second Copernican Revolution

https://www.noemamag.com/the-coming-second-copernican-revolution/
2•andsoitis•33m ago•0 comments

How WhatsApp Scaled to Billions of Users

https://singhajit.com/whatsapp-scaling-secrets/
3•arter45•33m ago•1 comments

BirdyChat becomes first European chat app that is interoperable with WhatsApp

https://www.birdy.chat/blog/first-to-interoperate-with-whatsapp
55•joooscha•33m ago•8 comments

Freedom of the Will and the Concept of a Person

https://www.jstor.org/stable/2024717
2•andsoitis•34m ago•0 comments

Proxima Kósmos, Vol. II: Fictions and Futures

https://berggruen.org/eu/library/proxima-kosmos-volume-2
2•andsoitis•35m ago•0 comments

Microsoft Systems Journal (2024)

https://jacobfilipp.com/msj-index/
1•elvis70•36m ago•0 comments

Trump vs. Carney at Davos: One summit, two visions

https://www.chathamhouse.org/2026/01/trump-vs-carney-davos-one-summit-two-visions-independent-thi...
3•rbanffy•37m ago•1 comments