← /g/

(λ) - Lisp General

New launches split creator fees 50% to the poster and 50% to the launcher. No tripcode is needed to launch; poster claims require verified ownership.

Anonymous11/25/26(Wed)17:45:13 No.110435515
solar eclipse
>Lisp is a family of programming languages with a long history and a distinctive parenthesized prefix notation. There are many dialects of Lisp, including Common Lisp, Scheme, Clojure and Elisp.

>Emacs is an extensible, customizable, self-documenting free/libre text editor and computing environment, with a Lisp interpreter at its core.

>Emacs Resources
https://gnu.org/s/emacs
https://github.com/emacs-tw/awesome-emacs
https://github.com/systemcrafters/crafted-emacs

>Learning Emacs
C-h t (Interactive Tutorial)
https://emacs-config-generator.fly.dev
https://systemcrafters.net/emacs-from-scratch
http://xahlee.info/emacs
https://emacs.tv

>Browse imageboards in Emacs Org-Mode
https://github.com/eNotchy/4g

>Emacs Distros
https://github.com/caisah/emacs.dz

>Elisp
Docs: C-h f [function] C-h v [variable] C-h k [keybinding] C-h m [mode] M-x ielm [REPL]
https://gnu.org/s/emacs/manual/eintr.html
https://gnu.org/s/emacs/manual/elisp.html
https://github.com/emacs-tw/awesome-elisp

>Common Lisp
https://almightylisp.com
https://lispcookbook.github.io/cl-cookbook
https://cs.cmu.edu/~dst/LispBook
https://gigamonkeys.com/book
https://lisp-docs.github.io
https://awesome-cl.com

>Scheme
https://scheme.org
https://standards.scheme.org
https://go.scheme.org/awesome
https://research.scheme.org/lambda-papers

>Clojure
https://clojure.org
https://clojure-doc.org
https://clojure.land
https://www.clojure-toolbox.com
https://mooc.fi/courses/2014/clojure
https://jafingerhut.github.io/cheatsheet/clojuredocs/cheatsheet-tiptip-cdocs-summary.html

>Other
https://github.com/dundalek/awesome-lisp-languages

>Guix
https://guix.gnu.org
https://nonguix.org
https://systemcrafters.net/craft-your-system-with-guix
https://futurile.net/resources/guix
https://github.com/franzos/awesome-guix

>SICP/HtDP
https://web.mit.edu/6.001/6.037/sicp.pdf
https://htdp.org

>More Lisp Resources
https://lisp.nexus
https://rentry.org/lispresources

(set! thread-links '(>>>/g/λ >>>/g/lisp))
(set! prev-thread >>110217194)
Anonymous11/25/26(Wed)17:46:45 No.110435526
joe@gnu-framework
Guix
Anonymous11/25/26(Wed)17:55:11 No.110435605
Clojure

https://www.youtube.com/watch?v=P-p0H8f8beQ
Anonymous11/25/26(Wed)18:00:19 No.110435644
Scheme

https://www.youtube.com/watch?v=0jvN_qWsECU
Anonymous11/25/26(Wed)18:35:55 No.110435890
Coalton

https://www.youtube.com/watch?v=xuSrsjqJN4M
Anonymous11/25/26(Wed)18:41:05 No.110435940
>Clojure: The Documentary
https://www.youtube.com/watch?v=Y24vK_QDLFg
Anonymous11/25/26(Wed)20:13:15 No.110436592
Elisp

(cl-defun block-print (pattern &key (string "NIGGER") (times 3))
"Use STRING as a pixel and generate a larger string from PATTERN."
(let* ((blank (make-string (length string) 32)))
(apply #'append
(seq-map (lambda (row)
(seq-map (lambda (n)
(seq-map (lambda (pixel)
(if (= pixel 1)
string
blank))
row))
(number-sequence 1 times)))
pattern))))

(setq art (block-print '((1 0 1 1 1)
(1 0 1)
(1 1 1 1 1)
(0 0 1 0 1)
(1 1 1 0 1))))


