frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Tariff talk on S&P 500 earnings calls fell 80%, and refunds now drive most of it

https://equibles.com/research/are-companies-still-talking-about-tariffs-evidence-from-4-952-s-p-5...
1•daniel3303•2m ago•0 comments

A benchmark of data-analysis traps for coding agents

https://github.com/boranfurkan/trustworthy-data-analysis
1•boranfurkan•3m ago•0 comments

How Open Models Win Against OpenAI and Anthropic [video]

https://www.youtube.com/watch?v=zsO5RktNB7k
1•pretext•4m ago•0 comments

On Learning and LLMs

https://julienvincent.io/posts/on-learning-and-llms
1•julienvincent•4m ago•0 comments

China publicly discloses plan for a lunar landing within three years

https://arstechnica.com/space/2026/11/china-releases-timeline-for-lunar-landing-on-the-moon-targe...
1•motionlessveloc•5m ago•1 comments

Why dogs catch yawns from their owners but not other dogs

https://www.economist.com/science-and-technology/2026/10/28/why-dogs-catch-yawns-from-their-owner...
1•vinni2•6m ago•0 comments

Who Powers the Token Economy?

https://hxu296.github.io/ai-compute-landscape/
1•hxu296•7m ago•0 comments

OAuth Client ID Metadata Document

https://oauth.net/2/client-id-metadata-document/
1•mooreds•7m ago•0 comments

Stop Hogging RAM You Monster

https://ramhogger.monster/
1•cooldevcoding•7m ago•1 comments

Show HN: Spielerando: A game creation workbench for coding assistants

https://spielerando.com/en
1•legocoder•7m ago•0 comments

Elon Musk throttles Grok Bot limits due to 'unsustainably high' costs

https://techcrunch.com/2026/11/02/elon-musk-throttles-grok-bot-limits-due-to-unsustainably-high-c...
1•inthebay•7m ago•0 comments

AI Voice Translator

https://github.com/UncleAndy/ai-translator
1•uncleandyv•8m ago•0 comments

New York Times and other outlets sue web browser Brave over content scraping

https://techcrunch.com/2026/11/02/new-york-times-and-other-outlets-sue-web-browser-brave-over-all...
1•inthebay•8m ago•0 comments

Vercel is adding Golang support to Next.js

https://twitter.com/timneutkens/status/2116204819279134824
1•Onavo•9m ago•0 comments

Ask HN: Justine.lol down. What happened to jart?

1•hochmartinez•9m ago•0 comments

Will AI Replace Engineers? I Ran the Experiment [video]

https://www.youtube.com/watch?v=K5gXc6kDgsE
1•dkobia•11m ago•0 comments

Cyberattacks hit supermarket fridges and freezers in Europe

https://www.euronews.com/2026/11/02/cyberattack-hits-belgian-supermarket-fridges-and-freezers
2•mttgrio•14m ago•2 comments

Ask HN: Can you help me design my YouTube feed?

1•mrkn1•15m ago•1 comments

AI and Incidents with Sylvain Kalache [video]

https://www.arresteddevops.com/ai-and-incidents/
1•mooreds•17m ago•0 comments

Immutable Foundations: Linux that proves its state

https://www.heise.de/en/news/Immutable-Foundations-Linux-that-proves-its-state-11508488.html
2•losgehts•17m ago•0 comments

Fast and slow ways to improve your reputation

https://www.seangoedecke.com/how-to-get-assigned-interesting-work/
2•aray07•17m ago•0 comments

M4Bench: Evaluating Procedural Specification for Clinical EHR Derivation Agents

https://arxiv.org/abs/2610.37459
1•arbayi•18m ago•0 comments

Show HN: TextoCAD – Text to editable CAD (STEP/STL), runs locally with your key

https://github.com/harisharandangi/textocad
1•harisharandc•18m ago•0 comments

Why Is My Kubernetes Job Still Pending? Tracing Kueue Admission with Headlamp

https://headlamp.dev/blog/2026/10/12/tracing-kueue-admission-with-headlamp/
3•hnisjafx40•19m ago•0 comments

AI models may not be so opaque after all

https://www.economist.com/science-and-technology/2026/10/24/ai-models-may-not-be-so-opaque-after-all
2•vinni2•19m ago•0 comments

Dinosaur blood – oldest discovery rewrites what fossils can reveal

https://www.curtin.edu.au/news/media-release/dinosaur-blood-oldest-discovery-rewrites-what-fossil...
1•geox•21m ago•0 comments

Patrick Stewart's First TV Appearance

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

A step-by-step guide for how to kill the line-by-line code review

https://thenewstack.io/ai-code-review-invariants/
1•tonkkatonka•26m ago•0 comments

Show HN: Trail Commons – A new open map of mountain bike trails

https://trailcommons.app/posts/announcing-trail-commons
1•kennethtransier•26m ago•0 comments

Show HN: HN Atlas – Discover tools to better engage with Hacker News

https://hn-atlas.bensontech.dev/
2•informal007•29m 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/