frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

A Trillion Lost Games

1•sirianth•1m ago•0 comments

How to fix indirect prompt injections in Moltbot

https://iliaishacked.substack.com/p/here-is-how-to-solve-indirect-prompt
1•iliaishacked•1m ago•0 comments

Distributed training with mlx: tensor parallelism

https://stefpi.net/blog/distributed-mlx-tp
1•tosh•2m ago•0 comments

Flapping Airplanes

https://twitter.com/flappyairplanes/status/2016564437499728259
1•tosh•3m ago•0 comments

Show HN: Cursor for Userscripts

https://github.com/chebykinn/browser-code
1•mifydev•4m ago•0 comments

Crypto PAC Fairshake touts $193M war chest as regulatory bill faces first vote

https://www.cnbc.com/2026/01/28/crypto-pac-fairshake-bill-vote.html
1•pseudolus•5m ago•0 comments

SBOM as Messaging System

https://latedeployment.github.io/posts/sbom-as-messaging-system/
1•elegantgate•5m ago•0 comments

Google will settle its Assistant spying lawsuit for $68M

https://www.theverge.com/news/868078/google-assistant-lawsuit-settlement
1•kwar13•6m ago•0 comments

Loom – A Visual API workflow builder with SSRF-protected proxy

https://loomflows.dev/
1•Phantasm0009•6m ago•1 comments

Allowlisting Some Bash Commands Is Often the Same as Allowlisting All

https://www.joinformal.com/blog/allowlisting-some-bash-commands-is-often-the-same-as-allowlisting...
1•drewgregory•6m ago•0 comments

Ask HN: I've got a cool domain. How do I put it to good use?

1•choraria•8m ago•0 comments

Did Don DeLillo Invent the Racy Hockey Novel?

https://www.nytimes.com/2026/01/27/books/don-delillo-hockey-novel.html
1•Caiero•8m ago•0 comments

Private Networking on Hetzner Cloud with Tailscale

https://onatm.dev/2026/01/28/private-networking-on-hetzner-cloud-with-tailscale/
1•onatm•10m ago•0 comments

LangChain: Context Management for Deep Agents

https://twitter.com/masondrxy/status/2016548078346736014
1•shenli3514•11m ago•0 comments

Show HN: Alprina – Find your next investor through AI-matched intros

https://www.alprina.com/
1•Othrya•14m ago•0 comments

From Ukraine to the Cloud: Stories of IPv4 Migration

https://www.kentik.com/blog/from-ukraine-to-the-cloud-stories-of-ipv4-migration/
1•oavioklein•14m ago•0 comments

Raymarched DX12 GPU Benchmark Will Destroy Your RTX 5090 Even at 480p

https://gaming67.com/index.html#atelier
1•ekropotin•15m ago•1 comments

Nemorize: Courses built around spaced repetition, not watch time

https://nemorize.com/
1•Lwrless•17m ago•0 comments

ClickHouse chDB 4.0.0

https://github.com/chdb-io/chdb/releases/tag/v4.0.0
1•tosh•18m ago•0 comments

Mimestream: Made for Mac. Optimized for Gmail

https://mimestream.com/
1•doener•18m ago•0 comments

2026 OSI Elections Update

https://opensource.org/blog/2026-osi-elections-update
1•Tomte•18m ago•0 comments

How to design an AI app with a sense of taste

https://www.approachwithalacrity.com/how-to-turn-sfo-jfk-into-a-beautiful-photo/
1•bblcla•19m ago•0 comments

I Built the Same AI Agent in N8n and LangSmith. Here's What Happened [video]

https://www.youtube.com/watch?v=wKcZ92Wr1Wo
1•aldersondev•20m ago•1 comments

S&P 500 tops 7k for first time

https://www.ft.com/content/321eb05e-47a5-454c-8c46-fa22b4296957
1•alephnerd•20m ago•1 comments

Using rare sugars to address alcoholism

https://medicalxpress.com/news/2026-01-rare-sugars-alcoholism.html
1•PaulHoule•22m ago•0 comments

Prusa Sponsored the FreeCAD Beginner's Handbook

2•AleksanderS•22m ago•0 comments

Seeds of War

https://worldsensorium.com/seeds-of-war/
1•dnetesn•22m ago•0 comments

Can We Protect Science?

https://nautil.us/can-we-protect-science-1264227/
1•dnetesn•23m ago•0 comments

AlphaGenome Author Roundtable [video]

https://www.youtube.com/watch?v=V8lhUqKqzUc
1•ralusek•23m ago•0 comments

Nen – App SEC Claude Code Skills

https://github.com/ktfth/nen
1•ktfth•24m ago•0 comments
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•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/