frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Ask HN: Opinionated Agent Setup?

1•lookACamel•2m ago•0 comments

Organization is a bigger idea than intelligence – human, or artificial

https://shrsv.hexmos.com/post/organization-bigger-than-intelligence
1•atomicnature•3m ago•0 comments

Humans Don't Have an API

https://www.coderabbit.ai/blog/humans-dont-have-an-api
1•eyehurtsme•3m ago•0 comments

Buckling Manhattan high-rise deemed 'stable' for now after evacuations ordered

https://www.nbcnewyork.com/manhattan/fdny-responds-to-report-of-buckling-building-in-manhattan/65...
1•Markoff•4m ago•0 comments

Show HN: Nino – a dedicated CFP/CPA team and AI to manage your financial life

https://www.usenino.com/
1•jonlerner•4m ago•0 comments

Offensive PowerShell for Red Teamer with Defense Evasion Techniques

https://screetsec.com/blog/offensive-powershell-for-red-teamer-with-defense-evastion-techniques
1•speckx•5m ago•0 comments

Claude Fable 5: Why Anthropic's Most Powerful AI Was Suspended?

1•TheProbe•6m ago•0 comments

Open Source AI Gap Map

https://map.currentai.org/
1•geoffeg•7m ago•0 comments

Show HN: Genbuzz – An agent-driven news aggregator for AI filmmaking

https://genbuzz.news
2•yobfountain•11m ago•0 comments

Can BitMine's $213M Ethereum Bet Spark the Next Rally?

https://coinmarketcap.com/community/post/377612382/
2•joeymabia1•12m ago•0 comments

Show HN: Crondex - All the Cron Jobs

https://github.com/wonsukchoi/crondex
1•wonsukchoi97•12m ago•0 comments

Iran war: Trump says ceasefire 'over' after fresh strikes

https://www.dw.com/en/iran-war-trump-says-ceasefire-over-after-fresh-strikes/live-77869350
2•thisislife2•13m ago•0 comments

New Jersey Passes Garden State Balcony Solar Act

https://pluginsolarus.com/learn/new-jersey-s2368-garden-state-balcony-solar-act
2•codegeek•14m ago•1 comments

Large language models can predict the results of social science experiments

https://www.nature.com/articles/s41586-026-10742-x
1•sbulaev•15m ago•0 comments

The Whispering Earring (2012)

https://gwern.net/doc/fiction/science-fiction/2012-10-03-yvain-thewhisperingearring.html
1•random__duck•18m ago•0 comments

AI Slop as a Social Immune Response

https://thepatrickglenn.substack.com/p/on-ai-slop
2•pwmglenn•19m ago•0 comments

Managedagents.sh

https://www.managedagents.sh/
2•iacguy•21m ago•0 comments

Waymo traps teens firing toy gun in driverless car, raising privacy concerns

https://www.nbcbayarea.com/news/local/waymo-teens-drinking-shooting-objects-san-mateo/4110140/
1•text0404•21m ago•1 comments

Satellite Surge in the Night Sky: An interactive look at orbit density

https://naturnacht-fulda-rhoen.de/wp-content/uploads/2026/07/satelliten-himmel-i18n.html
1•ptrsrtp•25m ago•0 comments

Why Toolmaking Is the Most Effective Way of Learning

https://medium.com/@subairui/coding-on-principle-toolmaking-is-the-most-effective-way-of-learning...
2•subairui•25m ago•1 comments

Show HN: Leafwright – Generate PDFs without running headless Chrome

https://leafwright.co
1•alejoestela•26m ago•0 comments

Which Bazel tests are affected? Ask the remote cache, run nothing

https://aspect.build/blog/selective-testing-with-cache-diff
1•shelbyte•28m ago•0 comments

LiberSystem – A capability-based microkernel OS written in Rust

https://libersystem.com/
1•klez•28m ago•0 comments

Loop Engineering's Missing Half

https://x.com/nsankar/article/207382099687713997
1•sankarn_ai•28m ago•0 comments

And Then the Billionaire Paid Off $550 Million of Our Debts

https://idiallo.com/blog/billionaire-paid-off-550-million-dollars-of-our-debts
2•Brajeshwar•30m ago•1 comments

What is wrong with AI services businesses

1•rcarrol6•31m ago•0 comments

Fable Built Thomas Jefferson's Rotating Bookstand

https://jefferson-bookstand.vercel.app
1•mikemangialardi•32m ago•1 comments

Can geoengineering blunt El Niño's fury?

https://www.sciencenews.org/article/geoengineering-el-nino-extremes
1•littlexsparkee•34m ago•0 comments

Miles: A PyTorch-Native Stack for Large-Scale LLM RL Post-Training

https://pytorch.org/blog/miles-a-pytorch-native-stack-for-large-scale-llm-rl-post-training/
1•gmays•35m ago•0 comments

Solomon's Paradox

https://en.wikipedia.org/wiki/Solomon%27s_paradox
1•ike_usawa•36m 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/