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/

LinkLane Web Directory

https://linklane.net/index.php
1•TigerUniversity•40s ago•0 comments

Everything You Always Wanted to Know About Mathematics [pdf]

https://www.math.cmu.edu/~jmackey/151_128/bws_book.pdf
1•the-mitr•49s ago•0 comments

Show HN: A peer-2-peer network for sharing and accessing LLMs through OpenAI API

https://github.com/skorotkiewicz/conduit
1•modinfo•1m ago•0 comments

AI Agent Reliability Tracker

https://hal.cs.princeton.edu/reliability/
1•smartmic•2m ago•0 comments

NVIDIA hiring engineers to optimize Proton and Vulkan API performance on Linux

https://www.techpowerup.com/346714/nvidia-hiring-engineers-to-optimize-proton-and-vulkan-api-perf...
1•teleforce•4m ago•0 comments

"Vibe Coding" Threatens Open Source

https://www.infoq.com/news/2026/02/ai-floods-close-projects/
1•birdculture•4m ago•0 comments

Mewgenics.Online – Wiki, Breeding Guide and Class Database

https://mewgenics.online/
2•lizbo•7m ago•0 comments

Fmstream – The Radio Stream Directory

http://nossl.fmstream.org/
2•TigerUniversity•7m ago•0 comments

Induced biological soil crust strategy reverses desertification

https://www.sciencedirect.com/science/article/abs/pii/S0038071719303293
2•QueensGambit•8m ago•0 comments

UK self-driving startup Wayve raises $1.2B from investors including Mercedes

https://www.reuters.com/business/uk-self-driving-startup-wayve-raises-12-billion-investors-includ...
3•teleforce•11m ago•0 comments

Merge Branch 'Antigravity'

https://github.com/torvalds/AudioNoise/commit/93a72563cba609a414297b558cb46ddd3ce9d6b5
1•nomilk•11m ago•0 comments

Hegseth threatens to cut Anthropic from Pentagon in showdown with CEO

https://www.ft.com/content/0c6b63b6-2524-4ba7-9f7a-e7183b29386f
1•dede4metal•15m ago•0 comments

AI is threatening science jobs. Which ones are most at risk

https://www.nature.com/articles/d41586-026-00444-9
1•JeanKage•15m ago•0 comments

Cloudflare One is the first SASE offering modern post-quantum encryption

https://blog.cloudflare.com/post-quantum-sase/
1•maxloh•16m ago•0 comments

School stu­dents launch satel­lite to detect fungi in atmosphere

https://www.thehindu.com/news/cities/Madurai/govt-school-students-in-karaikudi-launch-satellite-t...
1•the-mitr•18m ago•0 comments

Eyes and Ears for Your Agents

https://videodb.io/
2•ash-ishh•19m ago•0 comments

Measuring the True ROI of Autonomous Hyper-Personalisation of Email

https://swifterm.com/the-true-roi-of-autonomous-hyper-personalisation/
1•SwiftERM•19m ago•0 comments

I Replaced Paid Video Editors with an OpenClaw Skill

https://github.com/Web2Labs/web2labs-studio-skill
1•philippfanta•21m ago•0 comments

Buzzdetect: Open-source deep learning tool for bioacoustic pollinator monitoring

https://academic.oup.com/jinsectscience/article/25/6/ieaf104/8376356
1•sohkamyung•22m ago•0 comments

China Supreme Court rules drivers remain liable despite autonomous driving tech

https://en.thairath.co.th/news/foreign/2914282
2•teleforce•22m ago•0 comments

LLM=True

https://blog.codemine.be/posts/2026/20260222-be-quiet/
8•avh3•24m ago•1 comments

MISP-Ghidra is a Python library and scripts to extend Ghidra

https://github.com/MISP/misp-ghidra
1•adulau•25m ago•0 comments

Zohran Mamdani Wants to Reclaim Efficiency from the Right

https://jacobin.com/2026/02/zohran-mamdani-efficiency-nyc-budget/
4•rbanffy•26m ago•0 comments

Show HN: FireChess – Find the chess mistakes you keep repeating

https://www.firechess.com/
1•leonfresh•27m ago•0 comments

Manifold Markets: prediction markets without real money

https://manifold.markets
2•sadeshmukh•28m ago•0 comments

The YouTube Revolution in Knowledge Transfer

https://medium.com/@samo.burja/the-youtube-revolution-in-knowledge-transfer-cb701f82096a
2•sebg•28m ago•0 comments

Citrini's Scenario Is a Great but Deeply Flawed Thought Experiment

https://thezvi.substack.com/p/citrinis-scenario-is-a-great-but
1•bananaflag•29m ago•0 comments

Security Risks of AI Agents Hiring Humans: An Empirical Marketplace Study

https://arxiv.org/abs/2602.19514
1•runningmike•29m ago•1 comments

Lean-PQ – Type-safe PostgreSQL bindings for Lean 4 via libpq FFI

https://github.com/typednotes/lean-pq
1•ngrislain•32m ago•0 comments

Show HN: WinterMute Local-first OSINT workbench with native Tor and AI analysis

https://wintermute.stratir.com
2•VanceVP•34m ago•0 comments