frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Mullet Stack: Syncing Types Between FastAPI/Pydantic and TypeScript

https://seanhelvey.com/mullet-stack/guide/
1•Lambda11•2m ago•0 comments

Soaring Diesel Prices Rip Across US Economy

https://www.ft.com/content/8a5cd515-191d-42f9-9b0c-1b817a1bc044
1•karakoram•2m ago•1 comments

Selective Applicative Functors

https://blog.veritates.love/selective-applicatives-theoretical-basis
1•birdculture•5m ago•0 comments

Running Ultrix 4.5 (2019)

https://astr0baby.wordpress.com/2019/03/16/running-vax-ultrix-4-5-on-simh/
1•walrus01•5m ago•0 comments

The 400-Ton Linchpin of American Electrical Power

https://www.nytimes.com/interactive/2026/08/17/magazine/transformers-power-electric-grid.html
1•jdnier•7m ago•0 comments

Children with More Screen Time Score Better on Cognitive Tests, Not Worse

https://www.inc.com/lucia-auerbach/children-with-more-screen-time-did-not-score-worse-on-cognitiv...
1•MitPitt•7m ago•0 comments

Cursor capitalizes on GitHub frustration, launches rival hosting platform

https://techcrunch.com/2026/08/18/cursor-capitalizes-on-github-frustration-launches-rival-hosting...
2•jnord•9m ago•1 comments

Stanford's deterministic CUDA kernel verifier

https://2026.splashcon.org/details/oopsla-2026/96/Equivalence-Checking-of-ML-GPU-Kernels
2•ggboimoney•9m ago•1 comments

Spot X with Bluetooth

https://www.rei.com/product/172306/spot-x-with-bluetooth
1•Bondi_Blue•11m ago•0 comments

Inference Engineering by Philip Kiely – Digital Download

https://www.baseten.co/inference-engineering/
1•ajhai•11m ago•0 comments

An inside look at Hetzner's Datacenters [video]

https://www.youtube.com/watch?v=MQeJYEN_lrg
1•lwhsiao•13m ago•0 comments

Ask HN: How should I price an AI infrastructure platform?

1•aqibkhan026•14m ago•0 comments

Unitree Robotics IPO: "Embodied AI" Valuation Bubble?

https://www.cnn.com/2026/08/18/tech/china-unitree-ipo-intl-hnk
1•dvk13•15m ago•0 comments

Software Engineering Humble Book Bundle

https://www.humblebundle.com/books/software-engineering-manning-books
2•teleforce•15m ago•1 comments

Show HN: Particle – Extract and save articles in a clean, self-hosted reader

https://particle.crnst8.com/try/
1•flowerpil•19m ago•0 comments

Phoenix Species Project Announces Funds for Imperiled Wildlife

https://www.nytimes.com/2026/08/04/climate/phoenix-species-project-bezos-dicaprio-rewild.html
1•gmays•19m ago•0 comments

Pointer Chasing in Modern Systems: Why it hurts, When it helps

https://sourav-k-paul.medium.com/pointer-chasing-in-modern-systems-why-it-hurts-when-it-helps-and...
1•compiler-guy•20m ago•0 comments

Lying in Therapy

https://proud2bme.substack.com/p/lying-in-therapy
6•mohmdsad•21m ago•2 comments

Show HN: ResumeSkip – automatically tailor your resume to jobs

https://resumeskip.com/
2•ghosts_•24m ago•0 comments

My AI Agents Ship Code While I Sleep. Nobody Reviews It

https://goatsquadstudios.com/blog/how-i-work-with-ai-agents-autonomously
2•csgod•27m ago•0 comments

Building in the Cloud with Codex, Safely

https://www.ivan.codes/blog/building-in-the-cloud-with-codex
4•deeshee•28m ago•0 comments

Too much Chinese science is ignored by the West

https://www.economist.com/science-and-technology/2026/06/10/too-much-chinese-science-is-ignored-b...
2•ViktorRay•30m ago•1 comments

Show HN: Maritime, a platform for running AI agents for $1 a month

https://maritime.sh
4•mariagorskikh1•31m ago•0 comments

Threepp: Cross-platform C++20 3D library with the high-level API of Three.js

https://github.com/markaren/threepp
2•klaussilveira•31m ago•0 comments

AI-drafted bills are swamping the House office that writes US laws

https://gizmodo.com/its-absolutely-terrifying-ai-is-reportedly-slopping-up-the-bills-in-congress-...
2•fintuner•31m ago•0 comments

Which universities pay their faculty the most?

https://insurancedimes.com/2026/08/17/20-us-universities-where-professors-earn-over-200k-a-year/
2•crookedroad44•32m ago•0 comments

Why packaging is moving from 1D to 2D barcodes

https://www.packaging-gateway.com/features/why-packaging-is-moving-from-1d-to-2d-barcodes/
3•jawns•34m ago•0 comments

The Book of Bots

https://whatever.scalzi.com/2026/08/18/the-big-idea-james-patrick-kelly-2/
2•MattSayar•34m ago•0 comments

To Build a Data Center – Intro to Diesel Generation

https://power2026.ai/diesel
2•nsomani•35m ago•1 comments

Show HN: A sample dataset of computer-use tasks on professional software

https://cua.graderlabs.com/
14•parthmah•38m ago•2 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/