p_l 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/> | ASDF 3.3.4
drdee has joined #lisp
oxum has joined #lisp
drdee has quit [Client Quit]
justache has quit [Ping timeout: 240 seconds]
<p_l> fd-stream is a subtype of standard file stream, iirc
<Josh_2> yep I figured that out
<Josh_2> thanks anyway :)
<Josh_2> seems to be working :)
knuckles has quit [Ping timeout: 246 seconds]
vidak` has quit [Ping timeout: 246 seconds]
knuckles has joined #lisp
Bit_MCP has quit [Quit: Leaving]
justache has joined #lisp
terpri_ has joined #lisp
wxie has joined #lisp
terpri has quit [Ping timeout: 260 seconds]
quazimodo has joined #lisp
Oladon has quit [Quit: Leaving.]
ahungry has joined #lisp
JohnTalent has quit [Quit: leaving]
wxie has quit [Remote host closed the connection]
wsinatra has quit [Ping timeout: 240 seconds]
wsinatra has joined #lisp
wsinatra has quit [Client Quit]
wsinatra has joined #lisp
oxum has quit [Ping timeout: 265 seconds]
kinope has quit [Quit: Connection closed for inactivity]
efm has joined #lisp
oxum has joined #lisp
Oladon has joined #lisp
bhartrihari has joined #lisp
justache has quit [Quit: The Lounge - https://thelounge.chat]
oxum has quit [Ping timeout: 258 seconds]
justache has joined #lisp
wsinatra has quit [Quit: WeeChat 2.8]
holycow has quit [Quit: Lost terminal]
oxum has joined #lisp
flazh has quit [Ping timeout: 256 seconds]
nicktick has joined #lisp
edgar-rft has quit [Quit: Leaving]
bitmapper has quit [Ping timeout: 240 seconds]
bhartrihari has left #lisp ["Disconnected: closed"]
tyf-nick has joined #lisp
aeth_ has joined #lisp
jesse1010 has quit [Ping timeout: 246 seconds]
aeth has quit [Ping timeout: 264 seconds]
ebzzry has joined #lisp
aeth_ is now known as aeth
shifty has quit [Ping timeout: 265 seconds]
wxie has joined #lisp
space_otter has joined #lisp
bhartrihari has joined #lisp
ebzzry has quit [Read error: Connection reset by peer]
zaquest has quit [Quit: Leaving]
bhartrihari has left #lisp ["Disconnected: closed"]
zaquest has joined #lisp
bhartrihari has joined #lisp
Josh_2 has quit [Ping timeout: 265 seconds]
<beach> Good morning everyone!
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
ebzzry has joined #lisp
oxum has quit [Remote host closed the connection]
nullman has quit [Ping timeout: 260 seconds]
ebzzry has quit [Client Quit]
oxum has joined #lisp
nullman has joined #lisp
oxum has quit [Ping timeout: 256 seconds]
oxum has joined #lisp
frgo_ has quit []
frgo has joined #lisp
Bike has quit [Quit: Lost terminal]
_whitelogger has joined #lisp
akoana has left #lisp ["Leaving"]
jw4 has quit [Quit: tot siens]
Khisanth has quit [Ping timeout: 246 seconds]
jw4 has joined #lisp
wxie has quit [Ping timeout: 256 seconds]
dominic34 has quit [Ping timeout: 240 seconds]
dominic34 has joined #lisp
thmprover has quit [Quit: Another long day's journey into night.]
oxum has quit [Remote host closed the connection]
oxum has joined #lisp
Khisanth has joined #lisp
sdumi has quit [Ping timeout: 240 seconds]
sdumi has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
dddddd has quit [Ping timeout: 264 seconds]
bhartrihari has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
dominic34 has quit [Ping timeout: 240 seconds]
bsd4me has quit [Quit: Leaving]
bhartrihari has joined #lisp
narimiran has joined #lisp
v88m has quit [Ping timeout: 256 seconds]
sdumi has quit [Ping timeout: 265 seconds]
gxt has quit [Ping timeout: 240 seconds]
Theseus has joined #lisp
gxt has joined #lisp
jdz has quit [Ping timeout: 258 seconds]
jdz has joined #lisp
Bourne has joined #lisp
heredoc has quit [Ping timeout: 272 seconds]
wxie has joined #lisp
paul0 has quit [Remote host closed the connection]
paul0 has joined #lisp
malm has quit [Quit: Bye bye]
heredoc has joined #lisp
JohnMS_WORK has joined #lisp
ahungry has quit [Remote host closed the connection]
sdumi has joined #lisp
cmatei has quit [Ping timeout: 240 seconds]
sdumi has quit [Ping timeout: 258 seconds]
sdumi has joined #lisp
scymtym_ has quit [Ping timeout: 258 seconds]
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
Jesin has joined #lisp
heisig has joined #lisp
wxie has quit [Ping timeout: 246 seconds]
wxie has joined #lisp
<phoe> morning
<beach> Hello phoe.
malm has joined #lisp
gravicappa has joined #lisp
bhartrihari has joined #lisp
pve has joined #lisp
v88m has joined #lisp
wxie1 has joined #lisp
wxie has quit [Ping timeout: 260 seconds]
wxie1 is now known as wxie
flazh has joined #lisp
scymtym has joined #lisp
bocaneri has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
cmatei has joined #lisp
White_Flame has quit [Ping timeout: 256 seconds]
tyf-nick has quit [Ping timeout: 256 seconds]
estest has joined #lisp
bocaneri has quit [Remote host closed the connection]
shka_ has joined #lisp
White_Flame has joined #lisp
wxie has quit [Ping timeout: 256 seconds]
wxie has joined #lisp
vaporatorius_ has joined #lisp
vaporatorius__ has quit [Read error: Connection reset by peer]
quazimodo has quit [Ping timeout: 260 seconds]
bocaneri has joined #lisp
White_Flame has quit [Ping timeout: 256 seconds]
liberliver has joined #lisp
ralt has joined #lisp
wxie has quit [Remote host closed the connection]
macdavid313 has quit [Ping timeout: 260 seconds]
rgherdt has joined #lisp
oxum has quit [Remote host closed the connection]
oxum has joined #lisp
White_Flame has joined #lisp
Oladon has quit [Quit: Leaving.]
space_otter has quit [Ping timeout: 240 seconds]
oxum has quit [Ping timeout: 256 seconds]
oxum has joined #lisp
Cymew has joined #lisp
macdavid313 has joined #lisp
space_otter has joined #lisp
varjag has joined #lisp
oxum has quit [Ping timeout: 240 seconds]
zigpaw has quit [Quit: Ping timeout (120 seconds)]
zigpaw has joined #lisp
zooey has quit [Remote host closed the connection]
zooey has joined #lisp
zooey has quit [Remote host closed the connection]
zooey has joined #lisp
gaqwas has quit [Remote host closed the connection]
White_Flame has quit [Ping timeout: 240 seconds]
Oladon has joined #lisp
vidak` has joined #lisp
jonatack has quit [Ping timeout: 260 seconds]
oxum has joined #lisp
White_Flame has joined #lisp
oxum has quit [Remote host closed the connection]
<flip214> Is there something like SLOCCOUNT for Lisp that counts number of forms? Number of lines isn't that helpful for code like (IF (condition) \n T \n NIL)
<phoe> it wouldn't really count lines of code I guess so "sloc" would be a misnomer, but I think it could work; read all files of a system and count the total number of times read was successful (until EOF was hit)
<phoe> don't know about any such utility that would be integrated into ASDF
Bourne has quit [Remote host closed the connection]
<phoe> I guess you could pass a custom :around-compile function to a system to achieve that, but that requires modifying the ASDF system file
<phoe> there is also no read-hook, that would be easy to implement with one
twelvemonkeys has quit [Ping timeout: 246 seconds]
v88m has quit [Ping timeout: 240 seconds]
twelvemonkeys has joined #lisp
heisig has quit [Ping timeout: 256 seconds]
shifty has joined #lisp
Khisanth has quit [Ping timeout: 256 seconds]
wxie has joined #lisp
<flip214> phoe: that would only count the top-most forms, I'm looking for some "better" estimation of size, like total count of forms including subforms
<flip214> sloccount was just an example that already exists; I might be looking for a form-count or so
<flip214> but with possible read-tables it's not as easy as it sounds
<flip214> perhaps I can just walk each file, reading and evaluating forms, and counting the number of forms?!
<lonjil> Maybe you could do this with Eclector
<estest> flip214: maybe you could dig into SBCL's coverage report generator. Its output contains a count of expressions for each file in the report.
wxie1 has joined #lisp
<phoe> flip214: oh, *including* subforms!
<phoe> before or after macroexpansion? if before, then eclector would be the way to go
heisig has joined #lisp
wxie has quit [Ping timeout: 244 seconds]
<pve> could *macroexpand-hook* help?
<phoe> uh oh
<pve> not super familiar with how it works though..
<phoe> it would give rough estimates, I guess, but then you'd also need to evaluate the forms
<flip214> phoe: should be before macroexpansion
<phoe> not just read them
<pve> hmm true
<flip214> but an ASDF :around-compile only gets a thunk as argument and no filename, right?
wxie1 has quit [Ping timeout: 240 seconds]
<phoe> flip214: correct
<phoe> you'd need to be able to bind some special variables in there or something, but I don't know of any.
<phoe> I guess I shall once again suggest eclector
wxie has joined #lisp
Khisanth has joined #lisp
orivej has joined #lisp
oxum has joined #lisp
oxum has quit [Remote host closed the connection]
ljavorsk has joined #lisp
wxie has quit [Read error: Connection reset by peer]
wxie has joined #lisp
<flip214> phoe: that still needs ASDF dependencies resolving and similar stuff... reading sources isn't a problem, my assumption is working code anyway
<phoe> flip214: I guess that you need to load all dependencies of a system and then read the source files
drdee has joined #lisp
oxum has joined #lisp
<beach> flip214: For counting forms, you could probably convince Eclector to do that.
Oladon has quit [Quit: Leaving.]
efm has quit [Remote host closed the connection]
akrl`` has joined #lisp
efm has joined #lisp
loke` has joined #lisp
vidak`` has joined #lisp
h111 has joined #lisp
_Ark_ has joined #lisp
ark has quit [Ping timeout: 265 seconds]
loke has quit [Remote host closed the connection]
akrl` has quit [Read error: Connection reset by peer]
Zotan has quit [Remote host closed the connection]
zmt00 has joined #lisp
vidak` has quit [Ping timeout: 265 seconds]
h11 has quit [Read error: Connection reset by peer]
h111 is now known as h11
zmt01 has quit [Ping timeout: 260 seconds]
oxum has quit [Ping timeout: 258 seconds]
Zotan has joined #lisp
<flip214> phoe: that's what I'm doing now.
narendraj9 has quit [Ping timeout: 246 seconds]
frgo_ has joined #lisp
narendraj9 has joined #lisp
gioyik has quit [Quit: WeeChat 2.8]
frgo has quit [Ping timeout: 240 seconds]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
<flip214> hmmm, so I get an answer... how would I verify that most easily?
<scymtym> flip214: compare your answer to https://techfak.de/~jmoringe/count-forms.lisp . but seriously, it depends on what you exactly you want to count
oxum has joined #lisp
<flip214> I added a :file-regex argument and counted a small file manually, thanks all the same!
nicktick has quit [Ping timeout: 258 seconds]
<beach> scymtym: For unique EOF values I typically just do (list nil).
wxie has quit [Ping timeout: 260 seconds]
<beach> scymtym: Does the GENSYM have any advantages?
<flip214> from 2573 to 2568 forms, so my rewrite actually might have made things easier ;)
<scymtym> beach: i haven't really thought about it much. i guess it has no runtime overhead
<flip214> well, TBH, a NIL on the top level isn't really important (source code complexity-wise)
seok has joined #lisp
<seok> how do you decide when to use alists, plists, or hashes?
<phoe> seok: I simply use hashes :D
<seok> yeah me too
<phoe> unless I need to pass arguments to functions, then plists come in handy
<beach> seok: You can safely ignore such feelings.
<seok> ok
<phoe> IMO the biggest issue that makes them "unlispy" is a lack of standardized means of printing hash tables readably
<phoe> like, no #H(:a 1 :b 2 :c 3) or something like that.
<flip214> seok: alists and plists can be "locally extended" much more easily in recursive calls
<phoe> other than that, "lispy" is a very very subjective thing, so what beach said
<seok> like, other languages have just a single key/value pair object
<seok> lisp has 3
<phoe> "has"
orivej_ has joined #lisp
<seok> it probably contributes to the learning curve of CL for new lispers
orivej has quit [Ping timeout: 256 seconds]
<flip214> and alists vs. plists - the (key . value) cons of alists can be very efficiently be shared among multiple alists
<phoe> alists and plists are conventions rather than objects of their own
<seok> that is true
<seok> phoe
<flip214> seok: well, there are different time/cpu tradeoffs
<phoe> but, yeah, three conventions
<seok> the access difficulty increases as number of keys increase for alists/plists right?
<seok> like normal lists
<phoe> difficulty? you mean time complexity?
<seok> yeah
<phoe> yes, it's linear
<phoe> for hashtables it's amortized constant
<seok> when are alists/plists more efficient than hashes?
<seok> for small objects with few keys?
<phoe> for few keys
<phoe> which are, preferably, EQ-comparable
<phoe> so e.g. symbols
<seok> well, I'm setting up a NoSQL db
<phoe> you mean in Lisp?
<seok> I don't think it would be wise to use symbol keys
<seok> no, just api
<seok> using arangodb
<phoe> oh, so Lisp just accesses it
<seok> yeah
<phoe> if it's a document store, then what are your keys going to be?
<seok> there is a library https://github.com/gschjetne/cl-arango but it's 5 years old
<seok> and ArangoDB has gotten many updates in 5 years.. so I don't trust it
<seok> well, arangodb operates like other NoSQL dbs
<seok> I think it's sensible to use strings as keys
<seok> I suspect there would be just as much bottleneck in coercing strings to symbols and back
<phoe> seok: any reasons for why you don't grab that project, fork it, and use it as a basis?
<phoe> coercing symbols to strings is cheap, the other way around it's more expensive
<phoe> but it won't really matter much if you use strings I guess, all you'll be doing is reading these strings in and passing them to the DB unchanged
<seok> yeah, so going back and forth lisp <-> arangodb I would have to call both ways
<seok> yes
orivej_ has quit [Ping timeout: 246 seconds]
<seok> I'm not familiar with this library
<seok> I just found it, haven't read it
orivej has joined #lisp
<phoe> I'd advise you to do that; maybe you can just scavenge things from it
<seok> eh, I've written accessors to arangodb api before
<seok> their api is pretty clean
<seok> I feel it would be a bigger job to interpret this library
<seok> Does anyone use arangodb btw?
bhartrihari has left #lisp [#lisp]
terpri_ is now known as terpri
jesse1010 has joined #lisp
bhartrihari has joined #lisp
vidak`` has quit [Read error: Connection reset by peer]
Bourne has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #lisp
jonatack has joined #lisp
jonatack has quit [Client Quit]
jonatack has joined #lisp
jonatack has quit [Ping timeout: 256 seconds]
vidak`` has joined #lisp
jonatack has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
bhartrihari has left #lisp ["Disconnected: closed"]
Cymew has quit [Read error: Connection reset by peer]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
karlosz has quit [Quit: karlosz]
dale has quit [Quit: My computer has gone to sleep]
kaftejiman has joined #lisp
nicktick has joined #lisp
JetJej has joined #lisp
v3ga has joined #lisp
gaqwas has quit [Remote host closed the connection]
<flip214> SBCLs docstring for ADJUST-ARRAY says "Adjusts ARRAY's dimensions...", but it doesn't seem to _modify_ the given array, only return another one. Am I reading the docstring wrong?
<jackdaniel> is the array "expressly adjustable"?
<jackdaniel> (adjustable-array-p array)
<flip214> cltl2 says "this may be achieved either by modifying the array or by creating a new array", so I guess the docstring could be anhanced
<flip214> jackdaniel: it's allocated at runtime via (make-array 20 ...), but doesn't have a fill-pointer or so.
<jackdaniel> add :adjustable t
<jackdaniel> there is an issue in the standard touching this subject: http://www.lispworks.com/documentation/HyperSpec/Issues/iss005_w.htm
random-nick has joined #lisp
<flip214> jackdaniel: yeah, thanks. so perhaps the docstring should be modified to avoid such confusion.
orivej has quit [Quit: No Ping reply in 180 seconds.]
space_otter has quit [Remote host closed the connection]
holycow has joined #lisp
orivej has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
macdavid313 has quit [Quit: macdavid313]
macdavid313 has joined #lisp
dyelar has joined #lisp
EvW has joined #lisp
rgherdt_ has joined #lisp
rgherdt has quit [Ping timeout: 258 seconds]
vidak`` has quit [Ping timeout: 265 seconds]
narimiran has quit [Ping timeout: 260 seconds]
rgherdt_ has quit [Remote host closed the connection]
narimiran has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
kaftejiman has quit [Ping timeout: 240 seconds]
kaftejiman has joined #lisp
orivej_ has joined #lisp
orivej has quit [Ping timeout: 256 seconds]
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 246 seconds]
vidak` has joined #lisp
jonatack has quit [Ping timeout: 256 seconds]
rgherdt has joined #lisp
kinope has joined #lisp
Lord_of_Life_ is now known as Lord_of_Life
Bike has joined #lisp
ebrasca has joined #lisp
Fade has quit [Ping timeout: 256 seconds]
Fade has joined #lisp
Fade is now known as Guest24313
Cymew has joined #lisp
dyelar has quit [Ping timeout: 244 seconds]
dyelar has joined #lisp
<phoe> flip214: perhaps it's worth to notify #sbcl
drdee has quit [Ping timeout: 260 seconds]
vidak` has quit [Remote host closed the connection]
orivej has joined #lisp
dyelar has quit [Quit: Leaving.]
orivej_ has quit [Ping timeout: 260 seconds]
<flip214> phoe: yeah, sent a patch
dddddd has joined #lisp
rixard has quit [Ping timeout: 240 seconds]
paul0 has quit [Quit: Leaving]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
orivej_ has joined #lisp
twelvemonkeys has quit [Ping timeout: 260 seconds]
orivej has quit [Read error: Connection reset by peer]
twelvemonkeys has joined #lisp
terpri has quit [Remote host closed the connection]
terpri has joined #lisp
shifty has quit [Ping timeout: 260 seconds]
oxum_ has joined #lisp
oxum has quit [Ping timeout: 260 seconds]
nullman has quit [Remote host closed the connection]
nullman has joined #lisp
arbv has quit [Ping timeout: 264 seconds]
JohnMS_WORK has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
<phoe> jackdaniel: did your mailbox implementation end up anywhere?
arbv has joined #lisp
<phoe> and by "end up anywhere" I mean "did it become available as (a part of) any other ASDF-loadable system
wsinatra has joined #lisp
<flip214> in case anyone's interested, https://gist.github.com/phmarek/119b2e8051109b308c99842134e4f9c8 to count forms
bhartrihari has joined #lisp
Bourne has quit [Ping timeout: 240 seconds]
<ralt> phoe: I think lparallel.queue is pretty much that
orivej_ has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
<phoe> flip214: send it some sorta blog :D
kaftejiman has quit [Quit: Leaving]
<flip214> phoe: yeah, I'd like to have the time for that... I guess I'm doing quite interesting stuff sometimes, but there's so little time
EvW has quit [Ping timeout: 260 seconds]
X-Scale has quit [Ping timeout: 240 seconds]
<phoe> flip214: I basically have a blog where I sometimes stuff code snippets in an almost-raw form, that's all
<phoe> sometimes more polished articles, but only when I have the time
<phoe> sometimes it's just half-raw and half baked :D
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
bhartrihari has left #lisp [#lisp]
bsd4me has joined #lisp
bsd has joined #lisp
<jackdaniel> phoe: it will, in the terminal control library
<jackdaniel> (charming)
X-Scale has joined #lisp
bsd has quit [Client Quit]
<flip214> phoe: well, some explanation, graphs, or pictures is needed quite often
drdee has joined #lisp
scymtym has quit [Ping timeout: 244 seconds]
orivej has quit [Ping timeout: 256 seconds]
wxie has joined #lisp
orivej has joined #lisp
FreeBirdLjj has joined #lisp
wxie1 has joined #lisp
msk has joined #lisp
wxie has quit [Read error: Connection reset by peer]
wxie1 is now known as wxie
<phoe> jackdaniel: thanks
<phoe> flip214: agreed; however in this case it's "CLOC, except it's lisp forms instead of lines"
ljavorsk has quit [Ping timeout: 246 seconds]
<flip214> SFOC
<Xach> jackdaniel: what's up with the weird use of ldb in your most recent post?
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
<Xach> I am almost certain there are implementations that do not use conses as bytespecs.
<phoe> oh, you mean (ldb '(8 . 24) color) ?
<Xach> aye
<phoe> CCL doesn't use bytespaces
<phoe> uh
<phoe> conses as bytespecs I mean
wxie1 has joined #lisp
<Xach> now i am even more almost certain
<Xach> there may be context in previous posts that i missed, or in that post, even
<phoe> (byte 2 4) ;=> 48
<Xach> if so, sorry for the noise - but it does look weird to me in that specific case
wxie has quit [Ping timeout: 244 seconds]
bsd4me has quit [Remote host closed the connection]
bsd4me has joined #lisp
nullman has quit [Ping timeout: 258 seconds]
wxie has joined #lisp
nullman has joined #lisp
wxie1 has quit [Ping timeout: 240 seconds]
dominic34 has joined #lisp
bhartrihari has joined #lisp
edgar-rft has joined #lisp
msk has quit [Quit: Leaving]
cairn has joined #lisp
cairn has quit [Changing host]
wxie has quit [Ping timeout: 265 seconds]
msk has joined #lisp
Josh_2 has joined #lisp
kinope has quit [Quit: Connection closed for inactivity]
TwoNotes has joined #lisp
<TMA> (byte 2 4) ;=> #S(BYTE :SIZE 2 :POSITION 4) ;clisp
rgherdt has quit [Remote host closed the connection]
holycow has quit [Quit: Lost terminal]
<jackdaniel> Xach: human error, I'll correct it later today
dominic34 has quit [Ping timeout: 264 seconds]
<jackdaniel> thanks for bringing this up
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
whiteline has joined #lisp
seok has quit [Ping timeout: 245 seconds]
rumbler31_ has joined #lisp
scymtym has joined #lisp
Cymew has quit [Read error: Connection reset by peer]
TwoNotes has quit [Quit: Leaving]
Bit_MCP has joined #lisp
jw4 has quit [Read error: Connection reset by peer]
jw4 has joined #lisp
JetJej has quit [Quit: [Quit]]
dale_ has joined #lisp
dale_ is now known as dale
bitmapper has joined #lisp
oxum_ has quit [Remote host closed the connection]
bhartrihari has left #lisp ["Disconnected: closed"]
bhartrihari has joined #lisp
drdee has quit [Quit: Leaving]
dominic34 has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
srji has quit [Ping timeout: 265 seconds]
gaqwas has quit [Remote host closed the connection]
orivej_ has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
<pve> Is there a recommended documentation generation library?
Bourne has joined #lisp
<beach> Documentation can't be generated. It has to be written.
<pve> fair enough, I meant something that can take my docstrings and turn them into, say, a html document
<beach> That makes for some really awful documentation indeed.
<beach> Because there is no way to put general information, concepts, etc.
<beach> Plus, since space is kind of limited in docstrings, you get awful documentation for individual functions. Take SBCL CAR for instance: "Return the 1st object in a list."
<beach> It is incomplete and inaccurate.
|Pirx| has joined #lisp
<jackdaniel> Xach: corrected, thanks again
rogersm has joined #lisp
Lycurgus has joined #lisp
oxum has joined #lisp
<phoe> pve: try Staple
<pve> beach: I mean, you're not wrong, but I still think docstrings are pretty neat
<pve> phoe: thanks, will have a look
<edgar-rft> pve: here is a rather long list of CL doc-generators -> https://www.cliki.net/Documentation%20tool
<edgar-rft> the only one I ever have worked with is Albert and it did its job pretty well
jonatack has joined #lisp
<edgar-rft> but a real manual also needs to explain the overall idea and why it was implemented the way it is, both cannot be extracted from the docstrings
<pve> edgar-rft: thanks, and yes, a high-level document is definitely required
<jackdaniel> clearly it is not required given that most new project doesn't have documentation, it is a nice touch though :)
<jackdaniel> sjl wrote an essay about writing documentation I've liked very much (https://stevelosh.com/blog/2013/09/teach-dont-tell/)
rippa has joined #lisp
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
edgar-rft has quit [Quit: Leaving]
<pve> jackdaniel: that looks useful, will read
orivej has joined #lisp
<pve> I will admit, I'm guilty of all the sins mentioned there
<beach> jackdaniel: Thanks. Never read that one. A quick glance tells me he knows what he is talking about.
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #lisp
heisig has quit [Quit: Leaving]
<Josh_2> afternoon
<beach> Hello Josh_2.
<jackdaniel> sure
<jackdaniel> hey
orivej has quit [Quit: No Ping reply in 180 seconds.]
<phoe> hey!
orivej has joined #lisp
<contrapunctus> edgar-rft: https://documentation.divio.com/
theseb has joined #lisp
grumble is now known as rawr
<Xach> sjl stands for Steve's (not) Joking (when it comes to) Lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
<contrapunctus> lol
Lycurgus has quit [Remote host closed the connection]
orivej has joined #lisp
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
bsd4me has quit [Remote host closed the connection]
rogersm_ has joined #lisp
jonatack has quit [Ping timeout: 272 seconds]
jonatack has joined #lisp
twelvemonkeys has quit [Ping timeout: 260 seconds]
andrei-n has joined #lisp
twelvemonkeys has joined #lisp
EvW1 has joined #lisp
efm has quit [Ping timeout: 264 seconds]
cosimone has joined #lisp
Bit_MCP has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
efm has joined #lisp
cosimone_ has joined #lisp
cosimone has quit [Ping timeout: 260 seconds]
gaqwas has joined #lisp
sdumi has quit [Ping timeout: 260 seconds]
sdumi has joined #lisp
rogersm_ has quit [Remote host closed the connection]
rgherdt has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
Bit_MCP has joined #lisp
Bit_MCP has quit [Remote host closed the connection]
karayan has quit [Ping timeout: 244 seconds]
FreeBirdLjj has quit [Ping timeout: 260 seconds]
dyelar has joined #lisp
simendsjo has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
orivej has joined #lisp
Jesin has quit [Quit: Leaving]
cosimone_ has quit [Remote host closed the connection]
cosimone_ has joined #lisp
bhartrihari has joined #lisp
EvW1 has quit [Ping timeout: 260 seconds]
Inline has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
dominic34 has quit [Ping timeout: 264 seconds]
Jesin has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
edgar-rft has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
EvW has joined #lisp
edgar-rft has quit [Read error: Connection reset by peer]
narimiran has quit [Ping timeout: 258 seconds]
edgar-rft has joined #lisp
rogersm_ has joined #lisp
dominic34 has joined #lisp
orivej has quit [Ping timeout: 260 seconds]
orivej_ has joined #lisp
rogersm_ has quit [Ping timeout: 260 seconds]
bsd4me has joined #lisp
simendsjo has quit [Ping timeout: 240 seconds]
orivej_ has quit [Ping timeout: 264 seconds]
orivej has joined #lisp
akoana has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
<_death> seems github just became more hostile to javascriptless browsers..
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
karlosz has joined #lisp
bocaneri has quit [Remote host closed the connection]
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
cosimone_ has quit [Ping timeout: 260 seconds]
cosimone has joined #lisp
bhartrihari has left #lisp ["Disconnected: closed"]
bhartrihari has joined #lisp
cosimone has quit [Client Quit]
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
bhartrihari has joined #lisp
gxt has quit [Quit: WeeChat 2.8]
<phoe> yes
<_death> I will need to consider whether to move stuff elsewhere.. but just like that they made my programming life more difficult :/
oxum has quit [Remote host closed the connection]
ralt has quit [Quit: Connection closed for inactivity]
rogersm_ has joined #lisp
rogersm_ has quit [Ping timeout: 256 seconds]
efm has quit [Ping timeout: 264 seconds]
efm has joined #lisp
rumbler31_ has quit [Ping timeout: 260 seconds]
q3d has joined #lisp
bhartrihari has left #lisp ["Disconnected: closed"]
gaqwas has quit [Remote host closed the connection]
<phoe> _death: there's an Online Lisp Meeting #4 to sweeten your pain a little bit
<_death> awesome :).. hopefully will be awake when it happens
orivej_ has joined #lisp
bhartrihari has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
bsd4me has quit [Remote host closed the connection]
grewal has quit [Ping timeout: 260 seconds]
q3d has quit [Ping timeout: 245 seconds]
grewal has joined #lisp
epony has quit [Ping timeout: 258 seconds]
cosimone has joined #lisp
Theseus has quit [Remote host closed the connection]
Theseus has joined #lisp
Theseus has quit [Remote host closed the connection]
bsd4me has joined #lisp
grewal has quit [Ping timeout: 260 seconds]
Theseus has joined #lisp
grewal has joined #lisp
tutti has joined #lisp
gravicappa has quit [Ping timeout: 260 seconds]
gargaml has joined #lisp
gravicappa has joined #lisp
gekkou has joined #lisp
rogersm has quit [Quit: Leaving...]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
Jonsky has joined #lisp
<Jonsky> I keep getting "odd number of &key arguents" when I called (defun test-fun (&rest args &key k) (list args k)) with (test-fun "h" "i" "j" :k "k")
<Jonsky> Anything I did wrong?
<Inline> &rest expects a list
<Inline> ?
<Bike> if you have &key, the entire &rest list must be a keyword argument list
<Bike> you can't have some random elements and then keywords, which is what you seem to be going for
<Jonsky> argh, yes
grewal has quit [Ping timeout: 246 seconds]
grewal has joined #lisp
<Jonsky> Is there anyway I can have an argument list thats accept any number of inputs and then a keyword argument?
<phoe> Jonsky: yes, &rest
<phoe> parse the arglist manually afterwards
<Krystof> any even number of inputs and then a keyword argument, sort of
<Krystof> (defun test-fun (&rest args &aux (k (getf args :k))) ...)
<Jonsky> wow.
<Krystof> (this is not a good idea)
<Bike> the reason for this restriction is that keywords are just values rather than syntax, so there would be no clear way to distinguish where the keys start
<Jonsky> I was puzzled because I see the argument list of ~reduce~ is kinda like that
<Krystof> the argument list of reduce has exactly two arguments, then keyword arguments
<Jonsky> (FUNCTION SEQUENCE &REST ARGS &KEY (KEY NIL) FROM-END
<Jonsky> (START 0) (END NIL) (INITIAL-VALUE NIL IVP))
<Bike> having _required_ arguments before the keywords is fine
<Jonsky> See? There's &REST ARGS followed by &KEY
<Bike> yes, but the entire &rest list is keywords
<Krystof> right, exactly two arguments, function and sequence
<Bike> try ((lambda (&rest r &key k) (values r k)) :k 7)
<Krystof> and then keyword arguments, which are also (for someone's convenience) all kept in a &rest list
<Inline> how about passing nil in odd positions ?
<Krystof> clhs 3.4.1.4
<specbot> Specifiers for keyword parameters: http://www.lispworks.com/reference/HyperSpec/Body/03_dad.htm
<Jonsky> Phew, I give up. Just make every arg compulsory
dominic34 has quit [Ping timeout: 258 seconds]
mariotomo has joined #lisp
<Krystof> " If &key is specified, there must remain an even number of arguments"
<Inline> (test-fun "h" "i" "j" nil :k "k")
<Inline> hmm
mariotomo has left #lisp ["rcirc on GNU Emacs 25.1.1"]
<Jonsky> Unknown &KEY argument: "h"
<Jonsky> Krystof: thx for the link
theseb has quit [Quit: Leaving]
<shka_> hello all
<Jonsky> hi
<Inline> yah
<shka_> i finally added causal-forest to the statistical-learning, here is an example https://github.com/sirherrbatka/statistical-learning/blob/master/examples/promotions.lisp
<Inline> so use only &rest
<shka_> good night all!
<Jonsky> seems it's my only choice
gekkou has quit [Ping timeout: 240 seconds]
gioyik has joined #lisp
gekkou has joined #lisp
Jonsky has quit [Quit: time to rest]
wsinatra has quit [Quit: WeeChat 2.8]
xantoz has quit [Quit: fuck]
narimiran has joined #lisp
shka_ has quit [Ping timeout: 240 seconds]
rumbler31 has joined #lisp
epony has joined #lisp
rumbler31 has quit [Ping timeout: 240 seconds]
rogersm has joined #lisp
shifty has joined #lisp
karayan has joined #lisp
grewal has quit [Read error: Connection reset by peer]
grewal has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
gravicappa has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
chipolux has quit [Quit: chipolux]
kaftejiman has joined #lisp
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
andrei-n has quit [Read error: Connection reset by peer]
andrei-n has joined #lisp
xantoz has joined #lisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
xantoz has quit [Client Quit]
xantoz has joined #lisp
orivej has joined #lisp
gargaml has quit [Quit: WeeChat 2.8]
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
bhartrihari has left #lisp ["Disconnected: Replaced by new connection"]
mason has quit [Remote host closed the connection]
mason has joined #lisp
orivej has quit [Ping timeout: 265 seconds]
gekkou has quit [Ping timeout: 258 seconds]
orivej_ has joined #lisp
gekkou has joined #lisp
rogersm has quit []
gaqwas has joined #lisp
gaqwas has joined #lisp
gaqwas has quit [Changing host]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #lisp
kaftejiman has quit [Remote host closed the connection]
pve has quit [Quit: leaving]
narimiran has quit [Ping timeout: 256 seconds]
efm has quit [Ping timeout: 240 seconds]
Theseus has quit [Remote host closed the connection]
ChibaPet has joined #lisp
|Pirx_off| has joined #lisp
efm has joined #lisp
Theseus has joined #lisp
Theseus has quit [Remote host closed the connection]
mason has quit [Disconnected by services]
ChibaPet is now known as mason
Theseus has joined #lisp
|Pirx| has quit [Ping timeout: 258 seconds]
|Pirx| has joined #lisp
|Pirx_off| has quit [Ping timeout: 256 seconds]
efm has quit [Ping timeout: 240 seconds]
efm_ has joined #lisp
karayan has quit [Ping timeout: 260 seconds]
akoana has left #lisp ["Leaving"]
|Pirx| has quit [Remote host closed the connection]
dominic34 has joined #lisp
APic has quit [Ping timeout: 265 seconds]
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #lisp
Theseus has quit [Remote host closed the connection]
Theseus has joined #lisp
flazh has quit [Ping timeout: 256 seconds]
funnel has quit [Ping timeout: 258 seconds]
Theseus has quit [Remote host closed the connection]
Theseus has joined #lisp
funnel has joined #lisp
andrei-n has quit [Quit: Leaving]
efm_ has quit [Quit: Konversation terminated!]
Theseus has quit [Remote host closed the connection]
Theseus has joined #lisp
edgar-rft has quit [Quit: Leaving]
nicktick has quit [Ping timeout: 256 seconds]
Inline has quit [Ping timeout: 240 seconds]
tutti has quit [Ping timeout: 272 seconds]
cosimone has quit [Ping timeout: 260 seconds]
thmprover has joined #lisp
v3ga has quit [Ping timeout: 240 seconds]
v3ga has joined #lisp
rgherdt has quit [Ping timeout: 265 seconds]
msk has quit [Remote host closed the connection]
msk has joined #lisp
davsebamse has quit [Ping timeout: 246 seconds]
mrSpec has quit [Ping timeout: 260 seconds]
mrSpec has joined #lisp
mrSpec is now known as Guest22662
random-nick has quit [Ping timeout: 264 seconds]
davsebamse has joined #lisp
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 264 seconds]
Lord_of_Life_ is now known as Lord_of_Life
quazimodo has joined #lisp
flazh has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #lisp
gekkou has quit [Ping timeout: 256 seconds]
nicktick has joined #lisp
gekkou has joined #lisp