pagnol has quit [Ping timeout: 248 seconds]
dented42_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
smasta has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 264 seconds]
pjb has quit [Remote host closed the connection]
whartung has quit [Ping timeout: 256 seconds]
whartung_ has joined #lisp
fikka has joined #lisp
Patzy has quit [Ping timeout: 256 seconds]
lonjil has quit [Quit: Quit.]
Patzy has joined #lisp
jstypo has quit [Ping timeout: 240 seconds]
Kaisyu has joined #lisp
_paul0 has joined #lisp
whartung_ has quit [Quit: whartung_]
fikka has quit [Read error: Connection reset by peer]
paul0 has quit [Ping timeout: 248 seconds]
shifty has joined #lisp
Cymew has joined #lisp
whartung has joined #lisp
Chream_ has joined #lisp
ikki has quit [Ping timeout: 240 seconds]
shrdlu68 has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
wigust- has quit [Ping timeout: 248 seconds]
zaquest has quit [Ping timeout: 260 seconds]
gilez has quit [Ping timeout: 256 seconds]
Tobbi has quit [Quit: Leaving]
lonjil has joined #lisp
quazimodo has quit [Ping timeout: 240 seconds]
lonjil is now known as Guest88128
Pixel_Outlaw has joined #lisp
zaquest has joined #lisp
Guest88128 has quit [Quit: WeeChat 2.0.1]
fikka has quit [Ping timeout: 240 seconds]
zaquest has quit [Ping timeout: 240 seconds]
zaquest has joined #lisp
fikka has joined #lisp
lonjil2 has joined #lisp
bigos has quit [Ping timeout: 240 seconds]
lonjil2 is now known as lonjil
markong has quit [Ping timeout: 240 seconds]
turkja has joined #lisp
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Ping timeout: 240 seconds]
__paul0 has joined #lisp
_paul0 has quit [Ping timeout: 240 seconds]
smasta has joined #lisp
xrash has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 260 seconds]
xrash has joined #lisp
dented42 has joined #lisp
aphprentice has quit [Quit: Connection closed for inactivity]
clog has joined #lisp
<pillton> aeth: I looked in to named and inlined specializations over the weekend. A few things were fixed as a result.
fikka has joined #lisp
smurfrobot has joined #lisp
al-damiri has quit [Quit: Connection closed for inactivity]
warweasle has quit [Quit: Leaving]
pagnol has joined #lisp
sjl has joined #lisp
EvW1 has quit [Ping timeout: 246 seconds]
<Pixel_Outlaw> I've not visited in a while, any cool personal projects in progress?
<Pixel_Outlaw> I'm still rolling around the idea of a small 2D CAD but I'd have to choose a GUI first. :P
sjl has quit [Ping timeout: 240 seconds]
dieggsy has quit [Remote host closed the connection]
earl-ducaine has quit [Remote host closed the connection]
earl-ducaine has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
oleo has quit [Ping timeout: 265 seconds]
ACE_Recliner has joined #lisp
ebzzry has joined #lisp
zazzerino has quit [Remote host closed the connection]
zazzerino has joined #lisp
pierpa has quit [Quit: Page closed]
krasnal has quit [Ping timeout: 256 seconds]
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
dieggsy has joined #lisp
_cosmonaut_ has joined #lisp
d4ryus2 has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
d4ryus1 has quit [Ping timeout: 248 seconds]
orivej has quit [Ping timeout: 268 seconds]
gilez has joined #lisp
ACE_Recliner has quit [Quit: Leaving]
JenElizabeth has joined #lisp
fikka has joined #lisp
ahungry has joined #lisp
pagnol has quit [Ping timeout: 248 seconds]
Chream_ has quit [Ping timeout: 265 seconds]
quazimodo has joined #lisp
JenElizabeth has quit [Remote host closed the connection]
wmannis has joined #lisp
JenElizabeth has joined #lisp
JenElizabeth has quit [Remote host closed the connection]
JenElizabeth has joined #lisp
JenElizabeth has quit [Remote host closed the connection]
xrash has quit [Read error: Connection reset by peer]
tonton has quit [Ping timeout: 256 seconds]
red-dot has joined #lisp
tonton has joined #lisp
Arcaelyx has joined #lisp
Pixel_Outlaw has quit [Quit: Leaving]
Pixel_Outlaw has joined #lisp
ahungry has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 248 seconds]
xrash has joined #lisp
fikka has joined #lisp
wmannis has quit [Quit: wmannis]
erikc has joined #lisp
Oladon has joined #lisp
marusich has joined #lisp
asarch has joined #lisp
FreeBirdLjj has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
dtornabene has quit [Read error: Connection reset by peer]
dtornabene has joined #lisp
FreeBirdLjj has quit [Ping timeout: 248 seconds]
damke_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
nika has joined #lisp
fikka has joined #lisp
nowhereman_ has joined #lisp
nowhere_man has quit [Ping timeout: 240 seconds]
Pixel_Outlaw has quit [Quit: Leaving]
whoman has quit [Remote host closed the connection]
whoman has joined #lisp
dddddd has quit [Remote host closed the connection]
damke has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
marusich has quit [Ping timeout: 265 seconds]
marusich has joined #lisp
ckonstanski has joined #lisp
epony has quit [Quit: re-installing OS in-place.]
erikc has quit []
fikka has quit [Ping timeout: 264 seconds]
dented42 has joined #lisp
fikka has joined #lisp
ihatepasswords has quit [Remote host closed the connection]
dented42 has quit [Ping timeout: 240 seconds]
epony has joined #lisp
ckonstanski has quit [Remote host closed the connection]
_krator44 is now known as krator44
krator44 has quit [Changing host]
krator44 has joined #lisp
krator44 has joined #lisp
zazzerino has quit [Ping timeout: 240 seconds]
smasta has quit [Ping timeout: 264 seconds]
shka has joined #lisp
schoppenhauer has quit [Ping timeout: 248 seconds]
<aeth> Hmm... ASDF package-inferred-system loses license information in the systems that it automatically creates, i.e. if you run something automated to get the license of everything, the primary system will have a license, but the others won't. Lots of NIL licenses that technically have a license.
Pixel_Outlaw has joined #lisp
schoppenhauer has joined #lisp
Chream_ has joined #lisp
Pixel_Outlaw has quit [Client Quit]
Bike has quit [Quit: Lost terminal]
dented42 has joined #lisp
damke has quit [Ping timeout: 264 seconds]
xrash has quit [Ping timeout: 256 seconds]
beach` is now known as beach
xrash has joined #lisp
dtornabene has quit [Read error: Connection reset by peer]
dtornabene has joined #lisp
epony has quit [Read error: Connection reset by peer]
dtornabene has quit [Read error: Connection reset by peer]
<beach> Good morning everyone!
<pillton> G'day beach.
damke has joined #lisp
epony has joined #lisp
igemnace_ is now known as igemnace
smasta has joined #lisp
smasta has quit [Ping timeout: 246 seconds]
asarch has quit [Quit: Leaving]
dieggsy has quit [Ping timeout: 246 seconds]
makomo has quit [Ping timeout: 256 seconds]
Kaisyu7 has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
fikka has quit [Ping timeout: 240 seconds]
nowhereman_ has quit [Ping timeout: 246 seconds]
nowhereman_ has joined #lisp
fikka has joined #lisp
gilez has quit [Ping timeout: 240 seconds]
Oladon has quit [Quit: Leaving.]
oleo has joined #lisp
karswell has quit [Read error: Connection reset by peer]
karswell has joined #lisp
red-dot has joined #lisp
heurist` has joined #lisp
damke_ has joined #lisp
quazimodo has quit [Ping timeout: 246 seconds]
damke has quit [Ping timeout: 246 seconds]
heurist has quit [Ping timeout: 260 seconds]
Arcaelyx has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waaron1 has quit [Ping timeout: 240 seconds]
LocaMocha has joined #lisp
LocaMocha has quit [Max SendQ exceeded]
quazimodo has joined #lisp
oleo has quit [Quit: Leaving]
fikka has quit [Ping timeout: 248 seconds]
LocaMocha has joined #lisp
Kaisyu7 has joined #lisp
<aeth> pillton: Great! What was the bug when it was both named and inlined that was fixed in c6bd893?
Karl_Dscc has joined #lisp
epony has quit [Quit: QUIT]
quazimodo has quit [Ping timeout: 264 seconds]
quazimodo has joined #lisp
fikka has joined #lisp
terpri has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 248 seconds]
ben3 has quit [Ping timeout: 255 seconds]
nika has quit []
makomo has joined #lisp
ben3 has joined #lisp
bgardner has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
makomo has quit [Ping timeout: 260 seconds]
dec0n has joined #lisp
smasta has joined #lisp
DeadTrickster has joined #lisp
DeadTrickster_ has quit [Ping timeout: 264 seconds]
smasta has quit [Ping timeout: 248 seconds]
Karl_Dscc has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
Murii has joined #lisp
Murii has quit [Read error: Connection reset by peer]
fikka has quit [Ping timeout: 240 seconds]
vlatkoB has joined #lisp
scymtym has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
varjag has joined #lisp
nopf has quit [Read error: Connection reset by peer]
cpape has quit [Ping timeout: 276 seconds]
fikka has quit [Ping timeout: 256 seconds]
mishoo has joined #lisp
heurist`_ has joined #lisp
heurist` has quit [Ping timeout: 265 seconds]
sbryant has quit [Ping timeout: 268 seconds]
sbryant has joined #lisp
smasta has joined #lisp
smasta has quit [Ping timeout: 240 seconds]
xrash has quit [Remote host closed the connection]
cpape has joined #lisp
marusich has quit [Quit: Leaving]
fikka has joined #lisp
flamebeard has joined #lisp
damke has joined #lisp
Cymew has joined #lisp
damke__ has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
damke_ has quit [Ping timeout: 264 seconds]
igemnace has joined #lisp
damke has quit [Ping timeout: 264 seconds]
scymtym has joined #lisp
_main_ has joined #lisp
_main_ has quit [Read error: Connection reset by peer]
nowhereman_ has quit [Ping timeout: 240 seconds]
vlatkoB has quit [Remote host closed the connection]
_main_ has joined #lisp
dddddd has joined #lisp
vlatkoB has joined #lisp
orivej has joined #lisp
__main__ has quit [Ping timeout: 268 seconds]
_main_ is now known as __main__
damke has joined #lisp
damke__ has quit [Ping timeout: 264 seconds]
nowhereman_ has joined #lisp
terpri has joined #lisp
manualcrank has quit [Quit: WeeChat 2.0.1]
quazimodo has quit [Ping timeout: 240 seconds]
heisig has joined #lisp
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<heisig> Good morning!
dented42 has joined #lisp
<beach> Hello heisig.
orivej has quit [Ping timeout: 256 seconds]
* heisig works on his ELS paper
hhdave has joined #lisp
knicklux has joined #lisp
damke_ has joined #lisp
solyd has joined #lisp
damke has quit [Ping timeout: 264 seconds]
damke has joined #lisp
orivej has joined #lisp
damke__ has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
scymtym_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
wigust has joined #lisp
scymtym has quit [Ping timeout: 246 seconds]
clarkema has joined #lisp
krasnal has joined #lisp
damke has joined #lisp
damke__ has quit [Ping timeout: 264 seconds]
<phoe> Morning
smasta has joined #lisp
damke_ has joined #lisp
smasta has quit [Ping timeout: 240 seconds]
damke has quit [Ping timeout: 264 seconds]
Murii has joined #lisp
tomlukeywood has joined #lisp
<tomlukeywood> how dose one get the length of an array in clisp?
<Shinmera> clhs length
<tomlukeywood> ty
<beach> tomlukeywood: It is not a CLISP thing. It is in the Common Lisp standard.
<beach> tomlukeywood: Or, perhaps you were using "clisp" as an abbreviation for Common Lisp? CLISP is an implementation of Common Lisp. If you want to abbreviate Common Lisp, then it is better to use CL.
<beach> tomlukeywood: LENGTH is only defined for sequences, so if your array has more than one dimension, it won't work.
<beach> clhs array-total-size
ninegrid has quit [Quit: leaving]
knicklux has quit [Quit: Leaving]
nirved has joined #lisp
__paul0 has quit [Ping timeout: 248 seconds]
paul0 has joined #lisp
_paul0 has joined #lisp
paul0 has quit [Ping timeout: 255 seconds]
Chream_ has quit [Ping timeout: 265 seconds]
paul0 has joined #lisp
_paul0 has quit [Read error: Connection reset by peer]
_paul0 has joined #lisp
paul0 has quit [Read error: Connection reset by peer]
wxie has joined #lisp
tomlukeywood has quit [Quit: Leaving.]
sjl has joined #lisp
<dmiles> clhs symbol-macro
<specbot> Couldn't find anything for symbol-macro.
Chream_ has joined #lisp
smasta has joined #lisp
<jdz> dmiles: did you want define-symbol-bacro?
<jdz> macro even.
* dmiles wishes there was a accessor for symbol-macros
<dmiles> well i implemented define-symbol-macro in my impl.. but was checking to see if there was a getter for it
<Shinmera> There is.
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<dmiles> macroexpand :) ?
<Shinmera> Yes
smasta has quit [Ping timeout: 260 seconds]
sjl has quit [Ping timeout: 260 seconds]
<phoe> "The value of *macroexpand-hook* is coerced to a function and then called as a function of three arguments: the expansion function, the form, and the env."
<phoe> Does it mean that I can fetch the expansion functions for symbol macros this way?
<dmiles> liek by settign it to #'list neat idea
<phoe> #'list won't work
<phoe> (lambda (x y z) (setf *something* (list x y z))) will work {;
<dmiles> right it'll interfer
<dmiles> *nod*
<phoe> it's most likely incorrect but you get the idea.
<phoe> grab the function object, store it somewhere for inspection.
<phoe> you could even (let* ((*someplace* nil) (*macroexpand-hook* (lambda (x y z) (setf *someplace* x)) (macroexpand 'symbol-macro))
<phoe> stuff like that
<phoe> and return *someplace* at the end
<phoe> it should be possible to define a SYMBOL-MACRO-FUNCTION reader this way, huh~
_paul0 has quit [Remote host closed the connection]
_paul0 has joined #lisp
d4ryus2 is now known as d4ryus
arbv has quit [Ping timeout: 256 seconds]
red-dot has joined #lisp
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
jstypo has joined #lisp
Cymew has quit [Read error: Connection reset by peer]
Cymew has joined #lisp
Tobbi has joined #lisp
smasta has joined #lisp
paul0 has joined #lisp
smasta has quit [Ping timeout: 240 seconds]
raynold has quit [Quit: Connection closed for inactivity]
Chream_2 has joined #lisp
_paul0 has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 265 seconds]
Chream_ has quit [Ping timeout: 256 seconds]
pjb has joined #lisp
shrdlu68 has joined #lisp
syssiphus has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
<ebzzry> Which of the logos now best represent CL?
<phoe> ebzzry: none
<phoe> (:
<phoe> there is no agreement on this and I wouldn't expect any to happen.
<phoe> disclaimer: I tried, once. https://imgur.com/a/QEd1p is the result of it.
alexmlw has joined #lisp
<phoe> but it's more a single work of art derived from the original Lisp lizard rather than a commonly recognized Common Lisp logo.
<jdz> I think a Godzilla would be apropos, but that's already taken by Mozilla (back in the day).
<ecraven> what about the alien?
<Shinmera> I really don't like the alien, so I hope to god it doesn't become the representative logo
<ecraven> ;) just that and the one phoe posted are the only ones I remember seeing
nullman has quit [Ping timeout: 240 seconds]
<jdz> Godzilla is an overgrown lizard, and shoots lazors, and has superpowers, etc.
nullman has joined #lisp
<jdz> More like re-made the existing one into vector format.
<ecraven> that might be, I didn't see any attribution on that page (but only glanced at it)
<jdz> The attribution is there.
razzy has quit [Remote host closed the connection]
<saturn2> this is probably the most recognized logo http://www.lispworks.com/documentation/HyperSpec/Graphics/CLHS_Lg.gif
<ecraven> jdz: ah, from the alu
<ecraven> I actually kind of like that one ;) the idea, not the grayish style
aijony has quit [Ping timeout: 268 seconds]
wxie has quit [Remote host closed the connection]
aijony has joined #lisp
markong has joined #lisp
damke has joined #lisp
damke_ has quit [Ping timeout: 263 seconds]
pagnol has joined #lisp
<Shinmera> Reminds me to post this again https://shinmera.github.io/sbcl-logo/
quazimodo has joined #lisp
fikka has joined #lisp
krasnal has quit [Ping timeout: 255 seconds]
smasta has joined #lisp
<phoe> Shinmera: I never saw these before
<jdz> The snek makes sense for SBCL.
<phoe> Snake Bite Common Lisp?
<jdz> Historically the compiler is named Python.
<jdz> The one from CMUCL.
<phoe> I know, yes.
<jdz> Right.
raynold has joined #lisp
smasta has quit [Ping timeout: 248 seconds]
<jdz> We need some more prototypes that are tattoo material – something along the lines of Kali Linux logo maybe.
troydm has quit [Quit: What is Hope? That all of your wishes and all of your dreams come true? To turn back time because things were not supposed to happen like that (C) Rau Le Creuset]
krasnal has joined #lisp
razzy has joined #lisp
zazzerino has joined #lisp
nowhereman_ has quit [Ping timeout: 256 seconds]
pagnol has quit [Ping timeout: 240 seconds]
nowhereman_ has joined #lisp
shrdlu68 has quit [Quit: Lost terminal]
saki has joined #lisp
quazimodo has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 255 seconds]
m00natic has joined #lisp
LiamH has joined #lisp
vap1 has joined #lisp
vaporatorius has joined #lisp
vaporatorius has joined #lisp
attila_lendvai has joined #lisp
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
makomo has joined #lisp
fikka has joined #lisp
vaporatorius has quit [Quit: Leaving]
<dlowe> I like shinmera's lizard
<dlowe> The sbcl compiler may have started from Python, but now it's Python-adjacent
<dlowe> So maybe some other reptile would be good. Like a lizard.
<dlowe> The "made with lisp" logo always looked more like a salamander to me.
Bike has joined #lisp
<makomo> hello
<makomo> the logo is pretty cute
bgardner has joined #lisp
rumbler31 has joined #lisp
<jack_rabbit> Anyone feel like checking out this tetris I wrote? https://github.com/knusbaum/cl-tetris
<dlowe> neat. I'll try it when I get home.
Jesin has quit [Quit: Leaving]
<phoe> works on my machine
<phoe> (:
<jack_rabbit> sweet :)
<beach> jack_rabbit: Do you take remarks on the code?
<jack_rabbit> beach, Sure! Note I haven't gone through to cleanup. I just wrote this all in a few hours for some fun. Structurally, I know it leaves a lot to be desired.
<beach> OK, then I suggest you resubmit when you have cleaned it up.
<jack_rabbit> beach, I'll do that, thanks. :)
<beach> jack_rabbit: I recommend you use the slime-indentation contribution so that LOOP clauses get indented properly. That way, you don't need a newline after the LOOP symbol.
<jack_rabbit> beach, Ahh, I didn't know about that! I always found that annoying about emacs.
fikka has quit [Ping timeout: 248 seconds]
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
<jack_rabbit> beach, Actually, I'd be happy to go ahead and take your remarks whenever. I'm not seeing too much I want to change except dividing the code into multiple files.
<beach> OK.
<beach> You have way too many blank lines. One blank line between top-level forms is the norm. No blank lines inside.
syssiphus has quit [Quit: Leaving]
<beach> In the last clause (:keydown...), can more than one WHEN condition be true?
<beach> I don't see how it could.
<jack_rabbit> no, it can't
<jack_rabbit> so cond instead?
<beach> If only one of them can be true, then you are better off using a COND or a CASE.
<jack_rabbit> makes sense.
<beach> I take it COMPLETE-ROW returns a list of things, right?
<beach> and that list may be empty, right?
<jack_rabbit> Correct.
<beach> Then (WHEN COMPLETE ...) violates the expectation that WHEN should be followed by a Boolean value and not by a list. It is better to write (UNLESS (NULL COMPLETE) ...)
<beach> See the luv-slides by Norvig and Pitman. Page 14 as I recall.
<jack_rabbit> hmm. I thought any non-nil value was implicitly true.
<beach> I am not talking semantics here.
<jack_rabbit> Ahh, this is just style?
<phoe> your code will work correctly
<beach> I am talking about the message that you are sending to the person reading the code.
<phoe> but it may not be understood correctly by humans
<beach> i.e. me right now.
<jack_rabbit> Makes sense. Just wanted to clarify for my sake.
<phoe> you suggest that COMPLETE is a boolean, while it is a list.
<beach> (> row 0) is better expressed as (plusp row).
dieggsy has joined #lisp
<beach> That is an instance of a very general rule in programming, namely that you should use the most specific construct that does the job.
<beach> That way, the person reading the code understands it faster.
<beach> Similarly, (= 0 ...) is better expressed as (zerop ...)
<beach> The DO LOOP clause does not need a PROGN. Removing it saves space.
<jack_rabbit> do accepts multiple forms?
<beach> Yes.
<beach> (when (not ...) ...) is better expressed as (unless ... ...)
<beach> (setf (rows bs) (cdr (rows bs))) is better expressed as (pop (rows bs)).
<beach> There is no need for a newline after the symbol OR.
<beach> You could make an abstraction for (make-instance 'block-seq :x-pos ... :y-pos ...)
<beach> and you could write a MAKE-COLOR with three arguments.
proteanthread has joined #lisp
<beach> (progn (loop ...) nil) can be simplified to (loop ...) because LOOP returns NIL by default.
<beach> Oh, and did I say that you have WAY too many blank lines?
<heisig> beach, you are inspiring me to hack a style checker for CL :)
<beach> heisig: Good idea.
<beach> But hard.
<beach> Especially the indentation part.
<heisig> I fear so.
<heisig> And I can already imagine the flame-wars about which code deserves a style warning...
zazzerino has quit [Remote host closed the connection]
zazzerino has joined #lisp
fikka has joined #lisp
<beach> jack_rabbit: Unless your code does not accept generalized Booleans, you can simplify (if ... t nil) to ...
dyelar has joined #lisp
<jack_rabbit> beach, yeah, THAT one I did catch already. :)
<mfiano> (loop for i from 0 below ...) can be simplified to (loop for i below ...)
<beach> Good. You could also try to split up functions that span more than the height of a typical screen. It is good for the person reading your code to be able to see the entire function.
<jack_rabbit> beach, I agree. I think only the main function violates that.
<beach> Maybe so. I didn't look too carefully.
<beach> jack_rabbit: Anyway, these remarks should keep you busy for a while. I might have more later.
red-dot has joined #lisp
warweasle has joined #lisp
<jack_rabbit> beach, Thanks! I've incorporated most of them already.
<mfiano> (when (= 0 ..) ..) can be simplified to (when (zerop ..) ..)
<beach> Great.
<beach> mfiano: Too late. I already did that one.
<mfiano> Ok :)
<mfiano> Your :keydown (when (eq ..) ..) lines should be converted into an ECASE
Arcaelyx has joined #lisp
zazzerino has quit [Ping timeout: 248 seconds]
<beach> mfiano: Too late. I already did that one.
<mfiano> Sure, it's an important reiteration
<beach> OK, then. There are also WAY too many blank lines.
<mfiano> :)
<dlowe> There's a program out there called lisp-critic that catches a lot of these
solyd has quit [Ping timeout: 240 seconds]
rippa has joined #lisp
<mfiano> similarly to zerop, use plusp instead of x>0
Fare has joined #lisp
<dim> you could also read Norvig's common lisp style paper
<mfiano> (incf background-color -1) simplifies to (decf background-color)
scymtym__ has joined #lisp
scymtym_ has quit [Ping timeout: 265 seconds]
oleo has joined #lisp
himmAllRight17_ has joined #lisp
ebzzry has quit [Quit: WeeChat 1.9.1]
himmAllRight17 has quit [Ping timeout: 268 seconds]
brendyn has quit [Ping timeout: 255 seconds]
Murii has quit [Ping timeout: 240 seconds]
Fare has quit [Remote host closed the connection]
payphone has quit [Quit: WeeChat 2.0.1]
<jack_rabbit> mfiano, good spot.
sjl has joined #lisp
moei has joined #lisp
payphone has joined #lisp
nika_ has joined #lisp
Fare has joined #lisp
khisanth_ has quit [Ping timeout: 246 seconds]
Cymew has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 240 seconds]
_cosmonaut_ has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
Cymew has joined #lisp
Cymew has quit [Ping timeout: 255 seconds]
khisanth_ has joined #lisp
Cymew has joined #lisp
nyef``` has joined #lisp
Cymew has quit [Ping timeout: 256 seconds]
PuercoPope has joined #lisp
ikki has joined #lisp
nyef`` has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 255 seconds]
windblow has joined #lisp
Cymew has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
red-dot has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
dec0n has quit [Read error: Connection reset by peer]
Cymew has joined #lisp
Murii has joined #lisp
gilez has joined #lisp
fikka has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
epony has joined #lisp
shifty has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 248 seconds]
Cymew has quit [Ping timeout: 256 seconds]
heisig has quit [Quit: Leaving]
tomlukeywood has joined #lisp
Cymew has joined #lisp
ikki has quit [Ping timeout: 248 seconds]
<tomlukeywood> how would i use (map 'list) to return all the items of a list lower than a specified value?
<tomlukeywood> i cant figure out how to give (map 'list #'< array) a parameter
<Bike> that's not a map, since you want to discard some elements.
<Bike> remove-if or remove-if-not would be a better bet.
<Bike> and you'll pass it a closure, probably.
<tomlukeywood> ty i will try
heurist`_ is now known as heurist
scymtym__ has quit [Remote host closed the connection]
scymtym has joined #lisp
Cymew has quit [Ping timeout: 248 seconds]
smasta has joined #lisp
Cymew has joined #lisp
dieggsy has quit [Remote host closed the connection]
<tomlukeywood> Bike: How would i give the < function a parameter when using remove-if?
Cymew has quit [Ping timeout: 265 seconds]
<Bike> closure
<tomlukeywood> somthing like (map 'list #'< number_to_pass_to_< array) would be good
<tomlukeywood> ok i will look them up
<Bike> that is, you're not thinking about it quite rightly, you don't need to pass < an extra parameter, what you need is a one-parameter function
<Bike> (lambda (x) (< x 17)) for example
<Bike> try calling that on a few numbers and see how it works
<tomlukeywood> ah that makes sense
Cymew has joined #lisp
fikka has joined #lisp
sz0 has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
windblow has quit [Quit: Leaving]
fikka has quit [Ping timeout: 246 seconds]
troydm has joined #lisp
Cymew has joined #lisp
attila_lendvai has quit [Quit: Leaving.]
igemnace has quit [Read error: Connection reset by peer]
smasta has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 240 seconds]
tlaxkit has joined #lisp
igemnace has joined #lisp
clarkema has quit [Quit: clarkema]
Cymew has joined #lisp
sveit has quit [Ping timeout: 240 seconds]
<phoe> What is the general algorithm for finding duplicate ub8 arrays?
<phoe> I'm worried that putting them in a EQUALP hashtable might not work well enough.
<Shinmera> Could easily derive your own hash for the arrays and create a specialised table.
<phoe> At the same time, I don't want to go n² by comparing every one with every other one.
Cymew has quit [Ping timeout: 240 seconds]
<phoe> I could, but I assume that this is a solved problem and there is an existing solution somewhere there.
Kaisyu has quit [Quit: Connection closed for inactivity]
eivarv has joined #lisp
<phoe> I basically need a function that I pass a list of ub8 arrays, and it tells me which arrays have the same contents.
<Shinmera> Well there is remove-duplicates, but I can't tell you whether it's going to be efficient.
sveit has joined #lisp
<phoe> Yes, that's what I fear.
smasta has joined #lisp
<Shinmera> So benchmark
<phoe> "The elements of sequence are compared pairwise, and if any two match, then the one occurring earlier in sequence is discarded, unless from-end is true, in which case the one later in sequence is discarded."
<phoe> so n².
<Shinmera> Odd that it would require that specific behaviour
turkja has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
zagura_ is now known as zagura
<pjb> phoe: it would depend on the distribution of your arrays. But unless the implementation is bugged (has a very bad has function for vectors), and unless your vector distribution is pathologique, using an equalp hash-table should be good.
fikka has quit [Ping timeout: 264 seconds]
<pjb> phoe: if your vector are not uniformly distributed, you may have other data structures better at discriminating them. For example, trees…
makomo has quit [Ping timeout: 240 seconds]
EvW has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
red-dot has joined #lisp
pfdietz_ has joined #lisp
Baggers has joined #lisp
fikka has joined #lisp
pilfink has joined #lisp
asarch has joined #lisp
smasta has quit [Ping timeout: 276 seconds]
<pfdietz_> I expect special implementations of remove-duplicates would be available for some cases.
windblow has joined #lisp
<pfdietz_> For example, for the test functions supported by hash tables.
<pfdietz_> In general you can't know if the test or key fns have side effects.
<Shinmera> Right. I suppose for functions controlled by the implementation the user won't be able to actually know whether they were compared pairwise or not
<Shinmera> So it could be optimised.
PuercoPope has quit [Remote host closed the connection]
<pjb> The implementation would have to be careful with :from-end, but otherwise, it's possible to do it with a hash-table indeed.
pfdietz_ has quit [Ping timeout: 255 seconds]
mnoonan has quit [Quit: Leaving]
lonjil has quit [Quit: WeeChat 2.0.1]
smasta has joined #lisp
pfdietz_ has joined #lisp
JonSmith has joined #lisp
pfdietz_ has quit [Ping timeout: 246 seconds]
nika_ has quit [Quit: Leaving...]
damke_ has joined #lisp
pfdietz_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
ikki has joined #lisp
smurfrobot has quit [Read error: Connection reset by peer]
smurfrobot has joined #lisp
clarkema has joined #lisp
ikki has quit [Ping timeout: 260 seconds]
ghard has joined #lisp
pilfink has quit [Ping timeout: 246 seconds]
flamebeard has quit [Quit: Leaving]
igemnace has quit [Quit: WeeChat 2.0.1]
fikka has quit [Ping timeout: 260 seconds]
krasnal has quit [Ping timeout: 276 seconds]
ghard has quit [Quit: ERC (IRC client for Emacs 26.0.50)]
ghard has joined #lisp
tomlukeywood has quit [Quit: Leaving.]
ikki has joined #lisp
pfdietz_ has quit [Ping timeout: 276 seconds]
pfdietz_ has joined #lisp
smurfrobot has quit [Remote host closed the connection]
angelo has joined #lisp
<angelo> hi
<beach> Hello angelo.
varjag has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
<angelo> please help, I need to check a list of string against data in an html text input using parenscript
lonjil has joined #lisp
smurfrobot has joined #lisp
Folkol has joined #lisp
slac-in-the-box has joined #lisp
Fare has quit [Ping timeout: 255 seconds]
dieggsy has joined #lisp
drewc_ has joined #lisp
drewc has quit [Ping timeout: 240 seconds]
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
smasta has quit [Ping timeout: 248 seconds]
red-dot has joined #lisp
jstypo has quit [Ping timeout: 265 seconds]
<jackdaniel> angelo: your question is not clear (at least to me)
<pjb> angelo: is that a javascript question?
<jackdaniel> you may want to be better prepared before you ask that (i.e good description what you want to achieve, what have you tried, what are the constraints, why html/parenscript etc)
fikka has joined #lisp
<pjb> a paste with examples of data, code, and invocation.
smurfrobot has quit [Ping timeout: 256 seconds]
hhdave has quit [Quit: hhdave]
raynold has quit [Quit: Connection closed for inactivity]
tomlukeywood has joined #lisp
jstypo has joined #lisp
clarkema has quit [Quit: clarkema]
smasta has joined #lisp
slac-in-the-box has left #lisp [#lisp]
pfdietz_ has quit [Ping timeout: 276 seconds]
ikki has quit [Quit: Leaving]
<jasom> angelo: I answered in #lispweb; didn't see you asked here too
nowhereman_ has quit [Ping timeout: 256 seconds]
nowhereman_ has joined #lisp
Karl_Dscc has joined #lisp
Fare has joined #lisp
Murii has quit [Ping timeout: 265 seconds]
sz0 has quit [Quit: Connection closed for inactivity]
erikc has joined #lisp
raynold has joined #lisp
lnostdal has quit [Read error: Connection reset by peer]
sjl has quit [Quit: WeeChat 1.9]
sjl has joined #lisp
varjag has joined #lisp
karswell has quit [Ping timeout: 248 seconds]
fikka has quit [Ping timeout: 256 seconds]
fikka has joined #lisp
oleo has quit [Ping timeout: 276 seconds]
pjb has quit [Ping timeout: 256 seconds]
sjl has quit [Quit: WeeChat 1.9]
sjl has joined #lisp
pjb has joined #lisp
paul0 has quit [Remote host closed the connection]
paul0 has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
dieggsy has quit [Read error: Connection reset by peer]
red-dot has joined #lisp
nyef```` has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
nyef``` has quit [Ping timeout: 256 seconds]
attila_lendvai has joined #lisp
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
EvW has quit [Ping timeout: 255 seconds]
oleo has joined #lisp
drewc_ is now known as drewc
hhdave has joined #lisp
tlaxkit has quit [Quit: Saliendo...]
tomlukeywood has quit [Quit: Leaving.]
fikka has joined #lisp
emaczen has joined #lisp
smasta has quit [Ping timeout: 256 seconds]
fikka has quit [Ping timeout: 240 seconds]
warweasle is now known as warweasle_bbib
LocaMocha has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
Fare has quit [Ping timeout: 276 seconds]
nyef````` has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
nyef```` has quit [Ping timeout: 246 seconds]
_paul0 has joined #lisp
paul0 has quit [Read error: Connection reset by peer]
PuercoPope has joined #lisp
makomo has joined #lisp
Pixel_Outlaw has joined #lisp
PuercoPope has quit [Remote host closed the connection]
jstypo has quit [Ping timeout: 240 seconds]
pagnol has joined #lisp
Pixel_Outlaw has quit [Quit: Leaving]
dieggsy has joined #lisp
clarkema has joined #lisp
nyef````` has quit [Ping timeout: 264 seconds]
EvW has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
red-dot has joined #lisp
damke has joined #lisp
fikka has joined #lisp
nowhereman_ has quit [Ping timeout: 240 seconds]
damke_ has quit [Ping timeout: 264 seconds]
krasnal has joined #lisp
warweasle_bbib is now known as warweasle
nowhereman_ has joined #lisp
clarkema_ has joined #lisp
clarkema_ has quit [Client Quit]
warweasle has quit [Quit: bbib]
clarkema has quit [Ping timeout: 256 seconds]
warweasle has joined #lisp
pjb has quit [Ping timeout: 256 seconds]
Ven`` has joined #lisp
vlatkoB has quit [Remote host closed the connection]
alexmlw has quit [Quit: alexmlw]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
smurfrobot has joined #lisp
eivarv has quit [Quit: Sleep]
smurfrobot has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 260 seconds]
Ardx has joined #lisp
pjb has joined #lisp
scymtym_ has joined #lisp
scymtym has quit [Ping timeout: 246 seconds]
scymtym_ has quit [Ping timeout: 246 seconds]
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
red-dot has joined #lisp
Jesin has joined #lisp
fikka has joined #lisp
nowhereman_ has quit [Read error: Connection reset by peer]
nowhereman_ has joined #lisp
windblow has quit [Quit: Leaving]
zazzerino has joined #lisp
arbv has joined #lisp
CrazyEddy has quit [Remote host closed the connection]
nopolitica has joined #lisp
shka has quit [Ping timeout: 256 seconds]
__paul0 has joined #lisp
Fare has joined #lisp
_paul0 has quit [Ping timeout: 260 seconds]
smasta has joined #lisp
jstypo has joined #lisp
sjl has quit [Ping timeout: 256 seconds]
zaquest has quit [Ping timeout: 256 seconds]
dieggsy has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
zaquest has joined #lisp
smurfrobot has joined #lisp
Murii has joined #lisp
sjl has joined #lisp
dented42 has joined #lisp
Fare has quit [Ping timeout: 240 seconds]
smurfrobot has quit [Ping timeout: 264 seconds]
Ardx has quit [Quit: Leaving]
fikka has quit [Ping timeout: 248 seconds]
hhdave has quit [Quit: hhdave]
scymtym has joined #lisp
fikka has joined #lisp
nirved has quit [Quit: Leaving]
ACE_Recliner has joined #lisp
zazzerino has quit [Ping timeout: 240 seconds]
eivarv has joined #lisp
Fare has joined #lisp
_main_ has joined #lisp
Ven`` has quit [Ping timeout: 246 seconds]
_main_ has quit [Read error: Connection reset by peer]
_main_ has joined #lisp
__main__ has quit [Read error: Connection reset by peer]
Ven`` has joined #lisp
dented42 has quit [Quit: Textual IRC Client: www.textualapp.com]
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
red-dot has joined #lisp
_main_ is now known as __main__
Jesin has quit [Quit: Leaving]
sjl__ has joined #lisp
Ven`` has quit [Ping timeout: 240 seconds]
dented42 has joined #lisp
sjl has quit [Ping timeout: 248 seconds]
papachan has quit [Quit: WeeChat 2.0.1]
ineiros has joined #lisp
Ven`` has joined #lisp
karswell has joined #lisp
mishoo has quit [Ping timeout: 260 seconds]
rumbler31 has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 256 seconds]
Fare has left #lisp ["Leaving"]
fikka has joined #lisp
nopoliti1 has joined #lisp
sjl__ has quit [Ping timeout: 264 seconds]
os65k has joined #lisp
nopolitica has quit [Ping timeout: 260 seconds]
Folkol_ has joined #lisp
Karl_Dscc has quit [Remote host closed the connection]
Folkol has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
Folkol_ has quit [Client Quit]
gilez has quit [Ping timeout: 240 seconds]
eivarv has quit [Quit: Sleep]
m00natic has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 240 seconds]
Bike has quit [Quit: Page closed]
shifty has joined #lisp
pilfink has joined #lisp
eivarv has joined #lisp
dented42 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karswell_ has joined #lisp
karswell has quit [Read error: Connection reset by peer]
hhdave has joined #lisp
<dim> what I though would be a pretty aggressive optimisation is shaving like 5s out of 45s
<dim> too bad
fikka has quit [Ping timeout: 268 seconds]
Ven`` has quit [Ping timeout: 264 seconds]
jfb4 has quit [Ping timeout: 260 seconds]
LiamH has quit [Quit: Leaving.]
jfb4 has joined #lisp
iqubic has joined #lisp
<pagnol> dim, what's your program doing?
Ven`` has joined #lisp
red-dot has quit [Quit: Going offline, see ya! (www.adiirc.com)]
red-dot has joined #lisp
dieggsy has joined #lisp
damke_ has joined #lisp
fikka has joined #lisp
damke has quit [Ping timeout: 264 seconds]
nyef has joined #lisp
Baggers has quit [Remote host closed the connection]
<dim> pgloader, copying data from a database to another
Ven`` has quit [Ping timeout: 256 seconds]
Ven`` has joined #lisp
wxie has joined #lisp
milanj_ has joined #lisp
<dim> (different one, at that, e.g. from MySQL to PostgreSQL)
<dim> that's the patch that I expected would be about optimisations
<dim> it's only code cleanup
milanj has quit [Ping timeout: 264 seconds]
mhd has joined #lisp
moei has quit [Quit: Leaving...]
<dim> well I guess it's going to be even easier than before to help improve the code speed-wise now, if anybody is interested into that ;-)
Bike has joined #lisp
Ven`` has quit [Read error: Connection reset by peer]
wxie has quit [Remote host closed the connection]
Ven` has joined #lisp
eivarv has quit [Quit: Sleep]
rumbler31 has joined #lisp
Kaisyu has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
zazzerino has joined #lisp
AntiSpamMeta has quit [Read error: Connection reset by peer]
AntiSpamMeta has joined #lisp
fikka has joined #lisp
os65k has quit []
proteanthread has quit [Read error: Connection reset by peer]
wigust- has joined #lisp
hhdave has quit [Quit: hhdave]
wigust has quit [Ping timeout: 265 seconds]
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.1)]
oleo has quit [Ping timeout: 255 seconds]
<mhd> Does anyone know how to control what version of SLIME I get in emacs? I have 2.19. Would like to run 2.20
<mhd> I guess this is through melpa. I for some reason cannot find anything about this. Possibly I've overlooked something?
brendyn has joined #lisp
openthesky has joined #lisp