vindarel, to Lisp French

Cookbook: new EPUB and PDF release.

https://github.com/LispCookbook/cl-cookbook/releases/tag/2023-12-13

time spent today: 3 hours fixing truncated snippets on the PDF, 1 hour for the release. Support is possible ;) 🙏

Right next: my favorite additions of this year.

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

#adventofcode2023 day 5 using a #symbolics #genera #lispmachine in #commonlisp #lisp, the code is using CLOS classes

Middle click on an object in the Lisp Listener (aka :#repl) describes the object

pkw, to random
@pkw@mastodon.sdf.org avatar

You need to specifiy -b (or --break-chars) BEFORE ant -f (or --file ) options!

The -f options uses what is set in -b to split up the words, so in that means it will break on dashes unless you specify a dashless -b PRIOR to the -f option.

(specifying a dashless -b AFTER is not good enough)

svetlyak40wt, to programming
@svetlyak40wt@fosstodon.org avatar

Common Lisp library of the day!

This one was added to Ultralisp.org today:

https://github.com/elderica/ulid

It can replace UUID4 in some applications where orderd ids are needed.

charliemac, to random

Finally able to render (clim-demo:demodemo) and start a test from there. This has been a plateau barrier for me for a while and I was hoping to cross it before the new year.

awkravchuk, to devlog
bahmanm, to Lisp

Spent a bit of time, renovated a rather aging project of mine in :

Configured , used to wrap around test/run, and finally tackled a bunch of deprecated APIs.

The result is so nice and tidy that I've decided to hack again in and take down a few more of Euler problems 😎

https://github.com/bahmanm/euler-cl/tree/master

sigue, to random

in/on is a mighty fine distinction, especially if you're not a native English speaker. With this in mind, I propose the following....

(loop for c being the conses of ...)

Yes, it's a joke.

Slightly different, but related topic: this would be a lot nicer than the current mess of hash-value and hash-key loop constructs:

(loop for k => v in table ...)

galdor, to random
@galdor@emacs.ch avatar

I just finished my article on interactive development. Turned out to more than I expected and less that it should be. One could probably write a small book on the subject. Hopefully it will still be useful.

https://www.n16f.net/blog/interactive-common-lisp-development/

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

Join the Weekly #lispygopher #climate #LIVE NOW on https://anonradio.net:8443/anonradio powered by @SDF

Everyone please share and broadcast @kentpitman 's seasonal climate poem https://climatejustice.social/@kentpitman/111467765589880033

#gopher
In the #lambdaMOO #moo tutorial, someone has spraypainted THIS IS NOT A GOPHERHOLE on one of the walls in red.

Help form my yet unphlogged My Tiny Life review thoughts <3

#lisp
Let's just use #CommonLisp #ironclad #crypto together

Music from @timnewsham

Art by @prahou in #uxn #unix_surrealism

zyd, to random
@zyd@emacs.ch avatar

TIL someone's working on a implementation targeting : https://codeberg.org/gsou/LCL

I don't think I'd ever use something like this but neato.

fosskers, to random
amoroso, to Lisp
@amoroso@fosstodon.org avatar

In 1984, 40 years ago, Digital Press published the book "Common LISP: Reference Manual" by Guy L. Steele Jr. and others, more widely known as the first edition of "Common Lisp: The Language" or CLtL1. It was an early major milestone of a Lisp standardization process completed a decade later.

http://www.bitsavers.org/pdf/dec/_Books/_Digital_Press/Steele_Common_Lisp_Reference_Manual_1984.pdf

#CommonLisp #lisp #retrocomputing

awkravchuk, to random

For the last 10 months I've been working on a microframework, cl-fast-ecs, and I've just published a part 1 of in-depth tutorial for it. Let me know what you think 😊

https://awkravchuk.itch.io/cl-fast-ecs/devlog/622054/gamedev-in-lisp-part-1-ecs-and-metalinguistic-abstraction

fosskers, to random

I've overhauled the README for the transducers library. Specifically, the API section now contains an example for every available function.

#commonlisp

brokenix, (edited ) to random
@brokenix@emacs.ch avatar

This directory contains KR, a knowledge representation system. Unlike other systems, KR implements a small, carefully selected amount of functionality in order to keep performance within reasonable limits

https://github.com/rogersm/kr

zyd, to random
@zyd@emacs.ch avatar

What horrors did she see in the land of lisp?

qhBidG3d, to random

Hello everyone,

I wanted to share a comprehensive cloud-init YAML file that I've put together
for setting up a robust server environment. It's tailored towards creating a
secure, user-friendly, and developer-ready setup right from the get-go. Here's
a glimpse of what it covers:

Locale, Keyboard, and Timezone Configuration: Sets up the basic locale,
keyboard layout, and timezone for the system.

User and Group Management: Creates system and regular users, assigns them
to groups, and sets up sudo and SSH key authentication.

Package Management: Installs a range of essential and useful packages,
including fail2ban, ufw, nginx, certbot, sbcl, emacs, git, and many more.
It also handles automatic package updates and upgrades.

Security Enhancements: Configures SSH, ufw firewall, and fail2ban for
better security.

Nginx Setup: Sets up Nginx with a reverse proxy and SSL using Certbot.

Git, SBCL, SLIME, and Quicklisp Setup for User: Sets up a ready-to-code
Lisp environment for the user.

I believe this setup can save a lot of time and ensure a solid foundation for
anyone looking to deploy applications or development environments on cloud
instances. It's especially geared towards those who prefer a Lisp-friendly
environment.

https://git.sr.ht/~marcuskammer/cloudinit/tree/main/item/sbcl-nginx.yml

Feel free to use, modify, or suggest improvements to this setup. I'm open to
feedback and would love to hear your thoughts or experiences with similar
setups. Let's make server setup a breeze!

vindarel, to Lisp French

Latest string manipulation functions on the str library: https://lisp-journey.gitlab.io/blog/latest-string-manipulation-functions/

split and replace by regex, ensure-prefix/suffix, generally work better with characters, and other additions and fixes.

Thanks to all contributors!

amoroso, to Lisp
@amoroso@fosstodon.org avatar

My blog @paolo is now on Planet Lisp. This aggregator of Common Lisp blogs and resources, one of my favorite Lisp readings, will syndicate only my posts about Common Lisp.

https://planet.lisp.org

10leej, to random
@10leej@fosstodon.org avatar

Working in emacs makes me wanna learn

vindarel, to Lisp French

📹 new video! A demo on how to build a web app in Common Lisp: https://www.youtube.com/watch?v=h_noB1sI_e8

We see how to: start Hunchentoot, create routes, create HTML templates (using Bulma CSS), handle errors.

Next, we'll run it from the terminal and then we'll create a self-contained executable (including static assets).

Hope you enjoy it!

pkw, to random
@pkw@mastodon.sdf.org avatar

I am programming in to play random songs from a large mp3/flac collection.

It works fine in the REPL, but when I use it with it runs the program fresh each time.

You might see where I'm going. The naive random function must be deterministic so even though there is a series of random calls i am making to narrow down the choice, the choice is always teh same when the program is ran the 1st time.

the song isn't bad it's:
Kurt Vile and The Violators - Wedding Budz

glitzersachen, to Lisp German

Dear hobbyists, which online communities would you recommend for

pkw,
@pkw@mastodon.sdf.org avatar

@svw @rlonstein @glitzersachen @galdor I like early web mailing lists and forums. I like mailing lists because they don't require active participation, and also the time delay keeps people from rapid fire responding, and equalizes importance with ppl that post less.

I like forums because it is more direct and more fun to "just browse".

Either would be easy to setup nowadays, and maybe there's some tangential boost with the whole smolweb thing.

so: forum or mailing list ?

ramin_hal9001, to python
@ramin_hal9001@emacs.ch avatar

Yet another rant about Python and JavaScript:

I hate it when someone tells me, "well Python and JavaScript can be programmed in functional programming style, so they are just as good as any other functional programming language," and "something something objects are the same thing as closures."

Then my program crashes and I spend 20 minutes debugging only to find that for the 100th time I wrote a method like this:

def getThing(self): self.thing

instead of like this:

def getThing(self): return self.thing

...where basically the problem is most of my program is written in functional programming style, except you STILL have to write the fucking "return" statement as the last line of the function.

If your language has "return" as a built-in control flow, it is hopelessly imperative not functional, and there is not a single monad framework or higher-order-function library anywhere that will make your language functional.

Stop telling me imperative languages like Python and JavaScript are just as good as functional languages, they are objectively worse than functional languages.

ramin_hal9001,
@ramin_hal9001@emacs.ch avatar

> "One of the reasons I like Python is that it can be used for so many different tasks, and without having to learn a new language.

@steriana @Pitosalas here is the thing though, Python is one of the worst languages for trying to adapt it to many different tasks.

If you want a truly general purpose high-level language that can be adapted to many different tasks, Common Lisp or Scheme is considerably better. The interpreters and compilers for these languages actually provide carefully designed mechanisms, like macro expansion and pattern matching, specifically for adapting the language to different tasks. This is possible because the syntax of the language is so simple and minimal that it is very easy to devise embedded domain specific languages (EDSLs) with very little effort, and without requiring people to expend the effort of learning whole new languages.

Python's syntax is relatively complex compared to Lisp, and its APIs for modifying the compiler and interpreter are not at all well-designed for adapting the language to various tasks compared to those of Common Lisp or Scheme. Creating EDSLs is for Python is not idiomatic coding style and discouraged, but people try to adapt it to every possible task anyways, and it becomes a horrible mess.

So you or anyone else, adressing the software industry as a whole, wanted to learn just one high-level language to solve every problem for you, it ought to have been or . Relatively speaking, is so incredibly limited in what it can do compared to those languages, Python was objectively the wrong choice for this "lets adapt it to all purposes" way of thinking. The software industry is truly in a horrible mess as a result.

By the way, languages like Racket and Gerbil which are both built on top of Scheme are very easy to learn for beginners.

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