frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Changes to the SmartThings Integration for Home Assistant

https://community.smartthings.com/t/changes-to-the-smartthings-integration-for-home-assistant-wha...
1•haimgel•1m ago•0 comments

Ask HN: How do you find out when someone links to your blog?

1•velcrovan•2m ago•0 comments

Newsom Moves to Empty California's Death Row by Commuting 548 Sentences

https://www.kqed.org/news/12108596/newsom-moves-to-empty-californias-death-row-by-commuting-548-s...
1•geox•3m ago•0 comments

Why You Should Care About The Political Project of Twisted

https://blog.glyph.im/2026/11/the-project-of-twisted.html
1•lumpa•4m ago•0 comments

Somebody made an AI clone of Mark Brown's indie game [video]

https://www.youtube.com/watch?v=8LMau1qXPYE
1•agnishom•8m ago•0 comments

The Dangerous Illusion of the "Two-Week AI Expert"

https://medcitynews.com/2026/11/the-dangerous-illusion-of-the-two-week-ai-expert-a-call-to-action...
1•sshah03•13m ago•0 comments

Robodinest – Robotics Supply Chain Visualize

https://robodienst.com/supply-chain/bd-atlas
1•iamanatom•13m ago•0 comments

Everything you need to know about the cybersecurity apocalypse

https://kerkour.com/cybersecurity-apocalypse
1•worik•17m ago•0 comments

Problems to Avoid When Building an Agentic Landing Page Translation System

https://www.kapwing.com/blog/ghost/#/editor/post/6aed27d52c0f98c7c385563a
1•jenthoven•27m ago•0 comments

NASA telescope is predicted to come crashing down after failed rescue mission

https://apnews.com/article/swift-observatory-nasa-telescope-e890935df7f468048594286566a96357
2•gmays•30m ago•1 comments

Switch to Safari

https://mjtsai.com/blog/2026/11/05/switch-to-safari/
2•gmays•32m ago•1 comments

Three way Git merging with meld

https://lukas.zapletalovi.com/posts/2012/three-way-git-merging-with-meld/
1•zahrevsky•36m ago•0 comments

Introduction to Mechanics for Engineers

http://ruina.tam.cornell.edu/Book/
1•pillars•37m ago•0 comments

Moving a Go CMS to encoding/JSON/v2

https://hatamoto.dev/post/moving-hatamoto-to-encoding-json-v2
1•zenincognito•38m ago•0 comments

Reachmap

https://reachmap.app/
1•wwaymonsam•40m ago•0 comments

EA re-releases 25 classic games, restores Wing Commander and Road Rash FMVs

https://www.ea.com/news/ea-classics-launch
2•bpierre•41m ago•0 comments

Ancient warriors got high on cannabis, burial mound reveals

https://www.thetimes.com/uk/history/article/scythians-cannabis-siberia-tunnug-herodotus-pm6vs6rlk
4•bookofjoe•42m ago•0 comments

Scarce Positions of Economic Power Gain from Increasingly Capable AI

https://commanding-heights.com/
1•benwen•45m ago•0 comments

Regulators approve generic HIV-prevention drug for low-income countries

https://apnews.com/article/generic-lenacapavir-gilead-who-prep-hiv-c3537796e84c54d60179eba3c56561e6
4•gmays•48m ago•0 comments

FrontierPhysics: Evaluating Agents for End-to-End Physics Research

https://arxiv.org/abs/2611.06910
1•bingran_you•49m ago•0 comments

Habla – I built a free Spanish-learning app for iOS

https://apps.apple.com/fr/app/habla-learn-spanish-fast/id6783860670
1•brmmuhoil•50m ago•0 comments

Proled XDR Display Technology Overview [pdf]

https://www.apple.com/macbook-pro/proled-xdr-display/pdf/PROLED_XDR_Display_Technical_Paper.pdf
1•interpol_p•56m ago•0 comments

How to Set Up Web Page Minification with VitePress

https://meiert.com/blog/web-page-minification-with-vitepress/
1•ykgoon•58m ago•0 comments

Supermicro Super AI Station Review: The AI Server That Doubles as a Workstation

https://www.servethehome.com/supermicro-super-ai-station-review-the-ai-server-that-doubles-as-a-w...
2•teleforce•59m ago•0 comments

Qualcomm Dragonwing Nabs Big SpaceX Starlink Mobile Nationwide US 5G Network Win

https://www.servethehome.com/qualcomm-dragonwing-nabs-a-big-spacex-starlink-mobile-nationwide-us-...
1•teleforce•1h ago•0 comments

World-Model MCP for Finance

https://ergen.ai/
2•alpbahadur•1h ago•0 comments

Mosaic – a tool to understand and simulate random architectures

https://github.com/xleelz/mosaic
1•xleelz•1h ago•1 comments

Unlimited-OCR-2 rejoins tables split across PDF pages

https://openteams.com/engineering-blog/unlimited-ocr-2-long-pdf-tables/
1•khuyentran1401•1h ago•0 comments

Skill to teach your agents how to use Jujutsu VCS

https://github.com/danverbraganza/jujutsu-skill
2•nvader•1h ago•0 comments

Investors wipe $2.5T off Nasdaq as blue tsunami prompts AI fears

https://www.reuters.com/legal/transactional/ai-data-center-stocks-slip-democratic-sweep-clouds-ex...
27•lilerjee•1h ago•3 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/