frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Recapping Cap Table?

1•survivorhero•1m ago•0 comments

The Quest to Chart the Sea

https://www.economist.com/interactive/international/2025/12/22/the-quest-to-chart-the-sea
1•gmays•1m ago•0 comments

Show HN: Dust3D 1.0 – low-poly 3D modeling tool (10 years in the making)

https://dust3d.org
1•huxingyi•1m ago•0 comments

Authentication Flaw in Totolink N300RH Enables Remote Buffer Overflow

https://nvd.nist.gov/vuln/detail/CVE-2026-7747
1•abdullahalharir•4m ago•0 comments

Microsoft fixes VS Code after app gives Copilot credit for human's work

https://www.theregister.com/2026/05/04/microsoft_reverses_ai_credit_grab/
2•AgentNews•4m ago•0 comments

Ask HN: What product failed for you–and what went wrong?

1•xnslx•5m ago•0 comments

New Zealand passes solar tipping point

https://www.rnz.co.nz/news/business/594242/new-zealand-passes-solar-tipping-point
3•billybuckwheat•6m ago•0 comments

Show HN: Smile-Serve – Inference Server for ML, ONNX, and LLM

https://github.com/haifengl/smile/tree/master/serve
2•haifeng•7m ago•0 comments

What do we lose when AI does our work?

https://rickyyean.com/2026/05/04/what-do-we-lose-when-ai-does-our-work/
6•rickyyean•12m ago•0 comments

Best practices for password hashing and storage (SASL)

https://datatracker.ietf.org/doc/draft-ietf-kitten-password-storage/10/
1•DASD•12m ago•0 comments

The Elite Overproduction Hypothesis (2025)

https://www.noahpinion.blog/p/the-elite-overproduction-hypothesis-994
2•ridiculous_leke•17m ago•0 comments

China is an engineers' country, but US and Germany are now lawyers' countries

https://www.globaltimes.cn/page/202605/1360255.shtml
2•e2e4•19m ago•3 comments

Quantum in Biology, Quantum for Biology, and Biology for Quantum

https://arxiv.org/abs/2605.00205
1•mathgenius•21m ago•0 comments

Filen deleted all of my data. A heads-up for others

https://www.reddit.com/r/DataHoarder/s/S592zuF3Ub
3•nixass•23m ago•0 comments

Apple confirms iOS 26.5 Messages app adds RCS end-to-end encryption

https://9to5mac.com/2026/05/04/apple-confirms-ios-26-5-messages-app-adds-rcs-end-to-end-encryption/
4•latchkey•24m ago•0 comments

The Effects of School Phone Bans: National Evidence from Lockable Pouches

https://www.nber.org/papers/w35132
2•goplayoutside•27m ago•1 comments

Zopfli Optimization – Free Bandwidth (2016)

https://blog.codinghorror.com/zopfli-optimization-literally-free-bandwidth/
1•tracker1•28m ago•1 comments

YouTube now has customizable multiview

https://www.androidauthority.com/youtube-tv-customizable-multiview-how-to-make-3660768/
1•andsoitis•29m ago•0 comments

Agent Skills

https://addyosmani.com/blog/agent-skills/
4•BOOSTERHIDROGEN•29m ago•0 comments

Ask HN: Data Storage on Fractals

1•zipotm•30m ago•0 comments

Finance OS – self-hosted personal finance tracker, no bank credentials required

https://github.com/aiden202023/finance-os
1•atlguys18•32m ago•0 comments

Show HN: Layers – AI skills for deep product design

https://layers.jamiemill.com/
2•jm25•34m ago•0 comments

Moop: A free and open-source image optimizer for macOS

https://zrubinrattet.github.io/moop/
1•thebigship•35m ago•0 comments

Trump's World Liberty Financial Sues Billionaire Justin Sun for Defamation

https://www.forbes.com/sites/alisondurkee/2026/05/04/trumps-world-liberty-financial-sues-billiona...
1•iamben•37m ago•0 comments

Deep Learning with Python – Read Online

https://deeplearningwithpython.io/
2•mathgenius•37m ago•0 comments

Warren Buffett Warns That Prediction Markets Are 'Gambling,' Not Investing

https://www.thenewstribune.com/money/warren-buffett-prediction-markets-gambling/
3•ppjim•39m ago•0 comments

MorphKatz – polymorphic x64 machine-code rewriter for Windows PEs

https://github.com/0xMohammedHassan/morphkatz
1•Motx•41m ago•0 comments

Exploring the behavior of a strung computational Stradivarius violin

https://www.nature.com/articles/s44384-026-00049-6
3•bookofjoe•41m ago•0 comments

Can agents replace the search stack?

https://softwaredoug.com/blog/2026/04/28/search-apis-replaced-by-agents.html
1•gmays•42m ago•0 comments

Canadian election databases use "canary traps"–and they work

https://arstechnica.com/tech-policy/2026/05/in-canada-a-canary-trap-springs-shut-and-ids-election...
3•ColinWright•43m 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•12mo ago
Is this a problem that people actually have?
xeromal•12mo ago
Fun side project man!
primitivesuave•12mo 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•12mo 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•12mo ago
You can still control it by adding "//no-await". In fact, the "//no-await" makes me feel more clear.
nextweek2•12mo 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•12mo ago
It should be noted that there is already a lint rule for this: https://typescript-eslint.io/rules/no-floating-promises/