frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Google Has Achieved RSI

1•AlexWApp•3m ago•0 comments

Optimizing a Spin-Lock

https://david.alvarezrosa.com/posts/optimizing-a-spin-lock/
1•signa11•5m ago•0 comments

Small Asian Grocery Stores Can Improve Local Product Discovery

1•yatifoods•5m ago•0 comments

Amazon expands shoppable features on Prime Video

https://press.aboutamazon.com/prime-video/2026/9/the-prime-video-shop-the-show-experience-introdu...
1•thm•8m ago•0 comments

Grigori Perelman

https://en.wikipedia.org/wiki/Grigori_Perelman
2•YeGoblynQueenne•12m ago•0 comments

Why Authenticity Matters in Personal Development

https://medium.com/@flaviopilotodasilva/why-authenticity-matters-in-personal-development-d75de9a3...
1•flaviopilotodas•16m ago•0 comments

Hallucinate got a jetpack – MMO Rave

https://hallucinate.site/?hn
2•stagas•19m ago•0 comments

BabaCAD Robotics Web – free browser-based industrial robot simulator

https://www.babacad.com/robotics/web/
2•comirza•20m ago•0 comments

Pnpm 12.4 can install Rust crates and Python packages

https://pnpm.io/blog/releases/12.4
1•novoreorx•22m ago•0 comments

Show HN: We built a local-first Android agent. Then Meta launched Muse

https://creepy.im/
1•kotleta552•23m ago•0 comments

The core arguments behind the Rockstar union busting trial

https://www.gamedeveloper.com/production/rockstar-and-fired-gta-developers-outline-core-arguments...
3•EvgeniyZh•26m ago•0 comments

Decky: Open-source DIY stream deck

https://github.com/Fenish/decky
2•thunderbong•27m ago•0 comments

Deep dive on evals for agents [video]

https://www.youtube.com/watch?v=UxMZfbWI3LY&list=PLo2EIpI_JMQvQZm-kVlz4wY1vWF0LBcf5&index=1
2•porridgeraisin•27m ago•0 comments

New Solar Panel Technology Trends for 2026 (UK)

https://spectrumenergysystems.co.uk/articles/new-solar-panel-technology-trends-for-2026/
2•DamonHD•40m ago•0 comments

Resistance Training Prescription for Muscle Function, Hypertrophy in Health

https://pmc.ncbi.nlm.nih.gov/articles/PMC12965823/
1•ultral•40m ago•0 comments

Perplexity trusts GPT‑6 Astra with end-to-end systems

https://openai.com/index/perplexity-improving-accuracy-with-astra/
1•ENOMEM•43m ago•0 comments

What do you think of controlling your agent via Siri

1•in_making•44m ago•0 comments

Rust-Like Syntax for WebAssembly

https://github.com/ocsigen/wax
3•alex_hirner•44m ago•0 comments

GoatCode – open-source terminal AI agent with provider failover

2•Arhan-w•47m ago•0 comments

AI may be denting computer science graduates' job prospects, UK data shows

https://www.theguardian.com/education/2026/sep/12/ai-computer-science-graduates-job-prospects-uk-...
2•vinni2•51m ago•0 comments

How the Nintendo Zapper Worked in Slow Motion [video]

https://www.youtube.com/watch?v=V6XnSvB34y8
2•ultral•52m ago•0 comments

The Newsroom EP01 – OpenAI Ships GPT-5 to Azure – DeepSeek Open-Sources 236B Moe

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

Learnings from 12,000 Agentic Code Reviews

https://blog.watson-labs.co.uk/6-learnings-from-12000-agentic-code-reviews/
1•ultral•1h ago•0 comments

Time's Best Companies of 2026

https://time.com/article/2026/09/09/worlds-best-companies-of-2026/
2•giuliomagnifico•1h ago•0 comments

Collaboration

1•RTP123•1h ago•0 comments

LocalSend-like file transfer beyond the LAN

https://github.com/threatexpert/gonc-gui
1•gonc_cc•1h ago•0 comments

Stephen Bourne: Early days of Unix and design of sh (2015) [video]

https://www.youtube.com/watch?v=2kEJoWfobpA
1•mpweiher•1h ago•0 comments

Hegel's Logic in Cubical Agda

https://ddebruce.github.io/hegel-agda/index.html
1•hackandthink•1h ago•0 comments

UAE revises 5GW AI data center plan after Iranian attacks, sources say

https://www.reuters.com/world/middle-east/uae-revises-ai-data-center-plan-after-iranian-attacks-s...
5•giuliomagnifico•1h ago•0 comments

40C3 – Call for Participation

https://content.events.ccc.de/cfp/40c3/index.en.html
3•cgeier•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/