Better HN
topnewbestaskshowjobs
Log inSign up

jcbrand

1,679 karma · joined Aug 25, 2011 (15y ago) · 450 submissions

http://opkode.com https://github.com/jcbrand
Submissions

comment 2w ago · link · parent

I'm exploring using XMPP as a coordination layer for multiple LLM agents.

I'm using Herdr to run multiple agents in parallel, and my goal is to see whether I can get them to collaborate more efficiently.

For example, when one agent's PR gets merged, other agents immediately become aware of it, rebase their own PRs and fix conflicts.

What also often happens is that new tangential requirements and sidequests often arise while working in a session, and I now let agents hand these off to parallel Herdr tabs. The handoff can be done with or without XMPP. These parallel agents announce their statuses in the XMPP MUC (groupchat), which enables them to coordinate.

Technical details:

Converse XMPP client runs as a headless NodeJS daemon with a CLI that can be called by agents.

I created a /coordination skill which is enabled by default via a Claude Code hook. When an agent starts, it ensures the Converse daemon is running and then joins a password-restricted and members-only MUC where all the other agents in that Herdr workspace are as well (and also myself). I can then assign that agent tasks via messages in XMPP (DMs or groupchat) or from Claude Code.

Once the agent has the task, it announces it in the MUC so that other agents are made aware. When sidequests or requirements arise in that session, it can ask in the MUC whether other agents are idle and able to take over that parallel task.

I've been building the Converse daemon and CLI and have now been experimenting with the workflow and working out various kinks and use-cases.

There are various other XMPP features that can be explored further. I'm thinking of using PubSub with a web UI with vertical swimlanes which can show me which agents are currently active, what they're working on and for how long.

I'm using Claude Code because that's what we use at $WORK, but this should be independent of any harness and part of the point is create neutral tools not locked into any particular inference provider.

comment 1mo ago · link · parent

Private key, not public key.

comment 2mo ago · link · parent

Except that this is literally what Gold does.

The ratio of one ounce of gold to one productive beef cow has held for a hundred years, and plausibly for around 5,000 years.

A single ounce of gold could purchase a quality tunic, sandals, and belt in Ancient Rome and still buys a fine tailored suit in the modern era.

https://findbullionprices.com/blog/gold-purchasing-power-wha...

comment 2mo ago · link · parent

Those are credit bubbles bursting, not the result of hard money.

comment 3mo ago · link · parent

Looks like I might have been wrong about Dino, sorry about that.

I worked on adding OMEMO2 support to Converse.js via libomemo.js and I tested it against Kaidan.

comment 3mo ago · link · parent

FWIW Converse.js and Dino also support the latest OMEMO.

comment 3mo ago · link · parent

Generally speaking, if demand stays high, and existing suppliers don't increase supply, the high prices create an incentive and opportunity for new market entrants to increase the supply.

comment 4mo ago · link · parent

I love my OnePlus 9 pro phone. What would be a good replacement?

comment 5mo ago · link · parent

"War department" is the older name, not "Defense department".

Also, is it really a defense department when you're starting wars of aggression every 15 years or so?

comment 9mo ago · link · parent

I still use perplexity. Which tool is better currently?

comment 10mo ago · link · parent

It's not capitalism that requires infinite growth, it's our current monetary system.

New money is created by lending it into existence, with interest.

That last bit is key. In order to pay off the interest, you need money, which was also loaned into existence with interest.

The only way to maintain this is through constant economic growth. Without it there's a deflationary collapse.

comment 1y ago · link · parent

The Austrian school does not dominate academia, not even close. Even the Wikipedia article you linked to says it's a heterodox school, meaning it's not mainstream.

Academia is dominated by Keynesianism.

comment 1y ago · link · parent

I used Lit components in a large FE project, enjoyed doing so and am happy with my choice. I don't use the shadow DOM at all.

The project is Converse.js, an XMPP chat client. It's an old project that was originally created back in 2013 with Backbone.js.

