[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 / qa] [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


Thread archived.
You cannot reply anymore.


[Advertise on 4chan]


File: frieren.png (1016 KB, 1280x720)
1016 KB
1016 KB PNG
>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

>Learning Emacs
C-h t (Interactive Tutorial)
https://emacs.amodernist.com
https://systemcrafters.net/emacs-from-scratch
http://xahlee.info/emacs

>Emacs Distros
https://www.spacemacs.org
https://doomemacs.org

>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/p3r7/awesome-elisp

>Common Lisp
https://lispcookbook.github.io/cl-cookbook
https://cs.cmu.edu/~dst/LispBook
https://gigamonkeys.com/book
https://lem-project.github.io
https://stumpwm.github.io
https://nyxt-browser.com
https://awesome-cl.com

>Scheme
https://scheme.org
https://try.scheme.org
https://get.scheme.org
https://books.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://www.clojure-toolbox.com
https://mooc.fi/courses/2014/clojure
https://clojure.org/community/resources

>Guix
https://guix.gnu.org
https://gitlab.com/nonguix/nonguix
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://paste.textboard.org/52b08691

(set! prev-thread (quote >>102694641))
>>
File: C.gif (38 KB, 220x220)
38 KB
38 KB GIF
>>102804241
>Dennis Ritchie: I have to admire languages like Lisp.
http://www.gotw.ca/publications/c_family_interview.htm
>>
>>102831365
asking here again.
>>102831684
then how do i use a generic font family here?
>>
File: 1569016242284.gif (84 KB, 640x640)
84 KB
84 KB GIF
Scheme!
>>
File: symbolics™.jpg (743 KB, 2550x3301)
743 KB
743 KB JPG
Symbolic.
https://oldvcr.blogspot.com/2024/10/refurb-weekend-symbolics-macivory-lisp.html
>>
>>102831919
>then how do i use a generic font family here?
I don't know if you can for the variable width fonts, but for monospaced fonts, you can use the system font by setting font-use-system-font to t.
https://www.gnu.org/software/emacs/manual/html_node/emacs/Fonts.html
(setq font-use-system-font t)
>>
>>102832039
I just tried this on my own system out of curiosity, and it doesn't seem to do anything. The docs do mention that emacs needs to be compiled with gsettings support, and I don't recall if I did that or not.
>>
>>102832106
The last thread didn't have a single fucking frog post about emacs or lisp. Fuck off.
>>
>>102832039
yeah this doesn't actually do anything for variable width fonts.
i could just specify the font family i want to use, but if i ever change my preferred font in the future i don't want to have to change it in 2 places.
realistically i'd just open an org file after that and be like "woah what is this" and then change the font. it's not that it's hard to do, it's the principle.
i DID set my emacs font using the system monospace font like this:
(add-to-list 'default-frame-alist '(font . "monospace-14"))

so it's not like this is impossible, just that the faces aren't exposed to the system defaults for some reason?
>>
File: 1693311518719547.png (481 KB, 842x471)
481 KB
481 KB PNG
>>102831919
:family must apparently be a member of (font-family-list), altho I can't find a function that returns the system font
>>
>>102832284
yeah, it seems so. i tried using
:font "serif"
and some variations but i keep getting errors with that.
>>
File: ⑨.jpg (661 KB, 1936x2592)
661 KB
661 KB JPG
Plan9 + Guix
https://the-dam.org/docs/explanations/Plan9ListenOnLinux.html
>>
>>102832284
>altho I can't find a function that returns the system font
ELISP> (font-get-system-font)
"Monospace 11"
ELISP> (font-get-system-normal-font)
"Cantarell 11"
>>
>>102833291
this thinks that my default monospace font is source code pro and my default sans serif font is cantarell. both are wrong and neither one is a serif font. no idea where it's getting these values from, these are probably gtk3 defaults or something.
>>
emac lip
>>
File: 1729019472599.png (3.05 MB, 1516x2126)
3.05 MB
3.05 MB PNG
Multiple floating frames >> single fullscreen frame with split windows.

Fight me.
>>
>>102835515
multiple tiling frames.
>>
>>102825984
>Do you just keep the build dependencies around?
Yes, because I'll probably need them again.
>>
goo dmorning sirs how to make eglot and python mode aware of envs? thank you kindly the needful
>>
>>102831919
>then how do i use a generic font family here?
According to
https://www.gnu.org/software/emacs/manual/html_node/emacs/Fonts.html
emacs understands the old XLFD notation for font specification. When you do `M-x set-frame-font`, even the completions come back in this format. Maybe you can construct an XLFD string that's generic?
https://wiki.archlinux.org/title/X_Logical_Font_Description
>>
>>102837452
On second thought, XLFD might be a rabbit hole that leads nowhere.
>>
>>102833470
These aren't meaningful values for me either. I don't even have Cantarell on my system. The C functions behind these elisp functions are just accessors for variables in xsettings.c.
DEFUN ("font-get-system-normal-font", Ffont_get_system_normal_font,
Sfont_get_system_normal_font,
0, 0, 0,
doc: /* Get the system default application font.
The font is returned as either a font-spec or font name. */)
(void)
{
return current_font ? build_string (current_font) : Qnil;
}

DEFUN ("font-get-system-font", Ffont_get_system_font, Sfont_get_system_font,
0, 0, 0,
doc: /* Get the system default fixed width font.
The font is returned as either a font-spec or font name. */)
(void)
{
return current_mono_font ? build_string (current_mono_font) : Qnil;
}
>>
>>102836299
>multiple tiling frames.
this is the way
>>
Since when clojure is considered Lisp? put racket or lfe ( https://lfe.io/ ) instead
>>
>>102839018
You should be thanking Rich Hickey for keeping Lisp relevant.
>>
File: guy.jpg (304 KB, 1920x1080)
304 KB
304 KB JPG
>>102839018
Since /ourguy/ clojured it.
https://2017.clojure-conj.org/guy-steele/
>>
>>102831826
My wife Frieren
>>
File: CM-1_r_700w.gif (294 KB, 700x700)
294 KB
294 KB GIF
>>102840477
This is my first time hearing of Connection Machine Lisp. The hardware that it ran on looked amazing.
https://www.tamikothiel.com/cm/index.html
https://dl.acm.org/doi/pdf/10.1145/319838.319870
>>
File: conj.00:00:09.176.jpg (231 KB, 1920x1080)
231 KB
231 KB JPG
>>102840477
https://www.youtube.com/watch?v=dCuZkaaou0Q
>>
>>102831826
>Common Lisp
>https://lispcookbook.github.io/cl-cookbook
I'm glad this is the first link for CL. I didn't realize it was in the OP, but I found it time and time again while searching for CL answers, and it has helped me so much.

>>102839018
Not everything has to be in the OP. If you want to do advocacy for Racket, collect some links and put it in another post.
>>
>>102836299
>>102837869
this
https://github.com/davidshepherd7/frames-only-mode
>>
>>102843547
This feels very ambitious. (Maybe too ambitious.) I'm OK with using Emacs' internal window management in combination with my window manager's window management to manage Emacs frames.
>>
File: ronl1h.png (445 KB, 2560x1440)
445 KB
445 KB PNG
>>102843570
it's pretty comfy with popper-mode
>>
File: Guy-Steele-Continuations.jpg (1.33 MB, 3840x2160)
1.33 MB
1.33 MB JPG
>>102840984
You might enjoy these lectures on Thinking Machines' hardware and software:
https://www.youtube.com/watch?v=33ZrIt-iGM4
https://www.youtube.com/watch?v=Ua-swPZTeX4
>>
what's the buzz around tree sitter. It's literally nothing.
>>
>>102843795
A workaround to solve silly problems that only silly languages have.
>>
File: output.webm (684 KB, 1920x1080)
684 KB
684 KB WEBM
I've been working on the design a bit. Instead of outlined text buttons I went with underlined text buttons. It looks... better.
I'm also worried that people will not understand that the big keyword text that shows up in the middle of the screen is clickable, so I added the worst solution in the universe to hopefully get people to click it. Still not sure if it's enough, maybe I should just prefix the text with CLICK HERE.
>>
>>102844718
I changed it to show a snackbar telling people to press the button. Not sure how I can make this clearer than this.
>>
File: 1728672242109582.png (449 KB, 810x1050)
449 KB
449 KB PNG
>>102843762
dynamically allocating stack frames is scary though steele-sama
>>
I remember learningfl few years ago about a developer in Kazahstan crowdfunding the development for a modern Lisp editor. I can't remeber more details about the project, except for the fact that in one or two long blog posts about the project, they may have been using some magic or alchemy-themed names for its components. Does anybody know what I might be referring to and if that thing is still going?
>>
File: mage.png (160 KB, 400x315)
160 KB
160 KB PNG
>>102846112
dis muthafaaka?
https://project-mage.org
>>
>>102843547
interesting. i’ve been trying to migrate from exwm to sway.
this could be what i’ve needed
>>
>>102846256
That's it. Gratitude.
I'll make sure to save the bookmark this time.
>>
Eglot is spawning a new LSP for each python buffer. How the fuck do I configure this LSP crap?
WHy everything MS touches is shit jesus fucking christ
>>
>>102848207
lmao, what does lsp-mode do?
>>
>>102848207
LSP and autocompletion bullshit is more trouble than it's worth, in my experience. not specifically in emacs, but in general. i just don't use it anymore.
>>
https://planet.emacslife.com/
>>
>>102849613
shitty corporate python shitbase full of garbage oop made by monkeys. it helps.
>>102848559
I have no idea.
>>
File: DART.jpg (773 KB, 2100x3000)
773 KB
773 KB JPG
Interesting! ( ̄ω ̄)
https://buttondown.com/tensegritics-curiosities/archive/game-tutorial-in-clojuredart/
>>
>>102844718
It's a drawback of flat style UIs. Worst usability of any style of UI. They don't have any method of clearly distinguishing which elements are interactive and which are not. Many of the shittiest design trends of the past decade can be traced back to this dilemma. If you want better usability, I recommend trying on a bolder or more classic style for your UI.
>>
>>102848207
Usually making the root directory a git repo helps.
>>
>>102853197
I agree with the post. I'm ready to sacrifice a lot for usability. For example, I've gotten rid of basically all icons because icons without labels are hard to interpret, and if you already have the label then the icon is redundant.
But the design has to be attractive enough that people don't disregard the app outright. Most of the comments I get from others is that the app is ugly as fuck, and I agree.
I used to have https://api.flutter.dev/flutter/material/ElevatedButton-class.html but it's... quite horrid to look at.
A problem is that so many things in the app are interactive, so almost every text element is an elevated button.
Maybe I should go back to using it though... I'll give this a few days and see how it feels. I expect that communicating how the app works will be the biggest obstacle.
>>
File: file.png (47 KB, 1271x933)
47 KB
47 KB PNG
>>102853506
>>102853197
I added elevation again as a test... This is going to take some thought. Needs padding to start with.
>>
File: file.png (117 KB, 1824x1340)
117 KB
117 KB PNG
Okay, so another design thought. I want to add a "reminder" feature. Somewhere you indicate a date/time and when it's that date/time you will get a reminder when you open the app.
The most straightforward thing is to add a reminder to a note, but in some cases I feel like I'd want to add reminders for e.g each item in a list.
Like in this todo, I want to add a reminder for "open bank account" next week, and a reminder for "open apple dev account" for this week, and so on.
How would you like to be reminded anon?
>>
>>102852784
Clojuredart is based. Have you ever dreamed of writing an android/ios app in lisp? Well, here you go. It lacks a REPL and many of the nice things that we usually associate wih lisp, but it's still nice and you can still get work done.
>>
What % of this general gets paid to write software?
>>
File: Führer.png (1.18 MB, 1404x1610)
1.18 MB
1.18 MB PNG
>>102854273
1488%
>>
>>102848207
dont use emacs it works everywhere else
>>
File: 1712297279096967.jpg (129 KB, 1280x1101)
129 KB
129 KB JPG
>>102852784
i'm something of a clojure enjoyer as well
>>
File: bocchi.webm (399 KB, 498x280)
399 KB
399 KB WEBM
>>102856292
F
>>
>>102853276
that did it. Now I need to figure out how to make this muthafacka use the correct venv.
>>
File: SICP.webm (770 KB, 1920x1080)
770 KB
770 KB WEBM
>>
>the entire CL webshit enviroment is carried on the backs of a simple autistic trans person
god bless them
>>
I miss the times when trans people weren't even a thing in computing..
>>
>>102856960
with-venv or pyvenv
>>
>>102857909
Are they though? I don't generally look into the lives of developers, I just use their software. But in the last decade or so it seems like everyone is accused of being a tranny.
I don't take it seriously because these same people also accuse every 3rd post on 4chan of being made by a tranny too.

Are you sure it isn't just all in your head? For example when everyone started calling Rust programmers trannies I just asked for some examples of that being the case and nobody could give me any.
>>
>>102857764
Le mental illness 41% is off-topic. GTFO.
>>
>>102859102
I also have the glove80 but I have my wrist rests still attached. Has he motivated why he took them off?
>>
>>102859321
http://xahlee.info/kbd/glove80_keyboard.html
>>
>>102859437
I can't see any motivation
>>
File: programmingLanguage.png (249 KB, 1176x2302)
249 KB
249 KB PNG
>>102858989
>Are they though?
yes, they're everywhere now.
There was actually a recent Gallup poll showing that some 20% of Gen Z identifies as LGBT.
And it's all pushed by major corporations. Microsoft actually forces Windows users to display tranny flags during pride month. And these same corporations also push for CoC's in open source projects so that anyone who objects to child castration can be kicked off the team.
>I don't generally look into the lives of developers, I just use their software.
I look at their github profiles sometimes, and often they're laced with tranny messaging.
>I don't take it seriously because these same people also accuse every 3rd post on 4chan of being made by a tranny too.
interesting that you claim they're "the same people" when the board is anonymous.
>when everyone started calling Rust programmers trannies I just asked for some examples of that being the case and nobody could give me any
Here's an example:
https://github.com/Gankra/cargo-mommy

And of course this tranny culture from Rust then seeps into the culture of other programming language communities:
https://github.com/FWDekker/mommy

Doesn't mean of course that they only write creepy shit like Mommy. There are numerous perfectly good projects developed by trannies.
>>
>>102853506
>For example, I've gotten rid of basically all icons because icons without labels are hard to interpret, and if you already have the label then the icon is redundant.
GUI's should intelligently teach their user how to use the software, and become more efficient as the user becomes more acquainted with the interface.

Start by showing both the label and the icon. After the user has used the button enough times, remove the label in order to free up screen real estate.
>>
>>102853506
>A problem is that so many things in the app are interactive, so almost every text element is an elevated button.
maybe just make the text underlined and/or draw an emoji/icon next to it?
>>
>>102858989
>Are you sure it isn't just all in your head?
No, I just got someone's pronouns wrong (by accident) the other day while trying to resolve some server issues. I'm pretty sure I was chatting with a biological male, but the pronouns disagreed.
>>
>>102860336
rent free
>>
File: someones_whore.gif (51 KB, 384x478)
51 KB
51 KB GIF
>>
File: lynn-conway.jpg (278 KB, 1000x1280)
278 KB
278 KB JPG
>I miss the times when trans people weren't even a thing in computing
>>
>>102861224
this is a man
>>
>>102861265
ywnbaw :-)
>>
>>102852784
that is indeed interesting, but the difficulties they ran into also show that ClojureDart isn't really production-ready for games desu

When I tried cljd, I also had a hard time understanding when I'm supposed to use type hints. I still don't understand it.

>>102861224
>they're both just in your head AND have been everywhere for decades, chud
See? Frieren was right, there's no point arguing with these creatures, they don't use words as a communcation tool for truthful information, they seek only to deceive and gaslight you.
>>
>>102859924
If it's just for starters then I could draw a big arrow saying "click this" for the first one or two notes and then switch over to "advanced mode".
That would be funny... I've never seen that.

>>102859967
Yes, that might be a good compromise.
>>
File: grimoires.jpg (1.15 MB, 1743x3234)
1.15 MB
1.15 MB JPG
I remind myself of Frieren sometimes. I love how Frieren gets so excited about collecting grimoires, I'm just like that, my bookshelf is full of them. I'm also a cute older lady too, like her.
>>
>>102862527
>not a single lisp book
shamefur dispray
gtfo larper
>>
>(declare (optimize (speed 3) (safety 0) (debug 0)))
>>
>>102863082
what exactly does safety do anyways?
>>
>>102863229
Guarantee safety? With
(safety 0)
the compiler is free to completely fail in any way imaginable when given incorrect code, it is not required to signal an error and fail safely.
Setting safety to 0 for speed is like using C because it wins in microbenchmarks.



[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.