SpaceCadet, to emacs
@SpaceCadet@emacs.ch avatar

Does someone have a #emacs #lisp function, to link an #orgmode Heading at point with its own id, creating one if it does not already exist?

So

** Heading

becomes

** [[id:12345678][Heading]]

amoroso, to Lisp
@amoroso@fosstodon.org avatar

A sneak peek at a Common Lisp program I'm writing on Medley. Figuring what the program does is left as an exercise.

nil, to Lisp
@nil@functional.cafe avatar

Very excited about this book! Conway’s Game of Life is what got me out of blubberism almost three decades ago as I implemented it in php and started looking into more succinct implementations which brought me to , and so .

screwtape, to Lisp
@screwtape@mastodon.sdf.org avatar

I added a get/put example of persistent knowledgebase changes in

https://codeberg.org/tfw/pawn-75

(see the README.org)

Basically

-- pineapple

[: type fruit]
[: has-color brown]
[: plant-type bush]
[: produced-in {thailand nicaragua}]
[: latest-rearchived nil]

ooooooooooooooooooooooooooooooooooooooooooooooooooooooooo

rzeta0, to emacs
@rzeta0@mastodon.social avatar

lots of discussion about and on mastodon

is this representative of real world trends or just a bubble on mastodon?

louis, to random
@louis@emacs.ch avatar

See you next year in Zurich, you crazy #Lisp nerds 🙂

#els2024

amoroso, to retrocomputing
@amoroso@fosstodon.org avatar

It's now available the paper of the Medley talk Andrew Sengul gave at the European Lisp Symposium 2024. It outlines the history of Interlisp, introduces the Medley revival project, and presents the main features and facilities of the environment.

The Medley Interlisp Revival
https://doi.org/10.5281/zenodo.11090093

lispm,
@lispm@moth.social avatar

@amoroso
Thanks for the pointer! That's a very well written paper giving an excellent overview of the Interlisp revival project.

deadblackclover, to Lisp
@deadblackclover@functional.cafe avatar

Petalisp is an attempt to generate high performance code for parallel computers by JIT-compiling array definitions. It is not a full blown programming language, but rather a carefully crafted extension of Common Lisp that allows for extreme optimization and parallelization.

https://github.com/marcoheisig/Petalisp

jackdaniel, to Lisp
@jackdaniel@functional.cafe avatar

Using handler-bind to have a sneak peek at inner workings of a non-graphical function (i.e sort):

https://turtleware.eu/static/paste/handler-sort.lisp

I'm sometimes using this technique to debug programs - it could be considered to be an evolution of printf-debugging :-)

#lisp #mcclim

ad-hoc visualization of insert-sort
visualization of sort

screwtape, to climate
@screwtape@mastodon.sdf.org avatar

coming up! https://anonradio.net:8443/anonradio
by @kentpitman https://climatejustice.social/@kentpitman/112401577767211950
Ageism, @mattof's novel phost
:
kmp's desktop environment idea from the 90s, and light shed on what FOO105 would have been 40 years ago with ams.
@louis , hayley, amber's responses about
A large thread about with @theruran on the mastodon.
https://codeberg.org/tfw/pawn-75
@limebar's !
@prahou
sushi

zyd, to Lisp
@zyd@emacs.ch avatar

I have to ask: why are all the Lispers European

#lisp #commonlisp

glitzersachen, to Lisp German


https://github.com/glycerine/zygomys

Another lisp (lisps sometimes feel like weed: Leave a computing environment unpoliced for some for some time, sure as hell, a lisp has parachuted in and taken root)

What's beyond me, though, why almost everybody who makes their own (un-common, non-scheme) lisp, insists practically on their own vocabulary for defining (e.g.) functions. They avoid the time honored defun, the logical define and even the non- mutilated define-function. Instead they use defn.

glitzersachen, to Lisp German
abcdw, to scheme
@abcdw@fosstodon.org avatar

All the basics of Arei Scheme IDE in 5 minutes. Overview of functionality avaliable in 0.9.4.

mpv https://youtu.be/ygeph9Uet9A

https://git.sr.ht/~abcdw/emacs-arei

howard, to gaming
@howard@emacs.ch avatar

How was your weekend? I love a rainy weekend in the Pacific Northwest corner of America, as it relieves my guilt of doing what I want to do ... staying inside. I read a little, wrote a little, hacked a little ... even played a classic from the 90s (Curse of Monkey Island on ).

I also did a little math. Yeah, been thinking of taking the "Yes, and.." dice mechanics used for luck rolls in games (not sure who came up with it first), and fusing it with Mythic GM Emulator's Fate Chart, popular with the crowd. Since I'm always playing with my notes written in on the screen, I hacked it in . Shared the details in case anyone wanted to do something similar in their favorite programming language.

https://howardism.org/RPG/programming-yes-but.html

