frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

XProtect behavioral flop: the Golden Gasp

https://melomac.com/posts/xprotect-behavioral-flop-the-golden-gasp/
1•melomac•1m ago•1 comments

Will AI push programming to lower level abstractions?

https://twitter.com/elonmusk/status/2099308197802631191
1•LeonSong•1m ago•1 comments

MapLoud – An AI workspace where your thinking and context stay connected

https://www.maploud.com/platform
1•Nic_Maploud•2m ago•1 comments

Extensible defunctionalization with typeclasses, or functions in pure data in Ha

https://blog.veritates.love/functions-as-data
1•fanf2•2m ago•0 comments

Video Games Linked to Modest Gains in Cognitive Ability

https://www.emjreviews.com/neurology/news/video-games-linked-to-modest-gains-in-cognitive-ability/
1•akyuu•3m ago•0 comments

Why doesn't ReadDirectoryChangesW correlate both sides of a rename?

https://devblogs.microsoft.com/oldnewthing/20260914-00/?p=112696
1•ibobev•3m ago•0 comments

Microsoft asks users to ignore 'Antivirus is turned off' errors

https://www.bleepingcomputer.com/news/microsoft/microsoft-asks-users-to-ignore-antivirus-is-turne...
2•fortran77•4m ago•0 comments

How can I remove the Close button from my window caption?

https://devblogs.microsoft.com/oldnewthing/20260911-00/?p=112691
1•ibobev•5m ago•0 comments

A 40ms Go GC pause caused by swap

https://frn.sh/go-gc/
4•pillscig•7m ago•0 comments

Valve Announces Steam Frame Price, Release Date, and Accessories

https://roadtovr.com/valve-steam-frame-price-release-pre-orders/
1•mikro•8m ago•0 comments

A College Girl Was Exploited on Camera. A Network of Anonymous Men Got to Work

https://www.wired.com/story/burnerverse-maddie-kowalski/
1•mtremsal•9m ago•1 comments

The Grader Didn't Care How You Got There

https://lotsofdata.blog/2026/09/07/the-grader-didnt-care-how-you-got-there/
1•aray07•10m ago•0 comments

The case for workflow-driven AI software development and vibe coding

https://blog.codeyam.com/p/workflows-for-the-win-for-non-developers
1•nadis•10m ago•0 comments

Smartphones could be used to screen for cataracts and other eye problems

https://www.escrs.org/channels/news/smartphones-could-be-used-to-screen-for-cataracts-and-other-e...
2•gmays•12m ago•0 comments

Valve Steam Frame VR Review vs. Meta Quest 3 – Privacy, Latency, & Benchmarks

https://www.youtube.com/watch?v=vcerOYY_K1g
2•EspadaV9•13m ago•0 comments

Steam Frame starts at $1059

https://store.steampowered.com/hardware/steamframe
20•bsimpson•16m ago•1 comments

Show HN: Pull every comment out of a Google Sheet, in the browser

https://bensunter.com/commentpulse.html
1•bsunter2•16m ago•0 comments

Tired of old learning methods? Learn anything by building what you want

https://twitter.com/codesetai/status/2099550189405024425
1•andre15silva•17m ago•0 comments

Meshroom photogrammetry on AMD GPUs via HIP, bit-identical, with a VRAM bridge

https://github.com/dspl1236/cheshire
1•dspl1236•17m ago•0 comments

If Windows were designed today, would the Registry exist? [video]

https://www.youtube.com/watch?v=YHld0jl0h8I
2•ingve•18m ago•0 comments

Mojo 1.0 and the Open Road Ahead [video]

https://www.youtube.com/watch?v=a7YdrWOfi7o
1•melodyogonna•19m ago•0 comments

Destroy After Reading: photocopiers,cheap paper and DIY gave metal it's look

https://www.truegrittexturesupply.com/blogs/news/destroy-after-reading
1•pigeons•19m ago•0 comments

Show HN: Vedic Astrology Chart – free D1/D9 birth chart with AI insights

https://vedicastrologychart.org/
1•liweipt•21m ago•0 comments

A Year of Hacking with LLMs

https://sites.google.com/site/zhiniangpeng/blogs/Hacking-with-LLMs-Eng
1•homarp•21m ago•0 comments

Waymo now welcoming riders in Las Vegas

https://waymo.com/blog/2026/09/ride-in-las-vegas/
1•xnx•22m ago•0 comments

Two Reminders about AI

1•slackfan•25m ago•6 comments

The Steam Frame Is $1,059, and More Expensive Than It Was Supposed to Be

https://www.ign.com/articles/steam-frame-price
1•01-_-•26m ago•0 comments

As Power Demand Rises, a Clean-Energy State Falls Back on Coal

https://insideclimatenews.org/news/14092026/iowa-increases-coal-power-to-meet-electricity-demand/
1•paimapi•27m ago•0 comments

Humanity's Last Invention

https://www.latent.space/p/recursive
2•swyx•27m ago•1 comments

Pion, an agent designed to run any company autonomously

https://andonlabs.com/blog/why-we-built-pion
35•lukaspetersson•28m ago•24 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/