frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Agentic Web Needs a Protocol Stack

https://raorajat.substack.com/p/the-agentic-web-needs-a-protocol
1•raorajat007•57s ago•0 comments

Cloudflare Connect Convince Your Boss

https://www.cloudflare.com/connect/convince-your-boss/
1•weinzierl•1m ago•0 comments

Anthropic will be 'most ridiculous IPO' of year, analyst says

https://www.cnbc.com/2026/10/07/anthropic-will-be-most-ridiculous-ipo-of-year-analyst-says.html
1•joebuckwilliams•2m ago•0 comments

ServeLearnBench: How Well Can Agents Self-Improve from Serving Experience?

https://infini-ai-lab.github.io/ServeLearnBench/
1•matt_d•3m ago•0 comments

The Cult of the Damned

https://zhenyi.gibber.blog/the-cult-of-the-damned
1•latexr•4m ago•0 comments

AI won't suppress legal rates

https://lexifina.com/blog/who-keeps-the-ai-efficiency
1•alansaber•4m ago•0 comments

Software developers are not okay

https://www.baldurbjarnason.com/2026/05-software-developers-are-not-okay/
1•AloysB•6m ago•0 comments

Feynman Explains What Is Electricity Made of According to Quantum Physics [video]

https://www.youtube.com/watch?v=Jt3lecwcpiE
1•binyu•6m ago•0 comments

ADM Lang

https://adm-lang.dev/
3•cthackers•14m ago•0 comments

Lichess Board Editor now supports importing board positions from images

https://bsky.app/profile/lichess.org/post/3mxc7gchuzd22
2•nmstoker•17m ago•0 comments

Chronophase: A fantastic UX to experiment with music and sound

https://chronophase.vercel.app/
1•sachaa•21m ago•0 comments

The Challenge of US Rural Development

https://conversableeconomist.com/2026/10/06/the-challenge-of-us-rural-development/
1•colinprince•22m ago•0 comments

PD's New Flock Policy Just Shows How Little It Was Doing Before the Blowback

https://www.techdirt.com/2026/10/07/pds-new-policy-for-flock-cameras-just-shows-how-little-it-was...
1•hn_acker•24m ago•1 comments

AI to Fight World Hunger

https://features.csis.org/ai-to-fight-world-hunger/
2•gmays•27m ago•0 comments

IBM Finds 400 Vulnerabilities

https://newsroom.ibm.com/2026-10-06-ibm-and-red-hat-remediate-more-than-400-previously-unknown-op...
2•____tom____•28m ago•1 comments

I'm in love with a German film star

https://heatherburns.tech/2026/10/01/im-in-love-with-a-german-film-star/
11•hn_acker•31m ago•0 comments

Apple Watch Series 12 / Ultra 4 Owners Report Skin Irritation

https://www.macrumors.com/2026/10/07/apple-watch-series-12-skin-irritation/
3•dabinat•32m ago•0 comments

Neural Network Diagram Compiler

https://lens-compiler.dk.workers.dev
1•measurablefunc•32m ago•0 comments

Meta's Copyright System Is Being Weaponized Against Albanian Protesters

https://www.wired.com/story/metas-copyright-system-is-being-weaponized-against-albanian-protesters/
2•hn_acker•37m ago•0 comments

Your Brain Might Be a Quantum Machine [video]

https://www.youtube.com/watch?v=VjlX7w_CjqQ
3•jonbaer•40m ago•0 comments

Claude Max and Teams plans now forced to API (Oct 7th update)

1•mattstarfield•42m ago•0 comments

Intelligence Is Not Expertise

https://www.sebastianmellen.com/post/2026/intelligence-is-not-expertise/
1•sebmellen•42m ago•0 comments

Show HN: Festival: A Vibe Engineering Framework

https://github.com/Obedience-Corp/festival
1•lancekrogers•45m ago•1 comments

The Strange Power of Coincidence

https://www.theatlantic.com/newsletters/2026/10/strange-power-of-coincidence/688880/
2•bookofjoe•46m ago•1 comments

Show HN: Reflex – a cold-start GGUF engine that runs Aleph Alpha's Kolibri-1

https://github.com/lateos-ai/reflex
1•leochong•48m ago•0 comments

IngeTrazo – Open-Source SketchUp Clone

https://github.com/ingelibre/ingetrazo
1•dmacedo•49m ago•0 comments

How I use Claude Code subagents to make my Claude Pro limits last longer

https://www.andreagrandi.it/posts/claude-code-subagents-to-save-usage/
1•andreagrandi•53m ago•0 comments

Building Harvey's MCP Policy Engine

https://www.harvey.ai/blog/building-harveys-mcp-policy-engine
1•suhacker256•56m ago•0 comments

Workers: Simulation Environments for Verifying Mission Critical Software

https://workers.io/
1•handfuloflight•1h ago•0 comments

The Oktoberfest Cartel

https://www.mondayeconomist.com/p/oktoberfest-cartel
1•NomNew•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/