crmsnbleyd, to Lisp
@crmsnbleyd@emacs.ch avatar

lisp.wtf is available to rent. What would be a useful thing to host on it?

#lisp

aksharvarma, to programming
@aksharvarma@mathstodon.xyz avatar

Evolution of how I think of while :

  1. When I first learned "loops":

while (condition is true) {do these things, adjust things so a slightly new condition is checked}

// That's where I first saw infinite loop and how there are intentional infinite loops.

  1. A small step to move condition update out of the loop body:

for (i=0; i< N; i++) {do these things}

// After the couple of days it took to get used to them, I found them neater and closer to how I think of things.

  1. Most of the time, the i from before is indexing into something, so let's directly deal with the item being indexed:

for item in collection:
do stuff

After the few days to rewire syntax muscle memory, going back would decidedly feel like a step back.

I don't want to give up automatic (and transparent) out-of-bound checks.

  1. There are actually only about 3/4 things one does inside a loop:

map/fold/scan/filter function-to-call collection-to-traverse-through

;; Getting rid of explicit indexing was just step one.
-- After a few days/months/years, I now realize that it is more important and less buggy if I think only of the function to call (and whether I want to end up with a new (maybe pruned) collection, a single thing, or "both" (that's how I think of scans))


Alternatively, my evolution as I learned new languages idioms:
-->
or -->
-->
or --> ???

lispm, to Lisp German
@lispm@moth.social avatar

@amoroso AI (and #Lisp history) in the new book by Masayuki Ida: "A Narrative History of Artificial Intelligence, The Perpetual Frontier of Information Technology"

https://link.springer.com/book/10.1007/978-981-97-0771-3

amoroso, to Lisp
@amoroso@fosstodon.org avatar

Are you going to European Lisp Symposium 2024?

I have a favor to ask you. Please tell the Lispers there if any of them writes a Common Lisp book I'll be more than happy to buy it, back a kickstarter, spread the voice, and support the author any way I can.

This is just one data point but my hunch is many Lispers are like me.

bitzero, to Lisp
@bitzero@corteximplant.com avatar

Every expression has a value, because in life every action has consequences
#lisp

lispm, to Lisp German
@lispm@moth.social avatar

#lisp #books #commonlisp

A few years ago I have created a visual overview of (mostly) Common Lisp related books... Good thing: even the older ones can be useful, given that the core language hasn't changed that much over the last years.

amoroso, to Lisp
@amoroso@fosstodon.org avatar

Common Lisp Quick Reference is a nicely designed, comprehensive, and handy Common Lisp cheatsheet. It's available in different PDF versions for printing as a booklet or online browsing, as well as LaTeX source.

http://clqr.boundp.org

meedstrom, to emacs
@meedstrom@emacs.ch avatar

So I found a situation where emacs -Q runs a loop 60x slower than my personal Doom Emacs config!

Any wizard who might have an idea why? It's as if it's garbage-collecting for a whole minute. It's not the loop itself that's slow, because it actually completes all iterations, and only then does Emacs hang.

daviwil, to gamedev
@daviwil@fosstodon.org avatar

If you haven't signed up for the Spring Lisp Game Jam yet, you should strongly consider it!

This is a great way to have fun experimenting with a Lisp language of your choice while 71+ of your colleagues do the same!

@dthompson really wants to get 100 registered participants this time to break the previous record, so join in if you want to have some fun!

Check out the official jam page for details, registration instructions, and a discussion area:

https://itch.io/jam/spring-lisp-game-jam-2024

#gamedev #lisp

abcdw, to scheme
@abcdw@fosstodon.org avatar

We released Arei Guile IDE 0.9.4. It's already available in Guix.
https://git.sr.ht/~abcdw/emacs-arei/refs/0.9.4
https://git.sr.ht/~abcdw/guile-ares-rs/refs/0.9.4

It has eldoc and xref (go to definition) features, better completion and a few other improvements.

Big kudos to @krevedkokun for implementing them.

We are working hard towards 1.0, which will be even more exciting:
https://todo.sr.ht/~abcdw/tickets?search=label%3Amilestone-arei-1.0

#guile #scheme #lisp #guix

  • All
  • Subscribed
  • Moderated
  • Favorites
  • Leos
  • kavyap
  • cisconetworking
  • thenastyranch
  • magazineikmin
  • hgfsjryuu7
  • DreamBathrooms
  • InstantRegret
  • Youngstown
  • slotface
  • PowerRangers
  • Durango
  • everett
  • rosin
  • anitta
  • vwfavf
  • modclub
  • ethstaker
  • khanakhh
  • tacticalgear
  • ngwrru68w68
  • osvaldo12
  • mdbf
  • tester
  • cubers
  • normalnudes
  • GTA5RPClips
  • provamag3
  • All magazines