mariari has joined #commonlisp
waleee has quit [Ping timeout: 255 seconds]
igemnace has quit [Quit: WeeChat 3.2]
Devon has quit [Ping timeout: 246 seconds]
Devon has joined #commonlisp
IPmonger has joined #commonlisp
IPmonger has quit [Remote host closed the connection]
srhm has quit [Quit: Konversation terminated!]
srhm has joined #commonlisp
pjb has quit [Ping timeout: 255 seconds]
tyson2 has joined #commonlisp
beach` has joined #commonlisp
beach has quit [Ping timeout: 240 seconds]
JoshYoshi has joined #commonlisp
JoshYoshi has quit [Remote host closed the connection]
Josh_2 has quit [Ping timeout: 246 seconds]
selwyn_ has quit [Quit: Leaving]
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 252 seconds]
jp has joined #commonlisp
ldb has joined #commonlisp
<ldb> goodmorning
Devon7 has joined #commonlisp
Devon has quit [Ping timeout: 272 seconds]
amb007 has quit [Ping timeout: 255 seconds]
amb007 has joined #commonlisp
Devon7 is now known as Devon
sjl has joined #commonlisp
Devon7 has joined #commonlisp
Devon has quit [Ping timeout: 246 seconds]
<kakuhen> good evening
Devon7 has quit [Client Quit]
Devon has joined #commonlisp
Devon is now known as Devon7
Devon7 is now known as Devon
tyson2 has quit [Remote host closed the connection]
beach` is now known as beach
amb007 has quit [Ping timeout: 246 seconds]
amb007 has joined #commonlisp
lisp123 has joined #commonlisp
lisp123 has quit [Remote host closed the connection]
<beach> Good morning everyone!
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
lisp123 has joined #commonlisp
amb007 has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
lisp123 has quit [Ping timeout: 240 seconds]
jp has quit [Quit: Client closed]
CrashTestDummy3 has joined #commonlisp
akoana has quit [Quit: leaving]
CrashTestDummy2 has quit [Ping timeout: 265 seconds]
paulapatience has joined #commonlisp
paulapatience has quit [Remote host closed the connection]
paulapatience has joined #commonlisp
paulapatience has quit [Remote host closed the connection]
paulapatience has joined #commonlisp
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 255 seconds]
ec has quit [Remote host closed the connection]
ec has joined #commonlisp
<leo_song> pjb: thanks, the only concern is just related to the mitm attack, I'm wondering the if the quicklisp check the signature of the dists or packages.
paulapatience has quit [Ping timeout: 252 seconds]
lisp123 has joined #commonlisp
Mandus has quit [Ping timeout: 265 seconds]
Mandus has joined #commonlisp
ldb has quit [Ping timeout: 255 seconds]
ldb has joined #commonlisp
ldb has quit [Ping timeout: 272 seconds]
ldb has joined #commonlisp
Mandus has quit [Ping timeout: 258 seconds]
Mandus has joined #commonlisp
Gnuxie has quit [*.net *.split]
hirez- has quit [*.net *.split]
sukaeto has quit [*.net *.split]
markasoftware has quit [*.net *.split]
thonkpod has quit [*.net *.split]
loke has quit [*.net *.split]
sukaeto has joined #commonlisp
markasoftware has joined #commonlisp
thonkpod has joined #commonlisp
thonkpod has quit [Signing in (thonkpod)]
thonkpod has joined #commonlisp
hirez has joined #commonlisp
loke has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
lisp123 has quit [Ping timeout: 240 seconds]
dsk has joined #commonlisp
ldb has quit [Quit: ERC (IRC client for Emacs 27.2)]
<MichaelRaskin> leo_song: how strong is your threat model? I think it checks hashes, but it seems to only use weak hashes…
<leo_song> if it has some signature mechanism, I'll be happy
<leo_song> :-(
<MichaelRaskin> Well, signatures don't add that much over strong checksums downloaded over a safer connection (or verified across two connections)
<MichaelRaskin> But checksums used are not strong
<moon-child> how weak is weak?
<moon-child> md4 weak, or sha1 weak?
<MichaelRaskin> Hmm, weird, I am now not sure it actually checks the checksums
<MichaelRaskin> It has a sha1 and and md5 for releases, but I cannot find where it checks either
pjb has joined #commonlisp
joeyxl has quit [Ping timeout: 252 seconds]
joeyxl has joined #commonlisp
taiju has quit [Ping timeout: 255 seconds]
taiju has joined #commonlisp
treflip has joined #commonlisp
lisp123 has joined #commonlisp
pve has joined #commonlisp
lisp123 has quit [Ping timeout: 252 seconds]
shka has joined #commonlisp
peterhil has joined #commonlisp
rgherdt has joined #commonlisp
peterhil has quit [Ping timeout: 258 seconds]
hendursa1 has joined #commonlisp
hendursaga has quit [Ping timeout: 244 seconds]
amb007 has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
utis has joined #commonlisp
<utis> is there a library that can convert an xml document to an sexp?
<shka> utis: yes, but usually using selectors is handier
samebchase has quit [Quit: The Lounge - https://thelounge.chat]
<utis> shka: ok, i had a look at lquery, but i guess i don't know enough about xml to make sense of the documentation
<shka> lquery is excellent
Lord_of_Life_ has joined #commonlisp
<shka> gimme a second, i will show you blog post with good example
<utis> shka: thanks!
<shka> html is not exactly the XML but you should get the point https://lispcookbook.github.io/cl-cookbook/web-scraping.html
leo_song has quit [Ping timeout: 268 seconds]
Lord_of_Life has quit [Ping timeout: 246 seconds]
loke[m] has quit [Quit: Bridge terminating on SIGTERM]
katco has quit [Quit: Bridge terminating on SIGTERM]
akanouras has quit [Quit: Bridge terminating on SIGTERM]
Mrtn[m] has quit [Quit: Bridge terminating on SIGTERM]
dieggsy has quit [Quit: Bridge terminating on SIGTERM]
luis` has quit [Quit: Bridge terminating on SIGTERM]
happy-dude has quit [Quit: Bridge terminating on SIGTERM]
JooTvora[m] has quit [Quit: Bridge terminating on SIGTERM]
etimmons has quit [Quit: Bridge terminating on SIGTERM]
Lord_of_Life_ is now known as Lord_of_Life
<shka> utis: anyway, for just parsing xml you would want just plump
loke[m] has joined #commonlisp
leo_song has joined #commonlisp
utis has quit [Read error: Connection reset by peer]
dieggsy has joined #commonlisp
katco has joined #commonlisp
Mrtn[m] has joined #commonlisp
akanouras has joined #commonlisp
happy-dude has joined #commonlisp
etimmons has joined #commonlisp
Gnuxie has joined #commonlisp
luis` has joined #commonlisp
JooTvora[m] has joined #commonlisp
amb007 has quit [Ping timeout: 246 seconds]
amb007 has joined #commonlisp
dsk has quit [Ping timeout: 246 seconds]
selwyn has joined #commonlisp
CrashTestDummy2 has joined #commonlisp
peterhil has joined #commonlisp
CrashTestDummy3 has quit [Ping timeout: 272 seconds]
peterhil has quit [Ping timeout: 252 seconds]
utis_ has joined #commonlisp
nature has joined #commonlisp
cage has joined #commonlisp
<utis_> Looked at plump, but when i evaled the sexps in the doc, (serialize *) Says no applicable meth and with root as arg, it returns nil (sry abt the messed up kbd
utis_ has quit [Quit: Client closed]
utis_ has joined #commonlisp
tyson2 has joined #commonlisp
random-nick has joined #commonlisp
peterhil has joined #commonlisp
peterhil has quit [Ping timeout: 265 seconds]
utis_ has quit [Quit: Client closed]
samebchase has joined #commonlisp
utis_ has joined #commonlisp
utis_ has quit [Quit: Client closed]
<nature> Hi all! In my current project I have made a `run.lisp` file which contains three s-exp, `(asdf:make...)(in-package ...)(start-server)` and when I want to start working on it I open emacs, open this run.lisp and compile each s-exp one by one and have to wait for the previous to finish before compiling the next one. Once I reach the `(start-server)` I can finally start working on my project.
<nature> This workflows seems suboptimal, is my intuition correct?
<nature> If yes, what should I do to improve/automate a bit more my bootstraping of development
<pve> nature: ideally you'd want to run those automatically when you start slime
<susam> nature: How about C-c C-l to load the entire run.lisp file in one shot?
<pve> nature: let me show you my setup
<pjb> nature: (define-symbol-macro run (load "run.lisp")) in your rc file, and just type run RET in the REPL!
utis_ has joined #commonlisp
utis_ has quit [Quit: Client closed]
<pve> nature: Here's what I use. It can obviously be improved on, but works well enough for me.
<pve> nature: the idea is to visit a "session" lisp file (like the one you have) and call M-x pve-slime-and-load-this-file
<pve> I have an "easy-menu" with an entry for that, but you could also just bind it to a key
<_death> may want to check out defslime-repl-shortcut
peterhil has joined #commonlisp
amb007 has quit [Ping timeout: 265 seconds]
amb007 has joined #commonlisp
<nature> susam: That's another thing that puzzles me, when I do C-c C-k it fails, I thought C-c C-l would fail too, but I just tried and it works... I am not sure I understand well enough the diff between compilation and loading of files
<susam> nature: What failure do you see with C-c C-k? I believe the failure would be to do with the fact that the file is unable to compile neatly perhaps due to some existing definitions in your REPL?
<nature> pjb: which rc file are you talking about? I haven't customized much regarding my dev environment yet
<susam> nature: I just use C-c C-l to load the entire file. Never had issues with it. Find it quite straightforwrad, in fact.
<_death> compilation and loading is separate.. when run.lisp is compiled, the asdf form is compiled, but not evaluated.. because the system is not loaded, the package is not available, and in-package (which sets *package* during compile time) fails
<nature> susam: the failure comes from the fact that the `(in-package ..)` targets a package that doesn't exists, as if sexp where not compiled sequentially
<susam> nature: That makes sense.
<nature> aaaaah, makes sense, thanks
dsk has joined #commonlisp
<_death> nature: if you're using sbcl, there is ~/.sbclrc .. if you want your code uses slime/swank, there's ~/.swank.lisp
<_death> -you want
<pjb> nature: each implementation uses its own rc file. In each of them, I have (load (merge-pathnames (make-pathname :directory '(:relative "RC") :name "COMMON" :type "LISP" :case :common) (user-homedir-pathname) nil))
<pjb> nature: so I can put all my common lisp initialization in ~/rc/common.lisp
<nature> pve: thanks for showing your setup
<nature> _death: pjb: Okok I see
<pjb> nature: more can be seen at http://github.com/informatimago/rc/
<nature> But the idea of having a "run.lisp" is not completely alien then?
<pjb> nature: it is not.
<pjb> you have to make things practical for yourself.
<nature> It's just a matter of how you run that file
<nature> I see
<pjb> nature: the lisp REPL is like emacs: you can write lisp code to customize it.
<pve> nature: no problem
<pve> nature: in many of my session files, the last expression is something like (asdf:test-system "my-system), which means I lazily end up hitting F7 all the time to restart my slime session and rerun the tests in a fresh image :)
utis_ has joined #commonlisp
kakuhen has quit [Quit: Leaving...]
utis_ has quit [Client Quit]
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
<nature> Thank you all :)
amb007 has quit [Ping timeout: 258 seconds]
amb007 has joined #commonlisp
Oladon has quit [Quit: Leaving.]
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 272 seconds]
amb007 has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
selwyn has quit [Read error: Connection reset by peer]
frgo has joined #commonlisp
tyson2 has quit [Quit: ERC (IRC client for Emacs 27.2)]
<beach> So, we (mainly scymtym) have started working on Well-Specified-Common-Lisp (WSCL, pronounce it as "whistle") the purpose of which is to specify many more currently unspecified situations in the standard. This work will be done in the form of X3J13 "issues" so that they integrate nicely into the specification.
<beach> So I wrote this one: https://github.com/s-expressionists/wscl/blob/main/wscl-issues/proposed/aref-accessor-type-error and I could use some help. We are asking people with access to implementations other than SBCL to check the behavior of the test cases in those implementations, add that to the document, and send us a pull request. Thanks in advance.
<beach> Other remarks are welcome too, of course.
<beach> Oh, I should add that the key problem here is:
<beach> clhs 1.4.4.3
<specbot> The ``Arguments and Values'' Section of a Dictionary Entry: http://www.lispworks.com/reference/HyperSpec/Body/01_ddc.htm
<beach> "Except as explicitly specified otherwise, the consequences are undefined if these type restrictions are violated."
kpoeck has joined #commonlisp
kpoeck has quit [Ping timeout: 246 seconds]
mingus_ is now known as mingus
kpoeck has joined #commonlisp
<jcowan> beach: Well, I think this is a substantive change to the spec and should not be made lightly at all. There are a great many such cases, and I assume that this one is a trial ballon.
<jcowan> balloon, even
<jcowan> First, the term SHOULD means this (per RFC 2119; ISO style guide is similar): "SHOULD This word, or the adjective "RECOMMENDED", mean that there may exist valid reasons in particular circumstances to ignore a particular item, but the full implications must be understood and carefully weighed before choosing a different course." So it is stronger than people often suppose.
<beach> The error terminology is specified.
<beach> clhs 1.4.2
<jcowan> Next, consider a "C-style CL compiler" (or in principle any compiler with (declare (optimize (compilation-speed 3) (safety 0) (debug 0)))
kpoeck has quit [Ping timeout: 246 seconds]
<beach> jcowan: I am not making it "lightly".
tyson2 has joined #commonlisp
<beach> The error terminology means "in safe code".
<beach> And, as I have said before, the purpose is to document existing practice, and not to introduce new practice.
<beach> And, yes, there are many cases like this, so many situations in the current standard where the behavior is undefined. I consider that unfortunate for a language that is considered "safe".
<jcowan> In that case using "issue" format defineitely suggests to me that a change is proposed, if only in some indefinite future.
<beach> I have clearly stated that the purpose is to define a separate standard called WSCL.
waleee has joined #commonlisp
<beach> And I have clearly stated that the purpose is that every major implementation of Common Lisp should already be a conforming implementation of WSCL, barring strange exceptions of course.
<jcowan> The definition of "an error should be signaleds" is a bit curious: it defines the term, but the example is for "should signal an error" Obviously examples are not normative unless they are claimed to be (I've fought that battle in the Scheme community).
<beach> Thank you! Would you mind writing an "issue" for that terminology?
<jcowan> (I mean, *I* know about the passive transformation, but "grep" does not.)
<scymtym> jcowan: the use of the X3J13 issue format will allow annotating WSCL with issue references in a similar way to how CLHS is annotated with references to X3J13 issues. that way, changes compared to the draft specification will be clearly indicated and also come with a rationale and possibly discussion
edgar-rft has quit [Quit: Leaving]
<shka> ... someone should make "Evil Common Lisp" using the undefined behavior space to specify the most confusing and weird semantics while still being pure ANSI superset
<shka> the opposite of WSCL
<beach> BOCL might come close. :)
<shka> i wonder how bizarre this could get
<beach> A lot.
<beach> (aref 234 0) => Some standard class gets redefined.
<shka> :D
<shka> oh yes, aref
<shka> we don't need stinking type checks
<beach> That's what this "issue" that I posted is about.
<jcowan> Demons can fly out of your nose, that's how bizarre.
tyson2 has quit [Quit: ERC (IRC client for Emacs 27.2)]
<shka> Hieronymus Bosch
dsk has quit [Ping timeout: 240 seconds]
<jcowan> In protest against he considered an excessive amount of "MUSTard" in the Scheme R6RS, Will Clinger threatened to have a mode of his compiler Larceny which implemented the R6RS strictly but uselessly. IIRC the only float was 0.0, for example, and strings wre limited to 50 characters or so. Eventually Will took the simpler step of resigning from the editorial committee and taking his name off the spec.
amb007 has quit [Ping timeout: 272 seconds]
<shka> jcowan: this really happened?
<jcowan> In the sense that he wrote a post saying he would do it, yes. In the sense that he actually added such a mode, I *think* not.
<jcowan> The result is that the R6RS does not have any terminology like "is an error", unlike the R[57]RS.
<jcowan> As such, it favors portability over interoperability.
<shka> so it wa effective
lotuseater has joined #commonlisp
<jcowan> A standard without UB? Yes.
zacts has joined #commonlisp
<jcowan> But I recommend reading section 1 of Clinger's paper at http://andykeep.com/SchemeWorkshop2015/papers/sfpw1-2015-clinger.pdf
<jcowan> It's about the general tension between portability and interoperability.
yitzi has joined #commonlisp
<jcowan> Also this passage from the Larceny manual: "Larceny is R6RS-compatible but not R6RS-conforming. When Larceny is said to support a feature of the R6RS, that means the feature is present and will behave as specified by the R6RS so long as no exception is raised or expected. Larceny does not always raise the specific conditions specified by the R6RS, and does not perform all of the checking for portability problems that is
<jcowan> mandated by the R6RS. These deviations do not affect the execution of production code, and do not compromise Larceny’s traditional safety."
tyson2 has joined #commonlisp
zacts has quit [Quit: Client closed]
zacts has joined #commonlisp
peterhil has quit [Ping timeout: 268 seconds]
peterhil has joined #commonlisp
zacts has quit [Quit: Client closed]
zacts has joined #commonlisp
zacts has quit [Quit: zacts]
IPmonger has joined #commonlisp
IPmonger has quit [Remote host closed the connection]
Devon has quit [Ping timeout: 255 seconds]
tyson2 has quit [Quit: ERC (IRC client for Emacs 27.2)]
pjb has quit [Remote host closed the connection]
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 240 seconds]
<jcowan> beach: I don't want to write issues (spec writing is hard, and Scheme consumes my energy). But I will mention two other points:
<jcowan> 1) There seems to me no reason why all the relevant functions shouldn't just be enumerated in a single changeset. People are unlikely to vote for aref and against vref.
reb has joined #commonlisp
<jcowan> 2) I note that except in the special phrases we've been talking about, "must/should/may/must not/should not" don't seem to be defined anywhere. Perhaps they belong in the glossary. RFC 2119 is a good source of well-tested definitions.
<jcowan> and to recap so they are all in the same place, 3) eliminate the discrepancy between "an error should be signaled" and "should signal an error"
edgar-rft has joined #commonlisp
kpoeck has joined #commonlisp
dsk has joined #commonlisp
tyson2 has joined #commonlisp
yitzi has quit [Quit: Leaving]
pjb has joined #commonlisp
char has joined #commonlisp
tyson2 has quit [Ping timeout: 272 seconds]
<shka> jcowan: wait a second
amb007 has joined #commonlisp
<shka> there is a technical difference between these two statements?
<jcowan> One is defined on the error terminology page, but the other is used in the only example given there.
paulapatience has joined #commonlisp
<shka> i was scarred there for a minute
varjag has joined #commonlisp
peterhil has quit [Ping timeout: 268 seconds]
<jcowan> I would be too
<jcowan> It's not often used in either guise: "should signal" gets 16 hits in the Body pages, "should be signaled" gets 5.
char has quit [Ping timeout: 252 seconds]
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 252 seconds]
char has joined #commonlisp
mmk2410 has quit [Quit: ZNC - https://znc.in]
mmk2410 has joined #commonlisp
paulapatience has quit [Ping timeout: 258 seconds]
joeyxl has quit [Read error: Connection reset by peer]
mariari has quit [Quit: WeeChat 3.2]
mariari has joined #commonlisp
char has quit [Ping timeout: 268 seconds]
cage has quit [Quit: rcirc on GNU Emacs 27.1]
peterhil has joined #commonlisp
tyson2 has joined #commonlisp
Noisytoot has quit [Quit: Leaving]
<edgar-rft> jcowan: The CLHS code examples were added by Kent Pitman, they are not part of the ANSI specification.
<jcowan> This is not a code example, it's an example in a definition.
<jcowan> from 1.4.2
<jcowan> An error should be signaled
<jcowan> This means that an error is signaled in safe code, and an error might be signaled in unsafe code. Conforming code may rely on the fact that the error is signaled in safe code. Every implementation is required to detect the error at least in safe code. When the error is not signaled, the ``consequences are undefined'' (see below). For example, ``+ should signal an error of type type-error if any argument is not of type number.''
<edgar-rft> okay, thank you, will read the logs again :-)
kpoeck has quit [Ping timeout: 246 seconds]
Oladon has joined #commonlisp
tyson2 has quit [Quit: ERC (IRC client for Emacs 27.2)]
tyson2 has joined #commonlisp
karlosz has joined #commonlisp
peterhil has quit [Ping timeout: 265 seconds]
karlosz has quit [Quit: karlosz]
mariari has quit [Quit: WeeChat 3.2]
mariari has joined #commonlisp
pegaso has joined #commonlisp
pegaso has quit [Quit: Leaving]
pegaso has joined #commonlisp
paulapatience has joined #commonlisp
sjl has quit [Quit: WeeChat 2.2-dev]
treflip has quit [Quit: good night]
tyson2 has quit [Quit: ERC (IRC client for Emacs 27.2)]
tyson2 has joined #commonlisp
reb has quit [Remote host closed the connection]
pegaso has quit [Quit: Leaving]
kakuhen has joined #commonlisp
shka has quit [Ping timeout: 272 seconds]
paulapatience has quit [Ping timeout: 258 seconds]
dsk has quit [Ping timeout: 240 seconds]
luis has joined #commonlisp
frgo has quit [Remote host closed the connection]
frgo has joined #commonlisp
CrashTestDummy2 has quit [Quit: Leaving]
CrashTestDummy has joined #commonlisp
taiju has quit [Ping timeout: 272 seconds]
taiju has joined #commonlisp
akoana has joined #commonlisp
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 265 seconds]
pve has quit [Quit: leaving]
peterhil has joined #commonlisp
rgherdt has quit [Ping timeout: 246 seconds]
varjag has quit [Ping timeout: 258 seconds]
cjb has joined #commonlisp
paulapatience has joined #commonlisp
notzmv has quit [Ping timeout: 252 seconds]
igemnace has joined #commonlisp
random-nick has quit [Ping timeout: 272 seconds]
sjl has joined #commonlisp
CrashTestDummy2 has joined #commonlisp
taiju has quit [Ping timeout: 240 seconds]
lotuseater has quit [Ping timeout: 255 seconds]
CrashTestDummy has quit [Ping timeout: 252 seconds]
Devon has joined #commonlisp
Devon is now known as Devon7
Devon7 is now known as Devon
recordgroovy has joined #commonlisp
zacts has joined #commonlisp
zacts has quit [Client Quit]