frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Rate AI coding agents and gain reputation

https://elolup.com/
2•reStrugly•1m ago•0 comments

Is Mistral cooking something big or is it pure meme/psyops?

https://twitter.com/arthurmensch/status/2066456715650793956
1•PL_Venard•2m ago•0 comments

AI and National Security – Something Doesn't Add Up

https://paulbrownok.substack.com/p/ai-and-national-security-something
1•pjb88•2m ago•0 comments

FoxBox – Native MCP support for sending and receiving SMS from AI agents

https://www.smsfoxbox.it/ai-agent-ready-sms-api/
2•kantadev•6m ago•0 comments

Discover the most interesting, weird and Websites of the Internet

https://cloudhiker.net
1•vismit2000•9m ago•0 comments

ANIP – open protocol so websites can talk directly to AI agents

https://github.com/shivanshmah14/anip
1•Shivanshmah14•11m ago•0 comments

How to Write Computer Programs [pdf]

https://www.dyalog.com/uploads/documents/Papers/declarative_prog.pdf
1•tosh•15m ago•0 comments

Show HN: Ghostty in-browser with real client-side back end

https://ghosttyplayground.com/
1•leebeef•15m ago•0 comments

20 years of Intel Macs: Why Apple switched, and why it switched again

https://arstechnica.com/gadgets/2026/06/20-years-of-intel-macs-why-apple-switched-and-why-it-swit...
1•rbanffy•16m ago•0 comments

The End of Refugee Resettlement

https://www.newyorker.com/news/letter-from-jordan/the-end-of-refugee-resettlement
1•littlexsparkee•18m ago•0 comments

Typst 0.15 Is Out

https://typst.app/blog/2026/typst-0.15/
1•semantecture•22m ago•1 comments

We Built NeuroAutomata: protein variant effect prediction

https://axonagentic.ai/blog/why-we-built-neuroautomata
1•rhokstar•22m ago•0 comments

The Most Interesting Articles on Wikipedia

https://www.mostdiscussed.com
1•vismit2000•25m ago•0 comments

Are Memories Transferable – Or Edible?

https://www.quantamagazine.org/are-memories-transferable-or-edible-20260605/
2•doener•26m ago•0 comments

Ask HN: Best Hetzner Alternatives?

1•king_zee•27m ago•0 comments

DEC Alpha

https://en.wikipedia.org/wiki/DEC_Alpha
2•tosh•27m ago•0 comments

Physicists Have Measured "Negative Time" in Quantum Experiment

https://scitechdaily.com/physicists-have-measured-negative-time-in-bizarre-quantum-experiment/
2•bryanrasmussen•28m ago•0 comments

Photograph Is Now Guilty Until Proven Innocent

https://winphotoio.substack.com/p/sunday-submission-04-the-burden-of-proof
2•winphoto•34m ago•0 comments

Kino, a high-performance Ractor web server for Ruby 4.0

https://github.com/yaroslav/kino
1•riffraff•35m ago•0 comments

General-purpose LLMs outperform specialized clinical AI tools

https://www.nature.com/articles/s41591-026-04431-5
1•hdvr•35m ago•0 comments

Understanding the rationale behind a rule when trying to circumvent it

https://devblogs.microsoft.com/oldnewthing/20260611-00/?p=112415
13•tosh•44m ago•0 comments

China's universities cut 12,000 'obsolete' degrees amid race to embrace AI era

https://www.scmp.com/economy/china-economy/article/3356913/chinas-universities-cut-12000-obsolete...
2•spwa4•47m ago•0 comments

Users cry foul after AMD stripped memory crypto from its consumer CPUs

https://arstechnica.com/security/2026/06/users-cry-foul-after-amd-stripped-memory-crypto-from-its...
3•u1hcw9nx•48m ago•0 comments

Why did I create my own PaaS as indie hacker and made it open-source?

https://github.com/sumon-ohid/better-paas
2•sumonoahid•59m ago•1 comments

Making a Metasearch Engine (2024)

https://matdoes.dev/metasearch
2•ethanhawksley•1h ago•0 comments

The History of How School Buses Became Yellow

https://www.smithsonianmag.com/history/history-how-school-buses-became-yellow-180973041/
2•thunderbong•1h ago•0 comments

Pure-Dart I2P: decentralized file sharing

https://github.com/geograms/i2p-dart
1•nunobrito•1h ago•0 comments

Greed Is Learned: Visible Incentives as Reward-Hacking Triggers

https://arxiv.org/abs/2606.16914
2•Timofeibu•1h ago•0 comments

Show HN: Kitchen Rush, Overcooked inspired LLM tool calling benchmark

https://github.com/bassimeledath/kitchen-rush
2•bombastic311•1h ago•0 comments

Movebound: The Art of Zugzwang

https://www.thearticle.com/movebound-the-art-of-zugzwang
1•Pamar•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/