Should block-print return the joined result?
(string-join (cl-loop for row in art
collect (string-join `(,@(cl-loop for col in row
collect col)
"\n"))))
Anonymous11/25/26(Wed)21:03:09 No.110436870
femcel diplomacy
>>110436748
>limp-wristed faggot who won't say nigger on 4chan
Anonymous11/25/26(Wed)21:30:29 No.110437020
>>110436870
>won't say the n-word
There is an entire board for that. That is enough.
Anonymous11/25/26(Wed)21:43:07 No.110437084
Anonymous11/25/26(Wed)21:56:58 No.110437148
1788295502178
;; tinyscheme for gimp
;; mr.mxyzptlk
;; >>109705738
(define target-image (vector-ref (car (gimp-get-images)) 0))
(define base-layer (vector-ref (car (gimp-image-get-selected-layers target-image)) 0))

(let loop ((i 0))
(when (< i 360)
(let ((clone (car (gimp-layer-copy base-layer))))
(gimp-image-insert-layer target-image clone 0 -1)
(gimp-item-transform-rotate clone (* i (/ (* 2 *pi*) 360)) FALSE 900 475))
(loop (+ i 1))))
Anonymous11/25/26(Wed)22:16:41 No.110437238
1788589853994
Glisp
https://glisp.app/
https://github.com/baku89/glisp
Anonymous11/25/26(Wed)22:22:38 No.110437285
>>110437237
>r/lisp
>r/common_lisp
>r/scheme
>r/racket
>r/clojure
>r/emacs
Any others?
Anonymous11/25/26(Wed)23:17:57 No.110437558
Mirai (software)
>Software written in Common Lisp was used in the production of the Lord of the Rings
Anyone knows more about this?
Anonymous11/26/26(Thu)05:49:50 No.110439344
>>110437558
https://franz.com/success/customer_apps/animation_graphics/izware.lhtml
Anonymous11/26/26(Thu)06:05:03 No.110439399
>>110436592
Even when writing Common Lisp, I refer to the Elisp docs for cl-loop to help me use CL's loop. They're not exactly the same, but they're very close.
(info "(cl) Loop Facility")
https://www.gnu.org/software/emacs/manual/html_node/cl/Loop-Facility.html
Anonymous11/26/26(Thu)06:57:15 No.110439629
>>110436592
(cl-defun block-print (pattern string &optional (times 1) &aux s)
"Use STRING as a pixel and generate a larger string from PATTERN."
(let ((b (make-string (length string) ?\ )))
(while-let ((row (pop pattern)))
(while-let ((col (pop row)))
(cl-callf2 nconc (make-list times (if (= col 1) string b)) s))
(push "\n" s))
(apply #'concat (nreverse s))))
Anonymous11/26/26(Thu)07:27:20 No.110439811
2026-11-26_04-20-44
>>110439629
That's an interesting take on it. I don't think I've ever seen cl-callf2 before. It's certainly more compact than the original too. However, there's one difference is the way `times` is used. The original used it for height while you used it for width.
Anonymous11/26/26(Thu)08:39:29 No.110440273
>>110439811
(cl-defun block-print (pattern string &optional (times 1) &aux s)
"Use STRING as a pixel and generate a larger string from PATTERN."
(let ((b (make-string (length string) ?\ )))
(dolist (row pattern (apply #'concat (nreverse s)))
(let ((nrow (list "\n")))
(dolist (c row) (push (if (= c 1) string b) (cdr nrow)))
(dotimes (_ times) (cl-callf2 append nrow s))))))
Anonymous11/26/26(Thu)09:53:41 No.110440766
>>110440273
Very nice.
Also, TIL what &aux does.
(info "(cl) Argument Lists")

> The fifth section of the argument list consists of “auxiliary
>variables”. These are not really arguments at all, but simply variables
>which are bound to ‘nil’ or to the specified INITFORMS during execution
>of the function. There is no difference between the following two
>functions, except for a matter of stylistic taste:

(cl-defun foo (a b &aux (c (+ a b)) d)
BODY)

(cl-defun foo (a b)
(let ((c (+ a b)) d)
BODY))
Anonymous11/26/26(Thu)10:22:43 No.110440918
>>110244791
reminder
Anonymous11/26/26(Thu)15:44:46 No.110443407
frame_18:14
>>110435605
based clojure gamedevs
https://www.youtube.com/watch?v=6JOyM1W-Dys
Anonymous11/26/26(Thu)16:17:22 No.110443675
https://drewdevault.com/weird-guys/#zaretskii
>A participant in that discussion posed to Eli a hypothetical: “if i live in a territory that permits slavery, and by law i am granted sole ownership of the products of that forced labor, and then i use that to create contributions to gnu emacs, complete with copyright assignment, and it is technically correct, and, above all, you, the emacs maintainers are aware of how this was produced, would it be ethical to accept those contributions?”
>Eli’s answer was “Our answer must be YES.”
>Eli therefore easily earns a spot as a BASED guy for his emphatic belief that free software not only can, not only should, but must be built on slave labor
Unfathomably based. I kneel
Anonymous11/26/26(Thu)16:43:36 No.110443860
>>110443675
>free software must be built on slave labor
I mean, isn't it already
Anonymous11/26/26(Thu)16:46:37 No.110443880
Eli Zaretskii
>>110443675
Say nothing bad about Zaretskii
Anonymous11/26/26(Thu)16:49:56 No.110443911
pepe_tired
>Scheme
>Created by (((Sussman)))
>Emacs Lisp
>Created by (((Stallman)))
>(((lisp syntax)))
Seriously, who wrote this script?
Anonymous11/26/26(Thu)17:00:39 No.110444002
clisp
>>110443911
>some jews are based
I know this is hard for certain people to accept, but it is what it is. Now let's try to have a reasonably drama-free thread about Lisp.
Anonymous11/26/26(Thu)17:15:08 No.110444116
>>110443880
>>110443675
Seriously how can a man be more based? He routinely btfos retarded redditors too.
Anonymous11/26/26(Thu)17:33:41 No.110444258
>>110443675
That does look bad to non-autists even if it is consistent, but why tf was human slavery brought up to begin with? Anti-LLM people constantly undermine themselves with this type of shit; I'm convinced most are just controlled opposition. LLMs are obviously not worth it.
Anonymous11/26/26(Thu)18:10:33 No.110444520
>>110444002
Kek, I didn't know that. I even download the package and it's true.
Anonymous11/26/26(Thu)18:11:35 No.110444527
>>110443911
(((John McCarthy was born to Jewish parents)))
Anonymous11/26/26(Thu)18:13:10 No.110444538
>>110444527
(((Greenblatt))
(((Knight)))
(((Stallman)))
(((Jesus Christ)))
Anonymous11/26/26(Thu)18:45:48 No.110444761
https://coincidencedetector.com/
https://www.coincidencedetector.com/theList.json
...needs updating.
Anonymous11/26/26(Thu)20:20:35 No.110445285
>>110443407
>frame_18:14.jpg
Huh, it's a real screenshot. And the entire presentation is like that. What are they going for here?
Anonymous11/26/26(Thu)23:21:56 No.110446064
bros...
https://s.conao3.com/blog/2026/e4f733
https://github.com/emberian/common-lisp-compiler-audit
Anonymous11/27/26(Fri)00:24:19 No.110446298
Screenshot_20261126-222340
you can really lisp all the way down wow
https://www.kookamara.com/jared/2011-memocode-centaur.pdf
Anonymous11/27/26(Fri)00:26:49 No.110446311
wow-amazed
>>110446298
ACL2 (A Computational Logic for Applicative Common Lisp) is a software system consisting of a programming language, an extensible theory in a first-order logic, and an automated theorem prover. ACL2 is designed to support automated reasoning in inductive logical theories, mostly for software and hardware verification. The input language and implementation of ACL2 are written in Common Lisp. ACL2 is free and open-source software.
ACL2 has had numerous industrial applications.[4][5] In 1995, J Strother Moore, Matt Kaufmann and Tom Lynch used ACL2 to prove the correctness of the floating point division operation of the AMD K5 microprocessor in the wake of the Pentium FDIV bug.[6]

Industrial users of ACL2 include AMD, Arm, Centaur Technology, IBM, Intel, Oracle, and Collins Aerospace.
Anonymous11/27/26(Fri)00:28:32 No.110446318
Deep_Space_1_-_ds1logo
remote agent
lisp in space
Anonymous11/27/26(Fri)00:54:12 No.110446393
fit
Haskell proofs in the streets
Lisp prototypes in the sheets
Anonymous11/27/26(Fri)00:55:34 No.110446402
>>110444538
more like knaves amirite
Anonymous11/27/26(Fri)06:30:24 No.110447597
>>110446402
From WordNet (r) 3.0 (2006) [wn]:

knave
n 1: a deceitful and unreliable scoundrel [syn: rogue,
knave, rascal, rapscallion, scalawag, scallywag,
varlet]
2: one of four face cards in a deck bearing a picture of a young
prince [syn: jack, knave]
(((Anonymous)))11/27/26(Fri)11:02:06 No.110449144
(((negev)))
>>110448841
Lisp parenthesized syntax is a hate symbol, according to the ADL.
https://www.adl.org/resources/hate-symbol/echo
Anonymous11/27/26(Fri)11:08:22 No.110449191
>>110443675
>zaretskii
>stallman
so emac is a certified chudware™ now
good news
Anonymous11/27/26(Fri)11:12:21 No.110449220
>>110449144
>hate symbol
who made it a hate symbol?
pretty sure it wasn't the lispers
Anonymous11/27/26(Fri)12:58:09 No.110450166
it's ok guys OUR GUY alonzo church invented the lambda calculus, he's the real daddy here
Anonymous11/27/26(Fri)16:50:45 No.110452040
>>110446298
usecase?
Anonymous11/27/26(Fri)18:22:08 No.110452657
>>110452040
Centaur Technology verified the execution units, instruction decoders, and microcode of its commercial 64-bit x86 processors—specifically the VIA Nano, VIA Eden, and later CNS architectures.
Rather than verifying an entire chip end-to-end as a single monolith, Centaur's formal verification team focused on proving mathematical equivalence between their Verilog/SystemVerilog hardware designs and formal ACL2 specifications across major CPU subsystems:
• Floating-Point & Media Units (SSE / x87 / AVX): Starting with the VIA Nano, Centaur proved correctness for over 100 SIMD and floating-point instructions—including floating-point addition, subtraction, multiplication, fused multiply-add (FMA), conversions, shuffles, and min/max operations.
• Integer & Cryptographic Execution Units: They verified standard 64-bit integer datapaths, multipliers, and hardware-accelerated cryptographic circuits (such as AES and SHA operations).
• AVX-512 & Vector Datapaths: On later cores (such as the CNS architecture), verification expanded to cover roughly 3,400 x86 and AVX-512 instruction variants and over 600 internal micro-operations (uops).
• Instruction Decode & Microcode ROM: Beyond raw math units, they verified the front-end pipeline—proving that x86 instructions decode properly into micro-operations (SV-DECODE and SV-XLATE) and that microcode ROM traps (SV-UCODE) match their formal ISA models.
Anonymous11/27/26(Fri)18:38:40 No.110452752
Why is Debian Sid still on emac 30.2?
Anonymous11/27/26(Fri)22:02:35 No.110453903
rich hickey
https://www.youtube.com/watch?v=-6BsiVyC1kM
Anonymous11/27/26(Fri)22:15:51 No.110453970
A database with Datalog queries, but different from Datomic due to having more simple deletion/not having temporal stuff
https://github.com/datalevin/datalevin
Anonymous11/28/26(Sat)00:26:17 No.110454526
>>110453903
you can run Clojure on many many old mainframes O_o
Anonymous11/28/26(Sat)05:02:36 No.110455494
I accidentally rediscovered that I had embark installed when I hit C-. It's one of those packages I installed, because it was recommended along with things like consult and marginalia, but I don't really get how to use embark.
https://emacsredux.com/blog/2026/07/14/all-aboard-embark/
I'm trying to understand.
Anonymous11/28/26(Sat)08:04:35 No.110456133
>not coompiling emacs from source
can you even call your config yours?
Anonymous11/28/26(Sat)08:17:55 No.110456174
>>110456133
>muh from sauce
I prefer to spend time on other things
Anonymous11/28/26(Sat)08:27:52 No.110456216
>>110456174
Different anon here, it really doesn't take much time just clone it, start the compiler, and put leave shit going in the background while you get back to shitposting on 4chan.
Anonymous11/28/26(Sat)09:29:46 No.110456504
1497794891047
>>110449220
>who made it a hate symbol?
I'm pretty sure that /pol/ is responsible of that.
Anonymous11/28/26(Sat)10:18:19 No.110456776
>>110456504
it's bad for lisp
Anonymous11/28/26(Sat)10:26:05 No.110456820
>>110435515
Solar Eclisp
Anonymous11/28/26(Sat)15:15:02 No.110458665
>>110435515
I mean this is cool and all but why does these languages even matter if I can just use python?
Anonymous11/28/26(Sat)15:26:30 No.110458730
>>110456504
It was Morrakiu and the Merchant Minute.
https://argentbeacon.com/the-merchant-minute/
Anonymous11/28/26(Sat)16:24:24 No.110459094
>>110456133
I usually compile it from source but I'm making a debian-live image and I don't want to learn how to make a .deb that works on all machines....
Anonymous11/28/26(Sat)21:00:54 No.110460852
>>110458665
usecase for "python"?
Anonymous11/28/26(Sat)21:36:39 No.110461056
carmack
>>110460852
>usecase for "python"?
loops
Anonymous11/29/26(Sun)01:37:08 No.110462249
https://elpa.gnu.org/packages/futur.html
The futur.el library by Stefan Monnier tries to make async programming easier in Elisp.
(futur-let*
((buf (current-buffer))
(exitcode1 <- (futur-process-call CMD1 nil buf nil ARG1 ARG2))
(out (with-current-buffer buf
(buffer-string))) ;; Get the process's output.
(exitcode2 <- (futur-process-call CMD2 nil buf nil ARG3 ARG4)))
(with-current-buffer buf
(concat out (buffer-string))))

The <- is kinda novel.
Anonymous11/29/26(Sun)07:18:59 No.110463903
Anonymous11/29/26(Sun)11:08:28 No.110465540
>>110460852
Suffering.
Anonymous11/29/26(Sun)12:41:11 No.110466396
My Lisp/Self hybrid is coming together nicely
https://neo-platform.org/
Still lots of work to do.
Anonymous11/29/26(Sun)17:29:43 No.110468922
>>110466396
>https://neo-platform.org/
interesting
Anonymous11/29/26(Sun)18:40:00 No.110469483
>>110466396
I installed the deb version and ran the included "image" which seems to be a lisp program. (I was expecting some kind of binary, but whatever). This is what I got.
$ neo run /usr/share/neo/image.neo
42

I was also able to run it from the UI that just running `neo` provides just once (yielding the same 42 result). However, I haven't been able to run it that way since.
Anonymous11/29/26(Sun)18:48:57 No.110469565
Whatever happened to Helix's Scheme-based extension system?
https://github.com/helix-editor/helix/pull/8675
I thought it was going to be merged in last year, but it's still kinda hanging out in limbo.
Anonymous11/29/26(Sun)20:29:03 No.110470399
>>110469483
Yeah these are early builds, expect things to be very buggy. there should be a stable release in about a month from now.
Anonymous11/29/26(Sun)20:32:06 No.110470422
>>110469483
As for the image, that's the intention. "Lisp" is the image, or rather is how the image is described.
Anonymous11/30/26(Mon)02:21:29 No.110472325
Did you know that eshell takes an optional numeric argument? This lets you address individual eshell instances by number.
M-x eshell
C-u 1 M-x eshell
C-u 2 M-x eshell

Also, instead of `C-u 1`, you can hit `C-1`.
Anonymous11/30/26(Mon)08:22:52 No.110474042
>>110472325
>eshell
isn't eat better
Anonymous11/30/26(Mon)08:38:01 No.110474113
>>110474042
- eat is a terminal where you run other shells like bash, zsh, nushell, etc. It provides terminal emulation so you can color output and move the cursor with special escape sequences.
- eshell is an Emacs-native shell that provides a shell-like syntax for running commands. These commands can be regular executables or they can be Elisp functions which is kinda fun.

I like eshell, because it integrates with the rest of Emacs in clever ways. I initially wasn't very fond of it, but after I gave it a real chance and got to understand its unique value proposition, I ended up using more than my regular Unix shell (which is nushell these days).
Anonymous11/30/26(Mon)08:44:44 No.110474147
To anyone wanting to get started with eshell, I recommend this article:
https://www.masteringemacs.org/article/complete-guide-mastering-eshell
Frosch!!Tiq3ooE+FDE11/30/26(Mon)10:49:17 No.110475020
test
CHICKEN engine test. Mostly written in C with a little scheme on top.

>>110446298
Good read so far. Thanks.

>>110444002
Lisp is the language of the Chosen after all
Anonymous11/30/26(Mon)12:20:19 No.110475671
>>110475020
>rooster
Do you have a link to the source?
Anonymous11/30/26(Mon)13:05:52 No.110476038
>>110474042
If you use eat, you can enable eat-eshell-mode and eat-eshell-visual-command-mode to integrate eat into eshell.
(use-package eat
:ensure t
:hook ((eshell-load . eat-eshell-mode)
(eshell-load . eat-eshell-visual-command-mode)))

https://codeberg.org/akib/emacs-eat
Anonymous11/30/26(Mon)13:14:35 No.110476127
oof
>>110435890
>come to Lisp general to see what's up with the languages
>what I understand to be the main one apparently lacks safe, flexible, efficient software
And I'm right back out, enjoy yourselves, fellas
Anonymous11/30/26(Mon)14:06:26 No.110476548
>>110476038
>codeberg
Not visiting that trash. Look it up in archives if you're unaware.
Anonymous11/30/26(Mon)14:44:23 No.110476855
>>110476548
>seething about some random forge
snowflake nigger award
Anonymous11/30/26(Mon)14:51:35 No.110476918
>>110476855
On the technical level, the site is completely unusable because it throttles my IP range. 13000ms latency is insane.
Anonymous11/30/26(Mon)15:14:46 No.110477082
>>110476918
Yep. That's why I'm using gitworkshop.dev recently.
Anonymous11/30/26(Mon)16:00:46 No.110477408
file
>pinning packages via channels.scm is too expensive for my VPS
I don't get it. What's the use case for GNU Guix then? Because this makes it feel like it was build for big corporations to take advantage from engineers' free labour.
Anonymous11/30/26(Mon)17:13:39 No.110478041
>>110477408
>two other heavy things running at the same time
>two core machine
>why is time machine so slow?
have you tried asking your chatbot
Anonymous11/30/26(Mon)17:14:39 No.110478053
>>110476918
I wonder if someone used IPs in your range to scrape codeberg. I've never experienced the throttling you speak of from them.
Anonymous11/30/26(Mon)17:27:35 No.110478179
suika drink touhou
>>110478041
That's besides the point. I left the VPS running time-machine for ~2 hours earlier today and then I simply gave up. That's when I ran claude to investigate. Turns out time-machine is too expensive because every now and then we have to compile derivations.
I think I will keep Guix only on my local machine.
Frosch!!Tiq3ooE+FDE11/30/26(Mon)20:20:59 No.110479485
>>110475671
Yeah but its still a baby. Behold my spaghetti
https://codeberg.org/FroggyGreen/rooster
Frosch!!Tiq3ooE+FDE11/30/26(Mon)20:34:28 No.110479574
>>110475671
>>110479485
To run the test do
nc -l -p 1234
in one terminal and
chicken-csi falling_box.so
in another terminal. Depending on your distro it could also just be csi. falling_box.so will be located in build/tests/. This will allow you to program the game as it runs.

I'm going to get rid of this tcp stuff eventually and use an in-game console.
Anonymous11/30/26(Mon)20:51:21 No.110479667
>>110477082
>gitworkshop.dev
Oh, it's using Nostr. I need to try this.
Anonymous11/30/26(Mon)21:19:35 No.110479872
a rare quicklisp dist update
https://blog.quicklisp.org/2026/11/november-2026-quicklisp-dist-update-now.html
Anonymous11/30/26(Mon)21:23:58 No.110479899
>>110479872
To get access to the new libraries:
(ql:update-dist "quicklisp")
Anonymous12/01/26(Tue)02:42:28 No.110481543
This wasn't the first implementation of JavaScript, but Mozilla had a reference implementation of JavaScript that was implemented in Common Lisp written by Waldemar Horwat.

https://web.archive.org/web/20191019082701/https://dxr.mozilla.org/mozilla/source/js2/semantics
https://web.archive.org/web/20191019082701/https://dxr.mozilla.org/mozilla/source/js2/semantics/README
>js/semantics contains experimental code used to generate LR(1) and LALR(1)
>grammars for JavaScript as well as compile and check formal semantics for
>JavaScript. The semantics can be executed directly or printed into either
>HTML or Microsoft Word RTF formats.
Anonymous12/01/26(Tue)06:45:34 No.110482657
Coalton Community Challenge
https://github.com/Jason94/coalton-community-challenge

The first challenge for December+January is to create Unique Fantasy RPG, a text-based RPG game.
https://github.com/Jason94/coalton-community-challenge/blob/master/1_unique_fantasy_rpg/README.md
Anonymous12/01/26(Tue)10:28:48 No.110483972
claude-code-agent-view-1
Am I being retarded? I using the agent-shell package to prompt LLMs in Emacs, which works very well. But I am trying to make things more autonomous, so I'd ideally like the following:
>I open an agent-shell session and tell it to go look at my org-mode TODOs
>For each TODO, the top-level session spawns a new agent-shell session buffer in Emacs

So I need an agent-shell buffer to create a new agent-shell buffer. The problem is that I'm not using the Emacs server / emacsclient, so I don't see an easy way for an agent-shell buffer to spawn new ones autonomously. Am I being retarded and I should just use emacsclient for this?
Claude via the terminal has the agent view and can spawn background sessions easily, so I feel like I'm handicapped unless I start using the server / emacsclient
Anonymous12/01/26(Tue)10:30:23 No.110483988
>>110483972
I am*** using the agent-shell package
Anonymous12/01/26(Tue)11:01:34 No.110484212
>>110483972
Why are you afraid to `M-x server-start`?
Anonymous12/01/26(Tue)11:03:57 No.110484233
>>110484212
That's where I think I'm retarded. Is it really not a security concern to do this? The LLM would be running emacsclient to manipulate my currently running Emacs. But it's already running arbitrary bash commands, so maybe there's no additional security concern here at all
Anonymous12/01/26(Tue)11:08:29 No.110484265
>>110484233
>it's already running arbitrary bash commands
...so letting it use emacsclient isn't really elevating its already high privileges to your system.
Anonymous12/01/26(Tue)11:20:15 No.110484337
>>110484265
You're right, the server seems like the correct move here
Anonymous12/01/26(Tue)16:25:42 No.110486939
>>110479899
thanks anon
Anonymous12/01/26(Tue)16:57:41 No.110487150
>>110484233
if you're concerned about security you should be running your slopbot in a VM. anything else is a bandaid at best
Anonymous12/01/26(Tue)22:40:19 No.110489449
>>110474147
>https://www.masteringemacs.org/article/complete-guide-mastering-eshell
Nice
Anonymous12/01/26(Tue)23:26:22 No.110489751
>>110472325
While inside eshell, something I like doing sometimes is using `C-x 4 4 RET` intead of just `RET` when running a command. For example, if I wanted to open ibuffer in another window, I'd type:
# open ibuffer in another window
ibuffer C-x 4 4 RET

# (default) open ibuffer such that it takes over the current window
ibuffer
Anonymous12/01/26(Tue)23:31:46 No.110489777
>>110489751
Experimenting with this as an alternative to `C-x 4 4`.
(keymap-global-set "C->" #'other-window-prefix)
Anonymous12/02/26(Wed)01:20:15 No.110490310
eshell is amazing but I find it confusing to use when I am dealing with tramp file paths and on remote servers. sometimes the eshell command uses my local machine's /usr/bin/ other times it uses the remote machine's /usr/bin/. Thoughts?
Anonymous12/02/26(Wed)01:32:17 No.110490363
>>110490310
Enabling the elecslash eshell module helps me disambiguate remote vs local paths.
(push 'eshell-elecslash eshell-modules-list)

Let's say I'm running eshell locally and cd'd to a remote directory.
$ pwd
/sshx:anon@tilde.club:/home/anon/public_html

- If I were to then type `ls /` that first slash will transform the command line to `ls /sshx:anon@tilde.club:/`.
- If I were to type a second slash like `ls //`, my command line will go back to `ls /`.
- That lets me disambiguate remote vs local paths in eshell.

(info "(eshell) Electric forward slash")

https://www.gnu.org/software/emacs/manual/html_node/eshell/Electric-forward-slash.html
Anonymous12/02/26(Wed)01:35:03 No.110490380
>>110490363
I am aware of the electric forward slash, and I use that in eshell already. What I am describing is a more subtle issue. For example, when I am at

/sshx:anon@tilde.club:/home/anon/

where does the sudo command run?
Anonymous12/02/26(Wed)01:42:40 No.110490408
>>110490380
Sorry, I misunderstood. As for where sudo comes from in that situation, I think it's controlled by the variable tramp-remote-path, but it's not something I've looked into that deeply.
(info "(tramp) Remote programs")

https://www.gnu.org/software/emacs/manual/html_node/tramp/Remote-programs.html
Anonymous12/02/26(Wed)01:58:19 No.110490477
>>110490408
Alright, thanks. I will read that info page.
Anonymous12/02/26(Wed)09:40:48 No.110492371
Anonymous12/02/26(Wed)14:26:43 No.110494417
>>110479485
>https://codeberg.org/FroggyGreen/rooster
Nice.
Anonymous12/02/26(Wed)19:50:54 No.110496829
>>110449220
>who made it a hate symbol?
>pretty sure it wasn't the lispers
the schemers
Anonymous12/02/26(Wed)19:56:16 No.110496862
>>110490477
in emacs?
Anonymous12/02/26(Wed)20:10:25 No.110496938
emacs.info-nav
>>110496862
If you have to read info docs, Emacs is probably the best way to do it. I also made a package earlier this year to make navigation more ergonomic.
https://codeberg.org/ggxx/info-nav
Anonymous12/02/26(Wed)22:59:15 No.110497747
types
(info "(elisp) Type Hierarchy")

https://www.gnu.org/software/emacs/manual/html_node/elisp/Type-Hierarchy.html
Anonymous12/03/26(Thu)04:59:11 No.110499790
This is something I've added to the end of my ~/.sbclrc.
;;; Utilities
(defpackage utils
(:use #:cl)
(:export #:ax
#:vars))
(in-package :utils)

(defun ax (object)
"List the accessors for the given OBJECT."
(mapcar #'sb-mop:slot-definition-name (sb-mop:class-slots (class-of object))))

(defun vars (&optional (inherited? nil))
"List variables in current package.
If `t' is passed, also list inherited variables from other packages."
(let (vars)
(do-symbols (s *package* vars)
(if inherited?
;; then (list everything available)
(when (boundp s)
(push s vars))
;; else (list only vars defined in this package)
(when (and (eq (symbol-package s) *package*)
(boundp s))
(push s vars))))))

;;; Main
(in-package #:cl-user)
(use-package :utils)

When I'm in another package and want easy access to these functions, I do the following.
(in-package :whatever)
(use-package :utils)
Anonymous12/03/26(Thu)10:01:06 No.110501581
>>110496938
>https://codeberg.org/ggxx/info-nav
very cool
Anonymous12/03/26(Thu)14:01:49 No.110503569
sift-demo
https://jointhefreeworld.org/blog/articles/lisps/sift-the-lisp-formatter-i-kept-trying-to-write/
Anonymous12/03/26(Thu)18:13:53 No.110505602
>>110503569
https://github.com/jjba23/sift
Anonymous12/03/26(Thu)18:38:09 No.110505771
Are you employed?
Anonymous12/03/26(Thu)22:51:11 No.110507595
Anonymous12/04/26(Fri)05:22:47 No.110509930
gggg
- https://application.garden/
- https://docs.apps.garden/