frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

40 Hours, $2M+ AI credits, solve an open problem

https://mathathonchallenge.com/
1•Bluestein•1m ago•0 comments

Average daily long-haul truck traffic across US highways

https://www.reddit.com/r/MapPorn/comments/1vofgij/average_daily_longhaul_truck_traffic_across_us/
1•mooreds•1m ago•0 comments

Gemini Desktop

https://gemini.google/desktop/
2•ZacnyLos•3m ago•0 comments

Show HN: Rapto – An in-memory NoSQL database written in Zig

https://github.com/raptodb/rapto
1•andrvv•3m ago•0 comments

Why isn't decompilation a solved problem in the AI era?

2•ferfumarma•3m ago•0 comments

The Philosophy Behind "Zen and the Art of Motorcycle Maintenance" [video]

https://www.youtube.com/watch?v=b9lZ7uLjDa8
2•thunderbong•6m ago•0 comments

Japan Is Launching a Probe to Collect the First-Ever Samples from a Martian Moon

https://www.wired.com/story/japan-launching-probe-to-collect-first-ever-samples-martian-moon/
2•bookofjoe•9m ago•1 comments

Speculations Concerning the First Ultraintelligent Machine (1966) [pdf]

http://incompleteideas.net/papers/Good65ultraintelligent.pdf
1•Bluestein•9m ago•1 comments

The kernel does not care what you named the tool

https://www.cognivisehub.com/blogs/the-kernel-does-not-care-what-you-named-the-tool
1•apollonios•11m ago•0 comments

We Tested 15 Fresh Cloud VMs All Across Canada – What Did We Find?

https://webbynode.com/articles/what-do-canadian-cloud-regions-offer
1•gsgreen•11m ago•1 comments

Show HN: Nola – a TypeScript superset where LLM inference is a language feature

https://nola.sh/
1•emykhailenko•12m ago•0 comments

Synctera Becomes a Money Services Business

https://www.thisweekinfintech.com/p/exclusive-synctera-becomes-a-money-services-business-making-a...
1•thatdrew•12m ago•0 comments

OpenAI shares they have made substantial progress on another Millennium problem

https://www.nytimes.com/2026/09/10/science/tristan-buckmaster-openai-math-navier-stokes.html
5•helloplanets•13m ago•2 comments

EU unveils 'buy European' public procurement rules to counter China

https://www.theguardian.com/world/2026/sep/09/eu-buy-european-public-procurement-rules-china-good...
2•robtherobber•14m ago•0 comments

Earned Complexity

https://twitter.com/kcurtin/status/2098084206463062170
1•kcurtin•15m ago•0 comments

10x Cheaper TTS at 50ms Time-to-First-Audio

https://narilabs.com/blog/introducing-nari-qwen3-tts/
1•toebee•18m ago•1 comments

Hear Me Out: If We Find Life Out There Maybe We Should Kill It

https://joecmarshall.com/posts/hear-me-out-if-we-find-life-out-there-maybe-we-should-kill-it/
6•flancrest•18m ago•0 comments

How I deployed my site on Hetzner

https://brettfisher.dev/posts/deploy-blog-on-hetzner/
1•fisher-brett•18m ago•0 comments

Show HN: I licensed $50k of stock market data to do analysis Claude can't

https://www.athenic.com:443/
1•jaredzhao•19m ago•0 comments

Respond terse like smart caveman. All technical substance stay. Only fluff die

https://github.com/JuliusBrussee/caveman/blob/main/skills/caveman/SKILL.md
1•Bluestein•19m ago•0 comments

Apple Is Gunning for Whoop

https://www.bloodtestcomparison.com/apple-is-gunning-for-whoop
2•elo2000•20m ago•0 comments

Show HN: Turn wire protocols into structured statements LLMs can understand

3•andriosr•20m ago•0 comments

Superintelligence Is a Fairy Tale. But Chasing It Can Still Cause Harm

https://calnewport.com/superintelligence-is-a-fairy-tale-but-chasing-it-can-still-cause-harm/
3•skadamat•21m ago•0 comments

Neat-annotations: hand-drawn annotations for your page

https://neat-annotations.syabro.com/
2•handfuloflight•21m ago•0 comments

Defeat in Detail

https://en.wikipedia.org/wiki/Defeat_in_detail
2•highfrequency•21m ago•0 comments

Agricultural Involution

https://en.wikipedia.org/wiki/Agricultural_Involution
3•Bluestein•23m ago•1 comments

Sub-second Postgres replication to ClickHouse from physical WAL

https://clickhouse.com/blog/introducing-walshadow
3•__s•23m ago•0 comments

Are We Alone? Cosmic Loneliness and the Longing to Believe [audio]

https://www.econtalk.org/are-we-alone-cosmic-loneliness-and-the-longing-to-believe-with-adam-kirsch/
3•mooreds•25m ago•0 comments

Big Tech Fooled America Once. The Second Time's Not Going So Well

https://www.nytimes.com/2026/09/10/opinion/ai-big-tech-america-politics.html
4•mikhael•26m ago•1 comments

Show HN: I built an AI 'Fog of War' for life goals

https://www.tryworthit.app
2•AvityN•26m 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/