jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language<http://cliki.net/> logs:<https://irclog.whitequark.org/lisp,http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.4.5, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
Cymew has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Kundry_Wag has joined #lisp
Cymew has joined #lisp
python476 has quit [Ping timeout: 260 seconds]
dieggsy has quit [Ping timeout: 276 seconds]
Kundry_Wag has quit [Ping timeout: 264 seconds]
kajo has quit [Read error: Connection reset by peer]
Cymew has quit [Ping timeout: 256 seconds]
kajo has joined #lisp
kajo has quit [Read error: Connection reset by peer]
Cymew has joined #lisp
kajo has joined #lisp
Cymew has quit [Ping timeout: 276 seconds]
happy-dude has quit [Quit: Connection closed for inactivity]
damke has joined #lisp
Cymew has joined #lisp
cylb has joined #lisp
Cymew has quit [Ping timeout: 268 seconds]
Cymew has joined #lisp
Cymew has quit [Ping timeout: 256 seconds]
Cymew has joined #lisp
fikka has quit [Ping timeout: 255 seconds]
fortitude has quit [Quit: Leaving]
damke has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
zaquest_ has joined #lisp
zaquest__ has joined #lisp
zaquest has quit [Ping timeout: 260 seconds]
Cymew has quit [Ping timeout: 264 seconds]
zaquest_ has quit [Client Quit]
Cymew has joined #lisp
kerrhau has joined #lisp
kerrhau has quit [Changing host]
kerrhau has joined #lisp
damke_ has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
Cymew has joined #lisp
zaquest__ is now known as zaquest
fikka has quit [Ping timeout: 240 seconds]
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
zotan has quit [Ping timeout: 265 seconds]
fikka has joined #lisp
Cymew has quit [Ping timeout: 265 seconds]
sz0 has quit [Quit: Connection closed for inactivity]
Cymew has joined #lisp
arescorpio has joined #lisp
Mutex7 has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
damke has joined #lisp
pyericz_ has joined #lisp
zotan has joined #lisp
megalography has quit [Ping timeout: 256 seconds]
damke_ has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 264 seconds]
damke_ has joined #lisp
Cymew has joined #lisp
fikka has joined #lisp
damke has quit [Ping timeout: 264 seconds]
megalography has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
deng_cn has quit [Read error: Connection reset by peer]
fikka has quit [Ping timeout: 268 seconds]
Cymew has joined #lisp
deng_cn has joined #lisp
megalography has quit [Ping timeout: 255 seconds]
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
Kundry_Wag has joined #lisp
David-A has left #lisp ["Leaving"]
Cymew has quit [Ping timeout: 265 seconds]
Cymew has joined #lisp
Kundry_Wag has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
Cymew has quit [Ping timeout: 265 seconds]
Cymew has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
fisxoj has quit [Quit: fisxoj]
d4ryus1 has joined #lisp
cylb has quit [Ping timeout: 265 seconds]
Cymew has quit [Ping timeout: 276 seconds]
Cymew has joined #lisp
d4ryus has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
eeproks has joined #lisp
pmc_ has joined #lisp
<pmc_> SBCL is so much faster than CLISP. I ran a ray-tracer program on both compilers and what ran 4.5 minutes on CLISP only took 18 seconds! in SBCL.
iqubic has joined #lisp
iqubic has left #lisp [#lisp]
atheris has joined #lisp
iqubic has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 260 seconds]
megalography has joined #lisp
Cymew has joined #lisp
Lord_Nightmare has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 240 seconds]
al-damiri has quit [Quit: Connection closed for inactivity]
fikka has joined #lisp
damke has joined #lisp
Cymew has joined #lisp
<pierpa> no news here
Lord_Nightmare has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
<iqubic> Is that good?
kajo has quit [Quit: WeeChat 2.1]
kajo has joined #lisp
<pierpa> that's only 15 times faster. Not much. Have you used any type declarations?
fikka has quit [Ping timeout: 263 seconds]
Oladon has joined #lisp
Cymew has quit [Ping timeout: 268 seconds]
Cymew has joined #lisp
Lord_Nightmare2 has joined #lisp
dddddd has quit [Remote host closed the connection]
Mutex7 has quit [Quit: Leaving]
Cymew has quit [Ping timeout: 265 seconds]
Cymew has joined #lisp
Lord_Nightmare has quit [Ping timeout: 264 seconds]
Lord_Nightmare2 is now known as Lord_Nightmare
Cymew has quit [Ping timeout: 240 seconds]
arescorpio has quit [Ping timeout: 240 seconds]
Lord_Nightmare2 has joined #lisp
Lord_Nightmare has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
Lord_Nightmare2 is now known as Lord_Nightmare
vtomole has joined #lisp
dxtr has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
flip214 has quit [Ping timeout: 264 seconds]
dxtr_ has quit [Ping timeout: 256 seconds]
flip214 has joined #lisp
flip214 has joined #lisp
flip214 has quit [Changing host]
<pmc_> pierpa: no, I just ran the code as is. The code doesn't use declaim or declare either. Maybe there is room for improvement.
<pierpa> ok. then is expected
<pierpa> Clisp ignores type declarations, while SBCL makes good use of them
<pierpa> a factor of 100 would be more typical
<pmc_> interesting...
<pierpa> in numerical code like a ray tracer, that is.
<pmc_> I didn't know CLISP ignores type declarations. Earlier I was only using clisp and could not figure out why the code didn't run faster when using floats. :)
<pierpa> Clisp is always in "safe mode"
fikka has joined #lisp
<pierpa> it also ignores any optimization advice
damke_ has joined #lisp
<pierpa> to make it short, it ignores all declarations with the exception of SPECIALs
<pmc_> wow
<pierpa> otoh, it's a very simple compiler, and this has some advantages too
sjl has joined #lisp
damke has quit [Ping timeout: 264 seconds]
Kundry_Wag has joined #lisp
fikka has quit [Ping timeout: 255 seconds]
FreeBirdLjj has joined #lisp
damke has joined #lisp
sjl has quit [Ping timeout: 256 seconds]
Kundry_Wag has quit [Ping timeout: 240 seconds]
Lord_Nightmare2 has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
Lord_Nightmare has quit [Ping timeout: 260 seconds]
Lord_Nightmare2 is now known as Lord_Nightmare
FreeBirdLjj has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
pmc_ has quit [Quit: Leaving]
damke_ has joined #lisp
pfdietz has joined #lisp
broccolistem has quit [Quit: WeeChat 2.1-dev]
<pfdietz> I was still able to turn up some interesting bugs in it, back in the day.
Lord_Nightmare has quit [Ping timeout: 264 seconds]
damke has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 255 seconds]
broccolistem has joined #lisp
Lord_Nightmare has joined #lisp
<pierpa> aha!
dtornabene has joined #lisp
Cymew has joined #lisp
fikka has joined #lisp
<pfdietz> This was my favorite: https://sourceforge.net/p/clisp/bugs/200/
igemnace has quit [Read error: Connection reset by peer]
Cymew has quit [Ping timeout: 240 seconds]
<pierpa> ouch
<Bike> boy, that's some weird code
<Bike> no wonder you find bugs with that thing
<loke> pfdietz: May I ask how you came up with that obscure test case?
<Bike> not even that big a file
<pfdietz> The random tester.
aoeu has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 265 seconds]
<pfdietz> Generates random well-formed Common Lisp, compiles with different optimization settings, executes and compares.
<loke> What is a random ttester? It just generates random code?
<pfdietz> Yep.
<Bike> not often you see (&optional (foo (progv ...))), after all
<pfdietz> When a bug is found it automatically prunes down to a minimal failing test case.
<loke> SOunds pretty neat. Who wrote it?
<pfdietz> I did.
pyericz_ has quit [Quit: This computer has gone to sleep]
<loke> Nice. Have you found bugs in other compilers too?
<pfdietz> I've applied it to all the Common Lisp implementations I could get my hands on, and found bugs in every one of them.
<phadthai> unless that recently changed, clisp's compiler was a tokenizer, with the runtime fully interpreted; SBCL by default compiles to native code
<pfdietz> Clisp does some optimizations. These were the bugs I found: https://sourceforge.net/p/clisp/bugs/search/?q=pfdietz
<loke> pfdietz: WHat bigs did you find in SBCL, ABCL and ECL? (those are the implementations I use)
<pfdietz> I don't have a full list of the SBCL bugs, but you can look up the recent ones on the bug tracker site. https://launchpad.net/sbcl
<pierpa> phadthai: that's absolutely not the case
<loke> pfdietz: Recent? Since the bug report for CLISp was in 2004, I assumed that this is something you did long ago.
pyericz_ has joined #lisp
<phadthai> pierpa: that's good to know
<pierpa> clisp has always been a compiler, from the start
<pfdietz> Recent for SBCL, not recent for Clisp.
fikka has joined #lisp
<loke> I searched the bug database for dietxz, but noh its. What username do you have?
nika has joined #lisp
<pfdietz> Eric Marsden was running the random tester on SBCL a couple of years ago; I recently spruced it up a bit and started running it again (and another approach).
<pfdietz> paul-f-dietz
<loke> Gotcha
<loke> thatnks
<loke> Wow. Nice bugs!
igemnace has joined #lisp
<pfdietz> thx
fikka has quit [Ping timeout: 240 seconds]
<loke> pfdietz: Is this one a bug though? https://bugs.launchpad.net/sbcl/+bug/1739112
<pfdietz> It's the intent of SBCL to never throw an error from the compiler even on malformed code.
<pfdietz> Not required by the standard, but the SBCL devs consider such to be bugs in the compiler.
<pfdietz> Granted, fixing all those is not the highest priority (although some indicate bugs that could show up from valid code.)
<loke> The idea beain that the error is thrown when actually trying to call the fault function?
<pfdietz> Right (and also to return the error return value T from the compile function).
<pfdietz> For me, this means I can throw all sorts of random garbage at COMPILE looking for bugs. And that also is a fertile source of bug reports.
<pfdietz> I've been randomly mutating forms pulled from quicklisp projects to generate test cases. Splicing them together randomly, for example.
fikka has joined #lisp
atheris has quit [Quit: Ex-Chat]
<loke> pfdietz: What if some of that code calls (run-program "rm -fr /")
<phadthai> pierpa: I now just saw some KCL derived code
<pfdietz> I like to live dangerously, loke. :)
<pfdietz> I suppose I could dockerize it.
_Mental has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
iqubic has quit [Remote host closed the connection]
<pierpa> phadthai: in Clisp? what code?
<phadthai> code that appear to derive from Kyoto CL which compiled to C (and from which GCL and ECL are also derived)
<pierpa> I know kcl
<pierpa> but wht code you spotte?
<phadthai> I really somehow believed it was only an interpreter
fikka has joined #lisp
_Mental has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<pierpa> actually, I have never seen any CL which which an interpreter only
<pierpa> -which
<phadthai> I possibly was confused with ECL's bytecode interpreter which I also read some time back (but is an optional component of course)
<pfdietz> Clisp compiles to bytecode; perhaps that's what made you think it was an interpreter?
<phadthai> (or rather, ECL also compiles to C, I mean)
<beach> Good morning everyone!
<pierpa> 'morning
<pfdietz> Good morning.
<phadthai> hello
deng_cn has quit [Read error: Connection reset by peer]
_Mental has joined #lisp
ophan has joined #lisp
EvW1 has quit [Ping timeout: 240 seconds]
fikka has quit [Ping timeout: 240 seconds]
deng_cn has joined #lisp
ldb has joined #lisp
<ldb> sup
megalography has quit [Quit: Leaving.]
fikka has joined #lisp
damke has joined #lisp
Kundry_Wag has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
fisxoj has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
Kundry_Wag has quit [Ping timeout: 264 seconds]
damke has quit [Ping timeout: 264 seconds]
damke has joined #lisp
m_ has quit [Ping timeout: 255 seconds]
milanj__ has joined #lisp
milanj_ has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
milanj has joined #lisp
ldb has quit [Quit: Lost terminal]
milanj__ has quit [Ping timeout: 265 seconds]
deng_cn has quit [Read error: Connection reset by peer]
e^i is now known as SaganMan
fikka has quit [Ping timeout: 265 seconds]
deng_cn has joined #lisp
Bike has quit [Quit: Lost terminal]
fisxoj has quit [Quit: fisxoj]
damke_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
pierpa has quit [Quit: Page closed]
vtomole has quit [Ping timeout: 260 seconds]
schoppenhauer has quit [Ping timeout: 264 seconds]
schoppenhauer has joined #lisp
shka_ has joined #lisp
fikka has joined #lisp
Oladon has quit [Read error: Connection reset by peer]
Oladon has joined #lisp
pyericz_ has quit [Quit: This computer has gone to sleep]
fikka has quit [Ping timeout: 265 seconds]
Oladon has quit [Client Quit]
arescorpio has joined #lisp
arescorpio has quit [Max SendQ exceeded]
fikka has joined #lisp
pierpa has joined #lisp
Kundry_Wag has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
pierpa has quit [Ping timeout: 260 seconds]
BlueRavenGT has quit [Ping timeout: 256 seconds]
oldtopman has quit [Quit: *pouf*]
Pixel_Outlaw has quit [Quit: Leaving]
Kundry_Wag has quit [Ping timeout: 256 seconds]
arescorpio has joined #lisp
pierpa has joined #lisp
sauvin has joined #lisp
fikka has joined #lisp
arescorpio has quit [Excess Flood]
fikka has quit [Ping timeout: 264 seconds]
wigust has joined #lisp
pierpa has quit [Ping timeout: 260 seconds]
_Mental has quit [Quit: Textual IRC Client: www.textualapp.com]
fikka has joined #lisp
pierpa has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
ophan has quit [Quit: WeeChat 2.1]
milanj_ has joined #lisp
oleo has quit [Quit: Leaving]
kerrhau has quit [Ping timeout: 276 seconds]
milanj has quit [Ping timeout: 255 seconds]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vtomole has joined #lisp
sjl has joined #lisp
pierpa has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
vtomole has quit [Ping timeout: 260 seconds]
lemonpepper24 has quit [Quit: Leaving]
sjl has quit [Ping timeout: 265 seconds]
damke has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
Cymew has joined #lisp
damke_ has quit [Ping timeout: 260 seconds]
damke__ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
damke has joined #lisp
pyericz_ has joined #lisp
damke__ has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
myrkraverk_ has quit [Ping timeout: 255 seconds]
<flip214> the ELS banquet is on Monday, right?
<beach> I think so, yes.
<phoe> Morning
<beach> Hello phoe.
vlatkoB has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
Karl_Dscc has joined #lisp
eSVG has joined #lisp
Kundry_Wag has joined #lisp
damke has quit [Ping timeout: 264 seconds]
damke_ has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
<drmeister> Is this valid Common Lisp syntax?
damke has joined #lisp
<drmeister> Specifically the lambda list for (macrolet ((with-element-output (() &body body) ...) on line 10
<drmeister> I haven't seen an empty destructuring list like that before.
<drmeister> This is from the 'yason' system.
rumbler31 has quit [Remote host closed the connection]
<drmeister> beach: Cleavir has a problem with it.
<beach> My immediate reaction is to say that it is not valid.
damke_ has quit [Ping timeout: 264 seconds]
<loke> beach: It's valid.
<flip214> I've used an empty first argument list for macros a few times already, and saw more examples in other people's coed
<flip214> *code
<loke> Me too
<beach> Yeah, it appears to be valid.
<flip214> #| This argument placeholder intentionally left empty |#
<drmeister> Ill file an issue
Winterschlaf has joined #lisp
<beach> drmeister: I am not going to do anything about it before ELS.
fikka has joined #lisp
<drmeister> Sure
<drmeister> Is this going to be an eclector issue (lambda lists) or sicl?
rumbler31 has joined #lisp
rumbler31 has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 260 seconds]
<phoe> I often do this in my own macros.
<phoe> (with-foo () ...)
<phoe> The parens are there for possible further expansion of the macro's arguments. If you have no parens there, then you have no means of adding arguments to the macro later.
<phoe> This empty list is a trick that people often use to make their macros extensible later.
<drmeister> Thank you.
<loke> phoe: I often do it.
<phoe> So later you can things like (with-foo (frobnicate t) ...)
<phoe> err
<phoe> So later you can things like (with-foo (:frobnicate t) ...)
<phoe> Or just put any kinds of optional/key args in there.
<drmeister> Well, it's a bit of syntactic sugar that broke vlime on Cando (sigh)
Karl_Dscc has quit [Remote host closed the connection]
<drmeister> It might be simple - just add ((null tree-or-lambda-list) tree-or-lambda-list) to parse-pattern in lambda-lists.lisp Testing...
<drmeister> Good night all - thanks everyone and beach - I haven't said it in a while - thanks for Cleavir.
<flip214> drmeister: you're a vlime user?
<phoe> drmeister: sleep well!
fikka has joined #lisp
damke_ has joined #lisp
<beach> drmeister: Good night and thanks.
<flip214> hmmm, seems to be a different slime. Good night!
<flip214> *vlime
damke has quit [Ping timeout: 264 seconds]
mingus has quit [Read error: Connection reset by peer]
mingus has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
sendai_____ has quit [Ping timeout: 268 seconds]
scymtym has quit [Ping timeout: 264 seconds]
thinkpad has quit [Ping timeout: 255 seconds]
thinkpad has joined #lisp
hiroaki has quit [Ping timeout: 240 seconds]
fikka has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
deng_cn has quit [Ping timeout: 260 seconds]
deng_cn has joined #lisp
hiroaki has joined #lisp
fikka has joined #lisp
deng_cn has quit [Read error: Connection reset by peer]
myrkraverk has joined #lisp
deng_cn has joined #lisp
orivej has joined #lisp
fikka has quit [Ping timeout: 265 seconds]
agspathis has joined #lisp
damke has joined #lisp
fikka has joined #lisp
troydm has quit [Ping timeout: 260 seconds]
damke_ has quit [Ping timeout: 264 seconds]
troydm has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
fikka has joined #lisp
damke_ has joined #lisp
shka_ has quit [Ping timeout: 264 seconds]
damke has quit [Ping timeout: 264 seconds]
mflem has quit [Read error: Connection reset by peer]
scymtym has joined #lisp
varjag has joined #lisp
damke has joined #lisp
orivej_ has joined #lisp
orivej has quit [Ping timeout: 260 seconds]
damke_ has quit [Ping timeout: 264 seconds]
chens has joined #lisp
chens is now known as Guest71491
<phoe> If an ASDF system emits warnings during tests, will its test-op nonetheless complete successfully?
<phoe> I want to emit a warning to make a note to the user about a test that is broken on a certain implementation.
<Shinmera> Typically such things are done within the test framework itself by conditionally skipping tests
heisig has joined #lisp
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Ping timeout: 255 seconds]
cylb has joined #lisp
blt has quit [Ping timeout: 268 seconds]
oldtopman has joined #lisp
dtornabene has quit [Ping timeout: 265 seconds]
oldtopman has quit [Remote host closed the connection]
oldtopman has joined #lisp
cylb has quit [Ping timeout: 240 seconds]
kammd[m] has quit [*.net *.split]
cryptomarauder has quit [*.net *.split]
pillton has quit [*.net *.split]
troydm has quit [Ping timeout: 240 seconds]
nika has quit [Read error: Connection reset by peer]
Guest71491 has quit [Ping timeout: 260 seconds]
nika has joined #lisp
blt has joined #lisp
blt has quit [Changing host]
blt has joined #lisp
damke has quit [Ping timeout: 264 seconds]
<phoe> Yes, I skip the test, of course. But, when skipping a test, I want to emit a warning.
pyericz_ has quit [Quit: This computer has gone to sleep]
<Shinmera> I would just print one, not signal one.
<Shinmera> Interactive things such as signals should be left for when the test suite is run interactively.
pyericz_ has joined #lisp
damke has joined #lisp
<phoe> Okiedokie.
MasouDa_ has quit [Ping timeout: 256 seconds]
damke has quit [Ping timeout: 264 seconds]
MasouDa has joined #lisp
damke has joined #lisp
rumbler31 has joined #lisp
rumbler31 has quit [Ping timeout: 276 seconds]
tomlukeywood has joined #lisp
Younder has quit [Remote host closed the connection]
orivej has joined #lisp
orivej_ has quit [Ping timeout: 256 seconds]
fikka has quit [Ping timeout: 256 seconds]
tomlukeywood has quit [Quit: tomlukeywood]
eSVG has quit [Ping timeout: 255 seconds]
fikka has joined #lisp
energizer has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
energizer has quit [Remote host closed the connection]
zaquest_ has joined #lisp
zaquest has quit [Ping timeout: 240 seconds]
troydm has joined #lisp
fikka has joined #lisp
rumbler31 has joined #lisp
rumbler31 has quit [Ping timeout: 260 seconds]
sjl has joined #lisp
MasouDa has quit [Quit: leaving]
fikka has quit [Ping timeout: 264 seconds]
habamax has joined #lisp
damke_ has joined #lisp
sjl has quit [Ping timeout: 240 seconds]
damke has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
quazimodo has quit [Ping timeout: 256 seconds]
zooey_ has joined #lisp
zooey has quit [Ping timeout: 268 seconds]
fikka has quit [Ping timeout: 240 seconds]
<johnnymacs> If I have three mathematical functions called a b and c, and a maths paper says they are applied in this way: a b c , does that =>a(b(c)) or does it =>a(b)(c)
<johnnymacs> I tend to think it means the result of a applied to b applied to see where the result of a applied to be is (a b)
<TMA> johnnymacs: if that paper uses haskell as its pseudolanguage it means ((a b) c)
<johnnymacs> thanks
<TMA> johnnymacs: which is (a b c) when a is a two argument function; currying and such
<TMA> johnnymacs: a(b(c)) is written "a $ b c"
fikka has joined #lisp
orivej has quit [Ping timeout: 245 seconds]
orivej has joined #lisp
Kundry_Wag has joined #lisp
Satou has joined #lisp
<johnnymacs> I am really curious how I can use lambdas to generate new lambdas
<White_Flame> same as always: (lambda (x) (lambda (y) (+ x y)))
Kundry_Wag has quit [Ping timeout: 264 seconds]
<White_Flame> and of course, a lambda that returns a lambda can always be seen as currying,
<White_Flame> depending on picking some nits
<White_Flame> especially if you're being pure functional
arbv_ has joined #lisp
arbv has quit [Ping timeout: 240 seconds]
arbv_ is now known as arbv
python476 has joined #lisp
spinach_w has joined #lisp
python476 has quit [Remote host closed the connection]
pyericz_ has quit [Quit: Leaving]
makomo has quit [Ping timeout: 260 seconds]
pyericz has joined #lisp
pyericz has quit [Client Quit]
Kundry_Wag has joined #lisp
PinealGlandOptic has joined #lisp
deng_cn has quit [Read error: Connection reset by peer]
blt has quit [Ping timeout: 265 seconds]
deng_cn has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
fourroot has joined #lisp
fourroot has quit [Remote host closed the connection]
spinach_w is now known as Spinach
Spinach is now known as Spinach_w
PinealGlandOptic has quit [Quit: leaving]
Spinach_w is now known as spinach_w
fourroot has joined #lisp
spinach_w has quit [Quit: ChatZilla 0.9.93 [Firefox 54.0.1/20170628075643]]
blt has joined #lisp
blt has quit [Changing host]
blt has joined #lisp
damke has joined #lisp
fourroot is now known as hooal
damke_ has quit [Ping timeout: 264 seconds]
<phoe> @everyone: no need to click that link, it's some sort of spam.
troydm has quit [Ping timeout: 240 seconds]
troydm has joined #lisp
markong has joined #lisp
hooal has quit [Read error: Connection reset by peer]
kammd[m] has joined #lisp
cryptomarauder has joined #lisp
troydm has quit [Ping timeout: 260 seconds]
wxie has joined #lisp
igemnace has quit [Quit: WeeChat 2.1]
wxie has quit [Quit: Bye.]
sjl has joined #lisp
python476 has joined #lisp
sjl has quit [Ping timeout: 264 seconds]
d4ryus1 is now known as d4ryus
troydm has joined #lisp
orivej_ has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
<flip214> "BUT I LIKE SPAM"
aeth has quit [Read error: Connection reset by peer]
aeth has joined #lisp
troydm has quit [Ping timeout: 265 seconds]
orivej_ has quit [Ping timeout: 265 seconds]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Ping timeout: 264 seconds]
myrkraverk has quit [Ping timeout: 265 seconds]
nowhereman_ has quit [Ping timeout: 256 seconds]
SenasOzys has quit [Ping timeout: 260 seconds]
Chream_ has quit [Ping timeout: 240 seconds]
nika has quit [Remote host closed the connection]
SenasOzys has joined #lisp
EvW has joined #lisp
dddddd has joined #lisp
azimut has joined #lisp
siraben has joined #lisp
rumbler31 has joined #lisp
rumbler31 has quit [Remote host closed the connection]
myrkraverk has joined #lisp
cylb has joined #lisp
osune has joined #lisp
raynold has quit [Quit: Connection closed for inactivity]
EvW has quit [Ping timeout: 265 seconds]
EvW has joined #lisp
esrarkesh has joined #lisp
rpg has joined #lisp
pierpa has joined #lisp
mingus has quit [Ping timeout: 276 seconds]
igemnace has joined #lisp
Kundry_Wag has joined #lisp
attila_lendvai has joined #lisp
<attila_lendvai> hi! drmeister: if i have the necessary rights, i can look into setting up those clasp branches in the forked repos. i think it would also make sense to fork/move every dependency into clasp-developers
<jackdaniel> this is M-7 window, I'm sure you want M-9 which is #clasp ;-)
<attila_lendvai> jackdaniel: oh, right, thanks!
MetaYan has quit [Ping timeout: 240 seconds]
agspathis has quit [Remote host closed the connection]
MetaYan has joined #lisp
Bronsa has quit [Remote host closed the connection]
Kundry_Wag has quit [Ping timeout: 265 seconds]
kushal has quit [Excess Flood]
cylb has quit [Ping timeout: 260 seconds]
kushal has joined #lisp
fikka has quit [Ping timeout: 256 seconds]
SenasOzys has quit [Ping timeout: 264 seconds]
epony has quit [Quit: QUIT]
hhdave has joined #lisp
shrdlu68 has joined #lisp
SenasOzys has joined #lisp
fikka has joined #lisp
EvW has quit [Ping timeout: 255 seconds]
jason_m has joined #lisp
asarch has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
Bike has joined #lisp
cylb has joined #lisp
damke_ has joined #lisp
damke has quit [Ping timeout: 264 seconds]
SenasOzys has quit [Ping timeout: 264 seconds]
Kundry_Wag has joined #lisp
kajo has quit [Ping timeout: 255 seconds]
SenasOzys has joined #lisp
jason_m has quit [Ping timeout: 276 seconds]
Guest78093 has joined #lisp
nowhereman_ has joined #lisp
tomlukeywood has joined #lisp
tomlukeywood has quit [Remote host closed the connection]
EvW has joined #lisp
zotan has quit [Ping timeout: 256 seconds]
jmercouris has joined #lisp
zotan has joined #lisp
Cymew has quit [Remote host closed the connection]
<jmercouris> hello everyone!
SenasOzys has quit [Ping timeout: 256 seconds]
<jmercouris> I'm having issues thinking about an abstraction
<jmercouris> I have an object that possesses several kinds of objects
pierpa has quit [Ping timeout: 260 seconds]
<jmercouris> to make it a little bit more concrete, let's do the archetypical car abstraction
<jmercouris> I have a car that contains several door objects
<jmercouris> these door objects have different behaviors, so the front and rear doors are of a different class
<jmercouris> I would like to invoke operations on the car level rather than the door level
<jmercouris> for example I would like to be able to say (roll-down-window car rear-window)
kajo has joined #lisp
EvW has quit [Ping timeout: 255 seconds]
Cymew has joined #lisp
<phoe> (defgeneric roll-down-window (car window-type))
warweasle has joined #lisp
<phoe> (defmethod roll-down-window (car (window-type (eql 'rear-window))) ...)
<jackdaniel> jmercouris: in CL methods doesn't belong to objects, so you can specialize on numerous objects in your function
<phoe> (roll-down-window (make-instance 'ferrari) 'rear-window)
<Xach> no-applicable-method
<jackdaniel> like (defmethod roll-down-window ((car ferrari) (window rear-window)) …) ;
<phoe> that is how I'd do it
<Bike> what if i only want to roll down the left rear window
<jmercouris> jackdaniel: I know, this isn't actually a CL question, it is unfortunately in a different language
<phoe> s/rear-window/left-rear-window/
<jmercouris> I understand I am in the CL channel, but you are the community I am most familiar with, and I value your opinions/ideas
igemnace has quit [Quit: WeeChat 2.1]
<Shinmera> phoe: (defmethod roll-down-window ((car car) (name symbol)) (roll-down-window car (ecase name (rear-window (rear-window car)) (front-window (front-window car)))))
<phoe> sure
<jackdaniel> in other language you'll need to have method being part of car and accepting argument
<jmercouris> phoe: I like that approach, I might compare the object type
<jmercouris> jackdaniel: right, I was going to have a car class that has a method called roll-down-window that accepts an argument for which window
<jmercouris> the question was how to reference that window?
<jackdaniel> or have function which is not generic and check argument types by itself
<jmercouris> a string? make a new instance every time?
<phoe> or (defgeneric roll-down-window (car window-designator)) so window-designator can be an instance of a window object, or a symbol
<phoe> jmercouris: why make new instances all the time?
<phoe> have slots in the car object that hold the windows
<jmercouris> I don't see how else it is possible, unless they are class level functinos
<jackdaniel> if it is just a matter of finite number of windows (like: front / rear) I'd just make the argument an enum
<jackdaniel> and forget about the whole issue
Cymew has quit [Ping timeout: 245 seconds]
<jmercouris> That's unfortunately not ideal of a solution, but it's the best for now I guess
SenasOzys has joined #lisp
<jmercouris> the reason why it is not ideal is because the amount of edits will grow exponentially
<jmercouris> let's say I have such an enum, and I have five different car class types
<jmercouris> each car will have a different enum based on the applicable amount of windows
<phoe> jmercouris: do your cars have variable number of windows?
<jmercouris> yes, not every car has the same quantity of windows
<phoe> but they are all windows, right?
<jackdaniel> exponentially is a bit of exagerration
<jmercouris> well, it is exponential, there are 5 car models, with 4 window variations let's say
Cymew has joined #lisp
<phoe> (defclass automobile () ((windows :initform (make-hash-table) :accessor windows)))
<phoe> (window automobile 'rear-window) => (gethash 'rear-window (windows automobile))
<jackdaniel> if they differ in how you handle each window in each model, then you'll always need to have NxM code paths
<jmercouris> Yeah, there is no way around that...
<jmercouris> at least with the object model in this language
<phoe> keep a collection of all windows that you have in a hashtable
<jackdaniel> you may squeeze it in one function or spread around NxM functions, but it will be the same in CL and C neverless
<jmercouris> phoe: I will do that yes, thank you for the idea
<phoe> you seem to want a simple map from window types to window objects, which is not unlike a JSONy object, { front-window: #<window>, rear-window: #<window> }
<phoe> and hash-tables are exactly these.
<jmercouris> Yeah, I'll have a public dictionary
wxie has joined #lisp
<jmercouris> that way one can also query the car and see which windows it supports
<jmercouris> well, public in the OO context
splittist has quit [Quit: ~]
<phoe> sure, make class-allocated slots that specify the available window types
splittist has joined #lisp
<phoe> instead of instance-allocated slots
<jmercouris> so the car should be responsible for instantiating its own windows and assigning them into its own dictionary
wxie has quit [Remote host closed the connection]
<jmercouris> ok, I've got a good vision in my head, now thanks everyone
<phoe> sure, that's doable, for each symbol in (window-types automobile) do (setf (window automobile symbol) (make-instance symbol))
<phoe> where (setf window) is analogous to the #'WINDOW function I mentioned above
Cymew has quit [Ping timeout: 255 seconds]
<jmercouris> yep, thx
<phoe> as in, it expands into STEF GETHASH
<phoe> SETF*
Cymew has joined #lisp
<phoe> Has anyone attempted to implement the ActivityPub protocol in Common Lisp?
alms_clozure has quit [Quit: ~]
alms_clozure has joined #lisp
<Xach> What is the ActivityPub protocol?
<dlowe> the one underlying federated social networks
<dlowe> like Mastodon
sjl has joined #lisp
Cymew has quit [Ping timeout: 246 seconds]
Cymew has joined #lisp
heisig has quit [Quit: Leaving]
a-luz has joined #lisp
a-luz has left #lisp [#lisp]
Cymew has quit [Ping timeout: 256 seconds]
dieggsy has joined #lisp
CEnnis91 has quit [Quit: ~]
eSVG has joined #lisp
CEnnis91 has joined #lisp
Duns_Scrotus has quit [Quit: ~]
Duns_Scrotus has joined #lisp
ggherdov has quit [Quit: ~]
pierpa has joined #lisp
ggherdov has joined #lisp
l1x has quit [Quit: ~]
rvirding has quit [Quit: ~]
l1x has joined #lisp
rvirding has joined #lisp
gendl has quit [Quit: ~]
gendl has joined #lisp
fikka has quit [Ping timeout: 276 seconds]
tazjin has quit [Quit: ~]
tazjin has joined #lisp
p_l has quit [Quit: ~]
pierpa has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
p_l has joined #lisp
Cymew has quit [Ping timeout: 264 seconds]
fikka has joined #lisp
adulteratedjedi has quit [Quit: ~]
drmeister has quit [Quit: ~]
adulteratedjedi has joined #lisp
Cymew has joined #lisp
drmeister has joined #lisp
araujo has joined #lisp
araujo has quit [Changing host]
araujo has joined #lisp
varjag has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
fikka has quit [Ping timeout: 276 seconds]
Cymew has quit [Ping timeout: 240 seconds]
convexferret has quit [Quit: ~]
convexferret has joined #lisp
Cymew has joined #lisp
Satou has quit [Quit: Cya soon guys!]
terrorjack has quit [Quit: ~]
terrorjack has joined #lisp
devlaf has quit [Quit: ~]
devlaf has joined #lisp
johs has quit [Quit: ~]
johs has joined #lisp
Cymew has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
zooey_ has quit [Remote host closed the connection]
zooey has joined #lisp
rumbler31 has joined #lisp
<schweers> I have a (hopefully) quick format question: I want to output double float values. I’d like them to have maximal precision, but don’t want to have a trailing d0 or d-5 or something like that. Is there a quick solution to this?
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
<Bike> function name is a string: GET-CXX-DATA-STRUCTURE-INFO. guessing i have to distclean
<Bike> whoops wrong channel
weltung has quit [Quit: ~]
weltung has joined #lisp
<sjl> schweers: (format t "~F" pi) ?
fikka has joined #lisp
<schweers> really, that is it? could you please shoot me for this?
epony has joined #lisp
<sjl> hmm, maybe not
<sjl> clhs 22.3.3.1
<specbot> Tilde F: Fixed-Format Floating-Point: http://www.lispworks.com/reference/HyperSpec/Body/22_cca.htm
<sjl> > If w is omitted, then if the magnitude of arg is so large (or, if d is also omitted, so small) that more than 100 digits would have to be printed, then an implementation is free, at its discretion, to print the number using exponential notation instead, as if by the directive ~E (with all parameters to ~E defaulted, not taking their values from the ~F directive).
rumbler31 has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 246 seconds]
<schweers> the point is: these double-floats are intended to be the input for postgresql
<schweers> okay, I’m fine with a dirty hack, so something along the lines of ~1000F should be fine.
BlueRavenGT has joined #lisp
Cymew has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
Bronsa has joined #lisp
<schweers> no, that is not what I want
Cymew has quit [Ping timeout: 268 seconds]
EvW1 has joined #lisp
Cymew has joined #lisp
<Shinmera> Wait, if you're passing data to postgresql why are you serialising it to strings?
<Shinmera> You should use prepared statements to pass data.
scymtym has quit [Ping timeout: 245 seconds]
Cymew has quit [Ping timeout: 255 seconds]
eSVG has quit [Ping timeout: 265 seconds]
khisanth_ has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
fikka has joined #lisp
oleo has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
Kundry_Wag has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 245 seconds]
Cymew has joined #lisp
<schweers> Shinmera: I don’t pass it directly. It’s a dirty hack my collegue came up with. So I have no choice here. This stuff isn’t mission critical or anything, so I’m fine with his approach.
<schweers> but yes, normally you would be right :D
khisanth_ has joined #lisp
fikka has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Oddity has quit [Ping timeout: 240 seconds]
wigust- has joined #lisp
Cymew has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
wigust has quit [Ping timeout: 260 seconds]
warweasle is now known as warweasle_lunch
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
fikka has joined #lisp
dieggsy has quit [Ping timeout: 265 seconds]
Cymew has quit [Ping timeout: 256 seconds]
fikka has quit [Ping timeout: 268 seconds]
Cymew has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
jmercouris has quit [Remote host closed the connection]
jmercouris has joined #lisp
Cymew has joined #lisp
EvW1 has quit [Ping timeout: 255 seconds]
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
fikka has joined #lisp
warweasle_lunch is now known as warweasle
rumbler31 has joined #lisp
Cymew has quit [Ping timeout: 256 seconds]
drunkencoder has quit [Remote host closed the connection]
siraben has quit [Ping timeout: 260 seconds]
drunkencoder has joined #lisp
Cymew has joined #lisp
pierpa has joined #lisp
rumbler31 has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 256 seconds]
Cymew has joined #lisp
Kundry_Wag has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
LiamH has joined #lisp
Cymew has joined #lisp
Cymew has quit [Ping timeout: 265 seconds]
damke has joined #lisp
Cymew has joined #lisp
damke_ has quit [Ping timeout: 265 seconds]
nmajo has quit [Remote host closed the connection]
Kaisyu has quit [Quit: Connection closed for inactivity]
dieggsy has joined #lisp
Cymew has quit [Ping timeout: 265 seconds]
attila_lendvai has quit [Quit: Page closed]
Cymew has joined #lisp
nmajo has joined #lisp
makomo has joined #lisp
Cymew has quit [Ping timeout: 265 seconds]
shrdlu68 has left #lisp [#lisp]
Cymew has joined #lisp
nmajo has quit [Ping timeout: 245 seconds]
varjag has joined #lisp
fikka has quit [Ping timeout: 265 seconds]
Cymew has quit [Ping timeout: 255 seconds]
lnostdal has quit [Read error: Connection reset by peer]
lnostdal has joined #lisp
Cymew has joined #lisp
k-stz has joined #lisp
raynold has joined #lisp
fikka has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
Karl_Dscc has joined #lisp
nmajo has joined #lisp
Cymew has joined #lisp
ophan has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
skeuomorf has joined #lisp
cage_ has joined #lisp
Cymew has quit [Ping timeout: 255 seconds]
Oddity has joined #lisp
Oddity has quit [Changing host]
Oddity has joined #lisp
Cymew has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
scymtym has joined #lisp
hhdave has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
Cymew has joined #lisp
jeosol_ has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
Cymew has quit [Ping timeout: 265 seconds]
<jeosol_> morning guys
attila_lendvai has joined #lisp
Cymew has joined #lisp
<phoe> hey jeosol_
<jeosol_> Anyone working with CL on machine learning projects. I looked at Gabor's ML code several months ago and now trying to get back to it and similar projects.
<jeosol_> hi phoe
<jeosol_> been a while. I finally was able to get my challenge code to be stable and it's running now. Unfortunately, I may not have enough time to run all cases
shka_ has joined #lisp
<phoe> I can't help you with ML projects since it's completely not what I deal with.
fikka has joined #lisp
<phoe> Maybe someone else though - or maybe you could make your questions more concrete
<jeosol_> phoe: I work in ML but with other languages.
Cymew has quit [Ping timeout: 265 seconds]
Kundry_Wag has quit [Remote host closed the connection]
<jeosol_> my question is around the tools/libraries that are being used for those in the projects. I recently took the Coursera ML course and was thinking of replicating the examples in CL (SBCL) for those who may be interested
Cymew has joined #lisp
<jmercouris> jeosol_: I've looked and I've honestly not seen too much support for ML in Lisp
<jmercouris> which is ironic in a sense
fikka has quit [Ping timeout: 264 seconds]
<jmercouris> I'm sure there are some tools, but most stuff seems to just be in C wrapped in another language
<jeosol_> jmercouris: thanks for that feedback
<jeosol_> I did try to compile clml library a while ago while I was looking neural networks and clustering algorithm codes. I was able to get it to load and all, but the interface was not clean enough for me to test cases.
<jmercouris> I think it would be a fun exercise to implement some of these algorithms/data structures in Lisp, shouldn't be too hard
<jmercouris> I'm not sure you'll get amazing performance with a simple solution, but it would be fun
Winterschlaf has left #lisp ["Leaving"]
Cymew has quit [Ping timeout: 268 seconds]
Cymew has joined #lisp
<jeosol_> I then looked at Gabor's code, I was able to get it to with latest SBCL after some minor modifications (not code, just some quicklisp related things). I didn't have cuda though. The test case for the Higgs Boson challenge was running over a day so I had to kill it back then.
<jeosol_> From Gabor's site, I think he mentioned that he used cuda and was able to get the training and test done in a day.
<jmercouris> I'm not sure how experienced you are in the ML space, but I only run extremely small data sets on my own machine
mflem has joined #lisp
<jmercouris> large and big data sets I leave for the server
attila_lendvai has quit [Quit: Page closed]
habamax has quit [Ping timeout: 255 seconds]
<jmercouris> I also like to work with algorithms that don't require a lot of memory
<jeosol_> I have run fair big problems, not the big data types, with Spark (clustering), and C++ code (on linux)
<jmercouris> yeah, clustering for example, so much memory required...
<jeosol_> This was a while back before all the big data/data science stuff. Most of the applications was just on linux, eg., clustering large data sets.
<jeosol_> But with CL, I have small code snippets for doing kNN, and clustering, not optimized for large problems.
Cymew has quit [Ping timeout: 240 seconds]
<jmercouris> You know what you could do, CFFI in Lisp is actually really good and easy to use, you could wrap one of the big libs in CL
<jmercouris> that would be pretty useful for others as well
<jeosol_> I plan to pick up Gabor's code again. My initial test then was to replicated his results for the Higgs Boson challenge and just go from there.
<jmercouris> maybe even make a Lispy API
<jeosol_> jmercouris: big libs?
<jmercouris> jeosol_: I don't mean big in terms of file size, I mean popular
damke_ has joined #lisp
<jeosol_> Oh I see what you mean
Cymew has joined #lisp
<jmercouris> for example, you might do opencv using something like clasp
<jeosol_> I have seen a few matrix related libraries on cliki back then and I am trying to see what people use. In my initial review of the Gabor's code, he has some optimized data structures for different computation, e.g., if cuda is enabled. I have to look at it again
capitaomorte has joined #lisp
damke has quit [Ping timeout: 264 seconds]
damke has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
<jeosol_> I am sure I can search one of the libraries and get some numeric optimization algorithms which would be what I would need for the simpler examples (linear and logistic regression) in the course.
<capitaomorte> Hi, does anyone here know how to crash sbcl on purpose, i.e. make it drop into ldb?
<jeosol_> jmercouris: I found this http://quickdocs.org/clml/
fikka has joined #lisp
<jeosol_> you have probably seen it before?
Cymew has joined #lisp
Misha_B has joined #lisp
damke_ has quit [Ping timeout: 263 seconds]
<jmercouris> jeosol_: yes
pierpa_ has joined #lisp
Kundry_Wag has joined #lisp
<jeosol_> I think I would try to link with that effort and use the library as a starting point for the examples.
pierpa has quit [Ping timeout: 260 seconds]
<jmercouris> seems reasonable enough, best of luck :)
<jeosol_> I could not get a clustering case to run back then, but it was probably due to not understanding the packages and how things are organized.
<jeosol_> thanks.
fikka has quit [Ping timeout: 268 seconds]
vtomole has joined #lisp
Cymew has quit [Ping timeout: 256 seconds]
Cymew has joined #lisp
Kundry_Wag has quit [Ping timeout: 260 seconds]
Cymew has quit [Ping timeout: 240 seconds]
<jeosol_> jmercouris, since you are familiar with the space, I will peg you down as a potential reviewer
<jmercouris> jeosol_: sounds good!
<jeosol_> I sent an email to Mike who maintains the CLML library.
Cymew has joined #lisp
attila_lendvai has joined #lisp
<jeosol_> You comment about wrapping popular libs in CL is interesting too. That would be worth considering.
<jmercouris> Cool, did you also look at the open github issues? https://github.com/mmaul/clml/issues
Kundry_Wag has joined #lisp
<jmercouris> jeosol_: I think it would be an efficient way to get a lot of value for your time
<jmercouris> I know you spoke about SBCL earlier, but you could use Clasp to wrap C++
<jeosol_> ok. I am not an expert CFFI guy.
<jeosol_> ok, that's helpful
<jmercouris> I've never worked with the FFI for C++, only for C
<jmercouris> so I can't say much about it, but the C one is really quite good
<jmercouris> it took me about a day to get used to it, I just looked at some examples, and I was able to use it
Cymew has quit [Ping timeout: 256 seconds]
pierpa has joined #lisp
Cymew has joined #lisp
<jackdaniel> ECL may be compiled with C++ compiler and then it can interact with C++ world (and vice versa)
<jeosol_> jmercouris: read the clasp page. Seems very interesting. Since there are very efficient codes for C/C++ that approach makes sense. I will wait to hear back from Mike so as not to be duplicating efforts. Kind of see what they are doing if any in this space.
capitaomorte has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
pierpa has quit [Client Quit]
<jmercouris> that makes a lot of sense, I'd be interested to know how that conversation goes :)
pierpa has joined #lisp
damke_ has joined #lisp
pierpa has left #lisp [#lisp]
Cymew has quit [Ping timeout: 260 seconds]
damke has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
damke has joined #lisp
<jeosol_> jmercouris: sure, I will definitely get back to you. Likd I said, it will be good to get reviewers in the space. I like the approach of wrapping existing functionalities which means one can starting using those libraries within CL
<jeosol_> and bring the rapid development and prototyping of solutions to that space.
<jmercouris> Yeah, that would be the really big benefit
fikka has quit [Ping timeout: 263 seconds]
<jmercouris> the REPL cannot be overstated
<jmercouris> I've been frustrated by even languages that purportedly come with a REPL
<jmercouris> the one in Python drives me crazy for example
pierpa has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 260 seconds]
fikka has joined #lisp
Cymew has joined #lisp
pierpa_ has quit [Ping timeout: 260 seconds]
try has joined #lisp
try is now known as Guest69351
<rpg> jmercouris: ditto for JavaScript
Cymew has quit [Ping timeout: 260 seconds]
SaganMan has quit [Quit: WeeChat 1.6]
warweasle has quit [Quit: rcirc on GNU Emacs 24.4.1]
Cymew has joined #lisp
Guest78093 has quit [Ping timeout: 256 seconds]
<jeosol_> jmercouris: lol on python repl
<jeosol_> hahhaha
try_ has joined #lisp
<jeosol_> I agree, the REPL can not be overstated, there is a just a different way of developing software with CL. I came from C/C++ background: edit-compile-link ... blah blah
<jmercouris> rpg: we can go on and on, nothing compares to the CL REPL
<jeosol_> You can build large by those small updates, here and there, and you test your ideas and get rapid feedback. For me for the challenge I talked about, I often have to load my data set that can take 10 mins to just to load
<rpg> jmercouris: Agreed. And I wish SLDB didn't hide it from me. :-(
<jmercouris> that's the worst loading and reloading the data set when your program crashes
<jeosol_> once I do that, I don't have to reload that data, and I can just keep working, and working
Cymew has quit [Ping timeout: 240 seconds]
<jmercouris> especially when you find that it is just a simple logic mistake, and there you are, waiting another 10 minutes
<jeosol_> jmercouris: exactly
<jmercouris> this is why I especially don't understand companies that not only use tools that require compilation but *ALSO* have complex building and deployment requirements
<jeosol_> it would have been impossible to get my project done.
<jmercouris> how do your engineers get anything done?
<rpg> I have to admit that I'm getting pretty grumpy about not having some kind of type-checking, though. Seems like partial type checking has never really caught on. But I end up with a ton of stupid errors that way.
Guest69351 has quit [Ping timeout: 276 seconds]
<jmercouris> s/require compilation/cannot be partially recompiled in a live image/
<jeosol_> I actually have to put up slides to convince colleagues in the future on the benefits
rumbler31 has joined #lisp
Cymew has joined #lisp
<jmercouris> It doesn't matter, you can't convince them, too much organizational inertia usually
<jmercouris> the best you can do is found a new company and start with CL
rumbler31 has quit [Remote host closed the connection]
<jeosol_> rgp: That could be true. My code uses CLOS
<jeosol_> yeah, jmercouris
<jeosol_> I actually worked on a product on my own, and I used CL (SBCL specifically) for everything
<jmercouris> it goes back to that old adage as well, "nobody got fired for picking IBM"
<jmercouris> jeosol_: it's definitely liberating isn't it?
<jeosol_> in a former job, I told a boss I was tired of looking at an excel sheet with 1000 rows and > 200 columns and I have to pick data manually. He said they don't want change. I get the requests daily and it can take me 3-4 days for data extraction
<jeosol_> eventually, I wrote something with SQLITE and CLSQL, converted the excel file to CSV and can load the columns I need. Less than a day and all requests (queries as functions) takes seconds to get back
<jeosol_> they were amazed how fast I am able to return the queries that they need.
<jeosol_> jmercouris: Liberating doesn't do justice. For me, CLOS, the debugger, etc, was instrumental to my development style.
pootler has joined #lisp
<jeosol_> If a code is blowing up, I have the object or argument to that function call, and can test as much as I want still it is resolve.
try_ has quit [Ping timeout: 264 seconds]
<jeosol_> I agree, the organizational inertia is too much to overcome. Colleagues have seen my screen emacs and asks what's is this strange language I am using.
Cymew has quit [Ping timeout: 268 seconds]
<jmercouris> I think it is best to just stay under the radar, and work more efficiently
<jmercouris> in the past, people have made a big deal about me using emacs, despite me never talking about it
<jeosol_> that was what I did eventually.
try_ has joined #lisp
Cymew has joined #lisp
<jmercouris> same thing with using CL in the workplace, if you can write something quickly in CL, just make the tool and expose the API in the form of your colleagues making requests of you, they don't need to know the underlying implementation :D
asarch has quit [Quit: Leaving]
try_ has quit [Ping timeout: 276 seconds]
try__ has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
<jeosol_> jmercouris: That is a good way to deal with. No one really needs to know the implementation as long as there is some interface.
<jeosol_> Btw, the python and JS REPL comparisons :-)
pootler has quit [Ping timeout: 276 seconds]
<rpg> Thing I'm wishing right now -- that it was easier to pass information from one SHOP image to another. Packages make this hard, of course, but it still seems harder than it should be.
shka has quit [Ping timeout: 240 seconds]
try______ has joined #lisp
try__ has quit [Ping timeout: 245 seconds]
Cymew has quit [Ping timeout: 245 seconds]
didi has joined #lisp
sauvin has quit [Ping timeout: 240 seconds]
ophan has quit [Ping timeout: 260 seconds]
<didi> I just realized the function is called `LIST', not `list'. I wonder if a package, any package, would survive a change on reading case conversion.
Satou has joined #lisp
Cymew has joined #lisp
try_____ has joined #lisp
<rpg> didi: Do you mean the code in the package, or the package definition itself?
<didi> rpg: I mean loading a package.
try______ has quit [Ping timeout: 264 seconds]
<didi> rpg: But your questions makes it even more interesting.
shka has joined #lisp
skeuomorf has quit [Ping timeout: 260 seconds]
wigust- has quit [Quit: ZNC 1.6.6 - http://znc.in]
<rpg> didi: so you mean something like a package that has been saved in a FASL file? because I don't think you can actually serialize a package (or print it readably), at least not with a lot of effort.
Cymew has quit [Ping timeout: 265 seconds]
<didi> rpg: No no (more good questions). I mean (load "file-with-package.lisp"). But we can go further and think about an ASDF system.
<rpg> I suppose one could send stuff back and forth by printing stuff readably back and forth between two communicating lisps, and hope that you haven't accidentally transmitted something that requires context that the other doesn't have.
Cymew has joined #lisp
try___ has joined #lisp
EvW has joined #lisp
try_____ has quit [Ping timeout: 256 seconds]
Cymew has quit [Ping timeout: 255 seconds]
pierpa has quit [Quit: Simple IRC: The quit option.]
<rpg> As I find myself wanting to do more in parallel, this kind of hurts.
try_____ has joined #lisp
Cymew has joined #lisp
<phoe> you can use swank for interlisp communication (pun intended)
try___ has quit [Ping timeout: 268 seconds]
<rpg> phoe: That's pretty cool.
<phoe> rpg: it is. There are swank clients written in pure CL, too.
<phoe> so swank isn't just a backend for slime, it's a general backend for lisp-lisp communication.
pierpa has joined #lisp
SaganMan has joined #lisp
Cymew has quit [Ping timeout: 264 seconds]
try______ has joined #lisp
Cymew has joined #lisp
<rpg> phoe: Interesting -- I have always thought of it more as a backend for elisp-lisp communication
<phoe> rpg: yes. it's more powerful than that though.
<phoe> it's essentially an engine for RPC. and you know what is achievable with RPC. (;
try_____ has quit [Ping timeout: 256 seconds]
<rpg> phoe: Yes, Chaos! No! I mean Great Things!
<phoe> why not both?
<rpg> Let's make distributed object systems great again
try____ has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
try______ has quit [Ping timeout: 268 seconds]
pierpa_ has joined #lisp
moei has quit [Quit: Leaving...]
try______ has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
try____ has quit [Ping timeout: 240 seconds]
vlatkoB has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 260 seconds]
Cymew has quit [Ping timeout: 240 seconds]
try______ has quit [Ping timeout: 240 seconds]
try____ has joined #lisp
Cymew has joined #lisp
damke_ has joined #lisp
Cymew has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
damke has quit [Ping timeout: 265 seconds]
fikka has joined #lisp
<phoe> rpg: actually it seems that each object for which you can define MAKE-LOAD-FORM can be transmitted over to other nodes
<rpg> phoe: Yes, that should work.
<rpg> My application involves symbolic computing, which makes things more tricky than they would otherwise be.
<phoe> symbolic computing, as in, you use symbols in your data structures?
<phoe> because if they are interned, then you need to use :: to make sure they are interned
<phoe> and if they are not, you're in trouble
Satou has quit [Quit: Cya soon guys!]
<rpg> phoe: if I make sure that both sides have the same packages, and I don't do anything scary like use property lists, I can make it work.
<phoe> rpg: yep, that is correct.
Cymew has quit [Ping timeout: 256 seconds]
<phoe> also limit the packages where you intern everything to some kind of FOO-USER package
<phoe> so all the namespace pollution that might happen is restricted to that package.
fikka has quit [Ping timeout: 240 seconds]
<rpg> phoe: the issue is that I'm doing things like building symbols for logical variables. If I do the reasoning in one image, and only export the conclusions, I can avoid ending up with a lot of un-collectable garbage.
Cymew has joined #lisp
<phoe> rpg: with-temp-package
<phoe> that's the tiny tool that I wrote for using READ in it.
<phoe> after the package is deleted, all symbols that were read become uninterned.
<rpg> phoe: Yes, that would work, I think.
<phoe> make sure to explicitly :use () in your scrap package though to avoid getting implicit uses.
<rpg> For me, though, it may be hard to identify what symbols can be put in a temporary package and what are conclusions ("outputs"), since I'm producing what are effectively proofs.
<phoe> You could try iterating over your output and interning all symbols in that output in some other package.
<phoe> This would clean up the symbols that get lost in the computation.
troydm has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
<pierpa_> there's the WITH-STANDARD-IO-SYNTAX macro which takes care of all these things
fikka has joined #lisp
<phoe> pierpa_: uh, no, it does not create a temporary package
Cymew has joined #lisp
<phoe> it always binds to CL-USER
<pierpa_> but it takes care of aetting things in the same way at both ends
<pierpa_> *setting
<phoe> ohh, right - you mean this
<pierpa_> yes
<phoe> for things that are printable, yes; I was thinking of things which are dumpable into FASLs and loadable from FASLs
<phoe> because you could implement a mechanism that compiles something, dumps it into a FASL, sends the FASL over the network; the other node downloads and loads the FASL, gets an object
jmercouris has quit [Ping timeout: 260 seconds]
EvW has quit [Remote host closed the connection]
<phoe> and this would work for sending arbitrary data between Lisps, as long as everything is FASL-dumpable
<pierpa_> FASLs should think by themselves about interning in the right packages, I think? I never tried this.
<phoe> yep, that's correct - except FASLs might always fail to load if some dependencies aren't met for example
<Bike> consequences are undefined if the package system isn't in the same state during load as it was for the compiler
<Bike> i think
<phoe> such as a missing package
Kundry_Wag has quit [Remote host closed the connection]
<phoe> or perhaps an undefined class when you try to load an instance of that class
fikka has quit [Ping timeout: 245 seconds]
ferada has joined #lisp
Kundry_Wag has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
<phoe> if you make sure that the two images have the same* packages then you should be good
<phoe> *the same enough that is, I wouldn't count silly things like ones created via WITH-TEMP-PACKAGE
<phoe> they are transient enough after all
Cymew has joined #lisp
tokenrove has quit [Quit: ZNC - http://znc.in]
Cymew has quit [Ping timeout: 240 seconds]
EvW has joined #lisp
troydm has quit [Ping timeout: 255 seconds]
Cymew has joined #lisp
rumbler31 has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 264 seconds]
__rumbler31 has joined #lisp
Cymew has joined #lisp
scymtym has quit [Remote host closed the connection]
fikka has joined #lisp
tokenrove has joined #lisp
rumbler31 has quit [Ping timeout: 276 seconds]
cage_ has quit [Quit: Leaving]
Cymew has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
yoel has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
orivej has joined #lisp
dieggsy has quit [Ping timeout: 245 seconds]
lyding has joined #lisp
yoel has quit []
Cymew has quit [Ping timeout: 260 seconds]
fikka has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
lyding has quit [Quit: WeeChat 2.1]
troydm has joined #lisp
Cymew has quit [Ping timeout: 265 seconds]
Mutex7 has joined #lisp
Kundry_Wag has joined #lisp
Xof has quit [Ping timeout: 268 seconds]
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_W_ has joined #lisp
fikka has joined #lisp
Kundry_W_ has quit [Ping timeout: 268 seconds]
Cymew has joined #lisp
<LdBeth> Probably means a microkernel can be implemented in such way
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
panji has joined #lisp
Xof has joined #lisp
Cymew has quit [Ping timeout: 264 seconds]
hiroaki has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
moei has joined #lisp
Cymew has quit [Ping timeout: 256 seconds]
deng_cn has quit [Read error: Connection reset by peer]
shka_ has quit [Ping timeout: 263 seconds]
Misha_B has quit [Ping timeout: 260 seconds]
epony has quit [Ping timeout: 256 seconds]
Cymew has joined #lisp
deng_cn has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
deng_cn has quit [Read error: Connection reset by peer]
Cymew has joined #lisp
hiroaki has joined #lisp
H4 has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
H4 has quit [Client Quit]
deng_cn has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
didi has quit [Ping timeout: 240 seconds]
Kundry_Wag has joined #lisp
cylb has quit [Remote host closed the connection]
Cymew has joined #lisp
cylb has joined #lisp
Tristam has quit [Remote host closed the connection]
emaczen has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
Kundry_Wag has quit [Ping timeout: 240 seconds]
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Tristam has joined #lisp
mejja has joined #lisp
vtomole has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
hjudt has quit [Ping timeout: 264 seconds]
Cymew has quit [Ping timeout: 256 seconds]
Cymew has joined #lisp
hjudt has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
<jeosol_> drmeister: are you here?
Cymew has joined #lisp
<Bike> he's pretty busy at the moment
TCZ has joined #lisp
Folkol has joined #lisp
<jeosol_> Bike: thanks
Cymew has quit [Ping timeout: 265 seconds]
Cymew has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
TCZ has quit [Quit: Leaving]
Cymew has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 256 seconds]
Cymew has joined #lisp
__rumbler31 has quit [Ping timeout: 260 seconds]
panji has quit [Quit: Leaving.]
Cymew has quit [Ping timeout: 260 seconds]
deng_cn has quit [Read error: Connection reset by peer]
Chream_ has joined #lisp
deng_cn has joined #lisp
Karl_Dscc has quit [Remote host closed the connection]
kushal has quit [Remote host closed the connection]
kushal has joined #lisp
Cymew has joined #lisp
Chream_2 has joined #lisp
Chream_ has quit [Ping timeout: 276 seconds]
Cymew has quit [Ping timeout: 265 seconds]
Cymew has joined #lisp
Cymew has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
pierpa_ has quit [Ping timeout: 260 seconds]
k-stz has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
kerrhau has joined #lisp
kerrhau has quit [Changing host]
kerrhau has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
Bike has quit [Ping timeout: 260 seconds]
damke has joined #lisp
damke_ has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
mejja has quit [Quit: mejja]
Cymew has quit [Ping timeout: 256 seconds]
Cymew has joined #lisp
rumbler31 has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
Kundry_Wag has joined #lisp
Cymew has joined #lisp
pierpa_ has joined #lisp
Kundry_Wag has quit [Ping timeout: 263 seconds]
Cymew has quit [Ping timeout: 264 seconds]
Cymew has joined #lisp
wxie has joined #lisp
Cymew has quit [Ping timeout: 255 seconds]
Bike has joined #lisp
Cymew has joined #lisp
sjl has quit [Ping timeout: 256 seconds]
broccolistem has quit [Quit: WeeChat 2.1-dev]
pfdietz has quit []
broccolistem has joined #lisp
jeosol_ has quit [Ping timeout: 260 seconds]
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
makomo has quit [Ping timeout: 256 seconds]
rpg has quit [Quit: Textual IRC Client: www.textualapp.com]
broccolistem has quit [Quit: WeeChat 2.1-dev]
varjag has quit [Ping timeout: 255 seconds]
Cymew has quit [Ping timeout: 264 seconds]
broccolistem has joined #lisp
Cymew has joined #lisp
cpc26_ has quit []
cpc26 has joined #lisp
cpc26 has quit [Changing host]
cpc26 has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Cymew has joined #lisp
fikka has quit [Ping timeout: 260 seconds]
Cymew has quit [Ping timeout: 260 seconds]
deng_cn has quit [Read error: Connection reset by peer]
Cymew has joined #lisp
hjudt has quit [Ping timeout: 256 seconds]
wxie has quit [Ping timeout: 260 seconds]
Anthaas_ has joined #lisp
epsyloN has quit [Ping timeout: 240 seconds]
deng_cn has joined #lisp
epsyloN has joined #lisp
fikka has joined #lisp
JenElizabeth has quit [Read error: Connection reset by peer]
Cymew has quit [Ping timeout: 265 seconds]
JenElizabeth has joined #lisp
Anthaas_ has quit [Quit: WeeChat 1.9.1]
JenElizabeth has quit [Read error: Connection reset by peer]
Cymew has joined #lisp
scottj has joined #lisp
JenElizabeth has joined #lisp
fikka has quit [Ping timeout: 265 seconds]
python476 has quit [Ping timeout: 263 seconds]
SuperJen has joined #lisp
lyding has joined #lisp
SuperJen has quit [Read error: Connection reset by peer]
SuperJen has joined #lisp
Cymew has quit [Ping timeout: 256 seconds]
warweasle has joined #lisp
JenElizabeth has quit [Ping timeout: 268 seconds]
Cymew has joined #lisp
hjudt has joined #lisp
fikka has joined #lisp
LiamH has quit [Quit: Leaving.]
Cymew has quit [Ping timeout: 240 seconds]
Guest6344 has joined #lisp
attila_lendvai has quit [Ping timeout: 260 seconds]
BlueRavenGT has quit [Read error: Connection reset by peer]
Cymew has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
lyding has quit [Quit: WeeChat 2.1]
attila_lendvai has joined #lisp
Cymew has quit [Ping timeout: 256 seconds]
SenasOzys has quit [Remote host closed the connection]
Cymew has joined #lisp
SenasOzys has joined #lisp
Kaisyu has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
Oladon has joined #lisp
Cymew_ has joined #lisp
fikka has joined #lisp
Cymew has quit [Ping timeout: 240 seconds]
Cthulhux has quit [Ping timeout: 256 seconds]
Cymew_ has quit [Ping timeout: 264 seconds]
fikka has quit [Ping timeout: 264 seconds]
dpg has joined #lisp
Jen has joined #lisp
Cthulhux has joined #lisp
Cymew has joined #lisp
markong has quit [Ping timeout: 268 seconds]
dpg has quit [Ping timeout: 255 seconds]
SuperJen has quit [Ping timeout: 264 seconds]
Jen has quit [Read error: Connection reset by peer]
SuperJen has joined #lisp
quazimodo has joined #lisp
Cymew has quit [Ping timeout: 265 seconds]
Guest6344 has quit [Quit: Leaving]
Cymew has joined #lisp
fikka has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]