frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Switzerland to vote on plan to cap population at 10M

https://www.bbc.com/news/articles/cx23kz7e76po
1•geox•1m ago•0 comments

Cattle and wildlife thrive side-by-side in Zimbabwe

https://www.dailymaverick.co.za/article/2026-06-09-the-science-of-sharing-land-how-cattle-and-wil...
1•rbanffy•5m ago•0 comments

Show HN: Paca – Lightweight Jira alternative for human-AI collaboration

https://github.com/Paca-AI/paca
1•pikann22•9m ago•0 comments

The five pillars of the post-AI interview

https://carette.xyz/posts/the_five_pillars_of_post_ai_interview/
1•weird_trousers•9m ago•0 comments

The PM Trap: AI Won't Turn Engineers into Managers

https://carette.xyz/posts/the_mud_and_the_mind/
1•LucidLynx•10m ago•0 comments

What Would It Look Like If the AI Bubble Popped?

https://www.thebignewsletter.com/p/what-would-it-look-like-if-the-ai
3•pimeys•13m ago•0 comments

The Fable 5 Jailbreak Shows Why AI Guardrails Alone Are Not Enough

https://www.agilehunt.com/blog/fable-5-jailbreak-ai-guardrails
2•vikzsharma•13m ago•0 comments

Espruino Performance Notes

https://www.espruino.com/Performance
1•tosh•14m ago•0 comments

A low-carbon computing platform from your retired phones

https://research.google/blog/a-low-carbon-computing-platform-from-your-retired-phones/
2•vikas-sharma•14m ago•0 comments

Anthropic Policy on the AI Exponential

https://www.anthropic.com/policy-on-the-ai-exponential
1•samber•16m ago•0 comments

Why Zig When There is C++, D, and Rust?

https://ziglang.org/learn/why_zig_rust_d_cpp/
2•tosh•17m ago•0 comments

MeshCore for Zephyr RTOS

https://github.com/liquidraver/ZephCore
1•BSDobelix•21m ago•0 comments

I Spent the Night Interviewing the AI the Government Just Recalled

https://blog.vigilharbor.com/door-with-no-lock
1•Calvin-Gibson•28m ago•0 comments

Mini Shai-Hulud, Miasma, and Hades Worms Target Bioinformati

https://socket.dev/blog/mini-shai-hulud-miasma-and-hades-worms-target-bioinformatics-and-mcp-deve...
1•rbanffy•30m ago•0 comments

Everything you ever wanted to know about anarchy (but were afraid to ask)

https://www.youtube.com/watch?v=L9V33prYC1U
1•RebootStr•43m ago•0 comments

AI calls for the most ambitious political agenda in the history of Europe

https://europe2031.ai/summary/
1•doener•44m ago•0 comments

Former OpenAI board member says Elon Musk offered her sperm donations

https://www.bbc.co.uk/news/articles/c33243j44p8o
1•xvxvx•50m ago•1 comments

Anthropic shuts down Fable, Mythos models following Trump admin directive

https://arstechnica.com/ai/2026/06/anthropic-shuts-down-fable-mythos-models-following-trump-admin...
2•jay_kyburz•53m ago•0 comments

Git 2.55-Rc0 Prepares for Rust to Be Enabled by Default

https://lore.kernel.org/git/xmqqik7pqeiq.fsf@gitster.g/
1•tjek•54m ago•0 comments

Pokémon Go players unwittingly contributed to tech with military drone uses

https://arstechnica.com/ai/2026/06/pokemon-go-players-unwittingly-contributed-to-tech-with-milita...
1•justaj•54m ago•0 comments

Meta's New AI Unit Is a Total Mess

https://www.wired.com/story/mark-zuckerberg-meta-employee-meeting-interrupt-ai/
2•reasonableklout•56m ago•0 comments

Solar-thermal desalination process operates at near 100% efficiency

https://physicsworld.com/a/solar-thermal-desalination-process-operates-at-near-100-efficiency/
2•zeristor•57m ago•0 comments

The Hacker Webring

https://ring.acab.dev/
1•thes1lv3r•1h ago•0 comments

Beeper – All your chats in one app

https://www.beeper.com/
2•thunderbong•1h ago•1 comments

Contrail Compute AIX the First RISC-V AI Execution Platform

https://www.epicsemi.com/products/contrail/contrail-compute/
1•EvgeniyZh•1h ago•0 comments

Factoring "short-sleeve" zero-heavy RSA keys with polynomials

https://blog.trailofbits.com/2026/06/12/factoring-short-sleeve-rsa-keys-with-polynomials/
2•fanf2•1h ago•0 comments

What if we legally required politicians to work regular jobs 2 months a year?

3•ekoeko•1h ago•2 comments

Validates AI

https://validates.ai/
2•bellannns•1h ago•0 comments

I got shadow banned on X, 3 mistakes that led me to it

https://www.indiehackers.com/post/i-got-shadow-banned-on-x-3-mistakes-that-led-me-to-it-MIYYUCRyR...
1•kartik0001•1h ago•0 comments

A major KPMG report on AI was found to be chock-full of AI hallucinations

https://www.techradar.com/pro/a-major-kpmg-report-on-ai-was-found-to-be-chock-full-of-ai-hallucin...
3•thm•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/