frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

SpaceX backs Anthropic with data centre deal amidst Musk's OpenAI lawsuit

https://www.aljazeera.com/economy/2026/5/6/spacex-backs-anthropic-with-data-centre-deal-amidst-mu...
3•billybuckwheat•55s ago•0 comments

Any app on recent Android versions can leak certain traffic

https://mullvad.net/en/blog/any-app-on-recent-android-versions-can-leak-certain-traffic
1•jonah-archive•56s ago•0 comments

Show HN: Ranking every disease (the unmet needs index)

https://insights.convoke.bio/unmet-needs
1•snats•1m ago•0 comments

Smart Goals Are Overrated

https://arrowcoaching.net/blog/post.html?slug=smart-goals
1•Joboman555•2m ago•0 comments

My implementation of CVE-2026-31431(CopyFail) in C++, no dependency needed

https://github.com/gbonacini/CVE-2026-31431
1•bg_bg•3m ago•1 comments

Three things in AI to watch, according to a Nobel-winning economist

https://www.technologyreview.com/2026/05/11/1137090/three-things-in-ai-to-watch-according-to-a-no...
2•Brajeshwar•4m ago•0 comments

One engine, many tools – Introducing Rubydex

https://railsatscale.com/2026-05-12-one-engine-many-tools/
1•ufuk•6m ago•0 comments

Ploopy Bean: a trackpoint for every computer

https://ploopy.co/shop/bean-pointing-stick/
1•jibcage•6m ago•0 comments

3D renderings of 142 significant objects at the Metropolitan Museum of Art

https://www.metmuseum.org/art/collection/search?showOnly=has3d
3•bookofjoe•6m ago•0 comments

Android Auto home screen widgets look nearly ready

https://www.androidauthority.com/android-auto-home-widgets-3662452/
1•1970-01-01•8m ago•0 comments

Paper introduces Positive Alignment framework for AI

https://twitter.com/RubenLaukkonen/status/2054215967584944599
1•momentmaker•9m ago•0 comments

US Government Concedes First Amendment Violation in Berenson Settlement

https://foundationforfreedomonline.com/us-government-concedes-first-amendment-violation-in-berens...
2•iamnothere•10m ago•0 comments

Spar [KILL]: AI distribution agent for startups that identifies warm intro paths

https://sparit.vc/spar/d/BPCf3D6XsY
1•endofcoding•17m ago•0 comments

Markdown, the WD-40 of Digital Information

https://hoeijmakers.net/markdown-the-wd-40-of-digital-information/
2•speckx•17m ago•0 comments

Domain-level metacognitive monitoring in frontier LLMs: A 33-model atlas

https://arxiv.org/abs/2605.06673
1•Brajeshwar•17m ago•0 comments

Hey Bambu Lab: come sue us [video]

https://www.youtube.com/watch?v=1jhRqgHxEP8
3•Topfi•18m ago•0 comments

Short form video "clippers" are overrunning the internet

https://www.npr.org/2026/05/12/nx-s1-5794670/influencers-creators-video-clips
4•tolerance•18m ago•0 comments

Looking for design partners – Building Agent-mediated communication

1•ckerf24•19m ago•0 comments

The social contract between the user and the OS is broken

2•m348e912•22m ago•0 comments

Claude for the Legal Industry

https://claude.com/blog/claude-for-the-legal-industry
3•droidjj•23m ago•1 comments

Exim Mail Server Hit by "Dead.Letter" TLS Flaw, Admins Told to Upgrade

https://fossforce.com/2026/05/exim-mail-server-hit-by-dead-letter-tls-flaw-admins-told-to-upgrade/
1•speckx•24m ago•0 comments

Show HN: Free online lectures on Computer Science and Discrete Math topics

https://www.youtube.com/channel/UCaBw3oACBbnONFFRR2D-dpA
2•furcyd•24m ago•0 comments

Fast, Updatable Lookups with the Join Table Engine in ClickHouse

https://clickhouse.com/blog/join-table-engine
2•samaysharma•27m ago•0 comments

2 Mistakes, 1 weird trick, 27 years: an explainer of the OpenBSD SACK bug

https://www.studiodemby.com/standalone/sack-vulnerability/index.html
1•shrimplectic•28m ago•0 comments

How to make your text look futuristic

https://typesetinthefuture.com/2016/02/18/futuristic/
27•_vaporwave_•29m ago•2 comments

Ask HN: If AI has made engineers more efficient, why does everything feel worse?

3•ent101•30m ago•4 comments

More Thinking, More Bias: Length-Driven Position Bias in Reasoning Models

https://arxiv.org/abs/2605.06672
1•Brajeshwar•31m ago•0 comments

Slop-Amplified Fear of Privilege Escalation (Local, Not Remote) in Linux Kernel

https://techrights.org/n/2026/05/12/The_Slop_Amplified_Fear_of_Privilege_Escalation_Local_Not_Rem...
1•speckx•33m ago•0 comments

Supporting critical Open Source with $5M credits for vulnerability detection

https://depthfirst.com/open-defense
8•andreamichi•35m ago•1 comments

Samsung is upgrading its smart refrigerators with Google AI to recognize foods

https://qz.com/samsung-bespoke-fridge-google-gemini-ai-food-recognition-051126
2•stalfosknight•35m 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/