Hacker Newsnew | past | comments | ask | show | jobs | submit | weavermarquez's commentslogin

Oh, that's exciting! I have been disappointed by Steve Yegge's attempts at emacs-inspired coding harnesses, and options like ECA using ACP have always felt a little too behind for me, so I honestly felt like an insistence on sticking with Emacs for coding / AI interfacing was actually holding me back. But I'm certainly excited to see what Mr. Mastering Emacs has to say about it.

One request, which I'm emailing in for: arm64 builds for Linux, since I use Asahi.


You mention ECA, but did you ever try agent-shell (which also uses ACP)?

I had problems with agent-shell because background processes blocked user input, and a bunch of other papercuts e.g. AskUserQuestionTool; lack of multimedia inputs and outputs or other niceties like tool/skill search/attachments/image-copy-paste in user inputs; inconvenient buffer switching behaviour when handling tabs + windows + project views.

Alternatively, claude-code.el had other issues like flickering on libvterm and EAT with evil mode; and edge cases with properly integrating libghostty with all keybindings in doom evil keybinds. I suppose I could fix those with coding agents now.


agent-shell author here. Curious, how long since you last took it for a spin? Many of the features mentioned have been supported for a while now.

I'm not the person you're responding to but thank you for your work on agent-shell. It's made simple agentic coding within emacs a breeze for me. I moved off of agent-shell for very complex work (needing more than a few long-running agents) and use herdr for that instead. Some pain points I have encountered:

- With ACP/Anthropic being used, I cannot interject a running prompt without cancelling the current run with C-c C-c. I can only "queue" messages which sends them when the agent is finished. But when I tried the CC harness, I liked how you could do Ctrl+Enter to immediately send the prompt interrupting any running step instead. It sounds more sensible than queuing up a lot of unrelated messages that can become outdated by the time the agent finishes the foreground task.

- The biggest issue with doing C-c C-c to interrupt a running agent, and why I avoid doing that to fix the above issue, is that (with ACP/Anthropic endpoints at least) it kills running background processes too. There is no distinction between "interrupt the foreground prompt" and "interrupt this or all background jobs". You cannot see a list of the background jobs (to my knowledge) and cannot pick which jobs to cancel, it cancels everything. Also agent-shell doesn't notify you that it killed these background jobs either upon C-c C-c. So I would frequently lose work I thought was running for several hours.

- As far as I know, there is no way to move a foreground tool call to the background, like with the CC harness (Ctrl+B), so that I can prompt something else. It has to go into the queue.

- With herdr (and this might not be in scope of agent-shell), I liked agents being able to manage the session panes and send messages to each other. When I use agent-shell my impression is I am limited to one agent shell in one worktree.

- Related to the above issue, subagent output is interleaved with the foreground agent output and it becomes confusing to follow due to lack of agent identifiers. With herdr I can go to another agent, watch its output and send messages to it directly. With agent-shell I have less control and have to ask the main agent to communicate with them.

- (Also not sure if it's in agent-shell's scope) Suspend/resume is more convenient with herdr, if I close emacs I lose the running agent sessions too and have to restore them all by hand. With herdr I can detach/reattach even if my terminal process dies, and from cold startup one command restores both the pane layout and all the agent sessions automatically.

I'm pretty sure I've been using latest, but correct me if any of these have been fixed with a later release. Still, I can see how any number of these could be limitations with ACP over Anthropic's proprietary harness, and that's understandable.


Check out https://xenodium.com/agent-shell-0-78-updates

In more recent builds, you have a persistent shell prompt, so you can always write a new prompt and press RET to queue.

Alternatively, you can M-RET to steer (no need to C-c C-c to influence course), which sounds like what you're after?

> if I close emacs I lose the running agent sessions too and have to restore them all by hand.

By hand, you mean M-x agent-shell and choose an existing session? Something else?


Can’t you just add it yourself with AI?

