frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Rhetorical Analysis of One Punch Man

https://tmportfolio18.commons.gc.cuny.edu/2018/11/12/rhetorical-analysis-of-one-punch-man/
1•wseqyrku•1m ago•0 comments

International Workshop on Plan 9: 2026 Edition

https://iwp9.org
1•birdculture•2m ago•0 comments

How ICE's Plan to Monitor Social Media Threatens Privacy and Civic Participation

https://www.techdirt.com/2025/12/09/how-ices-plan-to-monitor-social-media-threatens-not-just-priv...
1•beardyw•4m ago•0 comments

The Forge Calculator – Crafting Odds and Stats Tool for Roblox

https://theforgecalculator.xyz/
1•lizbo•5m ago•0 comments

Visual Investigation: Trump's immigration data dragnet

https://www.ft.com/register/access
1•t0lo•6m ago•0 comments

Every LLM gateway we tested failed at scale – ended up building Bifrost

https://github.com/maximhq/bifrost
1•PranayBatta•8m ago•1 comments

Notes on structured concurrency, or: Go statement considered harmful

https://vorpus.org/blog/notes-on-structured-concurrency-or-go-statement-considered-harmful/
1•ingve•8m ago•0 comments

Ask HN: How Old Are You?

2•WA•15m ago•1 comments

Stop Breaking TLS

https://www.markround.com/blog/2025/12/09/stop-breaking-tls/
2•todsacerdoti•16m ago•0 comments

The undersea mountains where sharks rule

https://www.bbc.com/future/article/20251208-shark-mountains-the-undersea-mountains-where-sharks-rule
1•1659447091•17m ago•0 comments

What if AI was used to distribute work instead of doing the work?

1•mobileturdfctry•22m ago•0 comments

Turner prize 2025: Nnena Kalu is first winner with learning disability

https://www.thetimes.com/culture/art/article/turner-prize-2025-winner-nnena-kalu-0ljqnt6z2
1•petethomas•25m ago•0 comments

Show HN: The Box – Run multiple Claude CLI agents in parallel in the cloud

https://the-box.dev
1•firdavs9512•29m ago•0 comments

Combustion engine cars regain popularity worldwide

https://www.reuters.com/business/energy/combustion-engine-cars-regain-popularity-worldwide-ey-say...
3•alephnerd•31m ago•0 comments

AI Model Timeline

https://www.aitimelines.club
1•hhdyhaha•31m ago•0 comments

A Climate Study Retraction for the Ages

https://www.wsj.com/opinion/a-climate-study-retraction-for-the-ages-49e967e0
2•petethomas•34m ago•0 comments

LearnFlux: AI-Powered Learning Assistant

https://www.learnflux.net/
1•detectmeai•35m ago•0 comments

LLM Benchmark by Databricks – OfficeQA

https://www.databricks.com/blog/introducing-officeqa-benchmark-end-to-end-grounded-reasoning
1•adityanambiar•39m ago•0 comments

Ask HN: Who's solved ugly Stripe receipts?

1•umarmaaz•45m ago•1 comments

Hydrostatic Pressure Induces Osteogenic Differentiation of Single Stem Cells

https://onlinelibrary.wiley.com/doi/10.1002/smsc.202500287
1•PaulHoule•49m ago•0 comments

HuggingFace Skills: Fine-tune any LLM with one sentence for $0.30

https://huggingface.co/blog/hf-skills-training
4•adiian•52m ago•1 comments

Protocol Omega: Defining AI Identity via Topology Instead of Biological Mimicry

https://github.com/IkanRiddle/Protocol-Omega
1•IkanRiddle•54m ago•1 comments

Is any of you using LLMs to create full features in big enterprise apps?

2•not_that_d•54m ago•1 comments

Controversies on DHH's new open source initiative (which is not open source)

https://mastodon.social/@bagder/115692071460280703
1•akabalanza•55m ago•2 comments

Debt-Fueled Deals Are Back on Wall Street

https://www.wsj.com/finance/investing/massive-debt-fueled-deals-are-back-on-wall-street-22c94ac5
1•JumpCrisscross•58m ago•0 comments

Psychedelics disrupt normal link between brain neuronal activity and blood flow

https://source.washu.edu/2025/12/psychedelics-disrupt-normal-link-between-brains-neuronal-activit...
1•XzetaU8•58m ago•0 comments

Launching Bestmaker.ai – A Unified Tool for Fast AI Image and Video Creation

https://bestmaker.ai
1•longshu•59m ago•1 comments

Linux Foundation Announces the Agentic AI Foundation (AAIF)

https://aaif.io/press/linux-foundation-announces-the-formation-of-the-agentic-ai-foundation-aaif-...
3•gmays•1h ago•2 comments

Revisiting "Let's Build a Compiler"

https://eli.thegreenplace.net/2025/revisiting-lets-build-a-compiler/
7•cui•1h ago•0 comments

Vercel Outage?

https://www.vercel-status.com
2•tpcollns•1h ago•3 comments
Open in hackernews

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

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

Comments

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