frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: Does AI making math breakthroughs make non-mathematicians feel better?

1•amichail•31s ago•0 comments

The Art of 64-bit Assembly

https://nostarch.com/art-64-bit-assembly-v2
1•0x54MUR41•33s ago•0 comments

Cradle. Animated Web Companions

https://cradlestudio.vercel.app/
1•maranga•1m ago•1 comments

Beauty in My Backyard

https://worksinprogress.co/issue/beauty-in-my-backyard/
1•jger15•2m ago•0 comments

Grok: Imagine Video 1.5

https://twitter.com/grok/status/2083353607370416632
2•tosh•9m ago•0 comments

The Collatz conjecture was false [video]

https://www.youtube.com/watch?v=RnfFC_LowtU
1•ykonstant•9m ago•1 comments

Supply and Demand Is Not What Most People Think

https://shonczinner.substack.com/p/supply-and-demand-is-not-what-most
2•kjshsh123•11m ago•0 comments

Strategic Petroleum Reserve

https://en.wikipedia.org/wiki/Strategic_Petroleum_Reserve_(United_States)
2•tosh•11m ago•0 comments

Show HN: Aurora – AI Gateway built in Go

https://github.com/aurorallm/aurora
3•gurveer51•13m ago•0 comments

What a Growing Telegram Disinformation Network Reveals About the DSA

https://www.techpolicy.press/what-a-growing-telegram-disinformation-network-reveals-about-the-dsa/
2•donohoe•13m ago•0 comments

Show HN: TUFHub – Autosync TakeUForward DSA Solutions to GitHub Accepted Verdict

https://github.com/Arora-Sir/TUFHub
2•arora-sir•13m ago•0 comments

A low-latency sandbox for untrusted Python execution

https://sucuri.abstra.io/
2•brunovcosta•16m ago•0 comments

Don't stop early: Case-folding source code at memory speed

https://github.blog/engineering/architecture-optimization/dont-stop-early-case-folding-source-cod...
2•Brajeshwar•17m ago•0 comments

Open-Source AI Platform Orbit

https://github.com/schmitech/orbit
2•r_martinez•17m ago•0 comments

The hallmarks of protein and amino acid restriction in aging and longevity

https://www.cell.com/cell-press-blue/fulltext/S3051-3839(26)00077-0
1•bookofjoe•19m ago•0 comments

GhostMetadata – strip EXIF/GPS data from images locally, runs on mobile term

https://github.com/Zakariaghoudi/Privacy-Cleaner-Tool-
1•zakariaghoudi•21m ago•0 comments

The Anarchist Agent of Artificial Intelligence

https://zeroclue.vercel.app/
1•curzio•22m ago•0 comments

The case for a lunar biocontainment facility

https://link.springer.com/article/10.1007/s13280-026-02428-5
1•longitudinal93•22m ago•0 comments

Legendary Mountaineer Nirmal Purja Killed in Broad Peak Avalanche in Pakistan

https://www.theguardian.com/world/2026/aug/01/top-mountaineer-nirmal-purja-confirmed-dead-after-1...
2•karakoram•24m ago•0 comments

Show HN: Wienerdog – memory and self-improving skills for Claude Code/Codex

https://github.com/wienerdog-ai/wienerdog/
3•thegyula•25m ago•0 comments

Software architecture has its own desire paths

https://twitter.com/i/status/2083541522025189673
2•dragorww•25m ago•0 comments

Science is dying in the UK (short) [video]

https://www.youtube.com/shorts/GkeVg-yrBX0
2•nephihaha•25m ago•0 comments

Libration

https://en.wikipedia.org/wiki/Libration
1•thunderbong•26m ago•0 comments

Keeping FairScan simple isn't simple

https://fairscan.org/blog/keeping-fairscan-simple/
2•Matumio•29m ago•1 comments

Reducing protein intake could support healthy aging by reshaping metabolism

https://medicalxpress.com/news/2026-07-protein-intake-healthy-aging-reshaping.html
1•pseudolus•30m ago•0 comments

Rust – What .boxed() costs you (and a tiny crate to avoid it)

https://ae2.rs/post/boxed-vs-box-pin
1•ae2•31m ago•0 comments

How the smartest people use AI

https://www.youtube.com/watch?v=PcEWx_001aU
1•mattm•32m ago•0 comments

Deployments are now up to 7 seconds faster

https://vercel.com/changelog/deployments-are-now-up-to-7-seconds-faster
1•flyaway123•33m ago•0 comments

Toasts pose significant accessibility concerns and are not recommended for use

https://primer.style/accessibility/patterns/accessible-notifications-and-messages/#toasts
1•plucafs•33m ago•0 comments

How to Spot AI Writing

https://www.economist.com/culture/2026/07/30/how-to-spot-ai-writing
3•ijidak•34m ago•1 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/