frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Nathan Fielder Tells Us Everything

https://www.wired.com/story/nathan-fielder-tells-us-everything/
1•shortlived•23s ago•0 comments

How Grok Bot Works

https://www.peterp.me/articles/what-actually-happens-when-you-message-grok-bot/
1•thegreatpeter•37s ago•0 comments

Show HN: An outliner to replace Workflowy and Obsidian – as a Claude connector

https://claude.ai/directory/bulletlist
1•laurentenhoor•38s ago•0 comments

New Rules Push Power Grids Toward Domestic Inverters

https://spectrum.ieee.org/power-grid-security-china-inverters
1•rbanffy•45s ago•0 comments

JAMA AI

https://jamanetwork.com/channels/introducing-jama-ai
1•brandonb•2m ago•0 comments

Android apps running native on macOS

https://github.com/kksimp/Mac.apk
2•flocked•4m ago•0 comments

Netflix Eliminates About 1k Jobs in Biggest Cuts Since 2022

https://www.wsj.com/business/media/netflix-eliminates-about-6-of-staff-in-biggest-cuts-since-2022...
1•haunter•4m ago•0 comments

Chinese export boom has legs – and wings

https://www.reuters.com/world/china/this-chinese-export-boom-really-has-legs-wings-2026-10-15/
2•usernomdeguerre•5m ago•1 comments

The Seventeen Provers of the World [pdf]

https://www.cs.ru.nl/~freek/comparison/comparison.pdf
1•mindcrime•5m ago•0 comments

Software is eating the world; AI is eating software – so what's next?

https://medium.com/@theopriestley/software-is-eating-the-world-ai-is-eating-software-so-whats-nex...
1•judgementday•7m ago•0 comments

A team of Gemini 4 Argon agents beats Minecraft

https://arxiv.org/abs/2610.22319
2•DeepLogin•9m ago•0 comments

A train simulator game for console hackers

https://github.com/antoniovazquezaraujo/LeTrain
1•avaraujo•9m ago•0 comments

Ex-OpenAI worker accused of planting device had Saudi support

https://www.bbc.co.uk/news/articles/c6gel2dlyxvyo
2•4ndrewl•10m ago•0 comments

I no longer care to work on any Ruby gems so I've archived all my repositories

https://po-ru.com/2026/10/18/why-im-no-longer-updating-this-repository
40•phoronixrly•12m ago•10 comments

Failfs

https://docs.kernel.org/next/filesystems/failfs.html
3•PaulHoule•14m ago•1 comments

Backpropagation step by step: the forward and backward pass

https://fremaconsulting.ch/blog/backpropagation
2•tohms•14m ago•1 comments

ARP Tell your network to explain itself

https://benjcal.space/blog/arp-tell-your-network-to-explain-itself/
1•birdculture•15m ago•0 comments

Paradise Lost, Diffed

https://quuxplusone.github.io/blog/2026/10/17/paradise-lost-diffed/
1•ibobev•15m ago•0 comments

Composite objects and C++26 the std:polymorphic type

https://mariusbancila.ro/blog/2026/10/18/composite-objects-and-cpp26-the-stdpolymorphic-type/
1•ibobev•15m ago•0 comments

The advantages of mobile Linux over AOSP

https://amosbbatto.wordpress.com/2026/10/19/the-advantages-of-mobile-linux-over-aosp/
1•amosbatto•15m ago•1 comments

The Problem with C++ Safety (Part 1): Why "It Works" Isn't Good Enough

https://www.modernescpp.com/index.php/cpp-and-memory-safety-part-1/
1•ibobev•16m ago•0 comments

Elizabeth Holmes Tricked Wired–and Everyone Else

https://www.wired.com/story/how-elizabeth-holmes-tricked-wired-and-everyone-else/
1•aray07•16m ago•0 comments

Migrations turn code itself into state

https://github.com/powertime-org/pgdeclare
1•powertime•17m ago•1 comments

Spending 10 months building the most human-like chess bot

https://mbuffett.com/posts/most-human-chess-bot
1•marcusbuffett•19m ago•1 comments

The Code Multiplexer Universe

https://hem.so/multiplexers
1•hodanli•21m ago•0 comments

ADHD, autism and the sensory challenges hidden in everyday clothes

https://www.bbc.com/news/articles/cmkge3q5p2gqo
1•bookofjoe•21m ago•1 comments

Show HN: Driftwatch – breaking-change alerts for the third-party APIs you call

https://driftwatch.et
1•asgerami•22m ago•0 comments

Tom Kincaid: PostgreSQL 19: What Changed, What Matters, and What to Test Now

https://www.enterprisedb.com/blog/postgresql-19-what-changed-what-matters-and-what-test-now
1•hncbw02z5a•23m ago•0 comments

Muse by Meta Terms of Use: What a Regular User Needs to Know

https://lucasaguiar.xyz/posts/muse-meta-termos-de-uso-problemas-responsabilidade/
1•isfttr•24m ago•0 comments

Milos Raonic: Wimbledon finalist to investment banker at Goldman Sachs

https://www.thetimes.com/sport/tennis/article/milos-raonic-andy-murray-goldman-sachs-2wqdm8xgl
1•vismit2000•24m 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/