frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Scala

https://www.huygens-fokker.org/scala/
2•onestay42•1m ago•0 comments

Leonardo shows Michelangelo, an AI missile shield for Europe

https://ukdefencejournal.org.uk/leonardo-shows-michelangelo-an-ai-missile-shield-for-europe/
1•jshprentz•1m ago•0 comments

Why do most new languages fail? (2012)

https://pointersgonewild.com/2012/06/07/why-do-most-new-languages-fail/
1•azhenley•2m ago•0 comments

Indonesia resists US trade deal 'poison pill'

https://www.ft.com/content/64d27052-a434-4e81-9321-87216eecf99c
1•hhs•2m ago•0 comments

Goodbye, Price Tags. Hello, Dynamic Pricing

https://www.nytimes.com/2025/11/28/opinion/dynamic-pricing-algorithms.html
4•apparent•5m ago•0 comments

Show HN: I Wrote a Field Manual on Self-Hosting(Immich,ZFS,Docker)Free on Kindle

https://www.amazon.com/dp/B0FY3XXPNV
1•devmicrosystems•17m ago•0 comments

Make It Easy for Humans

https://tombedor.dev/make-it-easy-for-humans/
1•jjfoooo4•18m ago•0 comments

Gemini Apps limits and upgrades for Google AI subscribers

https://support.google.com/gemini/answer/16275805?hl=en
1•doener•18m ago•0 comments

Compiler Explorer now supports Racket

https://godbolt.org/z/z3WffbzaY
1•azhenley•20m ago•0 comments

It's mathematically highly likely that there is life elsewhere in the universe

https://www.sciencedirect.com/science/article/pii/S0094576525006599?via%3Dihub
4•Rogach•21m ago•2 comments

Token Visualizer

https://github.com/PeterHdd/token-visualization
1•peterhddcoding•22m ago•1 comments

Zenroom – No-code cryptographic virtual machine

https://zenroom.org/
1•smartmic•31m ago•1 comments

94% zero-shot in a shifting gridworld, no retraining

1•heavymemory•40m ago•0 comments

Mint Is Not TeX

https://mint.ubavic.rs/
3•ubavic•41m ago•2 comments

The Fastest Image Diffing Engine You've Never Heard Of

https://vizzly.dev/blog/honeydiff-vs-odiff-pixelmatch-benchmarks/
2•Robdel12•43m ago•0 comments

Eraser: A Dynamic Data Race Detector for Multithreaded Programs (1997) [pdf]

https://web.stanford.edu/class/archive/cs/cs240/cs240.1054/readings/Tocs97.pdf
1•todsacerdoti•46m ago•0 comments

He Wants a New Start. So He Is Taking the Hardest Driving Test in the World

https://www.nytimes.com/2025/11/24/world/europe/london-black-cab-taxi-driving-test.html
1•bookofjoe•51m ago•1 comments

Get Your Kid a Watch

https://www.theatlantic.com/technology/2025/11/smartwatch-kids-screen-time/684975/
5•fortran77•51m ago•1 comments

Pinball Shopify

https://bfcm.shopify.com/
3•SnaKeZ•54m ago•0 comments

Americans no longer see four-year college degrees as worth the cost

https://www.nbcnews.com/politics/politics-news/poll-dramatic-shift-americans-no-longer-see-four-y...
26•jnord•56m ago•18 comments

Memory-Graph – Knowledge Graph Memory for Claude Code with SQLite/Neo4j/Memgraph

https://github.com/gregorydickson/memory-graph
2•gregorydickson•58m ago•1 comments

Nobara Project: Fedora Linux with user-friendly fixes added to it

https://nobaraproject.org/
2•doener•1h ago•0 comments

Braids Osu Article [pdf] (go state)

https://people.math.osu.edu/chmutov.1/wor-gr-05-20/wor-gr-su20/braids-2020.pdf
1•marysminefnuf•1h ago•0 comments

Human3R: Everyone Everywhere All at Once

https://fanegg.github.io/Human3R/
1•pcooper•1h ago•0 comments

AI Teddy Bear That Talked Fetishes and Knives Is Back on the Market

https://gizmodo.com/ai-teddy-bear-that-talked-fetishes-and-knives-is-back-on-the-market-2000691509
3•gnabgib•1h ago•0 comments

Show HN: I Recreated the Windows Longhorn (2004) Aurora Effect in HTML5 Canvas

https://github.com/brainvine/longhorn-aurora
2•AntonioEritas•1h ago•0 comments

Retro RenderMan: shading food for 'Ratatouille' (2020)

https://beforesandafters.com/2020/07/22/retro-renderman-shading-food-for-ratatouille/
1•HL33tibCe7•1h ago•0 comments

Lobste.rs

https://lobste.rs/
3•dtj1123•1h ago•0 comments

Show HN: Xlerb – A Compiled "Forth" for the Beam

2•shawa_a_a•1h ago•0 comments

Show HN: I made a free log anonymizer in the browser

https://www.getloglens.com/tools/log-sanitizer
2•wazzaaaa•1h ago•1 comments
Open in hackernews

Automatically add missing "async/await" keywords to your TypeScript code

https://github.com/stanNthe5/typescript-autoawait
7•theThree•7mo ago

Comments

bastawhiz•6mo ago
Is this a problem that people actually have?
xeromal•6mo ago
Fun side project man!
primitivesuave•6mo 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•6mo 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•6mo ago
You can still control it by adding "//no-await". In fact, the "//no-await" makes me feel more clear.
nextweek2•6mo 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•6mo ago
It should be noted that there is already a lint rule for this: https://typescript-eslint.io/rules/no-floating-promises/