frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

The Fall of the Theorem Economy

https://davidbessis.substack.com/p/the-fall-of-the-theorem-economy
1•tmp10423288442•2m ago•1 comments

When AI can write your code, do you still need a CMS?

https://www.bitsandletters.com/ideas/do-you-still-need-a-cms-with-ai
1•demaree•2m ago•0 comments

Pica 10.0 has been released, delivering the first major modernization update

https://github.com/nodeca/pica
1•javatuts•3m ago•0 comments

Mind-Blowing Growth Is About to Propel Anthropic into First Profitable Quarter

https://www.wsj.com/tech/ai/mind-blowing-growth-is-about-to-propel-anthropic-into-its-first-profi...
3•sigmar•4m ago•0 comments

Temporal Primer – Building Long-Running Systems

https://arpitbhayani.me/blogs/temporal-primer/
1•Samarrrtthh•4m ago•0 comments

Prompt Injection in a Brazilian Courtroom: When the Attack Left the Lab

https://www.pentesty.co/blog/prompt-injection-brazil-labor-court-2026
1•davikr•5m ago•0 comments

Trump Sued Himself and Walked Away with a $100M Tax Debt Erased

https://www.techdirt.com/2026/05/20/trump-sued-himself-and-walked-away-with-a-100-million-tax-deb...
3•latexr•8m ago•0 comments

Congress Banned a Gun Registry. AI Doesn't Need One

https://medium.com/statute-circuit/congress-banned-a-gun-registry-ai-doesnt-need-one-8c1beb9e7374
3•delschlangen•9m ago•1 comments

How to Set Up a Remote MCP Server for Your SaaS

https://docsalot.dev/blog/how-to-set-up-a-remote-mcp-server-for-your-saas
2•fazkan•10m ago•0 comments

Show HN: Git-based front-end interface for Hugo

https://github.com/arashthr/hugo-flow
2•arashThr•10m ago•0 comments

SK Hynix flooded with offers from Big Tech to secure memory chips

https://www.reuters.com/world/asia-pacific/sk-hynix-flooded-with-unprecedented-offers-big-tech-fi...
2•p_stuart82•10m ago•0 comments

Researchers Design and Build First Artificial Protein (2003)

https://www.hhmi.org/news/researchers-design-and-build-first-artificial-protein
2•noleary•12m ago•0 comments

Nvidia commits $90B to AI deals

https://www.semafor.com/article/05/20/2026/nvidia-commits-90-billion-to-ai-deals
2•logickkk1•13m ago•0 comments

Sam Altman makes 'mic drop' offer to every Y Combinator startup

https://techcrunch.com/2026/05/20/sam-altman-makes-mic-drop-offer-to-every-y-combinator-startup/
2•evo_9•14m ago•0 comments

Starting June 1 Copilot code review runs will consume minutes on GitHub

https://docs.github.com/en/copilot/reference/copilot-billing/models-and-pricing
2•rcy•15m ago•0 comments

Show HN: Visual Studio for Cloud

https://github.com/light-cloud-com/ice
2•julia-kafarska•16m ago•0 comments

Samsung vs. MPEG LA appeals arguments [video]

https://www.youtube.com/watch?v=ixVEsTbt9LU
1•tehwebguy•16m ago•1 comments

The hermeneutic circle: a key to critical reading

https://nesslabs.com/hermeneutic-circle
1•andsoitis•21m ago•0 comments

Cloudflare CEO on how he chooses which employees to replace with AI

https://www.wsj.com/opinion/how-i-choose-which-cloudflare-employees-to-replace-with-ai-40a197e5
4•oradwan•22m ago•0 comments

A beginner-friendly approach to Pratt Parsing

https://washingtonramos.com/posts/1
2•PotatoFarmsKing•22m ago•1 comments

LocalFlow, run and protect n8n from laptop to cloud

https://github.com/karimbaidar/n8n-localflow
2•baidarkarim•23m ago•0 comments

NTSB Animation for UPS flight 2976 [video]

https://www.youtube.com/watch?v=iWkLZjJXaos
2•yupmat•24m ago•0 comments

Starship's Twelfth Flight Test

https://www.spacex.com/launches/starship-flight-12
15•pantalaimon•26m ago•6 comments

PostgreSQL backup tool gets some backup of its own after maintainer sounds alarm

https://www.theregister.com/databases/2026/05/20/postgresql-backup-tool-gets-some-backup-of-its-o...
2•Bender•26m ago•1 comments

Adding Foreground Tab Tracking to the Chrome Devtools Protocol

https://www.browserbase.com/blog/cdp-foreground-tab-tracking
1•nikisweeting•27m ago•1 comments

Bye-bye, Gemini CLI; Google's gone and swapped you for a closed-source AI

https://www.theregister.com/ai-ml/2026/05/20/bye-bye-gemini-cli-google-nudges-devs-toward-antigra...
1•Bender•28m ago•0 comments

NASA's Psyche spacecraft returns unfamiliar views of a familiar world

https://arstechnica.com/space/2026/05/nasas-psyche-spacecraft-returns-unfamiliar-views-of-a-famil...
1•Bender•29m ago•0 comments

Intuit to cut 17% of global jobs to streamline operations

https://www.reuters.com/business/world-at-work/intuit-cut-17-global-jobs-streamline-operations-me...
3•DGAP•29m ago•0 comments

What I Learned Building 8 Tbps of CDN

https://elijah.com.au/writing/built-8tbps-cdn/
1•ghuntley•30m ago•0 comments

Money is only a problem to those who don't have it

https://www.alkemix.art/p/the-gathering-storm
1•vinyasi•30m ago•0 comments
Open in hackernews

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

https://github.com/stanNthe5/typescript-autoawait
7•theThree•1y ago

Comments

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