frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Ask HN: Any recommendataions for exporting data from Amazon?

1•coreyp_1•21s ago•0 comments

2FA: A dedicated two-factor authenticato to securely manage one-time passwords

https://codeberg.org/979/2fa
1•thunderbong•1m ago•0 comments

How to Export Your ChatGPT Conversation History (and Use It)

https://chromewebstore.google.com/detail/lisa-core-ai-memory-libra/dmgnookddagimdcggdlbjmaobmoofhbj
1•AmarDahmani•2m ago•0 comments

Great moments in American advertising history

https://www.wsj.com/business/us-advertising-history-great-moments-418a8284
1•hhs•3m ago•0 comments

H.R.8470 – Surveillance Accountability Act

https://www.congress.gov/bill/119th-congress/house-bill/8470/text
1•gigel82•5m ago•1 comments

Block-f prevent accidental edits

https://github.com/skorotkiewicz/block-f
1•modinfo•6m ago•0 comments

Study: Does the brain work like an LLM in predicting words?

https://www.nyu.edu/about/news-publications/news/2026/april/does-the-brain-work-like-an-llm-in-pr...
1•hhs•8m ago•0 comments

GPT 5.5 sets new record in proofreading benchmark

https://revise.io/errata-bench
1•artursapek•11m ago•1 comments

How professional wrestling prepared Linda McMahon

https://www.newyorker.com/magazine/2026/04/27/linda-mcmahon-profile
2•hhs•12m ago•0 comments

After call from Beijing, China's auto industry races to embed AI in everything

https://www.reuters.com/world/asia-pacific/chinas-auto-industry-races-embed-ai-line-with-beijing-...
1•akyuu•13m ago•0 comments

Tell HN: The problem with Opus .7 /thinking is not token consumption. It's speed

2•ericol•15m ago•0 comments

FusionCore: ROS 2 sensor fusion (IMU and GPS and encoders)

https://github.com/manankharwar/fusioncore
4•kharwarm•16m ago•0 comments

$8800 house design helps prevent fatal diseases in African children

https://www.science.org/content/article/simple-house-may-help-prevent-multiple-fatal-diseases-afr...
2•gmays•17m ago•0 comments

The software supply-chain doom spiral

https://tylercipriani.com/blog/2026/04/24/on-the-software-supply-chain-doom-spiral/
2•thcipriani•18m ago•0 comments

FCC's Foreign-Made Router Ban Expands to Portable Wi-Fi Hotspot Devices

https://www.pcmag.com/news/fccs-foreign-made-router-ban-expands-to-portable-wi-fi-hotspot-devices
3•naves•20m ago•0 comments

Replacing probabilistic AI with deterministic math and Dafny formal verification

https://gist.github.com/Solymus-foundation/5be1dbb91b29d7a8d40760dbc77c8ceb
2•kevinkibeom•20m ago•1 comments

Michael Pollan on Defending Our Consciousness

https://michaelpollan.com/articles-archive/defending-our-consciousness-against-the-algorithms/
2•chmaynard•23m ago•0 comments

Liven up your screenshots with errant open tabs

https://tab.wesbos.com
3•patrikcsak•23m ago•0 comments

Maine governor vetoes statewide pause in new data centers

https://thehill.com/policy/technology/5848215-maine-gov-mills-vetoes-data-center-moratorium/
2•rurp•24m ago•0 comments

Give Your Coding Agent a Journal

https://doug.sh/posts/give-your-coding-agent-a-journal/
3•dougcalobrisi•26m ago•0 comments

Elon Musk's near-daily online posts about race are turning off some fans

https://www.washingtonpost.com/technology/2026/04/24/musk-online-posts-race-whiteness/
7•ironyman•27m ago•0 comments

Supplyframe Sells Tindie

https://www.hackster.io/news/supplyframe-sells-tindie-now-in-its-second-week-of-site-outage-to-pa...
2•0xBA5ED•30m ago•1 comments

Psychology textbooks still misrepresent famous experiments controversial debates

https://www.psypost.org/psychology-textbooks-still-misrepresent-famous-experiments-and-controvers...
2•ZunarJ5•32m ago•0 comments

Bitcoin 'Q-Day' Draws Nearer as Quantum Researcher Breaks Simplified Key

https://decrypt.co/365444/bitcoin-q-day-draws-nearer-quantum-researcher-breaks-simplified-key
3•HardwareLust•32m ago•1 comments

New adventures, same company (2024)

https://www.mooreds.com/wordpress/archives/3643
3•mooreds•36m ago•0 comments

Ignoring the War Has Been Working for Long-Term Investors

https://www.nytimes.com/2026/04/24/business/iran-war-stocks-bonds-investing.html
2•mooreds•44m ago•0 comments

There is too much traffic for Alex to walk to school, so we drive (2019)

https://www.researchgate.net/publication/324388709_There_is_too_much_traffic_for_Alex_to_walk_to_...
3•aziaziazi•45m ago•0 comments

The Space Between Humans, AI, and the Work We've Been Avoiding

https://www.bettyjunod.com/blog/the-space-between-humans-ai-and-the-work-weve-been-avoiding
2•mooreds•46m ago•0 comments

Trading Is Getting Younger, Ownership Is Getting Older

https://www.apollo.com/wealth/the-daily-spark/trading-is-getting-younger-ownership-is-getting-older
2•akyuu•49m ago•0 comments

Record Labels Drop Piracy Lawsuits Against Altice and Verizon After Cox Ruling

https://torrentfreak.com/record-labels-drop-piracy-lawsuits-against-altice-and-verizon-in-wake-of...
3•Cider9986•49m ago•0 comments
Open in hackernews

Automatically add missing "async/await" keywords to your TypeScript code

https://github.com/stanNthe5/typescript-autoawait
7•theThree•11mo ago

Comments

bastawhiz•11mo ago
Is this a problem that people actually have?
xeromal•11mo ago
Fun side project man!
primitivesuave•11mo 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•11mo 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•11mo ago
You can still control it by adding "//no-await". In fact, the "//no-await" makes me feel more clear.
nextweek2•11mo 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•11mo ago
It should be noted that there is already a lint rule for this: https://typescript-eslint.io/rules/no-floating-promises/