jackdaniel changed the topic of #commonlisp to: Common Lisp, the #1=(programmable . #1#) programming language | Wiki: <https://www.cliki.net> | IRC Logs: <https://irclog.tymoon.eu/libera/%23commonlisp> | Cookbook: <https://lispcookbook.github.io/cl-cookbook> | Pastebin: <https://plaster.tymoon.eu/>
markb1 has quit [Ping timeout: 255 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
random-nick has quit [Ping timeout: 246 seconds]
Jach has quit [Quit: Leaving.]
OlCe has quit [Ping timeout: 252 seconds]
markb1 has joined #commonlisp
jeffrey has joined #commonlisp
markb1 has quit [Ping timeout: 255 seconds]
istewart has joined #commonlisp
OlCe` has joined #commonlisp
waleee has quit [Ping timeout: 276 seconds]
causal has quit [Quit: WeeChat 3.7.1]
NotThatRPG has quit [Quit: Textual IRC Client: www.textualapp.com]
molson has quit [Ping timeout: 255 seconds]
molson has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 248 seconds]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life_ is now known as Lord_of_Life
jello_pudding has joined #commonlisp
epony has quit [Ping timeout: 252 seconds]
epony has joined #commonlisp
grawlinson has quit [Quit: SIGTERM]
akoana has quit [Quit: leaving]
<Josh_2> ,((lambda (x) (print x)) :good-night)
<ixelp> ((lambda (x) (print x)) :good-night) ↩ :GOOD-NIGHT => :GOOD-NIGHT
grawlinson has joined #commonlisp
jeosol has joined #commonlisp
dipper has quit [Remote host closed the connection]
dipper has joined #commonlisp
thuna` has quit [Remote host closed the connection]
bilegeek has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Hibernating too long]
tyson2 has quit [Remote host closed the connection]
pranavats has joined #commonlisp
dre has quit [Quit: Leaving]
mariari has quit [Ping timeout: 250 seconds]
recordgroovy has joined #commonlisp
mariari has joined #commonlisp
ebrasca has quit [Remote host closed the connection]
Alfr has quit [Quit: Leaving]
jeosol has quit [Ping timeout: 244 seconds]
epony has quit [Ping timeout: 252 seconds]
epony has joined #commonlisp
jeffrey has quit [Quit: Client quit]
thonkpod_ has quit [Ping timeout: 255 seconds]
thonkpod_ has joined #commonlisp
jcowan has quit [Read error: Connection reset by peer]
jcowan has joined #commonlisp
dirtcastle has quit [Ping timeout: 246 seconds]
jsatk has quit [Ping timeout: 246 seconds]
jsatk has joined #commonlisp
Mrtn[m] has quit [Ping timeout: 246 seconds]
kakuhen has quit [Ping timeout: 246 seconds]
Helmholtz has quit [Ping timeout: 246 seconds]
phoe has quit [Ping timeout: 246 seconds]
phoe has joined #commonlisp
grawlinson has quit [Ping timeout: 252 seconds]
grawlinson_ has joined #commonlisp
grawlinson_ is now known as grawlinson
Alfr has joined #commonlisp
Mrtn[m] has joined #commonlisp
kakuhen has joined #commonlisp
dirtcastle has joined #commonlisp
istewart has quit [Quit: Konversation terminated!]
Helmholtz has joined #commonlisp
lucerne has quit [Read error: Connection reset by peer]
recordgroovy has quit [Ping timeout: 252 seconds]
recordgroovy has joined #commonlisp
bilegeek has quit [Quit: Leaving]
jeosol has joined #commonlisp
<Nilby> ,(list (lisp-implementation-version) (machine-version))
<ixelp> (list (lisp-implementation-version) (machine-version)) => ("Version 1.11.5/v1.11.5 (LinuxARM32)" NIL)
<Nilby> ,(lisp-implementation-type)
<ixelp> (lisp-implementation-type) => "Clozure Common Lisp"
<Nilby> sorry, just curious
epony has quit [Ping timeout: 252 seconds]
epony has joined #commonlisp
dipper has quit [Remote host closed the connection]
IPmonger has joined #commonlisp
IPmonger has quit [Remote host closed the connection]
Alfr is now known as Guest359
Guest359 has quit [Killed (sodium.libera.chat (Nickname regained by services))]
Alfr has joined #commonlisp
rgherdt has joined #commonlisp
epony has quit [Quit: QUIT]
thonkpod_ has quit [Ping timeout: 255 seconds]
thonkpod_ has joined #commonlisp
<Posterdati> phoe: gsll is broken under clisp too :)
igemnace has joined #commonlisp
enzuru has quit [Quit: ZNC 1.8.2 - https://znc.in]
epony has joined #commonlisp
enzuru has joined #commonlisp
<Posterdati> hi :)
<phoe> heyyy
<Posterdati> phoe: do you use clisp?
<phoe> nope
epony has quit [Remote host closed the connection]
epony has joined #commonlisp
lucerne has joined #commonlisp
recordgroovy has quit [Ping timeout: 252 seconds]
recordgroovy has joined #commonlisp
<Posterdati> phoe: gsll is plagued by an antik bug about #\# macro definition
pve has joined #commonlisp
lucerne has quit [Ping timeout: 255 seconds]
azimut has quit [Ping timeout: 258 seconds]
<phoe> Posterdati: huh? I can't see any SET-MACRO-CHARACTER in antik/gsll
<phoe> same for dispatch macros
<phoe> or is it elsewhere?
<Posterdati> phoe: antik-master-df14cb8c-git/input-output/readtable.lisp
<Posterdati> the first #- macro for ccl
<phoe> ooh, it's in antik and no gsll
<Posterdati> antik
<ixelp> input-output/readtable.lisp · master · antik / antik · GitLab
<Posterdati> wait!
<Posterdati> I'm running an old antik realease...
<Posterdati> ok
<Posterdati> as I said
<Posterdati> that macro is the culprit
<ixelp> readtable problem with clasp (#6) · Issues · antik / antik · GitLab
<Posterdati> ;;; ** Reader error in file #<input stream #P"/usr/local/share/quicklisp/dists/quicklisp/software/gsll-quicklisp-eeeda841-git/polynomial.lisp" 0x7f8cd7d19c80>, position 2690:
<Posterdati> it should be removed
<ixelp> ECL and CLISP compatibility fixes (!1) · Merge requests · antik / antik · GitLab
<phoe> it seems like your problem is already resolved with this MR
<phoe> but this MR has been unmerged for four years
<phoe> who is the owner for these repos? they seem unmaintained
<Posterdati> phoe: I think the same of gsll
<Posterdati> phoe: if antik/gsll starting to misbehave under sbcl too I will forced to translate my projects into c++
<ixelp> GitHub - tapioco71/loadflow: Powerflow calculator with a simple problem description syntax.
Dynom_ has joined #commonlisp
Dynom_ is now known as Guest5966
jeffrey has joined #commonlisp
semz has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
jeffrey has quit [Ping timeout: 252 seconds]
semz has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
jeffrey has joined #commonlisp
shka has joined #commonlisp
rgherdt has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
semz has quit [Quit: ZNC 1.7.5+deb4 - https://znc.in]
semz has joined #commonlisp
aartaka has joined #commonlisp
semz has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
semz has joined #commonlisp
ttree has quit [Ping timeout: 246 seconds]
<phoe> Posterdati: or fork gsll and antik, or find the maintainer for antik
<phoe> or assign a new one
<Posterdati> for antik?
<phoe> yes
<phoe> it's hosted on clnet, so clnet admins can add new maintainers at will
<phoe> you could probably become one if you wish, too
semz has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
Cymew has joined #commonlisp
mgl has joined #commonlisp
semz has joined #commonlisp
enzutwo has joined #commonlisp
enzuru has quit [Ping timeout: 252 seconds]
semz has quit [Client Quit]
semz has joined #commonlisp
szkl has quit [Quit: Connection closed for inactivity]
lucerne has joined #commonlisp
scymtym has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
jmdaemon has quit [Ping timeout: 246 seconds]
overclucker_ has joined #commonlisp
overclucker has quit [Ping timeout: 255 seconds]
<Posterdati> phoe: would be nice...
lucerne has quit [Ping timeout: 252 seconds]
sedzcat has joined #commonlisp
<phoe> Posterdati: try asking on #common-lisp.net
<phoe> if there's been PRs hanging for four years then they should like the idea of a new maintainer
jeffrey has quit [Ping timeout: 252 seconds]
<jackdaniel> wouldn't trying to contact the current author/maintainer first a good idea?
<Posterdati> yes
<phoe> yes
pillton has quit [Remote host closed the connection]
random-nick has joined #commonlisp
causal has joined #commonlisp
<phoe> looks like that would be Liam M. Healy <lhealy@common-lisp.net> according to git information
<phoe> and this is not a person that I think I have ever seen around here or spoken to myself
<jackdaniel> he is, at least in name, the maintainer of cffi-libffi system
<phoe> luis: are you aware of whether he's active in lisp world nowadays?
cosimone has joined #commonlisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #commonlisp
cosimone has quit [Remote host closed the connection]
makomo_ has joined #commonlisp
<Josh_2> Mornin :sunglasses:
<Josh_2> Although the weather here is so bad I wont be needing those sunglasses
<phoe> :glasses:
Cymew has quit [Ping timeout: 252 seconds]
Cymew has joined #commonlisp
jello_pudding has quit [Ping timeout: 276 seconds]
random-nick has quit [Ping timeout: 255 seconds]
tyson2 has joined #commonlisp
karlosz has quit [Quit: karlosz]
jello_pudding has joined #commonlisp
aartaka has quit [Ping timeout: 248 seconds]
aartaka has joined #commonlisp
X-Scale has joined #commonlisp
jello_pudding has quit [Ping timeout: 276 seconds]
jello_pudding has joined #commonlisp
lucerne has joined #commonlisp
aartaka has quit [Read error: Connection reset by peer]
szkl has joined #commonlisp
causal has quit [Ping timeout: 246 seconds]
tibfulv has quit [Remote host closed the connection]
pjb has quit [Ping timeout: 252 seconds]
causal has joined #commonlisp
mgl has quit [Ping timeout: 244 seconds]
tibfulv has joined #commonlisp
aartaka has joined #commonlisp
Cymew has quit [Ping timeout: 252 seconds]
jolby has joined #commonlisp
Cymew has joined #commonlisp
cage has joined #commonlisp
francogrex has joined #commonlisp
zyni-moe has joined #commonlisp
zyni-moe has quit [Quit: died]
pjb has joined #commonlisp
_cymew_ has joined #commonlisp
francogrex has quit [Ping timeout: 268 seconds]
elevenkb has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
_cymew_ has quit [Ping timeout: 272 seconds]
markb1 has joined #commonlisp
elevenkb has quit [Quit: Client closed]
eddof13 has joined #commonlisp
shka has quit [Read error: Connection reset by peer]
jolby has quit [Quit: Client closed]
waleee has joined #commonlisp
elevenkb has joined #commonlisp
lucerne has quit [Ping timeout: 252 seconds]
shka has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elevenkb has quit [Quit: Ping timeout (120 seconds)]
thuna` has joined #commonlisp
jeosol has quit [Quit: Client closed]
eddof13 has joined #commonlisp
tibfulv_ has joined #commonlisp
tibfulv has quit [Ping timeout: 252 seconds]
keinbock has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
karlosz has joined #commonlisp
makomo_ has quit [Quit: WeeChat 3.6]
ec has quit [Remote host closed the connection]
jolby has joined #commonlisp
rgherdt has joined #commonlisp
ec has joined #commonlisp
<Josh_2> How do I check the metaclass of a class?
<jackdaniel> (class-of (class-of 3))
<Josh_2> Awesome thanks :)
<jackdaniel> sure
justache is now known as justPardoned
rgherdt has quit [Ping timeout: 272 seconds]
_cymew_ has joined #commonlisp
karlosz has quit [Quit: karlosz]
recordgroovy has quit [Ping timeout: 246 seconds]
recordgroovy has joined #commonlisp
ttree has joined #commonlisp
shka has quit [Ping timeout: 252 seconds]
shka has joined #commonlisp
lucerne has joined #commonlisp
tibfulv_ is now known as tibfulv
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
Lord_Nightmare has joined #commonlisp
recordgroovy has quit [Ping timeout: 248 seconds]
recordgroovy has joined #commonlisp
jolby has quit [Quit: Client closed]
jolby has joined #commonlisp
azimut has joined #commonlisp
Demosthenex has quit [Quit: leaving]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Demosthenex has joined #commonlisp
rgherdt has joined #commonlisp
jeosol has joined #commonlisp
xaltsc has joined #commonlisp
Demosthenex has quit [Changing host]
Demosthenex has joined #commonlisp
Demosthenex has quit [Client Quit]
Demosthenex has joined #commonlisp
Demosthenex has quit [Client Quit]
Demosthenex has joined #commonlisp
rgherdt_ has joined #commonlisp
rgherdt has quit [Ping timeout: 252 seconds]
random-nick has joined #commonlisp
semz has quit [Quit: ZNC 1.8.2+deb2build5 - https://znc.in]
semz has joined #commonlisp
eddof13 has joined #commonlisp
rgherdt_ has quit [Remote host closed the connection]
Seok__ has joined #commonlisp
<Seok__> where can I get help on cl-sdl2?
<jackdaniel> the source code is quite informative if you are into that kind of thing
<jackdaniel> there is a separate package that exports the whole foreign interface from autogenerated wrapper
<jackdaniel> cl-sdl2 interfaces build on top of that
<Seok__> I'm trying to read it,
<Seok__> I'm trying to understand this function (defun create-rgb-surface-from (pixels width height depth pitch
<Seok__> &key (r-mask 0) (g-mask 0) (b-mask 0) (a-mask 0))
cosimone has joined #commonlisp
<Seok__> hm, ok I'll try and find the file with the autogenerated wrapper
<ixelp> SDL_CreateRGBSurfaceFrom - SDL Wiki
<jackdaniel> I think that it is generated with cl-autowrap and that there is no "source file"
<aeth> It's not easy to understand at all. It's very clever, very undocumented, and also kind of incomplete. It tried to add some higher level framework on top of SDL2
shka has quit [Ping timeout: 252 seconds]
<aeth> The stuff that maps 1:1 with the foreign documentation is comparatively easy, though
<Seok__> yeah, I assumed there was no documentation for it since it doesn't mention any at the github page
shka has joined #commonlisp
<Seok__> a lot of the stuff in the source are just 1:1 wrapper for C SDL2, but there are some new stuff like you said
gxt has quit [Remote host closed the connection]
<aeth> what really got me when I was trying to understand it is that some things don't even exist at all
gxt has joined #commonlisp
<aeth> implicitly defined macrolets inside of macros
<aeth> Good luck.
<Seok__> : )
<aeth> maybe #lispgames can help
<jackdaniel> I'd stick to the C-defined interface and build from there; then all sdl2 tutorials are directly translatable
<aeth> There are other wrappers that are closer to just being the C-defined interface. I've been meaning to migrate for a while.
<aeth> cl-sdl2 felt to me more like reverse-engineering the design of cl-sdl2 rather than learning SDL2 the documented C library.
OlCe` has quit []
OlCe has joined #commonlisp
<aeth> It does some weird things (that probably affect performance, too) like wrapping C pointers in CL structs... iirc so finalizers can be written for it.
ec has quit [Remote host closed the connection]
anticomputer has quit [Remote host closed the connection]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
anticomputer has joined #commonlisp
ec has joined #commonlisp
<Seok__> if I want to use the auto-wrapped functions, do I have to pass the appropriate CFFI objects to the functions?
attila_lendvai has joined #commonlisp
attila_lendvai has quit [Read error: Connection reset by peer]
scymtym_ has quit [Quit: ERC 5.4.1 (IRC client for GNU Emacs 29.0.50)]
eddof13 has joined #commonlisp
* jackdaniel is appreciating little things like PSETF
tane has joined #commonlisp
tane has joined #commonlisp
tane has quit [Changing host]
<phoe> ah yes, parallel SETF - assigns multiple values to one variable by creating a new parallel universe for each value assigned
<phoe> too bad there is no standard operator for collapsing them back
<semz> aeth: I had the same experience with cl-sdl2 and ended up wrapping the necessary parts of SDL myself with cffi. Probably the 120th guy to do so...
tyson2 has joined #commonlisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #commonlisp
<jolby> Seok__: Another option might be borodust's aw-sdl bindings. They are basically a thin 1-1 mapping to the C API. https://github.com/borodust/aw-sdl
<ixelp> GitHub - borodust/aw-sdl: Common Lisp bindings for SDL2
<aeth> semz: what I did was I just directly accessed a bunch of internals from cl-sdl2 instead of going through its high level stuff.
semz_ has joined #commonlisp
semz has quit [Ping timeout: 252 seconds]
semz_ is now known as semz
<aeth> semz: what I did was I just directly accessed a bunch of internals from cl-sdl2 instead of going through its high level stuff.
<aeth> iirc the (C?) structs required some ugly, manual parsing based on an internal representation or something.
<aeth> but the rest was basically just there, at a lower layer
<aeth> jolby: I wouldn't be surprised if that wrapper's close to a drop-in replacement because borodust basically just wrote an improved fork of autowrap
<aeth> at least, once you get past the initialization
<jolby> aeth: Yeah I like the bindings generated by CLAW better than cl-autowrap. I like having the generated lisp source to consult rather than some inscrutable macrology.
Cymew has quit [Ping timeout: 248 seconds]
<aeth> afaik, the author of autowrap wanted to write some incredibly clever code, was dissatisfied with the performance of this clever code, decided to write a big C++ framework to foreign-call into instead, and then basically just stuck with C++
<aeth> which itself hasn't been updated in 2 years. https://github.com/rpav/GameKernel
<ixelp> GitHub - rpav/GameKernel: GameKernel is a command-driven "kernel" of game functionality. Its goal is to be a fast, porta [...]
<aeth> then mfiano, who is moving to Julia, took over maintenance of cl-sdl2
<aeth> which is primarily used because of its name and because 95% of the other many, many SDL2 bindings aren't even on Quicklisp
<aeth> it's probably best to encourage the use of another SDL2 binding library
<aeth> jolby: and personally, I like fancy macros, but only my own
<aeth> because I know how those work
matt` has joined #commonlisp
cosimone has quit [Remote host closed the connection]
bilegeek has joined #commonlisp
cosimone has joined #commonlisp
<thuna`> ,(defgeneric foo (bar) (:method ((bar (eql 'nil))) t))
<ixelp> (defgeneric foo (bar) (:method ((bar (eql 'nil))) t)) => #<STANDARD-GENERIC-FUNCTION FOO #x144276CE>
cosimone has quit [Remote host closed the connection]
shka has quit [Ping timeout: 252 seconds]
<thuna`> Is it possible to do DEFINE-CONDITION so that ERROR doesn't want key arguments? I want to be able to do something like (ERROR 'FOO-ERROR FOO-VALUE)
tyson2 has quit [Remote host closed the connection]
mfiano has quit [Quit: WeeChat 3.7.1]
mfiano has joined #commonlisp
<Bike> No.
<thuna`> That's too bad. Something similar to DEFSTRUCT would have been nice.
<Bike> You can define your own function to signal an error. at that point you're not getting too much out of inheritance anyway.
mfiano has quit [Quit: WeeChat 3.7.1]
mfiano has joined #commonlisp
mfiano has quit [Client Quit]
cage has quit [Quit: rcirc on GNU Emacs 27.1]
_cymew_ has quit [Ping timeout: 246 seconds]
epony has quit [Quit: QUIT]
<Bike> Is anyone familiar enough with Staple to know how to make documentation that's more than one page, with links between them? I have a pretty complex system and I'd like to not cram everything into one README file.
igemnace has quit [Remote host closed the connection]
epony has joined #commonlisp
<Bike> Or am I barking up the wrong tree here
willfish has joined #commonlisp
mfiano has joined #commonlisp
mfiano has quit [Client Quit]
matt`` has joined #commonlisp
<Shinmera> jolby: I've been using GLFW instead of SDL with pretty much zero issues.
<Shinmera> it does less for sure, but everything it doesn't do that sdl does is solveable with pure-lisp libraries these days.
<Shinmera> Bike: hello.
matt` has quit [Ping timeout: 252 seconds]
<Shinmera> Bike: You're meant to create a custom PROJECT that has the PAGE instances you want.
tane has quit [Ping timeout: 252 seconds]
<Bike> mhm, figured it would come to that. do you know of any examples i could look at? i've been looking at some of yours, but so far i'm only seeing one page per system.
<jolby> Shinmera: Thanks, that's good to know and good to hear that more of what SDL does can just be done in common lisp.
<Shinmera> Bike: I've only used multiple pages in two ways, both of which are mostly automated. For instance, in Radiance I have an english and japanese version. Staple picks that up automatically and generates the pages and links: https://shirakumo.github.io/radiance/
<ixelp> Radiance
<Shinmera> In Alloy for instance I use the automated "subsystems" which splits other ASDs into their own pages: https://shirakumo.github.io/alloy/
<ixelp> Alloy
Guest5966 has quit [Quit: WeeChat 3.7.1]
<Shinmera> If you want to customise beyond those automatic ways, you'll want to specialise on FIND-PROJECT and create your own PROJECT instance with the appropriate PAGE instances attached. IIRC it's fully generic, so for instance a project by itself just has a PAGES generic function you can specialise. Or you can make a SIMPLE-PROJECT instance and push to its PAGES slot.
<Shinmera> The different PAGE types are all documented, there's ones for just emitting a page based on a markdown/whatever file
<Shinmera> As for cross-referencing, you just use a relative link to whatever you decide to name the other pages.
mfiano has joined #commonlisp
<Bike> I saw the different languages thing, but that's not quite what I have in mind. So I will have to play around with a PROJECT. thanks for the tips
<Shinmera> Sure. To be clear, the split pages thing was never properly explored in practise by myself, so if it's more annoying than it should be, please let me know.
<Shinmera> It's also possible that INFER-PROJECT could be improved to automate such setups, as well.
mfiano has quit [Client Quit]
<Bike> Yeah, I figured it would be a bit of an uphill battle. That's fine, I know I have something complex here. so far I've tried just throwing another .md file into the repo to see if staple would pick up on it, but that does not seem to be happening
<Shinmera> See the DOCUMENTS generic function
tane has joined #commonlisp
tane has quit [Changing host]
tane has joined #commonlisp
<Shinmera> And also possibly the *DOCUMENT-PATTERNS*
tane has quit [Remote host closed the connection]
<Shinmera> The problem with doing it that way though is that Staple will add the full system index to the end for each of those documents
<Shinmera> which is proooobably not what you want :)
<Bike> indeed, not quite. i also already tried DOCUMENTS and that doesn't seem to have helped. probably i just need to make that PROJECT and go from there
<Shinmera> yeah, it's what you're meant to do.
<Shinmera> Feel free to braindump / pester over in #shirakumo at any time.
<Bike> Sure. I noticed it fell off my autojoin earlier today, oops
Guest72 has joined #commonlisp
Guest72 has quit [Client Quit]
cosimone has joined #commonlisp
bilegeek has quit [Quit: Leaving]
willfish has quit [Ping timeout: 255 seconds]
jeosol has quit [Quit: Client closed]
cosimone has quit [Remote host closed the connection]
<frodef> Does anyone know of a library function that will compute a checksum of an arbitrary data-structure?
sedzcat has quit [Quit: sedzcat]
<Shinmera> No
<Shinmera> This feels similarly perilous as trying to clone an arbitrary object.
<Shinmera> Or trying to do a generic "equality" test
mfiano has joined #commonlisp
lucerne has quit [Read error: Connection reset by peer]
akoana has joined #commonlisp
<frodef> Shinmera: it's to decide whether a full reload of data is needed.
<Shinmera> My point is, a generic library cannot determine which bits in a data structure are relevant to the hashing process or not.
ec has quit [Ping timeout: 258 seconds]
<Shinmera> As long as the structure isn't cyclical it should be fairly easy to do it yourself just feeding bits into an ironclad digest.
ec has joined #commonlisp
<Shinmera> And, well, as long as you're not using something like a hash table where the iteration order isn't guaranteed to be consistent, I suppose. It gets tricky fast :)
<phoe> frodef: you need to define it yourself, see e.g. how cl-murmurhash does it
<frodef> Think I'll just do sxhash
thuna` has quit [Remote host closed the connection]
Spawns_Carpeting has quit [Quit: ZNC 1.8.2+deb2+b1 - https://znc.in]
jmdaemon has joined #commonlisp
Spawns_Carpeting has joined #commonlisp
dipper has joined #commonlisp
matt``` has joined #commonlisp
matt`` has quit [Read error: Connection reset by peer]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
random-nick has quit [Ping timeout: 248 seconds]
jealousmonk has joined #commonlisp
eddof13 has joined #commonlisp