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•9mo ago

Comments

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

Lots of AI SRE, no AI incident management

https://surfingcomplexity.blog/2026/02/14/lots-of-ai-sre-no-ai-incident-management/
1•zenon_paradox•3m ago•0 comments

Show HN: Analyze Tweets with Sparse Autoencoders

https://gutendemo.vercel.app/
1•nicetomeetyu•4m ago•0 comments

Claude Code on desktop can now preview your running apps

https://twitter.com/claudeai/status/2024937960572104707
1•sibellavia•5m ago•0 comments

Gabriel Knight 3: Blood of the Sacred, Blood of the Damned

https://www.filfre.net/2026/02/gabriel-knight-3-blood-of-the-sacred-blood-of-the-damned/
1•doppp•8m ago•0 comments

AI uBlock Blacklist

https://github.com/alvi-se/ai-ublock-blacklist
1•rdmuser•9m ago•1 comments

Show HN: Using classic dev books to guide AI agents

1•ZLStas•16m ago•0 comments

Using in browser local inference in Production

https://sendcheckit.com/blog/ai-powered-subject-line-alternatives
1•brandonlovesked•16m ago•0 comments

Show HN: DomeAPI (YC F25) was acquired. pmxt is the open-source equivalent

https://github.com/pmxt-dev/pmxt
1•SamTinnerholm•17m ago•0 comments

Builder's Path

https://jeanabayo.substack.com/
1•yeenmotiv•17m ago•0 comments

claude --worktree

https://twitter.com/bcherny/status/2025007393290272904
2•tosh•17m ago•0 comments

Ask HN: What are your favourite personal blogs?

1•max_•34m ago•0 comments

Kung Fu Robo Choreography at Chinese New Year Event [video]

https://www.youtube.com/watch?v=R6T-Ea5CfRE
3•KellyCriterion•44m ago•1 comments

Jetbrains released skills for Claude Code to write modern Go code

https://blog.jetbrains.com/go/2026/02/20/write-modern-go-code-with-junie-and-claude-code/
3•ostaquet•48m ago•1 comments

Hedge fund Saba offers to buy stakes in Blue Owl funds at steep discount

https://www.ft.com/content/b43ab192-01ee-40ca-9580-c701f6f4ee77
2•petethomas•49m ago•0 comments

Looking for technical co-founder to build AI-powered stack migration platform

2•amtkm•50m ago•0 comments

Keeping our GH runners alive with dependabot

https://nubis-pc.eu/blog/gh_runner_updates/
2•_ananos_•53m ago•0 comments

Graphs are maximally expressive for higher-order interactions

https://www.arxiv.org/pdf/2602.16937
2•E-Reverance•57m ago•0 comments

When etcd crashes, check your disks first

https://nubificus.co.uk/blog/etcd/
3•_ananos_•1h ago•0 comments

AoE 2 Build Order as an Eval for LLM's

https://wraitii.github.io/build-order-workbench/aoe2-llm-benchmarks.html
3•liamzebedee•1h ago•0 comments

Show HN: I am collecting all the OpenClaw news so you dont have to

https://www.lobstersauce.news/
3•Tjerkienator•1h ago•0 comments

Acme Weather

https://acmeweather.com/blog/introducing-acme-weather
5•cryptoz•1h ago•0 comments

When satnavs go wrong: Why drivers end up following GPS into danger

https://www.bbc.co.uk/news/articles/cwy6d69evxeo
3•zeristor•1h ago•2 comments

Mortgage Refinance Calculator

https://rubenhak.com/pages/mortgage-calculator/
3•rubenhak•1h ago•2 comments

The K-Shaped Future of Software Engineering

https://www.ian.so/writing/k-shaped-future-software-engineering
4•feyman_r•1h ago•0 comments

Show HN: HN Showcase – I rebuilt my 2011 Show HN gallery with AI curation

https://hnshowcase.com
3•ssong•1h ago•0 comments

Trunk Based Development

https://trunkbaseddevelopment.com/
4•handfuloflight•1h ago•0 comments

I Verified My LinkedIn Identity. Here's What I Handed Over

https://thelocalstack.eu/posts/linkedin-identity-verification-privacy/
5•ColinWright•1h ago•0 comments

Librsvg got its first AI slop pull request

https://viruta.org/librsvg-ai-slop.html
3•rascul•1h ago•0 comments

Show HN: MBC – AI agent orchestration for Laravel

https://github.com/etazza2025/laravel-mbc
2•undergracelabs•1h ago•1 comments

Hard drives sold out for this year – AI to blame

https://www.theregister.com/2026/02/20/ai_blamed_again_as_hard_drives_sell_out/
4•dev_tty01•1h ago•0 comments