frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

Xteink X3 is the little e-reader the not quite ready for

https://sixcolors.com/post/2026/07/review-xteink-x3-is-the-little-e-reader-the-worlds-not-quite-r...
1•subset•40s ago•0 comments

Electric aviation is taking off

https://economist.com/science-and-technology/2026/07/22/electric-aviation-is-taking-off
1•andsoitis•53s ago•0 comments

The Economics of Recursive Self-Improvement

https://metr.org/notes/2026-07-22-economics-of-recursive-self-improvement/
1•ai2027•3m ago•0 comments

How powerful is your passport? What's your mobility score?

https://www.theguardian.com/world/ng-interactive/2026/jul/23/most-powerful-passports-ranked
1•robaato•3m ago•0 comments

Show HN: VHS Playback Physics Simulator

https://blog.opengbh.net/posts/0017-vhs-playback-simulator/
1•Krutonium•5m ago•1 comments

Show HN: Ego lite – A Chromium browser where you and AI agents work in parallel

https://lite.ego.app
1•howardlun7•5m ago•1 comments

Show HN: NeedFeed – Turn Reddit noise into a feed of needs

https://needfeed.io/
2•niliu123•7m ago•0 comments

Does SpaceX's plan for a data centre in space add up?

https://economist.com/science-and-technology/2026/07/22/does-spacexs-plan-for-a-data-centre-in-sp...
1•andsoitis•8m ago•0 comments

The Future Was Here the Commodore Amiga

https://mitpress.mit.edu/9780262535694/the-future-was-here/
2•doener•18m ago•1 comments

Show HN: Elpis – a Rust TUI for LLM agents with context pruning

https://github.com/MasihMoafi/Elpis
1•masihmoafi•19m ago•0 comments

Everybody Wants to Be a Dev

https://theturingmachine.net/everybody-wants-to-be-a-dev
2•andychiare•20m ago•0 comments

New quantum gravity theory links entropy, dark energy, and life

https://www.sciencedaily.com/releases/2026/07/260719035947.htm
2•aard•21m ago•0 comments

The Incumbent Bias: How Big Tech and VCs Devalue Independent Deep Tech

https://rentry.co/9cv6ev48
1•davidingalls•26m ago•0 comments

What I got wrong about ClickHouse as a Kafka Person

https://aiven.io/blog/what-i-got-wrong-about-clickhouse-as-a-kafka-person
1•oskari•26m ago•0 comments

Don't Contribute Anything Relevant in Web Forums Like Reddit (2020)

https://karl-voit.at/2020/10/23/avoid-web-forums/
2•downbad_•30m ago•0 comments

OpenAI Models Spent Hours on Hack That Usually Takes Weeks

https://www.bloomberg.com/news/articles/2026-07-23/openai-models-lurked-in-hugging-face-system-fo...
1•sbulaev•32m ago•0 comments

Apache SeaTunnel CDC: How the System Works

https://medium.com/codex/inside-apache-seatunnel-cdc-how-the-system-really-works-f5b224d22a4c
1•SeaTunnel•35m ago•0 comments

Automated Discovery Has No Universally Superior Harness

https://arxiv.org/abs/2607.18235
1•matt_d•36m ago•0 comments

Robotaxi law could ban Tesla in N.J

https://www.nj.com/news/2026/07/robotaxi-law-could-ban-tesla-in-nj.html
2•helsinkiandrew•36m ago•0 comments

The White House Is Trying to Figure Out What to Do About Chinese AI

https://www.wired.com/story/the-white-house-is-trying-to-figure-out-what-to-do-about-chinese-ai/
1•joozio•37m ago•0 comments

Show HN: Ours.network – give your AI agents a direct line to each other

https://ours.network
2•shakhvit•38m ago•0 comments

The world’s first hands-free touchpad

https://www.augmental.tech/
2•dsr12•38m ago•0 comments

RFC 9457 Problem Details for HTTP APIs

https://httpstatuses.net/guides/rfc-9457-problem-details/
1•hboon•39m ago•0 comments

Show HN: Hanesu – An experimental workflow layer for AI coding agents

https://github.com/jezmn/hanesu
1•jezmn•40m ago•0 comments

Weight loss drugs 'linked to hair loss' – study

https://www.rte.ie/news/2026/0723/1584712-health-mounjaro-hair-loss/
1•austinallegro•43m ago•0 comments

I audited Stanford's CS336 and built an LLM from scratch for $353

https://andytimm.github.io/posts/cs336/cs336_review.html
1•kurinikku•44m ago•0 comments

Why Did Christopher Nolan's the Odyssey Divide the Internet?

https://medium.com/theentertainmentbreakdown/why-did-christopher-nolans-the-odyssey-divide-the-in...
1•raynchad•51m ago•0 comments

Wenfeng Liang: Four-Hour Investor Meeting Transcript

https://elsewhere.news/en/elsewhere/wenfeng-liangs-four-hour-investor-meeting-full-transcript
3•mefengl•53m ago•0 comments

Why copper still rules the motherboard trace

https://psyll.com/articles/technology/why-copper-still-rules-the-motherboard-trace
2•lucasfletcher•55m ago•1 comments

Show HN: Agentmux – iOS terminal and workspace built for CLI AI agents

https://agentmux.saxcave.cc/
1•saxlamen•57m 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/