jackdaniel, to Lisp
@jackdaniel@functional.cafe avatar

Using handler-bind to have a sneak peek at inner workings of a non-graphical function (i.e sort):

https://turtleware.eu/static/paste/handler-sort.lisp

I'm sometimes using this technique to debug programs - it could be considered to be an evolution of printf-debugging :-)

ad-hoc visualization of insert-sort
visualization of sort

charliemac, to random

After discovering a little more about the render backend in , I decided to take a detour to see how difficult it would be to implement a naive render-to-textured-quad with the WIP Wayland backend... It wasn't too bad and it looks much better!

My laptop fans cranks up so it's obviously inefficient but it's pointed out some boundaries that I think would behoove me to refactor to mixins.

Screen recording of an SBCL REPL session starting the McCLIM demos and interacting with the drawing tests demo. It's using the work-in-progress wayland backend for framebuffer swapping but rendering with the existing "Render backend" to an OpenGL textured quad. The various drawing tests selected show on-par rendering of curves, lines, and pictures. Text rendering is also smooth but larger than the reference panel.

charliemac, to random

Wow. It appears to work without modification on Ubuntu 23.04. It looks like Mutter has implemented all the wayland protocols the wayland FFI backend expects since I last attempted this.

jackdaniel, to Lisp
@jackdaniel@functional.cafe avatar

I've refactored drawing transformed text in McCLIM. Results are:

https://turtleware.eu/static/paste/benchmark.org

Numbers in before and after columns are "operations/s", where the operation is drawing 10 lines of text.

My favourite number is "400x faster".

Branch: buffer-output

#mcclim #lisp

jackdaniel, to Lisp
@jackdaniel@functional.cafe avatar

"Baseline unchained" - toward-point implementation and a new demo. In preparation for text directions other than left-to-right.

#mcclim #lisp

video/mp4

charliemac, to Lisp

There's been less time recently due to family matters but my still-alpha wayland-ffi backend for is rendering various patterns that CLIM supports -- seemingly in parity with the CLX backend at the moment.

Hooray for clime:%collapse-pattern which made things easier for a backend implementor / tinkerer.

jackdaniel, to Lisp
@jackdaniel@functional.cafe avatar

Working on something for too long leads to an unjustified frustration with the only cure being pushing it out of the door. Either way, enjoy :)

https://turtleware.eu/posts/Writing-an-ad-hoc-GUI-for-Coleslaw.html

#lisp #mcclim

jackdaniel, to Lisp
@jackdaniel@functional.cafe avatar

Working on a new tutorial

#lisp #mcclim

jackdaniel, to random
@jackdaniel@functional.cafe avatar

Output records with different sizes arranged on same baselines.

jackdaniel,
@jackdaniel@functional.cafe avatar

lo-and-behold! graphics on the text line:

#lisp #mcclim

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.

vruz, to Lisp
@vruz@mastodon.social avatar
jackdaniel, to Lisp
@jackdaniel@functional.cafe avatar

McCLIM 0.9.8 Yule

https://mcclim.common-lisp.dev/posts/McCLIM-098-Yule-release.html

Half a decade later and here we are, a new release! :)

#mcclim #lisp

frescosecco, to Lisp
@frescosecco@mastodon.social avatar

Bachiana Christmas project: automated music typesetting in #McCLIM. Yes, the layout needs improvement :)
#Lisp

jackdaniel, to Lisp
@jackdaniel@functional.cafe avatar

Line left-to-right
Page bottom-to-top

Blue- cursor position
Red - baseline
Green - line height

#lisp #McCLIM

frescosecco, to Lisp
@frescosecco@mastodon.social avatar

I wanted to look at the #McCLIM example apps, but all GUIs are displayed in tiny sizes. What's happening here?
#Lisp

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

in just under two hours from this toot https://anonradio.net:8443/anonradio @SDF
haiku @kentpitman https://climatejustice.social/@kentpitman/111558323740941257
Chomsky doom+students+climate https://yewtu.be/watch?v=0bGQoR2BF74
+an anonymised email

Hacker-facing interactive GUIs @pkw
https://mastodon.sdf.org/@pkw/111551283166945777

Episode 0, Bonkwave+Zhen House Set In LambdaMOO Friday 200UTC
@SrRochardBunson
@prahou

screwtape,
@screwtape@mastodon.sdf.org avatar
jackdaniel, to random
@jackdaniel@functional.cafe avatar

This is a very cool concept: http://recursivedrawing.com/

I'm considering making a demo for #mcclim implementing it.

amoroso, to random
@amoroso@fosstodon.org avatar

A fortunate side effect of CLIM's cross-platform design is manuals from all Lisp vendors are good learning resources.

Among them the CLIM 2.0 manual stands out as it was written for programming CLIM applications on any Lisp platform, has little Symbolics specific material, and provides a good tutorial section with lots of sample code.

http://lispm.de/docs/Publications/UI/1994%20Symbolics%20CLIM%202.0.pdf

amoroso, to random
@amoroso@fosstodon.org avatar

This paper is about presentations in the context of Dynamic Windows, the window system of Symbolics Genera. But CLIM presentations work nearly the same way and so the paper is a good introduction to them too.

https://dl.acm.org/doi/pdf/10.1145/73660.73678

jackdaniel, to Lisp
@jackdaniel@functional.cafe avatar

Some more testing, with real XKB keyboard imported.

#lisp #mcclim

video/mp4

jackdaniel, to Lisp
@jackdaniel@functional.cafe avatar

I wrote a blogpost about Proxy Generic Functions:
http://turtleware.eu/posts/Proxy-Generic-Function.html

Warning: full of the metaobject protocol

#lisp #mop #mcclim

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

First baby steps towards a install, then using together for what will later be my veilid internetworked first application.
Minimal example for clim application frames inside run from inside orgmode.

How can I start slime without the annoying new frame?
020 / please tell me either here or
gopher://tilde.club/0/~screwtape/synthember-100days-tooffload/020-veilid-orgmode-clim.org
https://gopher.tildeverse.org/tilde.club/0/~screwtape/synthember-100days-tooffload/020-veilid-orgmode-clim.org

amoroso, to random
@amoroso@fosstodon.org avatar

@jackdaniel @okflo The footer at the bottom of Nova Spec pages mentions Gilbert Baumann, see for example:

https://novaspec.org/cl/1_Introduction

jackdaniel,
@jackdaniel@functional.cafe avatar

@amoroso @okflo yes, he is a lisp hacker - also clim hacker (also in the past one of lead #mcclim devs, now he works on his own new implementation - not public so far I think). He also maintains #lispcafe at libera chat.

Earlier this year (or past) he parsed dpans and made novaspec.

jackdaniel, to Lisp
@jackdaniel@functional.cafe avatar

Today I've learned that Factor UI is heavily inspired by CLIM. Interesting! It even has presentations.

https://concatenative.org/wiki/view/Factor/UI

#factor #lisp #mcclim

amoroso, (edited ) to Lisp
@amoroso@fosstodon.org avatar

I'm checking out McCLIM, a great open source implementation of the Common Lisp Interface Manager (CLIM). Here are some McCLIM demos running in SBCL under Crostini Linux on my Chromebox.

#McCLIM #CommonLisp #clim

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