New Arrokoth update with mouse selection, and rather a lot of refactoring to get there.
(yes, I'm aware there's some STYLE-WARNING shouting on startup. Lack of forward declarations sucks.)
New Arrokoth update with mouse selection, and rather a lot of refactoring to get there.
(yes, I'm aware there's some STYLE-WARNING shouting on startup. Lack of forward declarations sucks.)
Related, I've been working on mouse input for McCLIM, and good fucking grief. I JUST WANT AN EVENT WHEN THE MOUSE MOVES OR CLICKS!
@charliemac See previous threads under #clim and #mcclim , but I have more. Some are easily reproduced with (clim-demo:demodemo)
#Newyears
Lispy gopher climate will be live in 1/2 hour https://anonradio.net:8443/anonradio
KMP's year-recap tanka haiku senryu and my 2025 forecast.
Looking at @mdhughes's evolving https://gitlab.com/mdhughes/mcclim-console and putting it in #emacs per my emacsconf talk. @contrapunctus shares their #clim https://codeberg.org/contrapunctus/interact simplifying #mcclim's gesture-means-this-command translators (for gestures like the keyboard event (:control :h) (:control :j)).
My resolution- a year inside my shocking #lispmoo2 feat the wfta
@kentpitman @screwtape @jackdaniel @dougmerritt That finally worked!
All I wanted was a safe way to intercept Quit so I can save games. A nicer "override standard command with function" would be good, but forward progress.
I do see that I can still close the window and *gone*, but I think that's OK as an emergency exit.
#clim #lisp
@mdhughes
Okay, I got it. To disable the builtin com-quit in an application frame *f*:
(setf (command-enabled 'clim-internals::com-quit *f*) nil)
I'm not sure how cross @jackdaniel will be about me using that internal: How else would you do this?
The same could be done to global-command-table itself:
(remove-command-from-command-table 'clim-internals::com-quit (find-command-table 'global-command-table))
Updated my little McCLIM thing, now it has movement on a grid. Probably more adventurey than roguelike, but I needed some basic tech for moving so chars were easiest. Or maybe I'll figure out bitmaps next time.
https://gitlab.com/mdhughes/mcclim-console/
But it's still generally not updating on commands, only if I jiggle the window a little. I don't get it! Am I gonna have to use AppleScript to move the window +0,+0 every second?
Hey do any #lisp hombres know anything about #clim #completions?
Basically I can do this:
(accept '(member-alist ((monday :mon) (tuesday :tue) (thursday :thu))))
after which
typing mo or mond will return :mon, THuR -> :thu
and so forth. I guess I really want three letter keywords.
This almost seems really powerful, but I feel like I''m not yet there
Ha. I was thinking I was busy and could get away with just the claim but I guess it does require some better explanation to make sense or sound credible. Apologies in advance for typos as I'm still rushed for time ...
It was back in the mid 1990s, working for a company that did postscript support for printers. They needed "web-ready printing" and you couldn't get that off-the-shelf, so I wrote an HTML parser and learned postscript and put together a layout engine that could spit out PostScript.
HTML layout was less elaborate then. It didn't handle CSS. Lots of web pages didn't yet need it, thankfully. Or Java. Not sure Javascript existed but if so it wasn't widely used, and didn't get a DOM 'til later. So it was an easier target. On the other hand, it was before they got serious about how to resolve confusions in layout, especially tables. I'm pretty sure browsers didn't yet agree. My recollection is that HTML 4 started to more seriously describe layout, clarifying some vexing lack of constraint, but I think it wasn't out when I did this. It's been awhile, so I might misremember what was and was not involved. This is all approximate from unreliable memory.
But nowadays when people make these things they may get Mozilla off the shelf, so I just mean to say whatever I wrote, however incomplete, I really wrote from scratch. So we could take in HTML and print it. Nothing remarkable now, but a bit more effort then.
Anyway, when I was done it randomly occurred to me I might have authored a web browser. In Common Lisp if anyone is wondering. At the company then called Harlequin. (No, not the Harlequin that does romance novels. The one where I made CLHS. Though its big product was raster image processors, RIPs, for printers, and tools for color matching across printers.) So, to test my belief about what I might have done, I wrote an alternate backend for the HTML layout engine that used the Common Lisp Interface Manager (CLIM) to display to the screen instad of PostScript.
It was immediately obvious that I'd need to add hyperlink support. That's kind of essential for web browsers and I'd skipped it for the web-ready printing. (I can't recall if I literally ignored link anchors or just turned them to footnotes. I recall it was a case where there were multiple options.)
The other missing thing (there were only two major omissions I noticed at the time, though I'm sure others would've come up--I didn't pursue it as other than a fun hack, in the original meaning of that word) was that at the time all browsers had a panel in the top right that was animated when doing web downloads. (Mosaic had a spining globe, and others did something cute that was distinctive to the brand. It seemed essential to claim victory. More essential than Java or Javascript. Heh.)
So I got a Harlequin icon that Craig Swanson, either then or later Chief Designer of Communications at Harlequn, had drawn, and I dismembered it and rearranged the arms and legs in various images that I assembled into a sequence I could treat as an animation making it dance during page and image loads. It turned up some weird bugs in Harlequin's CLIM because we hadn't allocated resources (locks and whatnot) in a way that could be shared across threads. The Harlequin dance wanted to be separately running, but synchronized. So even though my browser wasn't a product we treated it as QA for CLIM. Probably Richard Billington doing that helpful support? Maybe not alone. Again I'm not sure.
But the work of writing the browser was minimal compared to the printer support and didn't take huge calendar time because it was already kinda done. So I claim bragging rights on an accidental browser. :) There's a dilbert about such a feat, and when I saw it I laughed and thought "yeah, I did that".
https://dilbert-viewer.herokuapp.com/1995-11-14
Maybe more detail more than you wanted. I hope it doesn't sound like I cheated in making the original claim. I suppose it's a subjective matter what counts or doesn't. :)
#programming #techDiscussion of #commonLisp on #itch_io .
https://lispy-gopher-show.itch.io/moonclimb/devlog/791188/what-we-get-out-of-lisp
: A short pamphlet about what I think you get out of lisp. Namely #loop #format #clim #clos #conditions ie #iteration #prettyPrinting #GUI #oop #notCrashing
When I remember how to get any of my tildes back I will gopher the org doc.
ZHEN HOUSE ZHEN BONKWAVE FEAT IIOGAMA 202408231400_screwtape
https://toobnix.org/videos/watch/a51d501e-a419-481e-b9ab-81d9824d10c7
#lispyGopherClimate 000UTC Wed https://archives.anonradio.net/202408210000_screwtape.mp3 #archived
fallback 1: https://toobnix.org/w/gXLXQqxf5MYg1NDF2Ua6oA
#climate #haiku by @kentpitman https://climatejustice.social/@kentpitman/112610810683537666
Being a writer, kmp & @amoroso
Fun electronic #music by @decibyte
#lisp .. my #clim fake #moo / mooclient week https://codeberg.org/tfw/moonclimb
#gopher .. My thoughts on some of @alex 's recent thoughts and doings.
See you in paradise sushi everyone. #lambdaMOO
telnet lambda.moo.mud.org 8888
@join screwtape
#itch_io #lisp #exploratoryProgramming #programmingStyle #clim #programming
I wrote a small post describing the vibe of a particularly plain 18 minutes of programming I happened to do.
It's informative in that it's not an example of successfully showing off, but still conveys a different feeling to bland programming advice.
First quarter hour of a graphical+text adventure world (stroke moo fake moo client)
https://lispy-gopher-show.itch.io/moonclimb/devlog/782698/exploratory-programming
I've been #peertube ing some #lisp #mcclim #clim #programming baby steps style #howTo videos again. I use clim from #emacs #slime. I'm wending towards a moo fake + moo client fake.
https://toobnix.org/w/6KyGbAKARKN3vVaWkFp3zK
https://toobnix.org/w/2w9mN4Ery7aW4rh29msqg3
https://toobnix.org/w/sFPDZZsVSthx2KyHmwPKNY
@screwtape@toobnix.org I do actually livestream making each one.
@petrillic @robdaemon @mos_8502 @TomGwozdz
for me, automatically generated graphical user interfaces with lisp (#clim like https://mcclim.common-lisp.dev/ https://franz.com/products/allegrocl/acl80_gui_tools.lhtml https://www.lispworks.com/products/clim.html) are mindblowing. Even stuff like the properties of flipping ink systems - like, these were the people who made and published about things like that. Viz that thread, it basically took form after the context of Tufte in the 80s.
Eg this thread with kmp and jackdaniel recently https://climatejustice.social/@kentpitman/112925361530215380
#lispyGopherClimate
I got yanked away again, so prerecording 15 hours early. If the upload didn't work, here's the #peertube https://toobnix.org/w/i4xYbREx8Cbas49TDqnRho .
https://anonradio.net:8443/anonradio 0UTC Wednesdays.
#climate #haiku @kentpitman https://climatejustice.social/@kentpitman/112951011092061640
Incredible @limneticvillains #music . (Album - logic collapse 2022) (because of @etherdiver <3)
#lisp #clim #emacs #slime #interactiveProgramming #orgmode
around my #lambdaMOO faking and this thread https://climatejustice.social/@kentpitman/112925361530215380
@jackdaniel @kentpitman
sorry for the late reply, I had a thought on the topic of specialising on views other than +textual-view+ for either auditory or graphical content.
At least some clim texts suggest mostly not to try this and instead to use clim:define-presentation-action instead (ie, add the presentation-translator to your command table that when asked to present this presentation, perform this pure side effect instead (ie display an image or play a sound).
Example, one day. #lisp #clim
Still listening to this week's LispyGopher show. Now you're talking about whether CLIM is "about graphics" or "about present/accept".
Personally, I'd say these operate at different levels of abstraction so aren't in competition with one another.
One of the cool innovations of what was originally the Lisp Machine's "Dynamic Windows" and later became CLIM is this notion that present/accept are a very abstract way of saying that your program has stuff to give or receive without getting too into the weeds on how that will be done.
And yet when you render a specific presentation, it can't just be abstractly, you have to make concrete choices.
Graphics is one way to do it. Graphics offer a nice way to densely pack information in a way most of us have visual hardware to unpack efficiently.
Then again, one of my best friends is blind, and she'd likely dispute the efficiency of graphics as a way to communicate, and that's what's important about the presentation system--that it has rich enough understanding of what it's done that you could ask it, even after-the-fact, to re-present something in a different way that might be better accessible. And yet to do so in a way that doesn't say "different information needed to be presented", but merely "the information that got presented would be more helpful if it could be re-rendered based on different assumptions".
(Of course, it's been decades since I used CLIM. But I assume those kinds of things haven't changed much.)
Que mapper en cas de canicule pour aider les gens à trouver des lieux plus frais que le prince de bel air?
https://forum.openstreetmap.fr/t/activites-osm-en-cas-de-canicule/25828
#lispyGopherClimate https://archives.anonradio.net/202407240000_screwtape.mp3 #archived
#climate #haiku by @kentpitman https://climatejustice.social/@kentpitman/112834854410048957
#Hitchens ~2011 on how the climate climate was bad and things were going to get worse
https://www.vanityfair.com/news/2011/01/hitchens-201101
Kmp's Kamala note http://netsettlement.blogspot.com/2024/07/kamala-candidacy.html
#lisp #emacs #clim
Working on a minor mode for accepting-values and presentations git soon
#ITS high trust historical computing, also by kmp^
https://netsettlement.blogspot.com/2024/07/social-computing-before-internet.html
#music @datakrash https://revenge.day/discography
#unix_surrealism @prahou