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•8mo ago

Comments

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

An Unofficial Guide to Prepare for a Research Position Application at Sakana AI

https://pub.sakana.ai/Unofficial_Guide/
1•hardmaru•1m ago•0 comments

Ask HN: How to introduce Claude Code to a team?

1•9dev•2m ago•0 comments

TikTok's Captcha: Collection and Verification

https://srikanth.ch/posts/analysing-tiktok-for-captchas/
1•srikanthdotch•2m ago•0 comments

BabyVision: Visual Reasoning Beyond Language

https://unipat.ai/blog/BabyVision
1•lnyan•3m ago•0 comments

Show HN: SecCheckmate – Structured security checks during security assessments

https://github.com/amitgy/seccheckmate
1•amitgy04•5m ago•1 comments

Show HN: Instagram Saved Reels Downloader

https://chromewebstore.google.com/detail/instagram-saved-reels-dow/lagfcdnhhbjglnkgfchfmlhamhkeaanj
1•qwikhost•7m ago•1 comments

The WASM Breach: Escaping Back End WebAssembly Sandboxes

https://instatunnel.my/blog/the-wasm-breach-escaping-backend-webassembly-sandboxes
1•pjmlp•10m ago•0 comments

The Overcomplexity of the Shadcn Radio Button

https://paulmakeswebsites.com/writing/shadcn-radio-button/
2•dbushell•11m ago•0 comments

Test Sites for Browser Developers

https://jonalmeida.com/blog/browser-test-sites/
1•twapi•12m ago•0 comments

Agentic LLMs as Powerful Deanonymizers. Li 2026

https://arxiv.org/abs/2601.05918
2•seism•13m ago•0 comments

Giving University Exams in the Age of Chatbots

https://ploum.net/2026-01-19-exam-with-chatbots.html
2•ploum•13m ago•0 comments

Show HN: ProxyPrice – Compare proxy provider prices

https://proxyprice.com/
1•SongDeYu•15m ago•0 comments

Corca: Collaborative Math Editor

https://corca.app/
1•zahrevsky•16m ago•0 comments

Show HN: Publisher Radar – Track verified ad publishers with live data

https://publisherradar.com
1•SongDeYu•16m ago•0 comments

Good Engineers Obsess over Constraints, Not Tools

https://twitter.com/paperplaneflyr/status/2013512514827681928
1•paperplaneflyr•22m ago•0 comments

"The era of humans writing code is over." – Ryan Dahl

https://twitter.com/rough__sea/status/2013280952370573666
1•epaga•22m ago•1 comments

Trump Invites Putin and Lukashenko to Join His Gaza 'Board of Peace'

https://novayagazeta.eu/articles/2026/01/19/trump-invites-putin-and-lukashenko-to-join-his-gaza-b...
2•saubeidl•22m ago•0 comments

Getting started with Claude for software development

https://steveklabnik.com/writing/getting-started-with-claude-for-software-development/
1•weinzierl•23m ago•0 comments

"A geometric derivation of the fine structure constant (99.9997% accuracy)"

https://zenodo.org/records/18305251
1•ericmacx•24m ago•1 comments

Cloudflare DNS 1.1.1.1 cert no longer trusted by MikroTik built-in CA list

https://old.reddit.com/r/mikrotik/comments/1qe0hm8/cloudflare_dns_1111_doh_ssl_certs_no_longer/
2•raquuk•34m ago•0 comments

Google confirms 'high-friction' sideloading flow is coming to Android

https://www.androidauthority.com/google-sideloading-android-high-friction-process-3633468/
3•_____k•41m ago•1 comments

Embabled: Agentic Flow from the Creator of Spring

https://github.com/embabel
1•huffer•42m ago•0 comments

Vue Bits is a large collection of animated VueJS UI components

https://vue-bits.dev
2•pratik227•49m ago•1 comments

Show HN: Trackkit – Lightweight email tracking API with signed webhooks

https://trackkit.io
2•Megas_UA•52m ago•1 comments

NYSE to Launch 24/7 Trading Platform for Blockchain-Based Securities

https://www.wsj.com/finance/currencies/nyse-to-launch-24-7-trading-platform-for-blockchain-based-...
1•JumpCrisscross•52m ago•0 comments

It's better not to continue everything

https://www.leadinginproduct.com/p/continue-by-default
2•benkan•53m ago•0 comments

Managing LLM risks: A framework for academic publishing

https://thoughtworks.medium.com/managing-llm-risks-a-framework-for-academic-publishing-eb2dd6be5615
1•saikatsg•54m ago•0 comments

Selfh.st – Self-Hosted Apps Directory

https://selfh.st/apps/
1•kristianpaul•59m ago•0 comments

What's Worrying Jonathan Haidt Now?

https://calnewport.com/whats-worrying-jonathan-haidt-now/
1•bifftastic•1h ago•0 comments

I decided to make a worse UUID for the pettiest of reasons

https://gitpush--force.com/commits/2026/01/meet-smolid/
1•fla•1h ago•0 comments