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/

France's 'French Response' uses memes and sarcasm to fight disinformation on X

https://www.euronews.com/my-europe/2026/02/13/frances-french-response-uses-memes-and-sarcasm-to-f...
1•saubeidl•42s ago•0 comments

Show HN: I built a free keyword checker to see if you can rank

https://kitful.ai/write-tools/serp-content-analyzer
1•eashish93•1m ago•0 comments

POK: A Knowledge Economy Where Verified Human Knowledge Mints Currency

https://paragraph.com/@pok-whitepaper/pok-proof-of-knowledge-%E2%80%94-a-decentralized-knowledge-...
1•sihwan•4m ago•1 comments

StudyWithMiku: Open-source AI study assistant

https://github.com/zkzkGamal/StudyWithFriend
1•Zakaria_Gamal•5m ago•1 comments

Software as Wiki, Mutable Software

https://blog.exe.dev/software-as-wiki
1•tosh•6m ago•0 comments

Show HN: DoScript – DSL for file automation with natural language syntax

https://github.com/TheServer-lab/DoScript
1•server-lab•8m ago•0 comments

Nvidia PersonaPlex: Natural Conversational AI with Any Role and Voice

https://research.nvidia.com/labs/adlr/personaplex/
2•matco11•9m ago•0 comments

Phantom-WG

1•remrearas•9m ago•0 comments

Qwen 3.5 397B and Qwen 3.5 Plus released

https://chat.qwen.ai/
1•dworks•12m ago•1 comments

A isometric city builder in JavaScript

https://github.com/victorqribeiro/isocity
2•kothariji•12m ago•0 comments

Xiaomi-robotics-0 – an open-source Vision-Language-Action model

https://xiaomi-robotics-0.github.io
1•msadowski•13m ago•0 comments

Btrfs disk errors to fall asleep to

https://ounapuu.ee/btrfs-disk-errors-to-fall-asleep-to/index.html
1•argulane•16m ago•0 comments

Decoupling Loudspeakers the Right Way

https://sumtozero.net/en/posts/decoupling-loudspeakers/
1•miguelmarques•17m ago•1 comments

A great heat-death scenario for the SaaS model

https://dindon.one/@henry/116079355030077955
1•behindai•17m ago•0 comments

Why do I feel bad following recommendation algorithms?

https://edwardbx.com/articles/recommendation-algorithms/
1•crassus_ed•17m ago•0 comments

Show HN: A Toby alternative with vertical tabs and no forced new tab override

https://getorganice.vercel.app
1•tankhoa2308•18m ago•0 comments

The Danger of Shipping Fast

https://newsletter.posthog.com/p/the-hidden-danger-of-shipping-fast
1•tchalla•18m ago•0 comments

A Tree of AI Model Names

https://sajarin.com/blog/modeltree/
1•Sajarin•18m ago•0 comments

You Never See the Whole Shape at Once

https://www.robpanico.com/articles/display/?entry_short=you-never-see-the-whole-shape-at-once
1•retrocog•22m ago•1 comments

Show HN: The Yatima Scale – Measuring civilizations by depth, not energy

https://yatima-scale.netlify.app
1•gillesturpin•22m ago•0 comments

Zero-Knowledge Encryption: A Security Analysis of Cloud-Based Password Managers

https://zkae.io/
3•mlegner•23m ago•1 comments

Monolith – muddying the waters of the digital copyright debate (2011)

https://monolith.sourceforge.net
1•helloplanets•23m ago•0 comments

Google criticizes Europe's plan to adopt free software

https://piefed.zip/c/technology/p/1086069/google-criticizes-europe-s-plan-to-adopt-free-software
2•zoobab•23m ago•0 comments

Forth is just fast Lisp (2017)

https://old.reddit.com/r/Forth/comments/5wsbgr/forth_is_just_fast_lisp/
1•tosh•23m ago•1 comments

Do LLMs hallucinate more in Czech than in English?

https://svana.name/2026/02/do-llms-hallucinate-more-in-czech-than-in-english/
2•msvana•24m ago•0 comments

India orders social media firms to remove unlawful content within three hours

https://www.bbc.com/news/articles/c2lrn8q2q24o
1•thisislife2•29m ago•2 comments

Evolution "Doesn't Need" Mutation. Here's Proof. - Blaise Agüera y Arcas [video]

https://www.youtube.com/watch?v=M2iX6HQOoLg
1•bob1029•29m ago•0 comments

Show HN: Turning web highlights into deterministic Markdown (Sigilla)

1•northerndev•31m ago•0 comments

Ask HN: Do LLM agents need a separate safety layer?

2•amabito•31m ago•0 comments

Show HN: MLX-Ruby – Ruby Bindings for Apple's MLX ML Framework

https://github.com/skryl/mlx-ruby
1•skryl•33m ago•1 comments