frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

You are a kitten in a catnip forest

https://kittensgame.com/web/
1•xkcd1963•1m ago•0 comments

"Aura" and the Backlash Against the Slop Machine

https://decodingvibes.com/blog/aura-and-the-backlash-against-the-slop-machine/
1•altmanaltman•4m ago•0 comments

India's IT sector is surviving artificial intelligence

https://economist.com/finance-and-economics/2026/08/06/indias-it-sector-is-surviving-artificial-i...
1•_tk_•5m ago•0 comments

Four Ex-Stratfor Analysts Reunite to Predict How the World Ends [video]

https://www.youtube.com/watch?v=z9zH8CJTPS8
1•mooreds•8m ago•0 comments

Show HN: Discover and Compare the Best Software Tools – GeeksDive

https://geeksdive.com
1•not_wowinter13•9m ago•0 comments

EU Regulators Barred from Disclosing Tesla FSD Approval Research

https://www.reuters.com/legal/litigation/pressured-by-tesla-european-regulators-keep-full-self-dr...
1•qprofyeh•9m ago•1 comments

Win a Copy of Mastering Digital Identity

https://ciamweekly.substack.com/p/want-to-win-a-copy-of-mastering-digital
1•mooreds•11m ago•0 comments

Navigating Private Equity ownership (2024)

https://lethain.com/private-equity-strategy/
1•mooreds•11m ago•0 comments

The Hottest New AI Chatbot Is Just a Guy Answering Your Questions

https://www.wired.com/story/this-chatbot-is-just-a-random-guy-lol/
3•joozio•13m ago•0 comments

Making Postgres 300x faster for analytics: batching, operator fusion, and SIMD

https://malisper.me/how-we-made-postgres-hundreds-of-times-faster-the-query-engine/
1•poly2it•14m ago•0 comments

Marp now supports Mermaid diagrams

https://github.com/marp-team/marp-core/blob/main/docs/markdown.md
1•jamesbelchamber•16m ago•0 comments

How to Not Write Parsers

https://crtschin.com/posts/how-to-not-write-parsers
1•Thom2503•17m ago•0 comments

Show HN: We automated reading and filtering competitor website changes

https://competitortracker.io
2•slobodan_•18m ago•1 comments

Meta apologises to India for restricting PM Modi's post

https://www.reuters.com/world/india/meta-apologises-india-restricting-pm-modis-post-2026-08-05/
3•thisislife2•20m ago•0 comments

From constraint models to playable puzzle games

https://zayenz.se/blog/post/constraint-generated-puzzle-games/
1•mzl•21m ago•0 comments

Airworthiness Directive: Cracks in Fuselage of Boeing 737-8, 737-9, and 737-8200

https://www.federalregister.gov/documents/2026/08/06/2026-15936/airworthiness-directives-the-boei...
2•impish9208•21m ago•0 comments

New Intelligence Warns Russia May Provoke NATO Amid Dwindling U.S. Munitions

https://www.wsj.com/finance/investing/new-intelligence-warns-russia-may-provoke-nato-amid-dwindli...
1•doener•23m ago•0 comments

Our world is full of slop

https://refactoringorgs.com/ramblings/world-full-of-slop.php
2•polocode•23m ago•1 comments

Show HN: textlog – A quiet, text-only microblogging platform

https://textlog.cc/about
2•stagas•23m ago•0 comments

Ask HN: Is there an AI app that generates a feed of personalized cheat sheets

1•ElegantTrader•24m ago•0 comments

Claude Code skill allowing orchestration of edits beat-synced to songs

https://github.com/ZiadAbdelkarim/beat-synced-edit
1•iwasastreamer•25m ago•0 comments

Ask HN: Alternatives to Hotline Telegram CRM?

1•hotline•26m ago•0 comments

Loop Engineering in Claude

https://claude.com/blog/getting-started-with-loops
2•abrbhat•29m ago•0 comments

An explosion of new AI-written genealogy tree tools

https://blog.dnapainter.com/blog/an-explosion-of-new-tree-tools/
1•vintermann•30m ago•0 comments

Build a crappy ring-0 toy antivirus in eBPF with the IMA LSM

https://blog.prizrak.me/post/ima/
1•razighter777•30m ago•0 comments

Kitesurf: Agent-first browser that runs in V8 isolates

https://blog.cloudflare.com/kitesurf/
3•m3h•33m ago•0 comments

Crubit: C++/Rust Bidirectional Interop Tool Rust Workflow

https://crubit.rs/
1•zombot•36m ago•0 comments

Bulldozers Plow Through Big Bend National Park, Sparking Fury in Texas

https://www.newsweek.com/bulldozers-plow-through-big-bend-national-park-sparking-fury-in-texas-12...
1•almog•42m ago•0 comments

US strikes $1.2B deal to pay German firm to halt offshore wind projects

https://www.bbc.com/news/articles/c1e1vg0gjl5o
93•defrost•46m ago•51 comments

Sonic Pi v5 Released

https://www.patreon.com/samaaron/posts/sonic-pi-v5-166001392
2•samaaron•48m ago•1 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/