I first replaced all templates with `lit-html` when I first heard about that, and then when lit-element (and now "lit") came out, I started rewriting the project to use that.

This app has since been integrated into many different websites that rely on other frameworks like React and the fact that Converse.js is a web component (<converse-root />) makes this easier.

If you're interested, here's the Github repo: https://github.com/conversejs/converse.js And you can demo it here: https://chat.conversejs.org/

You'll need an XMPP account (see https://providers.xmpp.net/ for possible providers).

comment 1y ago · link · parent

Being able to hold on to wealth is an underestimated and undervalued ability.

It's actually pretty easy to lose money. Everybody is happy to help you part with yours.

comment 1y ago · link · parent

Your website is very clever, I like it, but unfortunately Google has classified it as a dangerous site with a phishing risk, which I think is understandable because you're effectively pretending to be Google.

comment 1y ago · link · parent

For junior developers in developing countries this can still be a worthwhile salary.

17.

Converse 11: A Major Leap Forward for XMPP Webchat(opkode.com ↗)

7 points · by jcbrand · 1y ago · discuss

comment 1y ago · link · parent

I'd also like to know, I love the look.

comment 1y ago · link · parent

Taking a sabbatical and spending more time on an open source XMPP web client that I started 10 years ago already.

https://conversejs.org

The website is a bit old, but lots of exciting changes are happening under the hood and I finally have the time to make big architectural and performance improvements.

comment 2y ago · link · parent

South Africa does have wealth distribution policies in the form of requiring all companies that do business with the state or which need licences (like mines or telecoms) to have a minimum number of black ownership and black employees.

South Africa also has affirmative action.

In fact, there are more race based laws in South Africa currently than during Apartheid.

https://freemarketfoundation.com/race-law-in-south-africa-30...

Now maybe you're talking about violent wealth redistribution. That generally doesn't work. It results in collapse and everyone gets poorer.

Zimbabwe bring the prime most recent example.

comment 2y ago · link · parent

The first vowel tells you from which country it comes.

Grey is UK English, so think "e" for England. Gray is American English, so think "a" for America.

comment 2y ago · link · parent

Yes, there was a spike in suicides after Goethe published his first novel Die Leiden des Jungen Werthers (The Sorrows of Young Werther).

https://www.thevintagenews.com/2017/04/22/the-werther-effect...

comment 2y ago · link · parent

I worked for two years full-time on a consumer-facing product that was canned less than 6 months after launch.

Spending a month on a useless pipeline doesn't seem that bad to me.

comment 2y ago · link · parent

The US gets paid by the "exorbitant privilege" of having the global reserve currency.

That was the deal since the second world war.

comment 2y ago · link · parent

> they all seem somewhat casually cruel to one another

So you're saying it's the same as just about any other sitcom?

Besides joking at one another's expense, a super common trope in US sitcoms is the lie to avoid embarrassment which builds up tension throughout the show, inevitably leads to exposure/confrontation and then resolution (forgiveness) near the end.

So many situations would be resolved quickly if the characters just 'fessed up immediately instead of trying to deceive the others to save face.

But then, there'd be no show with cheap laughs.

comment 3y ago · link · parent

VAT isn't charged on goods exported outside of the EU, so it has nothing to do with the US except for the fact that the US isn't part of the EU.

comment 3y ago · link · parent

> Go to low-income neighbourhoods, where incomes are closer to those in Europe, and you’ll find tax-inclusive pricing

This is a pretty funny but largely ignorant dig at Europeans.

Every country I've ever been to except the US includes VAT in their prices and I've been to over 30. It's not just a European thing but a world thing, where the US once again is the odd one out.

comment 3y ago · link · parent

It's possible to make record profits one year and a loss the next if you don't react early enough to trends.

comment 3y ago · link · parent

"Defund the police" is a large attack on an institution that's not coming from the GOP. It's unfortunate that people immediately blame the other side in a knee-jerk reaction.
12345
15