frontpage.
newsnewestaskshowjobs

Open Source @Github

fp.

A work journal to stay organised and informed

https://silviamaggidesign.com/blog/a-work-journal/
1•surprisetalk•32s ago•0 comments

Show HN: Pilot Protocol – a network where AI agents find tools and each other

1•teocalin37•54s ago•0 comments

The Glass Famine

https://edconway.substack.com/p/the-glass-famine
2•baud147258•2m ago•0 comments

The Most Important Trainer You've Never Heard Of

https://edconway.substack.com/p/the-most-important-trainer-youve
1•baud147258•3m ago•0 comments

Britain is struggling to build data centres

https://www.economist.com/britain/2026/07/26/britain-is-struggling-to-build-data-centres
1•andsoitis•4m ago•0 comments

Marimo Notebooks as Slides

https://marimo.io/blog/slides
2•shamwaffly•4m ago•0 comments

America has become an entrepreneur's paradise

https://www.economist.com/business/2026/07/27/america-has-become-an-entrepreneurs-paradise
2•andsoitis•6m ago•0 comments

Show HN: Ctxdiff – Git diff for your LLM agent's context window

https://github.com/salmanzafar949/ctxdiff
1•salmanzafar949•7m ago•1 comments

Show HN: Tilde Pay – Give your AI agent a bank account to pay for things

https://my.tildepay.ai/
1•solsol94•7m ago•0 comments

Review Collect

https://www.review-collect.com/en
1•victorfromrc•7m ago•0 comments

Show HN: macOS-first Markdown editor with inline live preview (100% Swift)

https://github.com/I7T5/Edmund
2•inatang•7m ago•0 comments

I fact-checked classic trading-book claims against 3,946 days of futures data

https://quantdata.uk/methodology
1•celineycn•8m ago•0 comments

An abandoned SpaceX rocket is about to crash into the Moon

https://theconversation.com/an-abandoned-spacex-rocket-is-about-to-crash-into-the-moon-the-real-p...
1•DamnInteresting•8m ago•0 comments

Nvidia weighs $250B backstop for OpenAI's Ohio data center lease

https://runtimewire.com/article/nvidia-openai-250-billion-backstop-ohio-data-center
1•ryanmerket•9m ago•0 comments

Show HN: Sekey.sh – Manage SSH Keys in Apple Secure Enclave

https://github.com/cavoirom/sekey-sh
1•cavoirom•9m ago•0 comments

I made a search engine to get rid of Airbnb fees/commission

https://staythere.ai/
1•wthayer•9m ago•1 comments

Belay: A local firewall for AI coding agents

https://github.com/SECBLOK/belay
1•DennisLiu•9m ago•0 comments

Nvidia investing to 10x SSI compute in the next 12 months

https://twitter.com/ssi/status/2081732119194394763
3•primaprashant•9m ago•0 comments

How to Build a Small Solar Power System

https://solar.lowtechmagazine.com/2023/12/how-to-build-a-small-solar-power-system/
1•andsoitis•9m ago•0 comments

Show HN: Arc – Delegated authority and audit for AI agent actions

https://github.com/shuu-beep/arc-protocol
1•shuu-beep•10m ago•1 comments

Show HN: Save your Claude/codex/copilot tokens by using context profiler

https://github.com/RimantasZ/contextspy
2•iezhy•10m ago•0 comments

Launch First, Improve Later

https://herbertlui.net/launch-first-improve-later/
1•speckx•10m ago•0 comments

Beautiful Animated UI Components for React

https://componentry.dev
1•amarbirsingh•11m ago•0 comments

Why Career Growth Needs Self-Advocacy

https://letters.unchartedpathbreakthroughs.com/posts/why-career-growth-needs-self-advocacy
2•mooreds•12m ago•0 comments

The Drunken Monkey Hypothesis (2004) [pdf]

https://repository.si.edu/server/api/core/bitstreams/f57027ff-00de-4675-8352-836c4d1e06f1/content
1•mooreds•13m ago•0 comments

AI companies spend record sums on Washington lobbying

https://www.ft.com/content/d8a5f95e-3b6d-463a-a848-c9ef8e2394db
1•1vuio0pswjnm7•13m ago•0 comments

Operation TIPS (2002)

https://en.wikipedia.org/wiki/Operation_TIPS
1•iamnothere•13m ago•0 comments

Clean code creator isn't reading his code –- why?

https://twitter.com/unclebobmartin/status/2080257779395154409
2•danirogerc•13m ago•1 comments

Microchip Technology Signs Definitive Agreement to Acquire Hailo

https://ir.microchip.com/news-events/press-releases/detail/1406/microchip-technology-signs-defini...
1•muxamilian•14m ago•0 comments

Most Googlebots are fake

https://digitalseams.com/blog/most-googlebots-are-fake
1•Brajeshwar•16m 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/