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•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/

Show HN: ShadowPEFT – Centralized and Detachable Parameter-Efficient Fine-Tuning

https://github.com/ShadowLLM/shadow-peft
4•yokee•6m ago•1 comments

10-cm Japanese origami CubeSat unfolds to 25X its folded size

https://newatlas.com/space-systems/japanese-origami-cubesat/
1•breve•7m ago•0 comments

I ported AudioGen to MLX so it runs on Apple Silicon

1•theashishmaurya•12m ago•0 comments

Insider stories on agent engineered startups

1•thereeldeel•16m ago•0 comments

Do I belong in tech anymore?

https://ky.fyi/posts/ai-burnout
26•colinprince•24m ago•1 comments

Altman apologizes: OpenAI failed to alert police before fatal Canada shooting

https://www.theguardian.com/us-news/2026/apr/25/altman-apologizes-after-openai-failed-to-alert-po...
2•gmargari•30m ago•0 comments

Ask HN: MicroVM setup for VS Code Dev Container-like experience?

1•Erndob•32m ago•0 comments

Encrypting Encrypted Traffic to Get Around VPN Bans

https://hackaday.com/2026/04/23/encrypting-encrypted-traffic-to-get-around-vpn-bans/
1•colinprince•36m ago•0 comments

Ask HN: Turned away from A16Z Speedrun Cafe – another founder wasn't

1•W_Liu_•38m ago•0 comments

Oxford All Souls College General Examination [pdf]

https://www.asc.ox.ac.uk/sites/default/files/2025-10/General%202025.pdf
21•gregsadetsky•40m ago•8 comments

Spec-in-CI-Driven Autonomous Agentic Development

https://github.com/rsoury/drive-agent-scope-in-ci
1•rsoury•40m ago•0 comments

Quirks of Human Anatomy

https://www.sdbonline.org/sites/fly/lewheldquirk/figlegq6.htm
2•gurjeet•45m ago•0 comments

GitHub Copilot: GPT-5.5 7.5x more expensive under promotional pricing than 5.4

https://docs.github.com/en/enterprise-cloud@latest/copilot/concepts/billing/copilot-requests
3•deaux•47m ago•1 comments

Firebase Competitor hits 1.3M Session Replays

https://rejourney.co/engineering/2026-04-23/rejourney-1-3-million-session-replays
3•mrashiddev•56m ago•0 comments

Turbo Vision 2.0 – a modern port

https://github.com/magiblot/tvision
16•andsoitis•58m ago•2 comments

Show HN: Built an AI that maps 17 facial dimensions and shows what to improve

https://realsmile.online
3•realsmile•58m ago•0 comments

138k LOC removed from Linux kernel to defend against LLMs

https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=64edfa65062dc4509ba...
3•stroebs•59m ago•0 comments

Show HN: Collaborative sentence builder with real-time voting

https://www.sentensus.com/
2•cd-4•1h ago•0 comments

Explaining Projects Need to Scale

https://lowhangingdata.com/article/tool-job-fit/
1•mryagerr•1h ago•0 comments

ratarmount: Access large tarballs as a filesystem efficiently

https://github.com/mxmlnkn/ratarmount
1•sillysaurusx•1h ago•0 comments

Superfetation

https://en.wikipedia.org/wiki/Superfetation
2•leecoursey•1h ago•1 comments

When Your Digital Life Vanishes

https://www.newyorker.com/magazine/2026/04/27/when-your-digital-life-vanishes
1•mitchbob•1h ago•1 comments

I scraped Reddit for 51 founder complaints and turned them into 17 SaaS ideas

https://webmatrices.com/app-ideas
1•bishwasbh•1h ago•0 comments

Frontman is an open-source AI coding agent that lives in the browser

https://github.com/frontman-ai/frontman
2•danboarder•1h ago•0 comments

Need 12 testers for 14 days

1•apoorvdarshan•1h ago•0 comments

What's New in Firefox 150

https://www.firefox.com/en-GB/whatsnew/150/
1•dotcoma•1h ago•1 comments

A pipeline that forces AI to justify decisions before acting (I'm a florist)

https://github.com/anchor-cloud/solace-vera-observability
1•ammulnix•1h ago•0 comments

I just beat AI traders with math

https://pypi.org/project/sagan-trade/
4•thattechgeek•1h ago•2 comments

Global Telecom Exploitation by Covert Surveillance Actors

https://citizenlab.ca/research/uncovering-global-telecom-exploitation-by-covert-surveillance-actors/
2•pabs3•1h ago•0 comments

Show HN: Bunny Agent – Build Coding Agent SaaS via Native AI SDK UI

https://github.com/buda-ai/bunny-agent
2•chepy•1h ago•0 comments