[a / b / c / d / e / f / g / gif / h / hr / k / m / o / p / r / s / t / u / v / vg / vm / vmg / vr / vrpg / vst / w / wg] [i / ic] [r9k / s4s / vip] [cm / hm / lgbt / y] [3 / aco / adv / an / bant / biz / cgl / ck / co / diy / fa / fit / gd / hc / his / int / jp / lit / mlp / mu / n / news / out / po / pol / pw / qst / sci / soc / sp / tg / toy / trv / tv / vp / vt / wsg / wsr / x / xs] [Settings] [Search] [Mobile] [Home]
Board
Settings Mobile Home
/g/ - Technology

Name
Options
Comment
Verification
4chan Pass users can bypass this verification. [Learn More] [Login]
File
  • Please read the Rules and FAQ before posting.
  • You may highlight syntax and preserve whitespace by using [code] tags.

08/21/20New boards added: /vrpg/, /vmg/, /vst/ and /vm/
05/04/17New trial board added: /bant/ - International/Random
10/04/16New board for 4chan Pass users: /vip/ - Very Important Posts
[Hide] [Show All]


[Advertise on 4chan]


File: 1750303334189835.gif (881 KB, 480x270)
881 KB
881 KB GIF
>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://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://tryclojure.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! prev-bread (quote >>108297737))
>>
>>108410757
Actually useful software written in Lisp in the past five (5) years?
>>
>>108410774
My emacs configuration
>>
>>108410757
LISP is fun as an intellectual exercise, but what are it's practical applications?
In real world scenarios, what does lisp do that other things can't or don't?
>>
>>108410774
Emacs 30.2, Emacs 30.1, Emacs 29.4, Emacs 29.3, Emacs 29.2, Emacs 29.1, Emacs 28.2, Emacs 28.1, Emacs 27.2
>>
I'm kinda an idiot when it comes to this, but I used guix in the past and now with the systemd news I'm curious if I should switch back. Is the systemd age stuff already set in stone do you guys think? How safe is guix (and I guess gentoo) from implementing an age verification thing? This is a genuine question so feel free to ignore it but please don't turn it into shitflinging
>>
>>108410978
>How safe is guix (and I guess gentoo) from implementing an age verification thing?
It's an official GNU distro, so I see it as basically impossible. Even if it's brought up, the decision to add that would have to reach consensus which makes it even more impossible.

But I wonder if the SystemD decision will make more people interested in GNU Shepherd as an alternative.
>>
>>108410978
I've been intentionally keeping my head in the sand regarding this issue. Isn't it just 1 state law? How can they justify putting it in systemd considering all the different states and not to mention entire countries that don't have such a law?
How is it even enforced? How does it even work? Am I supposed to insert my drivers license into my floppy disk drive or something?
Wouldn't this imply that people can't use their own computers when offline anymore?
What about headless servers that access the internet? Who is "officially verifying their age" for every single server running at Google headquarters? For every one of their AI bots scraping the fucking internet is there someone verifying their age so those can stay online?

It's obviously just another gimmick for big data to track people online masquerading as some political issue.
This whole thing seems so painfully moronic it's hard to believe it's real. That's why I've been ignoring the issue expecting it to disappear, and I'm a bit befuddled that I keep hearing about it.

But this shit isn't enforced in my state, and if systemd thinks they can force it on the entire world just because of 1 fucking US state then I think they're just proving everyone right who said the systemd devs do not have our best interests in mind.
>>
File: demo.gif (597 KB, 480x477)
597 KB
597 KB GIF
New Helix plugin written in Steel (Scheme)
https://github.com/chuwy/microscope.hx
https://github.com/helix-editor/helix/pull/8675#issuecomment-4066861756
All plugins: https://helix-plugins.com
>>
>>108411857
>https://helix-plugins.com
>https://github.com/mattwparas/vim.hx
Interesting
>>
File: jwno.jpg (420 KB, 1366x768)
420 KB
420 KB JPG
>>108410774
>>108400059
WM written in Janet
https://github.com/agent-kilo/jwno
>>
>>108410978
>How safe is guix (and I guess gentoo) from implementing an age verification thing?
Lmao. As if that law is enforceable.
Anyway the most you would get is a disclaimer in the installer to not use it in fagifornia.
>>
>>108411857
>just some extension language
I sleep
>>
>>108410694
It is a library that let's you seal a parameter type list on a method (so you can't change it anymore, using sealable-metaobjects) so if the type information is available, the compiler can skip dispatch and even inline the method body. It is the CL equivalent of the statically determined struct access in languages like C.
>>
Anyone wants to read and discuss SICP with me?
I just did exercises 1.29 and 1.30, I found 1.29 quite challenging but after a bit of thinking I realized I could split the sum into three parts.
I figured we could make a study group if at least some of you are interested
>>
>>108412756
nobody actually read the sicp dude
>>
>>108410824
I'd recommend reading Robert Smiths Twitter page, he's the creator of Coalton and he usually posts about Common Lisp and what it and lisps do better than other languages.

Quick rundown:
Superb metaprogramming
Code as data
Live coding
>>
I'm experimenting with cl-marshal, and I've been able to serialize and deserialize instances of classes I've made myself.
(defclass thread ()
((id
:initarg :id
:accessor id)
(user
:initarg :user
:accessor user
:initform nil
:documentation "creator of thread")
(title
:initarg :title
:accessor title
:documentation "title of thread")
(replies
:initarg :replies
:accessor replies
:documentation "number of replies"))
(:documentation "forum thread"))

(defmethod ms:class-persistent-slots ((self thread))
'(id user title replies))


This lets me ms:marshal and ms:demarshal instances of thread. However, some of my structs have instances of quri:uri-https in them, and I have not been able to get marshall to serialize them. The following does not work for me.

(defmethod ms:class-persistent-slots ((self quri:uri-https))
(format t "hello")
'(scheme userinfo host port path query fragment))


Any ideas?
https://github.com/wlbr/cl-marshal
https://github.com/fukamachi/quri
>>
>>108413161
Here's a little REPL snippet for anyone willing to look into this.
(defparameter u (uri "https://boards.4chan.org/g/thread/108410757"))

(defmethod ms:class-persistent-slots ((self quri:uri-https))
(format t "hello") ; This never gets called.
'(scheme userinfo host port path query fragment))

;; It's not breaking down the uri into its slot values.
(ms:marshal u)
>>
>>108413150
>Robert Smiths Twitter page
https://x.com/stylewarning
>>
>>108413214
Yeah that's the one!
>>
>>108413161
Marshal doesn't support structs
quri:uri-https is a struct
>>
>>108413226
That's what I was afraid of.
General question to the anons: What do you guys use for serializing your lispy data structures?



[Advertise on 4chan]

Delete Post: [File Only] Style:
[Disable Mobile View / Use Desktop Site]

[Enable Mobile View / Use Mobile Site]

All trademarks and copyrights on this page are owned by their respective parties. Images uploaded are the responsibility of the Poster. Comments are owned by the Poster.