frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: I added optional chaining to CPython

https://github.com/grandimam/cpython
1•grandimam•42s ago•0 comments

Anthropic is out with new nonsense about Claude

https://dair-community.social/@emilymbender/117412868905734653
1•nobody9999•6m ago•0 comments

CalVer 26.0: 10th Anniversary Edition

https://sedimental.org/calver_26.html
2•mhashemi•9m ago•2 comments

AI-Powered Plasma Cutting

https://www.deldiosglasshouse.com/stuff-weve-made/ai-g-code
1•cjemmott•12m ago•1 comments

I built a simple app for cooking steak

https://play.google.com/store/apps/details?id=com.akshatpandey.steaktimer&hl=en_US
1•vedicashcapcut•15m ago•2 comments

Arena Allocators in C

https://eliasebner.com/blog/guides/arena-allocators-in-c/
1•dimonomid•15m ago•0 comments

Karpathy on Learning

https://twitter.com/karpathy/status/1756380066580455557
2•sonabinu•16m ago•1 comments

The Controversial Class That MIT Is Paying a Professor Not to Teach

https://www.nytimes.com/2026/10/09/us/mit-professor-michel-degraff-palestine-course.html
3•mikhael•17m ago•0 comments

Total Annihilation, rebuilt for modern computers

https://nanolathe.gg
2•jttnr•19m ago•0 comments

"Natural deploy" build your own self hosted orchestration framework

1•Akilan1999•22m ago•0 comments

NYC's "Click to Cancel" rule is now in effect

https://www.nyc.gov/main/click-to-cancel
1•gregsadetsky•22m ago•0 comments

Solar 'traffic controller' for apartments takes top Australian design award

https://www.theguardian.com/environment/2026/oct/09/amazing-piece-of-technology-solar-traffic-con...
1•DamonHD•24m ago•0 comments

We're unlocking the biggest mysteries of the clitoris

https://www.sciencefocus.com/the-human-body/were-finally-unlocking-the-biggest-mysteries-of-the-c...
11•Vaslo•27m ago•1 comments

Show HN: RugShield 402 – DEX honeypot simulator via HTTP 402 on Base

https://github.com/ak10082247-max/rugshield-402
1•kurox_real•32m ago•0 comments

57B tokens and nothin' on – a jq rewrite

https://nial.se/blog/57-billion-tokens-and-nothin-on/
3•nialse•34m ago•0 comments

Canada's employment surprisingly shrinks in September, jobless rate inches up

https://www.reuters.com/world/americas/canadas-employment-surprisingly-shrinks-september-jobless-...
1•frank_clover•34m ago•0 comments

Gossip Girl for Literature

https://gutenberg-ten.vercel.app/
1•aithena•34m ago•0 comments

A quick way to visit a random page on MDN

https://kevinkipp.com/blog/random-mdn-page/
1•Velocifyer•35m ago•0 comments

List of Top Ideas and Articles

https://manket16.github.io/idea-atlas/
1•Manket1610•37m ago•0 comments

Abandoning functionalism: Some intuition pumps (2024)

https://forum.effectivealtruism.org/posts/6cc9y3rwSBRWsquBs/abandoning-functionalism-some-intuiti...
1•eatitraw•38m ago•0 comments

Japan Turns to Ukraine's Battle-Tested Drone Killers, Signs Deal with SkyFall

https://united24media.com/war-in-ukraine/japan-turns-to-ukraines-battle-tested-drone-killers-sign...
3•Teever•39m ago•0 comments

How Diablo drew its sprite shadows

https://glebm.github.io/share-glebm-com/diablo_sprite_shadows.html
1•glebm•40m ago•0 comments

Salty.im – A decentralised, self-hosted, secure, private messaging platform

https://salty.im/
1•gurjeet•41m ago•0 comments

YouTuber builds 'Flock-like' camera to track police vehicles, gets police visit

https://www.tomshardware.com/tech-industry/cyber-security/canadian-youtuber-builds-flock-like-cam...
26•ljf•43m ago•13 comments

Thirty Years That Shaped Postgres Architecture

https://www.i-programmer.info/news/84-database/19204-thirty-years-that-shaped-postgres-architectu...
2•aquastorm•44m ago•0 comments

Show HN: Vocafy – Listen to Vocaloid songs by producer, from the original videos

https://vocafy.kkweb.io/en
1•piro0919•45m ago•0 comments

Crawlable – We audited 50 top web apps for AI crawler readability

https://usecrawlable.com/research/ai-search-readability-index
1•shahidsaleem•46m ago•1 comments

Michael I. Jordan on AI: "Superintelligence is science fiction"

https://www.di.ens.fr/~fbach/MJordan_ITW_Liberation_English.html
3•haltingproblem•47m ago•1 comments

Ario – auditing AI memory and self-claims as structure, not trust

https://zenodo.org/records/23132717
2•xx47•47m ago•1 comments

Can Wearables Track Blood Pressure Without the Cuff? I Tested Them

https://www.wsj.com/health/wellness/blood-pressure-monitoring-rings-watches-98949dde
1•brandonb•47m 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/