frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Show HN: Metro Match – compare 18 world metro systems as playable stat cards

https://ajin.im/is/building/metro-match/
1•poppypetalmask•25s ago•0 comments

The Data-Center Panic Is Overblown

https://www.theatlantic.com/ideas/2026/06/ai-data-center-electricity-water/687521/
1•littlexsparkee•43s ago•0 comments

Patching Won't Save You

https://www.siderolabs.com/blog/patching-wont-save-you
1•aweiher•3m ago•0 comments

Based on Your Digital Profile (Short Story)

https://arkvis.com/blog/2026-06-09_based-on-your-profile.html
1•phyzix5761•3m ago•0 comments

Cosmodial Sky Atlas

https://killedbyapixel.github.io/Cosmodial/
2•memalign•4m ago•0 comments

I Gave ChatGPT a Body [video]

https://www.youtube.com/watch?v=S67z2aekBrI
1•gmays•6m ago•0 comments

The Measured Listener

https://lareviewofbooks.org/article/music-algorithm-spotify-eugenics-measure-talent-raymond-cattell/
1•cainxinth•7m ago•0 comments

Amusing Numerology: How Base-5 Domain Numbers Reveal a Single Hidden Campaign

https://www.infoblox.com/blog/security/amusing-numerology-analysis-of-the-numbers-in-domain-names/
1•speckx•8m ago•0 comments

TCS and Anthropic partner to bring Claude to regulated industries

https://www.anthropic.com/news/tcs-anthropic-partnership
1•surprisetalk•9m ago•0 comments

Most Beautiful Will Ever Made (1936)

https://paperspast.natlib.govt.nz/newspapers/DOM19360307.2.43
1•cf100clunk•9m ago•0 comments

Fail loudly: a plea to stop hiding bugs

https://alejo.ch/3gk
1•afc•10m ago•0 comments

Elon Musk becomes first trillionaire as SpaceX shares soar

https://www.bbc.com/news/live/czj8dd0kyl7t
3•bazzmt•11m ago•1 comments

Prompting Claude Fable 5

https://platform.claude.com/docs/en/build-with-claude/prompt-engineering/prompting-claude-fable-5
1•mfiguiere•12m ago•0 comments

Donor Scraper for Fairfax Cryobank

https://github.com/tgys/cryobankscraper
1•autocatt•13m ago•0 comments

The Lorem Ipsum Mystery [video]

https://www.youtube.com/watch?v=kL1PDqzqhM4
1•dsr12•13m ago•0 comments

China's Deadly "Bubble Face" Disaster [video][14 Mins]

https://www.youtube.com/watch?v=yMk1OSSAW28
1•Bender•14m ago•0 comments

UK to ban under-16s from 'high risk' social media apps

https://www.theguardian.com/uk-news/2026/jun/12/uk-to-ban-under-16s-from-high-risk-social-media-apps
1•kefabean•16m ago•0 comments

Ask HN: Why is the term forward deployed engineer (FDE) popular all of a sudden?

3•palidanx•18m ago•4 comments

Are Americans Too Old?

https://www.newyorker.com/culture/open-questions/are-americans-too-old
1•littlexsparkee•18m ago•2 comments

New GreatXML Exploit Bypasses Windows BitLocker via Recovery Partition XML Files

https://github.com/MSNightmare/GreatXML
3•uukelele•19m ago•0 comments

SealedKeys – Zero-knowledge team password manager with post-quantum crypto

https://sealedkeys.com
1•michaelgartlan•19m ago•0 comments

Shares in Elon Musk's SpaceX surge after biggest IPO

https://www.reuters.com/world/us/live-elon-musks-spacex-set-stock-market-trading-after-worlds-big...
2•layer8•19m ago•0 comments

Ten Years of Having a Personal Website

https://blog.greenpants.net/ten-years-of-personal-websites-from-student-to-senior/
2•Greenpants•20m ago•0 comments

System Call Stack Alignment

https://www.humprog.org/~stephen/blog/2026/06/12/#system-calling-alignment
2•matt_d•25m ago•0 comments

Run local agentic AI on the Mac using MLX (WWDC 2026) [video]

https://developer.apple.com/videos/play/wwdc2026/232/
2•sebiw•26m ago•0 comments

Joan Didion: Staking Out California (1979)

https://www.nytimes.com/1979/06/10/books/didion-calif.html
1•jxmorris12•26m ago•0 comments

Four ways AI is making your life more expensive

https://www.washingtonpost.com/technology/2026/06/06/inflation-is-being-driven-up-by-huge-investm...
1•1vuio0pswjnm7•27m ago•0 comments

No updates on Cryptome since June 2025?

https://cryptome.org/
3•joering2•29m ago•4 comments

Factorio: Flip, Flow, and Fresh Paint

https://factorio.com/blog/post/fff-442
2•ibobev•30m ago•0 comments

I Am Not a Reverse Centaur

https://blog.miguelgrinberg.com/post/i-am-not-a-reverse-centaur
9•ibobev•31m 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/