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/>
rkazak has quit [Ping timeout: 252 seconds]
pve has quit [Quit: leaving]
kevingal has joined #commonlisp
ldb has joined #commonlisp
ldb has quit [Ping timeout: 246 seconds]
Perflosopher0 has joined #commonlisp
chiselfu1e is now known as chiselfuse
varjag has quit [Remote host closed the connection]
rkazak has joined #commonlisp
yaneko has quit [Quit: parting]
ldb has joined #commonlisp
random-nick has quit [Ping timeout: 264 seconds]
yaneko has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
dra has quit [Ping timeout: 252 seconds]
cmack```` has quit [Remote host closed the connection]
ndanilov_ has quit [Remote host closed the connection]
v88m has joined #commonlisp
kpg has joined #commonlisp
shmorg83 has quit [Ping timeout: 252 seconds]
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
rkazak has joined #commonlisp
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
kpg has quit [Ping timeout: 265 seconds]
v88m has quit [Read error: Connection reset by peer]
gnoo has quit [Ping timeout: 264 seconds]
cowboy8625 has quit [Ping timeout: 265 seconds]
cowboy8625 has joined #commonlisp
ming has joined #commonlisp
kpg has joined #commonlisp
gnoo has joined #commonlisp
ming has quit [Quit: Leaving]
jon_atack has quit [Ping timeout: 252 seconds]
ming has joined #commonlisp
ming has quit [Remote host closed the connection]
ming has joined #commonlisp
v88m has joined #commonlisp
ming has quit [Client Quit]
v88m has quit [Read error: Connection reset by peer]
ming has joined #commonlisp
kevingal has quit [Remote host closed the connection]
jonatack has joined #commonlisp
rkazak has quit [Ping timeout: 245 seconds]
soweli_iki has joined #commonlisp
soweli_iki has quit [Changing host]
soweli_iki has joined #commonlisp
ldb has quit [Quit: go to zzz]
molson_ has joined #commonlisp
ming has quit [Ping timeout: 248 seconds]
molson has quit [Ping timeout: 260 seconds]
yewscion has joined #commonlisp
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
Pixel_Outlaw has joined #commonlisp
rkazak has joined #commonlisp
nkatte has quit [Quit: nkatte]
kpg has quit [Ping timeout: 265 seconds]
CraftyNet has joined #commonlisp
kpg has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
Inline has joined #commonlisp
Inline has quit [Read error: Connection reset by peer]
shmorg83 has joined #commonlisp
<beach> ldb: Thanks!
jrm has quit [Quit: ciao]
jrm has joined #commonlisp
triffid has quit [Remote host closed the connection]
triffid has joined #commonlisp
<beach> ::notify ldb Perfect! Thank you very much!
<Colleen> beach: Got it. I'll let ldb know as soon as possible.
<CraftyNet> Hello, I'm working on a personal project that uses an LGPL-licensed Lisp library. I’m concerned about distributing the project as a binary. Since the LGPL requires that the library can be replaced with a modified version, does distributing binaries comply with the LGPL? If not, is the only way to comply to avoid using binaries and instead ship a
<CraftyNet> image and load .lisp or .fasl files at runtime?
<beach> CraftyNet: As I recall, you can ship binaries as long as you make the source available.
rkazak has joined #commonlisp
<CraftyNet> beach: Thanks
<beach> Sure.
<kpg> you could add a --my-lib-fasl to be optionally loaded with CL:LOAD - it lets the user provide a susbtitute even with a binary executable
<kpg> flag*
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
yewscion has quit [Ping timeout: 246 seconds]
rkazak has quit [Ping timeout: 252 seconds]
yewscion has joined #commonlisp
yewscion has quit [Read error: Connection reset by peer]
yewscion_ has joined #commonlisp
zwr has quit [Read error: Connection reset by peer]
<CraftyNet> kpg: Thanks, I think it's a good idea to avoid having to load a lot of .fasl files every time the binary starts.
yewscion_ has quit [Max SendQ exceeded]
yewscion has joined #commonlisp
zwr has joined #commonlisp
brokkoli_origin has quit [Remote host closed the connection]
<beach> CraftyNet: I think what kpg meant is that no FASL would be loaded by default, but if the user wants to substitute a different version of the library, you would then be compliant that way.
brokkoli_origin has joined #commonlisp
v88m has joined #commonlisp
<CraftyNet> Thanks a lot, beach and kpg, for clearing up my doubts
<beach> Sure.
shmorg83 has quit [Ping timeout: 252 seconds]
CraftyNet has left #commonlisp [#commonlisp]
rkazak has joined #commonlisp
<kpg> yes yes - thanks beach
ndanilov has joined #commonlisp
brokkoli_origin has quit [Remote host closed the connection]
rkazak has quit [Ping timeout: 276 seconds]
brokkoli_origin has joined #commonlisp
Pixel_Outlaw has quit [Quit: Leaving]
rkazak has joined #commonlisp
decweb has quit [Ping timeout: 252 seconds]
ndanilov has quit [Remote host closed the connection]
ndanilov has joined #commonlisp
ndanilov has quit [Remote host closed the connection]
rkazak has quit [Ping timeout: 248 seconds]
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
yewscion has quit [Ping timeout: 248 seconds]
contrapunctus has left #commonlisp [#commonlisp]
rkazak has joined #commonlisp
amb007 has quit [Ping timeout: 246 seconds]
amb007 has joined #commonlisp
contrapunctus has joined #commonlisp
zwr has quit [Read error: Connection reset by peer]
amb007 has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
zwr has joined #commonlisp
pve has joined #commonlisp
<jackdaniel> lgpl-2.1+ requires to ship the source code along the distribution, while lgpl-3.0+ requires also to allow the user to replace the library with their own version (so called anti-tivoization clause)
<jackdaniel> allowing to load a fasl is certainly a step towards that goal, but it needs to work (i.e if the "new version" overwrites an essential hash table defined with defparameter effectively corrupting the software, that does not count)
<jackdaniel> on the other hand, if you distribute the source code elsewhere, and you allow to replace the whole binary on the device, then that would suffice too
rkazak has joined #commonlisp
<phoe> if you aren't shipping hardware then this is not really an issue, if the user can always rebuild your whole binary from source and it'll work the same as yours
<phoe> s/this/tivoization/
alternateved has joined #commonlisp
ebrasca has joined #commonlisp
amb007 has quit [Ping timeout: 265 seconds]
rkazak has quit [Ping timeout: 248 seconds]
amb007 has joined #commonlisp
bendersteed_ has joined #commonlisp
rkazak has joined #commonlisp
bendersteed_ is now known as bendersteed
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
<kpg> It might depend whether such a modification would be considered 'interface-compatible' - but that phrase is not explained in more detail in the LPGL3 license text, from what I can see.
<ixelp> The LGPL and Java - GNU Project - Free Software Foundation
<aeth> "FSF's position has remained constant throughout: the LGPL works as intended with all known programming languages, including Java."
<aeth> Since GNU (close enough to the FSF) has 2 Common Lisps, 3 Schemes, and Emacs Lisp, that probably includes CL.
olivial has quit [Read error: Connection reset by peer]
<aeth> My guess is the general approach would be similar here, which is ship and load the LGPL FASLs
olivial has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
mishoo has joined #commonlisp
varjag has joined #commonlisp
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
edgar-rft_ has joined #commonlisp
rkazak has joined #commonlisp
edgar-rft` has quit [Ping timeout: 245 seconds]
gorignak has quit [Ping timeout: 265 seconds]
gorignak has joined #commonlisp
kyoji has quit [Read error: Connection reset by peer]
kyoji has joined #commonlisp
rkazak has quit [Ping timeout: 260 seconds]
mgl has joined #commonlisp
rainthree has joined #commonlisp
longlongdouble has joined #commonlisp
rkazak has joined #commonlisp
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
longlongdouble has quit [Ping timeout: 248 seconds]
v88m has quit [Read error: Connection reset by peer]
akoana has joined #commonlisp
rkazak has quit [Ping timeout: 246 seconds]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
longlongdouble has joined #commonlisp
rainthree has quit [Remote host closed the connection]
rainthree has joined #commonlisp
random-nick has joined #commonlisp
v88m has joined #commonlisp
rkazak has joined #commonlisp
cercopith has quit [Quit: Leaving]
ndanilov has joined #commonlisp
m5zs7k has quit [Ping timeout: 252 seconds]
m5zs7k has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
rkazak has quit [Ping timeout: 260 seconds]
awkravchuk has joined #commonlisp
v88m has joined #commonlisp
longlongdouble has quit [Remote host closed the connection]
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
rkazak has joined #commonlisp
longlongdouble has joined #commonlisp
mwnaylor has quit [Ping timeout: 248 seconds]
longlongdouble has quit [Remote host closed the connection]
pranav has quit [Remote host closed the connection]
White_Flame has quit [Ping timeout: 252 seconds]
White_Flame has joined #commonlisp
rkazak has quit [Ping timeout: 265 seconds]
dino_tutter has joined #commonlisp
rkazak has joined #commonlisp
pranav has joined #commonlisp
ndanilov has quit [Remote host closed the connection]
kpg has quit [Ping timeout: 272 seconds]
kdlv has quit [Quit: The Lounge - https://thelounge.chat]
kdlv has joined #commonlisp
kpg has joined #commonlisp
JuanDaugherty has joined #commonlisp
dra has joined #commonlisp
dra has quit [Changing host]
dra has joined #commonlisp
rkazak has quit [Ping timeout: 248 seconds]
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
longlongdouble has joined #commonlisp
msv has quit [Remote host closed the connection]
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
Inline has joined #commonlisp
rkazak has joined #commonlisp
kopiyka_ has quit [Remote host closed the connection]
kopiyka has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
rkazak has quit [Ping timeout: 244 seconds]
v88m has joined #commonlisp
shka has joined #commonlisp
v88m has quit [Ping timeout: 248 seconds]
decweb has joined #commonlisp
v88m has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
rkazak has joined #commonlisp
nkatte has joined #commonlisp
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
awkravchuk has quit [Ping timeout: 246 seconds]
JuanDaugherty has quit [Quit: JuanDaugherty]
rkazak has quit [Ping timeout: 245 seconds]
awkravchuk has joined #commonlisp
amb007 has quit [Ping timeout: 244 seconds]
rkazak has joined #commonlisp
amb007 has joined #commonlisp
shmorg83 has joined #commonlisp
Alfr has joined #commonlisp
White_Flame has quit [Ping timeout: 246 seconds]
rkazak has quit [Ping timeout: 244 seconds]
White_Flame has joined #commonlisp
bigbookofbug has quit [Ping timeout: 244 seconds]
bigbookofbug has joined #commonlisp
rkazak has joined #commonlisp
shmorg83 has quit [Ping timeout: 272 seconds]
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
josrr has joined #commonlisp
varjag has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.3)]
rkazak has quit [Ping timeout: 264 seconds]
v88m has quit [Remote host closed the connection]
v88m has joined #commonlisp
akoana has quit [Ping timeout: 244 seconds]
v88m has quit [Read error: Connection reset by peer]
random-nick has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
kpg has quit [Ping timeout: 276 seconds]
rkazak has joined #commonlisp
kpg has joined #commonlisp
bitspook has quit [Ping timeout: 246 seconds]
rkazak has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
rainthree has quit [Ping timeout: 260 seconds]
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
notzmv has quit [Ping timeout: 265 seconds]
v88m has joined #commonlisp
rkazak has quit [Ping timeout: 252 seconds]
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
akoana has joined #commonlisp
random-nick has joined #commonlisp
shawnw has joined #commonlisp
cage has joined #commonlisp
cage has quit [Excess Flood]
cage has joined #commonlisp
gorignak has quit [Quit: quit]
attila_lendvai_ has joined #commonlisp
gorignak has joined #commonlisp
rkazak has joined #commonlisp
varjag has joined #commonlisp
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
traxex has quit [Remote host closed the connection]
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
cercopith has joined #commonlisp
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
bendersteed has quit [Quit: bendersteed]
<phoe> what aeth and fsf said
<phoe> as long as you can replace the library for some meaningful definitions of "replace" and "library", you're gonna be good
gorignak has quit [Quit: quit]
<phoe> shipping sources and build instructions is a bulletproof solution to that
<phoe> others exist, too
gorignak has joined #commonlisp
khinsen has joined #commonlisp
wobbol has quit [Ping timeout: 244 seconds]
wobbol has joined #commonlisp
khinsen has left #commonlisp [#commonlisp]
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
msv has joined #commonlisp
shawnw has quit [Ping timeout: 265 seconds]
rkazak has quit [Ping timeout: 265 seconds]
ndanilov has joined #commonlisp
longlongdouble has quit [Remote host closed the connection]
ndanilov has quit [Ping timeout: 260 seconds]
JuanDaugherty has joined #commonlisp
v88m has joined #commonlisp
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
v88m has quit [Read error: Connection reset by peer]
v88m has joined #commonlisp
ndanilov has joined #commonlisp
ndanilov has quit [Read error: Connection reset by peer]
v88m has quit [Read error: Connection reset by peer]
ezakimak_ has joined #commonlisp
ezakimak has quit [Read error: Connection reset by peer]
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
lispx has joined #commonlisp
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
amb007 has quit [Ping timeout: 276 seconds]
amb007 has joined #commonlisp
longlongdouble has joined #commonlisp
longlongdouble has quit [Remote host closed the connection]
xaltsc has joined #commonlisp
rkazak has joined #commonlisp
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
rkazak has quit [Ping timeout: 264 seconds]
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
rkazak has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 252 seconds]
Lord_of_Life_ is now known as Lord_of_Life
rkazak has quit [Ping timeout: 260 seconds]
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
kevingal has joined #commonlisp
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
lispx has quit [Remote host closed the connection]
ndanilov has joined #commonlisp
wacki has joined #commonlisp
rkazak has joined #commonlisp
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
rkazak has quit [Ping timeout: 252 seconds]
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
rkazak has joined #commonlisp
rkazak has quit [Ping timeout: 272 seconds]
shawnw has joined #commonlisp
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
rkazak has joined #commonlisp
shawnw has quit [Ping timeout: 265 seconds]
rkazak has quit [Ping timeout: 248 seconds]
chiselfuse has quit [Read error: Connection reset by peer]
chiselfuse has joined #commonlisp
gorignak has quit [Ping timeout: 276 seconds]
amb007 has quit [Ping timeout: 276 seconds]
yottabyte has joined #commonlisp
amb007 has joined #commonlisp
kpg has quit [Read error: Connection reset by peer]
<yottabyte> been having some issues making an executable. this code works when I'm in slime, but as soon as (asdf:make "sqlite-test"), it gives me errors at runtime. I'm using windows and sbcl, I don't know if that has something to do with it, or if it's something with the sqlite library I'm using. here's the code: https://plaster.tymoon.eu/view/4701#4701
rkazak has joined #commonlisp
<kagevf> yottabyte: what kind of errors? also, is "test.db" resolving as expected?
<yottabyte> I don't think test.db is even important here, since I'm not actually selecting from any actual table. I don't have any such file actually for the sake of this test
<yottabyte> the output of (test:test-select) should just be ((2))
<yottabyte> and it is when I'm in slime and stuff
<yottabyte> when I run the executable, I get this error: debugger invoked on a SB-SYS:MEMORY-FAULT-ERROR in thread #<THREAD "main thread" RUNNING {1001850003}>: Unhandled memory fault at #x7C63D1.
<yottabyte> and "bogus stack frame"
<bike> i don't think sbcl is going to be able to preserve a database connection in an image.
rkazak has quit [Ping timeout: 248 seconds]
<phoe> you need to redo the sqlite:connect call after restoring the image
<phoe> otherwise you'll get a dangling pointer
<phoe> or pipe, or fd, or whatever
<yottabyte> so in my entry point is where I need to establish the connection?
<phoe> yes
<phoe> so, in your test-select function, before anything, (setf *db* (sqlite:connect #P"test.db"))
<kagevf> plus, maybe sqlite needs to be "connected" to the db file to run queries, even if they aren't actually querying data like in the example
<phoe> and you can drop the initial binding for *db* because you do not need this function to get called at compilation time
<yottabyte> I was keeping it up there so I don't need to do it for every single function. do I have to connect each and every time?
<bike> you have to connect once when you start up the image. you should be able to keep using that one connection thereafter, i think.
<yottabyte> okay, let me give it a whirl
<yottabyte> worked! thank you, all
rkazak has joined #commonlisp
JuanDaugherty has quit [Quit: JuanDaugherty]
rkazak has quit [Ping timeout: 265 seconds]
kevingal has quit [Ping timeout: 252 seconds]
bigbookofbug has quit [Quit: Lost terminal]
triffid has quit [Remote host closed the connection]
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
triffid has joined #commonlisp
triffid has quit [Client Quit]
rkazak has joined #commonlisp
zwr has quit [Read error: Connection reset by peer]
zwr has joined #commonlisp
mgl has quit [Ping timeout: 265 seconds]
cage has quit [Quit: rcirc on GNU Emacs 29.4]
ndanilov has quit [Remote host closed the connection]
olnw has quit [Quit: ZNC - https://znc.in]
rkazak has quit [Ping timeout: 260 seconds]
rkazak has joined #commonlisp
josrr has quit [Remote host closed the connection]
phantomics has quit [Read error: Connection reset by peer]
mishoo has quit [Ping timeout: 276 seconds]
ndanilov has joined #commonlisp
gnoo has quit [Ping timeout: 248 seconds]
rkazak has quit [Ping timeout: 260 seconds]
awkravchuk has quit [Remote host closed the connection]
akoana has left #commonlisp [Leaving]
ndanilov has quit [Remote host closed the connection]
rkazak has joined #commonlisp
chiselfuse has quit [Ping timeout: 264 seconds]
chiselfuse has joined #commonlisp
shmorg83 has joined #commonlisp
shmorg83 has quit [Ping timeout: 246 seconds]
varjag has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.2)]
attila_lendvai_ has quit [Ping timeout: 265 seconds]
kpg has joined #commonlisp
ndanilov has joined #commonlisp
chomwitt has joined #commonlisp
wacki has quit [Quit: Leaving.]
screwlisp has joined #commonlisp
JuanDaugherty has joined #commonlisp
chomwitt has quit [Ping timeout: 276 seconds]
bigbookofbug has joined #commonlisp
alternateved has quit [Remote host closed the connection]
rkazak has quit [Ping timeout: 248 seconds]
rkazak has joined #commonlisp
pve has quit [Quit: leaving]
ebrasca has quit [Ping timeout: 260 seconds]
phantomics has joined #commonlisp