frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Berkshirehathaway.com – The Perfect Minimalist Website

https://berkshirehathaway.com
2•SpyCoder77•2m ago•0 comments

Track Political Stories Across the Web

https://plotline.news
1•yshunnar•3m ago•0 comments

How Elon Musk Killed Hundreds of Thousands of People

https://www.currentaffairs.org/news/how-elon-musk-killed-hundreds-of-thousands-of-people
1•tastyface•3m ago•0 comments

WWDC 2026 Platforms State of the Union [video]

https://developer.apple.com/videos/play/wwdc2026/102/
1•ksec•3m ago•0 comments

Show HN: DaysLeft – a bio-age clock that shows a range, not a death date

https://daysleft.io
1•neo-genesis•6m ago•0 comments

Waymo bought Apple's self-driving car proving ground for $220M

https://techcrunch.com/2026/06/08/waymo-bought-apples-self-driving-car-proving-ground-for-220m/
2•sbulaev•9m ago•0 comments

Deciding on secession: how familiar and unknown futures shape loss aversion

https://www.frontiersin.org/journals/political-science/articles/10.3389/fpos.2026.1805138/full
1•PaulHoule•9m ago•0 comments

Screenlet lets you record and export product demo videos from the browser

https://chromewebstore.google.com/detail/screenlet/cdefecgpidbfmcifjecnbhldndpflhod
1•sakhtar0092•10m ago•0 comments

Berkshirehathaway.com – The Perfect Minimalist Website

1•SpyCoder77•15m ago•3 comments

Build a ZeroCost Web Automation Pipeline with OpenRouter, OpenClaw, and MediaUse

https://pub.towardsai.net/build-a-zero-cost-web-automation-pipeline-with-openrouter-openclaw-and-...
1•yooibox•16m ago•0 comments

I Analyzed 163K Lines of Kuzu's Codebase. Here's Why Apple Wanted It

https://medium.com/data-science-collective/i-analyzed-163k-lines-of-kuzus-codebase-here-s-why-app...
1•ksec•17m ago•0 comments

Lscpu for Mac / Apple Silicon

https://github.com/hcarvalhoalves/lscpumac
1•manoDev•18m ago•1 comments

My URL/NSURL bug in the OS 27

https://lapcatsoftware.com/articles/2026/6/1.html
1•ilreb•20m ago•0 comments

Hot path optimization. When float division beats integer division

https://blog.andr2i.com/posts/2026-06-08-optimization-catalog-when-float-division-beats-integer-d...
1•birdculture•21m ago•0 comments

Show HN: Durable, asynchronous LLM workflow engine in Rust

https://crates.io/crates/langcontinuation
1•rescrv•23m ago•0 comments

Ask HN: Do you also feel like KYC is turning you off to the concept of money

1•JumpinJack_Cash•23m ago•0 comments

Faith, Dignity, and Human Flourishing: Hearing God's Voice in an Age of AI [video]

https://www.youtube.com/watch?v=Ts5Z64A0Vv4
2•ldayley•27m ago•1 comments

Show HN: SnakeBaby – Cute symbols, bios, kaomoji, and username ideas

https://snakebaby.com/
1•zylics•27m ago•0 comments

Show HN: Web tools an AI agent pays for per call in USDC, no API key (x402+MCP)

https://superhighway.walls.sh
2•patwalls•28m ago•0 comments

AI, Argentina and the Antichrist: Thiel's Vision Blooms

https://www.thenerdreich.com/ai-argentina-and-the-antichrist-thiels-vision-blooms/
1•prawn•31m ago•0 comments

New command-line in macOS 27 for interacting with Foundation Models

https://bsky.app/profile/alex.zenla.io/post/3mnswr2qxb22i
2•alexzenla•31m ago•0 comments

Reading Buffett and Munger, the stuff that stuck had nothing to do with stocks

https://old.reddit.com/r/ValueInvesting/comments/1u0hbzt/spent_my_first_year_actually_reading_buf...
1•dkga•34m ago•0 comments

Our Stock Market Is Broken

https://www.nytimes.com/2026/06/08/opinion/spacex-ipo-stock-market.html
4•2OEH8eoCRo0•37m ago•0 comments

Autonomy Is Not a Switch

https://autonomousagents19.com/blog/governed-autonomy/approval-hybrid-autonomous-three-modes-of-t...
1•KissMySaas•44m ago•0 comments

macOS 27 requires Apple Silicon, as Apple draws down the Intel Mac era

https://arstechnica.com/gadgets/2026/06/macos-27-requires-apple-silicon-as-apple-draws-down-the-i...
3•gk1•46m ago•0 comments

How to Find Consulting Clients (2015)

https://www.gkogan.co/how-to-find-consulting-clients/
1•gk1•48m ago•0 comments

If only you could be so lucky as to feel regret

https://www.bitsofwonder.co/p/if-only-you-could-be-so-lucky-as
1•ogundipeore•48m ago•0 comments

Building Software Is Learning

https://registerspill.thorstenball.com/p/building-software-is-learning
2•baetylus•51m ago•0 comments

Same Query, Three Results: Benchmarking ParadeDB and Postgres FTS

https://www.paradedb.com/blog/benchmarker-iteration
1•jamesgresql•53m ago•1 comments

The Truth About Salt – By a Midwestern Doctor

https://www.midwesterndoctor.com/p/the-truth-about-salt-efa
1•bilsbie•55m 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/