ohai.social is one of the many independent Mastodon servers you can use to participate in the fediverse.
A cozy, fast and secure Mastodon server where everyone is welcome. Run by the folks at ohai.is.

Administered by:

Server stats:

1.8K
active users

#commonlisp

15 posts14 participants0 posts today

Having packages/modules be defined as single files is a fundamental programming language design error. #Python, but also #Erlang, #Scheme, the misguided package-inferred-system extension for #CommonLisp… Because no one wants a 10k lines file mixing dozens of concepts, you end up with a multitude of small packages for no good reason.

At least in Erlang you can just use whatever was loaded without manually importing every single module you need everywhere, but Python is as usual the worst.

tfw your Common Lisp program is using less CPU than your designed-the-same equivalent Crystal program...

I have my CPU in powersave mode, capped to about 1.9 GHz. It's using 5-10% less CPU decoding and resampling a FLAC file with the sinc-best resampler.

Either SBCL is just that good of a compiler, SIMD just helps that much, or a bit of both. Probably a bit of both.

#CommonLisp

#LispyGopherClimate #lisp #ai #peertube
communitymedia.video/w/7KpDL8d

@kentpitman #haiku

Resurrected Sandewall's #softwareIndividuals from 2014.

This episode is dedicated to general purpose interaction in the software individual / #CAISOR paradigm.

Next will be porting the dynamicwindows zetalisp zwei to McCLIM #commonlisp.

@prahou #unix_surrealism next #openbsd release art??

Also @pesco and @dougmerritt on IPE '84

co guest and join in on #lambdaMOO as always!

@mdhughes @nosrednayduj @sacha

Replied in thread

@pedromj seeing your iterative and recursive ones helped me see what I was /meant/ to do with series (which should be lazy and declarative):
``` #commonLisp #series
(defun better-fibs
(n &optional (x-1 0) (x-0 1))
(let* ((range (scan-range))
(fibonacci-series
(#M(lambda (n)
(declare (ignore n))
(psetq x-1 x-0
x-0 (+ x-1 x-0))
(values x-0))
range)))
(collect-nth n fibonacci-series)))
```
CL-USER> (better-fibs 4)
8

(Edit: (scan-range) on its own is just 𝗡)

I realized that I should have two #slime repls open, one running a Sandewallian software individual clisp-repl and one McCLIM running ecl-repl (or what have you) and things are getting weird.

This is because the software individual with a beliefbase about using McCLIM is /not/ the McCLIM lisp image itself, it is a separate lisp image that contains beliefs and actions for using McCLIM in another image. Which is trivial in #emacs with slime. #commonLisp #notThatCommonThoughTeeBeeAitch

Replied in thread

@me You can find here 2 interviews of small teams using CL. One "secretly", one in a great open-source product:

"questions to Alex Nygren of Kina Knowledge, using Common Lisp extensively in their document processing stack"
lisp-journey.gitlab.io/blog/li

"Arnold Noronha of Screenshotbot: from Facebook and Java to Common Lisp."
lisp-journey.gitlab.io/blog/li

Lisp journey · Lisp Interview: questions to Alex Nygren of Kina Knowledge, using Common Lisp extensively in their document processing stack - Lisp journeyBy Lisp journey
Replied in thread

@me Personally, as a solo developer, I use CL more and more in my stack, ditching Python the more I can. I wrote about it: lisp-journey.gitlab.io/blog/ru

Instead of extending a Python software I write independent modules in CL. It works well for standalone scripts too (read a DB, process data, send everything to a FTP, to a web service, by email…) It's such a joy.

On Discord, we see some are in big tech©, wrote their personal tool in CL and now it's part of the team's stack.

Lisp journey · Running my 4th Common Lisp script in production© - you can do it too - Lisp journeyBy Lisp journey

Me encanta programar en #Lisp en mi tiempo libre. La programación funcional fomenta la abstracción y me permite construir sistemas complejos a partir de funciones simples. El REPL me abre la puerta a jugar en tiempo real con el código sin tener que reiniciar constantemente el software o forzarme a lanzar un programa de depuración. Para mi es una herramienta poderosa para afinar mis habilidades de programador, probar nuevas ideas, patrones y un espacio para la creatividad. Además tienes sabores en cualquier lugar: #Clojure para JVM, #ClojureScript para #JavaScript, #Emacs Lisp para Emacs, #CommonLisp y #Racket para ejecutar en el equipo... Aunque yo te recomiendo que te quedes en un solo lenguaje y lo domines. No es necesario aprender todos los dialectos de Lisp, pero si es bueno conocerlos para entender sus diferencias y similitudes.
Si quieres aprender más sobre #Lisp, te recomiendo uno de mis libros favoritos: "Land of Lisp" de Conrad Barski. Es un libro divertido que te enseña a programar en Lisp mientras creas juegos y aplicaciones gráficas. También puedes encontrar muchos recursos en línea, por supuesto.