frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

One Connection Kills a Database

https://planetscale.com/blog/debugging-live-database-connections
1•fagnerbrack•5m ago•0 comments

Intel faced a choice: Give Trump 10% or face the consequences

https://www.wired.com/story/inside-trumps-demands-to-another-chips-ceo/
2•extasetoi12•6m ago•2 comments

Shopify Black Friday Cyber Monday

https://bfcm.shopify.com/
2•thecybernerd•11m ago•1 comments

Show HN: Omnistew – 3D multiplayer RTS inspired by Risk, playable in a browser

https://omnistew.io/
1•omnistew•11m ago•0 comments

3D Medical Viewer

https://github.com/ahmadmustafaanis/Medical-Viewer
1•ahmadanis1234•16m ago•0 comments

US Government bars bandwidth provider RETN from American networks

https://www.reuters.com/business/media-telecom/us-government-bars-bandwidth-provider-retn-america...
2•usernomdeguerre•17m ago•0 comments

Stigler Diet

https://en.wikipedia.org/wiki/Stigler_diet
2•wy35•20m ago•0 comments

Show HN: HardCall – Test 52ms raw RTP vs. 920ms WebSocket barge-in in browser

https://hardcall.statementflow.win
2•wangguode•23m ago•0 comments

Show HN: Plain-Auth an open-source authentication library for Go

https://github.com/Plain-Org/plain-auth
2•NabilSince•26m ago•0 comments

Science, startups and beer predict 92% of a country's HN readership

https://micjm.com/blog/hn-readership-science-startups-beer/
3•seizethecheese•27m ago•0 comments

Game-Changing Move Just Gave America the Edge over China in AI

https://www.wsj.com/tech/a-game-changing-move-just-gave-america-the-edge-over-china-in-ai-53492e2c
1•bookofjoe•28m ago•1 comments

Show HN: Far Worlds, a co-op voxel RPG that runs in the browser on WebGPU/WebRTC

https://farworlds.com/play
1•braydo25•30m ago•0 comments

Poland signs contract with Palantir worth $300M over 5 years

https://www.reuters.com/technology/poland-signs-contract-with-palantir-worth-300-mln-over-5-years...
3•danielam•34m ago•0 comments

Happy 60th Birthday to PDP-10, running ITS and Zork

https://hyperties.org/machine/games/zork/
3•DonHopkins•42m ago•1 comments

Discord: Important Policy Updates

https://discord.com/safety/important-policy-updates
2•marjipan200•43m ago•0 comments

Native Apple CarPlay running on iPhone or iPad. All in one device

https://github.com/DriveDeckApp/InstallDriveDeck
2•driftfire98•44m ago•0 comments

Scout – free Al agents that work while you're away

https://scoutcode.dev/
1•gentra•45m ago•2 comments

First Substack Post

https://substack.com/profile/134183441-avi-perera/note/c-398559756?utm_source=substack&utm_conten...
2•workwithavip•48m ago•0 comments

Show HN: A 52 KB WebAssembly engine that runs Qwen3.5-2B in a browser tab

https://tesseracted.com/experiments-llm-os/
3•kkm•50m ago•0 comments

They Bought Their Dream Home. Their Neighbors Want to Evict Them

https://www.nytimes.com/2026/11/26/world/europe/pasolini-house-eviction-court.html
2•Michelangelo11•52m ago•1 comments

Civet: TypeScript superset that favors more types and less typing

https://github.com/DanielXMoore/Civet
1•nateb2022•54m ago•0 comments

Manna (2003)

https://en.wikipedia.org/wiki/Manna_(novel)
5•simonebrunozzi•55m ago•0 comments

Flemish Media (DPG) & Broadcaster (VRT) Archives

https://hetarchief.be/en
1•gnabgib•59m ago•0 comments

OpenAI countersues Apple for stealing trade secrets

https://www.ft.com/content/af599e07-d44c-4068-ab84-6ee3c85551d4
4•mgh2•1h ago•0 comments

Named constants and supporting objects in C

https://gustedt.wordpress.com/2026/11/06/named-constants-and-supporting-objects-in-c/
1•ingve•1h ago•0 comments

Frontier agents are still unreliable at sustained goal-oriented work

https://twitter.com/lateinteraction/status/2126057001964704241
2•espeed•1h ago•0 comments

Today YouTube suspended my channel for "unsatisfying or off-putting content"

https://twitter.com/alscyborg/status/
1•fortran77•1h ago•0 comments

Google DeepMind's AI safety researcher: "I'm not optimistic"

https://twitter.com/alexmichael/status/2125976282303471643
3•doener•1h ago•0 comments

Show HN: Vending Bench – The Game

https://vending-bench-game.flo.st
1•floo•1h ago•1 comments

Show HN: OpenMessageBoard: a message board spec for people and AI agents

2•reachjalil•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/