@louis@emacs.ch
@louis@emacs.ch avatar

louis

@louis@emacs.ch

Software developer #Go #CommonLisp #JS #SQL. #LispWorks user. Soft spots for #Emacs #SmallWeb. Recently becoming #OpenBSD enthusiast. #LinuxMint as a daily driver. Recovering Apple addict.

Author of the Tuner app for Linux.

Other hobbies: #Running #FireFighter #StarTrek

This profile is from a federated server and may be incomplete. Browse more on the original instance.

louis, to random
@louis@emacs.ch avatar

TIL: Function designators in Common Lisp:
(funcall 'foo 0)
(funcall #'foo 0)

Both work, however, if there is a function named FOO in the lexical environment (i.e. via FLET/LABELS), #' (= FUNCTION) will use that while ' (= QUOTE) will always ignore the lexical environment.

louis,
@louis@emacs.ch avatar

@spnw @zyd Yes, I realized that when I did iterative work on a web project. To generalize: use ' as a default when not explicitly referring to lexical definition OR where performance matters. Does that sound right?

louis,
@louis@emacs.ch avatar

@zyd @spnw Nice code btw! :-)

louis, (edited ) to stackoverflow
@louis@emacs.ch avatar

Because I deleted (not edited) some of my answers on Stack Overflow (7 in total) during the last two days, my account is now locked because I "defaced" the community.

They seem to be really desperate. But with their decision to sell their data to OpenAI, they sealed their own fate.

louis,
@louis@emacs.ch avatar

@galdor So this is what I got in response from the volunteer Stack Moderators after a quick exchange:

// QUOTE

Moderators are volunteering for the community, not the company. Specifically, people who don't want to use AI and want to have a reputable source of information written by humans.

Regardless of what company does, currently there is no way to prevent AI companies to scrape or use data dumps to train their models anyway.

Content you are destroying has been scraped a long time ago, behind company back. If you don't want your posts to be used for training AI you just don't have to post anything new.

Regards,
Stack Overflow Moderation Team

// END QUOTE

Can't quite get it why anyone would still volunteer their time as a moderator to this company, err, "community".

Anyway, I only contributed in 2022 during the course of a few days to see how quickly one can ramp up their reputation score. So there are no real ground for me to engage with them further. It's just yet another sad example of .. you know.

al3x, to emacs
@al3x@hachyderm.io avatar

What am I doing wrong in my attempt to configure the font?

I have the following lines in my init.el:

(set-face-attribute 'default nil :family "Input Mono Compressed" :height 150)  
(set-frame-font "Input Mono Compressed-15" nil t)  

If I execute them, I get what I want.
But when part of the init.el they seem to get reset.
If I include them towards the top of the init.el,
I can notice the larger font and then it "disappears".

Please send doctors :-D.

louis,
@louis@emacs.ch avatar

@al3x Since I had a similar issue, look at the end of your init.el, where you have your (custom-set-variables ...) (which is created by the customize facility). It is very likely that you once changed your font interactively with customize and have this configuration still in your init.el.

louis, to random
@louis@emacs.ch avatar

See you next year in Zurich, you crazy nerds 🙂

zyd, to Lisp
@zyd@emacs.ch avatar

I have to ask: why are all the Lispers European

#lisp #commonlisp

louis,
@louis@emacs.ch avatar

@mir @zyd On a more serious note: on ELS I observed that most non-European attendees (i.e. there were many from Japan) still only promoted their X accounts on their slides. So, mir is right, the Fedi is strongly biased by European users.

louis,
@louis@emacs.ch avatar

@zyd @cxxxr @mir Clearly, we need to make an effort to bring all of them to emacs.ch.

louis, to random
@louis@emacs.ch avatar

Exciting news for SBCL users. A coroutine proof-of-concept was created during ELS after-hours in a pub :-) I for once hope, what happened in Vienna, doesn't stay in Vienna.

louis,
@louis@emacs.ch avatar

@galdor From what I understood, they took the green thread machinery from CCL and just removed the preemptive scheduler. Does that sound plausible? 🙂

louis, to random
@louis@emacs.ch avatar

The is already over, I met many interesting folks there. Thanks to all and the organizers for this great event. I'm looking forward to attend ELS 2025 in Zurich next year!

louis, to random
@louis@emacs.ch avatar

Too bad there is no equivalent of "Kopfkino" in English. 🎥 😜

louis, to random
@louis@emacs.ch avatar

"Rooms" is a new project (currently in alpha) which aims to move the editor into the cloud, giving everyone with a browser immediate access to a turn-key Common Lisp IDE running on EC2.

Today I was so lucky to see a demonstration by @cxxxr at .

https://github.com/lem-cloud/rooms

louis, to random
@louis@emacs.ch avatar

Had a great day 1 at , even meeting a few fellow Mastodon users. Couldn't trust my eyes when I discovered some high-profile Common Lispers, which libraries I use on a daily basis (i.e. dex). Can't wait for day 2!

offset___cyan, to random
@offset___cyan@emacs.ch avatar

a Nix fork using meson instead of make, that plans to convert all the code to Rust. Wow. Stunning use of time.

louis,
@louis@emacs.ch avatar

@offset___cyan Rust =
Reimagining
Universally
Solved
Technologies
😀

louis, to random
@louis@emacs.ch avatar

Heading for Vienna now. Looking forward to starting tomorrow.

louis, to linuxmint
@louis@emacs.ch avatar

I jumped ship and hopped over to the Linux Mint crowd. I used Pop_OS for ~3 months and it was an overall good experience on my ThinkPad X1 Gen 8.

But I always liked the Cinnamon desktop as I have used Mint for over a year before. And I didn't want to be part of the Rust-based re-invented desktop experience (COSMIC) driven by a company. Ultimately I believe that Linux is and should continue to be a community effort. Also, there were some minor annoyances (like the Pop_OS store eating up 1.2 GB of RAM all the time even when it is not running, an issue System76 is aware of for quite a while). And also, Snap.

If feels good to be back to a trusted distro whose maintainers generally make the right decisions (i.e. removing Snap).

Let's see how long it will last ;-)

louis,
@louis@emacs.ch avatar

@pglpm @luca You can install kde-standard on Mint, however there is no dedicated KDE edition, meaning you'll get pretty much standard KDE.

thuna_cing, to random
@thuna_cing@emacs.ch avatar

A common lisp library to define dispatch reader macros on comma,
https://git.sr.ht/~thuna/cl-extended-comma

One of the (very few) default extensions is

`(foo ,?t bar) => (FOO T BAR)

`(foo ,?nil bar) => (FOO BAR)

Let me know all the ways in which it's terrible, please :)

louis,
@louis@emacs.ch avatar

@thuna_cing Hey, really love it. I often had to work around this puzzle, but it never occurred to me that a reader macro would be the perfect solution. Thanks for sharing! 🙏

owzim, to random
@owzim@mastodon.social avatar

We desperately need an new internet.

louis,
@louis@emacs.ch avatar

@owzim Which parts of the internet do you think need to be replaced?

louis, to random
@louis@emacs.ch avatar

Just came back from our 10 day trip from UAE. It was a great experience, learned a ton. I really enjoyed the hospitality of the Arabic / Muslim culture. For now I need to recover from the 12 hour journey home, I hope to share some thoughts in the next few days before heading to Vienna for ELS 2024.

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.

louis,
@louis@emacs.ch avatar

@kakafarm @meedstrom Emacs has a very low GC threshold per default.

Some do have this in an early init file:

(setq gc-cons-threshold (* 1024 1024 100)) ; 100 MiB

Or even higher to make sure the startup is fast.

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

@louis
( is a rust lib that creates a veilid node per application which participates in a network, and gets messages 'to you' to you from the greater network. You publish properties on 'your' node, or it has a torrenting form for larger media items). https://veilid.com
"Being a veilid node" is one page of rust
-> compile to .a
-> put in C
-> cffi

What do you think about this unconventional private internetworking? I think "the community" should capture this.

louis,
@louis@emacs.ch avatar

@screwtape I tried to understand what Veilid actually is and from the sparse info I could get it is a way for two nodes (applications/devices) to communicate without exposing IP addresses and running a daemon. While I appreciate every effort in this direction, I'm not quite sure how the Lisp community should capitalize on such a project, especially given their current technology choices (Rust, Google Flutter/Dart, Python, Discord).

My first instinct is "yet another Rust project that reinvents what-already-exists for the sake of it being written in Rust". But I refrain from making an assessment at this point in time until there is a specification that enables devs of any language to easily participate without FFI'ing a Rust library into their project.

From a more generic point of view, I can visualize a world where I can spin up a Lisp image and be part of a global network of Lisp nodes that can securely communicate and share data with each other. Is it Veilid? I'm not quite sure yet. So let's have this discussion again in 6 months perhaps?

louis, to Dubai
@louis@emacs.ch avatar

Starfleet Headquarters

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