frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

PointerCam, a screen recorder that zooms on clicks and writes guides

https://pointercam.com/
1•rhrahul•42s ago•0 comments

A tale of two PHP remote vulnerabilities

https://calif.io/php2shell.x/
1•wyclif•1m ago•0 comments

Go++

https://github.com/jordan-bonecutter/go-plus-plus
1•jordan_bonecut•3m ago•1 comments

Physicists trap a single antimatter particle for a month For the first time

https://www.yahoo.com/news/science/articles/physicists-trap-single-antimatter-particle-150000058....
1•thunderbong•3m ago•0 comments

Demis Hassabis shortens AGI timeline from five to two to three years

https://the-decoder.com/deepmind-founder-hassabis-shortens-agi-timeline-from-five-to-two-to-three...
1•brandonb•6m ago•1 comments

Peter Thiel breaks with Trump over Iran war: 'We should not have done it'

https://www.politico.com/news/2026/10/21/peter-thiel-trump-iran-war-01131284
2•wslh•6m ago•0 comments

Assure – formal verification for every PR

https://symbolia.ai/
2•Veloc1te•8m ago•0 comments

Show HN: Supastack – Cross-Platform Turborepo for Next.js, Expo, and Tauri

https://supastack.dev
1•Learnmore_smart•9m ago•0 comments

CVE Tracker

https://cve.0xosprey.com/
1•mtweak•9m ago•0 comments

Tech's Enshittification, Public Markets, and Business Schools

https://tomorrowasusual.substack.com/p/techs-enshittification-public-markets
2•tudell•9m ago•1 comments

GrillMyProfile – free AI roast of your LinkedIn, scored against a job posting

https://www.grillmyprofile.com
1•luckeybearcreat•10m ago•0 comments

Dagger – Automation to build, test and ship; locally, in CI, or in the cloud

https://github.com/dagger/dagger
1•keyle•10m ago•0 comments

Is there any platform better than Talent Share for custom learning?

https://www.talent-share.com/
1•tlntshare45•13m ago•1 comments

Eric Trump–Backed Israeli Founder Flies Drones over End Zones and into War Zones

https://www.vanityfair.com/story/xtend-defense-drones-gaza
3•grandpajoey•18m ago•1 comments

MiniMaxAI/MiniMax-M3.1-Flash

https://huggingface.co/MiniMaxAI/MiniMax-M3.1-Flash
2•Philpax•20m ago•0 comments

1Password launches a way for AI to log in for you without seeing your password

https://techcrunch.com/2026/10/22/1password-launches-a-way-for-ai-agents-to-log-in-on-your-behalf...
1•willmarch•21m ago•1 comments

Home Prices Are Starting to Fall in Some Pockets of the U.S.

https://www.nytimes.com/2026/10/22/business/mortgage-rates-housing-costs.html
3•lxm•24m ago•1 comments

Canva's first in-house AI image model plans designs before generating them

https://www.theverge.com/ai-artificial-intelligence/1017151/canva-craft-in-house-ai-model
2•willmarch•25m ago•0 comments

Show HN: Most feature complete Apple notes MCP bridge

https://github.com/xiaofeng-han/apple-notes-mcp
1•hhhanxfus•29m ago•0 comments

Show HN: A Mandelbrot and Julia explorer in the browser using WebGPU

https://fractallens.com/fractals/
1•Ladi_M•29m ago•0 comments

Node2Shell: Node.js Brotli vulnerability allows remote code execution

https://www.aikido.dev/blog/node2shell-nodejs-brotli-rce-cve-2026-111497
3•Fordec•35m ago•0 comments

CVE-2026-109619 PHP Sentinel

https://github.com/Taz1920/php-sentinel
1•Ryantjbirdusnav•36m ago•1 comments

The foolishness of "natural language programming" (1978)

https://www.cs.utexas.edu/~EWD/transcriptions/EWD06xx/EWD667.html
8•xiaoyu2006•38m ago•4 comments

Affluent and Older Americans Got Much Richer in Postpandemic Years

https://www.wsj.com/economy/affluent-and-older-americans-got-much-richer-in-the-postpandemic-year...
2•tchalla•44m ago•0 comments

Show HN: Export Visible WhatsApp Web Contacts to Excel or CSV in Chrome

https://contacts.wawebplus.com/
1•complanboy2•45m ago•0 comments

Twitch Plays: Interpretability of Bonsai-8B

https://www.lesswrong.com/posts/ozbbzsh49wvgfbCDp/twitch-plays-ai-interpretability-of-bonsai-8b
1•mordymoop•45m ago•1 comments

Selling GPU Credits

1•levitaplows•47m ago•0 comments

Apple's $2k iPhone Duo is selling for as little as $800

https://www.cnbc.com/video/2026/10/22/appleas-2000-iphone-duo-is-already-selling-for-as-little-as...
1•mgh2•48m ago•0 comments

Ask HN: I acquired a 4-letter domain, what would you do with it?

1•normalocity•59m ago•0 comments

Livestream GLM-5.3 playing Minecraft

https://twitch.sailresearch.com/watch.html
1•bobstax•1h ago•2 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/