frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Pelican 4.12 Released

https://getpelican.com/blog/pelican-4.12-released/
1•pauloxnet•2m ago•0 comments

Did a Metallurgical Failure Cause a Night to Remember?

https://www.tms.org/pubs/journals/JOM/9801/Felkins-9801.html
1•dmbche•4m ago•0 comments

Pgrust: Rebuilding Postgres in Rust with AI

https://malisper.me/pgrust-rebuilding-postgres-in-rust-with-ai/
1•luu•6m ago•0 comments

Your Company Is a Skill Now

https://arlo.substack.com/p/your-company-is-a-skill-now
3•bizgrayson•6m ago•0 comments

CountMediQ – Count Pills from a Photo on iOS

https://apps.apple.com/us/app/countmediq-pill-counting-app/id6463065655
1•sam_son•7m ago•0 comments

Show HN: Einlang, a math-intuitive language with lots of good stuff

https://github.com/einlang/einlang
1•amazing42•7m ago•0 comments

Anthropic's Mythos AI model sparks fears of turbocharged hacking

https://arstechnica.com/ai/2026/04/anthropics-mythos-ai-model-sparks-fears-of-turbocharged-hacking/
2•tartoran•7m ago•0 comments

Peter Thiel Is Building a Parallel Justice System – Powered by AI

https://www.codastory.com/polarization/can-we-trust-an-ai-jury-to-judge-journalism/
1•cdrnsf•8m ago•1 comments

PyTexas 2026 Recap

https://bernat.tech/posts/pytexas-2026-recap/
1•gaborbernat•8m ago•1 comments

Borumi – Create videos, without the hassle

https://borumi.com/
1•mvdwoord•9m ago•1 comments

Housing constraints: why Silicon Valley hasn't done more for most Americans

https://www.slowboring.com/p/why-silicon-valley-hasnt-done-more
1•firasd•10m ago•0 comments

CIAM in the Sky

https://ciamweekly.substack.com/p/ciam-in-the-sky
1•mooreds•11m ago•0 comments

Javier Milei Wants to Rewire the Argentine Mind

https://www.nytimes.com/2026/04/20/world/americas/argentina-president-milei-inflation-economic-re...
1•mitchbob•12m ago•0 comments

Show HN: Gyrus :Open-Source AI Agents for Snowflake, SQL and Postgres

https://github.com/orgs/Gyrus-Dev/repositories
1•MalviyaPriyank•13m ago•0 comments

App host Vercel says it was hacked and customer data stolen

https://techcrunch.com/2026/04/20/app-host-vercel-confirms-security-incident-says-customer-data-w...
1•speckx•15m ago•0 comments

Show HN: Tmux-bar – One-tap switching between windows in current tmux session

https://github.com/daxliar/tmux-bar
1•zonovar•16m ago•0 comments

Show HN: Themeable HN

https://github.com/insin/comments-owl-for-hacker-news/releases/tag/v3.6.1
1•insin•16m ago•0 comments

The Vibe Code 103,000 AI-generated repos, only 1% production ready

https://useastro.com/vibe-code-report/
2•nishikawa7863•17m ago•0 comments

Tell HN: Codex/Claude Code one-off credit purchases are a money sink

1•mavsman•18m ago•0 comments

What I Learned About Billionaires at Jeff Bezos's Private Retreat

https://www.theatlantic.com/magazine/2026/05/billionaire-consequence-free-reality/686588/
4•robtherobber•19m ago•0 comments

Germany's Merz says industrial AI needs less stringent EU regulation

https://www.reuters.com/business/germanys-merz-says-industrial-ai-needs-less-stringent-eu-regulat...
1•ulrischa•20m ago•0 comments

Are Strings Still Our Best Hope for a Theory of Everything?

https://www.quantamagazine.org/are-strings-still-our-best-hope-for-a-theory-of-everything-20260323/
1•digital55•20m ago•0 comments

Claude helped build a wetlab+sequence my DNA at home, with 0 lab experience

https://vibe-genomics.replit.app/
1•banana-bae•21m ago•1 comments

Effectful Recursion Schemes

https://effekt-lang.org/blog/recursion-schemes/
1•marvinborner•22m ago•0 comments

Did Artemis II mission do lunar science or go to the Moon for humanity?

https://jatan.space/moon-monday-issue-271/
1•JPLeRouzic•23m ago•0 comments

Physical Media Is Pretty Cool

https://michaelenger.com/blog/physical-media-cool/
1•speckx•23m ago•0 comments

Show HN: Mailto.Bot – Email API for AI agents with native MCP support

https://mailto.bot
1•jerryluk•23m ago•0 comments

Engineers Kick-Started the Scientific Method

https://spectrum.ieee.org/francis-bacon-scientific-method
1•Brajeshwar•26m ago•0 comments

Can LLMs Flip Coins in Their Heads?

https://pub.sakana.ai/ssot/
1•hardmaru•26m ago•0 comments

Itanium: Intel's Great Successor [video]

https://www.youtube.com/watch?v=-K-IfiDmp_w
1•vt240•28m ago•0 comments
Open in hackernews

Automatically add missing "async/await" keywords to your TypeScript code

https://github.com/stanNthe5/typescript-autoawait
7•theThree•11mo ago

Comments

bastawhiz•11mo ago
Is this a problem that people actually have?
xeromal•11mo ago
Fun side project man!
primitivesuave•11mo 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•11mo 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•11mo ago
You can still control it by adding "//no-await". In fact, the "//no-await" makes me feel more clear.
nextweek2•11mo 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•11mo ago
It should be noted that there is already a lint rule for this: https://typescript-eslint.io/rules/no-floating-promises/