I would normally fork it and submit a PR to support it if I had a github link!

Even as a huge Linux tinkerer I've been really pleased with Zo setting things up for me that I wouldn't have expected to get done on a server like this. I've started to experiment with installing Guix and serving Lem, and made a personal Telegram bot as an alternative interface. They really focus on keeping out of your way, and the Zo agent is quite persistent and gets things done that I didn't think was feasible.

The price is right for the specs of two hetzner boxes plus a convenient agentic web interface (I like my Cockpit, but it is honestly so nice to be able to just send a Telegram message to get a service set up or to grab a file just by speaking). I use all the LLM apps but, it's like comparing SMS vs. Telegram, it's just not the same?

I was a bit wary of adding my google accounts at first, but I've tried using it to send me daily images through Telegram and it's actually pretty dang nice!

One thing I would really like though is Whisper on Zo. Oh, maybe I should just get that set up on Telegram...


so cool! thank you for sharing!!


Thanks for posting erhuve!

Sadly, a third of American adults do not understand fractions. A big part of this isn't just the particulars of the educational system -- it is also caused by the way we conceive of and teach mathematics as disembodied, symbolic manipulation.

James Algebra (by Jeffrey James and William Bricken, one of the O.G. researchers in virtual reality) is an 'iconic' notation for K-12 mathematics -- it makes numbers look like what they mean.

I'm working on a mobile puzzle game to publicize this. Check out my WIP at https://house.valeriekim.ca -- though I need to get it to a self-demoing state.


If you're interested in getting an introduction to cybernetics, theres:

1. Ashby's introduction, but that's from the 60s.

Foundational, but is limited to 1st order cybernetics.

2. E. W. Udo Küppers, A Transdisciplinary Introduction to the World of Cybernetics (2023): https://link.springer.com/book/10.1007/978-3-658-42117-5

Provided a broad picture and basic intro to the history, central concepts, and various involved thinkers involved.

3. Stuart Umpleby's 6 hour lectures on the Fundamentals and History of Cybernetics (2006): https://www.youtube.com/playlist?list=PLB81F4FC0EDC4DECC

Provides a historical overview and introduction to applications of cybernetics in social sciences.

Crucially, Umpleby's history mentions the exact reason why Cybernetics never quite took off in America (well, aside from the fact that it was just difficult to fit into a disciplinary box). Heinz von Foerster, head of the Biological Computer Laboratory, did not want to provide a b.s. military justification for Dept. of Defense funding after the Mansfield Amendment -- (which, was passed in response to student protests of divestment from the Vietnam War).


Huge thanks for the list! Interesting to wonder just how influential or generally just of what nature cybernetics would be today without funding issues, lack of categorisability and the field slowly drifting away from the original vision Wiener had.


While I agree that nitty gritty formalizations are important to grasp, it's been made clear that the formal sciences were often insufficient in facilitating insight on the type of complexity cyberneticians cared about -- especially that of process oriented circular causality, which often involved paradox and self-reference.

See Stuart Umpleby's lectures on the History of Cybernetics: https://www.youtube.com/playlist?list=PLB81F4FC0EDC4DECC

Or Walter Tydecks on the cultural understanding of mathematics as a sign system: http://www.tydecks.info/online/themen_e_spencer_brown_logik....

> Shannon was like Spencer-Brown a mathematician and electrical engineer. In his study of data transmissions, he has demonstrated how any medium generates background noise that interferes with the transmitted characters. To this day, mathematics has not perceived or not wanted to perceive the elementary consequences of this for mathematics and logic. To this day, mathematics is regarded as a teaching that is independent of the medium in which it is written and through which it is transmitted. Nobody can imagine that the medium could have an influence on the signs and their statements. Mathematics is regarded as a teaching that is developed in a basically motionless mind.

