frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

What remains scarce after AGI?

https://www.dwarkesh.com/p/alex-imas-phil-trammell
1•gmays•1m ago•0 comments

Moomin (1990)

https://archive.org/details/moomin-1990
1•petethomas•2m ago•0 comments

Sestriere: Native MeshCore LoRa Mesh Client for Haiku OS

https://github.com/atomozero/Sestriere
1•iamnothere•2m ago•0 comments

Why Tech CEOs Are Quietly Cancelling Their AI Plans [video][9 Mins]

https://www.youtube.com/watch?v=NBtUgWn-nHs
2•Bender•4m ago•0 comments

ECO: An LLM-Driven Efficient Code Optimizer for Warehouse Scale Computers

https://arxiv.org/abs/2503.15669
2•bone_tag•9m ago•0 comments

Individual locomotor bias drives counterclockwise motion in pedestrian crowds

https://www.nature.com/articles/s41467-026-73713-w
2•js2•17m ago•1 comments

How to build a landing page with AI, no code [video]

https://www.youtube.com/watch?v=06azxD5FOo8
3•nongquy•17m ago•0 comments

OpenAI considers drastic price cuts, anticipating war for users with Anthropic

https://www.reuters.com/technology/openai-considers-drastic-price-cuts-anticipating-war-users-wit...
5•theanonymousone•21m ago•0 comments

Ask HN: What coding agents are you using?

2•linzhangrun•22m ago•1 comments

A Tough Year

https://littlefeelings.substack.com/p/a-tough-year
2•martialg•24m ago•0 comments

Piper: A Programmable Distributed Training System

https://syfi.cs.washington.edu/blog/2026-06-05-piper/
2•matt_d•27m ago•0 comments

Teardown Confirms the Trump Phone Is a Gold-Painted HTC U24 Pro

https://www.ifixit.com/News/117789/teardown-confirms-the-trump-phone-is-a-gold-painted-htc-u24-pro
5•jerlam•27m ago•0 comments

Show HN: Hacker's Guides

https://github.com/jeffshrager/HackersGuides
2•abrax3141•28m ago•0 comments

Canada proposes teen social media ban – with workaround for tech firms

https://www.bbc.com/news/articles/c872x47gnyjo
5•grugagag•31m ago•0 comments

Sam Altman is starting to panic [video][8mins]

https://www.youtube.com/watch?v=lwjVjD3oQJg
4•Bender•32m ago•0 comments

Initial impressions of Claude Fable 5

https://simonwillison.net/2026/Jun/9/claude-fable-5/
4•gillytech•33m ago•1 comments

The Fall and Rise of Reginald Perrin (1976)

https://archive.org/details/reginaldperrin
2•petethomas•35m ago•0 comments

Scarcity is driving AI innovation outside Silicon Valley

https://restofworld.org/2026/scarcity-is-driving-ai-innovation-outside-silicon-valley/
2•colinprince•39m ago•0 comments

China Lures Foreign Patients with Cutting-Edge, Cheap Medical Care

https://www.bloomberg.com/news/features/2026-06-10/china-s-medical-tourism-boom-draws-foreign-pat...
4•polrjoy•39m ago•0 comments

Khronos Announces glTF Gaussian Splatting Extension

https://www.khronos.org/news/press/gltf-gaussian-splatting-press-release
3•lairv•43m ago•1 comments

Teenagers Stayed Overnight at Their School and Found Hidden Ancient Roman Ruins

https://www.smithsonianmag.com/smart-news/these-italian-teenagers-stayed-overnight-at-their-schoo...
3•thunderbong•45m ago•0 comments

Stretching a point: the economics of elastic infrastructure

https://ably.com/blog/stretching-a-point-economics-of-elastic-infrastructure
2•b-man•46m ago•0 comments

An Information-Theoretic Approach to the Computational Complexity of TSP

https://zenodo.org/login/?next=%2Fme%2Fuploads%3Fq%3D%26f%3Dshared_with_me%25253Afalse%26l%3Dlist...
2•Dori_Lee•47m ago•0 comments

The theory taking the rich by storm: China funds data center haters

https://www.npr.org/2026/06/10/nx-s1-5844328/us-china-data-centers-foreign-influence
4•beedeebeedee•49m ago•0 comments

We Used Agentic AI to Fix Kong Gateway's Flakiest Tests

https://konghq.com/blog/engineering/how-we-used-agentic-ai-to-fix-kong-gateways-flakiest-tests
4•dndx•59m ago•0 comments

Why are there an increasing number of outright unhinged high karma users on HN?

8•MichaelZuo•1h ago•11 comments

Shrubbery syntax for Racket

https://docs.racket-lang.org/shrubbery/index.html
2•azhenley•1h ago•0 comments

Wanted: Dead or Alive. Google Search Console

https://medium.com/@thesuperrepemail/wanted-dead-or-alive-google-search-console-17a2ed7424eb
3•mssblogs•1h ago•0 comments

Old Violins (1910)

https://www.gutenberg.org/cache/epub/78831/pg78831-images.html
3•petethomas•1h ago•0 comments

Bread and Cake Baking (1877)

https://www.gutenberg.org/cache/epub/78839/pg78839-images.html
2•petethomas•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/