frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Wall Street's Crypto Ambitions Dealt a Setback by Latest Hack

https://www.bloomberg.com/news/articles/2026-04-21/wall-street-s-crypto-ambitions-dealt-a-setback...
1•petethomas•33s ago•0 comments

A Tale of Two Irrigated Agricultures in the Middle Rio Grande Basin

https://www.mdpi.com/2071-1050/18/7/3191
1•PaulHoule•2m ago•0 comments

OpenTrafficMap

https://opentrafficmap.org/
1•Eduard•3m ago•1 comments

Section a of the Voynich Manuscript as Archaic Middle Welsh

https://zenodo.org/records/19675941
1•caryptis•3m ago•0 comments

Claude Code is not making your product better

https://ethanding.substack.com/p/claude-code-is-not-making-your-product
1•jeromechoo•3m ago•0 comments

Arch Linux now has a bit-for-bit reproducible Docker image

https://lists.archlinux.org/archives/list/arch-dev-public@lists.archlinux.org/thread/44PW52T547MA...
1•speckx•4m ago•0 comments

Ask HN: What would be the impact of a LLM output injection attack?

1•subw00f•4m ago•0 comments

Google Launches Design.md

https://stitch.withgoogle.com/docs/design-md/overview
1•nigelgutzmann•4m ago•0 comments

TypeScript 7.0 Beta

https://devblogs.microsoft.com/typescript/announcing-typescript-7-0-beta/
1•DanRosenwasser•4m ago•0 comments

Enshittification

https://en.wikipedia.org/wiki/Enshittification
1•chistev•5m ago•0 comments

Memory Machines: Can LLMs create lasting flashcards from readers' highlights?

https://memory-machines.com/
1•andymatuschak•5m ago•0 comments

OpenAI's Codex grew 33% in the last 2 weeks (active users 3M –> 4M)

https://xcancel.com/thsottiaux/status/2046602907077038501
1•alecco•5m ago•0 comments

Explorer 1 Overview – first US satellite

https://www.nasa.gov/history/explorer-1-overview/
1•stmw•6m ago•0 comments

Design Is a Generous Gift

https://metedata.substack.com/p/008-design-is-a-generous-gift
1•young_mete•7m ago•0 comments

Ventoux AI – Technical Proposal Advisor – Short-Term Contract – Remote

https://www.ventoux.ai/
1•ventoux-ai•7m ago•0 comments

Dilbert Principle

https://en.wikipedia.org/wiki/Dilbert_principle
1•begueradj•9m ago•0 comments

Israeli operation "Generative AI for Good" creates AI "victims"

https://twitter.com/infolibnews/status/2046618147055173858
2•cramsession•10m ago•1 comments

Challenge over Met Police's use of live facial recognition lost

https://www.bbc.co.uk/news/articles/cq59x4vv954o
1•Cider9986•12m ago•0 comments

Why higher pay hasn't made young adults feel richer

https://www.ft.com/content/b61f60a3-d4d7-46d9-aa6f-dd78dffe71f5
1•paulpauper•14m ago•1 comments

Show HN: Paper Lantern – improving Autoresearch with research knowledge

https://www.paperlantern.ai/code
1•paperlantern•15m ago•1 comments

CrabTrap: An LLM-as-a-judge HTTP proxy to secure agents in production

https://twitter.com/pedroh96/status/2046604993982009825
2•yakkomajuri•16m ago•0 comments

Framework 13 Pro Announced

https://spooling.frame.work/?c=framework&e=nextgen2026&ver=javascript-4.4.4&cver=18&man=Productio...
5•dorjoy•16m ago•2 comments

A Year After Usa.i.d.'S Death, Fired Workers Find Few Jobs and Much Loss

https://www.nytimes.com/2026/04/21/us/politics/usaid-former-employees.html
2•paulpauper•16m ago•0 comments

Desmond Morris, 98, Dies; Zoologist Saw Links Between Humans and Apes

https://www.nytimes.com/2026/04/20/science/desmond-morris-dead.html
1•paulpauper•17m ago•0 comments

Claude Code has full shell access. Your CASB doesn't see it

https://www.getunbound.ai/blog/governing-claude-across-surfaces
2•awesbecher•17m ago•0 comments

What Is Freedom?

https://geohot.github.io//blog/jekyll/update/2026/04/20/what-is-freedom.html
1•JohnLocke4•17m ago•0 comments

Show HN: Uncompressed. Media stack with VPN namespace isolation, no public ports

https://github.com/Lackoftactics/uncompressed
1•lackoftactics•18m ago•0 comments

Jagged Alliance 2 1.13 Character Sheet

https://ja2.aufdemsofa.ch/
2•midzer•19m ago•0 comments

Two 10.0 severity Spinnaker vulns give attackers RCE and production access

https://zeropath.com/blog/spinnaker-rce-production-compromise
3•NonStopOyster•21m ago•1 comments

Cognitive self-test (reaction/memory/Stroop), AI coach, open dataset

https://mintypick.com/brain-scan
1•hichamabadou•21m ago•0 comments
Open in hackernews

Automatically add missing "async/await" keywords to your TypeScript code

https://github.com/stanNthe5/typescript-autoawait
7•theThree•11mo ago

Comments

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