frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Battle Isle 2 via spec

https://aidistillery.dev/notes/bi2/intro/
1•muro•3m ago•0 comments

Astronomers say they've discovered the first green star

https://www.cnn.com/2026/10/16/science/green-star-discovery-scli-intl
1•A_D_E_P_T•4m ago•0 comments

KDE Plasma 6.8 – 30th Anniversary Edition

https://kde.org/announcements/plasma/6/6.8.0/
1•movd128•5m ago•0 comments

OpenCode Hacked: User credentials leaked

https://twitter.com/opencode/status/2111516673953935833
6•pranshuchittora•8m ago•0 comments

Pareto frontier lines for AI are great but where are the Pareto planes?

1•idbnstra•9m ago•0 comments

The IDE of the Future Might Not Be an IDE

https://medium.com/@abhishekchaturvedi_74630/the-ide-of-the-future-might-not-be-an-ide-d6b5ef13002d
1•chaturabhishek•9m ago•0 comments

How Americans Spend Their Time

https://www.americantimeuse.com/
1•sagarvarmafhs•13m ago•0 comments

HomeView Thoughts and Observations

https://daringfireball.net/2026/10/homeview_thoughts_and_observations
3•tosh•13m ago•0 comments

How to Make Auditability a Sales Asset When You Build Agents for Enterprises

https://medium.com/@MirArshadTalpur/how-to-make-auditability-a-sales-asset-when-you-build-agents-...
1•Arshad-Talpur•17m ago•0 comments

Data centers account for a third of Dutch electricity grid waiting list

https://nltimes.nl/2026/10/16/data-centers-account-nearly-third-dutch-electricity-grid-waiting-list
1•Betelbuddy•17m ago•0 comments

Show HN: TezGrid – Experimenting with AI inference on idle computers and Macs

https://tezgrid.com/
1•ms7892•19m ago•0 comments

OpenCode Hacked. Keys Stolen

https://twitter.com/mattjay/status/2111480005435719885
7•sergiotapia•19m ago•0 comments

Masked settlers attack European diplomats in occupied West Bank

https://www.theguardian.com/world/2026/oct/17/masked-settlers-attack-european-diplomats-occupied-...
2•hebelehubele•19m ago•0 comments

Everyone's Riding the Agent Wave. I Steer Mine with a USMC Staff

https://showmetheinference.com/posts/everyones-riding-the-agent-wave-suitcase-ai-steers-with-a-us...
2•chalko•19m ago•0 comments

Why people who have never smoked are getting hooked on vapes

https://www.bbc.com/news/articles/ck62y33489zqo
1•saikatsg•20m ago•0 comments

What is the value of software now?

https://mikebz.com/where-is-the-value-of-software-ee90cc85af43
1•ezxs•20m ago•1 comments

Israeli settlers attack European diplomatic cars in West Bank beat French mayor

https://www.lemonde.fr/en/international/article/2026/10/17/israeli-settlers-attack-european-diplo...
3•Betelbuddy•20m ago•0 comments

Anthropic says its AI model submitted a false case tip to Philadelphia police

https://www.nbcnews.com/news/us-news/anthropic-says-model-submitted-false-cold-case-tip-philadelp...
3•felineflock•21m ago•0 comments

The Flying Car Must Never Be Built

https://www.theatlantic.com/ideas/2026/10/tesla-elon-musk-roadster/689059/
2•dotmanish•21m ago•0 comments

I scanned 155 vibe-coded apps from Show HN for leaked keys and missing headers

https://shipsniffer.com/blog/vibe-coded-app-security-2026
2•jakecyr•23m ago•1 comments

Show HN: Bazkia – CyberChef developer tools in non-linear graph recipes

http://github.avestura.dev/bazkia/app/
1•avestura•23m ago•0 comments

US air traffic controllers to get 2.8% pay raise under FAA deal

https://www.reuters.com/business/world-at-work/us-air-traffic-controllers-get-28-pay-raise-under-...
2•frank_clover•24m ago•0 comments

Codex is EATING my Mac's disk space

https://github.com/openai/codex/issues/25921
2•AIorNot•24m ago•1 comments

Jeva: System One Models from First Principles

https://arxiv.org/abs/2610.18773
1•sva_•26m ago•0 comments

Building a Chess Cheat Detector

https://chesscheatdetector.com/blog/building-a-chess-cheat-detector
2•trgfdffd•26m ago•0 comments

The Digger disaster: what an epic movie flop means for Tom Cruise and Hollywood

https://www.theguardian.com/news/ng-interactive/2026/oct/17/the-digger-disaster-what-an-epic-movi...
1•amrrs•28m ago•0 comments

Speeding up code review with `small-change`

https://lethain.com/small-changes/
1•gpi•30m ago•0 comments

Experience with the Molten-Salt Reactor Experiment (1970) [pdf]

https://media.githubusercontent.com/media/openmsr/msr-archive/master/docs/NAT_MSREexperience.pdf
1•fedecaccia•33m ago•0 comments

I Became a Citizen of Japan

https://www.derekwessman.com/blog-1/natural
4•luu•33m ago•0 comments

Show HN: Bitty – Turn AI coding wait time into brain breaks

https://playbitty.com/
2•ayush23dash•37m ago•1 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/