frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Tell HN: macOS still trusts the compromised eMudhra

1•hyzyla•1m ago•0 comments

Mathua – Open-source adaptive math learning platform

https://mathua.com
1•alabhyajindal•1m ago•0 comments

Tekken 6 Never Got PC Release – So One Developer Built It, Firestorm Followed

https://www.latintimes.com/tekken-6-never-got-official-pc-release-so-one-developer-built-one-fire...
1•vrganj•2m ago•0 comments

One Small Bug

https://nesbitt.io/2026/10/23/one-small-bug.html
1•robin_reala•4m ago•0 comments

Tell HN: Steamcmd doesn't work on Apple Silicon

1•stdc105•7m ago•0 comments

Go Time Patterns for Agent Scheduling

https://cheikhhseck.medium.com/10-go-time-patterns-for-agent-scheduling-8e0b64dffb5e
1•cheikhdev•8m ago•1 comments

Brotli vulnerability affects curl and Git

https://github.com/advisories/GHSA-9v8h-qqgm-4m35
1•bmitch3020•8m ago•1 comments

Show HN: LeakLock – Gitleaks for your live site(finds keys with no known format)

https://github.com/sgroy10/Leaklock
1•sgroy10•8m ago•0 comments

Alaska's Senate Race Could Be Decided by Salmon

https://www.newyorker.com/news/the-political-scene/alaskas-senate-race-could-be-decided-by-salmon
1•littlexsparkee•10m ago•0 comments

CTG – IT Consulting and Digital Transformation Services

1•jamesmithctg•12m ago•0 comments

Is this the new cyber normal?

https://drew.silcock.dev/blog/is-this-the-new-cyber-normal/
2•drewsberry•14m ago•0 comments

Capitalists Don't Take on "Risk," Workers Do

https://www.currentaffairs.org/news/capitalists-dont-take-on-risk-workers-do
2•robtherobber•15m ago•1 comments

Living House: Adaptive UI and docs using in-browser inference

https://passo.uno/adaptive-ui-docs-using-llms/
1•theletterf•16m ago•0 comments

Chrome now warns before unencrypted HTTP connections

https://blog.google/security/chrome-now-warns-before-insecure-http-connections/
1•jhalderm•16m ago•0 comments

Disgraced eMudhra drops out of TLS business after using cert private key of 4

https://arstechnica.com/security/2026/10/disgraced-emudhra-drops-out-of-tls-business-following-ce...
1•joozio•17m ago•0 comments

How Much Damage Do Fake Shops Cause?

https://nebty-id.com/en/doppelcart-fake-shop-economics/
1•benny_s•18m ago•0 comments

No Need for Retirement When Utopia Is Around the Corner

https://blog.jim-nielsen.com/2026/skip-retirement-for-utopia/
2•speckx•20m ago•0 comments

Black Mirror: Be Right Back

https://www.howclosetoblackmirror.com/be-right-back
1•beatthatflight•22m ago•0 comments

Steam Next Fest Has Become a Disaster and a Grim Look at the Future

https://kotaku.com/steam-next-fest-has-become-a-massive-disaster-and-a-grim-look-at-the-future-20...
1•natebc•24m ago•0 comments

Three Rights of the Image

https://medium.com/@smoking2man/three-rights-of-the-image-how-the-visual-takes-possession-of-real...
1•Aldus551•25m ago•0 comments

Agentic Testing: Where Agents Fit in the E2E Testing Stack

https://slack.engineering/agentic-testing-where-agents-fit-in-the-e2e-testing-stack/
1•ankitg12•26m ago•1 comments

EL2 hypervisor and toolchain that boots macOS on the Snapdragon X2 Elite

https://github.com/Snapintosh/Snapintosh
1•hard_times•26m ago•0 comments

OpenAI's Ad Pixel Tracks by Default, and European Shops Aren't Switching It Off

https://ciphercue.com/blog/openai-chatgpt-ad-pixel-european-shops
2•adulion•26m ago•0 comments

Run AI prompts in any app from your menubar

https://www.snippetbar.com
1•martin_rariga•27m ago•0 comments

Is anybody still coding in PHP?

1•cfarre•28m ago•2 comments

Farewell, BioWare: The End of an RPG Giant

https://gardinerbryant.com/farewell-bioware-the-end-of-an-rpg-giant/
2•speckx•31m ago•0 comments

I get 215 GitHub notifications a day, so I built a bot to triage them

https://paolino.me/copilot-triage/
1•earcar•31m ago•0 comments

Ask HN: Qualcomm Atheros driver issues on Linux firmware?

1•coffeebar•33m ago•0 comments

Snapchat Now Supports PlayCanvas Games

https://blog.playcanvas.com/snapchat-now-supports-playcanvas-games/
1•ovenchips•35m ago•0 comments

Show HN: Orbit – A local macOS workspace for side projects

https://orbitdesktop.com/
1•capten_masin•35m 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/