frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

The Warehouse Where Amazon Scans and Destroys Books for AI Training

https://www.404media.co/inside-the-warehouse-where-amazon-scans-and-destroys-books-for-ai-training/
1•beardyw•50s ago•0 comments

The Fate of the Orange Petunia

https://oldworldoptimist.substack.com/p/the-fate-of-the-orange-petunia
1•larsiusprime•58s ago•0 comments

Why Google stores billions of lines of code in a single repository (2016)

https://dl.acm.org/doi/fullHtml/10.1145/2854146
1•speckx•1m ago•0 comments

Data members that want to use `size()`

https://quuxplusone.github.io/blog/2026/08/25/size-idioms/
1•ibobev•1m ago•0 comments

Farewell Golioth and Hello Nordic

https://danielmangum.com/posts/farewell-golioth-hello-nordic/
1•hasheddan•1m ago•0 comments

Forgejo hack: How to set a starting issue and pull request number

https://blog.miguelgrinberg.com/post/forgejo-hack-how-to-set-a-starting-issue-and-pull-request-nu...
1•ibobev•2m ago•0 comments

You could have invented PageRank

https://praveshkoirala.com/2026/08/26/you-could-have-invented-pagerank/
1•pkoird•2m ago•0 comments

How does a $35 monitor have more sensors than a $200 one? [video]

https://www.youtube.com/watch?v=t5yAZb5Blbs
1•tambourine_man•3m ago•0 comments

Content Creators New Money

https://twinlylab.com/
1•aleksnowacki•4m ago•0 comments

Ankit Gupta's "Flyover Country" Comments

https://twitter.com/santiagopliego/status/2092289647766642906
1•Tabular-Iceberg•5m ago•0 comments

A 2.4 KB backup of a 2.4 MB database, and pg_dump exited 0

https://proofdrill.g1ga.it/writing/force-rls-pg-dump
1•g1ga•5m ago•0 comments

Putting mice into hibernation causes a major loss of synapses

https://arstechnica.com/science/2026/08/memories-stick-around-even-after-half-the-synapses-are-gone/
1•bookofjoe•6m ago•0 comments

Eugenics: The Return of a Discredited Pseudoscience

https://nautil.us/the-return-of-a-discredited-pseudoscience-1283873
1•samizdis•7m ago•0 comments

The Long Shadow of Checks (2023)

https://www.bitsaboutmoney.com/archive/the-long-shadow-of-checks/
1•mooreds•7m ago•0 comments

Learn Vectorized Thinking in Python Through Examples

https://machinelearningmastery.com/learn-vectorized-thinking-in-python-through-examples/
1•eigenBasis•7m ago•0 comments

The multiplying risks of financing data centres

https://www.ft.com/content/9cb63980-cd43-419d-a7e5-42039b9fd01e
2•petethomas•8m ago•1 comments

Enabling Images of Distant Worlds

https://www.mpg.de/26940719/photos-of-distant-exoplanets-taken-with-the-roman-space-telescope-and...
1•geox•9m ago•0 comments

Take a Tour of SLAC

https://www6.slac.stanford.edu/public-tours
1•mooreds•9m ago•0 comments

Taylor Farms: How One Company's Reach Became a National Risk

https://farmaction.us/taylorfarmsreport/
1•speckx•10m ago•0 comments

Using TouchID to login to SSH with sod

https://www.botanica.software/blog/ssh-logins-with-sod
3•botanica_labs•10m ago•0 comments

Apple's Quiet Shift to Rust: What It Means for Developers (2025)

https://goktugaral.medium.com/apples-quiet-shift-to-rust-what-it-means-for-developers-a4cca4a08abd
2•andsoitis•10m ago•0 comments

100M CROWPOWER and no horses on the moon

https://taylor.town/crowpower
1•surprisetalk•10m ago•0 comments

Language focused Docker images, minus the operating system. Topics

https://github.com/GoogleContainerTools/distroless
1•mooreds•11m ago•0 comments

Fixing Ill-Formed UTF-16 Strings with SIMD Instructions

https://twitter.com/lemire/status/2092615366199447677
1•tosh•12m ago•0 comments

Show HN: Shelf Protocol – Robots.txt for Commerce

https://github.com/Signal-All/shelfprotocol
1•Lui371•13m ago•0 comments

Charges Dropped Against Person Who Clapped at a City Data Center Meeting

https://www.404media.co/charges-dropped-against-person-who-clapped-at-a-city-data-center-meeting/
1•randycupertino•14m ago•0 comments

Companies Are Promising Cloud Seeding Can Make Rain

https://www.nytimes.com/2026/08/24/climate/cloud-seeding-west-drought-rain.html
1•lxm•15m ago•0 comments

To predict tree death, scientists tapped gamma rays to peer underground

https://www.science.org/content/article/predict-tree-death-scientists-tapped-gamma-rays-peer-unde...
1•Brajeshwar•15m ago•0 comments

Show HN: How much of Hacker News is AI?

https://hnstats.com
3•beekthos•15m ago•2 comments

The Connections That Turned Precocious Teen into the Fallen 'Nostradamus of AI'

https://www.wsj.com/tech/ai/situational-awareness-leopold-aschenbrenner-ai-fund-4dbb00a4
1•pondsider•17m 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/