libera/#commonlisp - IRC Chatlog
Search
3:50:45
mathrick
so I have this custom method combination: (define-method-combination first-successful () ((providers (:provider . *))) ...)
3:57:20
mathrick
so then I have this GF: (defgeneric load-audio-file (loader file-or-stream) (:method-combination first-successful) ...)
3:57:51
mathrick
and a method: (defmethod load-audio-file first-successful :provider :openal ((loader audio-loader) file-or-stream) ...)
3:59:14
mathrick
invalid method error for #<STANDARD-METHOD CLUTCH-AUDIO:LOAD-AUDIO-FILE CLUTCH-AUDIO-OPENAL::FIRST-SUCCESSFUL :PROVIDER :OPENAL (AUDIO-LOADER T) {1004B355D3}>
4:02:37
mathrick
I expect that I made a mistake in the method group specifiers with (:provider . *), but based on my reading of CLHS, that's what the syntax should be
4:28:49
dbotton
someone asked me if my code uses SLIME or SLY and I guess I am a bit confused. You can start the clog builder from a slime REPL, you can start it from a sly REPL. you can start it directly from sbcl, you can build an exe at use the REPL I wrote that runs in the browser. I guess I am confused as to how to properly understand and answer the question, any one can shed better light on what the relationship is of slime and sly and
5:14:01
dbotton
The builder currently has an issue with the elements of bootstrap that use data attributes
5:14:36
saturn2
dbotton: the CL half of slime is called swank, maybe they meant to ask whether it uses that to interact with the debugger and such
5:16:32
dbotton
I plan on a fix in the builder in the future that will handle the data attributes for bootstrap when using then builder but may be a month or so
5:19:21
dbotton
If you like clog I am happy to help you with how to make plugins and maybe you can do the bootstrap plugin for clog
5:25:43
saturn2
anyway, the relationship is that slime runs in emacs, and swank runs in the lisp image, and they communicate over a socket
5:30:30
saturn2
yeah, although they're developed together as part of the same project, so it's a bit confusing
5:30:38
edgar-rft
dbotton: slime and sly *both* are Emacs Lisp code an therefore can only be used by Emacs
6:41:29
neominimum
Anyone used the local-time library recently. Doing `adjust-timestamp` with`(set part value)` doesn't seem to work for me. Instead of returning a timestamp with the `part` component set to the value, it's returning the epoch with the `part` component offset by the provided value (`part` being one of :day, :month, :year, etc.).
6:52:59
neominimum
Never mind, I was trying to set the day using :day but instead it needs :day-of-month
7:17:18
Shinmera
mathrick: I'm afraid I may not remember if I've asked this before, but: any reason you're not using Harmony?
7:32:39
mathrick
Shinmera: yeah, it's simply because it's useful to wrap a couple things at this stage simply to inform the design, I intend to switch over to Harmony afterwards
7:39:30
Shinmera
Ok. Have you looked at how allocation and stuff works with Harmony, to ensure your design can actually switch over?
11:39:58
Shinmera
At least I consider "how often am I annoyed by the language/environment" to be probably the most important factor when making stuff.
11:40:13
Gnuxie
kakuhen: the messages are one way, our messages can be seen but we can't see theirs.
11:40:54
Gnuxie
i don't think it will be fixed https://github.com/matrix-org/matrix-appservice-irc/issues
11:45:16
kakuhen
Gnuxie: well, I guess that will help cure my IRC addiction and get back to work on projects...
11:45:49
kakuhen
thankfully #macports still works so I can still bug easye and others about all of the CL impls they maintain there :P
11:56:01
jcowan
ACTION predicts that in the end everyone else will drop support for IRC as too minority and too finicky, and leave us all alone, "Iarwain Ben-adar, last as he was first"
13:17:11
someguylolol
i'm looking for suggestions on how to get started with CL + vulkan. I'm a noob and want to be able to sort out rendering pipelines in different threads, and useĀ vertex, fragment + compute shaders. Looking for a decent starting point or pointers on how to find it myself
13:31:16
Shinmera
Afaik there isn't much yet. Some people started working on bindings, but nothing really exists yet.
13:32:43
yottabyte
up until now I've only written single file programs in emacs, how does working on a large project look like in practice? can I go to the definition of functions defined in other files easily, like in IDEs for other languages, or do I need to install some emacs package to help me out?
13:33:21
yottabyte
I haven't done much debugging either, stuff like breakpoints, I just try different things in the repl and edit my functions to have prints in them
13:34:32
random-nick
if you're already using SLIME, you should be able to use its jump to definition command if the function whose definition you want to jump to is loaded in the lisp image SLIME is connected to
13:34:45
someguylolol
Shinmera if anyone interested in that stuff is here I'd love to team up - it's something my company want to seriously look into
13:35:41
Shinmera
Well, I run #shirakumo and several people hang out there that are generally interested in graphics and games and such.
13:37:16
Shinmera
There's also #lispgames, I think? I'm not there, though. The channel tends to be too noisy for my liking.
13:41:28
Shinmera
I personally can't commit any resources to it, I already have enough on my plate with sound system, ui toolkit, engine, and game.
13:41:50
Shinmera
Switching to Vulkan at this point would also be extremely costly for no, to me, perceptible benefit
13:53:43
random-nick
hmm, vulkan seems to have an official and normative xml specification of the API
15:03:59
|3b|
ACTION is still using opengl as well though, not enough time for caring about 3d APIs at the moment :/