frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

World Cup 26 Goal Map

https://a-maherr.github.io/wc2026-goalmap/
1•jonbaer•1m ago•0 comments

Why the U.S. Uses Only Half of Its Grid Capacity

https://spectrum.ieee.org/united-states-power-grid-capacity
1•Brajeshwar•1m ago•0 comments

Scaling Rails for a Peak Load of 41M Requests/Hour

https://andyatkinson.com/how-aura-frames-scales-for-peak-load-ruby-on-rails
1•knappe•2m ago•0 comments

Why someone switched from Wiki.js to my Go wiki and started sponsoring it

https://leafwiki.com/blog/a-beer-a-go-binary-and-a-wiki/
1•perber•3m ago•0 comments

Backblaze Announces Five-Year Multi-Exabyte Agreement with CoreWeave

https://www.businesswire.com/news/home/20260622788628/en/Backblaze-Announces-Five-Year-Multi-Exab...
2•mangogogo•4m ago•0 comments

Netanyahu, Trump planned Iran strike far in advance, ran deception campaign

https://www.timesofisrael.com/report-netanyahu-trump-planned-iran-strike-far-in-advance-ran-decep...
2•like_any_other•4m ago•0 comments

Phase Bit Retention (Ion) 99.54%

https://z6.oooooooooo.se
1•mbinatorom•4m ago•0 comments

Illinois' Social Media Tax Is a Modern Stamp Act – and Just as Doomed

https://www.techdirt.com/2026/06/23/illinois-social-media-tax-is-a-modern-stamp-act-and-just-as-d...
1•hn_acker•5m ago•0 comments

Utah Is Testing Out AI Doctors–and Actual Doctors Aren't Happy About It

https://www.wsj.com/health/healthcare/ai-doctors-utah-374653c8
3•speckx•6m ago•0 comments

Does This Radio Host Know Everyone in Wales?

https://www.nytimes.com/2026/06/22/world/europe/elis-james-wales-radio.html
1•reaperducer•7m ago•0 comments

Nobody trusted our internal dashboards, so we moved them to code

https://ably.com/blog/dashboards-as-code
1•jnewcomb•9m ago•0 comments

OpenMontage: Open-source, agentic video production system

https://github.com/calesthio/OpenMontage
4•vantareed•10m ago•1 comments

Syrian Subsea Cable Link Downed in Latest Act of Telecom Sabotage

https://www.kentik.com/blog/syrian-subsea-cable-link-downed-in-latest-act-of-telecom-sabotage/
1•oavioklein•10m ago•0 comments

I Got an Investor Check Through Cold LinkedIn Outreach

https://try.wayy.ai/cold-outreach-fundraising-ai-startups-wayy
1•TrueCare24•10m ago•0 comments

The Overnight Test

https://plud.net/the-overnight-test
1•anonfunction•14m ago•0 comments

Years without fluoridated water show pattern of tooth decay experts warned about

https://www.cbc.ca/news/canada/new-brunswick/years-without-fluoridated-water-shows-pattern-of-too...
1•Teever•14m ago•0 comments

The Observability Stack That Makes Datadog Look Absurd at Scale

https://medium.com/@amaan2000mohd/clickstack-the-observability-stack-that-makes-datadog-look-absu...
1•karlmush•14m ago•0 comments

Scam Jobs Are Genuinely Disgusting

https://dartrivity.bearblog.dev/these-scam-jobs-are-genuinely-disgusting/
3•speckx•18m ago•0 comments

Show HN: Caplets - Give your agent capabilities, not giant tool walls

https://caplets.dev
2•ianpascoe•18m ago•0 comments

How to block Reddit posts linking to a specific URL

https://blog.willchatham.com/2026/06/19/how-to-block-reddit-posts-linking-to-a-specific-url/
2•speckx•19m ago•0 comments

Why Traditional Testing Doesn't Work for AI Applications

https://kig.re/2026/06/22/writing-evals-for-ai-powered-apps.html
2•kigster•19m ago•0 comments

The worthlessness of Vitamin D is mildly exaggerated

https://dynomight.net/vitamin-d/
2•surprisetalk•19m ago•0 comments

Ask HN: What do you care about? What is your joy and purpose?

4•aurenvale•19m ago•1 comments

CloudCruise Is GA Now

https://twitter.com/adrmtu/status/2069431889983885345
4•adrmtu•20m ago•0 comments

Find the questions your RAG pipeline will fail on, before your users do

https://github.com/rishavsunny12/ragProbe
3•rishavsunny12•21m ago•0 comments

Digital euro clears key hurdle as EU seeks to break free from U.S. credit cards

https://finance.yahoo.com/markets/currencies/articles/ecb-secures-key-parliamentary-backing-10271...
10•madars•22m ago•0 comments

I built Mosaic – an infinite spatial canvas client for AI chats

https://github.com/versus184-py/Mosaic
2•versus184•23m ago•0 comments

SEC Form F-1 Bending Spoons SPA

https://www.sec.gov/Archives/edgar/data/2004711/000110465926071170/tm2613674-7_f1.htm
2•monkeydust•23m ago•0 comments

Show HN: CUDA Profiler for Production Inference

https://github.com/graphsignal/graphsignal-profiler
5•npgraph•25m ago•0 comments

Chronicle of a Disaster Foretold

https://www.newyorker.com/magazine/2026/07/06/chronicle-of-a-disaster-foretold
2•petethomas•26m 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/