frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Migrate Repo to TypeScript 7

https://github.com/microsoft/TypeScript/pull/63763
1•sensanaty•53s ago•0 comments

A limit order book and matching engine in Go

https://intrepidkarthi.github.io/orderbook/
1•intrepidkarthi•1m ago•0 comments

What Happened: OpenAI and HuggingFace

https://thezvi.wordpress.com/2026/08/08/what-happened-openai-and-huggingface/
1•gmays•1m ago•0 comments

When Postgres Isn't the Process That Kills Your Database

https://clickhouse.com/blog/protect-postgres-from-supporting-processes
1•saisrirampur•2m ago•0 comments

I'm Sick of Reading AI-Written Posts

https://cyb3rops.medium.com/im-sick-of-reading-ai-written-posts-107767481fbf
1•gurjeet•3m ago•0 comments

Tumble Forth – from assembly to OS with C compiler

https://tumbleforth.hardcoded.net/
2•vicek22•4m ago•0 comments

Death to the Self-Playing Game

https://www.jank.cool/death-to-the-self-playing-game/
2•speckx•6m ago•0 comments

Does every question mark deserve a Betteridge?

https://dynomight.net/betteridge/
1•Curiositry•6m ago•0 comments

Multiple sequence alignment using WebGPU

https://github.com/ag4349/msa-webgpu
1•ag4349•7m ago•1 comments

Show HN: CSVtoTable – turn a CSV/XLSX into one self-contained HTML file

https://github.com/vividvilla/csvtotable
2•v512•11m ago•1 comments

Shenzhen Night Walk [video]

https://www.youtube.com/watch?v=JiXpYbCZyjs
1•simonebrunozzi•13m ago•0 comments

Robotics Software

1•erardaiden•13m ago•0 comments

Windmill.dev is not "fully open-sourced (AGPLv3)"

4•alpine-rockies•13m ago•0 comments

Brazilian Rank Links

https://rankbrasileiro.com.br/
1•xexeno•14m ago•0 comments

Mersenne Twister in a 15-Year-Old Game Binary

https://medium.com/@jizoskasa/i-reverse-engineered-plants-vs-zombies-to-answer-one-very-specific-...
1•birdculture•15m ago•0 comments

Bringing the cybersecurity capabilities of Claude Mythos 5 to more defenders

https://claude.com/blog/bringing-claude-mythos-5-to-more-defenders
1•garo-pro•16m ago•0 comments

Britain would be bonkers to ditch Palantir

https://www.economist.com/leaders/2026/08/20/britain-would-be-bonkers-to-ditch-palantir
1•andsoitis•16m ago•2 comments

Printing Lists

https://matklad.github.io/2026/08/14/printing-lists.html
1•chilipepperhott•17m ago•0 comments

AI is about to uncover a hidden world of animal communication

https://twitter.com/itsolelehmann/status/2090831992200020253
3•bilsbie•20m ago•2 comments

His Wedding Guests Were Arriving–Just as His $45B Fund Was Falling Apart

https://www.wsj.com/finance/leopold-aschenbrenner-situational-awareness-ai-fund-597633d3
1•simonebrunozzi•20m ago•0 comments

The Meta Chalkboard

https://christopherabalos.substack.com/p/the-meta-chalkboard
1•cabalos•22m ago•0 comments

Sharding pytest by file cut collection time from 3 minutes to 40 seconds

https://tobsecret.github.io/2026/08/20/Sharding-Tests-by-File/
1•tobsecret•22m ago•1 comments

Postgres SELECT DISTINCT does not scale

https://www.dbos.dev/blog/postgres-select-distinct-does-not-scale
2•KraftyOne•23m ago•0 comments

Dilution math: why more companies should be boot or seed-strapping

https://readonpaper.substack.com/p/100-of-250m-beats-10-of-2b
1•mondesai•24m ago•0 comments

Volcanoes That Made History

https://knowablemagazine.org/content/article/physical-world/2026/volcanoes-that-made-history
1•knowablemag•26m ago•0 comments

Scientists release biggest 2D map of the universe

https://newscenter.lbl.gov/2026/08/10/scientists-release-biggest-2d-map-of-the-universe/
12•NKosmatos•28m ago•3 comments

A look under our trunk: what’s in our compute

https://waymo.com/blog/2026/08/look-under-our-trunk/
4•giuliomagnifico•29m ago•0 comments

Walmart adding Apple Pay, other tap-to-pay options

https://www.axios.com/2026/08/21/walmart-tap-apple-pay-options
3•kblissett•29m ago•1 comments

The Better You Are at Programming, the Worse AI Looks

https://www.youtube.com/watch?v=_590TxMwvWM
2•root-parent•29m ago•0 comments

Ask HN: Why is HN missing a "go to top" link on long posts?

2•KellyCriterion•30m 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/