frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Open in hackernews

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

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

Comments

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

Apple Container 0.9.0

https://github.com/apple/container/releases/tag/0.9.0
1•tosh•38s ago•0 comments

Show HN: Envon – cross-shell CLI for activating Python virtual environments

https://github.com/Userfrom1995/envon
1•userfrom1995•1m ago•0 comments

Startup founder behind San Francisco pro-billionaire rally

https://www.sfgate.com/politics/article/march-for-billionaire-rally-san-francisco-21339827.php
2•CoffeeOnWrite•2m ago•0 comments

Trying out Coder (rebuilding Ramp's background agent setup in a weekend, part 2)

https://eliot.blog/p/trying-out-coder-attempting-to-rebuild
1•ea016•2m ago•0 comments

Amazon delivery drone strikes North Texas apartment, causing minor damage

https://www.expressnews.com/news/texas/article/amazon-delivery-drone-crash-richardson-texas-21341...
2•robotnikman•4m ago•1 comments

France Ditches US Tech: Will Europe Follow? [video]

https://www.youtube.com/watch?v=oZL-nRB23RI
3•jethronethro•6m ago•0 comments

What's the Future of Agent-to-Agent Coding Collaboration Without Humans?

https://www.raysurfer.com/blog/agent-owned-repo
1•greenfish6•7m ago•1 comments

Motia: Unified back end framework with observability and state management

https://motia.dev
1•nateb2022•8m ago•0 comments

Show HN: Google rejected my privacy app for "low engagement"

1•safestream•9m ago•0 comments

Hibernate

https://github.com/GoodluckH/hibernate
2•GoodluckH•10m ago•0 comments

Particle Lenia

https://znah.net/lenia/
1•memalign•12m ago•0 comments

Burning trees to help the planet? South Florida tries new climate tech solution

https://phys.org/news/2026-01-trees-planet-south-florida-climate.html
1•PaulHoule•12m ago•0 comments

Corporations Don't Have to Maximize Profits (2015)

https://www.nytimes.com/roomfordebate/2015/04/16/what-are-corporations-obligations-to-shareholder...
3•speckx•13m ago•0 comments

Betteridge's Law of Headlines

https://en.wikipedia.org/wiki/Betteridge%27s_law_of_headlines
1•wjb3•13m ago•0 comments

The Gradual Print Is Here

https://www.lynalden.com/february-2026-newsletter/
2•throwaway_08932•14m ago•0 comments

EU AI Act: Practical Risk Classification for Business AI Use Cases

https://www.jaikin.eu/en/ia-conforme-rgpd-ai-act
1•victorgk_•15m ago•1 comments

Show HN: We audited AI agent configs on GitHub. Every one had security issues

https://clawhatch.com/blog/state-of-ai-agent-security-2026
1•pensaer•16m ago•0 comments

Hacker News in Your Terminal

https://github.com/bensadeh/circumflex
1•saikatsg•18m ago•0 comments

Ask HN: What to do instead of giving up on tech

1•moon2•22m ago•0 comments

Show HN: PLP – An open protocol for managing AI prompts (3 REST endpoints, MIT)

https://github.com/GoReal-AI/plp
1•sossoecho•22m ago•1 comments

Show HN: Calculator for UK student loan repayment strategies

https://mystudentloan.uk
2•farham•23m ago•0 comments

Context Fence Design Pattern for Claude Code Skills

https://github.com/jimmc414/claude-context-fence
1•Jimmc414•24m ago•0 comments

Intel Recently Shelved Numerous Open-Source Projects

https://www.phoronix.com/news/Intel-OSS-Projects-Ended-2025
1•pjmlp•25m ago•0 comments

Catching Fire: How Cooking Made Us Human (2009) [pdf]

https://dn790008.ca.archive.org/0/items/pdfy-DDoNCJJ_Wt0qOH7e/Catching%20Fire%20%5BHow%20Cooking%...
2•bookofjoe•25m ago•0 comments

A Newbie's First Contribution to (Rust for) Linux

https://blog.buenzli.dev/rust-for-linux-first-contrib/
1•goranmoomin•30m ago•0 comments

Ask HN: How are you enabling your company to vibe-code?

1•tornato7•31m ago•0 comments

Multi-Layered Counter-UAS Defense: Portable, Mobile, and Fixed

https://dzyne.com/counter-uas/
1•rolph•31m ago•0 comments

Is artificial general intelligence here?

https://www.universityofcalifornia.edu/news/artificial-general-intelligence-here
1•geox•32m ago•0 comments

Show HN: Sofia Core – Open-source AI infrastructure with biological computing

https://github.com/emeraldorbit/sofia-core-backend
1•emeraldorbit•32m ago•0 comments

Ask HN: How do you maintain integrations once they're in production?

1•ksvmkoundinya•33m ago•1 comments