in reply to Roger Crew✅❌☑🗸❎✖✓✔

@Roger Crew✅❌☑🗸❎✖✓✔ @Judy Anderson @screwlisp I've got this one working, though I had do a little finessing to get it to installed. Now I need to see if my elisp knowledge is sufficient to customize it in a manner similar to how I'd customized TF.
in reply to Roger Crew✅❌☑🗸❎✖✓✔

@Roger Crew✅❌☑🗸❎✖✓✔ @Judy Anderson @screwlisp It essentially already was a valid ELPA package with the mentioned exception.

I'm currently in the process of adding my own custonizations. I've added a rudimebtary shim that processes lines entered bu the user so that it can support commands that get processed on the client side.

Here's an excerpt:

(require 'mud-mcp)
                                                                                 (defun lambdamoo ()
  "Connect to LambdaMOO"
  (interactive)
  (mud-mcp-connect "LambdaMOO" "lambda.moo.mud.org" 8888)
  (setq lambdamoo-send-line comint-input-sender
        comint-input-sender #'lambdamoo-process-line))

(defconst lambdamoo-commands
  '(("send" . lambdamoo-send)
    ("test" . lambdamoo-test))
  "Command functions")

(defvar lambdamoo-send-line nil
  "The function that is called to send a line to the server")

(defun lambdamoo-process-line (proc str)
  "Process input sent by the user"
  (if (string-prefix-p "/" str)
      (lambdamoo-process-command proc str)
    (funcall lambdamoo-send-line proc str)))

(defun lambdamoo-process-command (proc str)
  "Process a command"
  (let* ((words (split-string str))
         (command (string-trim-left (car words) "/"))
         (found (assoc (downcase command)
                       lambdamoo-commands
                       #'string=))
         (func (and found (cdr found))))
    (if func
        (funcall func proc str)
      (message "Command '%s' not found." command))))

After I wrote all this, I found comments in the file detailing how to add functionality.

Is there a more "proper" way I could've done this?

Shannon Prickett reshared this.

Jonathan Lamothe reshared this.

To the fair folk of the Fedi.

However you choose to deal with the festivities, or don't, or can't, I wish you at least some joy and peace. We are on our way out of the dark and since long before memory or record, humans, it seems, have deemed this worthy of celebrating, at least in some way. But, this may be no more than remembering who you are and realising that the world around us, for all its horror and fear, is still a place of beauty and grace. That there is still kindness and joy and magnificence and the simplest things can show us the most.

So be yourself, enjoy, or not, yourself in the ways that you want to. Let go of shouldn't and what if and all the should be's that plague us. This is not just a time for others, it is your time too. A time to embrace the moment and what we can and we what we have, no matter how little that may seem to be, all the small things and all the great, the stars and the moon (even though we don't have the paperwork for those, and yes, that was a Pratchett reference.) the wind in our hair and everything in between. A time to dream, a time to shine.

Have a good one and wishing you all the best.

#Christmas
#ActuallyAutistic

Jonathan Lamothe reshared this.

I am dangerously close to unleashing my first #emacs package on the public. It's nothing fancy and still relatively niche, but I deem it potentially useful enough to be worth publishing.

There are a couple small features I want to add and a few things that still need some polish, but it's almost ready for a version 0.1 release.

It's not anything ground breaking or anything. I'm still pretty much an #elisp novice, but I'm proud of it anyway.

More details when it's released.

in reply to Álvaro R.

@Álvaro R. At this point all I need to add is a README and two features (which will mostly reuse code I've already written just in a slightly different way).

Surprisingly enough, the hardest part of the whole project was getting it to display numbers with thousands separators. That code might exist in the bowels of the calc package, but it was easier to just roll my own.

in reply to Jonathan Lamothe

Okay, my first #Emacs package is officially released. It was strongly inspired by @Soroban Exam Website's work, providing practice tools for the #soroban. This is the first Emacs package I've ever released. It's probably not perfect, but I welcome feedback on how it can be improved.

I wonder if there is an overlap of more than say five people who are both soroban and emacs users. 🙃

Anyhow, it can be found at: codeberg.org/jlamothe/soroban

reshared this

Katy's been down a YouTube rabbit hole on $medical_condition lately. Today we watched a yoga video that purported to relieve one of the symptoms. Cool cool, yoga can have benefits. Let's give it a go. Some of the instructions in this video were oddly specific but whatever, that's fine. Then we read the comments and my cult alarm started blaring.

This was a video with millions of views and an untold number of comments. Some of them were downright scary in their praise for this guy* and there wasn't a single remotely negative comment to be found.

Not one. I looked.

Someone is really dedicated to sliencing dissent on this video, and I can't imagine that being anything shy of a full-time job. That is probably one of the most massive red flags there is.

* e.g.: "Who needs western medicine? $youtuber is always the answer."

Jonathan Lamothe reshared this.

Maybe the best way to fight AI taking over our media, is to stop supporting the arts with clicks on ads and subscription fees?

Go see a new band.
Watch a play.
Visit a gallery and talk to an artist.

Maybe if we made it more about supporting artists, and less about cammodifying the arts for our convenience, we won’t have to lose one of the things that makes humanity great?

reshared this

in reply to Mr. Funk E. Dude

The digital domain forces a change of model.
Y BUT Y, that is: digital leftcopY BUT physical rightcopY.
The digital domain is freely accessible, but commercial exploitation remains the prerogative of the author; in all other domains, all rights remain with the author or artist.
Public Administration should then monitor the circulation of digital works and citizens’ preferences, and accordingly fund the artists who publish under a Y BUT Y license.
Jonathan Lamothe reshared this.

The US TikTok sale has been signed. The company will be controlled by a joint venture including Oracle, Silver Lake, Andreessen Horowitz, Abu Dhabi-based MGX. Adding a UAE company really makes it clear that this was never about national security concerns.

axios.com/2025/12/18/tiktok-sa…

reshared this

Jonathan Lamothe reshared this.

The media in this post is not displayed to visitors. To view it, please go to the original post.

Mozilla right now.

#firefox #mozilla

in reply to Jonathan Lamothe

while the recursive name certainly helps, pizza developers use proprietary ingredients while mac and cheese development is fully free. The source code is in the name!

Although you could argue that Kraft Dinner is proprietary, but that's like a proprietary version of UNIX. People just go to it for nostalgia knowing it's way outdated, and any attempt to replicate it will give a better result.

Jonathan Lamothe reshared this.

The media in this post is not displayed to visitors. To view it, please go to the original post.

I swear to you, my hands are freezing cold right now.🥶I'm sleeping without a blanket.Ieven put my blanket on my baby so Ican keep him warm.Life is truly so unfair😞
I'm freezing! 🥶😭Oh world
I'm freezing!🥶😭Oh world
I'm freezing!🥶😭Oh world
Please, let your kindness warm me tonight so I can buy myself a blanket🙏🥺
chuffed.org/project/161145
Please🙏😞🙏 @gvenema
@tekul @AnnaLion
#Gaza #Palestine #GazaVerified #genocide #famine #warCrimes #StopIsrael #StopTheGenocide #mutualAid
@kathimmel
@divya

reshared this

Jonathan Lamothe reshared this.

A lot of folks have asked me if I'm serious about relaunching Mozilla after their inevitable collapse.

What I can say with confidence is that if the brand assets become available, I would absolutely look into purchasing them, in the same manner Perifractic "resurrected" Commodore. I am no millionaire, so this would have to be a community-driven thing.

Imagine: everyday people like us banding together to resurrect our beloved browser. I'd absolutely do my part to spearhead that.

#mozilla

in reply to Jonathan Lamothe

Meta and ALT are not the same key.
The original keyboards used long ago had Ctrl, Super, Hyper, Meta, and ALT keys. We now map Meta (i.e. ESC) to the Alt key on our keyboards as a convenience. I do not believe there is a way, on modern keyboards, to have both META and ALT mapped to a key. We can have Super, and Meta. I can't recall if I was able to map Hyper on a modern keyboard.
Jonathan Lamothe reshared this.

The media in this post is not displayed to visitors. To view it, please go to the original post.

If you want a rigorous analysis of why statistical #AI models collapse when continuously trained on their own data without external supervision and constraints, read this amazing paper from last year.

If you want to get a visual intuition of how model collapse looks like, look at this video.

When AI stares at its own reflection for too long, and its inference is purely rooted on statistics rather than reasoning, this becomes statistically inevitable.

Keep this in mind whenever you hear someone talking about “AI models learning from their own outputs” without addressing the statistical parrot issue.

#AI
This entry was edited (2 months ago)

reshared this

Jonathan Lamothe reshared this.

posted about my Apple ID woes, please share widely?

hey.paris/posts/appleid/

elisp nonsense

I've been playing around with keymaps. Apparently they can be used to create menus that give the user a visual list of options. The canonical way to make them is aparently with make-sparse-keymap to create the menu and define-key to add options to it, but this causes some confusing behaviour.

Take the following example:

(let ((menu (make-sparse-keymap "My menu")))
  (define-key menu "a"
    '(menu-item "Foo" foo))
  (define-key menu "b"
    '(menu-item "Bar" bar))
  menu)

Yields the following:
(keymap (98 menu-item "Bar" bar) (97 menu-item "Foo" foo) "My menu")

Each new entry is added to the top of the list, so when the menu is displayed, they're listed in reverse order. This is very counter intuitive.

Now, I understand that the nature of lists in lisp make inserting an element at the top of the list less computationally expensive, but when you've already got to walk the whole list anyway to ensure the key binding isn't already present, this no longer feels like an adequate excuse.

Am I missing something?

#emacs #elisp

Wes reshared this.

I virtually never set custom keybindings in #Emacs preferring instead to rely on M-x function calls because I had such a hard time finding key sequences that weren't used by something else. Since learning that C-c /[A-Za-z]/ is reserved for user-defined keybindings, I've gone mad with power.

reshared this

nerdy computer stuff

I've long known that certain ASCII control sequences could be mimicked by holding control and pressing a key, e.g.: backspace is CTRL-H, newline is CTRL-J, but I was today years old when I learned that the ASCII control code is just the ASCII value of the key being pressed along with control bitwise and-ed with 0x1f.

It feels weird that I hadn't caught onto this sooner.

more venting

Welp, it looks like our Instacart account is probably cooked. We need to find a replacement for that income quickly.

Fortunately, we were already in the process of trying to do that because of the wear and tear it was putting on the car. I have a few irons in the fire, but nothing concrete yet. We need something we can do on an on-demand basis so that we can work when our mental health permits.

I'm notoriously bad at interviewing for jobs. It always involves some element of exaggerating the truth (a.k.a. lying) which I suck at. It turns out for instance that the honest answer to "why do you want to work here?" (so I don't starve and end up homeless) isn't a good answer. 🙃

venting about the medical system in Ontario (vague for privacy reasons)

My partner has been dealing with $condition for a very long time. In that time we have tried many therapies and medications without much success. We have found $medication_a which actually helps, but causes $side_effect which is not sustainable. Fortunately, we've found $medication_b which makes $side_effect tolerable.

She's been on a waiting list to see a specialist for a while and finally had her first appointment today. After a single 30 minute appointment, his solution was to increase $medication_a while completely stopping $medication_b. When she objected about $side_effect (which she'd already told him was the reason for $medication_b) he said to just do $obvious_thing as though we hadn't tried that already.

What's worse is that he faxed the order to our pharmacy canceling her previous prescriptions.

Of course, I am not a doctor but what the hell is this guy thinking??

This website uses cookies. If you continue browsing this website, you agree to the usage of cookies.