Having taken the last 2 years to really go through the discourse surrounding second order cybernetics beyond Ashby's introduction and Stafford Beer, I learned of a pivotal text called Laws of Form, which was at the heart of second order cybernetics. The formal system was directly incorporated in Varela and Maturana's thesis of autopoiesis, and Niklas Luhmann was also /obsessed/ with Laws of Form for much of his academic career. This is a progenitor of our current interest of enaction and embodied cognition!

With the book's 50th anniversary in 2019, the discourse has been seeing a rejuvenation thanks to some small conferences at https://lof50.com. I've seen some intriguing applications. Some are a bit far out, but that's the nature of systems thinkers, yeah?

A couple that may be of interest:

William Bricken's work on Iconic Mathematics, a system that covers K-12 math and bridges it to purely physical manipulation, shedding matters of complexity difficult that fuel general mathphobia such as: associativity, commutativity, division by 0, bases, functions, order of operations, the disambiguated meaning of equality. Instead, everything is a /structure/.

Bricken's work on computational implementations of Iconic Logic. One example includes a novel SAT algorithm / tautology verification algorithm called Virtual Insertion, which makes extensive use of the notion of semipermeable boundaries, in which the context of a boundary still pervades its content.

Gitta and Ralf Peyn on FORMWELT, a yet-released system aiming to facilitate precise, clear communication of nebulous natural language concepts through the use of injunction and self reference.


Wow. This is a really informative comment.

>While I agree that nitty gritty formalizations are important to grasp, it's been made clear that the formal sciences were often insufficient in facilitating insight on the type of complexity cyberneticians cared about -- especially that of process oriented circular causality, which often involved paradox and self-reference.

I wholeheartedly agree. Hence why I think we are dealing with an entirely new type of science, the basic principles and theorems are yet to be discovered.

Lots of interesting pointers and links throughout. Thanks again!


