jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | offtopic --> #lispcafe
matryoshka has joined #lisp
ebrasca has quit [Remote host closed the connection]
matryoshka has quit [Quit: ZNC 1.8.2 - https://znc.in]
matryoshka has joined #lisp
random-nick has quit [Ping timeout: 265 seconds]
matryoshka has quit [Client Quit]
matryoshka has joined #lisp
<sjl> love spending 20 minutes digging through SBCL's MOP source code to figure out why it's signaling an error only to realize I did (defmethod update-dependent ...) instead of (defmethod c2mop:update-dependent ...)
<sjl> Silent naked defmethods are just the worst.
<phoe> sjl: complain at #sbcl that the "implicitly creating a function" warning should get reinstated
<phoe> join our choir
<sjl> I already did long ago
slyrus has quit [Quit: Leaving]
matryoshka has quit [Quit: ZNC 1.8.2 - https://znc.in]
matryoshka has joined #lisp
<aeth> I implicitly created a complaint
gaqwas has quit [Ping timeout: 260 seconds]
frost-lab has joined #lisp
asarch has quit [Ping timeout: 264 seconds]
asarch has joined #lisp
amerigo has quit [Quit: Connection closed for inactivity]
dbotton has joined #lisp
imode has joined #lisp
kaftejiman has quit [Remote host closed the connection]
lucasb has quit [Quit: Connection closed for inactivity]
hiroaki_ has quit [Ping timeout: 240 seconds]
wxie has joined #lisp
nij has joined #lisp
<nij> Where can I learn more about open genera OS? especially its relation with lisp machines??
<nij> On youtube there are just few DEMO videos .. :(
<sjl> bitsavers has a bunch of genera manuals and such
<nij> Yay.. T_T Thank you
gaqwas has joined #lisp
hiroaki_ has joined #lisp
<aeth> Based on the URL, I guess that's a mirror of this? http://bitsavers.trailing-edge.com/
dbotton has quit [Quit: This computer has gone to sleep]
<sjl> yeah, with a more searchable interface that a list of directories with terse names
nij has quit [Quit: ERC (IRC client for Emacs 27.1)]
gaqwas has quit [Remote host closed the connection]
gaqwas has joined #lisp
notzmv` has joined #lisp
slyrus has joined #lisp
<pfdietz> lp 1818142
<pfdietz> For silent defmethods
notzmv` has quit [Ping timeout: 260 seconds]
notzmv``` has joined #lisp
<pfdietz> "Interlisp is a very large software system [...] Interlisp-D has on the order of 17,000 lines of Lisp code, 6,000 lines of Bcpl, and 4,000 lines of microcode."
rgherdt has quit [Ping timeout: 260 seconds]
<pfdietz> (checks sbcl source) 555K lines of lisp code.
<pfdietz> And 53K lines of C.
<aeth> If you replace all ;-style comments with #||#-style comments, then you could get any Lisp program down to 1 line
notzmv``` has quit [Ping timeout: 256 seconds]
rgherdt has joined #lisp
notzmv has joined #lisp
gaqwas has quit [Ping timeout: 272 seconds]
mrchampion has quit [Read error: Connection reset by peer]
rumbler31 has joined #lisp
rgherdt has quit [Ping timeout: 256 seconds]
mrchampion has joined #lisp
orivej has joined #lisp
rumbler31 has quit [Ping timeout: 272 seconds]
<phantomics> Hey, a question about arrays: is there any way to create a "representation" of an array with a different element type?
<phantomics> For example, say I have an 8-element array of type unsigned-byte 8
<phantomics> And I want to access the same memory space as a 64-element vector of bits
<phantomics> I can't use array displacement for this, because (make-array) forbids you to use the :displace-to option with an array of a different type
GuerrillaMonkey has quit [Ping timeout: 246 seconds]
Inline has quit [Read error: Connection reset by peer]
<phantomics> Is there any other option?
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
sm2n has quit [Remote host closed the connection]
cantstanya has quit [Ping timeout: 240 seconds]
<aeth> Actually doing it? You can abuse FFI...
<aeth> e.g. (format t "#x~16,'0X~%" (static-vectors:with-static-vector (a 16 :element-type '(unsigned-byte 8) :initial-element #x12) (cffi:mem-ref (static-vectors:static-vector-pointer a) :uint64 0)))
<aeth> I'm guessing that you could probably be clever with static-vectors-style hacking to avoid the direct use of CFFI and just create two different arrays that appear to be Lisp native, just with different types and located at the same location.
cantstanya has joined #lisp
<aeth> But, in general, I think people just make the array itself be octets and then merge them together if necessary.
toorevitimirp has joined #lisp
<aeth> i.e. (format t "#x~16,'0X~%" (logior (ash #x12 (* 8 0)) (ash #x12 (* 8 1)) (ash #x12 (* 8 2)) (ash #x12 (* 8 3)) (ash #x12 (* 8 4)) (ash #x12 (* 8 5)) (ash #x12 (* 8 6)) (ash #x12 (* 8 7))))
gaqwas has quit [Ping timeout: 264 seconds]
toorevitimirp has quit [Remote host closed the connection]
surabax has quit [Quit: Leaving]
<aeth> Your implementation (e.g. SBCL) might let you pretend that CL is C if (safety 0). Whatever you do, DO NOT do this one. It's unportable and breaks the type system. (defun foo (a) (declare (optimize (safety 0)) (type (simple-array (unsigned-byte 64) (*)) a)) (aref a 0)) (defun bar () (foo (make-array 32 :element-type '(unsigned-byte 8) :initial-element #x12))) (format t "#x~16,'0X~%" (bar))
<aeth> If the type tags are variably sized, it might not work, either.
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
notzmv has quit [Ping timeout: 240 seconds]
notzmv has joined #lisp
judson_ has joined #lisp
birdwing has quit [Ping timeout: 260 seconds]
lowryder has quit [Ping timeout: 246 seconds]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
lowryder has joined #lisp
miasuji has quit [Quit: Leaving]
DGASAU` has joined #lisp
karlosz has quit [Quit: karlosz]
DGASAU has quit [Ping timeout: 256 seconds]
judson_ has joined #lisp
matryoshka has quit [Quit: ZNC 1.8.2 - https://znc.in]
matryoshka has joined #lisp
Inline has joined #lisp
galex-713 has quit [Ping timeout: 272 seconds]
akoana has left #lisp ["Leaving"]
vegansbane6 has quit [Quit: The Lounge - https://thelounge.chat]
pfdietz has quit [Ping timeout: 245 seconds]
vegansbane6 has joined #lisp
rumbler31 has joined #lisp
<sjl> phoe: I think I finally managed to wrangle the stupid class option inheritance thing into submission
<sjl> in typical MOP fashion, it ended up being way more confusing to implement than I thought it would be
<sjl> I feel like I probably still screwed this up, but I can't think any more about this tonight.
v88m has quit [Ping timeout: 256 seconds]
<jrm> Hi. I'm working on an OS package update to alexandria 1.2. I tested by loading stumpwm. After the update an error is reported: Lock on package ALEXANDRIA violated when defining ALEXANDRIA:WITH-GENSYMS as a macro while in package STUMPWM.
<jrm> We currently have a very old version of alexandria before the alexandria-1 and alexandria-2 sub directories were created. Does something special need to be done to handle the two -1 and -2 implementations?
galex-713 has joined #lisp
<jrm> ^ First sent those to #common-lisp, but see on https://common-lisp.net/project/alexandria/ to use #lisp. Sorry to anyone who sees that twice.
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
judson_ has joined #lisp
Inline has quit [Ping timeout: 264 seconds]
<fiddlerwoaroof> sjl: what's the use case?
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
thmprover has joined #lisp
Alfr_ has joined #lisp
Alfr has quit [Ping timeout: 260 seconds]
asarch has quit [Quit: Leaving]
jjong has joined #lisp
v88m has joined #lisp
<beach> Good morning everyone!
slyrus_ has joined #lisp
<saganman> Morning beach
slyrus has quit [Ping timeout: 240 seconds]
matryoshka has quit [Quit: ZNC 1.8.2 - https://znc.in]
matryoshka has joined #lisp
orivej has quit [Quit: orivej]
orivej has joined #lisp
jibanes has quit [Ping timeout: 256 seconds]
jibanes has joined #lisp
karlosz has joined #lisp
Stanley00 has joined #lisp
jibanes has quit [Ping timeout: 246 seconds]
jibanes has joined #lisp
wxie has quit [Ping timeout: 240 seconds]
wxie has joined #lisp
judson_ has joined #lisp
<phantomics> Thanks aeth
skapata has quit [Remote host closed the connection]
thmprover has quit [Quit: For Here, I Hope, Begins Our Lasting Joy]
rumbler31_ has quit [Ping timeout: 260 seconds]
saganman has quit [Ping timeout: 256 seconds]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
waleee-cl has quit [Quit: Connection closed for inactivity]
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
saganman has joined #lisp
gxt has quit [Remote host closed the connection]
gxt has joined #lisp
judson_ has joined #lisp
judson_ has quit [Client Quit]
narimiran has joined #lisp
Core7917 has joined #lisp
jibanes has quit [Ping timeout: 264 seconds]
jibanes has joined #lisp
jibanes has quit [Ping timeout: 260 seconds]
jibanes has joined #lisp
andreyorst` has joined #lisp
spal has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
spal has joined #lisp
pve has joined #lisp
gxt has quit [Ping timeout: 240 seconds]
gxt has joined #lisp
msk_ has quit [Quit: Leaving]
orivej has quit [Ping timeout: 272 seconds]
birdwing has joined #lisp
gutter has quit [Remote host closed the connection]
villanella has joined #lisp
<phoe> jrm: there's a package conflict somewhere. What package defines its own WITH-GENSYMS macro?
<phoe> sjl: ooooh, let me dig in
rogersm has joined #lisp
devon has joined #lisp
attila_lendvai has joined #lisp
bjorkintosh has joined #lisp
gareppa has joined #lisp
gareppa has quit [Remote host closed the connection]
attila_lendvai has quit [Ping timeout: 268 seconds]
jibanes has quit [Ping timeout: 264 seconds]
jibanes has joined #lisp
hendursa1 has joined #lisp
hendursaga has quit [Ping timeout: 240 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
flazh has quit [Ping timeout: 264 seconds]
hnOsmium0001 has quit [Quit: Connection closed for inactivity]
gaqwas has joined #lisp
gaqwas has joined #lisp
liberliver has joined #lisp
liberliver1 has joined #lisp
liberliver has quit [Ping timeout: 240 seconds]
liberliver1 is now known as liberliver
heisig has joined #lisp
podge has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
flazh has joined #lisp
amb007 has joined #lisp
l1x has quit [Quit: Connection closed for inactivity]
rgherdt has joined #lisp
gaqwas has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 256 seconds]
amb007 has joined #lisp
wxie has quit [Ping timeout: 246 seconds]
attila_lendvai has joined #lisp
imode has quit [Quit: WeeChat 2.9]
iskander has quit [Ping timeout: 240 seconds]
iskander- has joined #lisp
attila_lendvai has quit [Ping timeout: 256 seconds]
<jrm> phoe: I only see the one definition in alexandria/alexandria-1/macros.lisp.
rjcks has joined #lisp
<phoe> jrm: something in stumpwm, or one of its dependencies, likely defines its own, then.
<phoe> the backtrace for the error that you are getting should list the file in question.
iskander- has quit [Read error: Connection reset by peer]
ebrasca has joined #lisp
iskander has joined #lisp
<jrm> phoe: Thank you! Mystery solved. Stupid user error. I had this in my config. https://github.com/Jehops/config/blob/e89f7d56c5b757d2231eccab563238825e228b88/stumpwm/.stumpwmrc#L138-L142
amb007 has quit [Read error: Connection reset by peer]
<phoe> :D
amb007 has joined #lisp
<jrm> For some reason, stumpwm only reported the error with the new alexandria?
<phoe> maybe the new alexandria introduced a package lock on itself
<jrm> ah
<phoe> which sounds sane
cosimone has joined #lisp
orivej has joined #lisp
gutter has joined #lisp
dhil has joined #lisp
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
random-nick has joined #lisp
vegansbane6 has quit [Quit: The Lounge - https://thelounge.chat]
amb007 has quit [Ping timeout: 240 seconds]
amb007 has joined #lisp
Stanley00 has quit []
l1x has joined #lisp
phoe6_ has joined #lisp
Inline has joined #lisp
frost-lab has quit [Quit: Connection closed]
asarch has joined #lisp
vegansbane6 has joined #lisp
saganman has quit [Ping timeout: 240 seconds]
Inline has quit [Read error: Connection reset by peer]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
surabax has joined #lisp
gzj has joined #lisp
GZJ0X_ has joined #lisp
Bike has joined #lisp
GZJ0X_ has quit [Client Quit]
ggole has joined #lisp
kaftejiman has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
rjcks_ has joined #lisp
rjcks has quit [Ping timeout: 240 seconds]
cosimone has quit [Quit: cosimone]
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
gko_ has joined #lisp
cosimone has joined #lisp
nij has joined #lisp
C-16 has joined #lisp
C-16 has quit [Client Quit]
dbotton has joined #lisp
dbotton has quit [Client Quit]
wsinatra has joined #lisp
wsinatra has quit [Client Quit]
wsinatra has joined #lisp
wsinatra has quit [Client Quit]
wsinatra has joined #lisp
wsinatra has quit [Remote host closed the connection]
wsinatra has joined #lisp
wsinatra has quit [Client Quit]
wsinatra has joined #lisp
wsinatra has quit [Client Quit]
wsinatra has joined #lisp
aeth has quit [Ping timeout: 272 seconds]
saganman has joined #lisp
aeth has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
nij has quit [Remote host closed the connection]
nij has joined #lisp
pfdietz has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
liberliver has quit [Ping timeout: 240 seconds]
wsinatra has quit [Ping timeout: 260 seconds]
waleee-cl has joined #lisp
gzj has quit [Remote host closed the connection]
gzj has joined #lisp
wsinatra has joined #lisp
gzj has quit [Read error: Connection reset by peer]
gzj has joined #lisp
liberliver has joined #lisp
nij has quit [Remote host closed the connection]
nij has joined #lisp
gzj has quit [Ping timeout: 246 seconds]
lowryder has quit [Ping timeout: 246 seconds]
jibanes has quit [Ping timeout: 264 seconds]
scymtym_ has quit [Remote host closed the connection]
scymtym has joined #lisp
nicktick has joined #lisp
jibanes has joined #lisp
lowryder has joined #lisp
hendursa1 has quit [Quit: hendursa1]
hendursaga has joined #lisp
<shka_> hi
<beach> Hello shka_.
<shka_> does sbcl hash-table created with 'equalp will handle other hashtables as keys?
<shka_> in sublinear fashion
<lonjil> I imagine that it would handle other hashtables as 'eq keys no matter what, since they are objects with identity.
<phoe> ^
<shka_> yeah, but i need equalp
<phoe> oh wait, equalp descends
<shka_> well, yes?
<jackdaniel> see equalp spec
<jackdaniel> it has well specified behavior for hash-tables
<phoe> no idea if that is going to be sublinear though
<shka_> ok
<shka_> yeah, i know that it should work, i just wonder about the performance
<shka_> eh, actually i can use ordered list
<shka_> it will work nicely with 'equal
* shka_ will figure out equalp case some other time
skapata has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
v88m has quit [Ping timeout: 260 seconds]
eden has joined #lisp
<lonjil> Wow, I had no idea about equalp descending hash tables.
<pfdietz> Want an abstraction combining equality, canonicalization, and hashing, with all the appropriate axioms relating those. These should come packaged together.
<shka_> it does, i just need to know if sbcl hash-table 'equalp and other hash-tables as keys is smart enough to calculate hash in a sensible way
<shka_> but whatever, i can do this differently
<phoe> you still need to traverse the whole hashtable to compute the hash
<nij> Sometimes you just have to deal with other languages. How difficult and practical is it to write a lisp version of that language?
<phoe> nij: what do you mean, lisp version of what language
<nij> The specific example in my mind is Hy, which claims to blend python and lisp. The problem is that the language I'm using (SageMath) is close to but not the same as python. In fact, sagemath's codes got pre-processed into python code. If I'm not mistaken, this is enough to keep Hy away from being effective with sagemath. I'm thinking of doing similar things to sagemath, but am not sure how long it's going to take me.
<shka_> phoe: yes, but ideal you need to do this ONCE
<phoe> oh, you want to write a lisp dialect in a language of your choosing?
<shka_> or rather: twice
<phoe> shka_: yes... for each GETHASH and for each SETF GETHASH
<shka_> and not n times
<nij> phoe: Yeah. So effectively i want to work with that language, but in lisp syntax.
<shka_> phoe: well, you also need to check for collisions if the occur
<nij> I imagine this won't be hard. But it will take some time..
<shka_> but still better then linear scan of the whole range
judson_ has joined #lisp
<phoe> nij: that's more of a ##lisp topic, but, implement a Lisp interpreter in any language using e.g. MAL (Make-A-Lisp) - that should give you an idea of how to do a similar thing in any programming language
<nij> OH! I wasn't aware of ##lisp. Sorry.. I will migrate my question there.
gabot has quit [Ping timeout: 256 seconds]
notzmv has quit [Read error: No route to host]
notzmv has joined #lisp
toorevitimirp has joined #lisp
charles` has quit [Ping timeout: 260 seconds]
hendursa1 has joined #lisp
hendursaga has quit [Remote host closed the connection]
toorevitimirp has quit [Ping timeout: 240 seconds]
sjl_ has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
judson_ has joined #lisp
judson_ has quit [Client Quit]
jonatack has quit [Quit: jonatack]
gxt has quit [Ping timeout: 240 seconds]
nij has quit [Quit: ERC (IRC client for Emacs 27.1)]
gxt has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
jonatack has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
gutter has quit [Remote host closed the connection]
orivej_ has joined #lisp
gutter has joined #lisp
luni has joined #lisp
gutter has quit [Remote host closed the connection]
jonatack has quit [Ping timeout: 256 seconds]
gutter has joined #lisp
gutter has quit [Remote host closed the connection]
jonatack has joined #lisp
varjag has joined #lisp
jonatack has quit [Ping timeout: 265 seconds]
hendursa1 has quit [Quit: hendursa1]
jonatack has joined #lisp
hendursaga has joined #lisp
gko_ has quit [Ping timeout: 264 seconds]
madage has quit [Remote host closed the connection]
madage has joined #lisp
contrapunctus has left #lisp ["Disconnected: closed"]
contrapunctus has joined #lisp
Steeve has joined #lisp
andreyorst has joined #lisp
tessier has quit [Ping timeout: 246 seconds]
drl has joined #lisp
taof has joined #lisp
taof has left #lisp [#lisp]
orivej_ has quit [Ping timeout: 246 seconds]
judson_ has joined #lisp
judson_ has quit [Client Quit]
judson_ has joined #lisp
monkey_ has joined #lisp
judson_ has quit [Client Quit]
jibanes has quit [Ping timeout: 256 seconds]
kapil_ has quit [Ping timeout: 256 seconds]
gutter has joined #lisp
wsinatra has quit [Ping timeout: 240 seconds]
jibanes has joined #lisp
wsinatra has joined #lisp
v88m has joined #lisp
orivej has joined #lisp
edgar-rft has quit [Quit: Leaving]
gzj has joined #lisp
Jeanne-Kamikaze has joined #lisp
edgar-rft has joined #lisp
kapil_ has joined #lisp
jibanes has quit [Ping timeout: 240 seconds]
liberliver has quit [Ping timeout: 240 seconds]
gzj has quit [Ping timeout: 268 seconds]
jibanes has joined #lisp
edgar-rft has quit [Quit: Leaving]
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
wsinatra has quit [Ping timeout: 240 seconds]
kapil_ has quit [Ping timeout: 240 seconds]
podge has quit [Remote host closed the connection]
jibanes has quit [Ping timeout: 240 seconds]
wsinatra has joined #lisp
jibanes has joined #lisp
heisig has quit [Remote host closed the connection]
_heisig has joined #lisp
narimiran has quit [Quit: leaving]
kapil_ has joined #lisp
judson_ has joined #lisp
kapil_ has quit [Read error: Connection reset by peer]
kapil_ has joined #lisp
EvW2 has joined #lisp
EvW2 has quit [Client Quit]
Oladon has joined #lisp
rumbler31_ has joined #lisp
wsinatra has quit [Ping timeout: 256 seconds]
wsinatra has joined #lisp
Core7917 has quit [Ping timeout: 240 seconds]
devon has quit [Ping timeout: 264 seconds]
eden has quit [Remote host closed the connection]
karlosz has quit [Remote host closed the connection]
wsinatra has quit [Ping timeout: 264 seconds]
galex-713 has quit [Ping timeout: 264 seconds]
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
judson_ has joined #lisp
wsinatra has joined #lisp
luni has quit [Quit: Connection closed]
judson_ has quit [Client Quit]
Jeanne-Kamikaze has quit [Ping timeout: 268 seconds]
jonatack has quit [Quit: jonatack]
judson_ has joined #lisp
galex-713 has joined #lisp
nij has joined #lisp
jibanes has quit [Ping timeout: 260 seconds]
jibanes has joined #lisp
dhil has quit [Quit: Leaving]
iekfkk has joined #lisp
bars0 has joined #lisp
Lord_of_Life_ has joined #lisp
bisickcor has quit [Ping timeout: 246 seconds]
Lord_of_Life has quit [Ping timeout: 240 seconds]
Lord_of_Life_ is now known as Lord_of_Life
jonatack has joined #lisp
luni has joined #lisp
wsinatra has quit [Quit: WeeChat 3.0]
jonatack has quit [Ping timeout: 260 seconds]
jonatack has joined #lisp
attila_lendvai has joined #lisp
jibanes has quit [Ping timeout: 240 seconds]
liberliver has joined #lisp
jibanes has joined #lisp
attila_lendvai has quit [Ping timeout: 260 seconds]
jibanes has quit [Ping timeout: 256 seconds]
Oladon has quit [Quit: Leaving.]
jibanes has joined #lisp
monkey_ has quit [Ping timeout: 260 seconds]
_heisig is now known as heisig
wsinatra has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
judson_ has joined #lisp
jibanes has quit [Ping timeout: 240 seconds]
scymtym_ has joined #lisp
Jeanne-Kamikaze has joined #lisp
scymtym has quit [Ping timeout: 264 seconds]
jibanes has joined #lisp
GuerrillaMonkey has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
sauvin has joined #lisp
rumbler31_ has quit [Ping timeout: 240 seconds]
Jeanne-Kamikaze has quit [Ping timeout: 260 seconds]
matryoshka has quit [Ping timeout: 260 seconds]
<jackdaniel> we are testing for the next ECL release: https://gitlab.com/embeddable-common-lisp/ecl/-/issues/621 -- please chip in if you have resources to do so :)
nij has left #lisp ["ERC (IRC client for Emacs 27.1)"]
bitmapper has quit [Quit: Connection closed for inactivity]
<_death> I think imcl got a compile error with recent ecl.. didn't look into it
judson_ has joined #lisp
liberliver has quit [Ping timeout: 260 seconds]
<_death> or actually it was a runtime error on startup
rumbler31_ has joined #lisp
judson_ has quit [Client Quit]
birdwing has quit [Ping timeout: 272 seconds]
<fiddlerwoaroof> jackdaniel: is darwin/arm64 supported?
akoana has joined #lisp
KREYREEN has quit [Remote host closed the connection]
judson_ has joined #lisp
<pfdietz> I sent in a bug report on the previous release yesterday. Issues at the gitlab page... right place to report?
gabot has joined #lisp
KREYREEN has joined #lisp
miasuji has joined #lisp
madage has quit [Ping timeout: 240 seconds]
cantstanya has quit [Ping timeout: 240 seconds]
Aurora_v_kosmose has quit [Ping timeout: 240 seconds]
hendursaga has quit [Ping timeout: 240 seconds]
gxt has quit [Ping timeout: 240 seconds]
judson_ has quit [Client Quit]
luckless_ has quit [Ping timeout: 240 seconds]
<jackdaniel> pfdietz: yes, thank you
cantstanya has joined #lisp
<jackdaniel> I saw it
gxt has joined #lisp
<jackdaniel> (and confirmed)
hendursaga has joined #lisp
<jackdaniel> fiddlerwoaroof: probably it is a matter of adding toolchain parts to the config -- as of now it does not build there
jibanes has quit [Ping timeout: 246 seconds]
<jackdaniel> you know, triplet arch platform abi
jibanes has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
bitmapper has joined #lisp
amb007 has joined #lisp
GuerrillaMonkey has quit [Quit: Leaving]
<slyrus_> so today's the day I try to dig through the various data-frame-ish libraries in common lisp and see what's what. I've got vellum, teddy, and polyclot on my list. Any others I should be considering?
gioyik has joined #lisp
madage has joined #lisp
Aurora_v_kosmose has joined #lisp
matryoshka has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
luni has quit [Quit: Connection closed]
<_death> there was also rho
rogersm has quit [Quit: Leaving...]
amb007 has joined #lisp
nicktick has quit [Ping timeout: 256 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
luckless_ has joined #lisp
judson_ has joined #lisp
judson_ has quit [Client Quit]
<slyrus_> rho gets points off for having neither documentation nor tests that can be easily grokked to infer the API.
nicktick has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
<_death> didn't try it, but looks like it has unittests.lisp and example.lisp.. and there are some docstrings and comments..
<slyrus_> I see neither of those files.
<slyrus_> Oh, I see. I was looking at: https://gitlab.common-lisp.net/mantoniotti/rho
judson_ has joined #lisp
<_death> well, it looks like divergent repos
<shka_> slyrus_: well, as you may noticed i decided to roll my own ;-)
<shka_> i appreciate your attention, be warned though, vellum probably still has plenty of bugs in dire need of fixing
<shka_> i just don't encounter them anymore
<shka_> but no wonder, i simply follow my own footsteps nowadays over and over again
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
charles` has joined #lisp
amb007 has joined #lisp
scymtym_ is now known as scymtym
nicktick has quit [Ping timeout: 256 seconds]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
miasuji has quit [Remote host closed the connection]
nicktick has joined #lisp
wsinatra has quit [Ping timeout: 264 seconds]
amb007 has quit [Read error: Connection reset by peer]
gabot has quit [Ping timeout: 265 seconds]
amb007 has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
wsinatra has joined #lisp
gabot has joined #lisp
amb007 has quit [Read error: Connection reset by peer]
hnOsmium0001 has joined #lisp
amb007 has joined #lisp
<phantomics> Hi slyrus_, is this your library? https://github.com/slyrus/opticl
hiroaki_ has quit [Ping timeout: 260 seconds]
amb007 has quit [Read error: Connection reset by peer]
devon has joined #lisp
<slyrus_> phantomics: yes
amb007 has joined #lisp
jibanes has quit [Ping timeout: 240 seconds]
miasuji has joined #lisp
<phantomics> It's been quite useful, thanks for writing it
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #lisp
<slyrus_> you're welcome! glad you like it.
<slyrus_> what are you doing with it?
jw4 has quit [Read error: Connection reset by peer]
<phantomics> Pixel art, in combination with my April APL compiler, don't know if you've seen it
<slyrus_> no, do you have a link?
amb007 has quit [Read error: Connection reset by peer]
<phantomics> I've been using it for a hardware startup
jibanes has joined #lisp
<slyrus_> cool!
<phantomics> If you want to see more details, I discuss the compiler in this video: https://www.youtube.com/watch?v=AUEIgfj9koc
<pfdietz> What I remember about APL was that IBM had a special ball for the Selectric typewriter/terminal for it.
jw4 has joined #lisp
<phantomics> And the Bloxl device is shown starting around the 1:25:00 mark
<slyrus_> Uh oh. That's a long video! Going to have to set aside some time to watch it!
<phantomics> Yeah, paradoxically back in the teletype days it was easier to use an alternate character set than later
amb007 has joined #lisp
<phantomics> Yeah, if you just want to see the device jump to 1:25:00 and watch for a few minutes
<phantomics> It's a giant transparent pixel display
amb007 has quit [Read error: Connection reset by peer]
ggole has quit [Quit: Leaving]
<phantomics> The APL developers released another language called J in the 90s because before Unicode, it was a huge pain to use the APL character set
amb007 has joined #lisp
luni has joined #lisp
hiroaki_ has joined #lisp
jibanes has quit [Ping timeout: 258 seconds]
jibanes has joined #lisp
<slyrus_> shka_: I'm can make a table with columns but always seem to end up with 0 rows.
<shka_> slyrus_: yup, that's how it is supposed to work, actually
<shka_> make-table will always return table with 0 rows
andreyorst has quit [Ping timeout: 265 seconds]
Aurora_v_kosmose has quit [Remote host closed the connection]
nicktick has quit [Ping timeout: 265 seconds]
<shka_> slyrus_: however, you can insert data into table without resizing
<slyrus_> yeah, but I'm trying to use transform and body to add rows a la the example but failing
Aurora_v_kosmose has joined #lisp
<shka_> right
<shka_> did you pass :end to the transform?
<slyrus_> :end nil
<phantomics> slyrus_: Also, I recall I made a PR to opticl to add the ability to save PNGs with grayscale + transparency, is it possible you could merge it? https://github.com/slyrus/opticl/pull/33
<shka_> oh
<shka_> it should work
<shka_> care to share code snipped?
<shka_> *snippet?
rjcks_ is now known as rjcks
<slyrus_> Ah, I got it. I can't shadow my (vellum:body (...) ...) vars with a destructuring-bind, so I have to use another variable name.
<shka_> right
<shka_> i probably should put this into readme
<shka_> it would never occur to me to do something like this, that's why this library is probably ridden with bugs
bisickcor has joined #lisp
<shka_> :(
<slyrus_> there's probably a better way to do this: https://gist.github.com/slyrus/0d3585ffb35b714504a6e0434eb47741
miasuji has quit [Remote host closed the connection]
miasuji has joined #lisp
<shka_> slyrus_: this is actually almost exactly what i would do
<shka_> well, there is a couple of things that could be changed
<shka_> first of, symbols established within lambda-list-like part of the body macro are actually special
miasuji has quit [Remote host closed the connection]
<shka_> which means that you can delegate all of the work into a separate function
<shka_> *special variables, that is
iekfkk has quit [Ping timeout: 260 seconds]
yitzi has quit [Quit: yitzi]
<shka_> secondly, you actually can use function (setf vellum:rr) and pass column index to omit body all together
<shka_> which is handy for more general purpose code
<shka_> thirdly, that if can be when, finish-transformation performs non-local exit
<shka_> finally, if you intend to work with this file format a lot, defining method (vellum:copy-from :indometh ...) is not a bad idea
<slyrus_> I've updated my body to not need the extra variables
<shka_> yeah, that should work as well
<slyrus_> No, this is just a toy file. I want to be able to parse lots of different kinds of files quickly.
<shka_> ok, got it
<shka_> i would like to support such use case as good as i possibly can
<slyrus_> The prohibition on using existing symbols (e.g. time) is kind of annoying.
<slyrus_> And it's not clear to me the benefit of these being special variables is
<slyrus_> "what the benefit"
<shka_> well, maybe i can show you example?
<shka_> eh, it is already late actually...
<slyrus_> Sure, and I'll show you the body* macro I just wrote that doesn't declare the vars as special and allows me to use existing keywords like "time" :)
<shka_> slyrus_: anyway, it is admittedly, very narrow use case
<slyrus_> What's the narrow use case? Needing these to be special or the name collision?
<shka_> needing specials
<shka_> name collisions happen
<shka_> as you noticed
<slyrus_> Ah, Ok. So that suggests a variant of body that declares them special.
<slyrus_> and body itself shouldn't :)
<shka_> hm, that is actually a very good point
karlosz has joined #lisp
<shka_> furthermore, there is, actually special variable *current-row* so that becomes even less in favor of keeping them special
<slyrus_> this may seem like a minor issue, but one of my major annoyances with R is the namespace/environment stuff.
<shka_> i mean, it is possible to get into data one way or another
birdwing has joined #lisp
<shka_> slyrus_: it is late, being more explicit would aid me to understand you ;-)
<shka_> what aspect of that annoys you to be specific?
stzsch|2 has joined #lisp
<shka_> slyrus_: would you mind if i would play fast and loose and eliminate special declarations in body right now? you convinced me
<slyrus_> sounds great!
<shka_> i will add separate macro, called BODYV
<slyrus_> as for what annoys me, the whole NAMESPACE file thing being mixed up with R packages and all that is just a mess compared to defpackage/in-package
<shka_> because it is a little bit like progv
<shka_> oh, got ya
<shka_> nah, R as a programming language is really not that good, it is excels in it's domain though
<fiddlerwoaroof> I sort of think body* would be nicer
stzsch has quit [Ping timeout: 264 seconds]
selwyn has quit [Ping timeout: 264 seconds]
rme has quit [Read error: Connection reset by peer]
<slyrus_> I've always that lisp should have a destructuring-setq to match multiple-value-setq, but, alas, I have to use values-list...
<shka_> slyrus_: it CAN have it
<fiddlerwoaroof> You can use multiple-value-call
rme has joined #lisp
birdwing has quit [Ping timeout: 272 seconds]
mpontillo has quit [Ping timeout: 260 seconds]
<shka_> slyrus_: btw, since i have your attention
<shka_> i want to cross check one aspect of the body macro with you
mpontillo has joined #lisp
<shka_> namely, it's dirty little secret
selwyn has joined #lisp
<shka_> it is closure constructed by macroexpansion of BODY is NOT thread safe
<fiddlerwoaroof> nvm, I misunderstood what you were saying
<slyrus_> shka_: why not?
jibanes has quit [Ping timeout: 246 seconds]
<shka_> long story or short story?
<slyrus_> long
<shka_> short story is: questionable optimization techniques
VincentVega has joined #lisp
<slyrus_> MORE PESSIMIZATION!
<shka_> long story is that those vars
jibanes has joined #lisp
<shka_> are actually established in let over lambda, not let inside lambda
<shka_> and yes, i measured, it makes the difference
<shka_> and at the time i convinced myself that this is not a big deal
<shka_> though looking at this now
<shka_> i wonder WTF
<shka_> because it should make exactly zero difference
Aurora_v_kosmose has quit [Ping timeout: 240 seconds]
<slyrus_> I'd argue for thread safety/correctness over performance at this point, but it would be interesting know why it makes a difference
<shka_> i need to double check this again, because after all this time, i just can't believe in my own conclusions
Inline has joined #lisp
<shka_> perhaps i was sleep deprived at the time
<shka_> slyrus_: anyway, thanks for your input, i really appreciate it
<slyrus_> thank you for making vellum! It would be great if we could get some critical mass behind it (or one of the other data-frame-ish libraries -- I'm not 100% sold yet :) )!
<shka_> the state of the library is probably not what you hoped for, it is work in progress, and i want to make it right
<slyrus_> I'm OK with W.I.P. as long as it's being worked on!
<shka_> yeah, i still work on it, though i need to split attention between this and statistical-learning
<shka_> because i need both
<shka_> anyway, that body macro can wait, i would rather take shower and go to bed now
<shka_> if anything pops up (which is likely), please contact me
<slyrus_> ok, thanks!
<shka_> preferable on the github, i don't check logs on the #lisp
<shka_> good night all
torbo has joined #lisp
<slyrus_> good night! thanks again. Looking forward to continuing the discussion!
luni has quit [Quit: Connection closed]
beach` has joined #lisp
saturn2 has quit [Ping timeout: 256 seconds]
Aurora_v_kosmose has joined #lisp
beach has quit [Ping timeout: 272 seconds]
jibanes has quit [Ping timeout: 260 seconds]
jibanes has joined #lisp
<slyrus_> Another thing R gets wrong, IMO, is the whole parse/subst/quasiquote/dplyr evaluation model/!! and !!! rats nest. I much prefer lisp's macro system. But the ability to use unquoted symbols makes for simple-looking code in many cases.
torbo` has joined #lisp
torbo` has quit [Remote host closed the connection]
<slyrus_> For something like vellum it would be nice to have solid "low level" semantics and then possibly some sort of higher-level set of functions/macros like vellum:body, etc...
dilated_dinosaur has quit [Ping timeout: 265 seconds]
KREYREEN has quit [Remote host closed the connection]
KREYREEN has joined #lisp
<shka_> slyrus_: that was my plan actually, not sure if i managed to pull it off but it seems that it kinda works for me
<shka_> ok, really AFK now :D
phireh has joined #lisp
asarch has quit [Quit: Leaving]
Jeanne-Kamikaze has joined #lisp
bars0 has quit [Quit: leaving]
shka_ has quit [Ping timeout: 272 seconds]
charles` has quit [Ping timeout: 272 seconds]
hiroaki_ has quit [Ping timeout: 264 seconds]
rjcks has quit [Quit: leaving]
pve has quit [Quit: leaving]
amb007 has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 258 seconds]
amb007 has joined #lisp
phoe6_ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
sjl_ has quit [Ping timeout: 265 seconds]
karlosz has quit [Quit: karlosz]
dilated_dinosaur has joined #lisp
bilegeek has joined #lisp
judson_ has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hiroaki_ has joined #lisp
judson_ has joined #lisp
luckless has joined #lisp
jibanes has quit [Ping timeout: 256 seconds]
luckless_ has quit [Ping timeout: 240 seconds]
jibanes has joined #lisp
rpg has quit [Quit: Textual IRC Client: www.textualapp.com]
torbo has quit [Remote host closed the connection]
Aurora_v_kosmose has quit [Remote host closed the connection]
Aurora_v_kosmose has joined #lisp
jibanes has quit [Ping timeout: 246 seconds]
sjl has quit [Ping timeout: 260 seconds]
jibanes has joined #lisp
VincentVega has quit [Remote host closed the connection]
torbo has joined #lisp
Steeve has quit [Quit: end]
perrier-jouet has quit [Quit: WeeChat 3.0]
sjl has joined #lisp
jibanes has quit [Ping timeout: 246 seconds]
jibanes has joined #lisp
villanella has quit [Ping timeout: 272 seconds]
heisig has quit [Quit: Leaving]
wsinatra has quit [Quit: WeeChat 3.0]
jibanes has quit [Ping timeout: 240 seconds]
jibanes has joined #lisp
imode has joined #lisp
devon has quit [Ping timeout: 264 seconds]
jibanes has quit [Ping timeout: 256 seconds]