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/>
rtypo has quit [Ping timeout: 276 seconds]
DragonMaus has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
DragonMaus has joined #commonlisp
jeffrey has quit [Ping timeout: 252 seconds]
Noisytoot has joined #commonlisp
Ruby has quit [Quit: ZNC - https://znc.in]
bpanthi977 has quit [Ping timeout: 260 seconds]
bpanthi977 has joined #commonlisp
Ruby has joined #commonlisp
Ruby has quit [Client Quit]
bpanthi977 has quit [Remote host closed the connection]
bpanthi977 has joined #commonlisp
chomwitt has quit [Ping timeout: 248 seconds]
Ruby has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
bpanthi977 has joined #commonlisp
bpanthi978 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
bpanthi977 has joined #commonlisp
bpanthi978 has quit [Ping timeout: 260 seconds]
bpanthi978 has joined #commonlisp
fosskers has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
bpanthi978 has quit [Ping timeout: 276 seconds]
bpanthi977 has joined #commonlisp
<fosskers> Heys folks, I released a library for CL support for Mozilla's localisation system "Project Fluent": https://github.com/fosskers/fluent
<ixelp> GitHub - fosskers/fluent: Common Lisp support for Project Fluent.
gorignak has quit [Quit: quit]
spdegabrielle has quit [Quit: Connection closed for inactivity]
leeb has joined #commonlisp
leeb_ has quit [Ping timeout: 240 seconds]
X-Scale has quit [Ping timeout: 260 seconds]
VictorHugenay has joined #commonlisp
robin has joined #commonlisp
random-nick has quit [Ping timeout: 265 seconds]
molson has joined #commonlisp
VictorHugenay has quit [Quit: Konversation terminated!]
lusciouslover has quit [Read error: Connection reset by peer]
lusciouslover has joined #commonlisp
X-Scale has joined #commonlisp
admich1 has quit [Ping timeout: 240 seconds]
g-gundam has joined #commonlisp
admich1 has joined #commonlisp
<semz> (unsigned-byte 0) is illegal even though the definition works for 0. What an annoying spec oversight.
<semz> (signed-byte 0) wouldn't work without a special case, so maybe that's why. Still frustrating.
scymtym has quit [Ping timeout: 276 seconds]
scymtym has joined #commonlisp
<boigahs> hm?
<aeth> (unsigned-byte 0) I'm guessing would be, if valid, (integer 0 0) aka zero
<boigahs> The spec says they take positive integers, which means above zero.
<aeth> well, aka the zero integer as opposed to 0.0
<boigahs> I see.
<boigahs> The spec says "This is equivalent to (integer -2^(s-1))", which definitely doesn't work for 0
<aeth> if you deftype'd zero, it could be defined as something like (or (integer 0 0) (float 0 0) (complex (float 0 0)))
<aeth> (unsigned-byte 0) would just be another way to say the first part, as is (mod 1)
<boigahs> oops I copied it wrong. the important part is there, though.
<boigahs> oops I was also looking at signed-byte instead of unsigned-byte
<contrapunctus> fosskers: Thank you! This is very useful.
<boigahs> ok, signed-byte also uses 2^(s-1)
<boigahs> so yeah, the definition is consistent, but I can see the argument for wanting a different definition
<semz> it'd also make unsigned-byte consistent with integer-length, which is how stumbled over this
<semz> how I*
gorignak has joined #commonlisp
mwnaylor has quit [Ping timeout: 248 seconds]
admich1 has quit [Ping timeout: 260 seconds]
beach has quit [Remote host closed the connection]
gorignak has quit [Quit: quit]
<fosskers> contrapunctus: and it's actually standardized
decweb has quit [Quit: Konversation terminated!]
beach has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
bpanthi977 has joined #commonlisp
treflip has joined #commonlisp
treflip` has joined #commonlisp
treflip has quit [Ping timeout: 252 seconds]
edgar-rft` has joined #commonlisp
istewart has quit [Quit: Konversation terminated!]
edgar-rft has quit [Ping timeout: 276 seconds]
rgherdt has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
pve has joined #commonlisp
kchanqvq has joined #commonlisp
rgherdt_ has joined #commonlisp
rgherdt has quit [Read error: Connection reset by peer]
kyoji has quit [Quit: ZNC 1.9.1 - https://znc.in]
kyoji has joined #commonlisp
ingeniot has joined #commonlisp
chomwitt has joined #commonlisp
ingeniot has quit [Ping timeout: 252 seconds]
treflip` is now known as treflip
rtypo has joined #commonlisp
puke has joined #commonlisp
g-gundam has quit [Read error: Connection reset by peer]
aadcg has joined #commonlisp
<aadcg> I'm using ECL and the binding-stack is overflowing at size 10240 when I load the slynk system. I can increase ext:binding-stack, but is the issue expected? I am almost sure that I was doing the same in the past and I didn't face the conditon.
LainIwakura has joined #commonlisp
seanw has quit [Ping timeout: 276 seconds]
yazz has joined #commonlisp
ndudaev has quit [Read error: Connection reset by peer]
ndudaev has joined #commonlisp
ndudaev has quit [Client Quit]
ndudaev has joined #commonlisp
jonah9000 has joined #commonlisp
jonah9000 has quit [Client Quit]
Lycurgus has joined #commonlisp
mgl has joined #commonlisp
robin has quit [Remote host closed the connection]
robin has joined #commonlisp
svm has joined #commonlisp
rainthree has joined #commonlisp
Lycurgus has quit [Quit: irc.renjuan.org (juan@acm.org)]
msv has quit [Ping timeout: 276 seconds]
svm is now known as msv
<rainthree> mesaoptimizer: have you seen this? https://github.com/robert-strandh/Clobber
<ixelp> GitHub - robert-strandh/Clobber: A simpler alternative to object prevalence for Common Lisp.
attila_lendvai_ has joined #commonlisp
<jackdaniel> aadcg: if slynk has so many dynamic bindings, then it can happen I guess. some autogenerated code maybe?
<jackdaniel> I'd say that 10K dynamic bindings at once is not an insane default (especially when you can resize it at runtime), but if you feel that you want to change the default, see src/c/main.d
<aadcg> jackdaniel: perhaps. So I assume that you and others that use ECL extensively usually use SLIME.
<jackdaniel> I'm not sure about others, but I'm using it from slime myself
<aadcg> btw, congrats on the grant :)
<jackdaniel> or, lately, directly in a browser
<jackdaniel> thanks
<aadcg> cool project, I'm particularly interested in it
<jackdaniel> great! I'm figuring out now the first version of a dynamic ffi
LainIwakura has quit [Ping timeout: 272 seconds]
<aadcg> perhaps I missed some of the things you have been working on. any relevant blog post that you can point me to?
<jackdaniel> I gather that you've read the grant announcement
<jackdaniel> there is a link to the repository, and there is notes.org file
<jackdaniel> if you are interested in work notes
<aadcg> indeed, but I wasn't aware of the progress in the wasm front
<aadcg> I see, will take a look!
<jackdaniel> from other things that may be interesting, in ECL branch nucleus (it is an experimental branch) I've came up with a small runtime with bytecodes vm and forth compiler
<jackdaniel> and there is a merge request in the repo that adds unread-byte and peek-byte as extensions (and improves bivalent stream support to cater to more byte sizes)
<aadcg> thanks!
<aadcg> sorry for my ignorance, is https://fossil.turtleware.eu/wecl hosting a git server or is this something else?
<ixelp> Web Embeddable Common Lisp: Timeline
treflip has quit [Ping timeout: 252 seconds]
<jackdaniel> it is a fossil repositoy
<jackdaniel> see fossil-scm.org
<aadcg> thanks
<jackdaniel> my self-hosted projects are fossil repos because I want to get used to this scm (I find it very cool, although git habits get in the way all the time)
<mesaoptimizer> rainthree: interesting, although I see I must write custom serialization and deserialization code
<mesaoptimizer> I will take a closer look at it soon though
<aadcg> jackdaniel: I cloned it. now I'd need to get used to fossil. I learnt something today :)
LainIwakura has joined #commonlisp
inline_ has quit [Quit: Leaving]
<jackdaniel> note that this is a work in progress, but if you have some feedback that goes beyond "not finished" then let me know
<aadcg> jackdaniel: I'm certainly curious, but don't expect any relevant insight
<jackdaniel> I think that by the end of the next week I'll make a blog post that shows how to use cl without any installation step (just include wecl.wasm and use <script type='text/common-lisp'> on a website)
<jackdaniel> that first version won't concern itself very hard with performance and such though
<jackdaniel> s/installation/compilation/
<aadcg> sounds exciting!
fosskers has quit [Remote host closed the connection]
<aadcg> jackdaniel: going back to ECL, `ecl --norc --eval 'ext:binding-stack'` tells me that the variable is unbound. what am I missing here? This is variable you mentioned when referring to resizing the stack at run-time, right?
apac has joined #commonlisp
VictorHugenay has joined #commonlisp
<aadcg> alternatively, I could change ECL_OPT_BIND_STACK_SIZE at src/c/main.d and compile
<jackdaniel> no; 1) there is a restart that allows you to resize the stack when it is exhausted, 2) https://ecl.common-lisp.dev/static/files/manual/current-manual/Memory-Management.html#index-ext_003aset_002dlimit-1
<ixelp> Memory Management (ECL Manual)
<jackdaniel> or changing the bind stack size in main.d yes
<jackdaniel> i.e (ext:set-limit 'ext:binding-stack (* 1024 1024))
<aadcg> all clear now, thanks
<jackdaniel> sure
inline has joined #commonlisp
phil_bb has quit [Remote host closed the connection]
<rainthree> mesaoptimizer: With Clobber you can redefine your classes and evolve your application without anything bad happening. Other existing "object stores" cannot not handle redefinitions.
<rainthree> OOP alien technology
<mesaoptimizer> I see
<aadcg> jackdaniel: actually, the issue is deeper than I thought. I start SLY and, from the inferior-lisp buffer, I can choose the restart to resize the stacks multiple times. The frame, C and binding stacks are all exhausted and the memory limit is reached...
<jackdaniel> I think that something spirals into infinite recursion
<jackdaniel> in your sly that is
<aadcg> ohhh, I have a clue
<aadcg> it may due to *print-circle*
rainthree has quit [Quit: Leaving]
phil_bb has joined #commonlisp
phil_bb- has joined #commonlisp
VictorHugenay has quit [Quit: Konversation terminated!]
phil_bb- has quit [Remote host closed the connection]
<aadcg> I thought it could be due to the SLYNK's init file... false alarm. I'll keep digging.
<aadcg> I can reproduce with emacs -Q too. is anyone running ECL on SLY?
XPMUser has joined #commonlisp
rainthree has joined #commonlisp
VictorHugenay has joined #commonlisp
XPMUser has quit [Client Quit]
XPMUser has joined #commonlisp
rgherdt__ has joined #commonlisp
rgherdt_ has quit [Read error: No route to host]
XPMUser has quit [Client Quit]
XPMUser has joined #commonlisp
LainIwakura has quit [Ping timeout: 272 seconds]
VictorHugenay has quit [Quit: Konversation terminated!]
XPMUser has quit [Quit: Client closed]
rainthree has quit [Ping timeout: 276 seconds]
decweb has joined #commonlisp
LainIwakura has joined #commonlisp
g-gundam has joined #commonlisp
treflip has joined #commonlisp
LainIwakura has quit [Ping timeout: 272 seconds]
random-nick has joined #commonlisp
lcn_ has joined #commonlisp
apac has quit [Ping timeout: 265 seconds]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
Lord_of_Life_ is now known as Lord_of_Life
LainIwakura has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
LainIwakura has quit [Quit: Client closed]
LainIwakura has joined #commonlisp
mgl has quit []
treflip` has joined #commonlisp
treflip has quit [Ping timeout: 276 seconds]
treflip` has quit [Read error: Connection reset by peer]
rainthree has joined #commonlisp
notzmv has joined #commonlisp
LainIwakura has quit [Ping timeout: 272 seconds]
rainthree has quit [Quit: Leaving]
yitzi has joined #commonlisp
bpanthi977 has joined #commonlisp
kchanqvq has quit [Quit: Client closed]
bpanthi977 has quit [Ping timeout: 260 seconds]
mwnaylor has joined #commonlisp
kchanqvq has joined #commonlisp
rgherdt__ has quit [Ping timeout: 276 seconds]
rgherdt_ has joined #commonlisp
cage has joined #commonlisp
gooba has quit [Remote host closed the connection]
gooba has joined #commonlisp
ingeniot has joined #commonlisp
gorignak has joined #commonlisp
treflip`` has joined #commonlisp
aadcg has quit [Ping timeout: 252 seconds]
younder has joined #commonlisp
ingeniot has quit [Ping timeout: 276 seconds]
bpanthi977 has joined #commonlisp
gorignak has quit [Quit: quit]
gorignak has joined #commonlisp
treflip`` has quit [Ping timeout: 260 seconds]
bpanthi977 has quit [Ping timeout: 260 seconds]
gorignak has quit [Quit: quit]
kchanqvq has quit [Quit: Client closed]
puke has quit [Quit: puke]
bpanthi977 has joined #commonlisp
gorignak has joined #commonlisp
zxcvz has joined #commonlisp
gorignak has quit [Quit: quit]
reb has quit [Remote host closed the connection]
rtypo has quit [Ping timeout: 240 seconds]
X-Scale has quit [Ping timeout: 260 seconds]
treflip`` has joined #commonlisp
X-Scale has joined #commonlisp
treflip`` has quit [Changing host]
treflip`` has joined #commonlisp
treflip`` is now known as pilfert
puke has joined #commonlisp
chomwitt has quit [Ping timeout: 252 seconds]
DragonMaus has quit [Ping timeout: 276 seconds]
puke has quit [Client Quit]
DragonMaus has joined #commonlisp
attila_lendvai_ is now known as attila_lendvai
admich1 has joined #commonlisp
Guest47 has joined #commonlisp
rtypo has joined #commonlisp
lcn_ has quit [Ping timeout: 244 seconds]
pilfert has quit [Read error: Connection reset by peer]
admich1 has quit [Ping timeout: 245 seconds]
admich1 has joined #commonlisp
zxcvz has quit [Quit: zxcvz]
hessefvhj has joined #commonlisp
jonatack has joined #commonlisp
hessefvhj has quit [Client Quit]
puke has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 30.1]
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 260 seconds]
luminous has joined #commonlisp
luminous has quit [Client Quit]
kchanqvq has joined #commonlisp
yitzi has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
bpanthi977 has quit [Ping timeout: 260 seconds]
randm has quit [Remote host closed the connection]
randm has joined #commonlisp
bpanthi977 has joined #commonlisp
chomwitt has joined #commonlisp
bpanthi977 has quit [Remote host closed the connection]
bpanthi977 has joined #commonlisp
admich1 has quit [Ping timeout: 272 seconds]
admich1 has joined #commonlisp
robin has quit [Remote host closed the connection]
robin has joined #commonlisp
jeffrey has joined #commonlisp
robin has quit [Remote host closed the connection]
robin has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
X-Scale has quit [Ping timeout: 260 seconds]
lcn_ has joined #commonlisp
jon_atack has quit [Ping timeout: 248 seconds]
rtypo has quit [Ping timeout: 240 seconds]
jonatack has joined #commonlisp
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 276 seconds]
X-Scale has joined #commonlisp
pranav has quit [Remote host closed the connection]
rtypo has joined #commonlisp
bpanthi977 has joined #commonlisp
pranav has joined #commonlisp
Guest47 has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
jonatack has joined #commonlisp
jon_atack has quit [Ping timeout: 248 seconds]
reb has joined #commonlisp
jonatack has quit [Ping timeout: 252 seconds]
bpanthi977 has quit [Ping timeout: 276 seconds]
jonatack has joined #commonlisp
bpanthi977 has joined #commonlisp
pranav has quit [Read error: Connection reset by peer]
ryanbw has quit [Ping timeout: 245 seconds]
ryanbw has joined #commonlisp
jon_atack has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
jonatack has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
kchanqvq has quit [Ping timeout: 272 seconds]
jeffrey has quit [Quit: jeffrey]
jeffrey has joined #commonlisp
jonatack has joined #commonlisp
jon_atack has quit [Ping timeout: 240 seconds]
dra has joined #commonlisp
bpanthi977 has quit [Ping timeout: 276 seconds]
scymtym has quit [Remote host closed the connection]
kchanqvq has joined #commonlisp
scymtym has joined #commonlisp
younder has quit [Read error: Connection reset by peer]
emacs has joined #commonlisp
triffid has quit [Quit: triffid]
triffid has joined #commonlisp
bpanthi977 has joined #commonlisp
bpanthi977 has quit [Ping timeout: 260 seconds]
attila_lendvai has quit [Ping timeout: 260 seconds]
jon_atack has joined #commonlisp
jonatack has quit [Ping timeout: 248 seconds]
admich1 has quit [Read error: Connection reset by peer]
admich1 has joined #commonlisp
jonatack has joined #commonlisp
jon_atack has quit [Ping timeout: 265 seconds]
rgherdt_ has quit [Remote host closed the connection]
dra has quit [Quit: Leaving]
bpanthi977 has joined #commonlisp
lcn_ has quit [Remote host closed the connection]
kchanqvq has quit [Ping timeout: 272 seconds]
chiselfuse has quit [Remote host closed the connection]
chiselfuse has joined #commonlisp
chomwitt has quit [Ping timeout: 276 seconds]
fosskers has joined #commonlisp
lusciouslover has quit [Remote host closed the connection]
lusciouslover has joined #commonlisp
Ruby has quit [Quit: ZNC - https://znc.in]
Ruby has joined #commonlisp
rtypo has quit [Ping timeout: 276 seconds]