I would say that the first-order Cybernetics (as exemplified IMO in Ashby's book) is all about symbolic formalism for "circular loops in causality", and that Second-Order Cybernetics is a species of mysticism (I hasten to add that I don't mean that in a derogatory way. I'm a Mystic myself.)

You could imagine a spectrum from logic to cybernetics to philosophy to mysticism. It's all fine, just I believe that it's important to be clear where on the spectrum you're working. If you want to build machines that do things use Cybernetics and feedback/control theory, if you want to grok reality and self eat a mushroom and read "Gödel, Escher, Bach" or Tao Te Ching.

In re: "Laws of Form", yeah, he identifies the boundary or distinction between the mystic realm (non-form, non-distinct, non-dual) and symbolic logic, and then builds a lovely binary Boolean logic directly off of that. It's a tour de force.

The really interesting thing is that George Spencer-Brown figured out how to deal with circular logical systems by introducing the concept of imaginary Boolean values.

It's a formal system for symbolic logic, and you can indeed build a lovely and efficient SAT solver with it using Bricken's Basis. E.g.: https://ariadne.systems/pub/~sforman/Thun/notebooks/Correcet...

(For reference, here's the LoF/Bricken formalism)

    Arithmetic

    (()) =
    ()() = ()

    Calculus

    A((B)) = AB
    A() = ()
    A(AB) = A(B)
(That third rule in the calculus, discovered by Bricken, is the kicker!)

cf. "The Markable Mark" George Burnett-Stuart http://www.markability.net/ GBS (not GSB, they're two different people) has managed to extend the system to Predicate Logic as well!

William Bricken's home page: https://wbricken.com/

His Iconic Math Page (a wonderland!) https://iconicmath.com/

To sum up, we need symbolic formalism to communicate and build machines, otherwise we're just sort of reading poetry to each other, which can still be helpful, but in a different way than building machines. (And when I say machines in the context of Cybernetics I mean to include those made out of people! "Human use of Human Beings", eh?)

As an aside, there is a fascinating talk and book "My Stroke of Insight: A Brain Scientistʼs Personal Journey" by Dr. Jill Bolte Taylor:

> In it, she tells of her experience in 1996 of having a stroke in her left hemisphere and how the human brain creates our perception of reality and includes tips about how Dr. Taylor rebuilt her own brain from the inside out.

https://en.wikipedia.org/wiki/My_Stroke_of_Insight

https://youtu.be/UyyjU8fzEYU (TED Talk)

When "Laws of Form" talks about the beginning of logic from the pre-logical non-distinct or non-distinguished realm, the "mark" that divides the world into A and Not-A, it turns out to be quite literal, purely biological: the brain does it. When the part of her brain that "does logic" was rendered inoperative due to the stoke she was having, she reports an inability to tell herself from the world around her accompanied by oceanic bliss...

Mysticism is real, you just can't talk about it. The very first chapter of the Tao Te Ching says it right off: the Tao that can be talked about is not the Tao.


Total random comment, but for posterity's sake -- apparently, Agnikul is organized using a free and open source ERP called ERPNext. There's not been much discussion on it, but I'm doing my best to get my foot in the door using ERPNext and Frappe Framework (what it's built on) in North America.


I figured this 1994 paper would be relevant to the discussion about finished software, "Software Aging" by David Parnas. Read it for a software engineering course where the prof railed against the assumptions underlying the notion of finished software.

https://www.cs.drexel.edu/~yc349/CS451/RequiredReadings/Soft...


I'm part of an electric riding group in my city. We've had several members switch from electric skateboards and scooters to EUC without looking back. Two critical differences that make electric skateboards much worse than onewheels or electric unicycles: control mechanism and wheel diameter.

Electric skateboards and scooters have tiny wheel diameters. Especially with esk8, it's very difficult to go on any rough terrain: pebbled asphalt, cobblestone, grassy park, gravel, sand, dirt road, up or downhill. Scooter wheel diameters are also a safety issue due to that combination of easy brainless riding and small wheel diameter.

Electric skateboards and scooters interface with your hand, but EUC and OneWheels interface with your balance - your whole body. There's an intuitive sense of where you're going, and you have many degrees of freedom along your entire body that you can leverage to maneuver for incredibly fine tuned and synchronized control of your acceleration to the point where it feels like flying. The fact that acceleration and balance are intimately tied together without your hands interfacing eliminates a huge category of problems from accelerating or braking too hard vs. your centre of gravity. When you're riding in any situation where hand dexterity is compromised (i.e. wrist guards, considering none of these vehicles are any safer for your wrists should you fall), this is an amazing preventative safety element.


The "Easy ASP" [0] tutorial from Potassco can walk you through some examples, if you'd like.

The playlist is aimed at a general scientific/business audience, the presenter suggests that a lot of natural and business systems can be described in this manner. The presenter also mentions how a Clingo program was used, without modification, to optimize radio frequency band allocation.

Here's a repository [1] of ASP programs in clingo. Under problem classes, I see mostly: game AIs, graph problems, various puzzles, so on.

[0] https://www.youtube.com/playlist?list=PL7DBaibuDD9O4I05DiQfi...

[1] https://asparagus.cs.uni-potsdam.de/


Not sure if related, to Schaefer's theorem, but I dove into Answer Set Programming [1] recently, which follows this approach, enabling the use of fast-ish SMT solvers, which are a generalization of SAT solvers! Boolean/Propositional Logic is to Predicate Logic as SAT is to SMT. There's a very nice course about it from the developers of Potassco, one of the best open source Answer Set Programming framework [2].

The syntax looks like Prolog, but predicate negations are a first class citizen, avoids infinite loops.

Prolog's approach is like a depth first search through a search tree -- ASP is like a nondeterministic turing machine, exploring all branches simultaneously from the bottom up.

[1] https://en.wikipedia.org/wiki/Answer_set_programming

[2] https://www.youtube.com/playlist?list=PL7DBaibuDD9O4I05DiQfi...


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: