frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Microsoft Lunduke Is Slop

https://techrights.org/n/2026/11/02/Microsoft_Lunduke_is_Slop.shtml
1•amcclure•1m ago•0 comments

Over the wire: Email vs. WhatsApp vs. fmsg

https://fmsg.ai/blog/over-the-wire
1•markmnl•1m ago•0 comments

I wear your company's merch at Corgi Coffee,London UK for the days you book

https://corgiboy.co.uk/
1•vincouvert•2m ago•0 comments

By Killing the "Linux News Section" in Softpedia It Killed Itself

https://techrights.org/n/2026/11/02/By_Killing_the_Linux_News_Section_in_Softpedia_the_Most_Popul...
1•amcclure•2m ago•0 comments

Claude: Pricier per token but Half the cost per answer

https://www.revos.ai/blog/claude-vs-gemini-for-ai-agents
1•zubairov•2m ago•0 comments

The Legend of Zelda for the Commodore 64

https://csdb.dk/release/?id=265398
1•oldnetguy•2m ago•0 comments

Show HN: Devpush – Self-Hosted PaaS for Docker Compose

https://devpu.sh/
1•hunvreus•2m ago•0 comments

Commonplace Book

https://en.wikipedia.org/wiki/Commonplace_book
1•mattvr•3m ago•0 comments

Codeberg Is Unusable

1•countWSS•3m ago•0 comments

Writing for Good

https://techrights.org/n/2026/11/02/Writing_for_Good.shtml
1•amcclure•4m ago•0 comments

PHP2Shell: 3M knocks on the Imunify360 fleet, and no sign it got in

https://blog.imunify360.com/php2shell-3-million-knocks-on-the-imunify360-fleet/
1•speckx•5m ago•0 comments

United Nations Mappers

https://maps.un.org/community
1•mmooss•5m ago•0 comments

Netflix Needs You to Watch, Not Just Pay

https://www.wsj.com/business/media/netflix-needs-you-to-watch-not-just-pay-f3d90b73
1•pretext•6m ago•0 comments

AI Applications Earn Their Premium

https://www.a16z.news/p/how-ai-applications-earn-their-premium
1•jbredeche•6m ago•0 comments

Show HN: Spy Back on Your TV: HDMI Man in the Middle

https://www.youtube.com/watch?v=ktMCGZ_xHi4
1•NickySlicks•6m ago•0 comments

Building the Data Model Factory

https://cube.dev/blog/data-modeling-is-becoming-system-design
1•skadamat•8m ago•0 comments

Characters AI Chat

https://charactersaichat.com/
1•chandima1997•10m ago•0 comments

Expat 2.10.0 released, fixes four vulnerabilities

https://blog.hartwork.org/posts/expat-2-10-0-released/
1•spyc•10m ago•0 comments

The Daylight Savings Debate Isn't About Energy Anymore

https://www.bloomberg.com/news/articles/2026-10-30/what-the-latest-research-says-about-energy-sav...
1•tobadzistsini•11m ago•1 comments

Queen of the Bagel Business

https://thehustle.co/originals/the-unlikely-queen-of-the-bagel-business
1•qi104104•11m ago•0 comments

Show HN: MxRaven – Programmable email infra for nothing in particular

https://sandbox.mxraven.com/
1•ku5h•11m ago•1 comments

Discovering and Exploiting Vulnerabilities with Claude

https://www.anthropic.com/research/discovering-vulnerabilities-with-claude
3•hermitShell•11m ago•0 comments

Apple-Auth – Emulation-Free Native SDK for GrandSlam, Anisette, and Store Auth

https://github.com/apple-auth/apple-auth
1•yummyf•13m ago•0 comments

Distance Fields

https://visualrambling.space/distance-fields/
1•surprisetalk•14m ago•0 comments

Digging Deeper into the IIgs's Object Module Format

https://bumbershootsoft.wordpress.com/2026/10/31/digging-deeper-into-the-iigss-object-module-format/
1•ibobev•15m ago•0 comments

Anthropic's quarterly loss shrinks, revenue jumps ahead of blockbuster IPO

https://www.reuters.com/business/anthropics-quarterly-loss-shrinks-revenue-jumps-ahead-blockbuste...
1•tartoran•15m ago•0 comments

Killing what can't be handled – putting a spaghetti demon to eternal rest

https://themaister.net/blog/2026/10/29/killing-what-cant-be-handled-putting-a-spaghetti-demon-to-...
2•ibobev•15m ago•0 comments

A New Map of 'Empty' Space Challenges a Tranquil Picture of the Galaxy

https://www.quantamagazine.org/a-new-map-of-empty-space-challenges-a-tranquil-picture-of-the-gala...
2•ibobev•16m ago•0 comments

Scams Don't Have to Make Sense to Make Money

https://brothke.medium.com/scams-dont-have-to-make-sense-to-make-money-512b15f15e28
1•benrothke•17m ago•1 comments

The Palantir Growth Machine: Visualized [video]

https://www.youtube.com/watch?v=ueeZ2E16EqE
1•affalytics•17m 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/