frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Anthropic has signed a $10B deal for computing capacity with Volta

https://twitter.com/KobeissiLetter/status/2084623916744544484
1•wslh•1m ago•0 comments

China's AI Blitz Creates 'Death Zone' for Rival US Model Makers

https://www.bloomberg.com/news/articles/2026-08-04/china-s-ai-blitz-creates-death-zone-for-rival-...
1•koolhead17•1m ago•0 comments

An MCP payment flow where the agent can't reach the signer

https://medium.com/@pvdyck/we-built-an-mcp-payment-flow-the-ai-literally-cannot-hijack-fceae37648e7
1•pvdyck•2m ago•0 comments

Show HN: Simple algorithm and color space to generate diverse skin tones

https://toneyalexander.github.io/inclusive-color-space/
1•automatoney•2m ago•0 comments

How I Find Problems to Solve as a Staff Engineer

https://lalitm.com/post/find-problems-staff-engineer/
1•lalitmaganti•3m ago•0 comments

The Agent Development Lifecycle Has Arrived on Cloudflare

https://blog.cloudflare.com/agent-development-lifecycle/
1•tosh•4m ago•0 comments

Ready, Spec, Ship Hackathon

https://codingagents.fyi/hackathon/kiro/
2•JohnCrickett•5m ago•1 comments

Spotify just hit 300M Premium subscribers

https://www.engadget.com/2229798/spotify-just-hit-300-million-premium-subscribers/
2•ksec•6m ago•0 comments

AI Discord Ticket Bot: Answer First, Then Escalate (No Code)

https://quickchat.ai/post/discord-ai-support-ticket-bot
1•piotrgrudzien•6m ago•0 comments

Everyone Has Receipts. No One Has a Record

https://georginamerhom.substack.com/p/everyone-has-receipts-no-one-has
2•AnhTho_FR•7m ago•0 comments

Most tech revolutions made work worse for employees

https://www.thisandthat.chat/blog/most-tech-revolutions-made-work-worse-for-employees/
3•jreynar•8m ago•0 comments

Scientists find clearing cholesterol from blood also removes forever chemicals

https://www.independent.co.uk/news/science/microplastic-forever-chemical-blood-cholesterol-remova...
3•thunderbong•8m ago•0 comments

The Practice of Programming

https://www.cs.princeton.edu/~bwk/tpop.webpage/
2•siberianbot•9m ago•0 comments

Tell HN: Seedance 2.5 API Pricing

2•JimsonYang•9m ago•0 comments

Hotel Wi-Fi attacks use custom malware to breach Microsoft 365 accounts

https://www.bleepingcomputer.com/news/security/hotel-wi-fi-attacks-use-custom-malware-to-breach-m...
1•Brajeshwar•10m ago•0 comments

Benchmarking Fable, Sol, and Kimi K3 on SlopCodeBench

https://github.com/humanlayer/advanced-context-engineering-for-coding-agents/blob/main/benchmarki...
1•dhorthy•10m ago•0 comments

Show HN: MightyDash – A Free, Privacy-Focused iPhone Dashcam App

https://www.mightydash.app/
1•SunshineTheCat•11m ago•0 comments

Cuba's Bet on Solar [video]

https://www.youtube.com/shorts/YyY_Chfvnfc
1•thelastgallon•12m ago•0 comments

New species discovered on expedition to Channel Islands National Park

https://www.sfgate.com/bayarea/article/new-species-channel-islands-22367099.php
1•cyndunlop•13m ago•0 comments

Online ad giant Adform was hacked, proving once again why ad blockers are needed

https://this.weekinsecurity.com/online-advertising-giant-adform-was-hacked-proving-once-again-why...
3•speckx•13m ago•0 comments

Preventing Misfolding by Preventing Folding

https://www.science.org/content/blog-post/preventing-misfolding-preventing-folding
1•surprisetalk•15m ago•0 comments

Show HN: Real-time argument duello game – AI judge decides who's right

https://wram.chat/
2•kacovvv•16m ago•0 comments

Show HN: g6k-rs – lattice reduction framework on rust: supports CPU,Metal,CUDA

https://github.com/ovasylenko/g6k-rs
1•_alphageek•17m ago•1 comments

Interstellar Travel: The Space Age and Nuclear Rockets

https://www.universetoday.com/articles/interstellar-travel-the-space-age-and-nuclear-rockets
2•rbanffy•17m ago•0 comments

A Terminal-Based Jupyter Notebook That Helps Claude Work Like a Data Scientist

https://www.reddit.com/r/ClaudeCode/comments/1vfcs18/a_terminalbased_jupyter_notebook_that_helps/
1•syumei•19m ago•0 comments

Medical implant teardown: Intermedics Interlith 224 pacemaker

https://www.eevblog.com/forum/projects/medical-implant-teardown-intro-intermedics-interlith-224-p...
1•bdb•20m ago•0 comments

Liechtenstein Hunts Hackers as Data on 31,000 Funds Breached

https://www.bloomberg.com/news/articles/2026-08-04/liechtenstein-hunts-hackers-after-names-on-31-...
1•root-parent•21m ago•0 comments

The UK government still doesn't understand encryption

https://www.applemust.com/the-uk-government-still-doesnt-understand-encryption/
1•speckx•23m ago•0 comments

Merge, Don't Queue

https://inside.basepowercompany.com/p/merge-dont-queue
5•foundval•23m ago•0 comments

The Simple Elegance of the Integrated Timing Belt Loopback Fastener

https://danielmangum.com/posts/integrated-timing-belt-loopback-fastener/
1•hasheddan•23m 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/