frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Anthropic Just Threatened to Kill Billions of People. This Is Not Okay

https://calnewport.com/anthropic-just-threatened-to-kill-billions-of-people-this-is-not-okay/
1•alexfortin•4m ago•0 comments

The AI policy window is open. We need to act

https://openai.com/index/ai-policy-window/
1•johntb86•5m ago•0 comments

Rebuilding an AI-made browser game with Astra 6

https://arcane-orb-workshop.pages.dev/
2•Spazztik•8m ago•0 comments

CLI for converting JSON logs to human-readable format

https://github.com/poonesnerfect/jlf
1•ankitg12•15m ago•0 comments

Sergey Brin is cooking up Google's AI destiny

https://www.businessinsider.com/sergey-brin-google-gemini-ai-microkitchen-2026-9
2•theanonymousone•16m ago•0 comments

Reverse engineering my e-scooter and rewriting the firmware in Rust

https://bensimms.moe/reverse-engineering-scooter/
1•vinhnx•18m ago•0 comments

Scammers demand ransoms from Instagram users over fake copyright claims

https://www.bbc.com/news/articles/cjw54ww73qjo
2•josephcsible•19m ago•0 comments

The "rnull" Rust block driver

https://lwn.net/Articles/1090378/
1•pykello•19m ago•0 comments

Switching Password Managers in 2026

https://rmondello.com/2026/09/07/switching-password-managers-2026/
1•vinhnx•21m ago•0 comments

A Decade of Rustls

https://rustls.dev/blog/2026-09-08-a-decade-of-rustls/
1•vinhnx•23m ago•0 comments

Garnet: A Next-Generation Cache-Store for Accelerating Applications and Services [pdf]

https://www.vldb.org/pvldb/vol19/p224-chandramouli.pdf
1•k_138z•23m ago•1 comments

Show HN: Oz – a Vim-style terminal editor written in Zig

https://github.com/niT-Tin/oz
2•niT-Tin•24m ago•0 comments

CUDA Rust: Two Tracks for Writing GPU Kernels

https://developer.nvidia.com/blog/introducing-cuda-rust-two-tracks-for-writing-gpu-kernels/
1•xiaoyu2006•24m ago•0 comments

NASA's New Experimental Jet Promises Supersonic Flight Without the Sonic Booms

https://nautil.us/nasas-new-experimental-jet-promises-supersonic-flight-without-the-sonic-booms-1...
1•dustfinger•25m ago•0 comments

Trump promises $5k payout to U.S. adults if Republicans win election

https://www.reuters.com/world/us/trump-promises-5000-payout-us-adults-if-republicans-win-election...
5•nateb2022•26m ago•0 comments

Fnmatch-ng: POSIX fnmatch in one Zig file, 20,794/20,794 vs. musl, zero heap

https://github.com/logicpl4gue/fnmatch-ng
1•logicpl4gue•27m ago•0 comments

The Story of VS Code [video]

https://www.youtube.com/watch?v=kHL3XzjpT5w
1•soheilpro•33m ago•0 comments

The Politics of Superintelligence (2025)

https://www.noemamag.com/the-politics-of-superintelligence/
2•the-mitr•41m ago•0 comments

Copying explains the collective behavior of AI agents in the wild

https://arxiv.org/abs/2609.09150
2•sbulaev•43m ago•0 comments

Suddenly I'm a Go Developer

https://www.infoworld.com/article/4219382/suddenly-im-a-go-developer.html
5•theanonymousone•43m ago•0 comments

Early Islam and the Birth of Capitalism

https://islamiceconomicsproject.com/early-islam-and-the-birth-of-capitalism/
2•teleforce•49m ago•0 comments

Andrew Tulloch has left Meta and joined Anthropic

https://twitter.com/ArfurGrok/status/2097862553552740846
1•bobrenjc93•53m ago•0 comments

The Prophet Mohammed's surprising life as a businessman [video]

https://www.youtube.com/watch?v=NkRHPEueW7Q
2•teleforce•54m ago•0 comments

Looped Transformers as Programmable Computers (2023)

https://arxiv.org/abs/2301.13196
3•peter_d_sherman•1h ago•1 comments

WSJ Why the Largest Megaproject Collapsed - NEOM, Saudi Arabia[video]

https://www.youtube.com/watch?v=GbB3vFfiaVU
1•thelastgallon•1h ago•0 comments

Open source FPGA: the next frontier is silicon

https://www.reddit.com/r/FPGA/comments/1wbrrgi/open_source_fpga_the_next_frontier_is_silicon/
2•random__duck•1h ago•1 comments

FlavorDB: A resource to explore flavor molecules

https://cosylab.iiitd.edu.in/flavordb/
2•thunderbong•1h ago•0 comments

AI Made Delegation Easy: Structure Is Still the Skill

https://syntheticauth.ai/posts/ai-made-delegation-easy-structure-is-still-the-skill
1•zerolayers•1h ago•0 comments

Kepler Compute- New memory startup for AI

https://keplercompute.com
1•osnium123•1h ago•1 comments

Siri Recap: AI Memory with Apple Watch

https://www.apple.com/hk/en/apple-watch-series-12/
1•chepy•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/