frontpage.
newsnewestaskshowjobs

Made with ♥ by @iamnishanth

Open Source @Github

fp.

Law Professors Prefer AI over Peer Answers

https://law.stanford.edu/publications/law-professors-prefer-ai-over-peer-answers/
1•davidbarker•37s ago•0 comments

LMAO – League of Mediocre Arena Outcasts

https://lmaomoba.com/
1•adithyassekhar•1m ago•1 comments

Towards passive heart health monitoring via smartphone camera

https://research.google/blog/towards-passive-heart-health-monitoring-via-smartphone-camera/
1•davidbarker•1m ago•0 comments

We Steal Your Money

https://help.openai.com/en/articles/8264778-what-is-prepaid-billing
1•gitowiec•2m ago•1 comments

Getting agents to code less slop

https://www.thempatel.com/2026/06/06/slop.html
1•thempatel•3m ago•0 comments

What Is an Agent?

https://tidydesign.substack.com/p/what-is-an-agent
1•jonbaer•4m ago•0 comments

The beauty and simplicity of the good old C-style void* in C++

https://giodicanio.com/2026/06/05/how-to-declare-a-c-plus-plus-function-that-takes-a-blob-of-memory/
1•movd128•7m ago•0 comments

Pentagon raised threat of Israeli spying on U.S. to highest level, sources say

https://www.nbcnews.com/politics/national-security/pentagon-raised-threat-israeli-spying-us-highe...
3•MilnerRoute•8m ago•0 comments

Can you guess slop or not slop

https://humaniser-broken-butterfly-213.fly.dev/login?returnTo=%2F
1•Var1377•11m ago•0 comments

NetBSD's Annual General Meeting 2026

https://blog.netbsd.org/tnf/entry/annual_general_meeting_2026
1•zdw•11m ago•0 comments

Cloning a Sennheiser BA2015 battery pack

https://blog.brixit.nl/cloning-a-sennheiser-ba2015-accu-pack/
2•zdw•13m ago•0 comments

Pentagon Sees Growing Espionage Threat From Israel

https://www.nytimes.com/2026/06/06/us/politics/pentagon-sees-growing-espionage-threat-from-israel...
1•jbegley•14m ago•0 comments

More Molly Guards

https://unsung.aresluna.org/more-molly-guards/
1•zdw•14m ago•0 comments

Universal Paperclips (2017)

https://www.decisionproblem.com/paperclips/
1•n_e•14m ago•0 comments

What to Expect from WWDC 2026: Siri's Highly Anticipated Revamp and Apple IN

https://techcrunch.com/2026/06/06/what-to-expect-from-wwdc-2026-siris-highly-anticipated-revamp-a...
1•odig•15m ago•0 comments

Ask HN: What was your best experience with a VC?

1•krrishd•16m ago•0 comments

AI Is Rewriting the Economics of Outsourcing

https://hbr.org/2026/06/ai-is-rewriting-the-economics-of-outsourcing
1•fallinditch•16m ago•0 comments

Show HN: Resonate – Low-latency, high-resolution spectral analysis

https://alexandrefrancois.org/Resonate/
2•arjf•19m ago•0 comments

Vinyl succumbs to Loudness War: more than just collateral damage (2025)

https://magicvinyldigital.net/2025/04/27/vinyl-succumbs-to-loudness-war-more-than-just-collateral...
3•sneela•19m ago•1 comments

A Little Explanation of Little's Law

https://rugu.dev/en/blog/littles-law/
2•alpaylan•20m ago•0 comments

PostgresBench: A Reproducible Benchmark for Postgres

https://clickhouse.com/blog/postgresbench
1•saisrirampur•21m ago•0 comments

A Roadmap to a Viking Funeral

https://brilliantcrank.com/a-roadmap-to-a-viking-funeral/
1•speckx•22m ago•0 comments

Rivian Owner Spray Paints R1T and Launches "Rivian Is Junk" Website

https://www.autoblog.com/news/rivian-owner-spray-paints-r1t-and-launches-rivian-is-junk-website
2•GiorgioG•23m ago•0 comments

My AI Robot Hates Me – Operation Pinocchio [video]

https://www.youtube.com/watch?v=zmznOPWMoeE
1•joebig•24m ago•0 comments

GOG apologizes for emailing Nazi runes to its followers

https://www.pcgamer.com/games/gog-apologizes-for-emailing-nazi-runes-to-its-followers/
3•healsdata•32m ago•0 comments

A Server Called Mercury

https://kennethreitz.org/essays/2026-06-05-a_server_called_mercury
2•zdw•33m ago•0 comments

Show HN: Website chat for product discovery instead of support

2•jojule•33m ago•2 comments

The Great Emu War (1932)

https://en.wikipedia.org/wiki/Emu_War
2•freakynit•35m ago•3 comments

Interactive explorer for cybersecurity vulnerability trends

https://epoch.ai/data/cve
2•cubefox•40m ago•0 comments

Show HN: Yet another website for learning Go / WeiQi / Baduk

https://play.goshawk.cc/playgo/
2•h3mm3•41m 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/