frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

How Madrid built its metro cheaply

https://worksinprogress.co/issue/how-madrid-built-its-metro-cheaply/
1•trymas•2m ago•0 comments

Expand GELI Encrypted Bhyve VM ZFS Disk

https://vermaden.wordpress.com/2026/06/17/expand-geli-encrypted-bhyve-vm-zfs-disk/
1•vermaden•3m ago•0 comments

Guess the Zoomed in Picture

https://www.zoomedinpicture.com
1•onion92•4m ago•0 comments

Flock Compares Itself to Facebook

https://ipvm.com/reports/flock-facebook
1•jhonovich•4m ago•1 comments

Saving a Tiny Endangered Porpoise One Pixel at a Time

https://nautil.us/saving-a-tiny-endangered-porpoise-one-pixel-at-a-time-1282051
1•Brajeshwar•4m ago•0 comments

Keystone 2.0 – A Worthy 2.0

https://blog.tacoda.dev/keystone-2-0-a-worthy-2-0-7c8e043a64f7
1•tacoda•6m ago•0 comments

FTC lawsuit reveals how subscription scam networks evade app store enforcement

https://techcrunch.com/2026/06/17/ftc-lawsuit-reveals-how-subscription-scam-networks-evade-app-st...
2•ilreb•8m ago•0 comments

Show HN: A distributed computing project for finding primes of the form k·2^n−1

https://primecrunch.com/blog/2/hunting-million-digit-primes-from-my-loft
1•andyhedges•9m ago•0 comments

A map of ~250 NYC places where founders and engineers gather

https://dev-match.xyz/nyc
1•royzac•9m ago•0 comments

Show HN: I turned 250 movies into wormholes

https://inside.thecolorsofmotion.com/
1•clarkcharlie03•10m ago•0 comments

Mastodon looks to newsletters to help revive the open social web

https://techcrunch.com/2026/06/17/mastodon-looks-to-newsletters-to-help-revive-the-open-social-web/
1•ZacnyLos•10m ago•0 comments

Turn your AI coding agent into a read-only compliance auditor

https://github.com/bohdan1288-dotcom/ai-audit-orchestrator
1•bohdan_t•10m ago•0 comments

The Impact of Google's Manifest Version 3 Update on Ad Blocker Effectiveness

https://arxiv.org/abs/2503.01000
1•birdculture•11m ago•0 comments

I Bought, and Then Returned a Kobo

https://ishan.co/kobo-2026/
1•speckx•11m ago•0 comments

Made a free macOS menu bar app that fixes typing in the wrong keyboard layout

https://flickey.site
2•tal_alfi•11m ago•1 comments

Ask HN: Do you know anyone at Meta?

3•finefine•12m ago•0 comments

FTC Sues to Stop Sprawling Enterprise Operating Unlawful Subscription Schemes

https://www.ftc.gov/news-events/news/press-releases/2026/06/ftc-sues-stop-sprawling-enterprise-op...
2•ilreb•14m ago•0 comments

New substrate equation found that explains quantum gravity

https://www.youtube.com/watch?v=azE2bhhSbes
1•waveguard•15m ago•1 comments

Write a GUI Interface with Visual Basic that can be used to track an IP address

https://chatgpt.com/share/6a32f955-89f0-83e8-a487-ec4d1083a376
2•xerox13ster•15m ago•1 comments

Agentic coding and persistent returns to expertise

https://www.anthropic.com/research/claude-code-expertise
1•droidjj•19m ago•0 comments

Automatic LLM routing that optimizes cost and speed

https://factory.ai/product/router
1•terezatizkova•19m ago•0 comments

On OpenAI's Support for Rust

https://rustfoundation.org/media/on-openais-support-for-rust/
1•minimaxir•20m ago•0 comments

If AGENTS.md smells ripe, your code won't live up to the hype

https://www.theregister.com/ai-and-ml/2026/06/17/if-agentsmd-smells-ripe-your-code-wont-live-up-t...
1•fallinditch•21m ago•0 comments

ChatGPT's AI Assistant market share <50% as Gemini and Claude grow

https://techcrunch.com/2026/06/16/chatgpts-market-share-slips-below-50-for-first-time/
1•bhouston•22m ago•0 comments

I scored 200 blockchain NPM packages for deprecation and hijack risk

https://chain-audit.netlify.app
2•Heavensinfinite•22m ago•0 comments

AI coding agents taught robots how to install GPUs and cut zip-ties

https://arstechnica.com/ai/2026/06/ai-coding-agents-can-autonomously-direct-robot-training/
2•pseudolus•22m ago•0 comments

The Magic of a Yellow No. 2 Pencil (2019)

https://cartoonresearch.com/index.php/the-magic-of-a-yellow-no-2-pencil/
1•ripe•23m ago•0 comments

SPACs are back, thanks to Wall Street's mega-IPO frenzy

https://www.reuters.com/legal/government/spacs-are-back-thanks-wall-streets-mega-ipo-frenzy-2026-...
1•alephnerd•24m ago•0 comments

HN-ReadTheRoom

https://hn-readtheroom.exe.xyz/
1•indigodaddy•24m ago•0 comments

Show HN: Learn math as a tour of duty in a Martian Navy

https://martiannavy.com
1•novalis78•24m 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/