frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: You Can Just Filter YouTube Playlists in the 'Save to Playlist' Dialog

1•ydoc5212•2m ago•0 comments

iPhone Duo jailbroken on launch day

https://www.macrumors.com/2026/10/23/iphone-duo-jailbreak/
2•gloxkiqcza•4m ago•0 comments

A Fix for Softmax and Cross-Entropy

https://jonbarron.info/softmaxfix/
1•Georgelemental•5m ago•0 comments

Oil spill washes up on UAE beaches after tanker strike

https://www.bbc.com/news/articles/c6rey3n974g5o
1•blondie9x•7m ago•0 comments

Birdwatching rewires the brain and slows cognitive decline

https://www.bbc.com/future/article/20261019-birdwatching-rewires-the-brain-and-slows-cognitive-de...
2•cisc•8m ago•2 comments

The same AI question emits more carbon dioxide in Texas than in Sweden

https://www.cio.com/article/4238689/the-same-ai-project-emits-more-carbon-dioxide-in-texas-than-i...
1•wltyn•8m ago•0 comments

Google will pay people to use less electricity so its data centers can use more

https://www.computerworld.com/article/4239858/google-will-pay-people-to-use-less-electricity-so-i...
2•mikelgan•9m ago•0 comments

Learning as Freedom (2012)

https://www.nytimes.com/2012/09/06/opinion/john-deweys-vision-of-learning-as-freedom.html
1•alasr•10m ago•1 comments

AI devours a fifth of companies' IT budgets

https://www.computerworld.com/article/4239898/ai-accounts-for-one-fifth-of-companies-it-budgets.html
3•mikelgan•13m ago•0 comments

Why have coding agents not brought easter-egg utopia?

https://rallywith.ai/blog/bring-back-easter-eggs/
1•ajuhasz•14m ago•0 comments

HumanLayer is now Open Source

https://www.hlyr.dev/blog/open-sourcing-humanlayer
1•dhorthy•15m ago•0 comments

AI Just Raised the Stakes on Continuous Delivery

https://www.bradoyler.com/ai/continuous-delivery-is-a-security-feature/
1•bradoyler•19m ago•0 comments

Window Heat Pumps Offer Efficient Heating and Cooling Without Ductwork

https://www.wsj.com/business/energy-oil/window-heat-pumps-heating-cooling-fd552926
1•bookofjoe•19m ago•1 comments

Factorio version 2.1, the final major update for the game, has been released

https://factorio.com/blog/post/fff-449
2•haunter•21m ago•0 comments

Ritmo: Type-safe ECS runtime for TypeScript

https://ritmo.typeonce.dev/
1•sandromaglione•24m ago•0 comments

Bitter Lessoned in Automated Theorem Proving

https://essays.johnloeber.com/p/34-bitter-lessoned-in-automated-theorem
1•loeber•25m ago•0 comments

One Man's Pan Am 747 Replica [video]

https://www.youtube.com/watch?v=vAFwHGGfPz4
1•Teever•26m ago•0 comments

Zedis v0.2.0

https://github.com/barddoo/zedis/releases/tag/v0.2.0
1•barddoo•29m ago•0 comments

Empirical agents with hard constraints, strict isolation and trusty protocols

https://qip.dev/essays/empirical-agents-with-hard-constraints-strict-isolation-trusty-protocols
1•codesparkle•29m ago•0 comments

Show HN: Token Beggar, route coding agent subtasks to cheaper models

https://github.com/Arthur031221/Token-Beggar
1•levi74108520963•35m ago•0 comments

Show HN: AiSniff, underline the phrases in a text that read like AI wrote them

https://github.com/Arthur031221/AiSniff
1•levi74108520963•36m ago•0 comments

Show HN: I trained a 160M code model on one GPU and got 22.56% on HumanEval

https://jakubcwirlej.com/ai-dev/
1•jakcwi•36m ago•0 comments

The Hackening

https://thezvi.substack.com/p/the-hackening
1•7777777phil•37m ago•0 comments

Proton hosts map of 300k Flock devices amid legal threats

https://cyberinsider.com/proton-flock-map/
3•DeepLogin•38m ago•0 comments

TechTwitter – For when you want to keep up, but don't like Elon

https://techtwitter-lime.vercel.app/
1•SpyCoder77•39m ago•0 comments

"Slow Horses," Apple TV's Best Show

https://www.newyorker.com/culture/on-television/slow-horses-apple-tvs-best-show-retains-its-punge...
1•amrrs•39m ago•0 comments

Show HN: CAS-X – An input-dominant recursive filter (8.5x recovery acceleration)

1•richardaamaya•41m ago•0 comments

Show HN: CAS-X – An input-dominant recursive filter (8.5x recovery acceleration)

1•richardaamaya•42m ago•0 comments

Show HN: I gave Claude control of Photoshop

https://github.com/kathan3009/photoshop-mcp
1•kathan3009•43m ago•0 comments

Show HN: Automated newsletter built with Grok bot

https://news.devs.dev
1•westche2222•45m 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/