frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Real Men Run as Root

https://www.garyshood.com/root/
1•helterskelter•1m ago•0 comments

Heap buffer overflow in WolfSSL SNI and ECH code

https://www.wiz.io/vulnerability-database/cve/cve-2026-5503
1•1vuio0pswjnm7•1m ago•0 comments

Lifting E-Graphs: A Function Isn't a Constant

https://arxiv.org/abs/2606.22734
1•matt_d•2m ago•0 comments

Apache Pulsar 5.0.0-M1: A Preview of the Next Major Release

https://pulsar.apache.org/release-notes/versioned/pulsar-5.0.0-M1/
1•matteomerli•5m ago•0 comments

Skills don't have a quality problem. They have a distribution problem

https://skillrepo.dev/blog/skills-distribution-problem
1•atxpace•6m ago•0 comments

How to Give a Technical Presentation (2005)

https://homes.cs.washington.edu/~mernst/advice/giving-talk.html
1•simojo•9m ago•0 comments

Measuring tech debt in tokens instead of engineering hours

https://heysoup.co/notes-tech-debt-token-function
1•heysoup•9m ago•0 comments

Prime Day Is Restaurant Week

https://www.marginpoints.com/issues/2026-06-23-prime-day-is-restaurant-week
1•historian1066•9m ago•0 comments

ACL Recovery with Cross Brace Protocol

https://aadeshnpn.substack.com/p/recovery
1•aadeshnpn•10m ago•0 comments

I turned the Dialog leak into a searchable conflict of interest database

https://build-a-cult.com
7•jakevonportland•13m ago•0 comments

LLM-CTF benchmark – 2,639 real data points from NeurIPS and original runs

https://www.kaggle.com/datasets/manitejamaram/can-ai-hack-llm-ctf-benchmark
1•velotessi•13m ago•1 comments

Why Companies Are Dumping OpenAI and Anthropic [video]

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

Bigger bodies were a late addition for humans

https://www.reading.ac.uk/news/2026/Research-News/Bigger-bodies-were-a-late-addition-for-humans
2•gmays•14m ago•0 comments

Show HN: Budget Control in Claude Code Harness with Codex Handoff

https://blog.rduffy.uk/posts/the-speedometer-i-made-up/
1•rduffyuk•14m ago•0 comments

Flying Skateboards? [video]

https://www.youtube.com/watch?v=uhAEEi0gjrg
1•aunekiaru•15m ago•0 comments

Experience: I feel other people's pain (2011)

https://www.theguardian.com/lifeandstyle/2011/mar/19/i-feel-other-peoples-pain
1•networked•18m ago•0 comments

LDAPLite yet another single binary LDAP server

https://github.com/smarzola/ldaplite
3•smarzola•18m ago•0 comments

CryptoLogin: Show HN – No email, no password. Just a master secret

https://github.com/erabytse/CryptoLogin
1•takouzlo•24m ago•0 comments

The fastest search engine for award travel

https://seats.aero/
1•momentmaker•28m ago•0 comments

The Galactic Empire Was Always Gonna Fail

https://jimmyalfonsolicon.substack.com/p/the-galactic-empire-was-always-gonna
1•jger15•28m ago•0 comments

Walkable Neighborhoods Finder

https://close.city/
2•momentmaker•29m ago•0 comments

Save Wisdom Questions

https://savewisdom.org/the-1000-word-save-wisdom-questions/
1•momentmaker•31m ago•0 comments

Tech Slide Deepens as AI Fears Get Worse

https://www.wsj.com/livecoverage/stock-market-today-dow-sp-500-nasdaq-06-23-2026
3•doener•32m ago•1 comments

A scientist says he can scan prisoners' brains for signs of evil

https://www.theguardian.com/us-news/ng-interactive/2026/jun/23/scientist-us-legal-system-violence...
8•mellosouls•33m ago•3 comments

The Warfare of the Future Is Here

https://www.noemamag.com/the-warfare-of-the-future-is-already-here/
2•sharjeelsayed•33m ago•0 comments

Not so empty nesters: record-high number of US adults under 35 live at home

https://www.theguardian.com/society/2026/jun/18/us-adults-under-35-living-at-home
2•littlexsparkee•34m ago•0 comments

Write Like Paul Graham

https://paulgraham.mooch.agency/
2•tahigichigi•36m ago•0 comments

The Struggle Is Valuable

https://blog.jobelenus.dev/blog/struggle-creates-value/
2•mooreds•39m ago•0 comments

Envoy AI Gateway 1.0 – A Stable, Production-Ready AI Gateway

https://aigateway.envoyproxy.io/blog/v1.0-release-announcement/
3•zoltano•46m ago•0 comments

Twenty Years Later, Everything Is the Truman Show (2018)

https://www.vanityfair.com/hollywood/2018/06/truman-show-anniversary-jim-carrey-peter-weir-laura-...
7•thoughtpeddler•47m 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/