frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

I auto-configure my reverse proxy and uptime monitoring using DNS-DS

https://rogena.me/posts/2026-07-12-running-my-home-lab-using-dns-sd/
1•jasonrogena•5m ago•0 comments

Show HN: ZenStack – access control at the ORM layer, built for coding agents

https://zenstack.framer.website/
1•carlual•7m ago•0 comments

The Anatomy of an Instruction Pipeline Hazard

https://hiraditya.github.io/posts/hardware-hazards-b200/
2•somnial•9m ago•0 comments

Ask HN: Why has Wikipedia become evil?

2•roschdal•10m ago•0 comments

What Anthropic's latest AI discovery does–and doesn't–show

https://www.technologyreview.com/2026/07/13/1140343/what-anthropics-latest-ai-discovery-does-and-...
1•joozio•14m ago•0 comments

Show HN: A FPV Lego car, controlled in Rust

https://dystroy.org/blog/picamobile/
1•dystroy•17m ago•1 comments

Patent for Electric Motor Platform Without Rare-Earth Minerals

https://auto.economictimes.indiatimes.com/news/auto-technology/
1•0xkistu•19m ago•1 comments

Helicone allows users to write SQL directly to a shared ClickHouse

https://www.justintorre.com/blogs/clickhouse-rls-query-parameters
1•justintorre75•25m ago•0 comments

Show HN: Benchmark your eng team's AI agent maturity in 5 minutes

https://agent-benchmarks.com/software-factory/
2•adamgold7•27m ago•0 comments

The Lies They're Telling Towns and Tribes About the Benefits of AI Data Centers

https://karlbode.com/the-lies-theyre-telling-towns-and-tribes-about-the-benefits-of-ai-data-centers/
1•HotGarbage•27m ago•0 comments

Show HN: I built a small transcription tool for non-English videos

https://transcrevervideo.com
1•Yummiy•27m ago•1 comments

Indian scientists produce most detailed 3D atlas of the human brainstem

https://www.bbc.com/news/articles/cg53l737v1qo
2•BaudouinVH•32m ago•0 comments

Why frontier labs are scaling-pilled

https://invertedpassion.substack.com/p/why-frontier-labs-are-scaling-pilled
1•paraschopra•33m ago•0 comments

There's an Ancient Solution to Our Modern Crisis of Attention

https://www.nytimes.com/2026/07/12/opinion/attention-crisis-seneca.html
1•thelastgallon•34m ago•0 comments

Netflix accidentally shipped a Claude.md file

https://www.reddit.com/r/AgentsOfAI/s/GYaEDTim0U
2•Ozzie_osman•36m ago•0 comments

Anthropic banned my thirteen 20x accounts, what now?

1•flipdin•37m ago•2 comments

Weakening copyright to benefit AI would betray Australian Labor party's ethos

https://www.theguardian.com/australia-news/2026/jul/14/ed-husic-tells-labor-to-get-tougher-on-ai-...
2•ggm•37m ago•0 comments

Show HN: DriftTrip – A Virtual Road Trip

https://drifttrip.connelly.casa/
1•eskibars•39m ago•0 comments

I want to build an OTT app. Where should I start?

1•ibuld•40m ago•0 comments

The Last Picture Show: A Conversation with George Lucas

https://a-rabbitsfoot.com/editorial/confessions/the-last-picture-show-a-conversation-with-george-...
2•Michelangelo11•40m ago•1 comments

Show HN: Themis – Self-hosted AI code reviews with your own keys and models

https://github.com/Zaimwa9/themis
2•Diwadoo•41m ago•0 comments

Context bombs: stopping AI attackers in their tracks

https://agentic.tracebit.com/context-bombs/
2•ilreb•45m ago•0 comments

European Parliament MCP Server – Political Intelligence for AI Agents

https://github.com/Hack23/European-Parliament-MCP-Server
1•jamespether•46m ago•0 comments

Software as Craft: A First Look at Syntropy

https://noteflakes.com/articles/2026-06-13-syntropy
1•thunderbong•48m ago•0 comments

Show HN: My Intel Brief

https://myintelbrief.com/
1•chooklay•54m ago•0 comments

Human Fear in Emacs

https://en.andros.dev/blog/b70b058a/human-fear-in-emacs/
1•andros•54m ago•0 comments

The debit card faded as UPI rose, the credit card didn't

https://timeseriesofindia.com/economy/reads/credit-vs-debit/
1•intelkishan•55m ago•0 comments

Tanizaki Jun'ichirō: Tracing the evolution of Japanese aesthetic beauty

https://www.nippon.com/en/japan-topics/b07236/
1•whiteblossom•1h ago•0 comments

Harvey LAB-AA: evaluating AI agents on real-world legal work

https://artificialanalysis.ai/articles/harvey-lab-aa
1•theanonymousone•1h ago•0 comments

Truvace – tracking AI's real-world impact with sourced reporting

https://truvace.com
1•mosisaSaba•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/