frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Google Is Quietly Buying Code from Play Store Developers to Train AI

https://www.404media.co/google-is-quietly-buying-code-from-play-store-developers-to-train-ai/
1•SpyCoder77•1m ago•0 comments

"Virus – Vishanu" – Jayant V Narlikar

https://mitpress.mit.edu/9780262056281/virus/
1•aanet•1m ago•1 comments

Visual editor for React/MUI that touches your repo atomically

https://studio.crossui.com
1•linb•1m ago•0 comments

Microsoft Announces Open-Source "Intelligent Terminal"

https://www.phoronix.com/news/Microsoft-Intelligent-Terminal
1•Bender•2m ago•0 comments

Timebook – my time tracker is now an official ChatGPT app

https://chatgpt.com/apps/timebook/asdk_app_6a00269ef3bc8191b4238be56cffcbaa
1•pro_methe5•3m ago•0 comments

Anthropic faces AI spending backlash before IPO

https://www.axios.com/2026/06/02/anthropic-ipo-ai-sticker-shock-spending-usage
1•1vuio0pswjnm7•5m ago•0 comments

Show HN: Brontosaurus, a voice-driven generative AI canvas

https://thomasdhughes.com/brontosaurus/
1•thomasdhughes2•7m ago•0 comments

Ecdsa Fail

https://www.ecdsa.fail/
1•aburan28•9m ago•0 comments

Floating Point: The Origin Story

https://thechipletter.substack.com/p/floating-point-the-origin-story
2•hasheddan•13m ago•0 comments

GitHub Copilot App

https://github.blog/news-insights/product-news/github-copilot-app-the-agent-native-desktop-experi...
1•soheilpro•15m ago•1 comments

My Students Can't Read

https://www.chronicle.com/article/my-students-cant-read
3•computerliker•17m ago•1 comments

This Month in Ladybird – May 2026

https://ladybird.org/newsletter/2026-05-31/
1•bactobene•18m ago•0 comments

The Google Engineer Accused of Risking It All with an Insider Polymarket Bet

https://www.wsj.com/tech/google-engineer-polymarket-bet-4d27b6b7
1•1vuio0pswjnm7•19m ago•1 comments

Prototype theories deserve different evaluation criteria than finished ones

https://zenodo.org/records/20433733
2•ErystelaThevale•20m ago•0 comments

YouTube Auto speed for premium members [video]

https://www.youtube.com/shorts/P2cdhi1aSac
1•hentrep•24m ago•0 comments

1 in 5 U.S. Adolescents and Young Adults Use AI Chatbots for Mental Health

https://www.rand.org/news/press/2026/06/nearly-1-in-5-us-adolescents-and-young-adults-use-ai.html
2•mgh2•24m ago•0 comments

Winners of the 2026 Apple Design Awards

https://www.apple.com/newsroom/2026/06/apple-reveals-winners-of-the-2026-apple-design-awards/
1•soheilpro•24m ago•0 comments

More than 6 out of 10 people turn to AI for psychological support

https://www.axa.com/en/press/press-releases/2026-mind-health-report
2•mgh2•25m ago•0 comments

Why Does OpenAI Pretend to Be a Nonprofit?

https://www.wsj.com/opinion/why-does-openai-pretend-to-be-a-nonprofit-ca83ed83
2•1vuio0pswjnm7•27m ago•0 comments

2× – nine months later: We did it

https://ideas.fin.ai/p/2x-nine-months-later
1•mooreds•27m ago•0 comments

Why Fossil DVCS is so awesome for the lone developer; A podcast

1•techman001•30m ago•0 comments

AI Outperforms Law Professors in Stanford Law Study

https://law.stanford.edu/press/ai-outperforms-law-professors-in-stanford-law-study/
4•berlianta•37m ago•0 comments

Bernie Sanders: The American AI Sovereign Wealth Fund Act [video]

https://www.youtube.com/watch?v=VN4b4UCWMKI
3•Avicebron•37m ago•1 comments

Exploding immune cells splatter potent toxins everywhere

https://www.nature.com/articles/d41586-026-01766-4
3•berlianta•39m ago•0 comments

Release of MonVisoer 0.1.0

https://github.com/linuxrebel/MonVisor
1•linuxrebe1•51m ago•0 comments

Companies to pay over $4M after gender reveal ignited deadly SoCal wildfire

https://ktla.com/news/inland-empire/settlement-gender-reveal-ignites-deadly-el-dorado-fire-califo...
3•Bender•52m ago•1 comments

LLMs are not the black box you were promised

https://www.jay.ai/blog/llms-are-not-a-black-box
3•_jayhack_•52m ago•0 comments

Second rabid bat found in crowded California neighborhoods sparks concern

https://www.dailymail.com/health/article-15865653/rabid-bat-san-francisco-rabies-exposure.html
2•Bender•53m ago•1 comments

Soon 80k-pound self-driving trucks could deliver packages to your door

https://www.dailymail.com/yourmoney/article-15868457/self-driving-trucks-fedex-aurora-texas.html
2•Bender•54m ago•0 comments

Will AI lead to the death of the internet? – DW Documentary [video]

https://www.youtube.com/watch?v=8qVbE9DHkEk
1•doener•1h 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/