frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Choose Your Back End: Three TLS Bugs in GoAhead

https://foxio.io/blog/choose-your-backend-three-tls-bugs-in-goahead
1•n_plus_1_acc•2m ago•0 comments

Chinese markets lose trillions as race for AI supremacy with US takes its toll

https://www.theguardian.com/world/2026/oct/27/chinese-markets-lose-trillions-ai-race-beijing
1•YeGoblynQueenne•3m ago•0 comments

CocoTerra – Make Chocolate at Home

https://www.cocoterra.com/how-it-works/
1•sgt•6m ago•0 comments

Noctis: A short fiction series about an AI that goes after encryption keys

https://noctis.duokey.com
1•j_rcht•15m ago•0 comments

We sent 23 AI agents to our website. Most looked human

https://privatrak.com/blog/ai-agents-in-analytics
3•qwend•19m ago•0 comments

Adios.dev AI Native Cloud – Is Live on DevHunt

https://devhunt.org/tool/adiosdev-ai-workspace
1•clovis818•20m ago•0 comments

CVE-2026-40369: 12 Bytes to Escape the Browser Sandbox

https://voidsec.com/cve-2026-40369-browser-sandbox-escape/
3•DeepLogin•20m ago•0 comments

The focus on AI safety disasters ignores everyday harms

https://www.technologyreview.com/2026/10/26/1147645/the-focus-on-ai-safety-disasters-ignores-ever...
1•joozio•22m ago•0 comments

Reeve – A native PWA launcher in Rust to replace Electron

https://github.com/MarcelNazare/Reeve
1•marcelnazare050•23m ago•0 comments

Superset is now Paradev, raises $11.5M seed

https://paradev.com/blog/superset-is-now-paradev
1•tkocmathla•23m ago•0 comments

Build. Sign. Ship. No FreeBSD Builder

https://jailops.net/pkgops/
1•root420•25m ago•0 comments

Ni – use the right package manager

https://github.com/antfu-collective/ni
1•modinfo•26m ago•0 comments

Amutable Foundations: Verifiable integrity for Linux infrastructure

https://amutable.com/foundations
1•teekert•35m ago•0 comments

A List of Best TypeScript Books

https://github.com/tscollege/typescript-books
2•hamidreza23•38m ago•0 comments

Zuban – The Python Language Server for Professionals

https://zubanls.com
1•alexaholic•38m ago•0 comments

Show HN: I Built a Modern BBJ

https://git.andros.dev/andros/tyrtulia
1•andros•41m ago•0 comments

Cost-Efficient Pareto Recommendation for LLM Agentic Workflows

https://arxiv.org/abs/2610.26676
1•saikatsg•42m ago•0 comments

The Impact of AI on Creatives – Dave Clayton

https://glyndewis.com/blog/impact-of-ai-on-creatives
1•saikatsg•43m ago•0 comments

Free fan game – Mages PvP

https://magespvp.com/
2•vpvladimirov•46m ago•0 comments

Faaast: Intermittent Fasting Tracker

https://faaastapp.com/
3•tnsrig•46m ago•1 comments

Here's How Unequal Swedish Schools Are

https://www.sverigeisiffror.se/en/verktyg/sa-ojamlik-ar-den-svenska-skolan
2•vienno•46m ago•0 comments

A 2^O(n) Time Algorithm for 3-SAT

https://github.com/anthropics/formal-math/tree/16a5ce41304fcdaea4e0be7c132e1c361dc26da5/eth
2•nryoo•51m ago•0 comments

Bob Woodward spills his 'Secrets'

https://www.washingtonpost.com/investigations/2026/10/26/bob-woodward-spills-secrets-his-journali...
3•Michelangelo11•59m ago•0 comments

OpenZL: Using Graphs To Compress Smaller And Faster

https://ieeexplore.ieee.org/abstract/document/11629332
2•optimalsolver•1h ago•0 comments

Talk to Noor – AI interviewer that speaks English and Arabic

https://www.talktonoor.com
2•anirudhlolla•1h ago•0 comments

Show HN: I built this ASO tool to help you get more users for your iOS apps

https://asonix.io
3•guivr•1h ago•1 comments

Repairing Broken Access Control in Web Applications with LLMs

https://arxiv.org/abs/2610.34290
2•50kIters•1h ago•0 comments

Chemical companies scientists tracked early microplastics risks

https://www.latimes.com/environment/story/2026-10-26/industry-executives-knew-for-decades-about-m...
3•naves•1h ago•0 comments

FTC files complaint against Dollar General for pricing practices – AP News

https://apnews.com/article/federal-trade-commission-dollar-general-prices-1b572418c750c6abe491166...
2•adm4•1h ago•0 comments

The CIA Sabotage Manual for Product Organizations

https://www.leadinginproduct.com/p/sabotage-manual-product-management
2•benkan•1h 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/