frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Designing Multispecies Worlds for Robots, Cats, and Humans (2024)

https://programs.sigchi.org/chi/2024/program/content/147577
1•lnyan•1m ago•0 comments

Show HN: Hackernewsd v3 – Automate monitoring topics on Hacker News and Lobsters

https://github.com/somegenericdev/hackernewsd
1•somegenericdev•1m ago•0 comments

Datadog, Thank You for Blocking Us

https://www.deductive.ai/blogs/datadog-thank-you-for-blocking-us
1•binarylogic•1m ago•0 comments

Why do south Indian ladies have big boobs with dark nipples

1•Shashikant_99•3m ago•0 comments

Show HN: Accio – Summon apps with keyboard shortcuts

https://github.com/bjornorri/Accio
1•bjornorri•4m ago•0 comments

Show HN: User-first oriented picture browser optimised for Fujifilm Xhalf

https://xhalf.nakarmamana.ch/FUJIFILM%20X-HF1_FILM_11_20250923_20250924_36_36(1)/index.html
1•alfanick•5m ago•0 comments

Open Philanthropy Is Now Coefficient Giving

https://coefficientgiving.org/research/open-philanthropy-is-now-coefficient-giving/
1•surprisetalk•5m ago•0 comments

Who Is in Space – Live Updates

https://whoisinspace.com
1•surprisetalk•5m ago•0 comments

༄ Gravity Basins ࿐ [video]

https://www.youtube.com/watch?v=LavXSS5Xtbg
1•surprisetalk•5m ago•0 comments

San Remo Pasta Measurer

https://www.toxel.com/tech/2025/09/17/san-remo-pasta-measurer/
1•surprisetalk•6m ago•0 comments

C# wins Tiobe Programming Language of the Year honors for 2025

https://www.infoworld.com/article/4112993/c-wins-tiobe-programming-language-of-the-year-honors-fo...
1•mooreds•8m ago•0 comments

Chinese nuclear fusion reactor pushes plasma past crucial limit: what's next

https://www.nature.com/articles/d41586-026-00063-4
1•bookofjoe•11m ago•0 comments

RTX 5090 and Raspberry Pi: Can It Game?

https://scottjg.com/posts/2026-01-08-crappy-computer-showdown/
5•scottjg•12m ago•0 comments

If you could recommend one book to someone, what would it be and why?

https://onebooklist.com/
1•babilonczyk•14m ago•1 comments

I'm caught in a trademark row with Cambridge University – it's terrifying

https://www.bbc.com/news/articles/cy84epwx099o
3•tlyleung•14m ago•0 comments

What is a seed phrase, and why is it important in crypto?

https://altcoindesk.com/perspectives/learn/what-is-a-seed-phrase-and-why-is-it-important-in-crypt...
1•Bahira•16m ago•0 comments

Ford Will Debut Eyes-Off Autonomous Driving on Its Upcoming $30K EV

https://www.caranddriver.com/news/a69946404/ford-eyes-off-autonomous-driving-universal-ev/
2•rmason•16m ago•1 comments

Ask HN: Why did ICE deport my coworker?

9•RyanShook•18m ago•1 comments

EuroStack

https://eurostack.eu/
1•based2•19m ago•0 comments

De nieuwe aanpak van de WHO ten aanzien van pandemieën: opportunisme boven bewij

https://vincentschoers.substack.com/p/de-nieuwe-aanpak-van-de-who-ten-aanzien
1•Agnost•20m ago•0 comments

Astuto end of life – Thanks everyone

https://github.com/astuto/astuto/issues/487
1•pentagrama•21m ago•0 comments

Snow Melt System (City of Holland, MI)

https://www.cityofholland.com/879/Snowmelt-System
2•rmason•21m ago•3 comments

IXI's autofocusing lenses are almost ready to replace multifocal glasses

https://www.engadget.com/wearables/ixis-autofocusing-lenses-multifocal-glasses-ces-2026-212608427...
1•atombender•22m ago•0 comments

The AuDHD Guide (Late-Diagnosed)

https://bridgettehamstead.substack.com/p/the-audhd-guide-late-diagnosed
1•rini17•22m ago•0 comments

When Misinformation Means the Difference Between Life and Death

https://www.lawfaremedia.org/article/when-misinformation-means-the-difference-between-life-and-death
1•hn_acker•23m ago•0 comments

Meta signs 6+ GW of nuclear with 3 companies

https://techcrunch.com/2026/01/09/meta-signs-deals-with-three-nuclear-companies-for-6-plus-gw-of-...
2•burnt-resistor•23m ago•2 comments

Neurosynaptic Core Prototype for Memristor Crossbar Arrays Diagnostics

https://www.mdpi.com/2079-9292/14/24/4965
1•PaulHoule•25m ago•0 comments

Rep. Luna Threatens Journalist with Prison for Posting Public University Bio

https://www.techdirt.com/2026/01/09/rep-luna-threatens-journalist-with-prison-for-posting-public-...
7•hn_acker•25m ago•1 comments

Of all the quarries: Casablanca fossils reveal African ancestors of Homo sapiens

https://www.nature.com/articles/d41586-025-03986-6
1•whisper_yb•26m ago•0 comments

Alpamayo: Open-Source AI Models/Tools for Reasoning-Based Autonomous Vehicles

https://nvidianews.nvidia.com/news/alpamayo-autonomous-vehicle-development
1•gmays•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•8mo ago

Comments

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