markong has quit [Ping timeout: 264 seconds]
pmc_ has joined #lisp
nowhere_man has joined #lisp
turkja has joined #lisp
attila_lendvai has quit [Quit: Leaving.]
zachk has quit [Quit: night]
kmb has quit [Quit: kmb]
kmb has joined #lisp
kmb has quit [Client Quit]
jameser has joined #lisp
nowhereman_ has joined #lisp
cromachina has joined #lisp
nowhere_man has quit [Ping timeout: 276 seconds]
EvW has quit [Ping timeout: 255 seconds]
quazimodo has quit [Ping timeout: 255 seconds]
sjl has joined #lisp
Tordek has quit [Ping timeout: 255 seconds]
dwts has quit [Ping timeout: 260 seconds]
neoncontrails has joined #lisp
damke has joined #lisp
sjl__ has joined #lisp
damke_ has quit [Ping timeout: 240 seconds]
sjl__ has quit [Ping timeout: 276 seconds]
k-stz has left #lisp ["ERC (IRC client for Emacs 25.3.1)"]
orivej has joined #lisp
pmc_ has quit [Quit: Leaving]
aindilis has quit [Remote host closed the connection]
Arcaelyx_ has joined #lisp
Arcaelyx has quit [Ping timeout: 276 seconds]
dwts has joined #lisp
Tordek has joined #lisp
fikka has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
pjb has quit [Ping timeout: 264 seconds]
neoncontrails has quit [Remote host closed the connection]
longshi has joined #lisp
pjb has joined #lisp
klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
neoncontrails has joined #lisp
pjb has quit [Ping timeout: 276 seconds]
whoman has quit [Read error: Connection reset by peer]
hooman has quit [Read error: Connection reset by peer]
fortitude has quit [Quit: Leaving]
neoncontrails has quit [Remote host closed the connection]
lrvy has joined #lisp
neoncontrails has joined #lisp
xrash has joined #lisp
lrvy has quit [Quit: Textual IRC Client: www.textualapp.com]
mson has quit [Quit: Connection closed for inactivity]
vancan1ty has joined #lisp
bigos has quit [Remote host closed the connection]
mson has joined #lisp
shenghi has quit [Remote host closed the connection]
shenghi has joined #lisp
klltkr has joined #lisp
klltkr has quit [Client Quit]
EvW has joined #lisp
eSVG has quit [Ping timeout: 240 seconds]
d4ryus1 has joined #lisp
d4ryus has quit [Ping timeout: 240 seconds]
Reinhilde is now known as Ellenor
voidlily has quit [Remote host closed the connection]
yeticry has quit [Remote host closed the connection]
yeticry has joined #lisp
sjl__ has joined #lisp
smokeink has joined #lisp
voidlily has joined #lisp
sjl__ has quit [Ping timeout: 276 seconds]
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Jesin has joined #lisp
EvW has quit [Ping timeout: 250 seconds]
vancan1ty has quit [Ping timeout: 255 seconds]
igemnace has joined #lisp
neoncontrails has quit [Remote host closed the connection]
pierpa has quit [Quit: Page closed]
vancan1ty has joined #lisp
longshi has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
SaganMan has joined #lisp
marusich has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
dieggsy has quit [Quit: ERC (IRC client for Emacs 27.0.50)]
neoncontrails has joined #lisp
quazimodo has joined #lisp
tonton has quit [Ping timeout: 248 seconds]
tonton has joined #lisp
quazimodo has quit [Read error: Connection reset by peer]
nowolfer has quit [Quit: leaving]
eSVG has joined #lisp
dieggsy has joined #lisp
dddddd has quit [Remote host closed the connection]
kobain has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
vancan1ty has quit [Ping timeout: 250 seconds]
python476 has quit [Ping timeout: 248 seconds]
damke has quit [Ping timeout: 240 seconds]
damke has joined #lisp
les has quit [Ping timeout: 240 seconds]
les has joined #lisp
dieggsy has quit [Remote host closed the connection]
neoncontrails has quit [Remote host closed the connection]
dieggsy has joined #lisp
hexfive has joined #lisp
dieggsy has quit [Client Quit]
neoncontrails has joined #lisp
neoncontrails has quit [Remote host closed the connection]
neoncontrails has joined #lisp
neoncontrails has quit [Remote host closed the connection]
hexfive has quit [Quit: WeeChat 1.9.1]
sjl__ has joined #lisp
neoncontrails has joined #lisp
sjl__ has quit [Ping timeout: 255 seconds]
asarch has joined #lisp
schoppenhauer has quit [Ping timeout: 240 seconds]
schoppenhauer has joined #lisp
Bike has quit [Quit: Lost terminal]
teddy_error has joined #lisp
neoncontrails has quit [Remote host closed the connection]
asarch has quit [Quit: Leaving]
turkja has quit [Ping timeout: 248 seconds]
fikka has joined #lisp
Ellenor is now known as Reinhilde
fikka has quit [Ping timeout: 240 seconds]
zaquest has quit [Quit: Leaving]
aeth has quit [Ping timeout: 248 seconds]
aeth has joined #lisp
<beach> Good morning everyone!
<basket> Good morning, beach
<Josh_2> Morning
sjl has quit [Ping timeout: 268 seconds]
sjl has joined #lisp
philosaur has joined #lisp
smokeink has quit [Remote host closed the connection]
shka has joined #lisp
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
vlatkoB has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
voidlily has quit [Remote host closed the connection]
yurinew has joined #lisp
voidlily has joined #lisp
LocaMocha has joined #lisp
BitPuffin|osx has joined #lisp
jameser has quit [Ping timeout: 248 seconds]
jameser has joined #lisp
Karl_Dscc has joined #lisp
oleo has quit [Quit: Leaving]
turkja has joined #lisp
zmt00 has quit [Quit: Leaving]
Reinhilde has quit [Quit: ... Sometimes, you just don't know if life is even a thing.]
flamebeard has joined #lisp
smokeink has joined #lisp
mson has quit [Quit: Connection closed for inactivity]
jfb4 has quit [Ping timeout: 240 seconds]
raphaelss has quit [Remote host closed the connection]
Ellenor has joined #lisp
jfb4 has joined #lisp
fikka has joined #lisp
yurinew has quit [Ping timeout: 248 seconds]
dec0n has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
ksool has quit [Ping timeout: 240 seconds]
Karl_Dscc has quit [Remote host closed the connection]
scymtym has quit [Ping timeout: 240 seconds]
teddy_error has quit [Changing host]
teddy_error has joined #lisp
teddy_error has quit [Quit: Peace ☮︎]
teddy_error has joined #lisp
<drmeister> How do lisp implementations save images of themselves to files?
<drmeister> Clasp writes out code and data for each top level form and then plays them back at load time. I’m looking for something better that doesn’t require support from the gc
BigSafari has joined #lisp
jameser_ has joined #lisp
<drmeister> I think of it like a painting. Clasp saves every brush stroke even the ones that are covered up by later stokes. Then it replays them when it loads.
<Zhivago> I think that is not sufficient to save the image of a running machine.
<Zhivago> Particularly where that machine has read from a file or opened a socket or whatever.
<drmeister> I can’t save the image of a running machine because I don’t have the support of the gc.
<Zhivago> Are you limiting it to the case of a machine which has just loaded stuff before running stuff?
jameser has quit [Ping timeout: 240 seconds]
<drmeister> I’m not sure what the trade offs are. I would imagine starting up a single thread and opening files at startup.
<Zhivago> (vaguely equivalent to C/C++ linkage)
<Zhivago> Or maybe, rather -- what problem do you intend to solve with saving an image?
<drmeister> Faster startup and solving painful bootstrapping circularity issues.
<Zhivago> Sounds like the problem of linkage, then?
<drmeister> A needs B and B needs A transitively.
<Zhivago> In which case, perhaps you can turn it into load-forms for each symbol?
mishoo__ has joined #lisp
<drmeister> I’ve been thinking that I have a symbol table and a bunch of code and classes, load time values etc. if I inventory them and write code to save and restore them - would that do the job
<Zhivago> Sounds reasonable. If you evaluate the symbols in those forms before saving you may avoid circularity issues.
<Zhivago> Although that would destroy identity in some cases, so never mind.
<drmeister> Could you elaborate?
<Zhivago> (defvar *a* (cons 1 2)) (defvar *b* *a*)
<drmeister> Destroying identity part
<Zhivago> We would expect true (EQL *a* *b*), but if *b* were restored by generating code which produced a value equivalent to that of *a*, then (EQL *a* *b*) would become false.
<drmeister> I see - it would restart with two separate conces if I did it naively.
jameser_ has quit [Read error: Connection reset by peer]
<Zhivago> And then could add (setf *a* *b*) after that to show that if you fix that problem you re-introduce the order of effects issue.
<Zhivago> But you could be a little more clever and have the sharing of sub-structure preserved by the regeneration code.
<drmeister> What about having the gc compact all live objects, write them out, and then reload and relocate them.
jameser has joined #lisp
sjl__ has joined #lisp
beach` has joined #lisp
<drmeister> I’d like to do that but I have to get hold of the raven brook folks to get some library support
Josh_2 has quit [Remote host closed the connection]
<Zhivago> Do you really need the GC for that?
<Zhivago> The only case I can think of would be where you have running threads or values hidden in closures.
<drmeister> I’m not sure. It’s easier if things aren’t moving around
<Zhivago> And since you control the closure representation, I think you can solve the latter.
<Zhivago> I'd think of the requirement that there be no running threads at the point of save-image.
<drmeister> Values hidden in closures?
sjl__ has quit [Ping timeout: 248 seconds]
beach has quit [Ping timeout: 264 seconds]
<drmeister> Clasp has special issues. It represents objects using 450 c++ classes. They have all sorts of data hidden in them.
<drmeister> Yeah - no running threads.
<Zhivago> (defvar *a* (let ((b 3)) (lambda () b)))
<drmeister> They have vtable pointers ugh
<Zhivago> There's no portable way to find that 3 given *a*, but since you're part of the implementation you don't need a portable way to do it.
pjb has joined #lisp
<drmeister> Sure - closures
<drmeister> Right
<Zhivago> I'm gradually coming to the conclusion that closures of indefinite extent are a bad idea.
Amplituhedron has joined #lisp
beach` is now known as beach
svetlyak40wt has joined #lisp
fikka has joined #lisp
jameser has quit [Read error: Connection reset by peer]
jameser has joined #lisp
mathi_aihtam has quit [Quit: mathi_aihtam]
smokeink has quit [Ping timeout: 248 seconds]
smokeink has joined #lisp
knobo has joined #lisp
juki has joined #lisp
murii_ has joined #lisp
shka has quit [Ping timeout: 260 seconds]
varjag has joined #lisp
norserob has quit [Ping timeout: 250 seconds]
Cymew has joined #lisp
vydd has joined #lisp
vydd has quit [Changing host]
vydd has joined #lisp
_cosmonaut_ has joined #lisp
juki has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
raphaelss has joined #lisp
svetlyak40wt has quit [Read error: Connection reset by peer]
EvW1 has joined #lisp
scymtym has joined #lisp
sjl__ has joined #lisp
sjl__ has quit [Ping timeout: 276 seconds]
svetlyak40wt has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
araujo has quit [Quit: Leaving]
marvin2 has joined #lisp
marvin2 has left #lisp [#lisp]
milanj has joined #lisp
zooey has quit [Remote host closed the connection]
zooey has joined #lisp
<dmiles> oh heh you gave me a hint to fix how to make #'eq work in porlog
<dmiles> so instead of "is_eq(X,Y):- X==Y." a structural sameness
<dmiles> its: is_eq(X,Y):- X==Y , (\+ compound(X)-> true ; \+ \+ ((gensym(cookie,Cook),setarg(1,X,Cook),X==Y))).
<Zhivago> Just remember that EQ can always be implemented as EQL.
<dmiles> its *allowed* but not typical?
<Zhivago> Any deviation from EQL should be for optimization purposes.
<Zhivago> So if you're making EQ more expensive than EQL, just have them share the same implementation.
BigSafari has quit [Quit: Textual IRC Client: www.textualapp.com]
vydd has quit [Remote host closed the connection]
<dmiles> ahah, good ot know
<Zhivago> You might consider something like is_eq(X, Y) :- object_identity(X) == object_identity(Y).
<dmiles> of for 'objects' i use (objpointer 1111111111) == (objpointer 2222222) but for conses it walks over them
<dmiles> the default fast prolgo comnparison operator that is
<Zhivago> Well, providing symbols are objects, that's what EQ should be testing.
<dmiles> two synonym streams or two structs #'eq will fail
<Zhivago> It should, unless they are the same struct or stream.
<dmiles> symbols are interned objects so they end up with the same pointers (so good for me so far)
<Zhivago> Then objpointer should be correct for EQ.
<dmiles> what i am worried that two differnt vectors
<dmiles> with prolog's ==/2 come up the same
<Zhivago> Why doesn't objpointer work for that case?
<dmiles> when two differnt objects get instanced, they get a new address
<dmiles> (different addresses)
svetlyak40wt has quit [Read error: Connection reset by peer]
<dmiles> sec while i get an example
<Zhivago> Well, that's what we expect. Different objects should not be EQ.
<dmiles> (LIST (SETF my-point (make-point :x 3 :y 4 :z 12 ))(SETF my-point2 (make-point :x 3 :y 4 :z 12 ))) ==> (#<claz_u_point 10> #<claz_u_point 11> )
<dmiles> *nod* .. in that case they are pointered.. i was hoping to not globally allocate simple vecotrs
d4ryus1 is now known as d4ryus
<dmiles> (not give them a pointer address)
<dmiles> so.. i know the example i worried about..
alexmlw has joined #lisp
<dmiles> (eq #(1 2 ) #(1 2 ))
<dmiles> ==> T
<dmiles> but really that should be "ok" ?
<dmiles> if i globally allocate it returns NIL
<dmiles> (as they would become pointers)
<dmiles> in a way i sorta got for free that beloved identity ;/ (that not sure i really wanted :P)
<dmiles> (as the fast EQ)
<mrottenkolber> wat?
<mrottenkolber> (eq #(1 2 ) #(1 2 )) → NIL
<dmiles> i have a bug in my impl that made → T
<mrottenkolber> oh ok
<dmiles> i fixed the bug with horible slow code
knobo has quit [Ping timeout: 240 seconds]
<dmiles> but i could have fixed it by heaping everything
<dmiles> horrible slow code " is_eq(X,Y):- X==Y , (\+ compound(X)-> true ; \+ \+ ((gensym(cookie,Cook),setarg(1,X,Cook),X==Y)))." compare datastrcuure value.. if they are the same poke a hole in one and see if they are still the same
<dmiles> but at least i guess i have 2-3 different ideas to work arround.
<dmiles> i am asking if (eq #(1 2 ) #(1 2 )) → T melts the universe or not
<loke> dmiles: It does.
<loke> dmiles: It does, in the sense that a compliant CL implementation can return either NIL or T for that form.
jealousmonk has quit [Ping timeout: 260 seconds]
<dmiles> what about (eq (cons 1 2 ) (cons 1 2 )) → T ?
<loke> dmiles: No. That must return NIL
Amplituhedron has quit [Ping timeout: 240 seconds]
<dmiles> (eq (make-point :x 3 :y 4 :z 12 ) (make-point :x 3 :y 4 :z 12 )) → T ?
<loke> dmiles: That depends on what MAKE-POINT dfoes.
trosa-work has joined #lisp
<loke> If it's a resut of a DEFSTRUCT, then that comparison should return NIL
<dmiles> for standard-object its T or MIL ?
fikka has quit [Ping timeout: 248 seconds]
<dmiles> (erm DEFCLASS)
<loke> dmiles: No. EQ should return NIL if the objects are different. MAKE-WHATEVER creates a _new_ instance, so those two instances are distinctly different.
<dmiles> ok.. sorry if you impliscitly answered this already... (eq (list 1 2 ) (list 1 2 ))
<loke> dmiles: NIL
<loke> (let* ((x (list 1 2 3)) (y x)) (eq x xy)) ⇒ T
<loke> s/xy/y/
<dmiles> (let ((x (list 1 2 3))) (eq (subseq 2 x) (subseq 2 x))) ?
<dmiles> oops (swapped the args of subseq)
<dmiles> i guess that one is impl dependant?
<loke> dmiles: No. It's guaranteed to return NIL... The relevant quote from the Hyperspec: “subseq always allocates a new sequence for a result; it never shares storage with an old sequence.”
<dmiles> ahah i searched for "copy" and didnt find
<dmiles> oh copy is there
<dmiles> (silly me searched for it quoted)
fikka has joined #lisp
<dmiles> ok soo... (eq #c(3 -4) #c(3 -4)) (eq #(3 -4) #(3 -4)) are undefined.. are their any others you can think of off hand?
<pjb> dmiles: there is ansi-tests.
<pjb> (eq 1 1) (eq #\a #\a) are undefined too.
<pjb> (eq #(3 -4) #(3 -4)) is undefined but for another reason!
<pjb> (let ((x #(3 -4))) (eq x x)) --> T is defined
<pjb> (let ((x 1)) (eq x x)) is undefined.
<dmiles> oh (eq "Foo" "Foo") undefined
<pjb> dmiles: the reason why (eq "Foo" "Foo") and(eq #(3 -4) #(3 -4)) are undefined, is because "Foo" and #(3 -4) are literal objects, and when file-compiling, they may be coalesced to the same object (and put in read-only memory).
<dmiles> other reason? /me sitting at edge of seat
<pjb> this is therefore irrelevant for EQ.
<pjb> (eq (make-string 3 :initial-element #\F) (make-string 3 :initial-element #\F)) --> NIL is defined.
<pjb> (let ((x (make-string 3 :initial-element #\F))) (eq x x)) --> T is defined.
<pjb> (eq '#.(make-string 3 :initial-element #\F) '#.(make-string 3 :initial-element #\F)) is not defined, because both strings "FFF" created at read-time (they're not EQ, there are two of them), but they are both compiled as literal objects because of the quote, and file-compile can coalese them to a single and same string "FFF".
<pjb> basically: before file-compile it would return NIL, after file-compile it can return T.
<pjb> clhs eq
test1600 has joined #lisp
<pjb> dmiles: in a first version, you could take all the shortcuts allowed by CL… (defun eq (x y) (eql x y)) (defun delete (…) (remove …)) ; etc.
<dmiles> right on
<dmiles> ha lordy i just found http://www.swi-prolog.org/pldoc/doc_for?object=same_term/2 slightly cheaper than " is_eq(X,Y):- X==Y , (\+ compound(X)-> true ; \+ \+ ((gensym(cookie,Cook),setarg(1,X,Cook),X==Y)))." but i swear that was there a year ago
<dmiles> wasnt there*
Jen has joined #lisp
Jen is now known as Guest89879
attila_lendvai has joined #lisp
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
SuperJen has quit [Ping timeout: 260 seconds]
EvW1 has quit [Ping timeout: 255 seconds]
jameser has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
wigust has joined #lisp
xrash has quit [Remote host closed the connection]
sjl__ has joined #lisp
trosa-work has quit [Remote host closed the connection]
knobo has joined #lisp
sjl__ has quit [Ping timeout: 255 seconds]
Guest89879 has quit [Remote host closed the connection]
Guest89879 has joined #lisp
marusich has quit [Ping timeout: 240 seconds]
marusich has joined #lisp
nirved has joined #lisp
milanj has quit [Quit: This computer has gone to sleep]
svetlyak40wt has joined #lisp
milanj has joined #lisp
milanj has quit [Client Quit]
gargaml has joined #lisp
pjb has quit [Ping timeout: 276 seconds]
test1600 has quit [Read error: Connection reset by peer]
teddy_error has quit [Quit: Peace ☮︎]
teddy_error has joined #lisp
_nipc has quit [Remote host closed the connection]
teddy_error has quit [Ping timeout: 276 seconds]
varjagg has joined #lisp
knobo has quit [Ping timeout: 276 seconds]
damke has quit [Ping timeout: 240 seconds]
varjag has quit [Remote host closed the connection]
m00natic has joined #lisp
knobo has joined #lisp
damke has joined #lisp
nowhereman_ has quit [Remote host closed the connection]
nowhereman_ has joined #lisp
mson has joined #lisp
yain has joined #lisp
schweers has quit [Read error: Connection reset by peer]
schweers has joined #lisp
pouletbraise has joined #lisp
pouletbraise has quit [Remote host closed the connection]
raynold has quit [Quit: Connection closed for inactivity]
pjb has joined #lisp
zooey has quit [Ping timeout: 248 seconds]
Posterdati has quit [Ping timeout: 240 seconds]
nowhereman_ has quit [Remote host closed the connection]
nowhereman_ has joined #lisp
zooey has joined #lisp
TCZ has joined #lisp
hhdave has joined #lisp
TCZ has quit [Quit: Leaving]
hhdave has quit [Client Quit]
Posterdati has joined #lisp
itPuffin|osxB has joined #lisp
shifty has joined #lisp
BitPuffin|osx has quit [Ping timeout: 248 seconds]
itPuffin|osxB is now known as BitPuffin|osx
zaquest has joined #lisp
Posterdati|2 has joined #lisp
Posterdati has quit [Ping timeout: 240 seconds]
itPuffin|osxB has joined #lisp
knobo has quit [Ping timeout: 276 seconds]
BitPuffin|osx has quit [Ping timeout: 248 seconds]
osune has joined #lisp
itPuffin|osxB is now known as BitPuffin|osx
knobo has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
eSVG has quit [Ping timeout: 276 seconds]
_krator44 has quit [Remote host closed the connection]
nowhere_man has joined #lisp
osune has quit [Remote host closed the connection]
python476 has joined #lisp
nowhereman_ has quit [Ping timeout: 276 seconds]
osune` has joined #lisp
shifty has quit [Ping timeout: 276 seconds]
Ellenor is now known as Reinhilde
TCZ has joined #lisp
jmercouris has joined #lisp
knobo has quit [Ping timeout: 248 seconds]
nowhere_man has quit [Remote host closed the connection]
rpg has joined #lisp
nowhere_man has joined #lisp
nullman has quit [Ping timeout: 248 seconds]
damke_ has joined #lisp
fikka has joined #lisp
nullman has joined #lisp
_krator44 has joined #lisp
damke has quit [Ping timeout: 240 seconds]
milanj has joined #lisp
scymtym has quit [Ping timeout: 240 seconds]
juki has joined #lisp
Kaisyu7 has joined #lisp
_paul0 has joined #lisp
scymtym has joined #lisp
Kaisyu7 has quit [Client Quit]
fikka has quit [Ping timeout: 240 seconds]
paul0 has quit [Ping timeout: 240 seconds]
scymtym has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #lisp
gtuser has joined #lisp
longshi has joined #lisp
wxie has joined #lisp
TCZ has quit [Quit: Leaving]
markong has joined #lisp
FreeBirdLjj has quit [Ping timeout: 248 seconds]
scymtym has joined #lisp
fikka has joined #lisp
rumbler31 has quit [Remote host closed the connection]
eSVG has joined #lisp
smokeink has quit [Quit: Leaving]
fikka has quit [Ping timeout: 250 seconds]
ksool has joined #lisp
fikka has joined #lisp
knobo has joined #lisp
nowhere_man has quit [Remote host closed the connection]
nowhere_man has joined #lisp
juki has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
Bike has joined #lisp
milanj has quit [Read error: Connection reset by peer]
knobo has quit [Ping timeout: 240 seconds]
wxie has quit [Quit: Bye.]
dddddd has joined #lisp
xfwduke has joined #lisp
milanj has joined #lisp
jdz has quit [Ping timeout: 264 seconds]
jdz has joined #lisp
jmercouris has quit [Ping timeout: 248 seconds]
rumbler31 has joined #lisp
LiamH has joined #lisp
Tobbi has joined #lisp
DGASAU has quit [Read error: Connection reset by peer]
DGASAU has joined #lisp
TCZ has joined #lisp
fikka has quit [Ping timeout: 264 seconds]
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
DGASAU has quit [Ping timeout: 258 seconds]
dddddd has quit [Ping timeout: 260 seconds]
dddddd has joined #lisp
Josh_2 has joined #lisp
zaquest has quit [Ping timeout: 240 seconds]
_paul0 is now known as paul0
oleo has joined #lisp
DGASAU has joined #lisp
dddddd_ has joined #lisp
dddddd has quit [Ping timeout: 252 seconds]
zaquest has joined #lisp
dlf42me has joined #lisp
dolf has joined #lisp
cromachina has quit [Read error: Connection reset by peer]
fikka has joined #lisp
dolf has quit [Client Quit]
dlf42me has quit [Remote host closed the connection]
dolf has joined #lisp
dolf has quit [Remote host closed the connection]
dolf has joined #lisp
dolf has quit [Remote host closed the connection]
dolf has joined #lisp
dolf has quit [Client Quit]
longshi has quit [Ping timeout: 250 seconds]
sjl__ has joined #lisp
fikka has quit [Ping timeout: 240 seconds]
Niac has quit [Ping timeout: 240 seconds]
svetlyak_ has joined #lisp
svetlyak_ is now known as svetlyak40wt_
raydeejay has quit [Ping timeout: 252 seconds]
dolf has joined #lisp
dolf has quit [Remote host closed the connection]
caffe has left #lisp [#lisp]
svetlyak40wt has quit [Ping timeout: 240 seconds]
FreeBirdLjj has joined #lisp
FreeBirdLjj has quit [Ping timeout: 240 seconds]
Success has joined #lisp
<Success> sorry for the repost but i really don't know what i'm doing. how do i get the gdp per capita out of this? https://gist.github.com/Announcement/3adb64d1742ab69aa78e4e0dc5553369
TCZ has quit [Quit: Leaving]
<beach> Looks like a homework assignment.
<nyef> Looks like NLP?
<beach> That too.
xfwduke has quit [Ping timeout: 248 seconds]
<Success> it's nlp and i crafted both sentences, they're definately not homework :p
<Success> although i raelly should be doing my homework rn
raydeejay has joined #lisp
<Success> oh yeah the stupid online thing is down
<nyef> Sounds like you should be doing some more of your background reading as well.
<beach> Success: Your question is hard to answer because you haven't told us what operations are allowed. I mean, I could give you a bunch of CARs and CDRs that together will access the correct data, but you can probably do that yourself.
<beach> Success: I am also wondering whether ($ $) and (. .) indicate that some information was not printed.
FreeBirdLjj has joined #lisp
<Success> beach, meh i can't really, those would be sufficient
<beach> Success: How can you be doing Common Lisp if you don't even know what CAR and CDR do?
Aliv3 has joined #lisp
<Aliv3> sorry i know what car and cdr is:p
<Aliv3> i just don't have much functionally experience with lisp
<beach> Then just take either the CAR or the CDR of the expression, and if the information is in the result, you chose the right operation.
<beach> Continue until the information you want is the only one returned.
Success has quit [Ping timeout: 260 seconds]
papachan has joined #lisp
_rumbler31 has joined #lisp
wigust has quit [Quit: ZNC 1.6.5 - http://znc.in]
sjl has quit [Quit: WeeChat 1.9.1]
devon has joined #lisp
nowhere_man has quit [Remote host closed the connection]
Cymew has quit [Remote host closed the connection]
nowhere_man has joined #lisp
<devon> LiamH: gsll fails to quickload, causing cl-ana to likewise fail, any fix?
himmAllRight has quit [Remote host closed the connection]
vutral has quit [Ping timeout: 240 seconds]
milanj has quit [Quit: This computer has gone to sleep]
himmAllRight has joined #lisp
<mfiano> Both quickload fine for me
hexfive has joined #lisp
fikka has joined #lisp
<Xach> You do have to have the prerequisite foreign libraries installed and ready
<devon> latest QL in latest CCL on MacOS 10.11 bombs compiling gsll-quicklisp-dd2e7673-git/init/init.lisp
knobo has joined #lisp
scymtym has quit [Ping timeout: 248 seconds]
<Xach> devon: do you have the gsl shared libraries installed?
<osune`> Aliv3: have a look at www.gigamonkeys.com/book for a practical introduction to cl
longshi has joined #lisp
<Aliv3> thanks osune`
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
<devon> Probably lacking some binary or library, eof reading some string, probably output of some attempt to run some program. No biggie, just wanted a 1st order histogram of some really strange data out of curiosity.
milanj has joined #lisp
<Xach> devon: the gsl library is a big prerequisite.
rippa has joined #lisp
igemnace has quit [Ping timeout: 268 seconds]
longshi has left #lisp ["WeeChat 1.9.1"]
kami has joined #lisp
<kami> Hello #lisp
<kami> pjb: should I be able to (ql:quickload :com.informatimago.common-lisp.lisp-reader) ?
fikka has quit [Ping timeout: 264 seconds]
shifty has joined #lisp
<Josh_2> Pretty sure it is no longer on quicklisp
<Josh_2> You can clone it from git and then add it to local projects in your quicklisp install folder, then it should work
<kami> Josh_2: Thank you!
Aliv3 has quit [Ping timeout: 240 seconds]
<Xach> edi's server crash has really caused me some problems :(
marusich has quit [Ping timeout: 276 seconds]
jealousmonk has joined #lisp
fikka has joined #lisp
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
zmt00 has joined #lisp
nowhere_man has quit [Ping timeout: 268 seconds]
Aliv3 has joined #lisp
igemnace has joined #lisp
sjl__ is now known as sjl
fikka has quit [Ping timeout: 240 seconds]
dec0n has quit [Ping timeout: 240 seconds]
raphaelss has quit [Remote host closed the connection]
wheelsucker has joined #lisp
flamebeard has quit [Quit: Leaving]
thinkpad has quit [Ping timeout: 276 seconds]
rpg has joined #lisp
Aliv3 has quit [Ping timeout: 276 seconds]
random-nick has joined #lisp
_cosmonaut_ has quit [Ping timeout: 250 seconds]
<devon> Any other ways to do (let ((count 5)) (format t "~v,,,'*A~%" count "") (princ (make-string count :initial-element #\*)))
<jackdaniel> be more declarative ;)
<jackdaniel> (let ((count (+ 2 3))) …) comes to mind ;-)
<dwts> and there I was thinking that printf is complex :P
<jackdaniel> this is interesting issue: http://www.cs.yale.edu/homes/dvm/format-stinks.html
gargaml has quit [Quit: WeeChat 1.9.1]
<dwts> jackdaniel: it's clear that C's version offered an improvement. I'm not experienced enough to decide if "importing" it to lisp is an improvement but the example looks quite similar
FreeBirdLjj has quit [Remote host closed the connection]
<_death> (constantia:out (:n 5 "*"))
<dwts> :P
dec0n has joined #lisp
wigust has joined #lisp
FreeBirdLjj has joined #lisp
k-stz has joined #lisp
nowhere_man has joined #lisp
_rumbler31 has quit [Remote host closed the connection]
dec0n has quit [Read error: Connection reset by peer]
_rumbler31 has joined #lisp
moei has quit [Quit: Leaving...]
damke has joined #lisp
kami has quit [Ping timeout: 250 seconds]
orivej has quit [Ping timeout: 255 seconds]
EvW has joined #lisp
fikka has joined #lisp
orivej has joined #lisp
damke_ has quit [Ping timeout: 240 seconds]
brendyn has quit [Ping timeout: 240 seconds]
varjagg has quit [Quit: ERC (IRC client for Emacs 24.5.1)]
fikka has quit [Ping timeout: 276 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
<nirved> devon: (let ((count 5)) (format t "~v,,,'*<~>~%" count))
scymtym has joined #lisp
<truename> (dotimes(i 5)(princ #\*))
FreeBirdLjj has quit [Ping timeout: 240 seconds]
Karl_Dscc has joined #lisp
Josh_2 has quit [Remote host closed the connection]
eSVG has quit [Quit: Leaving]
knicklux has joined #lisp
svetlyak40wt_ has quit [Read error: Connection timed out]
knobo has quit [Ping timeout: 240 seconds]
svetlyak40wt has joined #lisp
wigust has quit [Ping timeout: 276 seconds]
Karl_Dscc has quit [Remote host closed the connection]
nowhere_man has quit [Ping timeout: 276 seconds]
schweers has quit [Ping timeout: 255 seconds]
murii_ has quit [Remote host closed the connection]
BitPuffin|osx has quit [Ping timeout: 240 seconds]
Tobbi has joined #lisp
murii has joined #lisp
safe has joined #lisp
m00natic has quit [Remote host closed the connection]
svetlyak40wt has quit [Read error: Connection timed out]
mparashar has joined #lisp
svetlyak40wt has joined #lisp
Posterdati|2 has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
Tobbi has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
whoman has joined #lisp
Posterdati has joined #lisp
shka has joined #lisp
SaganMan has quit [Quit: laters]
svetlyak40wt has quit [Remote host closed the connection]
moei has joined #lisp
Kaisyu has quit [Quit: Connection closed for inactivity]
raphaelss has joined #lisp
svetlyak40wt has joined #lisp
murii has quit [Ping timeout: 240 seconds]
svetlyak40wt has quit [Read error: Connection reset by peer]
jealousmonk has quit [Ping timeout: 268 seconds]
Success has joined #lisp
Success has joined #lisp
Success has quit [Changing host]
kmb has joined #lisp
yeticry_ has joined #lisp
yeticry has quit [Ping timeout: 268 seconds]
neoncontrails has joined #lisp
juki has joined #lisp
turkja has quit [Ping timeout: 248 seconds]
Th30n has joined #lisp
fikka has joined #lisp
neoncontrails has quit []
random-nick has quit [Remote host closed the connection]
varjag has joined #lisp
zachk has joined #lisp
juki has quit [Quit: ERC (IRC client for Emacs 25.3.1)]
fikka has quit [Ping timeout: 276 seconds]
yeticry_ has quit [Ping timeout: 264 seconds]
yeticry has joined #lisp
yeticry has quit [Ping timeout: 240 seconds]
nowhere_man has joined #lisp
nirved has quit [Quit: Leaving]
raynold has joined #lisp
yeticry has joined #lisp
JenElizabeth has joined #lisp
LocaMocha has quit [Ping timeout: 240 seconds]
Guest89879 has quit [Ping timeout: 248 seconds]
jfb4 has quit [Ping timeout: 264 seconds]
jfb4 has joined #lisp
fikka has joined #lisp
yeticry has quit [Ping timeout: 276 seconds]
fikka has quit [Ping timeout: 276 seconds]
smurfrobot has joined #lisp
<devon> nirved: cool, thanks, always more obscure corners in format.
Success has quit [Ping timeout: 255 seconds]
tlaxkit has joined #lisp
<smurfrobot> what are the differences between cmucl and sbcl?
<jackdaniel> smurfrobot: sbcl is a cmucl fork. sbcl goals were to clean up bootstrapping process and some internals as well as to get rid of some contribs
<jackdaniel> further development diverged both codebases further
osune has joined #lisp
<smurfrobot> are the compilers similar?
svetlyak40wt has joined #lisp
<jackdaniel> sbcl is more popular and has more developers, yet cmucl is still developed as well
Th30n has quit [Quit: Bye!]
svetlyak40wt has quit [Remote host closed the connection]
svetlyak40wt has joined #lisp
<jackdaniel> sbcl compiler comes from python (cmucl compiler). if you want to compare how similar they are I advise to examine source code. they are probably different in details but still similar in general design (just guessing)
shka has quit [Ping timeout: 240 seconds]
<jackdaniel> I bet you'll get more in-depth answers on #sbcl channel
<smurfrobot> is that also on freenode?
<jackdaniel> if you are interested in relation between various common lisp compilers, check out this graph I've made: https://twitter.com/dk_jackdaniel/status/698157022483771392
<jackdaniel> yes, on freenode
<whoman> sbcl comes from python ?
<smurfrobot> ok thanks
<whoman> ty JD im followin ya
<Bike> python is what sbcl's compiler is called.
<jackdaniel> whoman: python is a name of the cmucl compiler. it's not the same thing as python the programming language
<jackdaniel> and sbcl compiler of course
<jackdaniel> smurfrobot: other implementations channels on freenode I'm aware of: #ecl, #ccl, #clasp, #abcl
<jackdaniel> and #mezzano
eudoxia has joined #lisp
neoncontrails has joined #lisp
yeticry has joined #lisp
<koenig> jackdaniel: Your CL relationship figure is quite nice.
svetlyak40wt has quit [Remote host closed the connection]
<jackdaniel> thanks, it got updated slightly (I've got it somewhere in ECL website resources) but I didn't bother to look for it
Josh_2 has joined #lisp
svetlyak40wt has joined #lisp
wheelsucker has quit [Remote host closed the connection]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
svetlyak40wt has quit [Read error: Connection reset by peer]
<koenig> Are you the developer (a developer) of ECL? I've never been able to completely understand your relationship to ECL just from channel context.
svetlyak40wt has joined #lisp
<White_Flame> it would be nice if it could be fit to a timeline of some sort
<jackdaniel> koenig: yes, I'm maintaining and developing ecl
<White_Flame> and things like TI explorer and Genera have non-CL shared heritage, which might be nice to include
<jackdaniel> White_Flame: another idea was to put pre-CL predecessors - I had no idea how to fit it nicely
<White_Flame> imagine that :)
<jackdaniel> right, and cmucl was previously spice lisp
<jackdaniel> etc
<koenig> Thanks for your work on ECL, then. I have enjoyed using it in a couple different places. I have a hare-brained idea of making ECL into a WeeChat plugin "when I have some free time".
<jackdaniel> heh, glad you like it :)
wheelsucker has joined #lisp
yeticry has quit [Ping timeout: 276 seconds]
yeticry has joined #lisp
svetlyak_ has joined #lisp
svetlyak_ is now known as svetlyak40wt_
yeticry has quit [Ping timeout: 268 seconds]
fikka has joined #lisp
svetlyak40wt has quit [Ping timeout: 276 seconds]
alexmlw has quit [Quit: alexmlw]
fikka has quit [Ping timeout: 246 seconds]
svetlyak40wt has joined #lisp
<whoman> jackdaniel, Bike: ah, thank you for clarification =)
Somelauw has joined #lisp
svetlyak40wt_ has quit [Ping timeout: 276 seconds]
<whoman> one of us was using ECL to enhance one of the Quake 3 engines, too. may have been aeth
svetlyak40wt has quit [Ping timeout: 246 seconds]
<Somelauw> I'm actually interested in emacs-lisp, but since clos is more of a common lisp thing, I'll ask here. How to make private variables and methods and how to modify the constructor?
<jackdaniel> have it got enhanced? I bet his missle bazooka stopped aiming correctly because of that ;-)
<Somelauw> I couldn't find many examples
<jackdaniel> Somelauw: you don't make them private. You may skip providing accessor for them, or name it %foo (% means, that operator is internal)
<jackdaniel> regarding constructor, you may define method initialize-instance specialized on your class
yeticry has joined #lisp
<jackdaniel> if you really want to make it private, you could use uninterned symbols for slots I suppose, but that would be awkward and requires some work to add ways to access the slot
<Somelauw> jackdaniel: so for variables, the style is to user get-attribute, set-attribute - never slot-value? What about private methods?
<nyef> ... And doesn't actually stop someone with a metaobject protocol from going in and opening things up anyway.
<jackdaniel> Somelauw: you simply don't export them from the package
<jackdaniel> eventually you add % prefix
<jackdaniel> nyef: right
<Somelauw> ah, so in common lisp you explicitly export get/set/accesor methods to make them public?
<jackdaniel> you explicitly export your application interface from the package
<jackdaniel> packages in CL have symbols which may be exported or internal
yeticry has quit [Ping timeout: 240 seconds]
<jackdaniel> if it is internal, then accessing it requries extra double colon like package::foo (while exported symbol may be accessed like package:bar)
<whoman> is that from within the package, the double colon?
<Somelauw> C++ also uses :: for namespaces, is that the same thing
<jackdaniel> namespaces and packages are different things. I think you should do some research on your own about common lisp package system
<Somelauw> I'm mostly used to python/java, but have heard about other languages
<jackdaniel> right, if you are interested in the topic, it might be worth reading about it on published resources
<jackdaniel> minion: tell Somelauw about pcl
<minion> Somelauw: have a look at pcl: pcl-book: "Practical Common Lisp", an introduction to Common Lisp by Peter Seibel, available at http://www.gigamonkeys.com/book/ and in dead-tree form from Apress (as of 11 April 2005).
<uint> I just want to note :: should be generally avoided since it's for accessing internals of a package from outside of it
<Somelauw> but that book is 12 years old?
<Xach> Yes, even though it is very new, it is still very good.
<whoman> how old is common lisp
<Somelauw> but C++11 didn't even exist back then
* whoman will forever never know about :: if its for inside the package or outside
<jackdaniel> common lisp packages didn't change much since 94
<whoman> yeah.. Land of Lisp book appeals to me, i wish i could afford it
<jackdaniel> Somelauw: fact that this book is still actual proves, how solid common lisp standard is ;-) no go and read some, it is a perfect resource to learn about programming in CL
<uint> : is for accessing the interface (exported symbols) of a package, :: is for accessing any symbols within the package
<jackdaniel> and it has very nice insights into CLOS, so that's worth reading too
<mfiano> whoman: if you're inside a package and want to access its symbols, you don't need any package qualifier, single or double colon.
<jackdaniel> *it's worth reading even more, since you are interested in it
eudoxia has quit [Quit: Leaving]
<whoman> mfiano, okay, that is what i figured. thanks=)
<whoman> (cant test it for myself atm)
knobo has joined #lisp
<smurfrobot> I guess maybe i should read the cmucl compiler code b4 the sbcl it seems to have clearer comments. there is a lot of stuff in the sbcl that are FIXME type comments.
<Somelauw> i seem to have already read some chapters of that book, by googling(duckduckgo) "common lisp ...", but never in full and didn't even realise it
tloen has joined #lisp
<smurfrobot> Is on lisp a good book to learn common lisp from?
<Xach> smurfrobot: no
<smurfrobot> what's wrong with it?
<jackdaniel> it is aimed at people who already know common lisp
<jackdaniel> and want to understand it better
<Xach> smurfrobot: it has a peculiar idea about the worthwhile parts of CL. and it gets the performance model wrong.
<Xach> It is probably not especially harmful to read in concert with other CL books.
<smurfrobot> i have successful lisp and ansi common lisp as well.
<smurfrobot> on lisp i managed to get from the library
<jackdaniel> ansi common lisp is a very good book imho (especially the excercises)
<smurfrobot> practical common lisp looks pretty good from what i have read might buy a tree copy.
skeuomorf has joined #lisp
<smurfrobot> maybe i will go through the ansi book first and perhaps i won't need pcl.
<jackdaniel> pcl is worth reading even when you get through ansi common lisp
klltkr has joined #lisp
<Somelauw> I have secretely learned a lot about "scheme", "emacs-lisp" and "clojure" instead of common lisp.
<jackdaniel> good for you
<Younder> For the more advanced reader Eddi Weitz book Common Lisp recipes is a good reference work.
<smurfrobot> how does lisp compare to ML?
<smurfrobot> i heard ML is often suggested as a good language to write compilers in.
<Xach> ansi common lisp is not good as a first book, in my experience
<smurfrobot> xach: do you prefer pcl?
<Xach> very much.
fikka has joined #lisp
<Xach> it is because of the bias against packages, clos, and loop that makes me say so
<smurfrobot> ok perhaps i will get a tree copy of that.
papachan has quit [Quit: WeeChat 1.9.1]
vlatkoB has quit [Remote host closed the connection]
<Younder> ML is a bit old, most people today use OCAML. It a purer functional programming language than Lisp which is more multi paradigm.
<smurfrobot> how different is ocaml from ml? my understanding is the type system isn't quite the same.
<smurfrobot> reynolds (use to think) pretty highly of ML. I read paper "beyond ml" by him.
<Younder> google ocaml vs ml
<Xach> This is not the place to discuss
<mfiano> It looks like the printing press is 2 hours from me, so I just received my Cyber Monday PCL and CLR books I ordered. Best $25 I probably ever spent - $105 saved.
skeuomorf is now known as Guest84905
skeuomorf has joined #lisp
Guest84905 has quit [Read error: Connection reset by peer]
<smurfrobot> CLR?
<smurfrobot> is there some special deal at the moment on both books?
<mfiano> Common Lisp Recipes. All Apress books _were_ $12.50usd from Friday until yesterday. Deal's over.
<jackdaniel> common lisp recipes, new book written by Edmund Weitz (very good one, I have it on my shelf)
<whoman> hmm. i would at least make a (defmacro defun-with-slots (name args slots &body) ...
<smurfrobot> oh nm guess i missed it :-(
devon has quit [Ping timeout: 250 seconds]
gtuser has quit [Remote host closed the connection]
gilez has joined #lisp
fikka has quit [Ping timeout: 248 seconds]
yeticry has joined #lisp
skeuomorf has quit [Ping timeout: 248 seconds]
yeticry has quit [Remote host closed the connection]
norserob has joined #lisp
jmercouris has joined #lisp
varjag has quit [Ping timeout: 276 seconds]
<jmercouris> Can someone clarify what M-expressions are exactly?
<jmercouris> I've read a little bit, but it's not clear to me what purpose they serve? to implement an algol like language on top of lisp?
<oleo> jackdaniel, me too
<Shinmera> Early on it was believed that an M-expression syntax would be more "natural" and generally better than s-expressions.
<jmercouris> But what does it look like?
<jmercouris> was any form of it ever implemented an example I can look at?
<oleo> ya
yeticry has joined #lisp
<oleo> there was even a scheme based on it....
<oleo> experimental i.e.
<jmercouris> Shinmera: What a terrible syntax
<jmercouris> I've been on that wiki page several times, but just noticed the table :\
nowhereman_ has joined #lisp
nowhere_man has quit [Ping timeout: 276 seconds]
<Xach> jmercouris: http://www-formal.stanford.edu/jmc/recursive.pdf explains them. (that is the original lisp paper)
<jmercouris> Xach: Cool link!
<jmercouris> From first glance this a surprisingly easy to read paper, I guess they had to explain literally everything as there was no background knowledge about programming tht one could assume back then
yeticry has quit [Ping timeout: 260 seconds]
yeticry has joined #lisp
emacsomancer has joined #lisp
devon has joined #lisp
fikka has joined #lisp
<jmercouris> Any bindings/libs that utilize CFFI are essentially just convenience wrappers to make something easier to use in CL, or is my understanding incorrect? e.g. something like this: https://github.com/crategus/cl-cffi-gtk is using CFFI to make a more lisp friendly interface to GTK
<Shinmera> Uh, without the bindings how would you call GTK at all?
<jmercouris> Someone wrote the bindings right? So you should be able to write your own bindings theoretically
<jmercouris> cl-cffi-gtk does not actually implement CFFI, so anything possible in cl-cffi-gtk should be possible using just CFFI right?
<jmercouris> that's what I am sayin
<Shinmera> Well yes?
<jmercouris> Ok, I just wanted to clarify the point that there was nothing inherently special about the bindings, maybe something I didn't know, thanks
yeticry has quit [Ping timeout: 240 seconds]
<Shinmera> Bindings libraries usually do one or two things: 1) implement the, well, bindings to all the C functions and structs that the foreign system exposes and 2) implement a high-level wrapper to make the library "feel at home" in Lisp.
<jmercouris> More or less I am thinking about this because the GTK bindings for gtk+ webkit appear outdated, and I will probably need to write some myself
<Shinmera> The first part is usually boring and tedious unless you use something like cl-autowrap to generate it for you.
<jmercouris> Also, the bindings should still be valid for an old piece of software as long as the foreign interface doesn't change correct?
<Shinmera> And the second part difficult to get right.
fouric has quit [Ping timeout: 248 seconds]
<Shinmera> Yes
<Shinmera> The bindings are basically a replication of the C headers.
eSVG has joined #lisp
<jmercouris> okay,cool, I think I get it, at least the very basic basic idea
<jmercouris> thanks
jealousmonk has joined #lisp
<Shinmera> Like for instance here's a really small library: https://github.com/Shirakumo/libflac/blob/master/src/flac.h which translates to these bindings: https://github.com/Shirakumo/cl-flac/blob/master/low-level.lisp
varjag has joined #lisp
<Shinmera> and this high-level interface: https://github.com/Shirakumo/cl-flac/blob/master/wrapper.lisp
<jmercouris> Shinmera: That's very useful thanks
<jmercouris> always helps to have a concrete example
jack_rabbit has joined #lisp
<jmercouris> Xach: Do you remove packages from quicklisp sometimes when making new releases?
Bike has quit [Ping timeout: 260 seconds]
<Shinmera> I have more complicated bindings libraries, but it's usually mostly the same stuff, just.. well. More.
fouric has joined #lisp
<Xach> jmercouris: yes.
<jmercouris> Xach: Is there a way I can see which packages you've removed release to release?
<jmercouris> some sort of changelog?
<Xach> jmercouris: blog.quicklisp.org is the place where it is posted
<jmercouris> Shinmera: A basic example is more than enough for me to get started, thanks
<Shinmera> jmercouris: When you do a dist update it'll also show you the removed and added systems.
<jmercouris> I'm afraid doing a dist update will break my software, as one of my users is complaining that something does not exist in quicklisp anymore :|
<Shinmera> dist updates can be rolled back.
<Shinmera> that's part of the point of quicklisp.
papachan has joined #lisp
<jmercouris> Perhaps I'll have to find a subsitute lib
<Xach> jmercouris: you don't have to update if you don't want to.
yeticry has joined #lisp
<Xach> What is the thing that does not exist any more?
<jmercouris> I guess not, but I don't want to force my users to use old versions
<jmercouris> cl-string-match apparently doesn't exist anymore
<jmercouris> I'm not sure if that's true or not, I looked through october and august, and it doesn't appear to be removed
<Xach> It isn't true. cl-string-match is in the latest quicklisp dist release.
<jmercouris> Hmm that is very strange then
<Xach> That is not what the issue says, anyway.
<jmercouris> Yeah seems he messed up
mishoo__ has quit [Ping timeout: 260 seconds]
<Xach> It says (roughly) that the api of cl-string-match is not the same as what next expects.
<jmercouris> at the very bottom he said he had to quickload cl-strings
<jmercouris> he is confusing cl-strings with cl-string-match actually
whyNOP has quit [Quit: brb]
<jmercouris> Okay I've just reread his message again, I was myself confused as well
<Xach> I don't think so.
<jmercouris> he says that cl-strings is no longer available
whyNOP has joined #lisp
<jmercouris> which is possibly, it has quite a few issues
<Xach> cl-strings is in quicklisp also.
<jmercouris> hmm, then I have no idea
yeticry has quit [Ping timeout: 276 seconds]
<Xach> (ql:where-is-system "cl-string-match") might show something informative
<jmercouris> Yeah, I'll suggest that to him, thank you
<jmercouris> what's the preferred notation :package or "package"?
<Xach> jmercouris: depends on the context.
<Xach> jmercouris: what is the context?
Karl_Dscc has joined #lisp
<jmercouris> (ql:quickload)
Tobbi has joined #lisp
<Xach> jmercouris: oh. i prefer the string, but it doesn't matter
<Xach> i like not interning keywords because they show up in searches in ways i don't really like.
<jmercouris> Hmm, I am the opposite way, it feels somehow better than magic strings
<jmercouris> but as long as it doesn't matter either way, I can sleep well at night :D
yeticry has joined #lisp
<Xach> Magic strings?
knicklux has quit [Quit: Leaving]
<Xach> The keyword is used as a stand-in for a string - it's converted to one almost immediately.
<jmercouris> However, putting "some-special-incantation" is a magical string, no matter how you slice it
<Xach> How is it magic?
<Xach> Or, how is it more magic than a keyword?
<jmercouris> It's not necessarily more or less magical, the keyword is also magical
<jmercouris> but since it is a string, it is most definitely a magic string
yeticry has quit [Ping timeout: 248 seconds]
<Shinmera> It's not magic, it's a name. You know that name, and it maps to the named thing.
<Xach> What does "magic string" means?
<jmercouris> Well, theres the wiki definition, and then theres the one that everyone in the world uses
quazimodo has joined #lisp
<jmercouris> If you look at something like this: https://stackoverflow.com/a/9501967/1699398
<jmercouris> You'll see exactly what I mean
<jmercouris> one might argue that Roles.Customer will be instantly evalued to "Customer" or that it's the same notion, but it kind of is, kind of isn't
<Xach> That is not the same concept at all.
<jmercouris> Sure, that's the one that everyone in industry uses
<Xach> It is inapplicable loading things by name.
<jmercouris> Also, I don't see how an enum is not extremely similar to an interned symbol
<jmercouris> but whatever
<jmercouris> If you took it as a jab at you, don't, I was just expressing a preference against strings with special values
<jmercouris> However you'd like to call them, I call them magical strings
<Xach> Ok. That is incorrect terminology.
<Xach> I don't think it's good to persist.
<_death> I think the point behind defining such constants is that if you have a typo when referencing them, you'll get a compile time error.. when it comes to ql:quickload, you'll get a runtime error if you have a typo in the string or keyword.. with a keyword you may use completion, but it's unlikely to happen in this particular scenario
<jmercouris> No, it definitely isn't, that's the common industry usage
<Somelauw> the way to make things private in elisp seems to be to use -- in names
mathrick has quit [Ping timeout: 240 seconds]
<Shinmera> I've never heard of magic strings, but I have of magic numbers. The "magic" is because it is not apparent where the number comes from or how it's determined. This is not at all the case here, because it's a name. It denotes what you mean in itself, so there's no magic to it.
klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<jmercouris> Shinmera: This is actually a compelling argument
<jmercouris> I guess there is no place to define the symbols before one loads a system
<jmercouris> Unless of course all the symbols were included as part of quicklisp as soon as quicklisp loads, but that's probably not desirable
<_death> Shinmera: well, another point to these constants is that they let you distinguish things that happen to be represented as the same string.. but again this isn't relevant to the ql:quickload scenario
<jmercouris> _death: Are you suggesting I've had too many cups of java in my life :D?
<_death> jmercouris: yes, this kind of thing is certainly a javaism..
klltkr has joined #lisp
<_death> lacking symbols, they use poor man's namespacing like that
resttime has joined #lisp
pierpa has joined #lisp
klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
nullman has quit [Ping timeout: 258 seconds]
nullman has joined #lisp
jmercouris has quit [Remote host closed the connection]
wheelsucker has quit [Quit: Client Quit]
wxie has joined #lisp
<whoman> symbolic programming
LiamH has quit [Quit: Leaving.]
Josh_2 has quit [Remote host closed the connection]
Karl_Dscc has quit [Remote host closed the connection]
varjag has quit [Ping timeout: 240 seconds]
nowhereman_ has quit [Ping timeout: 240 seconds]
yeticry has joined #lisp
thinkpad has joined #lisp
yeticry has quit [Ping timeout: 248 seconds]
rpg has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
knobo has quit [Ping timeout: 248 seconds]
<minion> Remembered. I'll tell jmercouris when he/she/it next speaks.
Kaisyu has joined #lisp
yeticry has joined #lisp
mkennedy has joined #lisp
pmc_ has joined #lisp
<pmc_> Anyone know why a character string is not considered to be a simple vector? (simple-vector-p "abc") returns NIL.
sjl has quit [Ping timeout: 276 seconds]
yeticry_ has joined #lisp
<_death> a simple vector has element type of T
<pjb> yep.
<pjb> (map 'simple-vector 'identity "abc") #| --> #(#\a #\b #\c) |#
<pjb> pmc_: now rather the question would be why do you care about simple-vectors?
<pjb> pmc_: there are some libraries written by sbcl'ers (not lispers), that expect some overly specific vector types. This is bad. Don't use them.
<pmc_> I noticed (svref "abc" 0) doesn't work on strings... so I was interested in simple vectors. :)
yeticry has quit [Read error: Connection reset by peer]
<pjb> There's (char "abc" 0) #| --> #\a |#
<pmc_> right.
mkennedy has quit [Quit: mkennedy]
<pjb> But you would never use them, just use aref.
<pjb> if the compiler can determine at compilation time that the sequence is a simple vector or a string, then it'll be smart enough to replace aref by svref or char, and otherwise, you will do want aref, to be able to handle any vector type you'll get at run-time.
<pjb> So basically you should never use svref or char or similar overly type-specific function.
<pmc_> keep it general. ok.
yeticry_ has quit [Ping timeout: 248 seconds]
turkja has joined #lisp
<Ober> what is it roswell brings to the table being written in C, that a shell script can't easily do in a fraction of this code?
nowhereman_ has joined #lisp
<pjb> Ober: and the link with CL is?
tloen has quit [Quit: Leaving]
<Xach> It's possible that the person who made it is willing to work on it in C, but not willing in another language.
wxie has quit [Remote host closed the connection]
wxie has joined #lisp
sjl has joined #lisp
yeticry has joined #lisp
Somelauw has quit [Quit: WeeChat 1.9.1]
attila_lendvai has quit [Ping timeout: 260 seconds]
yeticry has quit [Ping timeout: 240 seconds]
<Ober> pjb: the link to cl from roswell?
hexfive has quit [Quit: WeeChat 1.9.1]
<pjb> yes.
Trasformatore has quit [Read error: Connection reset by peer]
<pjb> oh, I see; but there's lisp code in there too.
_Trasformatore_ has joined #lisp
k-stz has quit [Remote host closed the connection]
<Ober> pjb no more than a link to you asking folks in #linpeople about your hung scsi devices [10/27/00 @ 02:59:57] <pjb> dev/st0 isnt responding
python476 has quit [Ping timeout: 240 seconds]
<Ober> pjb: given the author of hit and the only users of it are most likely here.
<pjb> The only reason I can see, could be for bootstrap reasons. Otherwise, it seems that a lot of C code could have been written better in CL.
<pjb> Since it's a tool to install CL implementations…
<Ober> thus my question
<Ober> figured there was a technical reason I was missing
<pjb> Now of course, you made the bootstrap more complex, since you need to compile and install a C compiler, and for this, you need to have a C compiler already installed (or eventually, when I'll have completed by C->CL compiler, a CL compiler).
yeticry has joined #lisp
<pjb> (jj, of course C compilers are pre-installed on most posix systems).
<Xach> I don't think many of the roswell users are here.
wxie has quit [Remote host closed the connection]
yeticry has quit [Ping timeout: 255 seconds]
* Ober checks the banlist
<Ober> someone here had recommended it
varjag has joined #lisp
Bike has joined #lisp
mparashar has quit [Ping timeout: 240 seconds]
yeticry has joined #lisp
varjag has quit [Ping timeout: 240 seconds]
SuperJen has joined #lisp
thinkpad has quit [Read error: Connection reset by peer]
resttime has quit [Ping timeout: 248 seconds]
vancan1ty has joined #lisp
yeticry has quit [Ping timeout: 276 seconds]
<aeth> Most developers probably have C compilers, even if they don't develop in C
<aeth> Too many C libraries
JenElizabeth has quit [Ping timeout: 240 seconds]