frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Security incident: Hostwinds client area offline

https://status.hostwinds.com/
2•debo_•7m ago•0 comments

Half‑Life: Alyx on Apple Vision Pro

https://glovebox.vision/
1•bryan0•12m ago•0 comments

HTX's iPhone Duo Review

https://www.youtube.com/watch?v=o1qc29t04GI
1•skogstokig•13m ago•0 comments

Max is now source available and open to everyone

https://www.modular.com/blog/max-license
1•nickmain•19m ago•0 comments

"Interesting hidden file on NVR"

https://www.reddit.com/r/reolinkcam/s/QIovKvK0JI
1•hentrep•20m ago•0 comments

Alzheimer's breakthrough: 2 hrs of sleep restored without clearing brain plaques

https://www.sciencedaily.com/releases/2026/10/261018084421.htm
7•amichail•21m ago•1 comments

LeTrain v1.0.0-beta.7 is out

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

The Emperor's New Clothes – Edward Snowden (2026) [video]

https://www.youtube.com/watch?v=zMG6aRZhIGE
1•xeonmc•28m ago•0 comments

Afterfeed: A tool to view all your social media backups

https://github.com/rebeccathedev/afterfeed/
1•RebeccaTheDev•31m ago•0 comments

DeepSeek Just Shook the AI Industry Again [video]

https://www.youtube.com/watch?v=YX6QdIYVSgY
1•Bender•31m ago•0 comments

If I wanted to talk to people I wouldn't come here

https://talktopeople.online
1•bobby2shorts•34m ago•0 comments

The One Question I Can't Stand at Restaurants

https://www.theatlantic.com/culture/2026/10/restaurant-phone-number-question/688926/
1•voisin•35m ago•1 comments

A visual introduction to information theory

https://arxiv.org/abs/2206.07867
1•nill0•36m ago•0 comments

Password, Please: Border Searches of Laptops, Phones Up 32% This Year

https://gizmodo.com/password-please-border-searches-of-laptops-phones-up-32-this-year-2000830213
1•gumby•36m ago•0 comments

SCAMPI Mission Launches to the ISS

https://education.esa.int/student-built-scampi-experiment-launches-to-the-international-space-sta...
1•binarymax•36m ago•0 comments

Users of Apple's new $2K iPhone Duo are complaining of cracked devices

https://nypost.com/2026/10/23/business/apples-new-2k-iphone-duo-wows-critics-with-foldable-screen...
2•lakeviewterrace•38m ago•2 comments

Mark Zuckerberg Pushed Meta to Shield Him from California's Proposed Wealth Tax

https://www.nytimes.com/2026/10/21/technology/mark-zuckerberg-meta-california-wealth-tax.html
15•JKCalhoun•38m ago•12 comments

Show HN: 27B open model to grade robot data 48x cheaper/27x faster vs. 6 Astra

https://twitter.com/josefchen/status/2113687649131336039
1•josefchen•41m ago•0 comments

The anti-AI writing police are everywhere. What are they looking for?

https://www.cnn.com/2026/10/21/tech/ai-detectors-pangram-literary-prizes-cec
1•paulpauper•43m ago•0 comments

Winter on the Ward

https://ussri.substack.com/p/winter-on-the-ward
1•paulpauper•44m ago•0 comments

Book Review: The Ghost in My Brain

https://www.astralcodexten.com/p/your-book-review-the-ghost-in-my
1•paulpauper•45m ago•0 comments

Brotli Decoder Vulnerability

https://patchtheplanet.org/brotli
2•nthypes•45m ago•2 comments

Google's Frontier Imperative, Compute Scarcity Dilemmas and the Future of AI

https://www.bigtechnology.com/p/sundar-pichai-googles-frontier-imperative
1•gmays•48m ago•0 comments

Twelve Years of Distributed SQLite

https://philipotoole.com/twelve-years-of-distributed-sqlite/
2•otoolep•57m ago•0 comments

Around a dozen banking apps began specifically permitting GrapheneOS

https://grapheneos.social/@GrapheneOS/117492375462459244
2•privacyishuman•59m ago•0 comments

I built rooms for AI agents to work together

https://bellman.sh/r/blog/p001-hello-front-desk
2•mcfearsome•1h ago•0 comments

Show HN: MotorHangar: Car specs, safety ratings, and recalls in one place

https://motorhangar.com/
1•lou_alcala•1h ago•0 comments

GhostLite: Why we need another blogging app

https://kumailht.com/introducing-ghostlite-or-why-we-need-yet-another-blogging-app/
1•khet•1h ago•0 comments

Ask HN: What was pancake.apple.com used for?

https://pancake.apple.com
1•BSOhealth•1h ago•2 comments

Remake: Enhanced GNU Make

https://github.com/Trepan-Debuggers/remake
2•denysonique•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/