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/

Survey: 58.7% say AI search has reduced or replaced traditional search

https://searcherries.com/ai-search-statistics
1•dahra•29s ago•0 comments

The Little Red Dot

https://idiallo.com/blog/little-red-dot
1•Brajeshwar•2m ago•0 comments

Sprites on the Web

https://www.joshwcomeau.com/animation/sprites/
1•joshwcomeau•2m ago•0 comments

Show HN: A self-evolving trading system with transparent orchestration

1•sunnynagra•3m ago•0 comments

The future of software engineering [pdf]

https://www.thoughtworks.com/content/dam/thoughtworks/documents/report/tw_future%20_of_software_d...
1•yarapavan•3m ago•0 comments

OpenClaw – Personal AI Assistant for $5 a month

https://blog.tomaszdunia.pl/openclaw-eng/
1•to3k•4m ago•1 comments

ThunderKittens 2.0: even faster kernels for your GPUs

https://hazyresearch.stanford.edu/blog/2026-02-19-tk-2
1•ecesena•5m ago•0 comments

Show HN: Free ecommerce platform for link-in-bio people

https://stoar.page/
2•arajnoha•5m ago•0 comments

Creative problem-solving after provoking dreams of unsolved puzzles

https://academic.oup.com/nc/article/2026/1/niaf067/8456489?login=true
1•PaulHoule•6m ago•0 comments

The Lethal Trifecta: Securing OpenClaw Against Prompt Injection

https://octoclaw.ai/blog/lethal-trifecta-prompt-injection/
1•octoclaw•6m ago•0 comments

Reticulum Network

https://reticulum.network/
1•ZeroCool2u•7m ago•1 comments

The Rise of the Bratty Machines

https://www.nytimes.com/2026/02/23/opinion/chatbots-open-claw.html
1•espiers•7m ago•0 comments

Deterministic modules so AI agents stop hallucinating shell commands

https://github.com/flytohub/flyto-ai
1•ChesterHsu•8m ago•0 comments

Tiny experiments can set you free

https://nesslabs.com/tiny-experiments-tedx-nashville-transcript
1•adrianhoward•8m ago•0 comments

RNode

https://unsigned.io/rnode/
2•ZeroCool2u•9m ago•1 comments

The idea of using a Raspberry Pi to run OpenClaw makes no sense

https://www.theregister.com/2026/02/20/raspberry_pi_meme_stock_disorder/
1•smurda•10m ago•0 comments

I had everything – nd suddenly it stopped making sense

https://userfriendlybrain.substack.com/p/i-had-everything
2•stared•12m ago•0 comments

Note-Taking: Digital vs. Paper

https://www.ssp.sh/brain/digital-vs-paper/
1•articsputnik•13m ago•0 comments

Silicon Valley can't import talent like before. So it's exporting jobs

https://restofworld.org/2026/h1b-visa-impact-india-tech-hiring-faamng/
9•andrewstetsenko•13m ago•1 comments

Show HN: MarkdownLM – Stop being the human middleware for your AI agent

2•sundancegh•13m ago•0 comments

The Dopamine Trap of AI Coding

https://theasymptotic.substack.com/p/the-dopamine-trap-of-ai-coding
1•tipoffdosage904•13m ago•0 comments

An Introduction to the Codex Seraphinianus, the Strangest Book Ever Published

https://www.openculture.com/2026/02/an-introduction-to-the-codex-seraphinianus.html
2•vinhnx•15m ago•0 comments

Quarex – 831 AI-powered "Living Books" for structured knowledge exploration

https://quarex.org/libraries/navigator.html
1•peternehl•17m ago•1 comments

The Patriot [Profile of Shyam Sankar of Palantir]

https://colossus.com/article/the-patriot-shyam-sankar-palantir/
1•thomasjudge•18m ago•0 comments

Epstein Media Files – Initial Drop

https://airtable.com/appVYni3ySHZyFkvf/shrJy54W9lZ7g6YN8/tblXh5y7kIuICfAL2/viwgBd1iTcZY9rBYj
1•doener•18m ago•1 comments

Intent – The developer workspace for agent orchestration

https://www.augmentcode.com/product/intent
1•jaysym•18m ago•0 comments

The Countries That Fell Short at the Winter Olympic Games

https://www.mondayeconomist.com/p/winter-olympics
2•NomNew•19m ago•0 comments

A Visual Document Benchmark for Scientific Retrieval and Question Answering

https://arxiv.org/abs/2602.17687
1•bobvanluijt•20m ago•0 comments

EU postpones vote on U.S. trade deal after Trump's latest tariff threat

https://www.cnbc.com/2026/02/23/trump-15percent-global-tariff-europe-eu-uk-reaction.html
4•Betelbuddy•23m ago•1 comments

Show HN: MCP Apps for marathon runners, coaching with interactive charts

https://github.com/chenhunghan/garmin-mcp-app
1•chenhunghan•23m ago•0 comments