phoe 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/>
igemnace has joined #commonlisp
Oladon has joined #commonlisp
orestarod has quit [Ping timeout: 245 seconds]
notzmv has joined #commonlisp
ec has quit [Quit: ec]
s-liao has quit [Ping timeout: 256 seconds]
s-liao has joined #commonlisp
shka has quit [Ping timeout: 240 seconds]
FareTower has joined #commonlisp
morganw has quit [Remote host closed the connection]
FareTower has quit [Ping timeout: 240 seconds]
Bike has quit [Quit: Lost terminal]
random-nick has quit [Ping timeout: 240 seconds]
Cena has joined #commonlisp
beach` has joined #commonlisp
beach has quit [Ping timeout: 240 seconds]
FareTower has joined #commonlisp
okflo has quit [Ping timeout: 240 seconds]
okflo has joined #commonlisp
Guest74 has joined #commonlisp
Oladon has quit [Quit: Leaving.]
robin_ has joined #commonlisp
robin has quit [Killed (NickServ (GHOST command used by robin_))]
robin_ is now known as robin
occ has quit [Quit: Leaving.]
hashfunc133c has joined #commonlisp
Inline__ has joined #commonlisp
Inline has quit [Ping timeout: 250 seconds]
pranavats has joined #commonlisp
s-liao has quit [Quit: Client closed]
Bike has joined #commonlisp
beach` is now known as beach
hineios8 has joined #commonlisp
dirtcastle has joined #commonlisp
hineios8 is now known as hineios
hineios has quit [Ping timeout: 272 seconds]
s-liao has joined #commonlisp
ryanbw has quit [Remote host closed the connection]
<beach> Good morning everyone!
azimut_ has quit [Remote host closed the connection]
azimut has joined #commonlisp
Inline has joined #commonlisp
s-liao has quit [Quit: Client closed]
Inline__ has quit [Ping timeout: 250 seconds]
dec0d3r has quit [Quit: Leaving]
tyson2 has quit [Remote host closed the connection]
hashfunc133c has quit [Ping timeout: 240 seconds]
wyrd has quit [Quit: leaving]
semz_ has joined #commonlisp
semz has quit [Ping timeout: 250 seconds]
dirtcastle has quit [Ping timeout: 240 seconds]
wyrd has joined #commonlisp
dirtcastle has joined #commonlisp
Bike has quit [Quit: Connection closed]
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
rotateq has quit [Quit: ERC (IRC client for Emacs 27.2)]
azimut_ has joined #commonlisp
azimut has quit [Ping timeout: 240 seconds]
aartaka has joined #commonlisp
s-liao has joined #commonlisp
jealousmonk has quit [Quit: ERC 5.4.1 (IRC client for GNU Emacs 27.1)]
s-liao has quit [Quit: Client closed]
dirtcastle has quit [Remote host closed the connection]
eugercek has joined #commonlisp
eugercek has quit [Read error: Connection reset by peer]
eugercek has joined #commonlisp
eugercek has quit [Read error: Connection reset by peer]
eugercek has joined #commonlisp
knusbaum has quit [Ping timeout: 256 seconds]
mixfix41 has quit [Ping timeout: 240 seconds]
ryanbw has joined #commonlisp
knusbaum has joined #commonlisp
azimut_ has quit [Remote host closed the connection]
azimut has joined #commonlisp
wyrd has quit [Remote host closed the connection]
azimut has quit [Remote host closed the connection]
azimut_ has joined #commonlisp
wyrd has joined #commonlisp
mixfix41 has joined #commonlisp
<Josh_2> Hi
FareTower has quit [Ping timeout: 250 seconds]
Cymew has joined #commonlisp
azimut_ has quit [Remote host closed the connection]
azimut has joined #commonlisp
admich has joined #commonlisp
attila_lendvai has joined #commonlisp
<Josh_2> What is the general consensus on writing lisp systems where a single system has a lot of the functionality divided into various packages?
silasfox has joined #commonlisp
<beach> I don't know that there is a consensus, but I tend to divide a large code base into "modules", where each module lives in a separate directory, has a separate ASDF system definition, a file containing a package definition (perhaps more than one), and one or more files containing source code.
waleee has quit [Ping timeout: 250 seconds]
Cena has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<edgar-rft> consensus is offtopic in #commonlisp :-)
<edgar-rft> Fare has written a lot while maintaining ADSF, for example -> https://github.com/fare/asdf/blob/master/doc/best_practices.md
<edgar-rft> much more can be found by searching the internet for words like "fare rideau asdf"
MajorBiscuit has joined #commonlisp
shka has joined #commonlisp
s-liao has joined #commonlisp
<Josh_2> beach: I tend to do that as well, but some seem to have new packages for almost every file
<Josh_2> edgar-rft: thanks for that link, I haven't seen that before
<jackdaniel> I'm usually defining a single implementation package (and the whole system lives in it), that uses one or more "api" packages
<jackdaniel> that way I'm a) avoiding hassle when a symbol moves from one api package to another (that may be a nightmare); b) ensuring that all api package may be USE-d by a single package
mgl has joined #commonlisp
<Josh_2> In general I do this as well
<flip214> any news about ELS registration? looks like we just go in and register on-site...
mogan90 has joined #commonlisp
Krystof has joined #commonlisp
s-liao has quit [Quit: Client closed]
<Shinmera> No news :/
amb007 has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
saltrocklamp[m] has quit [Quit: You have been kicked for being idle]
seragold[m] has quit [Quit: You have been kicked for being idle]
Dynom has joined #commonlisp
<Josh_2> Lul imagine going onto the common lisp subreddit and seeing a big giant non lisp flag :facepalm:
<jackdaniel> I wouldn't be surprised if most people wouldn't notice - the "old" reddit interface doesn't allow styling
<jackdaniel> Shinmera: congrats on the demo release
<Shinmera> Thanks!
<Shinmera> Got some good feedback already :)
amb007 has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
eugercek has quit [Remote host closed the connection]
xaltsc has quit [Read error: Connection reset by peer]
aartaka has quit [Ping timeout: 272 seconds]
aartaka has joined #commonlisp
cosimone has joined #commonlisp
<Josh_2> 1 file 1 package really seems like a pita
Dynom has quit [Quit: WeeChat 3.4]
mgl has quit [Quit: Client closed]
kevingal has joined #commonlisp
lisp123mobile has joined #commonlisp
<lisp123mobile> josh_2: Many people I have heard gravitate towards 1 package / 1 file
<Josh_2> Yes I see
<lisp123mobile> I go for single package and large files these days (2k loc is what I consider as large)
<lisp123mobile> Its been really enjoyable just to completely finish a whole set of functionality in one file vs spending too much time figuring out how to organise things
<pjb> for a long time now, computed have had enough RAM to let you edit enormous source files easily. And editors are sophisticated enough that it's not inconvenient at all, on the contrary (with features such as jump to definition, etc).
<lisp123mobile> writing all those package definitions kept disrupting my “flow”
<pjb> so the size of source files really doesn't matter anymore.
<lisp123mobile> pjb: agreed!
<pjb> Consider it more like a database of toplevel forms.
kevingal has quit [Ping timeout: 240 seconds]
kevingal has joined #commonlisp
<pjb> Now, it's nice to put each component in its own package. If you don't do that, even for simple programs, you can easily get name collisions between components because of the number of homonyms in human languages.
<pjb> Also, it's better to use multiple package when you're working in a team of programmers.
<pjb> Just do what works for you for your current project!
<lisp123mobile> One thing I struggle with is I like to avoid using my personal utils library in projects because it creates an extra dependency, and rather I copy across the relevant functions from my personal collection
aartaka has quit [Ping timeout: 272 seconds]
<lisp123mobile> …need to write some elisp to auto-import forms and the forms they depend on..
aartaka has joined #commonlisp
lisp123mobile has quit [Ping timeout: 240 seconds]
lisp123mobile has joined #commonlisp
aartaka has quit [Ping timeout: 240 seconds]
aartaka has joined #commonlisp
s-liao has joined #commonlisp
ebrasca has joined #commonlisp
lisp123mobile has quit [Remote host closed the connection]
xaltsc has joined #commonlisp
mgl has joined #commonlisp
froggey-1 is now known as froggey
s-liao has quit [Ping timeout: 256 seconds]
random-nick has joined #commonlisp
Cena has joined #commonlisp
Brucio-61 has quit [Ping timeout: 256 seconds]
scymtym has quit [Ping timeout: 256 seconds]
dirtcastle has joined #commonlisp
gxt has quit [Remote host closed the connection]
gxt has joined #commonlisp
s-liao has joined #commonlisp
tyson2 has joined #commonlisp
aartaka has quit [Ping timeout: 240 seconds]
aartaka has joined #commonlisp
v88m has quit [Ping timeout: 272 seconds]
aartaka has quit [Ping timeout: 240 seconds]
v88m has joined #commonlisp
aartaka has joined #commonlisp
scymtym has joined #commonlisp
dec0d3r has joined #commonlisp
v88m has quit [Ping timeout: 256 seconds]
silasfox has quit [Ping timeout: 240 seconds]
silasfox has joined #commonlisp
Josh_2 has quit [Remote host closed the connection]
v88m has joined #commonlisp
yewscion has joined #commonlisp
v88m has quit [Ping timeout: 240 seconds]
s-liao has quit [Ping timeout: 256 seconds]
eugercek has joined #commonlisp
s-liao has joined #commonlisp
s-liao has quit [Client Quit]
Bike has joined #commonlisp
attila_lendvai has quit [Ping timeout: 240 seconds]
Cymew has quit [Quit: Konversation terminated!]
cage has joined #commonlisp
Josh_2 has joined #commonlisp
Common-Lisp has quit [Ping timeout: 268 seconds]
<Josh_2> Been trying Reblocks (weblocks) can't say I'm the biggest fan of the interface
tyson2 has quit [Remote host closed the connection]
nature has joined #commonlisp
sabra has quit [Ping timeout: 240 seconds]
sabra has joined #commonlisp
admich has quit [Ping timeout: 256 seconds]
zacque has quit [Quit: Goodbye :D]
v88m has joined #commonlisp
sabra_ has joined #commonlisp
sabra has quit [Ping timeout: 250 seconds]
tyson2 has joined #commonlisp
v88m has quit [Ping timeout: 240 seconds]
sabra has joined #commonlisp
sabra_ has quit [Ping timeout: 272 seconds]
Brucio-61 has joined #commonlisp
ec has joined #commonlisp
kevingal has quit [Ping timeout: 256 seconds]
NotThatRPG has joined #commonlisp
v88m has joined #commonlisp
dec0d3r has quit [Quit: Leaving]
sabra has quit [Ping timeout: 256 seconds]
v88m has quit [Ping timeout: 240 seconds]
v88m has joined #commonlisp
sabra has joined #commonlisp
FareTower has joined #commonlisp
luis` has quit [Quit: You have been kicked for being idle]
sp has quit [Quit: You have been kicked for being idle]
sp has joined #commonlisp
ec has quit [Ping timeout: 240 seconds]
v88m has quit [Ping timeout: 256 seconds]
v88m has joined #commonlisp
Cymew has joined #commonlisp
mister_m` is now known as mister_m
waleee has joined #commonlisp
rotateq has joined #commonlisp
rgherdt has quit [Ping timeout: 240 seconds]
attila_lendvai has joined #commonlisp
rgherdt has joined #commonlisp
ec has joined #commonlisp
mogan90 has quit [Ping timeout: 240 seconds]
Cymew has quit [Ping timeout: 260 seconds]
rgherdt_ has joined #commonlisp
rgherdt has quit [Ping timeout: 252 seconds]
jealousmonk has joined #commonlisp
v88m has quit [Ping timeout: 256 seconds]
rgherdt_ has quit [Ping timeout: 256 seconds]
Oladon has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
mgl has quit [Ping timeout: 256 seconds]
kevingal has joined #commonlisp
skyl4rk` is now known as skyl4rk
amb007 has quit [Ping timeout: 250 seconds]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
ns12 has quit [Quit: bye]
ns12 has joined #commonlisp
_73 has joined #commonlisp
yewscion has quit [Ping timeout: 272 seconds]
<_73> For some reason my keybindings for sly-mrepl-mode-map that I define in my config are not applied when I start sly. However if after loading sly I re-eval my config then the keybindings are present. Has anybody else experienced this? This same issue is described in this issue: https://github.com/joaotavora/sly/issues/120. The solutions described in the issue did not work. I tried wrapping the define-key clauses in a `with-eval-after-
<_73> 'sly'` which did not fix anything. Here is my configuration for sly: http://dpaste.com/A2EHWDKNN
simendsjo has joined #commonlisp
Dynom has joined #commonlisp
morganw has joined #commonlisp
<morganw> Shinmera: do you want crash reports for the Kandria demo?
<Shinmera> Do I ever??
<Shinmera> Yes. Though it should submit them automatically if it can.
Cena has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Oladon has quit [Quit: Leaving.]
<morganw> I don't think it got that far. https://pastebin.com/g507VAVp
<Shinmera> looks like your cpu sucks
tyson2 has quit [Remote host closed the connection]
<drakonis> wow that's a old athlon
<morganw> Could be. I bought it from South Korea for $10.
<drakonis> 2010 chip
<Shinmera> lol.
rotateq has quit [Ping timeout: 252 seconds]
<Shinmera> yeah if you don't have at least... uuh. SSE4.2 or something it won't work.
<Shinmera> I forget the exact set
<morganw> I can run SBCL without any problems, is the restriction related to one of the dependencies?
<Shinmera> well yea
<drakonis> how many cores does it have again?
<morganw> 3
<drakonis> oh its a 2009 chip lol
<drakonis> rana
<Shinmera> it needs SIMD stuff for audio
<drakonis> it doesnt even have sse4.2
<drakonis> its 4a
<morganw> Is there any way to start it with no audio?
<Shinmera> there is, but not in a way that'll help this.
karlosz has joined #commonlisp
<Shinmera> you could try compiling your own libmixed I guess.
aartaka has quit [Ping timeout: 256 seconds]
<drakonis> its very dated and i'm surprised that there's cpus with 3 cores
<Shinmera> drakonis: they're damaged quad-core cpus where they just nuke one of the cores entirely
aartaka has joined #commonlisp
<drakonis> oic
<drakonis> i forgot that was a thing back in the day
<Shinmera> Hrm, I *thought* I had compiled it in a way that had a fallback path without SIMD
<Shinmera> guess not.
NotThatRPG has quit [Quit: Textual IRC Client: www.textualapp.com]
szkl has joined #commonlisp
dirtcastle has quit [Ping timeout: 272 seconds]
<Shinmera> Hmm, ok
<Shinmera> it requires SSE4 and RDRND
dirtcastle has joined #commonlisp
<Shinmera> guess the latter might be the issue here
_73 has quit [Remote host closed the connection]
rgherdt has joined #commonlisp
silasfox has quit [Ping timeout: 252 seconds]
tane has joined #commonlisp
<Shinmera> Actually nvm it should try and detect rdrnd and then pick another function if not supported.
<Shinmera> Hecko.
<Shinmera> Not sure what's tripping, then.
karlosz has quit [Quit: karlosz]
Cymew has joined #commonlisp
Cymew has quit [Client Quit]
<Guest74> What do you call the common denominator of graph, plot, and chart? I need to find a new name.
<Shinmera> morganw: Try replacing this file https://filebox.tymoon.eu//file/TWpRME1BPT0=
Devon has quit [Ping timeout: 256 seconds]
<jackdaniel> call it "a tuft" from edward tufte ,)
v88m has joined #commonlisp
<Guest74> I'll have to look into him, something most people would recognize would be good.
<Alfr> visualization
<mfiano> Guest74: a figure, diagram, or symbol drawing.
<mfiano> symbolic*
<Guest74> figure might be good, that's kinda standard in journals.
<Guest74> alfr: I think that's a bit too general. You can visualize lots of stuff that isn't any of those.
<Alfr> Guest74, ... I was thinking as in data visualization.
<Guest74> Me too. i.e. I already have visualization stuff that deals with things other than graphs, plots, and charts.  Here I'm looking for what the common structure should be named.
<Guest74> figure seems good, figure:title, figure:name, figure:axes/axis seem to work well.
tyson2 has joined #commonlisp
FareTower has quit [Ping timeout: 240 seconds]
<morganw> Shinmera: Still not starting
<Shinmera> Oh well.
<morganw> Thanks for looking at it, regardless.
simendsjo has quit [Remote host closed the connection]
simendsjo has joined #commonlisp
yewscion has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 272 seconds]
Lord_of_Life_ is now known as Lord_of_Life
Cena has joined #commonlisp
Cena has quit [Client Quit]
MajorBiscuit has quit [Ping timeout: 252 seconds]
mogan90 has joined #commonlisp
Posterdati has quit [Changing host]
Posterdati has joined #commonlisp
ec has quit [Remote host closed the connection]
ec has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 27.1]
aartaka has quit [Ping timeout: 240 seconds]
aartaka has joined #commonlisp
aartaka has quit [Read error: Connection reset by peer]
aartaka has joined #commonlisp
dirtcastle has quit [Ping timeout: 240 seconds]
dirtcastle has joined #commonlisp
dirtcastle has quit [Client Quit]
<Guest74> is there a better way to check which bits of an integer are set than just looping through all the bits?
<Shinmera> what do you hope to do with this info?
<Guest74> i.e. is doing things like checking if chunks of it are 0 slower than just looping through the entire thing?
<Guest74> checking key states.
<Guest74> but, bit masks in general.
<Bike> clhs logtest
<Bike> might be useful
<Bike> checking each bit individually is probably going to be slower than basically anything else
<Guest74> I was thinking of similar for keybindings.  but setting a keymap state needs to know all that are set.
Cena has joined #commonlisp
<Guest74> I'm just not sure if using ldb and byte to check chunks of the integer would be faster than just looping.
Cena has quit [Client Quit]
<Shinmera> why guess when you can test
<Bike> you have a 64 bit machine. it can check 64 bits just as easily as it checks 1. but if you're doing something like taking a bitset and outputting a list of keyword flags, the arithmetic is not going to be the slow part either way
<Guest74> Shinmera: that's what I usually end up doing after asking here :)
<Guest74> that should probably be :(
<Guest74> bike: thanks, that made me think I don't have to check at all!  The user can do whatever they want with the keystate.
ec_ has joined #commonlisp
ec has quit [Remote host closed the connection]
<Guest74> so implementations shouldn't have any problem with arrays of ub64s on 64 bit machines right?
<pjb> also, you can use bit-vectors.
<Guest74> I'd have to convert to a bit vector from some sort of c array.
attila_lendvai has quit [Quit: Leaving]
<aeth> Guest74: the usual byte sizes should work and if they don't they will just become T arrays so the code will still run, just not as well
simendsjo has quit [Ping timeout: 250 seconds]
<Guest74> that would be my concern.  I wonder what's the largest bit length I can use without that happening on all implementations.
<aeth> you might want to stay to (unsigned-byte 32) just to ensure that it remains a fixnum, although SBCL does optimize signed/unsigned 64-bit integers like fixnums if it doesn't leave function scope
<aeth> (if it leaves the function, it has to box, just like double-float)
<aeth> I usually do signed/unsigned 32 bit instead of fixnum in my types. Won't work well on 32-bit implementations, but will work. Should work perfectly on 64-bit ones
<aeth> I sometimes need all 64 bits, though
<Guest74> the more the better, there are 767 possible keys.
Brucio-61 has quit [Ping timeout: 240 seconds]
scymtym has quit [Ping timeout: 256 seconds]
<aeth> so, (simple-array (unsigned-byte 64) (12)) then?
<Alfr> Guest74, there's a lower bound for most-positive-fixnum.
<aeth> might only be optimized on SBCL, though. with (unsigned-byte 32) it should stay a fixnum on all 64-bit implementations.
<aeth> Alfr: yes, but the limits are designed with 16-bit implementations in mind so they're uselessly low
<Alfr> aeth, f.a. implementations, thus even those.
<aeth> e.g. a long string is implementation-specific because you can only portably assume up to 1024
<aeth> but writing code to work around that is pointless
<aeth> which makes the limits meaningless
<aeth> array-total-size-limit
<Guest74> I like 64 just because it divides up keys the best, though it still splits f keys between groups. 32 divides alphanumeric keys into two groups.
<aeth> Guest74: then just write it so 64-bit SBCL can optimize the integer operations of the integers from a (simple-array (unsigned-byte 64) (*))
<aeth> if other implementations don't currently optimize it, it's just a bignum until they eventually support similar optimizations
yewscion has quit [Ping timeout: 272 seconds]
<aeth> it won't fail, it'll just be slower
molson has quit [Remote host closed the connection]
molson has joined #commonlisp
<Guest74> I guess I'll just have to check it on my pi later on.
kpoeck has joined #commonlisp
tane has quit [Quit: Leaving]
Dynom has quit [Quit: WeeChat 3.4]
anticomputer_ has joined #commonlisp
anticomputer has quit [Ping timeout: 240 seconds]
dirtcastle has joined #commonlisp
wyrd has quit [Ping timeout: 240 seconds]
dirtcastle has quit [Client Quit]
dirtcastle has joined #commonlisp
aartaka has quit [Ping timeout: 240 seconds]
dirtcastle has quit [Ping timeout: 252 seconds]
wyrd has joined #commonlisp
dirtcastle has joined #commonlisp
dirtcastle has quit [Client Quit]
Cena has joined #commonlisp
Cena has quit [Client Quit]
hashfunc133c has joined #commonlisp
kpoeck has quit [Quit: Client closed]
cosimone has quit [Ping timeout: 256 seconds]
scymtym has joined #commonlisp
Common-Lisp has joined #commonlisp
Fare has joined #commonlisp
Common-Lisp has quit [Quit: connection reset by purr]
Common-Lisp has joined #commonlisp
shka has quit [Ping timeout: 272 seconds]
mogan90 has quit [Ping timeout: 240 seconds]
Fare has quit [Ping timeout: 245 seconds]
Fare has joined #commonlisp
Guest74 has quit [Quit: Connection closed]
hashfunc133c has quit [Ping timeout: 240 seconds]
eugercek has quit [Remote host closed the connection]
eugercek has joined #commonlisp
eugercek has quit [Remote host closed the connection]
ebrasca has quit [Remote host closed the connection]