libera/#commonlisp - IRC Chatlog
Search
7:55:52
flip214
Does someone know of an update to https://gist.github.com/burtonsamograd/f08f561264ff94391300 (sbcl tree shaker)?
11:12:12
nij-
Hi :) Is there a reader macro that enables string without quoting? Something like #s("hello"x) ;; => "\"hello\"x" ?
11:54:32
bitblit1
Hello Everyone! It's been quite a long time since I was active here. Was busy with studies.
11:55:23
bitblit1
Thought I would check in. Also, I was thinking of making a window manager in common lisp. I still can't wrap my head around CFFI and there aren't many tutorials.
11:56:43
bitblit1
I don't know you have such a COOL aura around you, also you code in common lisp and helped me out a lot. Aside from that you made McCLIM which is probably the biggest reason I like you <3
11:57:53
bitblit1
UwU. Oh yeahhhh, I have so much forgotten knowledge. Forgot how fun staying here and being lectured by beach was.
12:03:46
bitblit1
Interesting, he also suggested I make some of the applications for CLOSOS, is he still around here nowadays?
12:04:24
jackdaniel
I feel kind of like like chat-gpt-1.5 at the moment with these terse answers but oh well
12:06:12
bitblit1
No, no, I love a response, better if it's clear, concise, and doesn't require extra info. If I were to ask a really technical (for me) question then that would be annoying. Also, chatgpt4 dropped, but I guess these discussions are more for #lispcafe
12:06:45
bitblit1
For McCLIM and other X11 apps, jackdaniel, do you prefer using some sort of XCB bindings or just CLX or some other method?
12:08:53
bitblit1
If I were to (probable), make a window manager entirely in common lisp, what should I make that in in your opinion
12:09:52
jackdaniel
I don't know; but you may look at this project for inspiration: https://github.com/admich/Doors
12:13:29
beach
bitblit1: You don't need FFI to make a window manager. And you may want to check out the Eclipse window manger written by my students many years ago.
12:14:23
beach
bitblit1: Metamodular doesn't have an SSL certificate, because I would have no idea how to give it one, and I am busy with other stuff.
12:22:21
bitblit1
beach: Yeah, just install CERTBOT from your package manager (I suppose you don't use windows or MacOS) and run the service.
12:28:25
cpli
https://0x0.st/H-ab.txt we're writing a cffi wrapper for libinput, passing the double pointer to <body>
12:33:22
cpli
didn't mean to paste all of https://www.freedesktop.org/software/libevdev/doc/1.4/group__uinput.html#gaf14b21301bac9d79c20e890172873b96 into chat
12:42:22
cpli
buffet, ElKowar and i are writing a cffi wrapper for libinput but this definition: https://0x0.st/H-ab.txt is causing us trouble, https://github.com/TeMPOraL/cl-sqlite/blob/master/sqlite.lisp#L91-L98 identically uses `cffi:with-foreign-object`... for me it currently bitshifts the evdev pointer by 12 to the right???
12:43:28
beach
bitblit1: contrapunctus has been working on Closos applications and you might want to check what has been accomplished and what is planned for in case you want to work on that.
12:45:51
jackdaniel
then you call alloc on (quote (:pointer (p-uinput)) -- again shadowing the binding p-uinput
12:46:50
cpli
jackdaniel: oh, yes we've been debugging this since yesterday, let me clean the definition up some more first
12:49:11
cpli
jackdaniel: evdev is a class with a slot `foreign-object` containing a cpointer to the libevdev cstruct
12:50:17
contrapunctus
bitblit1: the suggested projects are tracked here - https://codeberg.org/CLOSOS/projects/issues
12:57:43
contrapunctus
bitblit1: I'll have a look at it when I get home. I think it should be https://codeberg.org/contrapunctus/anathema
12:59:44
bitblit1
Oh that's perfect. However, the link in the [CLOSOS-PROJECTS](https://codeberg.org/CLOSOS/projects/) repo in codeberg is broken, and also the [CLIM-APP-BASE](https://codeberg.org/contrapunctus/clim-app-base)
16:01:29
pjb
cpli: well, it may be a C problem or a FFI problem. You could first write a C program to make sure you understand how to use the C library, and then reproduce it in lisp. That's how I did it when I worked with pkcs11 libraries.