Anonymous
9/7/2025, 6:05:57 AM
No.106509032
[Report]
(λ) - ᵋLisp General
>>106507052
>Bintracker is an advanced, cross-platform chiptune music editor that supports many different sound routines on a wide range of 8-bit and 16-bit target systems. It is also an interactive programming environment running on top of Chicken Scheme.
https://bintracker.org
https://github.com/bintracker/bintracker
Anonymous
9/7/2025, 6:21:19 AM
No.106509115
[Report]
>>106509043
I should probably check Scheme someday.
They are not compatible between themselves, right.
Anonymous
9/7/2025, 6:41:09 AM
No.106509222
[Report]
>>106509131
>free-to-play
I kneel
Anonymous
9/7/2025, 6:53:04 AM
No.106509289
[Report]
Is there any way to get a better debugging experience with Sly? I know I can add break calls, but that doesn't allow me to see returned values from previous statements or inspect all of the local values right in the code buffer.
Anonymous
9/7/2025, 7:59:16 AM
No.106509620
[Report]
>>106510117
pre-built guix live CDs with full linux kernel and network-manager
https://codeberg.org/hako/Testament/#headline-7
Anonymous
9/7/2025, 8:45:36 AM
No.106509824
[Report]
>>106509842
>>106494716
>unfold
baby steps
scheme@(guile-user)> (define (stop n) (< n 0))
scheme@(guile-user)> (stop 0)
$6 = #f
scheme@(guile-user)> (stop -1)
$7 = #t
scheme@(guile-user)> (define (down n) (- n 1))
scheme@(guile-user)> (identity 1)
$8 = 1
scheme@(guile-user)> (unfold stop identity down 3)
$9 = (3 2 1 0)
Anonymous
9/7/2025, 8:48:45 AM
No.106509842
[Report]
>>106509824
(import (srfi :1)) ; or
(import (srfi srfi-1)) ; same thing
Since gnu.org is so slow these days due to the DDoS campaign, I had to get better at using info.
(info "(guile) SRFI-1 Fold and Map")
Discovering Info-toc was a big help. It's bound to:
T for vanilla and
g T for evil.
Anonymous
9/7/2025, 9:44:15 AM
No.106510109
[Report]
>>106510151
>>106510096
Got archive what is important, anon.
Anonymous
9/7/2025, 9:45:16 AM
No.106510117
[Report]
>>106509620
Bretty gud.
I want to make my own image too and I have a couple of old TPs lying around.
>>106510096
>DDoS campaign
So THAT'S what's happening. I was wondering why it was taking so long just to open manual pages...
Who the fuck would ddos gnu? What possible reason is there?
Anonymous
9/7/2025, 9:52:11 AM
No.106510151
[Report]
>>106510096
>>106510109
>>106510121
Hmmm, I see that kiwix doesn't have much dumps of GNU manuals.
When I got some time I will package some stuff.
Anonymous
9/7/2025, 9:55:25 AM
No.106510173
[Report]
>>106510121
>Who the fuck would ddos gnu? What possible reason is there?
We talked about it a little bit in the last thread.
>>106473009
Anonymous
9/7/2025, 10:15:10 AM
No.106510263
[Report]
>>106510246
(also added a link under the Scheme section)
I hate what the internet has become.
Anonymous
9/7/2025, 10:23:36 AM
No.106510308
[Report]
>>106510369
>>106510303
>>106510308
I turned the WAF off, is it good now?
Anonymous
9/7/2025, 10:36:15 AM
No.106510376
[Report]
>>106510448
Anonymous
9/7/2025, 10:37:37 AM
No.106510382
[Report]
>>106510448
>>106510121
The whole internet is a DDOS botnet now with crawlers and agents.
Honest the internet as we knew no only died but it's rotting horribly.
Anonymous
9/7/2025, 10:53:34 AM
No.106510448
[Report]
>>106510470
>>106510376
Great, hope that helps. For some reason it was flagging requests to the manual as "PHP Information Leakage"
>>106510382
Yeah, and I pay for bandwidth by the GB so I had the WAF on. I'll just keep the DDOS protection on for now, might turn the WAF back on and disable that one rule if needed.
Anonymous
9/7/2025, 10:56:45 AM
No.106510470
[Report]
>>106510520
>>106510448
I am surprised someone with actually admin to a mirroris here.
Anonymous
9/7/2025, 11:05:04 AM
No.106510510
[Report]
Right now there are two plugins I am having trouble replacing in emacs coming from neovim: Mason and TreeSitter, for LSP server management and syntax highlighting/ASTs respectively. Those two plugins download and install servers and grammars for you so you don’t gave to manage them outside of your editor. That makes life a lot easier. Can someone help point me to the emacs equivalents, if any?
Anonymous
9/7/2025, 11:06:50 AM
No.106510520
[Report]
>>106512751
>>106510470
It's not exactly difficult, I'm sure anyone on here can figure it out. It's just a matter of throwing files on a CDN and pointing a domain to it. I personally use bunny.net because I dislike Cloudflare for ideological reasons.
Anonymous
9/7/2025, 11:13:45 AM
No.106510554
[Report]
>>106510567
To the anon from the previous thread who asked about more Lisp music software:
https://github.com/bintracker/bintracker
Anonymous
9/7/2025, 11:15:37 AM
No.106510567
[Report]
>>106510554
> already posted
Oops. But I regret nothing
Anonymous
9/7/2025, 11:19:02 AM
No.106510583
[Report]
testing lisp.nexus bot
Anonymous
9/7/2025, 11:20:56 AM
No.106510595
[Report]
>>106510834
>>106510121
Ai crawlers alone are basically a huge ddos botnet.
Even my small, irrelevant server/blog was getting hammered by them until I started sending them to tarpits.
It's pure cancer.
>>106448149
I didn't have the specific Mona font you're using, but I found a few TrueType Mona font alternatives online. The one I'm using is:
https://github.com/public-domain/mona
I found it more accurate than the Monapo font that some Linux distros package for this purpose.
(defface shift-jis-art
'((t :font "Mona 12"))
"The face for Shift_JIS artwork, which requires an appropriate font,
e.g. Mona font.")
That nobreak stuff you mentioned in your comments was really important too. I actually didn't notice your comment until after I had searched the web looking for an answer.
(set-face-attribute 'nobreak-space nil :underline nil)
Anonymous
9/7/2025, 11:25:01 AM
No.106510616
[Report]
>>106519449
>>106510608
Once upon a time, I came across a site that let you compare and contrast various Mona fonts, but I can't find it anymore.
Anonymous
9/7/2025, 12:14:08 PM
No.106510834
[Report]
>>106510911
>>106510595
I hope your tarpits poison them with AI generated text
Anonymous
9/7/2025, 12:28:23 PM
No.106510911
[Report]
>>106511005
>>106510834
Not yet, but I was planning to do that next.
Anyone got some decent up-to-date sources on the topic? I don't know how good ai crawlers are nowadays at detection/mitigation of defensive poisoning techniques.
I only know that they are still as dumb and greedy as always when it comes to traversal itself.
Anonymous
9/7/2025, 12:43:53 PM
No.106511005
[Report]
>>106511132
Anonymous
9/7/2025, 1:06:28 PM
No.106511132
[Report]
Anonymous
9/7/2025, 3:57:00 PM
No.106512266
[Report]
>>106513610
Anonymous
9/7/2025, 4:38:00 PM
No.106512562
[Report]
Once again how the fuck do I use eglot with python venvs? Do I really need to install one lsp per venv?
Anonymous
9/7/2025, 5:08:10 PM
No.106512751
[Report]
>>106513610
>>106510520
>I dislike Cloudflare for ideological reasons.
we all do, although I've never seen "bunny" used anywhere before, seems like 102% of websites nowadays use Cloudfare and more recently Anubis.
Are you guys happy? Nothing insidious about the question. I'm genuinely curious and hoping for the best.
Anonymous
9/7/2025, 6:50:02 PM
No.106513610
[Report]
>>106512266
No problem, let me know if there's anything else you'd like mirrored. I set up a bot that alerts me on mentions of the site's name.
>>106512751
Yeah they're an up and coming player and they're actually building some cool stuff. Downside is they're not as mature and... the whole furry thing
>>106513446
No. I think I might actually be schizoid(not schizo, learn the difference). I have pretty bad treatment resistant depression and I fucked my back up so I can barely stand/walk for longer than 5 minutes at 24. I don't have any friends as I can't feel connections to other people(not even my family). Plus my quality of life is made worse by sleep apnea causing me to never get deep sleep and I can slowly feel muself getting stupider by the day, when I'm not even fat so why the fuck do I have it.
Thanks for asking. Are you?
Anonymous
9/7/2025, 7:18:32 PM
No.106513870
[Report]
>>106514045
>>106513658
More or less. Accumulating bad decisions, but my overall situation isn't exactly desperate, a bit far from it, actually. Working on improving it, but it's going to take a while. (will read SICP soon, quite excited about this)
Damn, anon, I'm sorry. I bet that back is responsibly for a lot of misery. Any chance expensive medical help could help alleviate that?
Anonymous
9/7/2025, 7:19:32 PM
No.106513880
[Report]
>>106514045
>>106513658
Btw how exactly did you hurt your back?
Anonymous
9/7/2025, 7:37:30 PM
No.106514045
[Report]
>>106514575
>>106513870
Im used to the back issues already, my bigger problem is bad sleep & no motivation. The only things that can help my back are physical therapy and surgery, and I'm too young for the latter. Unfortunately my issues are ones I can't throw money at; I make pretty good money and I absolutely would've by now.
>>106513880
It has always been a weak point, even when I was body building and extremely fit. I suspect it was due to sitting down in my room my whole childhood instead of going out and playing sports or whatever. But one day I just overstrained it and ended up in the ER because of the pain. Now the pain is constant thanks to a pinched nerve.
Anyways I think we've derailed the thread enough. Stop making bad decisions and start reading SICP today, not "soon." Share your progress here and ask if you have questions.
Anonymous
9/7/2025, 8:22:51 PM
No.106514485
[Report]
>>106514807
>>106513446
Not really. I'm a mid 30s loser currently living with his parents again. No job.
Depression made me drop out of university back in the day as well as out of my part time job.
Basically just ashamed of myself constantly which led to me avoiding friends and family as much as possible.
The thought of just killing myself crosses my mind almost daily, including finished planning etc.
Programming, learning and building stuff still brings me joy at least.
I am going back to university next month to try and get a degree.
Started sending some applications for part-time programming jobs but I am really not very hopeful on that end.
I have also prepared an application for a trade apprenticeship, as a Plan B in case Uni doesn't work out.
At least going to try these two things and see if I can manage to salvage the time I have left, worth a try before ending it.
Anonymous
9/7/2025, 8:27:40 PM
No.106514535
[Report]
Anonymous
9/7/2025, 8:31:37 PM
No.106514568
[Report]
>>106514807
>>106513446
No.
I got my doctorate but in this market I cannot even get interviews for the very thing I wrote my thesis on. I was rejected by HR in 20 minutes when I met the requirements so thoroughly I literally was one of the people doing modern research in their field.
I could only laugh.
Anonymous
9/7/2025, 8:32:34 PM
No.106514575
[Report]
>>106514045
Will do. Godspeed, anon.
>no one on the lisp general is happy
u-uh guys?
>>106514485
Are you a good programmer? Got some public repos? Where are you located?
>>106514568
What was your thesis on?
Anonymous
9/7/2025, 9:15:21 PM
No.106514995
[Report]
>>106518154
>>106514807
> Are you a good programmer?
Depends on what you consider good.
I'd say I'm competent/advanced in the things I focus on mostly, like low level programming and math.
> repos?
Hesitant to share so I don't doxx myself.
But yeah I work on a few public projects, one of which isn't popular per se, but at least useful enough to some people to donate me a few bucks occasionally.
> where are you located
France
Anonymous
9/7/2025, 9:16:45 PM
No.106515014
[Report]
>>106527225
>>106510608
>I didn't have the specific Mona font you're using
I'm using the xfonts-mona package on Debian
https://packages.debian.org/trixie/xfonts-mona
But it's a bitmap font. Debian also packages a TrueType Mona font (fonts-mona), which I'm guessing is the same as the one you're using.
>nobreak-char-display
I didn't know that variable existed, that's very useful because I do need visible non-breaking spaces when I'm writing in org-mode.
Also to add to my previous post (
>>106448149), I was reading the em-banner-el file and this is what it says:
;; This code is only an example of a how to write a well-formed
;; extension module for Eshell. The better way to display login text
;; is to use the `eshell-script' module, and to echo the desired
;; strings from the user's `eshell-login-script' file.
So instead of trying to modify `eshell-banner-message' every time I started a new eshell session, I ended up replacing my original code with a function that selects a random text file with ASCII art and calling that function in the login script.
Anonymous
9/7/2025, 9:39:00 PM
No.106515228
[Report]
>>106509101
I am back to Elixir actually
https://www.youtube.com/watch?v=38lJJuAArrc
all languages are trash in their little ways
Anonymous
9/8/2025, 1:11:25 AM
No.106516959
[Report]
Anonymous
9/8/2025, 1:29:19 AM
No.106517117
[Report]
>>106513446
I'm going to be the odd one out, most likely because I am not in the united states.
I *am* happy. I don't know why you ask in the lisp general, thought.
But relating your question to the topic of the thread, I would say I am happy to be able to experiment with an intriguing, deep, system such as is common lisp, and that even a smartphone today can run something that was night unthinkable for personal computers a some decades in the past.
(speaking of smartphones, I do not own a smartphone, which is probably one reason why I am not depressed.)
As it relates to the job market I am less optimistic. I also would like to be able to work with common lisp, and while I think there may be room for opportunity, l absolutely loathe corporate shit, the modern programming ecosystem, etc. I just have to trust I can find some niche that isn't corporate hell.
Anonymous
9/8/2025, 4:05:42 AM
No.106518154
[Report]
>>106514995
>low level programming and math
Not good for career opportunities unless you're REALLY good. Have you considered teaching or building a service around those skills?
>France
rip
Anonymous
9/8/2025, 4:14:13 AM
No.106518226
[Report]
>>106519764
Looks like traffic and bandwidth usage on lisp.nexus are up, but nothing crazy so far. Any complaints, comments, suggestions?
Anonymous
9/8/2025, 4:43:29 AM
No.106518423
[Report]
https://emacs.amodernist.com
domain has been taken over, where can I find a working copy of the site or alternatives to it
Anonymous
9/8/2025, 8:06:44 AM
No.106519449
[Report]
Anonymous
9/8/2025, 8:14:20 AM
No.106519490
[Report]
>>106519392
What was in there
Anonymous
9/8/2025, 8:28:38 AM
No.106519554
[Report]
>>106531093
>>106514807
Nobody will ever tell you what their thesis was on if they want to remain anonymous , research communities are too small to answer
Anonymous
9/8/2025, 8:34:26 AM
No.106519587
[Report]
>>106519611
>>106519587
>vertico
>consult
bloat
Anonymous
9/8/2025, 8:40:12 AM
No.106519625
[Report]
>>106519991
>>106519611
The whole idea of a config generator is bloat
Anonymous
9/8/2025, 9:08:12 AM
No.106519751
[Report]
>>106530286
Is the SICP instructor manual worth getting as I work through the book?
Anonymous
9/8/2025, 9:10:23 AM
No.106519764
[Report]
>>106522231
>>106518226
Thanks for creating the site
Anonymous
9/8/2025, 10:02:25 AM
No.106519985
[Report]
>>106519611
consult is useful.
>>106519625
Bloat is relative to the needs of the user. Bloat is exactly the things the user doesn't need.
If you use any other definition for bloat you can end up defining anything to be bloat. Technically you don't even need a computer at all, you can just apply voltages to the end of your ethernet cable to communicate with the internet.
>>106519991
Any and all external emacs packages are bloat.
>>106520006
Emacs is bloat.
Anonymous
9/8/2025, 10:15:53 AM
No.106520068
[Report]
>>106520099
>>106520060
It's strongfat.
Anonymous
9/8/2025, 10:18:35 AM
No.106520077
[Report]
>>106520840
Lem is pretty comfy and seems like the most promising/worthy successor to emacs.
>>106520060
This anon gets it
Anonymous
9/8/2025, 10:24:23 AM
No.106520099
[Report]
>>106520506
Anonymous
9/8/2025, 11:57:57 AM
No.106520506
[Report]
>>106520732
>>106520082
>>106520099
That is fat for people that don't want to admit they are.
Anonymous
9/8/2025, 12:33:29 PM
No.106520732
[Report]
>>106521051
>>106520506
Only in terms of aesthetics.
Strongfat in reality is like a good and skilled contractor. He doesn't look pretty, he doesn't make slutty women cream themselves nor does he look inspiring. But compared to a just fat/lazy guys he can easily work long hours even on a physically demanding job without complaining and he gets the work done and he does it well. And if you know him well he'll be there whenever you need him.
Like emacs.
>>106520077
Btw. how come Japan has such a healthy/productive Lisp community?
I noticed a bunch of cool configs/channels for Guix are run by japs as well.
Also a bunch of other actively developed interesting CL projects are made by japanese.
Anonymous
9/8/2025, 1:11:49 PM
No.106520992
[Report]
>>106520840
They do tend to have an eye for elegance, though it seems to be disregarded regrettably often in favor of corporate interests and inflexibility
Anonymous
9/8/2025, 1:20:40 PM
No.106521051
[Report]
>>106521073
>>106520732
You sound like a faggot.
Anonymous
9/8/2025, 1:23:12 PM
No.106521073
[Report]
>>106521051
There is no need to project, anon
Anonymous
9/8/2025, 1:48:01 PM
No.106521231
[Report]
>>106520840
>Btw. how come Japan has such a healthy/productive Lisp community?
higher average IQ.
that's the long and short of it because if you look at most objections to Lisp it's typically people complaining that it doesn't make you money and is therefore bad, or that it's too difficult to read when even macros are not hard to get over with proper documentation
Anonymous
9/8/2025, 3:51:42 PM
No.106522122
[Report]
>>106519991
>ethernet cable
>internet
bloat
Anonymous
9/8/2025, 4:07:14 PM
No.106522231
[Report]
>>106519764
I didn't create anything (yet) other than the logo, but you're welcome
Anonymous
9/8/2025, 6:06:54 PM
No.106523305
[Report]
Anonymous
9/8/2025, 6:12:53 PM
No.106523364
[Report]
>>106524443
Anonymous
9/8/2025, 8:16:28 PM
No.106524443
[Report]
>>106523364
Cool site thanks for sharing.
> The EVLIS Machine was proposed and announced in 1979 by the Department of Applied Physics, Faculty of Engineering, Osaka University. It was a multiprocessor-based parallel processing computer for Lisp programs, and was eventually realized and put into operation in 1982. It had execution performance competitive with ultra-large general-purpose machines of the time, including those which were foreign made [...]
https://museum.ipsj.or.jp/en/computer/other/0003.html
Does anybody have any tips for me on getting Slime to run? I'm the dumbass that was using Emacs on my phone last thread.
I have the package installed from MELPA, and it seems ok, and I have SBCL installed on termux okay, but when I actually M-x slime it summons SBCL, tries to start Swank, and then vomits. It's choking on backend.fasl. I'm not a CL expert so other than recognizing this as a compiled file I don't know what's going on here. Is this bytecode or architecure specific? Is there someway to recompile this while still using the package manager?
(cons* ...)
or
(append (list ...) ...)?
Anonymous
9/8/2025, 9:29:01 PM
No.106525131
[Report]
>>106524702
(define (cone . rest)
(cons (reverse (cdr (reverse rest))) (car (reverse rest))))
Anonymous
9/8/2025, 9:39:55 PM
No.106525251
[Report]
>>106524702
`(,@(list ...) ...)
[\code]
Anonymous
9/8/2025, 11:05:49 PM
No.106526155
[Report]
>>106524702
(defun nlist (&rest list)
(let ((n (- (length list) 1)))
(setf (nthcdr n list) (nth n list))
list))
Anonymous
9/8/2025, 11:14:01 PM
No.106526245
[Report]
>>106526710
>>106524681
>I'm not a CL expert so other than recognizing this as a compiled file I don't know what's going on here. Is this bytecode or architecure specific? Is there someway to recompile this while still using the package manager?
An alternate solution is to download "Portacle" which is an Emacs already configured with Slime, Swank, SBCL, Quicklisp, and Paredit. It works out of the box.
In that way you don't need to lose time configuring or troubleshooting things.
Anonymous
9/8/2025, 11:53:01 PM
No.106526710
[Report]
>>106526245
No.
- Portacle is not maintained anymore.
https://github.com/portacle/portacle/issues/182
- Even if it were, there's no Android version of this anyway.
Anonymous
9/8/2025, 11:53:41 PM
No.106526719
[Report]
>>106527925
>>106524681
>I'm not a CL expert so other than recognizing this as a compiled file I don't know what's going on here. Is this bytecode or architecure specific?
SBCL fasls are architecture specific and also compiler version specific AFAIK
Anonymous
9/9/2025, 12:02:02 AM
No.106526794
[Report]
What's the best spaced repetition package (aka Anki alternative) for Emacs?
Anonymous
9/9/2025, 12:21:12 AM
No.106526955
[Report]
>>106528020
>>106526944
I'll second this questions
Anonymous
9/9/2025, 1:00:46 AM
No.106527225
[Report]
Anonymous
9/9/2025, 2:26:27 AM
No.106527925
[Report]
>>106526719
That's awesome, why the hell doesn't the slime package build them from source then? Why would they package binaries? Sigh. I guess I'll try to install everything by hand tomorrow.
Anonymous
9/9/2025, 2:39:55 AM
No.106528020
[Report]
>>106531278
>>106526944
>>106526955
org-srs is based. dev has it working nicely on android too
saw another anon talking about hall effect keyboards in /mkg/, anyone here use one with emacs?
Anonymous
9/9/2025, 4:45:26 AM
No.106528864
[Report]
Seem like I will be forced to use Windows for work.
What's the best way to run emacs? Inside WSL?
>>106528782
What's the point outside of gaming?
Anonymous
9/9/2025, 5:14:29 AM
No.106528985
[Report]
>>106528998
>>106528961
Could eliminate the need for control and mod by utilizing the distinction between full press and partial press
Anonymous
9/9/2025, 5:14:57 AM
No.106528988
[Report]
>>106528782
>>106528961
Just read the thread. I personally don't see a benefit other than longevity, but I don't keep keyboards past 2 years typically.
Anonymous
9/9/2025, 5:16:19 AM
No.106528998
[Report]
>>106528985
I haven't typed on one so I can't give an actual opinion, but that sounds silly. Just trying to do it on my current keyboard kills my flow and I can't even do it reliably.
Anonymous
9/9/2025, 9:29:13 AM
No.106530286
[Report]
>>106531390
Anonymous
9/9/2025, 10:04:35 AM
No.106530441
[Report]
>>106513446
>are you happy
as much as i can be
about to start a job working in autolisp for autocad. i've never touched any lisp in my life. most resources i see are for the various other flavors, or otherwise SICP which seems too low-level for day-to-day work. does anyone have autolisp experience, or could point to good resources to pick it up to a working level? mostly concerned with code quality etc. thanks
Anonymous
9/9/2025, 10:58:24 AM
No.106530680
[Report]
>>106530667
>autolisp
my condolences
Anonymous
9/9/2025, 11:20:12 AM
No.106530782
[Report]
>>106530802
>>106530782
that looks perfect, thank you so much
Anonymous
9/9/2025, 11:50:15 AM
No.106530942
[Report]
>>106530802
It looks like a really primitive Lisp that's missing a lot of the things that make Lisp cool. I'd lower my expectations going into this.
Anonymous
9/9/2025, 11:54:06 AM
No.106530962
[Report]
>>106530667
>>106530802
autolisp is the only genuinely bad non-hobby lisp. it works but don't expect to see the appeal of lisp in it
Anonymous
9/9/2025, 12:17:39 PM
No.106531093
[Report]
>>106514807
>What was your thesis on?
basically
>>106519554
but it's in the sciences, not computer science
i'm not really mad about seeing a job posted with my actual research topic in the description and still not getting even an interview, i can only laugh really
but unfortunately it is the curse of geography, if you're born in the wrong country your opportunities are immensely limited, and more and more "wrong country" seems to mean "non-US country" for skilled work these days
Anonymous
9/9/2025, 12:50:20 PM
No.106531244
[Report]
>>106531357
>Elisp has Clojure-like thread-first and thread-last macros built-in since Emacs 25
Elisp has Clojure-like thread-first and thread-last macros built-in since Emacs 25.
Anonymous
9/9/2025, 12:54:29 PM
No.106531264
[Report]
Anonymous
9/9/2025, 12:56:30 PM
No.106531278
[Report]
>>106533391
>>106528020
>org-srs is based
Link? Is this org-drill? If so, isn't org-drill unmaintained? It also had some problems with its timestamp formats in newer org versions
Anonymous
9/9/2025, 1:11:36 PM
No.106531357
[Report]
>>106531943
>>106531244
(defmacro internal--thread-argument (first? &rest forms)
"Internal implementation for `thread-first' and `thread-last'.
When Argument FIRST? is non-nil argument is threaded first, else
last. FORMS are the expressions to be threaded."
(pcase forms
(`(,x (,f . ,args) . ,rest)
`(internal--thread-argument
,first? ,(if first? `(,f ,x ,@args) `(,f ,@args ,x)) ,@rest))
(`(,x ,f . ,rest) `(internal--thread-argument ,first? (,f ,x) ,@rest))
(_ (car forms))))
What the fuck is this doing? f and x are not declared anywhere
Anonymous
9/9/2025, 1:16:16 PM
No.106531390
[Report]
>>106530286
I'm not sure how that relates to my question
Anonymous
9/9/2025, 2:36:47 PM
No.106531943
[Report]
>>106531357
pattern matching, read the pcase documentation
How do people in lisp land that want to make webshit deal with the lack of an established web framework? I'm trying to build a SaaS product, and I want to use clojure, but part of me is feeling like I should just fall back to the comfort of rails. Am I thinking about it all wrong? Is the framework approach just not the done thing? How do people navigate this?
Anonymous
9/9/2025, 5:23:26 PM
No.106533391
[Report]
>>106538803
Best way to display a nicely formatted list of key-value pairs? I'm trying to show the contents of a hash table.
Anonymous
9/9/2025, 5:39:59 PM
No.106533545
[Report]
>>106533591
>>106533522
In Emacs, of course.
>>106533522
>>106533545
use your pp
-- Function: pp object &optional stream
This function outputs OBJECT to STREAM, just like ‘prin1’, but does
it in a prettier way. That is, it'll indent and fill the object to
make it more readable for humans.
Anonymous
9/9/2025, 5:49:58 PM
No.106533665
[Report]
>>106533591
That doesn't look very good. I want each key-value pair on a single line and nicely aligned and showing up in a separate buffer.
I'm almost done writing a function that does it but maybe there's a better way. Almost went with table mode but it's too busy and doesn't seem to work too well with long lines.
>>106533030
>How do people in lisp land that want to make webshit deal with the lack of an established web framework?
To do web developing you need:
- a web server
- routing
- json serialization/deserialization
- database access lib
- (optional) ORM lib
in the Common Lisp ecosystem you have at least two high quality libaries for each item, you don't really need a frawework. A bit similar like using Flask on Python, where Flask for many years basically only provided Routing and you added the rest.
Gluing it all together is easier than learning many of the mega-frameworks that provide all at once. Simply because most of those libs are very easy to use.
>>106530667
>about to start a job working in autolisp for autocad. i've never touched any lisp in my life. most resources i see are for the various other flavors
my condolences
AutoLisp is like going back to 1960s and trying to work with the old LISP. A torture.
Anonymous
9/9/2025, 6:04:41 PM
No.106533810
[Report]
Anonymous
9/9/2025, 6:19:06 PM
No.106533945
[Report]
>>106533522
>>106533591
This is what I currently have:
(defun string-list-max-length (strings)
(let* ((lenghts (mapcar (lambda (string) (length string)) strings))
(max-length (seq-max lenghts)))
max-length))
(defun show-hash-table (hash-table)
(let* ((keys (nreverse (hash-table-keys hash-table)))
(max-length (string-list-max-length keys)))
(with-temp-buffer-window "hash-table-details" nil nil
(mapcar (lambda (key)
(let* ((key-length (length key))
(pad-length (- max-length key-length))
(pad-string (string-pad "" pad-length)))
(princ (format "%s: %s%s\n"
key
pad-string
(gethash key hash-table)))))
keys))))
Not great and doesn't handle recursive hash tables cleverly or works with keys/values that aren't strings but does the job for now.
Anonymous
9/9/2025, 6:48:12 PM
No.106534197
[Report]
>>106533591
>use your pp
Which one?
If you're on Emacs 30+, in addition to pp, there's pp-29 and pp-28. They changed the way pp serializes in Emacs 30, and it's not as aesthetic as 29 and 28.
Anonymous
9/9/2025, 6:48:58 PM
No.106534208
[Report]
>>106533694
I expected to just be called a retard, to git gud, skill issue, etc. I'm not used to the a la carte approach, but I guess it makes sense not to use stuff you don't need.
>>106533694
CL has very little in the DB access business. CLSQL is dead.
Postmodern deals only with postgres.
Fukumachi is not production ready,.
Anonymous
9/9/2025, 7:58:51 PM
No.106536199
[Report]
>>106533030
I think Lisp enjoyers are mostly DIYers so if nothing this would be a positive.
Also frameworks are most of the time overengineered.
There are some blogs that are hosted with Lisp and org-mode.
Anonymous
9/9/2025, 7:59:52 PM
No.106536230
[Report]
>>106534818
>Postmodern deals only with postgres.
PSQL and SQLite are all people need and you have libs for them in all major lisps.
>>106533030
I'm mostly a Schemefag. I recently started playing around with Artanis
https://artanis.dev/
Anonymous
9/9/2025, 8:17:36 PM
No.106536737
[Report]
>>106536765
>>106536497
> Features
> GPLv3+ & LGPLv3+
> Very lightweight - easy to hack and learn for newbies.
> Support JSON/CSV/XML/SXML.
> Support for WebSockets.
> Good i18n support.
> A complete web-server implementation, including an error page handler.
> High concurrent async non-blocking server core based on delimited continuations.
> Supported databases (through guile-dbi): MySQL/SQLite/PostgreSQL.
> Nice and easy web cache control.
> Efficient HTML template parsing.
> Efficient static file downloading/uploading
Sounds pretty cool
>>106536497
>>106536737
We talked about Artanis some threads ago. It is used in another Scheme framework I don't remember the name now.
Anonymous
9/9/2025, 8:19:49 PM
No.106536779
[Report]
>>106536887
>>106536765
Would you consider it good?
Anonymous
9/9/2025, 8:26:15 PM
No.106536887
[Report]
>>106536765
Found it, it was a dependency of Kotatsu.
https://github.com/ECHibiki/Kotatsu-V
Someone also mentioned SchemeBBS as an example of web development with Scheme.
https://gitlab.com/naughtybits/schemebbs
>>106536779
I am not a schemer myself, but it's a GNU project and targeting Guille so I expect it to be satisfying to use,
Anonymous
9/9/2025, 8:42:07 PM
No.106537095
[Report]
>>106534818
>CL has very little in the DB access business. CLSQL is dead.
Not true at all. CLSQL works just fine and is not the only db access library there. CLSQL is very good software, as is Postmodern too.
Anonymous
9/9/2025, 9:56:56 PM
No.106538075
[Report]
>>106533030
Here's one example of picking out libraries for a web app.
http://beastie.sdf.org:4200/about
This is for Common Lisp, but Clojure has really mature options for all the things a web application needs.
>>106533694
...gave good advice.
Anonymous
9/9/2025, 9:57:43 PM
No.106538085
[Report]
>>106533713
>AutoLisp is like going back to 1960s and trying to work with the old LISP. A torture.
Anonymous
9/9/2025, 10:09:26 PM
No.106538230
[Report]
>>106538122
Mastery over the seen and unseen universe
Anonymous
9/9/2025, 10:19:55 PM
No.106538345
[Report]
>>106539237
>zoomers think that a library is dead because it hasn't been updated in a few years
Anonymous
9/9/2025, 10:20:11 PM
No.106538346
[Report]
>>106536497
I'm glad he got rid of that tacky CSS animation on his site.
Anonymous
9/9/2025, 10:55:16 PM
No.106538803
[Report]
>>106533391
İmo org-fc works better with org-roam
Anonymous
9/9/2025, 11:23:16 PM
No.106539098
[Report]
>>106539256
>>106533713
says the elisp user
>>106538345
Not him but some stuff actively needs maintenance. Database systems evolve and get security fixes.
Paid LISP systems have their own DB libraries (some are even used to implement databases lel). Racket has a bunch in the std lib, but I don't know how well maintained they are.
It's le modern webshit thing.
Anonymous
9/9/2025, 11:37:06 PM
No.106539247
[Report]
>>106539237
It's not "le modern webshit" thing.***
Anonymous
9/9/2025, 11:38:01 PM
No.106539256
[Report]
>>106539098
Did you look at what AutoLisp provides (and notice all the things it was missing)? AutoLisp doesn't have macros. It doesn't even have `let`.
Anonymous
9/9/2025, 11:49:34 PM
No.106539404
[Report]
>>106539237
>Database systems evolve
Not often, and oh well you won't have access to the new features for free. The core will work. Databases typically don't break backwards compatibility.
>and get security fixes
Shouldn't require any API changes
Anonymous
9/10/2025, 12:20:41 AM
No.106539740
[Report]
>>106542144
>>106539237
>security fixes
nigga, the database listens for string messages over some port. this is ultimately all that your lib is doing, generating and sending these strings
SQL has existed since 1973
people will talk so much about "security"
nigga Lisp ain't C. you aren't going to have buffer overflows and shit.
people that talk about "security" in this manner often have no idea, at all, what it even means.
Anonymous
9/10/2025, 12:51:29 AM
No.106540082
[Report]
>>106541823
>>106536497
can't get this to build on arch because of guile-curl
something about obsolete autoconf macros
Anonymous
9/10/2025, 1:03:22 AM
No.106540192
[Report]
>>106538122
I could go buy a nice cold beverage, and get ready to relax for an hour.
Anonymous
9/10/2025, 1:08:06 AM
No.106540231
[Report]
Anonymous
9/10/2025, 2:37:43 AM
No.106541072
[Report]
>>106541839
>>106513446
No, made a bunch of money in crypto but got liquidated because of insomnia making me forgetful about stop losses.
Also looking at home prices makes me wish every boomer would just die already,.
Anonymous
9/10/2025, 4:23:27 AM
No.106541823
[Report]
>>106540082
> autoconf
Autoconf is utter shit.
Any worthwhile, well-written software can just use a makefile.
> obsolete
There’s a modernize option on autoconf.
Of course you should report it as a bug and cc: the autoconf team to “stop fucking with it unnecessarily”
Anonymous
9/10/2025, 4:26:08 AM
No.106541839
[Report]
>>106541072
> boomers
It’s not our fault for the most part.
At least you’re using a language from the 60s and 70s. Good times.
Anonymous
9/10/2025, 5:14:25 AM
No.106542144
[Report]
>>106542414
>>106539740
>people will talk so much about "security"
>nigga Lisp ain't C. you aren't going to have buffer overflows and shit.
>people that talk about "security" in this manner often have no idea, at all, what it even means.
based homie
Anonymous
9/10/2025, 5:46:17 AM
No.106542414
[Report]
Anonymous
9/10/2025, 6:52:20 AM
No.106542882
[Report]
Anonymous
9/10/2025, 7:15:32 AM
No.106543003
[Report]
>>106543133
Are lispers interested in permacomputing?
Given how easy it is to write a very basic R4RS interpreter or compiler it seems like the perfect language for a stack that an individual can fully understand from language implementation down to its assembler and machine code.
And that could be fully described/taught in like 2-3 books max.
Run on a vm that can, due to its aforementioned nature, easily be ported to any chips in existence which comes in as a major advantage once we start scavenging for random computer parts in the remains of our first apocalypse.
Anonymous
9/10/2025, 7:40:24 AM
No.106543133
[Report]
>>106543003
In a better world the Nazis would have been defeated, but after finishing their work. And Israel doesn't exist after fully collapsing.
Anonymous
9/10/2025, 8:09:56 AM
No.106543352
[Report]
>>106543064
I would be very interested in this.
if the vm can be completely written in any assembly language, and a scheme compiler can be made to target that vm, that'd be all that's ever needed.
I'm down.
Anonymous
9/10/2025, 8:17:56 AM
No.106543408
[Report]
>>106543064
You are onto something very interesting that I barely understand. Can't wait to grok that stuff once I'm midway through my voyage
Anonymous
9/10/2025, 9:54:14 AM
No.106544049
[Report]
>>106546673
>>106543064
https://permacomputing.net/ - I'm curious to see what kind of work has been done so far.
> get into lem because it looks highly promising and done right
> start contributing
> "lem will now switch to webview+JS and drop SDL2"
> Javascript is now a hard dependency for lem outside the the terminal
> immediately the usual "muh modern UX" webshitters start flooding in demanding more javascript based cruft
> mfw
Anonymous
9/10/2025, 10:22:02 AM
No.106544184
[Report]
>>106544585
Anonymous
9/10/2025, 10:48:44 AM
No.106544378
[Report]
>>106543064
>Given how easy it is to write a very basic R4RS interpreter or compiler it seems like the perfect language for a stack that an individual can fully understand from language implementation down to its assembler and machine code.
>And that could be fully described/taught in like 2-3 books max.
Or 1 book, considering the basics of this is more or less what's covered in SICP, in particular chapter 5 begins on using Lisp to describe register machines.
I don't mean this negatively - I am interested, but is this not precisely what was done with Lisp in the 70s already, up to some minor differences? The concepts of assemblers in Lisp were being taught in the past.
Anonymous
9/10/2025, 11:21:21 AM
No.106544585
[Report]
>>106544171
>>106544184
I'd be more open to this if they then focused primarily on Lem as a CLI editor, and the webview interface as an optional addition or even a totally separate package.
I don't like the idea of Lem just _being_ some Javascript project.
It kind of seems contradictory for the target audience anyway. Most people interested in Lem are wanting to go from Elisp to Common Lisp because they want a faster lower-level version of Emacs.
Creating a UI that is then more bloated and higher level seems like a contradiction.
Is it somehow possible to use emacs with two keyboards at the same time, and each keyboard controlling a different cursor?
I'm asking because I've been asked to teach someone basic computer science and programming.
I would like to teach her in a style similar to The Little Schemer, continually asking her questions and having her write small pieces of code at a time. This would also involve me writing a lot of code snippets, so each of us having their own keyboard would be more convenient.
Anonymous
9/10/2025, 11:44:16 AM
No.106544731
[Report]
>>106545098
>>106544684
crdt.el can provide shared editing, but it works over a network.
https://code.librehq.com/qhong/crdt.el
https://corpix.dev/2022/02/collaborative-editing-with-emacs.html
I don't think it can give two physical keyboards on the same machine their own cursor -- at least not without some hacking.
Anonymous
9/10/2025, 12:35:51 PM
No.106545098
[Report]
>>106544731
thanks, I'll try it later today
>but it works over a network
I'll try to work around that by connecting my second keyboard to my phone and ssh'ing into my desktop via termux
>>106544171
Time to fork it.
Call it /g/em.
Anonymous
9/10/2025, 2:35:48 PM
No.106545972
[Report]
>>106546482
>>106544171
>>106545918
I just hope they keep the core fully seperated so that the possibility of writing another GUI remains without Javascript shaped roadblocks that will. We all know that if you don't, webshit will spread like cancer.
I can of course sympathize with the main devs reasons for doing it, or rather his reasons for wanting to switch from SDL. But personally I'd much prefer lack of certain functionality, like the mentioned fancy decorations and effects, in exchange for the simplicity and performance of using something much more minimal.
Anonymous
9/10/2025, 3:41:18 PM
No.106546482
[Report]
>>106554418
>>106545972
I always wondered why they decided to use sdl2 instead of clx, or better, mcclim.
I actually considered contributing a mcclim interface, or whatever.
But if they're going to add webshit, it's better to do as
>>106545918 said.
Anonymous
9/10/2025, 4:01:01 PM
No.106546673
[Report]
>>106546744
>>106543064
>>106544049
>permacomputing is an anti-capitalist political project. It is driven by several strands of anarchism, decoloniality, intersectional feminism, post-(((marxism))), degrowth, ecologism.
Sounds kinda gay to me.
Anonymous
9/10/2025, 4:08:18 PM
No.106546744
[Report]
>>106546673
It's an interesting idea, just like solarpunk and other related stuff.
But like so many interesting hacker topics, it got hijacked and coopted by trans people and other lgbt/feminist nutjobs.
And the trans people injecting themselves into online communities are typically also massive tankies in addition to all the other bullshit they preach.
There is nothing more effective when it comes to destroying and sabotaging left leaning movements than lgbt.
Anonymous
9/10/2025, 5:39:25 PM
No.106547747
[Report]
>>106554032
(if (functionp predicate)
(if (listp args)
(apply predicate args)
(funcall predicate args))
predicate)
Anonymous
9/10/2025, 6:11:20 PM
No.106548167
[Report]
>>106549246
>>106543064
1. write a Lisp that has a memory model simple enough to compile to C, Javascript,, Java, C#, Go, and Python. fashion a core that includes arithmetic, macros, Boolean expressions, and the ability to allocate an array.
2. use the resulting Lisp to extend itself with new data structures (hash tables, b-tree sets, directed graphs, queues, etc.).
3. use the resulting Lisp to build a VM that runs itself without necessitating compilation to a static language.
Anonymous
9/10/2025, 7:25:19 PM
No.106549078
[Report]
Anonymous
9/10/2025, 7:38:35 PM
No.106549246
[Report]
>>106549487
>>106548167
That's just Scheme 48, which sadly seems to be languishing. The Scheme VM and GC are written in a Scheme subset with manual memory allocation that's transpiled to C.
Anonymous
9/10/2025, 8:09:45 PM
No.106549648
[Report]
>>106549487
Oh I remember the announcement.
Was wondering how they are doing, anyone following it?
Sadly the website doesn't have any more news.
Anonymous
9/10/2025, 8:13:44 PM
No.106549706
[Report]
>>106549870
>>106549487
No updates in almost one year.
Anonymous
9/10/2025, 8:25:56 PM
No.106549870
[Report]
>>106549979
>>106549487
>>106549706
tbf no blog posts doesn't mean no work.
> last commit on the project: 9 months ago
> last commit of the dev on his private repositories: 9 months ago
> last sign of life / social media post from the dev: 9 months ago
Lispbros, is he ok?
Anonymous
9/10/2025, 8:36:30 PM
No.106549979
[Report]
>>106549870
I mean, if you are being sponsored the least you can do is report.
I think the dude is dead.
Anonymous
9/10/2025, 9:02:41 PM
No.106550219
[Report]
>>106544684
https://github.com/emacs-mirror/emacs/blob/master/src/keyboard.h
>Each KBOARD represents one logical input stream from which Emacs gets input. If we are using ordinary terminals, it has one KBOARD object for each terminal device.
>Usually each X display screen has its own KBOARD, but when two of them are on the same X server, we assume they share a keyboard and give them one KBOARD in common.
>Emacs has two states for reading input:
>** Any kboard. Emacs can accept input from any KBOARD, and as soon as any of them provides a complete command, Emacs can run it.
>** Single kboard. Then Emacs is running a command for one KBOARD and can only read input from that KBOARD.
>All input, from all KBOARDs, goes together in a single event queue at interrupt level. read_char sees the events sequentially, but deals with them in accord with the current input state.
>In the any-kboard state, read_key_sequence processes input from any KBOARD immediately. [...] It switches to the single-kboard state for the execution of that command, so that the command can get input only from its own KBOARD.
>While in the single-kboard state, read_char can consider input only from the current KBOARD. If events come from other KBOARDs, they are put aside for later in the KBOARDs' kbd_queue lists.
It sounds like it may be natively possible (e.g. without multiseat) by running two emac processes in terminals reading from /dev/input/by-id/usb-*1-kbd and /dev/input/by-id/usb-*2-kbd respectively, as the x backend otherwise muxs keyboards together. Then share either an indirect-buffer or a regular file hooked with revert-buffer
I want to make a job-related emacs mode with navigation, listing and commands similar to dired or ibuffer.
Is there a decent manual somewhere or do I just pick those apart to learn how they do it?
Anonymous
9/10/2025, 10:53:48 PM
No.106551045
[Report]
>>106551141
Hey, CL people. I was thinking of giving vend a try. However, I was surprised to find out this is how `vend get` knows where to get a package.
https://github.com/fosskers/vend/blob/master/src/registry.lisp#L141-L720
He maintains a big plist of known libraries, but it's not exhaustive. The attached webm shows all the dependencies I had to remove in my test project before `vend get` managed to run to conclusion without an error.
A note on spinneret: It existed in vend's *sources* plist, but spinneret/ps had a test dependency on serapeum/unlocked which did not exist. That's why I had to remove it.
I suppose I could go into vendored/ myself and `git clone` the missing parts, but it might not be trivial for some of these systems that have a lot of dependencies.
Anonymous
9/10/2025, 11:06:59 PM
No.106551141
[Report]
>>106554546
>>106551045
My main motivation for giving vend a try was that I wanted to use a fork of hunchensocket that has a valuable bug fix that makes hunchensocket work on a lot of Chromium-derived browsers.
https://github.com/dtenny/hunchensocket/tree/chunga-keyword-fix
https://github.com/joaotavora/hunchensocket/pull/46
What's the best practice for declaring a dependency on a fork of a library?
Anonymous
9/10/2025, 11:12:33 PM
No.106551183
[Report]
>>106551222
>>106550988
I’d start by cloning “which-key” and replace the list it returns with lists you make when you start typing certain job-related words (similar to apropos, but a hand-crafted list).
Anonymous
9/10/2025, 11:17:44 PM
No.106551222
[Report]
>>106551183
which-key's UI is nothing like dired or ibuffer, though.
Anonymous
9/11/2025, 1:24:00 AM
No.106551870
[Report]
>>106544684
I'm guessing that using Emacs server, emacsclient and ssh would work. Both of you would need to connect to the computer using the same user.
Anonymous
9/11/2025, 4:46:09 AM
No.106552976
[Report]
Anonymous
9/11/2025, 5:04:43 AM
No.106553078
[Report]
>>106556857
Anyone know what I need to do to use Vulkan (vk wrapping) with glfw (Shinmera's wrapping) instead of an OpenGL context? Like if I try:
(defun app ()
(org.shirakumo.fraf.glfw:init)
(let ((window (make-instance 'org.shirakumo.fraf.glfw:window :width 1000 :height 1000 :title "App"
:client-api :no-api :resizable nil)))
(loop until (org.shirakumo.fraf.glfw:should-close-p window) do
(org.shirakumo.fraf.glfw:poll-events))
(org.shirakumo.fraf.glfw:destroy window)
(org.shirakumo.fraf.glfw:shutdown)))
Then I get the error:
GLFW call to MAKE-CONTEXT-CURRENT failed with NO-WINDOW-CONTEXT:
Cannot make current with a window that has no OpenGL or OpenGL ES context
[Condition of type ORG.SHIRAKUMO.FRAF.GLFW:GLFW-ERROR]
Anonymous
9/11/2025, 8:44:44 AM
No.106554032
[Report]
>>106547747
>it shits itself when predicate expects a list as an argument
LOL
That's what I get when I try to check for type errors using a functional approach. Very well, c-space c-w it is. I'll do it later.
Anonymous
9/11/2025, 10:24:31 AM
No.106554418
[Report]
>>106560220
>>106546482
Because McCLIM fucking sucks and lispers are in denial about it
Anonymous
9/11/2025, 11:02:00 AM
No.106554546
[Report]
>>106561877
>>106551141
You really shouldn't be using that at all. Chunga does this because otherwise a harmful actor could spam your server with randomly generated headers and eventually your process runs out of memory and crashes.
Is there a repo/site that curates and gathers lisp mascots and lisp propaganda images and fanart?
Also are there any cute Scheme mascots?
Anonymous
9/11/2025, 5:45:23 PM
No.106556857
[Report]
>>106559783
>>106553078
I couldn't find an example using vk, initializing Vulkan with glfw will resemble this tho:
https://github.com/lonelydevil/vulkan-tutorial-C-implementation/blob/main/main.c
and apparently vk offers some abstractions compared to native C:
>E.g. where you would have to write the following in C++ (without VulkanHpp) to get all GPUs on a computer:
std::vector<VkPhysicalDevice> devices;
uint32_t count = 0;
// first get the number of available devices
VkResult res = vkEnumeratePhysicalDevices(instance, &count, nullptr);
// then get the devices
devices.resize(count);
res = vkEnumeratePhysicalDevices(instance, &count, devices.data());
You can just write the following with vk:
(let ((devices (vk:enumerate-physical-devices instance)))
;; do something with your devices
)
Anonymous
9/11/2025, 9:30:50 PM
No.106558422
[Report]
Does someone have a repo with elegant, optimized or well organized solutions to advent of code in Scheme?
I like solving the years myself and afterwards looking at the solutions of better/smarter people than me.
Anonymous
9/12/2025, 12:16:52 AM
No.106559783
[Report]
>>106556857
>>E.g. where you would have to write the following in C++ (without VulkanHpp) to get all GPUs on a computer:
VulkanHpp is unbelievably shit. It takes 10 times the effort to equivalent vulkan.h code. How did they even fuck up this bad?
>>106554418
>Because McCLIM fucking sucks
Care to elaborate?
Anonymous
9/12/2025, 1:25:33 AM
No.106560301
[Report]
>>106560833
>>106560220
Not that anon, but I've tried running the McCLIM demos in the past, and a significant number of them didn't even run or crashed. I don't know if the situation has improved since maybe a year ago when I tried this, but it didn't leave a good first impression.
Anonymous
9/12/2025, 1:29:15 AM
No.106560323
[Report]
>>106563106
Anonymous
9/12/2025, 1:54:11 AM
No.106560484
[Report]
>>106561094
Anonymous
9/12/2025, 2:47:22 AM
No.106560833
[Report]
>>106560301
I tried the McCLIM demos not too long ago and all the ones I tried ran smoothly.
>>106560220
McCLIM is actually breddy gud software and well in the spirit of lisp systems.
Anonymous
9/12/2025, 3:35:07 AM
No.106561094
[Report]
>>106560484
@stylewarning has an interesting origin story. He never went to college, and his first programming job was a lisp job circa 2010.
Anonymous
9/12/2025, 4:11:07 AM
No.106561281
[Report]
>>106519611
vertico + consult + orderless + marginalia is the way to go
consult-buffer and consult-imenu are way better than their default counterparts
Anonymous
9/12/2025, 6:10:12 AM
No.106561877
[Report]
>>106563254
>>106554546
Look at the patch more carefully. It doesn't try to bypass Chunga. It's just making sure the data coming back from Chunga is a symbol instead of a mix of strings and symbols which broke hunchensocket on a lot of browsers.
Anonymous
9/12/2025, 10:39:05 AM
No.106563106
[Report]
>>106563294
Anonymous
9/12/2025, 11:14:20 AM
No.106563254
[Report]
>>106564250
>>106561877
Yes, and that will intern those strings as symbols in the keyword package. Interned symbols are never garbage collected.
Anonymous
9/12/2025, 11:26:32 AM
No.106563294
[Report]
>>106563106
Mold uses clog dough
I've been reading about arena memory management, and just realized that that's literally what "functional programming" is. Continuations and closures are just dynamically allocated callstacks. The reason you can trivially implement threads with them is that they basically ARE threads, they're the exact same memory structure.
Also all multithreaded code is literally just a stack of stacks.
I'm also like 80% sure processes work the same way, making a computer just a recursive stack made of stacks of stacks of stacks.
Aside from that it's just a really neat memory allocation strategy, doesn't require any real thought and eliminates like 99% of all bugs and complexity. It's basically free sandboxing and garbage collection rolled into one and implemented with like 10 lines.
Anonymous
9/12/2025, 12:28:17 PM
No.106563652
[Report]
>>106509131
>Progrock a progress bar for long running builds
It's very professional of him to list his dependencies and why, but some of these are node js modular. This one is only 107 lines of code.
Anonymous
9/12/2025, 2:06:49 PM
No.106564250
[Report]
>>106563254
I see now. It's such a small risk in practice, but it could happen.
Anonymous
9/12/2025, 2:11:44 PM
No.106564282
[Report]
>>106555589
I think you're going to have to make one yourself.
>>106544171
It's just the fucking renderer, I swear the anti webshit autists are insufferable, the point of having a backend and frontend to the editor means that you could implement a gui with different stacks and keep functionality.
imo the main drawback of Lem is that the author seems to be in a love/hate relationship with javascript, the guy claims to hate javascript but will dedicate unglodly amount of hours to be able to use it through his own CL to Js compiler (valtan), on the plus side this might lead to eliminate the need to write Js on the webview frontend, but we're still far from that. And the other day he was fucking around vibecoding React shit, AND he's japanese so of course he fucking sucks at documenting his code. I swear if Vindarel wasn't around I would've dropped Lem a long time ago, for now I'm steadily learning CL so that I can make whatever the fuck I want with it, maybe make a CLOG frontend and make the ultimate Coalton dev environment.
Anonymous
9/12/2025, 3:13:26 PM
No.106564794
[Report]
>>106555589
Scheme mascot would be the pseudo-nazi uniform anime girl.
>inb4 "pseudo?"
Learning common lisp and I'm getting the impression that there's a lot of shit that can be done with the loop macro, I'm trying to get a sense of when it's appropiate to use it, so far tried converting a vector to a plist and then deduplicating on two keys, then fetching a single key and returning a sorted version of it.
Only issue so far is that the syntax is different, but as long as the errors are readable I'm okay with learning it.
Btw, anyone knows of good resources to learn the repl? I've heard people saying you can do profiling and stepping etc, but I'm a lowly 'using format to print shit and debug' kinda guy.
Anonymous
9/12/2025, 3:32:44 PM
No.106564971
[Report]
>>106564900
>loop macro
It would be accurate to call it a domain-specific language in its own right
>when it's appropriate to use it
this is a bit of a debate with some saying just don't use it and others say use it for everything
it's a bit of a matter of taste
Anonymous
9/12/2025, 4:26:28 PM
No.106565372
[Report]
>>106550988
If you're going to end up making a buffer with a table, I recommend vtable over tabulated-list-mode
Anonymous
9/12/2025, 5:32:06 PM
No.106565819
[Report]
>>106565973
>>106564629
>I swear the anti webshit autists are insufferable,
webshit is a fucking cancer and it's been consistently degrading the quality of software and of computer systems.
>>106565819
I became anti webshitter after I once tried giving a small seminar on performance engineering and despite demonstrating a 200x gain in speed I kept having a couple of webdev guys giving me a hard time saying how this was useless and it should be scrapped for being unmaintainable as this was the job of the compiler, despite the fact it was explicitly said that we were focusing on performance and this was something a compiler cannot do. I really just couldn't wrap my head around it.
Anonymous
9/12/2025, 5:59:56 PM
No.106566005
[Report]
>>106566130
>>106565973
Yeah some pro-webshit maximalists dont give a shit about performance and just advocate for simply scaling hardware requirements, just throw more ram and host on the cloud and be done with it. I would ask why they attended a performance engineering seminar if they don't give a shit about optimization.
Anonymous
9/12/2025, 6:18:37 PM
No.106566130
[Report]
>>106566005
Multiple talks were being given in the same venue over a few hours, so the performance segments weren't the whole thing. Fortunately I think they gained some self awareness after one of them asked a question like this and they got heads turning to look their way and probably got a bit clued in on the fact it was a stupid thing to say.
It did still really fuck me off though. I am really not a fan of what I think is a significantly growing anti-intellectualism in CS in general.
>in EXWM buffers, keys with the Alt modifier get treated as using the Meta modifier
for example in a regular buffer A-p gets treated as A-p, but in an X buffer it becomes M-p. i don't understand why this happens. it's probably some X11 fuckery
Anonymous
9/12/2025, 7:00:01 PM
No.106566473
[Report]
>>106564629
>AND he's japanese so of course he fucking sucks at documenting his code
i wonder why fukamachi doesn't document anything?
Anonymous
9/12/2025, 7:01:01 PM
No.106566481
[Report]
>>106564900
>I'm trying to get a sense of when it's appropiate to use it,
Whenever you feel like it... and wheneve the result is understandable.
Anonymous
9/12/2025, 7:02:22 PM
No.106566495
[Report]
>>106567503
>>106564900
>but I'm a lowly 'using format to print shit and debug' kinda guy.
Interactive programming is to "print shit and debug" as "spaceship" is to "toy bicycle".
Anonymous
9/12/2025, 7:02:30 PM
No.106566497
[Report]
>>106566547
>>106566366
Why would someone use EXWM?
Anonymous
9/12/2025, 7:05:58 PM
No.106566526
[Report]
>>106566564
>>106564900
how do you show those vertical bars? would be useful in python.
Anonymous
9/12/2025, 7:08:12 PM
No.106566547
[Report]
Anonymous
9/12/2025, 7:10:32 PM
No.106566564
[Report]
Anonymous
9/12/2025, 7:11:06 PM
No.106566569
[Report]
>>106567380
>>106563493
now, what happens when you make those stacks serializable?
also, FP is very reliant on persistent data structures, so you're not entirely correct
Anonymous
9/12/2025, 8:18:44 PM
No.106567186
[Report]
>>106567380
>>106563493
where are you reading about this? I am interested.
Anonymous
9/12/2025, 8:40:12 PM
No.106567380
[Report]
>>106567805
>>106566569
I just mean the whole deal with fp is implicitly using the callstack as a stack to do recursion and first class functions/closures/continuations are really just first class callstacks. Obviously there's loads of other stuff using gcd heap memory, but I mean it's automatic and easy to use callstacks.
Also it seems like OOP is the inverse concept of allocating everything on the heap to the point o barely even having a callstack at all, or otherwise having so many of them so atomized and abstracted they basically cease to exist.
Thinking of it like that it immediately becomes obvious why certain programs are easier or clearer in certain styles, it's literally all in how they implicitly allocate memory.
Imperative doesn't, you have to do it yourself, oop is mainly heap, fp is mainly stack. So complicated stack allocations are simple in fp, complicated heap allocations are simple in oop, and mixtures of simple allocations are best in imperative.
>>106567186
https://www.rfleury.com/p/untangling-lifetimes-the-arena-allocator
Anonymous
9/12/2025, 8:55:12 PM
No.106567503
[Report]
>>106579537
Anonymous
9/12/2025, 9:32:27 PM
No.106567805
[Report]
>>106579846
>>106563493
>>106567380
You might like Kent Dybvig's dissertation on precisely this
https://www.cs.unc.edu/xcms/wpfiles/dissertations/dybvig.pdf
>This dissertation presents three implementation models for the Scheme Program-
>ming Language. The first is a heap-based model used in some form in most Scheme
>implementations to date; the second is a new stack-based model that is consider-
>ably more efficient than the heap-based model at executing most programs; and
>the third is a new string-based model intended for use in a multiple-processor im-
>plementation of Scheme. The heap-based model allocates several important data
>structures in a heap, including actual parameter lists, binding environments, and
>call frames. The stack-based model allocates these same structures on a stack
>whenever possible. This results in less heap allocation, fewer memory references,
>shorter instruction sequences, less garbage collection, and more efficient use of
>memory. The string-based model allocates versions of these structures right in
>the program text, which is represented as a string of symbols. In the string-based
>model, Scheme programs are translated into an FFP language designed specifically
>to support Scheme. Programs in this language are directly executed by the FFP
>machine, a multiple-processor string-reduction computer. The stack-based model
>is of immediate practical benefit; it is the model used by the author’s Chez Scheme
>system, a high-performance implementation of Scheme.
Anonymous
9/12/2025, 11:42:28 PM
No.106568994
[Report]
>>106569505
>>106564900
>Btw, anyone knows of good resources to learn the repl? I've heard people saying you can do profiling and stepping etc, but I'm a lowly 'using format to print shit and debug' kinda guy.
Are you using sly or slime to interact with your CL REPL? If so, every result is clickable and brings up the inspector which lets you inspect data. This should reduce the amount of manual printing you have to do.
Sly configuration I recommend:
(use-package sly
:ensure t
:config
(let ((patterns '(("\\*sly-mrepl"
(display-buffer-in-side-window)
(side . bottom)
(slot . 0)
(window-height . 18))
("\\*sly-db"
(display-buffer-in-side-window)
(side . bottom)
(slot . 1))
("\\*sly-inspector"
(display-buffer-in-side-window)
(side . right)
(slot . 1)
(window-width . 80))
("\\*sly-description"
(display-buffer-in-side-window)
(side . right)
(slot . 0)
(window-width . 80)))))
(cl-loop for p in patterns
do (add-to-list 'display-buffer-alist p)))
(setopt inferior-lisp-program "/usr/bin/sbcl")
(setopt org-babel-lisp-eval-fn #'sly-eval))
Be sure to set inferior-lisp-program to a value that's appropriate for your system. Any time you want access to a CL REPL, you can `M-x sly`. To shut down a REPL, use `M-x sly-quit-lisp` or ,q .
Anonymous
9/13/2025, 12:41:28 AM
No.106569505
[Report]
>>106569685
>>106568994
Yeah I'm using SLY, thanks anon.
Anonymous
9/13/2025, 1:01:53 AM
No.106569685
[Report]
Anonymous
9/13/2025, 1:19:11 AM
No.106569781
[Report]
>>106585695
>>106566366
I don't really understand what you mean by that, but don't you have something in exwm-input-global-keys or exwm-input-simulation-keys that could do that?
Anonymous
9/13/2025, 1:35:28 AM
No.106569859
[Report]
lparallel.org may have disappeared, but the wordpress site that backed it has been discovered.
https://lparallel.wordpress.com/
Not only does it have the docs, but it has the blog posts, too.
The docs have also been rehosted at:
https://sharplispers.github.io/lparallel/
>>106563493
The point is arenas is this:
1) you link all the lifetimes together and claim them in one fell swoop without freeing every single handle or doing mark and sweep
2) you mmap a page and use it correctly over distributing shit all over the heap and doing a gazillion syscalls
Continuations require a fuckton of memory. You probably need all things immutable with no escape hatches and continuation passing style everywhere to minimize memory. But immutablity is tricky: you can share immutable things a lot, saving references to save memory, but mutations are very costly (as you clone big structures), or you can share mutable things, but cloning environments for closures may be very costly.
Anonymous
9/13/2025, 6:43:26 AM
No.106571577
[Report]
>>106572780
>>106570741
>as you clone big structures
this is not how persistent data structures work
Anonymous
9/13/2025, 10:00:40 AM
No.106572477
[Report]
>>106570741
Continuations are literally just a stack. They're effectively identical to arenas.
Keep in mind no one on earth is using undelimited continuations.
Anonymous
9/13/2025, 11:12:37 AM
No.106572780
[Report]
>>106575182
>>106571577
Haskell's Data.Array copies the array.
Anonymous
9/13/2025, 11:30:57 AM
No.106572850
[Report]
>>106574134
New guile utility dropped:
https://codeberg.org/apoorv569/slate
Can someone integrate Monero micropayments into this? Make people pay a 20 cents to store their pastes and files.
I made a dark theme for the CL cookbook. If you have the Stylus browser extension installed, you can add this:
@-moz-document domain("lispcookbook.github.io") {
html {
filter: invert(100%);
}
div[style="height: 27px;"] {
filter: invert(100%); /* double invert to keep it black */
}
img {
filter: invert(100%);
}
video {
filter: invert(100%);
}
}
The CSS is really generic, and it can work for a lot of other sites.
https://lispcookbook.github.io/cl-cookbook/web-scraping.html
https://github.com/openstyles/stylus
Anonymous
9/13/2025, 11:49:51 AM
No.106572931
[Report]
>>106565973
I had a similar discussion at work recently.
Webshitters idea of performance is always "it feels fast* so why does it matter that the other approach is ~72 times faster" (that was the case)
They fundamentally do not understand that software doesn't run in a vacuum and that CPU cycles are not a well of unlimited magic.
They are unable to grasp how fast a modern computer really is. And they somehow still believe in Moore's law based "just buy faster hardware lul" despite that not being a thing for more than 10 years now.
* their idea of "fast" and "instant" is also often shockingly bad, like 500ms up to fucking seconds
Anonymous
9/13/2025, 12:01:59 PM
No.106572985
[Report]
>>106572876
That div[style] selector was a special case for another site. That can be deleted.
Anonymous
9/13/2025, 3:45:45 PM
No.106574134
[Report]
>>106572850
>integrate Monero micropayments
https://moneropay.eu
Anonymous
9/13/2025, 5:30:03 PM
No.106574752
[Report]
>>106574866
Critique my file downloading function. It uses dexador as an HTTP client.
(defvar *proxy* nil
"HTTP Proxy to use for scraping.")
(defun dl (url &key (dir "./"))
"Download url to dir.
dir defaults to './' and if specified, must end in '/'."
(let* ((uri (uri url))
(path (uri-path uri))
(filename (format nil "~a.~a"
(pathname-name path)
(pathname-type path)))
(destination (format nil "~a/~a" dir filename))
(res (dex:get url :proxy *proxy*)))
(ensure-directories-exist dir)
(with-open-file (stream destination
:direction :output
:element-type '(unsigned-byte 8)
:if-exists :supersede
:if-does-not-exist :create)
(write-sequence res stream))
url))
Anonymous
9/13/2025, 5:49:34 PM
No.106574866
[Report]
>>106575126
>>106574752
Does that buffer the whole file before writing it out?
Anonymous
9/13/2025, 6:29:45 PM
No.106575126
[Report]
>>106574866
Yeah, don't try to download anything gigantic with this. I mostly use this for images.
Anonymous
9/13/2025, 6:35:59 PM
No.106575182
[Report]
>>106572780
that is just one data structure. use of arrays for modification in a functional language is a very bad idea. see Clojure's vector for an alternative
you can also just get temporarily mutable
Anonymous
9/13/2025, 8:37:22 PM
No.106576125
[Report]
>>106543064
>https://permacomputing.net/
Wow this is exactly the kind of stuff I've been dreaming about implementing. I'm glad others are thinking in the same direction.
Anonymous
9/13/2025, 8:38:43 PM
No.106576134
[Report]
>>106543064
Why R4RS? I'd be hard pressed to get away from R7RS-Small because I want to be able to import.
Anonymous
9/13/2025, 9:09:50 PM
No.106576375
[Report]
>>106577639
>>106572876
CSS is another thing that should have been implemented in terms of sexps.
They already deviated (and rightly so) from an XML like format with CSS.
Anonymous
9/13/2025, 11:42:27 PM
No.106577639
[Report]
>>106578832
>>106576375
css could just be functions applied to respective dom elements, actually it could just be merged into js/lisp since js is also just functions ig
Anonymous
9/13/2025, 11:52:23 PM
No.106577715
[Report]
>>106578720
All interfaces should just be software rendered. Cut through all the framework cruft and GPU interface bullshit.
We've actually reached the era where embedding an entire ps2 game into a webpage would be LESS resource intensive than html+css.
TypeScript dev here. Would learning Clojure help me become a better programmer?
Anonymous
9/14/2025, 1:36:45 AM
No.106578615
[Report]
>>106578093
It may help with functional reasoning but not type discipline given it's untyped (or strictly speaking dynamic)
Anonymous
9/14/2025, 1:51:37 AM
No.106578720
[Report]
>>106578846
>>106577715
That’s a sad statement.
I’m not sure that's a good idea or not, but what’s certainly happened is that too much shit has been added to javascript by advertising companies… and then the anti-JSers followed that up with all this crazier shit in CSS until it’s turing-complete, too.
My prediction with web assembly came true immediately when 80–90% of all web-assembly was used for crypo-mining or some equivalent malfeasance.
“Let’s let web sites execute binary blobs on our browsers! What can go wrong?”
Anonymous
9/14/2025, 2:07:54 AM
No.106578832
[Report]
>>106578869
>>106577639
I was reading the guile docs the other day and apparently it can compile javascript to the gule virtual machine. Interesting.
>>106578093
In that typescript is basically javascript with extra typing (in both senses of the word), yeah, it would help broaden your horizons.
I don’t think the world really needs typescript though. The problem was a lot of web devs didn’t know what “testing” was. Also, most of the shit in typescript could have been done with a linter.
The fact that they re-wrote the ts compiler in go and it was 10 times faster is a testament to the level of enshitification the whole ecosystem has stooped to.
Anonymous
9/14/2025, 2:10:29 AM
No.106578846
[Report]
>>106578720
webasm can be seen as an innovation upon the JVM or the .NET VM
executing binary blobs = execution compiled insstruction = more performance = less energy consumption
it is also a VM built from the get-go with the intentions of being sandboxed.
Anonymous
9/14/2025, 2:13:46 AM
No.106578869
[Report]
>>106579087
>>106578832
>I don’t think the world really needs typescript though.
Eliminating an entire category of runtime errors is a good thing IMO, and better IDE intellisense is a bonus
Anonymous
9/14/2025, 2:35:06 AM
No.106579036
[Report]
Better Syntax Highlighting for /g/
http://ggxx.sdf1.org/userscripts/hljs-on-g.user.js
One of the key features of this script is that it knows how to highlight lisp code unlike stock 4chan.
I'm not the original author, but I've updated the code to:
- use the latest highlight.js 11.11.1;
- adapt to changes in 4chan since the original script was written;
- make sure it works with and without 4chan X, 4chan XT, and StyleChan.
Instructions for customization are in the source, but I'll repeat them here.
Add a @require to enable highlighting another language.
Available languages:
https://unpkg.com/browse/@highlightjs/cdn-assets@11.11.1/languages/
Change @resource style to change the colorscheme.
Available colorschemes:
https://unpkg.com/browse/@highlightjs/cdn-assets@11.11.1/styles/
Preview colorschemes:
https://highlightjs.org/demo
Anonymous
9/14/2025, 2:43:56 AM
No.106579087
[Report]
>>106578869
I still rawdog plain JS when I write it. Granted, I don't write big JS systems, but TypeScript feels like it's bolted on like fake tits.
Anonymous
9/14/2025, 3:29:19 AM
No.106579400
[Report]
>>106592230
In CL, is there anything (built-in or otherwise) that can take arbitrary data and serialize it as an alist? I'm looking for something similar in spirit to jzon:stringify that emits alists instead of JSON.
(jzon:stringify #(null nil t 42 3.14 "Hello, world!") :stream t :pretty t)
Yields:
[
null,
false,
true,
42,
3.14,
"Hello, world!"
]
https://github.com/Zulu-Inuoe/jzon
The nice thing about jzon:stringify is that it seems to be able to stringify arbitrary CLOS objects.
Why doesn't this work for completely disabling my keyboard in emacs? I'm trying to implement my own modal editing mode for fun.
;; Define a minor mode to completely disable the keyboard.
(define-minor-mode my-disable-keyboard-mode
"Completely disable the keyboard, except for the escape sequence."
:global t
(if my-disable-keyboard-mode
(let ((map (make-sparse-keymap)))
;; Set a single keybinding to exit the mode.
(define-key map (kbd "C-c C-c")
(lambda () (interactive) (my-disable-keyboard-mode 0)))
;; Assign the map to overriding-terminal-local-map.
(setq overriding-terminal-local-map map))
(setq overriding-terminal-local-map nil)
(message "Keyboard re-enabled!")))
Anonymous
9/14/2025, 3:49:04 AM
No.106579537
[Report]
>>106567503
>proof?
Don't ask me for proof, just learn SLIME, how to inspect stack frames, how to change a value in the stack and then restart the execution of a stack frame at will; how to recompile a function and then restart a stack frame, which means the program continues without having to restart execution again, etc etc etc.
Try it and you'll be convinced once you master it. There's simply no comparison.
Anonymous
9/14/2025, 4:37:20 AM
No.106579838
[Report]
>>106579847
>>106579456
why do you want to disable the keyboard? couldn't you just use an empty keymap and define your own motions?
Anonymous
9/14/2025, 4:38:36 AM
No.106579846
[Report]
>>106567805
Dbvig…
All I see is a Cisco employee, plugging a Cisco product, not realizing he was disavowed after the R6RS fiasco trying to load up scheme with a bunch of proprietary bullshit.
Anonymous
9/14/2025, 4:38:40 AM
No.106579847
[Report]
>>106579920
>>106579838
Is that not what that code does?
Anonymous
9/14/2025, 4:45:13 AM
No.106579874
[Report]
>>106579914
>>106579456
Emacs should replace your login shell, desktop, and window manager turning your computer into a lisp machine.
I look forward to writing screen savers in emacs.
Anonymous
9/14/2025, 4:51:43 AM
No.106579902
[Report]
>>106579918
>>106579456
https://www.gnu.org/software/emacs/manual/html_node/elisp/Key-Lookup.html
Since a binding isn't found in your map emacs proceeds to lower precedence keymaps to find a binding. If you just want to suppress self-inserting keys then you should use suppress-keymap.
Anonymous
9/14/2025, 4:53:57 AM
No.106579914
[Report]
>>106579992
>>106579874
>tfw no Scheme microkernel + Emacs userspace
>>106579456
you know that there's not just one active keymap at a time, right? if emacs can't find a keybinding in one map, it goes to another one that might apply
also you are using the terminal map; this takes effect only when you're running emacs with -nw
>>106579902
>If you just want to suppress self-inserting keys then you should use suppress-keymap.
you can also just set input-method-function to 'ignore
Anonymous
9/14/2025, 4:54:25 AM
No.106579920
[Report]
Anonymous
9/14/2025, 5:04:05 AM
No.106579975
[Report]
>>106579987
>>106579918
>you can also just set input-method-function to 'ignore
this doesn't work for me, I do it but typing still just types as normal
Anonymous
9/14/2025, 5:05:41 AM
No.106579987
[Report]
>>106580005
>>106579975
maybe something in your config overwrites it
try from emacs -Q, and make sure it's actually set (F1 v input-method-function)
Anonymous
9/14/2025, 5:06:23 AM
No.106579992
[Report]
>>106579914
be the change you want to see in this world
Anonymous
9/14/2025, 5:06:37 AM
No.106579996
[Report]
>>106579918
>also you are using the terminal map; this takes effect only when you're running emacs with -nw
That is not what terminal is referring to.
https://www.gnu.org/software/emacs/manual/html_node/elisp/Multiple-Terminals.html
overriding-terminal-local-map is used by e.g. isearch, set-transient-map and transient.
Anonymous
9/14/2025, 5:08:02 AM
No.106580005
[Report]
>>106579987
yeah I don't get it, i'm too much of a brainlet for this
is there any way to make org mode actually look pretty as i'm editing an org file? like different font sizes for different header levels, that sort of thing?
Anonymous
9/14/2025, 6:34:45 AM
No.106580476
[Report]
>>106580767
>>106580365
Yeah it's completely possible, you can set different font properties and overlays on the org elements, or create you own.
Oh wait actually, do you mean for each org document, like setting properties applicable only to the current org file? Im not sure on that one, it's probably doable but I haven't done it before. You can look at packages that make special org-mode modes that override the usual format. For example in doom theres doom-docs, and gptel also does it's own thing with the chat interface. Also I've seen some anons posting here with pretty stylized org docuemnts, like different font sizes and settings for headers, comments and the like.
Anonymous
9/14/2025, 7:29:33 AM
No.106580767
[Report]
>>106580476
yeah i just meant general markdown-like styling for all org docs, whenever i'm in org mode. not specific styling for individual files.
I can't figure out what to write in LISP anymore. I'm happy with my current Emacs and don't see any "empty spaces" to fill with LISP on my computer. Honestly, I don't see much point in rewriting things that already exist and work well; I don't have that mindset.
I studied Clojure for a few months and the most useful I found was writing web servers. While it was fun to learn another dialect, I confess I stopped simply because I found it boring. I couldn't think of anything other than those standard programming course programs.
I'd like to create a project or program that takes advantage of the features of LISP languages to shine.
Anonymous
9/14/2025, 8:26:29 AM
No.106581065
[Report]
>>106580900
I write commercial applications for windows.
Microsoft is killing vbscript after 30 years.
I don't know if you've tried to write anything in straight Windows C or not, but it's a pain in the ass. It would be nice if we had a small, portable lisp or scheme to implement/replace the billions of lines of vbscript out there that glues everything together.
Virtually everything I do could be extended with an embedded lisp for customization or implementation.
Better yet, implement some specific windows shit as foreign functions, and everything else as lisp or scheme.
It hard to see how one could struggle to find uses for lisp.
Anonymous
9/14/2025, 11:06:38 AM
No.106582075
[Report]
>>106520006
Yeah, but obviously some people want bloat. The configurator had it off by default, so it wouldn't affect the user if they agree that it is not only bloat but wasteful and useless.
>>106519392
Hi, I maintained that site and gave it up as I am trying to get rid of private VPS and the annoyances of system administration. Sadly nobody was interested in taking it over (I looked around online and this appears to be the only place where it was regularly mentioned, hence this post), but the site was always just a prototype that never got finished. If it did, it would probably be best to donate the implementation to the GNU project.
Someone contacted me with an alternative implementation once that is still online:
https://emacs-config-generator.fly.dev/. If you want to host it on your own or locally, you can clone the sources from
https://codeberg.org/pkal/ecg.
Anonymous
9/14/2025, 11:37:57 AM
No.106582249
[Report]
>>106580900
>I'd like to create a project or program that takes advantage of the features of LISP languages to shine.
I wrote a web scraper last night, and for some reason, I chose CL instead of a language I was more comfortable with. I used plump+lquery to be able to do DOM traversal with CSS selectors, and cl-ppcre for regexps. While these libraries were sufficiently capable, I was unfamiliar with them, and it took a little longer than if I had just used a language I already knew well. I kept thinking, "Man, I would have been done by now had I used $X," but I kept going with my CL implementation. However, when it came time to download media assets, I decided to throw lparallel into the mix and setup a pool of worker threads that I could send download requests to, and that worked out super nice. Downloads were happening in parallel in background threads, while the REPL remained responsive.
tl;dr - I got to use lparallel which let me do something easily that I wouldn't normally be able to do as easily in other languages.
Anonymous
9/14/2025, 2:04:34 PM
No.106582925
[Report]
>>106588081
>>106580365
>like different font sizes for different header levels, that sort of thing?
Absolutely, it's just a property of the theme. The modus themes all do it OOTB IIRC.
Or do you want to customise your current theme to get the effect?
Anonymous
9/14/2025, 3:42:06 PM
No.106583538
[Report]
>>106588081
>>106580365
This is one way to do it.
https://emacs.stackexchange.com/a/75240
(defun my-org-faces ()
(set-face-attribute 'org-todo nil :height 0.8)
(set-face-attribute 'org-level-1 nil :height 1.2)
(set-face-attribute 'org-level-2 nil :height 1.1))
(add-hook 'org-mode-hook #'my-org-faces)
Anonymous
9/14/2025, 7:26:04 PM
No.106585678
[Report]
Anonymous
9/14/2025, 7:27:06 PM
No.106585695
[Report]
>>106569781
>I don't really understand what you mean by that
basically i have Meta and Alt set to different keys, lalt and ralt respectively, and it works fine in Emacs except for EXWM buffers. i think the cause of this might lie around these lines
https://github.com/emacs-exwm/xelb/blob/main/xcb-keysyms.el#L361
reading any code written in cl feels like pain to me. i don't know if it is just me or is it the fact that you have to read it often from bottom right instead of top left to know what is it doing
Anonymous
9/14/2025, 7:48:00 PM
No.106585900
[Report]
>>106585709
what
Good Lisp feels like reading normal language to me.
Anonymous
9/14/2025, 11:23:58 PM
No.106587695
[Report]
>>106585709
>reading any code written in cl feels like pain to me. i don't know if it is just me or is it the fact that you have to read it often from bottom right instead of top left to know what is it doing
No, i disagree.
Reading CL code, for me, is easier than reading code in C, C++, C#, Java, and Python.
Only some Scala/F# code i'd say is as readable. If well written of course.
>>106582925
>>106583538
this is essentially what i'm after, thank you
my main qualm is that the #+begin_src and #+end_src lines have the same foreground color as the content inside, so it's hard to read. i just want them to be the same color as a comment. i get that i can get the attributes of a face by inoking describe-face, which is what i'm doing here to get the hex code of a comment:
(defun my-org-faces ()
(set-face-attribute 'org-block-begin-line nil :foreground "#7c6f64")
(set-face-attribute 'org-block-end-line nil :foreground "#7c6f64"))
(add-hook 'org-mode-hook #'my-org-faces)
but i'd like to be able to do this not hard-coded to a specific hex value. is there any way to set an attribute of one face (in this case :foreground of org-block-begin-line) to the attribute of another face (font-lock-comment-face)?
Anonymous
9/15/2025, 12:15:16 AM
No.106588127
[Report]
>>106588081
>is there any way to set an attribute of one face (in this case :foreground of org-block-begin-line) to the attribute of another face (font-lock-comment-face)
that's what the :inherit attribute is for. look at the info node "(elisp) Face Attributes"
Anonymous
9/15/2025, 12:20:57 AM
No.106588172
[Report]
>>106591928
Anonymous
9/15/2025, 1:52:36 AM
No.106588853
[Report]
>>106588872
>>106588081
You can read a face's attributes with face-all-attributes.
ELISP> (face-all-attributes 'shadow (selected-frame))
((:family . unspecified) (:foundry . unspecified)
(:width . unspecified) (:height . unspecified)
(:weight . unspecified) (:slant . unspecified)
(:underline . unspecified) (:overline . unspecified)
(:extend . unspecified) (:strike-through . unspecified)
(:box . unspecified) (:inverse-video . unspecified)
(:foreground . "#857f8f") (:background . unspecified)
(:stipple . unspecified) (:inherit . unspecified))
Anonymous
9/15/2025, 1:55:32 AM
No.106588872
[Report]
>>106588853
There's also this:
ELISP> (face-attribute 'shadow :foreground (selected-frame))
"#857f8f"
i've just been searching a way to hide my docstring and then i've found this
https://github.com/pierre-rouleau/pel
>warning: excessive amount of emoji
seems to be a ya emacs distribution
Anonymous
9/15/2025, 4:39:34 AM
No.106589956
[Report]
>>106590016
>>106589889
>>warning: excessive amount of emoji
emacs facilitates the input of emoji THOUGH
C-x 8 e s
Anonymous
9/15/2025, 4:54:35 AM
No.106590016
[Report]
>>106590466
>>106589956
emacs facilitates the input of everything afaik, that doesn't mean anon shouldn't know about the possible danger to his eyes before checking out the link. what if he's allergic?
Anonymous
9/15/2025, 6:09:47 AM
No.106590466
[Report]
>>106590778
>>106590016
there has been cases of emoji overdose and psychotic breaks due to emoji
is anyone here running emacs in production? i've been writing random little scripts in elisp at my day job and my boss wants to deploy them as actual services other people can run
Anonymous
9/15/2025, 7:13:57 AM
No.106590778
[Report]
>>106590466
>have been
a fix just for you.
and yes, indeed, indeed there were. it's unfortunate that aversion of the body and mind to emoji isn't recognized as a valid illness. i have a theory that this allergy isn't triggered by emoji per-se, but rather all emoji contain some kind of agent which makes whatever contains it extremely cringe. and so i suggest that it's this cringe-inducing component which harms the allergic anon.
on my end i can't do much to end this rampant outbreak, but i can still warn people before sending them links.
Anonymous
9/15/2025, 9:39:41 AM
No.106591491
[Report]
>>106590520
Sounds like your boss needs to look into this whole “computers” thing.
Anonymous
9/15/2025, 10:14:59 AM
No.106591637
[Report]
>>106510369
>I turned the WAF off, is it good now?
For the curious, this is what WAF stands for: Web Application Firewall. I had to look it up.
https://www.cloudflare.com/learning/ddos/glossary/web-application-firewall-waf/
Anonymous
9/15/2025, 11:13:23 AM
No.106591928
[Report]
Anonymous
9/15/2025, 11:14:54 AM
No.106591935
[Report]
>>106590520
>i've been writing random little scripts in elisp at my day job
Fucking based and elisp pilled
Anonymous
9/15/2025, 12:23:55 PM
No.106592230
[Report]
>>106579400
I don't think there is but it should be pretty easy to build.
I can think of what you would want to do with class instances, plists, hash tables, but how would you convert that array in your example into an alist?
Anonymous
9/15/2025, 12:54:00 PM
No.106592434
[Report]
>>106589889
upd: treesit-fold with this
(push
'(string . treesit-fold-range-seq)
(alist-get 'emacs-lisp-mode treesit-fold-range-alist))
seems to be enough, at least m-x treesit-fold-toggle works as intended. obv this is for all strings, but i don't care, i'm not folding anything else.
Anonymous
9/15/2025, 2:23:47 PM
No.106593041
[Report]
>>106590520
If it works it works and will most likely keep working for decades without change unlike a lot of other stacks.
Scalability might become an issue eventually, depending on how it's written and/or turned into a service. But it's not unheard of to run web servers in Emacs and the like.