frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Distillation Panic

https://www.interconnects.ai/p/the-distillation-panic
1•pretext•32s ago•0 comments

Fish 4.0: The Fish Of Theseus (2024)

https://fishshell.com/blog/rustport/
1•agluszak•51s ago•0 comments

X-motemen/ghq: Remote repository management

https://github.com/x-motemen/ghq
2•ankitg12•1m ago•0 comments

FileXL – A Large File Transfer Up to 15GB for Free

1•FileXL•2m ago•0 comments

UX Myths (2014)

https://uxmyths.com
1•downbad_•3m ago•1 comments

As Oil Prices Stay High, China Doubles Down on Wind Power

https://www.nytimes.com/2026/05/05/business/china-wind-turbines.html
1•JumpCrisscross•3m ago•0 comments

Farewell to Rails-Way: Prologue

https://paweldabrowski.com/farewell-to-rails-way/prologue
1•pdabrowski6•7m ago•0 comments

Show HN: I needed to animate my Excalidraw -ings for my tech blog

https://marketplace.visualstudio.com/items?itemName=martin-lysk.excaliframe
3•mlysk•9m ago•1 comments

Urme: A search tool for your Claude Code conversations

https://medium.com/@corneliuhoffman/claude-is-dory-urme-is-marlin-02caf433ed7d
1•reborg•10m ago•0 comments

Crypto-miners are quietly colonising computers

https://www.economist.com/science-and-technology/2026/04/22/crypto-miners-are-quietly-colonising-...
1•1vuio0pswjnm7•10m ago•0 comments

Podman-minimal: start using containers on windows, Linux, Mac with one command

https://github.com/vincenzoml/podman-minimal
1•vincenzoml•10m ago•1 comments

Run Claude Cowork against your own cloud inference provider

https://claude.com/docs/cowork/3p/overview
1•pros•11m ago•0 comments

Week one of the Musk vs. Altman trial: What it was like in the room

https://www.technologyreview.com/2026/05/04/1136826/week-one-of-the-musk-v-altman-trial-what-it-w...
1•joozio•14m ago•0 comments

Google AI workers vote to unionise over IDF and US Military tech

https://www.computerweekly.com/news/366642677/Google-AI-workers-vote-to-unionise-over-IDF-and-US-...
2•beardyw•14m ago•0 comments

How to enable post-quantum protection in Proton Mail

https://proton.me/support/mail-post-quantum-protection
1•donohoe•15m ago•0 comments

Google DeepMind workers in UK vote to unionize amid deal with US Military

https://www.theguardian.com/us-news/2026/may/04/google-deepmind-uk-workers-union
4•moxifly7•15m ago•0 comments

A Hidden Liability for U.S. Cities: Looming Infrastructure Repair Costs

https://www.wsj.com/us-news/a-hidden-liability-for-u-s-cities-looming-infrastructure-repair-costs...
1•JumpCrisscross•15m ago•0 comments

Meta stock might look cheap if it weren't for Mark Zuckerberg

https://www.ft.com/content/85732906-e384-4706-be04-644023d18121
1•1vuio0pswjnm7•15m ago•0 comments

Coinbase to cut about 14% of workforce

https://www.reuters.com/business/world-at-work/coinbase-cut-about-14-workforce-2026-05-05/
2•saos•15m ago•1 comments

Using the xAI voice cloning API

https://andrewpwheeler.com/2026/05/04/xai-voice-cloning-api/
1•apwheele•16m ago•0 comments

Foundry Capacity Is Limiting Who Competes at Leading Edge Nodes

https://semiengineering.com/foundries-capacity-is-limiting-who-competes-at-leading-edge-nodes/
1•rbanffy•17m ago•0 comments

DeepSeek V4's indexer OOMs at 65K context. We got it to 1M in 6G

https://arxiv.org/abs/2605.02568
2•OsamaJaber•17m ago•0 comments

As X shuts down Communities, Acorn debuts an alternative

https://techcrunch.com/2026/05/04/as-x-shuts-down-communities-acorn-debuts-an-alternative-that-pu...
1•donohoe•17m ago•0 comments

Explosion Rocks SpaceX's Test of Water Deluge System Ahead of Starship Launch

https://gizmodo.com/explosion-rocks-spacexs-test-of-water-deluge-system-ahead-of-starship-launch-...
1•rbanffy•18m ago•0 comments

How do you defend electron in the memory footprint discussion?

https://docs.voiden.md/docs/getting-started-section/getting-started/why-electron/
1•nikolasdimi•18m ago•1 comments

UnitedHealth to Make It Easier for Patients to Get a Range of Procedures

https://www.wsj.com/health/healthcare/unitedhealth-prior-authorization-278ec87f
2•JumpCrisscross•21m ago•0 comments

Musk to pay $1.5M over SEC Twitter stake case

https://www.latimes.com/business/story/2026-05-04/musk-to-pay-1-5-million-over-sec-twitter-stake-...
2•1vuio0pswjnm7•22m ago•0 comments

Show HN: Cubitoo Journal, your web journaling app

https://journal.cubitoo.com/en
1•pawelkomarnicki•22m ago•1 comments

Talk to your project/app AI [video]

https://vimeo.com/1189337961
1•voice-to-code•24m ago•3 comments

Show HN: Hashful storage. Store your whole file in the URL hash

https://0x1.pt/dl
1•vmsp•26m 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•12mo ago
Is this a problem that people actually have?
xeromal•12mo ago
Fun side project man!
primitivesuave•12mo 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•12mo 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•12mo ago
You can still control it by adding "//no-await". In fact, the "//no-await" makes me feel more clear.
nextweek2•12mo 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•12mo ago
It should be noted that there is already a lint rule for this: https://typescript-eslint.io/rules/no-floating-promises/