jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <http://cliki.net/> <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.5.4, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
synaps3 has joined #lisp
synaps3 has quit [Changing host]
synaps3 has joined #lisp
munksgaard[m] has quit [*.net *.split]
keep-learning[m] has quit [*.net *.split]
spacedbat has quit [*.net *.split]
jerme_ has quit [*.net *.split]
keep-learning[m] has joined #lisp
munksgaard[m] has joined #lisp
spacedbat has joined #lisp
jerme_ has joined #lisp
matijja` has quit [Read error: Connection reset by peer]
<phoe> Implementors of #lisp: do we have anyone proficient with debugging ANSI LOOP? I am trying to fix ANSI-TEST failures on CCL.
<phoe> One of them is the infamous (loop for x of-type (integer 1 5) from 1 to 5 collect x) that fails on safe code because (setq x 6) is happening behind the scenes.
Codaraxis has quit [Read error: Connection reset by peer]
<Bike> you're trying to debug what, the macro?
<Bike> or the use
<phoe> the macro
<phoe> the above code is correct (either that, or ANSI-TEST is broken)
<phoe> but with declaim optimize speed 3 it fails to run on CCL.
<White_Flame> "the loop terminates when the variable var passes the value of form2" Sounds like the bug is with the test. The actual variable is supposed to breach past the "to" value
<pjb> phoe: the implementation needs a hidden loop variable…
EvW has joined #lisp
ebzzry has quit [Ping timeout: 240 seconds]
<White_Flame> hmm, no I think I might be wrong. That's from downto/upto. "to" specifically flags an ending value, not a threshold
EvW has quit [Ping timeout: 245 seconds]
<phoe> I asked specifically about ANSI LOOP because this implementation of LOOP is what is used inside CCL.
bitmapper has quit [Ping timeout: 265 seconds]
<pjb> phoe: this expansion is clearly wrong.
<pjb> the (if (> x '5) …) is dead code, since x has been declared (integer 1 5).
<phoe> pjb: yes, this is why CCL fails ANSI-TEST LOOP.1.39
<phoe> pjb: dead code per se isn't invalid, it just won't be reached and a sufficiently smart compiler will optimize it away
<White_Flame> well, it will be reached because the actual integer really ranges from 1 to 6
<phoe> White_Flame: unless an error is signaled.
<White_Flame> right
<phoe> And this is exactly what happens in CCL in safe code.
<phoe> Quick question - could anyone declaim optimize safety 3 in CCL and then evaluate this?
<phoe> (loop for x of-type (integer 1 5) from 1 to 5 collect x)
<phoe> I mean a reasonably fresh CCL, if anyone has it around
<White_Flame> I still think the test itself is badly written. Its declaration mislabes what ranges it asks LOOP to calculate for X
<White_Flame> from CLHS: (let ((x 1)) (loop for i from x by (incf x) to 10 collect i)) => (1 3 5 7 9)
<phoe> White_Flame: welcome to ANSI LOOP
<White_Flame> whee
<pjb> The value 6 is not of the expected type (integer 1 5). on "Version 1.12-dev (v1.12-dev.4-4-gd9740256) Darwinx8664"
<phoe> pjb: exactly this
<phoe> uhhh kasdjfskjdhsdf
<phoe> I meant ECL
<White_Flame> in http://www.lispworks.com/documentation/HyperSpec/Body/06_abaa.htm is "stepped[1]" supposed to refer to the glossary with that [1]?
<phoe> god damn it
<phoe> I meant a fresh ECL, not CCL, gah it's late
<phoe> I ask because ECL also uses a modified ANSI LOOP and maybe it has fixed this issue already.
<White_Flame> "step v.t., n. 1. v.t. (an iteration variable) to assign the variable a new value at the end of an iteration, in preparation for a new iteration."
<White_Flame> so again, clearly for x from 1 to 5 sets x to 6
<pjb> (1 2 3 4 5) on "16.1.3"
<phoe> pjb: so that is fixed over there, hmmm
<phoe> I will need to analyze ecl sources then
toorevitimirp has joined #lisp
DGASAU has quit [Ping timeout: 265 seconds]
DGASAU has joined #lisp
smazga has joined #lisp
smazga has quit [Client Quit]
toorevitimirp has quit [Ping timeout: 268 seconds]
Codaraxis has joined #lisp
semz has quit [Ping timeout: 264 seconds]
LoneThistle has quit [Remote host closed the connection]
orivej has joined #lisp
semz has joined #lisp
semz has joined #lisp
orivej has quit [Ping timeout: 268 seconds]
stzsch has quit [Ping timeout: 252 seconds]
stzsch has joined #lisp
Oladon has joined #lisp
toorevitimirp has joined #lisp
dented42 has joined #lisp
ebrasca has quit [Remote host closed the connection]
toorevitimirp has quit [Ping timeout: 240 seconds]
stzsch has quit [Ping timeout: 276 seconds]
stzsch has joined #lisp
toorevitimirp has joined #lisp
Nomenclatura has joined #lisp
orivej has joined #lisp
stzsch has quit [Ping timeout: 276 seconds]
stzsch_ has joined #lisp
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
brettgilio has joined #lisp
brettgilio has quit [Client Quit]
brettgilio has joined #lisp
pfdietz has quit [Ping timeout: 260 seconds]
brettgilio has quit [Client Quit]
brettgilio has joined #lisp
brettgilio has quit [Client Quit]
brettgilio has joined #lisp
Bike has quit [Quit: Lost terminal]
toorevitimirp has quit [Ping timeout: 240 seconds]
dented42 has joined #lisp
brettgilio has quit [Client Quit]
brettgilio has joined #lisp
brettgilio has quit [Client Quit]
brettgilio has joined #lisp
ebzzry has joined #lisp
john_ has joined #lisp
brettgilio has quit [Client Quit]
brettgilio has joined #lisp
libertyprime has quit [Ping timeout: 264 seconds]
brettgilio has quit [Client Quit]
brettgilio has joined #lisp
pticochon has quit [Ping timeout: 265 seconds]
flazh has quit [Ping timeout: 276 seconds]
gravicappa has joined #lisp
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
stzsch_ has quit [Ping timeout: 276 seconds]
stzsch has joined #lisp
flazh has joined #lisp
Oladon has quit [Quit: Leaving.]
synaps3 has quit [Ping timeout: 276 seconds]
libertyprime has joined #lisp
clothespin has joined #lisp
torbo has quit [Remote host closed the connection]
dale has quit [Quit: My computer has gone to sleep]
lemoinem has quit [Ping timeout: 245 seconds]
lemoinem has joined #lisp
Codaraxis_ has joined #lisp
Codaraxis__ has joined #lisp
anewuser has joined #lisp
Codaraxis has quit [Ping timeout: 265 seconds]
Codaraxis has joined #lisp
Codaraxis_ has quit [Ping timeout: 240 seconds]
Codaraxis__ has quit [Ping timeout: 265 seconds]
_whitelogger has joined #lisp
ebzzry has quit [Ping timeout: 240 seconds]
cyraxjoe has joined #lisp
jeosol has joined #lisp
libertyprime has quit [Ping timeout: 240 seconds]
cyraxjoe has quit [Quit: I'm out!]
cyraxjoe has joined #lisp
libertyprime has joined #lisp
Nomenclatura has quit [Quit: q]
karlosz has joined #lisp
Codaraxis_ has joined #lisp
Codaraxis has quit [Ping timeout: 240 seconds]
Codaraxis__ has joined #lisp
sauvin has joined #lisp
Codaraxis_ has quit [Ping timeout: 240 seconds]
<beach> Good morning everyone!
<beach> phoe: As I recall, I didn't make that mistake in SICL LOOP.
Codaraxis_ has joined #lisp
Codaraxis__ has quit [Ping timeout: 240 seconds]
_whitelogger has joined #lisp
libertyprime has quit [Ping timeout: 265 seconds]
libertyprime has joined #lisp
cyraxjoe has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 240 seconds]
gioyik has joined #lisp
cyraxjoe has joined #lisp
<LdBeth> Hello beach
quazimodo has joined #lisp
cyraxjoe has quit [Quit: I'm out!]
cyraxjoe has joined #lisp
cyraxjoe has quit [Client Quit]
quazimodo has quit [Ping timeout: 240 seconds]
cyraxjoe has joined #lisp
dented42 has joined #lisp
cyraxjoe has quit [Quit: I'm out!]
dddddd has quit [Read error: Connection reset by peer]
cross has quit [Quit: Lost terminal]
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
cyraxjoe has joined #lisp
frgo has quit [Remote host closed the connection]
enrio has joined #lisp
<jackdaniel> phoe: ansi loop is a dwim mess (not portably extensible at that)
john_ has quit [Ping timeout: 268 seconds]
<jackdaniel> phoe: also I think you mean "MIT LOOP", not "ANSI LOOP", I'm not aware of any LOOP implementation released by ansi comitee ;)
anewuser has quit [Ping timeout: 265 seconds]
akkad has quit [Remote host closed the connection]
cyraxjoe has quit [Quit: I'm out!]
gioyik has quit [Ping timeout: 265 seconds]
cyraxjoe has joined #lisp
karlosz has quit [Quit: karlosz]
Ober has quit [Quit: Emacs must have died]
cmatei has quit [Remote host closed the connection]
karlosz has joined #lisp
karlosz has quit [Remote host closed the connection]
even4void has joined #lisp
even4void has quit [Client Quit]
karlosz has joined #lisp
karlosz has quit [Remote host closed the connection]
cmatei has joined #lisp
v0|d has quit [Ping timeout: 268 seconds]
ljavorsk_ has joined #lisp
libertyprime has quit [Ping timeout: 240 seconds]
libertyprime has joined #lisp
akkad has joined #lisp
JohnMS_WORK has joined #lisp
Codaraxis__ has joined #lisp
ggole has joined #lisp
cyraxjoe has quit [Quit: I'm out!]
cyraxjoe has joined #lisp
Codaraxis_ has quit [Ping timeout: 265 seconds]
Cymew has joined #lisp
orivej has joined #lisp
libertyprime has quit [Ping timeout: 268 seconds]
libertyprime has joined #lisp
akkad is now known as ober
akkad has joined #lisp
scymtym has quit [Ping timeout: 240 seconds]
jeosol has quit [Quit: Connection closed for inactivity]
cyraxjoe has quit [Quit: I'm out!]
cyraxjoe has joined #lisp
frgo has joined #lisp
frgo has quit [Read error: Connection reset by peer]
frgo has joined #lisp
vlatkoB has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
quazimodo has joined #lisp
<no-defun-allowed> Is https://github.com/deadtrickster/safe-queue the repository that Quicklisp safe-queue is cloned from?
<jackdaniel> you may check it in quicklisp-projects repository
<no-defun-allowed> Right, let's see then.
<no-defun-allowed> Yep, looks like it is.
<no-defun-allowed> There is a little typo in the lparallel backend: the word "mailbox" should be replaced with "queue" in the documentation and lambda list in queue-empty-p.
<Cymew> PR?
<no-defun-allowed> Done that, but I haven't a clue how long it'll take to go through.
varjag has joined #lisp
<no-defun-allowed> Though this maintainer looks a lot more active then the last one I wrote a PR for.
<no-defun-allowed> Oh, that last one is about as active according to GitHub ):
<Cymew> Sad.
<Cymew> Maintenance fork, maybe?
<no-defun-allowed> Would it be impolite to "bump" the last one if we haven't gotten a response in six months?
<jackdaniel> preemptive fork sounds like a plan ,)
<jackdaniel> no-defun-allowed: it wouldn't
<Cymew> No, go and bump.
<no-defun-allowed> https://github.com/jsmpereira/heroku-buildpack-cl/pull/9 is getting a little stale.
<no-defun-allowed> Maybe I should update the SBCL version in mine, too.
frgo has quit [Remote host closed the connection]
<Cymew> A bit stale.
<Cymew> Looks like a fast moving piece of tech, though. PaaS and cloud in the same sentence.
frgo has joined #lisp
<no-defun-allowed> Does this sound nasty in any way? "I hate to be rude, but it has been six months since I wrote this PR and haven't really gotten a response. It is fairly possible that users of this buildpack have had some troubles compiling programs as a lot of unportable extensions have changed significantly, as well as some portable ones too (uiop for example). Merging this would probably be a good idea."
frgo has quit [Remote host closed the connection]
<Cymew> I'd post it.
frgo has joined #lisp
<no-defun-allowed> Alright, thanks.
<jackdaniel> I've heard that practically everything before ", but" has its meaning reversed ;)
<Cymew> I'd never heard of Heroku before. Does that mean it has been superceded or that I'm lagging behind? ;)
<jackdaniel> so I'd skip that part and start with "It has been six …" ,)
<no-defun-allowed> jackdaniel: https://www.xkcd.com/2146/
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
frgo has quit [Remote host closed the connection]
frgo has joined #lisp
<no-defun-allowed> Cymew: You put code on it, it passes it through a "buildpack" to dump an image, it runs the image. Not the worst serverless architecture I can come up with, but it took some adjustment to get used to.
<no-defun-allowed> More so because only six languages, none of which I know how to write or wouldn't dare writing a server in, are properly supported and the rest of us just get API specifications.
orivej has joined #lisp
<no-defun-allowed> Those are good, but they don't make for good learning material. Like trying to learn a non-programming language by skimming a dictionary.
<Cymew> It does fill a niche, I guess.
<no-defun-allowed> It fills my niche of "host for broke people that want to host servers" fairly well.
toorevitimirp has joined #lisp
Harag has joined #lisp
frgo has quit [Read error: Connection reset by peer]
frgo_ has joined #lisp
scymtym has joined #lisp
grabarz has joined #lisp
scymtym has quit [Remote host closed the connection]
orivej has quit [Ping timeout: 240 seconds]
<jackdaniel> minion: registeration please
<minion> watch out, you'll make krystof angry
<jackdaniel> hum
orivej has joined #lisp
grabarz has quit [Quit: Textual IRC Client: www.textualapp.com]
<flip214> minion: registration, please?
<minion> The URL https://gitlab.common-lisp.net/users/sign_in?secret=82a381b7 will be valid until 08:45 UTC.
<flip214> jackdaniel: ^^
<flip214> jackdaniel: at :29 you'd only have had a single minute to register anyway ;)
<jackdaniel> thank you, I thought that it wil lbe useful for hjudt
<shka__> no-defun-allowed: chill, most of the pull requests are ignored forever
<flip214> yeah, I just wanted to send that ;)
orivej has quit [Ping timeout: 265 seconds]
orivej has joined #lisp
quazimodo has quit [Ping timeout: 240 seconds]
_whitelogger has joined #lisp
grabarz has joined #lisp
Codaraxis_ has joined #lisp
<phoe> jackdaniel: I think so, yes
<no-defun-allowed> shka__: ):
gxt has joined #lisp
orivej has quit [Ping timeout: 276 seconds]
Codaraxis__ has quit [Ping timeout: 265 seconds]
gaqwas has joined #lisp
<gaqwas> hello
<jackdaniel> o/
libertyprime has quit [Ping timeout: 240 seconds]
<beach> Hello gaqwas.
<beach> gaqwas: Are you new here? I don't recognize your nick.
scymtym has joined #lisp
<gaqwas> beach, yes, it's my first time here. :)
Hofpfister has joined #lisp
<beach> Welcome! What brings you to #lisp?
<gaqwas> I've started fiddling around with Common Lisp a few days ago and thought I could learn more by reading what's being discussed here and possibly asking questions now and then.
<beach> Sounds good.
<gaqwas> I only started a few days ago but wished I had discovered it twenty years ago...
<gaqwas> :)
<beach> I know what you mean.
<jackdaniel> from what I've been told you'd enjoy plenty of flamewars on the usenet around that time ;)
<gaqwas> hehe
quazimodo has joined #lisp
libertyprime has joined #lisp
Ven`` has joined #lisp
* Cymew shudders
<beach> gaqwas: What implementation did you choose?
clothespin_ has joined #lisp
<gaqwas> I'm currently toying with Portacle, so SBCL.
<beach> OK.
<hjudt> minion: registration, please?
<minion> The URL https://gitlab.common-lisp.net/users/sign_in?secret=8d02f622 will be valid until 09:30 UTC.
Codaraxis__ has joined #lisp
<gaqwas> beach, which implementation do you use?
<gaqwas> what*
clothespin has quit [Ping timeout: 246 seconds]
<beach> Also SBCL at least for now. It's a popular choice here.
<gaqwas> Okay.
jonatack has joined #lisp
q[corwin] has quit [Ping timeout: 240 seconds]
Codaraxis_ has quit [Ping timeout: 268 seconds]
gareppa has joined #lisp
manualcrank has joined #lisp
toorevitimirp has quit [Quit: Konversation terminated!]
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven`` has joined #lisp
ljavorsk_ has quit [Ping timeout: 240 seconds]
jeosol has joined #lisp
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
JohnMS has joined #lisp
JohnMS_WORK has quit [Ping timeout: 250 seconds]
hhdave has joined #lisp
gareppa has quit [Quit: Leaving]
Codaraxis_ has joined #lisp
synaps3 has joined #lisp
synaps3 has quit [Changing host]
synaps3 has joined #lisp
<luis> SBCL is quite amazing.
Codaraxis__ has quit [Ping timeout: 265 seconds]
shidima has joined #lisp
<shidima> Is there a way to step through my code in emacs with sly / slime?
<shidima> I set up a trace with sly, but I would like to step through the code line by line if possible
<no-defun-allowed> STEP might help.
Ven`` has joined #lisp
<shidima> Just found an artical about that in the cookbook. Will look into it thanks
<no-defun-allowed> You'll have the best experience with it if you evaluate (declaim (optimize (debug 3) (safety 3) (speed 1))) so all debugging information is preserved and no optimisations that could mess with what you expect to be evaluated are enabled.
Codaraxis__ has joined #lisp
superkumasan has quit [Ping timeout: 264 seconds]
Codaraxis_ has quit [Ping timeout: 240 seconds]
Ven`` has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ven`` has joined #lisp
frgo_ has quit [Remote host closed the connection]
Ven`` has quit [Read error: Connection reset by peer]
frgo has joined #lisp
pfdietz has joined #lisp
frgo has quit [Ping timeout: 268 seconds]
mabox has joined #lisp
<mabox> Did ya ideology like at Cristosan.com
milanj has quit [Quit: This computer has gone to sleep]
nadare has joined #lisp
superkumasan has joined #lisp
libertyprime has quit [Ping timeout: 240 seconds]
<no-defun-allowed> Colleen: ramble about ideology
<Colleen> Couldn't think of anything about ideology.
<no-defun-allowed> Colleen: ramble about mabox
<Colleen> Couldn't think of anything about mabox.
<Shinmera> no-defun-allowed: don't.
* no-defun-allowed doesn't
<no-defun-allowed> Someone let their markov chain run off.
libertyprime has joined #lisp
icov0x29a has joined #lisp
mabox has quit [Remote host closed the connection]
shidima has quit [Ping timeout: 240 seconds]
icov0x29a has quit [Quit: Leaving]
toorevitimirp has joined #lisp
toorevitimirp has quit [Ping timeout: 276 seconds]
Josh_2 has quit [Remote host closed the connection]
ebrasca has joined #lisp
shifty has joined #lisp
synaps3 has quit [Quit: Leaving]
frgo has joined #lisp
ljavorsk_ has joined #lisp
frgo has quit [Ping timeout: 240 seconds]
jonatack has quit [Ping timeout: 268 seconds]
grabarz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jonatack has joined #lisp
frgo has joined #lisp
q[corwin] has joined #lisp
<shka__> hi
<shka__> how do i obtain path to the loaded lisp system?
<thijso> shka__: (asdf:system-source-directory system-designator)
<thijso> I think
<shka__> this looks good, thanks
<thijso> So, something like (ql:quickload :bla-system) then (asdf:system-source-directory :bla-system)
grabarz has joined #lisp
__jrjsmrtn__ has joined #lisp
_jrjsmrtn has quit [Ping timeout: 240 seconds]
EvW has joined #lisp
<Shinmera> you can retrieve the source directory even if it's not loaded, as long as the ASD can be found.
ramus has quit [Ping timeout: 265 seconds]
TMA has quit [Ping timeout: 250 seconds]
ljavorsk_ has quit [Ping timeout: 265 seconds]
milanj has joined #lisp
<thijso> Ah, makes sense, Shinmera
raghavgururajan has joined #lisp
ljavorsk_ has joined #lisp
JohnMS_WORK has joined #lisp
JohnMS has quit [Ping timeout: 240 seconds]
JohnMS_WORK has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
ramus has joined #lisp
bitmapper has joined #lisp
pfdietz has quit [Remote host closed the connection]
ramus has quit [Ping timeout: 265 seconds]
gareppa has joined #lisp
stux|RC-only has quit [Read error: Connection reset by peer]
orivej has joined #lisp
stux|RC-only has joined #lisp
pfdietz has joined #lisp
ramus has joined #lisp
__jrjsmrtn__ has quit [Ping timeout: 240 seconds]
__jrjsmrtn__ has joined #lisp
ljavorsk_ has quit [Ping timeout: 265 seconds]
Bike has joined #lisp
gxt has quit [Remote host closed the connection]
shifty has quit [Ping timeout: 268 seconds]
paul0 has joined #lisp
shifty has joined #lisp
gareppa has quit [Quit: Leaving]
<dlowe> if you want a file inside the system, asdf:system-relative-pathname is really useful
TMA has joined #lisp
anewuser has joined #lisp
dyelar has joined #lisp
Josh_2 has joined #lisp
<Shinmera> I prefer to calculate the path myself via compile-file-pathname/load-pathname to avoid the ASDF dependency inside the project.
X-Scale` has joined #lisp
X-Scale has quit [Ping timeout: 268 seconds]
X-Scale` is now known as X-Scale
makomo has joined #lisp
EvW has quit [Ping timeout: 250 seconds]
dddddd has joined #lisp
jeosol has quit [Quit: Connection closed for inactivity]
jonatack has quit [Read error: Connection reset by peer]
dyelar has quit [Quit: Leaving.]
artaka has joined #lisp
makomo has quit [Ping timeout: 250 seconds]
artaka has quit [Client Quit]
amerlyq has joined #lisp
X-Scale` has joined #lisp
X-Scale has quit [Ping timeout: 250 seconds]
X-Scale` is now known as X-Scale
dale_ has joined #lisp
dale_ is now known as dale
vaporatorius has joined #lisp
vaporatorius has joined #lisp
vaporatorius has quit [Changing host]
milanj has quit [Quit: This computer has gone to sleep]
scymtym_ has joined #lisp
bitmapper has quit [Ping timeout: 250 seconds]
scymtym has quit [Ping timeout: 264 seconds]
Lycurgus has joined #lisp
mindCrime has joined #lisp
Inline has joined #lisp
ebzzry has joined #lisp
Josh_2 has quit [Quit: ERC (IRC client for Emacs 26.2)]
synaps3 has joined #lisp
synaps3 has joined #lisp
synaps3 has quit [Changing host]
gxt has joined #lisp
Inline__ has quit [Ping timeout: 264 seconds]
<luis> Shinmera: I just did (ql:quickload :qtools-opengl) then (qtools-opengl:main) on Windows and it... worked. Nice job. :)
toorevitimirp has joined #lisp
<Shinmera> Thanks
<Shinmera> Windows is less problematic for external dependencies than the other systems
<phoe> *unless it comes to building those external dependencies from source
shifty has quit [Ping timeout: 268 seconds]
<jackdaniel> build once profit for a lifetime! (https://blog.0patch.com/2017/11/did-microsoft-just-manually-patch-their.html :)
milanj has joined #lisp
<p_l> 32bit code from 1993 still works in most recent windows 10, so...
<jackdaniel> I'm still waiting for the part which comes after so ,p
synaps3 has quit [Quit: Leaving]
<p_l> equation editor being 17 years old binary at the time of writing that article wasn't as crazy ;)
dented42 has joined #lisp
orivej has quit [Ping timeout: 276 seconds]
f-a has joined #lisp
toorevitimirp has quit [Quit: Konversation terminated!]
anewuser has quit [Quit: anewuser]
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
bitmapper has joined #lisp
gaqwas has quit [Quit: Leaving]
smazga has joined #lisp
EvW1 has joined #lisp
enikar has joined #lisp
jxy has quit [Quit: leaving]
manualcrank has quit [Quit: WeeChat 1.9.1]
f-a has quit [Quit: leaving]
jxy has joined #lisp
scymtym_ has quit [Remote host closed the connection]
scymtym__ has joined #lisp
dyelar has joined #lisp
Lycurgus has quit [Quit: Exeunt]
enrioog has joined #lisp
EvW1 has quit [Ping timeout: 245 seconds]
enrio has quit [Ping timeout: 265 seconds]
Codaraxis_ has joined #lisp
matijja` has joined #lisp
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
Codaraxis__ has quit [Ping timeout: 265 seconds]
Hofpfister has quit [Ping timeout: 265 seconds]
Inline has quit [Quit: Leaving]
Inline has joined #lisp
Proconsa has joined #lisp
igemnace has joined #lisp
warweasle has joined #lisp
Proconsa has quit [Remote host closed the connection]
Proconsa has joined #lisp
Proconsa has quit [Remote host closed the connection]
Proconsa74 has joined #lisp
jonatack has joined #lisp
Proconsa74 has quit [Remote host closed the connection]
grabarz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Ekho has quit [Quit: An alternate universe was just created where I didn't leave. But here, I left you. I'm sorry.]
scymtym__ has quit [Remote host closed the connection]
scymtym has joined #lisp
varjag has joined #lisp
Ekho has joined #lisp
Ekho has quit [Max SendQ exceeded]
jonatack has quit [Ping timeout: 268 seconds]
jonatack has joined #lisp
Ekho has joined #lisp
dgtlcmo has quit [Quit: Lost terminal]
gareppa has joined #lisp
jonatack has quit [Ping timeout: 240 seconds]
jonatack has joined #lisp
gareppa has quit [Remote host closed the connection]
orivej has joined #lisp
hhdave has quit [Quit: hhdave]
LiamH has joined #lisp
DGASAU has quit [Read error: Connection reset by peer]
DGASAU has joined #lisp
CrazyEddy has quit [Ping timeout: 240 seconds]
gxt has quit [Ping timeout: 260 seconds]
jonatack has quit [Ping timeout: 240 seconds]
jeosol has joined #lisp
warweasle has quit [Quit: meeting.]
hiroaki has joined #lisp
jonatack has joined #lisp
<fiddlerwoaroof> Has anyone here ever used CL to connect to an Arduino over a serial port?
<edgar-rft> fiddlerwoaroof: the only thing I found is https://github.com/snmsts/cserial-port
manualcrank has joined #lisp
achilles has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
kajo has joined #lisp
achilles has quit [Client Quit]
xai has joined #lisp
xai is now known as achilleus
achilleus is now known as achilles^
achilles^ is now known as achilles-
achilles- has quit [Remote host closed the connection]
enrioog has quit [Quit: Leaving]
achilles has joined #lisp
asarch has joined #lisp
achilles is now known as Achilleus
Achilleus is now known as achiLLes
CrazyEddy has joined #lisp
orivej has joined #lisp
rippa has joined #lisp
grabarz has joined #lisp
grabarz has quit [Client Quit]
<asarch> Hello amigos! ¿Cómo están?
<asarch> :-)
<ober> mejor que nada
<asarch> I found an old copy of my IRC logs of Hexchat
<asarch> ¡Qué bien ober!
<ober> what was your nickname then?
<asarch> However, it's a little bit out of date (for almost a year)
<asarch> The same one
<asarch> Would you mind to repeat everything we have chat so far?
<asarch> JK :-P
CrazyEddy has quit [Remote host closed the connection]
gabiruh has quit [Ping timeout: 264 seconds]
CrazyEddy has joined #lisp
lucasb has joined #lisp
<asarch> My question was: how did Lisp do the low-level coding for its Lisp machines? With opcodes or directly with S-Expressions?
<ebrasca> asarch: Hola
<asarch> ¡Bandaaa!
<asarch> :-)
achiLLes has quit [Remote host closed the connection]
niklas has joined #lisp
<fiddlerwoaroof> asarch: there are logs in the topic
<fiddlerwoaroof> :)
<asarch> Yeah, I know. I just was kidding :-P
hiroaki has quit [Ping timeout: 276 seconds]
sjl has quit [Quit: WeeChat 2.2-dev]
pelides has joined #lisp
Josh_2 has joined #lisp
pelides has quit [Remote host closed the connection]
downfall has joined #lisp
pelides has joined #lisp
grabarz has joined #lisp
niklas has quit [Remote host closed the connection]
downfall has quit [Remote host closed the connection]
niklas has joined #lisp
grabarz has quit [Client Quit]
niklas has quit [Remote host closed the connection]
niklas has joined #lisp
pelides is now known as achilles
bitmapper has quit [Read error: Connection reset by peer]
bitmappe_ has joined #lisp
asarch has quit [Quit: Leaving]
achilles is now known as achil
niklas has quit [Remote host closed the connection]
niklascarlsson has joined #lisp
Chukk has joined #lisp
achil is now known as axilles
grabarz has joined #lisp
makomo has joined #lisp
niklascarlsson has quit [Remote host closed the connection]
grabarz has quit [Client Quit]
grabarz has joined #lisp
niklascarlsson has joined #lisp
niklascarlsson has quit [Remote host closed the connection]
niklascarlsson has joined #lisp
niklascarlsson has quit [Remote host closed the connection]
matijja` has left #lisp ["Killed buffer"]
vlatkoB has quit [Remote host closed the connection]
jonatack has quit [Ping timeout: 240 seconds]
Codaraxis_ has quit [Ping timeout: 268 seconds]
axilles is now known as styx
bitmappe_ has quit [Ping timeout: 265 seconds]
styx is now known as Guest54277
makomo has quit [Quit: WeeChat 2.4]
gxt has joined #lisp
Guest54277 has quit [Remote host closed the connection]
milanj has quit [Quit: This computer has gone to sleep]
nolo18 has joined #lisp
CrazyEddy has quit [Remote host closed the connection]
EvW has joined #lisp
danielvu2 has quit [Quit: WeeChat 2.5]
CrazyEddy has joined #lisp
frgo has quit []
slyrus has joined #lisp
rixard has quit []
iskander has left #lisp [#lisp]
cyraxjoe has quit [Quit: I'm out!]
mindthelion has joined #lisp
cyraxjoe has joined #lisp
techquila has quit [Ping timeout: 276 seconds]
ggole has quit [Quit: Leaving]
slyrus_ has joined #lisp
slyrus has quit [Ping timeout: 264 seconds]
Chukk has quit [Remote host closed the connection]
rixard has joined #lisp
ricman has joined #lisp
rixard_ has joined #lisp
frgo has joined #lisp
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
<ricman> hello, Im a newbie with both irc and lisp, I was wondering. Is there a way in common lisp to get help about the standard library? something like (help "list")
rixard has quit [Ping timeout: 240 seconds]
EvW has quit [Quit: EvW]
pelides has joined #lisp
pelides is now known as ajax`
CrazyEddy has quit [Remote host closed the connection]
<ricman> Josh_2: I guess, I meant something integrated in the REPL itself but i guess that'll do
bleepcord has joined #lisp
<Josh_2> C-c C-d C-d to describe symbol :)
gravicappa has quit [Ping timeout: 240 seconds]
ajax` is now known as achilles
<dlowe> ricman: you can use (documentation symbol t)
<Josh_2> or C-c C-d C-h to look up in hyperspec
scymtym has quit [Ping timeout: 250 seconds]
<dlowe> the spec is better to read though
<ricman> thanks, god that HyperSpec page is hideous. C-c C-d C-h is a repl command or some emacs shortcut?
<dlowe> I have http://xach.com/clhs?q=%s bookmarked so that I can look up the spec easily
<Josh_2> emacs keybinding ricman
gioyik has joined #lisp
CrazyEddy has joined #lisp
<_death> ricman: set your browser to eww or w3m-emacs instead of using browsers that have hideous defaults
achilles is now known as achilles`
EvW has joined #lisp
<Josh_2> There are a few incomplete alterations of the standard around
rixard_ is now known as rixard
shifty has joined #lisp
achilles` is now known as ai
ai is now known as xo`
drl has joined #lisp
zooey has joined #lisp
xo` is now known as axilles
axilles is now known as aXilles
aXilles is now known as axilles
drl has quit [Quit: Ex-Chat]
gioyik has quit [Ping timeout: 240 seconds]
Codaraxis has joined #lisp
EvW has quit [Ping timeout: 245 seconds]
axilles is now known as fox`
EvW1 has joined #lisp
fox` is now known as achillirc
achillirc is now known as troy`
CrazyEddy has quit [Ping timeout: 268 seconds]
ricman has quit [Ping timeout: 250 seconds]
troy` has quit [Remote host closed the connection]
CrazyEddy has joined #lisp
mindCrime has quit [Ping timeout: 240 seconds]
mindCrime has joined #lisp
scymtym has joined #lisp
milanj has joined #lisp
gioyik has joined #lisp
mindCrime has quit [Ping timeout: 268 seconds]
CrazyEddy has quit [Remote host closed the connection]
brettgilio has quit [Ping timeout: 264 seconds]
nolo18 has left #lisp [#lisp]
jeosol has quit [Quit: Connection closed for inactivity]
bleepcord has quit [Quit: WeeChat 2.6]
<fiddlerwoaroof> the dpans pdf is really pretty :)
Bike has quit [Quit: Bike]
gioyik has quit [Ping timeout: 240 seconds]
<fiddlerwoaroof> There's also this: https://phoe.tymoon.eu/clus/doku.php?id=cl:functions:digit-char
<fiddlerwoaroof> but it's sort of stalled, I think
<phoe> yes
<phoe> waiting for the time when I have the time/energy/will to continue working on it
<Josh_2> drink some tea :)
seok has joined #lisp
lucasb has quit [Quit: Connection closed for inactivity]
CrazyEddy has joined #lisp
EvW1 has quit [Quit: EvW1]
EvW has joined #lisp
amerlyq has quit [Ping timeout: 240 seconds]
<phoe> like, in general
clothespin_ has quit [Quit: Leaving]
MightyJoe has joined #lisp
cyraxjoe has quit [Ping timeout: 268 seconds]
<Xach> fiddlerwoaroof: the dpans tex sources are interesting also
smazga has quit [Quit: leaving]
brettgilio has joined #lisp
<Josh_2> Drink some tea in general xD
jeosol has joined #lisp
Bike has joined #lisp
shifty has quit [Ping timeout: 276 seconds]
``Erik has quit [Ping timeout: 240 seconds]
<seok> how does shadowing work?
dented42 has joined #lisp
<seok> could someone direct me to a tutorial?
<seok> I don't really get CLHS
dented42 has quit [Client Quit]
dented42 has joined #lisp
``Erik has joined #lisp
ebrasca has quit [Remote host closed the connection]
<LdBeth> seok: basically a package is a data structure maps string to interned symbol objects
<LdBeth> in such a sense shadowing is just get the same string to another different symbol so the old one cannot be accessed with the package
cyraxjoe has joined #lisp
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
MightyJoe has quit [Ping timeout: 276 seconds]
<LdBeth> Or simply remove the entry of the string, if no new symbol is supplemented
cyraxjoe has quit [Quit: I'm out!]
CrazyEddy has quit [Remote host closed the connection]
EvW has quit [Ping timeout: 245 seconds]
cyraxjoe has joined #lisp
MightyJoe has joined #lisp
cyraxjoe has quit [Ping timeout: 268 seconds]
synaps3 has joined #lisp
varjag has quit [Quit: ERC (IRC client for Emacs 26.1)]
<fiddlerwoaroof> I wish packages supported renaming imports
cyraxjoe has joined #lisp
MightyJoe has quit [Ping timeout: 240 seconds]
gxt has quit [Remote host closed the connection]
<fiddlerwoaroof> You can use symbol-macros, I guess, but it'd be nice to be able to resolve conflicts between imports by renaming one of them inside a package
gxt has joined #lisp
bitmapper has joined #lisp
narendraj9 has joined #lisp
MightyJoe has joined #lisp
cyraxjoe has quit [Ping timeout: 268 seconds]
<no-defun-allowed> Then symbol names would change between packages, which would be a bit odd.
<no-defun-allowed> (Well, that's the point, but if you look at symbols as interned strings, then you have to wonder what string you're interning.)
<LdBeth> fiddlerwoaroof: there’s such a proposal
<aeth> no-defun-allowed: Depends on how you see it. The way I'd do "renaming" is to simply introduce a new concept or something, so the symbol foo:bar "refers to" baz:quux in some sense. I guess care would have to be taken because it would probably just inherit references so macros expecting the symbol baz:quux must get the symbol baz:quux instead of the "renamed" bar (i.e. foo:bar)
<LdBeth> Maybe there’s a chance have this feature in SICL
<aeth> no-defun-allowed: but essentially, the object being referred to by baz:quux would now also be referred to by foo:bar, for all types of objects (functions, variables, etc.)
<White_Flame> readtables support SET-SYNTAX-FROM-CHAR which lets you map 1 character's functionality in an "imported" readtable to a different character in your readtable, so there's some precedent for that sort of functionality
<White_Flame> the biggest question is what would the SYMBOL-NAME be?
<White_Flame> likely, the name of my-package::foo (imported from other-package:bar) would be "BAR"
<no-defun-allowed> LdBeth: It could, but currently a symbol name is just held in the slot %name, which probably doesn't have multiple values.
<White_Flame> the printer would probably be able to show the local name, if you're in my-package
<aeth> White_Flame: Imo, it should have the new symbol name, and you just have to be aware that it won't work with some macros. If it's a foo it's "foo". What's inherited is the references to e.g. the functions or macros, so it's a zero-cost alias (instead of e.g. making a trivial function that just calls the old function)
<no-defun-allowed> And I have to wonder how the printer would handle it too. Would it favour the renamed -- hey, don't read my mind please.
<LdBeth> no-defun-allowed: cl lexicon solve this problem by implement another layer of modules system
<LdBeth> So the symbol name stays consistent
<White_Flame> aeth: then you're not actually importing the symbol itself, but making a new one, whose value in any namespace needs to map to the other symbol
<fiddlerwoaroof> I wouldn't want to rename the referenced symbol, just have the reader map a certain name in the current package to the imported symbol
<White_Flame> right
<LdBeth> See the link I gave
<fiddlerwoaroof> Alternatively, the symbol could have a hashtable of package->name
<aeth> White_Flame: Right. So if new-package::foo refers to old-package:bar, then it's still the symbol new-package::foo with the symbol-name "FOO" instead of "BAR" it's just that it inherits any object referred to by old-package:bar. Ideally, keeping things in sync so a redefinition of #'old-package:bar updates #'new-package::foo
LiamH has quit [Quit: Leaving.]
<fiddlerwoaroof> I wouldn't want that because I don't want the new package to be "in control"
<fiddlerwoaroof> this handles the case where I want to have both cl:+ and matrix-math:+ in my current package without package prefixes
<aeth> I don't see what you mean. With my proposal, you'd just alias matrix-math:+ to m+ or whatever, and (m+ m1 m2) will work as expected. If symbol-name of e.g. m= is "=" instead of "M=" for matrix-math:= then you could do this: (loop with x m= 1 ...) and that's absurd
wxie has joined #lisp
<fiddlerwoaroof> I don't want aliasing to mess with the symbol-name because that makes the symbol-name of a symbol depend on the current set of loaded packages
clothespin has joined #lisp
<aeth> right
<fiddlerwoaroof> As far as your case goes, we'd either have to respecify the behavior of loop or say "don't do stupid things"
Kevslinger has joined #lisp
<fiddlerwoaroof> The way loop handles its keywords is already a bit weird, I'd be fine with either requireing (loop with x := 1) or requiring that the keywords be in the cl package
<fiddlerwoaroof> e.g. (loop cl:with x cl:= 1)
<no-defun-allowed> So, I'm using split-sequence to split a string with 100,000 lines, and Clozure is about 4x slower at splitting and I believe that's the slowest part of my program now. Is there anything I can do to split faster?
<aeth> probably
<aeth> split-sequence is designed for general purpose use
<LdBeth> Do use read-sequence
<aeth> If e.g. split-sequence does bounds checking, then making a function with a type declaration with your exact string type (including the length) could speed things up. Or doing a length check and then turning safety off locally around the iteration (assuming that you can do that in your implementation)
<no-defun-allowed> Using a string input stream and read-line is barely faster.
<aeth> Oh, also inlining the string-splitting function (even if it's large) would have a similar effect of removing the bounds check if done right
<aeth> Essentially specificizing generic code.
<aeth> You could also just not split strings, working with :start and :end, which nearly every string/sequence function takes in, if your specific problem permits that.
<aeth> (Or subseq once, at the very end.)
<aeth> If you're reading the string from a file or the network, you could try working in it as bytes instead of as characters, too.
<aeth> (i.e. octets)
<no-defun-allowed> Hm.
cyraxjoe has joined #lisp
wxie has quit [Ping timeout: 250 seconds]
MightyJoe has quit [Ping timeout: 276 seconds]
grabarz has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
CrazyEddy has joined #lisp
clothespin_ has joined #lisp
<fiddlerwoaroof> no-defun-allowed: I got tired of split-sequence being slow and implemented my own split
<aeth> fiddlerwoaroof: a while ago or recently? split-sequence got a big rewrite based on conversations in #lisp maybe a few months ago or so. earlier this year iirc
<fiddlerwoaroof> I dunno, I also don't like s-s's API
<no-defun-allowed> Oh, I should test cl-strings as well. The name would suggest they know some string things.
<aeth> The problem is that iirc it didn't handle vectors and lists separately until recently
clothespin has quit [Ping timeout: 250 seconds]
<fiddlerwoaroof> I think this is a year or two old
<aeth> no-defun-allowed: eh... idk, if your main concern is performance, you often/usually need to write your own things, that's just how things go
<aeth> Often the general/proper solution is at odds with the performant one
<fiddlerwoaroof> Anyways, at the time, I managed to split a multi-gigabyte csv file significantly faster with this than split-sequence
<no-defun-allowed> cl-strings is indeed faster, at 170ms rather than 240ms.
<aeth> well, that's not too surprising because it's less generic (strings instead of sequences)
<no-defun-allowed> aeth: When I did write my own reader, it ran at half the speed of split-sequence.
MightyJoe has joined #lisp
<no-defun-allowed> And I would really like to avoid writing my own splitter because that would be more code I have to maintain.
cyraxjoe has quit [Ping timeout: 268 seconds]
torbo has joined #lisp