jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | offtopic --> #lispcafe
Spawns_Carpetin- has joined #lisp
irc_user has joined #lisp
akoana has left #lisp ["Leaving"]
ebrasca has quit [Remote host closed the connection]
Spawns_Carpetin| has joined #lisp
Spawns_Carpetin- has quit [Ping timeout: 268 seconds]
klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<mister_m> What causes (subseq "a" 1) to result in ""? If I try to access the character at that same position, it would result in an out of bounds error.
<aeth> (elt (subseq "a" 0) 0) => #\a
<aeth> (elt (subseq "a" 1) 0) ; errors
<aeth> So it's consistent with that behavior
srhm has quit [Remote host closed the connection]
xkapastel has quit [Quit: Connection closed for inactivity]
<aeth> It's probably permitted to allow iteration that ends with "", which is sort of like list processing (a lot of those algorithms end on NIL)
<mister_m> I see, that makes sense to me
Josh_2 has joined #lisp
White_Flame has quit [Ping timeout: 246 seconds]
<aeth> This whole way of thinking kind of parallels car/cdr, except that it's not efficient (since SUBSEQ is consing up a new string each time)
Nilby has joined #lisp
gigamonkey has quit [Ping timeout: 252 seconds]
<saturn2> it's permitted for the start of a sequence bounding index to equal the length of the sequence
<saturn2> the result is simply an empty sequence
<aeth> it makes sense because it's sequence-generic including lists, e.g. (subseq (list #\a) 1) or (subseq (list #\a #\b #\c) 1) not just (subseq "a" 1) or (subseq "abc" 1)
<aeth> So it really is just a generalization of CDR
zaquest has joined #lisp
<aeth> (conceptually, at least... concretely, it copies!)
drl has quit [Remote host closed the connection]
<saturn2> i would say it avoids a class of special cases you'd otherwise need to check for, and just makes logical sense
<saturn2> similar to how (+) is 0
Spawns_Carpeting has joined #lisp
Spawns_Carpetin| has quit [Ping timeout: 240 seconds]
<saturn2> the length of a subsequence is always (- end start), whether or not start and end are equal
<mister_m> thanks for the clarification; I've been doing a lot of car/cdr iteration lately and that sort of jumped out as a "huh" moment
gigamonkey has joined #lisp
ghard has quit [Read error: Connection reset by peer]
White_Flame has joined #lisp
Spawns_Carpetin- has joined #lisp
gigamonkey has quit [Ping timeout: 240 seconds]
Spawns_Carpeting has quit [Ping timeout: 240 seconds]
White_Flame has quit [Ping timeout: 250 seconds]
Spawns_Carpetin- has quit [Ping timeout: 240 seconds]
Spawns_Carpeting has joined #lisp
imode has joined #lisp
shifty has joined #lisp
Oladon has quit [Quit: Leaving.]
xkapastel has joined #lisp
bitmapper has joined #lisp
gigamonkey has joined #lisp
notzmv has quit [Ping timeout: 268 seconds]
shifty has quit [Ping timeout: 252 seconds]
shifty has joined #lisp
gigamonkey has quit [Ping timeout: 240 seconds]
zeroish has quit [Ping timeout: 252 seconds]
shifty has quit [Ping timeout: 265 seconds]
<skami> pjb: Thanks for the clarification ! That would indeed be a fun projet to add such a read-only feature
shifty has joined #lisp
<skami> I'm surprised to learn that append doesn't copy the last list, but it does make sense
<stylewarning> APPEND, like most lisp functions, prefers to get the job done with the fewest copies
<no-defun-allowed> APPEND could get confused if it tried to copy something that isn't a list, e.g. in (append '(1 2 3) 'a)
<no-defun-allowed> (or at least, as if it used COPY-LIST to copy.)
mh__ has quit [Remote host closed the connection]
_jrjsmrtn has joined #lisp
__jrjsmrtn__ has quit [Ping timeout: 268 seconds]
ilshad`` has quit [Ping timeout: 265 seconds]
shifty has quit [Ping timeout: 252 seconds]
shifty has joined #lisp
luckless_ has joined #lisp
luckless has quit [Ping timeout: 240 seconds]
mh__ has joined #lisp
mh___ has joined #lisp
mh__ has quit [Ping timeout: 240 seconds]
_jrjsmrtn has quit [Ping timeout: 252 seconds]
__jrjsmrtn__ has joined #lisp
shifty has quit [Ping timeout: 252 seconds]
contrapunctus has left #lisp ["Disconnected: closed"]
shifty has joined #lisp
<no-defun-allowed> BANNED from the Common Lisp HyperSpec gang
gigamonkey has joined #lisp
shifty has quit [Ping timeout: 260 seconds]
shifty has joined #lisp
Oladon has joined #lisp
aeth has quit [Ping timeout: 246 seconds]
ilshad`` has joined #lisp
aeth has joined #lisp
LispSporks has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
skami has quit [Remote host closed the connection]
bilegeek has joined #lisp
renzhi has quit [Ping timeout: 250 seconds]
bilegeek_ has quit [Ping timeout: 250 seconds]
White_Flame has joined #lisp
theca has joined #lisp
LispSporks has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LispSporks has joined #lisp
hineios3 has joined #lisp
hineios has quit [Ping timeout: 260 seconds]
hineios3 is now known as hineios
mh___ has quit [Remote host closed the connection]
irc_user has quit [Quit: Connection closed for inactivity]
scm has quit [Quit: Leaving]
theca has quit [Quit: leaving]
<beach> Good morning everyone!
ilshad`` has quit [Ping timeout: 246 seconds]
LispSporks has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
LispSporks has joined #lisp
verdammelt has quit [Ping timeout: 260 seconds]
gigamonkey has quit [Ping timeout: 246 seconds]
irc_user has joined #lisp
rumbler31 has quit [Remote host closed the connection]
Mandus has quit [Ping timeout: 240 seconds]
rumbler31 has joined #lisp
liberliver has quit [Ping timeout: 260 seconds]
liberliver has joined #lisp
LispSporks has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
semz has quit [Ping timeout: 276 seconds]
orivej has quit [Ping timeout: 240 seconds]
LispSporks has joined #lisp
LispSporks has quit [Client Quit]
Mandus has joined #lisp
verdammelt has joined #lisp
notzmv has joined #lisp
LispSporks has joined #lisp
Oladon has quit [Quit: Leaving.]
yonkunas has quit [Quit: Connection closed for inactivity]
gumman has quit [Read error: Connection reset by peer]
gumman has joined #lisp
semz has joined #lisp
semz has quit [Changing host]
semz has joined #lisp
karlosz has quit [Ping timeout: 246 seconds]
mh__ has joined #lisp
mh___ has joined #lisp
mh__ has quit [Ping timeout: 240 seconds]
Nilby has quit [Ping timeout: 245 seconds]
LispSporks has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
verdammelt has quit [Ping timeout: 260 seconds]
long4mud has joined #lisp
contrapunctus has joined #lisp
gigamonkey has joined #lisp
mh___ has quit []
mindCrime_ has quit [Ping timeout: 240 seconds]
mindCrime_ has joined #lisp
Bike has quit [Quit: Lost terminal]
dukester has joined #lisp
dukester has left #lisp [#lisp]
verdammelt has joined #lisp
mindCrime_ has quit [Ping timeout: 260 seconds]
verdammelt has quit [Ping timeout: 252 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
andreyorst[m] has joined #lisp
srandon111 has quit [Quit: leaving]
narimiran has joined #lisp
bilegeek has quit [Quit: Leaving]
shifty has joined #lisp
gigamonkey has quit [Ping timeout: 240 seconds]
srandon111 has joined #lisp
monolithic has joined #lisp
ilshad`` has joined #lisp
jeosol has quit [Quit: Connection closed]
srandon111 has quit [Quit: leaving]
shifty has quit [Ping timeout: 252 seconds]
shifty has joined #lisp
retropikzel has joined #lisp
ljavorsk has joined #lisp
srandon111 has joined #lisp
attila_lendvai_ has joined #lisp
waleee-cl has quit [Quit: Connection closed for inactivity]
Sauvin has joined #lisp
actuallybatman has quit [Ping timeout: 252 seconds]
ilshad`` has quit [Ping timeout: 268 seconds]
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
andreyorst` has joined #lisp
andreyorst` has quit [Client Quit]
ilshad`` has joined #lisp
aartaka_d has joined #lisp
aartaka has quit [Ping timeout: 252 seconds]
cer-0 has quit [Quit: leaving]
orivej has joined #lisp
jeosol has joined #lisp
ilshad`` has quit [Ping timeout: 260 seconds]
Mandus has left #lisp [#lisp]
Mandus has joined #lisp
cranium_ has joined #lisp
gaqwas has quit [Ping timeout: 252 seconds]
imode has quit [Ping timeout: 240 seconds]
retropikzel has quit [Ping timeout: 276 seconds]
verdammelt has joined #lisp
ilshad`` has joined #lisp
theothornhill has joined #lisp
retropikzel has joined #lisp
andreyorst` has joined #lisp
verdammelt has quit [Ping timeout: 240 seconds]
skapata has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the IRC world.]
orivej has quit [Ping timeout: 240 seconds]
OlCe has quit [Remote host closed the connection]
pve has joined #lisp
OlCe has joined #lisp
srandon111 has quit [Ping timeout: 265 seconds]
shifty has joined #lisp
surabax has joined #lisp
srandon111 has joined #lisp
cosimone has joined #lisp
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
gigamonkey has joined #lisp
srji has quit [Remote host closed the connection]
gigamonkey has quit [Ping timeout: 260 seconds]
schjetne has joined #lisp
retropikzel has quit [Ping timeout: 276 seconds]
skapata has joined #lisp
ilshad`` has quit [Ping timeout: 265 seconds]
lottaquestions has joined #lisp
lottaquestions_ has quit [Ping timeout: 245 seconds]
hendursaga has quit [Ping timeout: 240 seconds]
lottaquestions has quit [Read error: Connection reset by peer]
lottaquestions has joined #lisp
hendursaga has joined #lisp
kevingal has joined #lisp
zacts has joined #lisp
ghard has joined #lisp
madrik has joined #lisp
IPmonger has quit [Ping timeout: 246 seconds]
andreyorst[m] has quit [Remote host closed the connection]
IPmonger has joined #lisp
OlCe has quit [Ping timeout: 246 seconds]
anticrisis_ has quit [Read error: Connection reset by peer]
retropikzel has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
shifty has joined #lisp
lotuseater has joined #lisp
supercoven has joined #lisp
cosimone has quit [Remote host closed the connection]
irc_user has quit [Quit: Connection closed for inactivity]
zacts has quit [Quit: bbl]
OlCe has joined #lisp
cage_ has joined #lisp
<madrik> Why are older versions of quicklisp-installed packages kept around after upgrading?
theothornhill has quit [Ping timeout: 260 seconds]
makomo has joined #lisp
<makomo> hello \o
zacts has joined #lisp
<beach> Hello makomo.
<makomo> hi beach :)
marcoxa has joined #lisp
<madrik> By 'older versions', I meant the archives.
alendvai__ has joined #lisp
attila_lendvai_ has quit [Ping timeout: 246 seconds]
shifty has quit [Ping timeout: 252 seconds]
shifty has joined #lisp
skapata has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the IRC world.]
theothornhill has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
shifty has joined #lisp
zooey has quit [Remote host closed the connection]
zooey has joined #lisp
hiroaki has quit [Ping timeout: 260 seconds]
ilshad`` has joined #lisp
klltkr has joined #lisp
alendvai__ has quit [Remote host closed the connection]
alendvai__ has joined #lisp
ilshad`` has quit [Ping timeout: 252 seconds]
shifty has quit [Ping timeout: 265 seconds]
hiroaki has joined #lisp
aindilis has quit [Remote host closed the connection]
alendvai__ has quit [Ping timeout: 240 seconds]
aindilis has joined #lisp
Oddity has quit [Ping timeout: 246 seconds]
vegansbane6963 has quit [Quit: The Lounge - https://thelounge.chat]
cosimone has joined #lisp
cosimone has quit [Remote host closed the connection]
cranium_ has quit [Quit: Leaving]
cosimone has joined #lisp
Oddity has joined #lisp
<luis> madrik: well, you can go back if the upgrade broke your software, or you can have different software on different versions of the quicklisp distribution
cosimone has quit [Remote host closed the connection]
cosimone has joined #lisp
aartaka has joined #lisp
aartaka_d has quit [Ping timeout: 260 seconds]
orivej has joined #lisp
marcoxa has quit [Ping timeout: 260 seconds]
kevingal has quit [Ping timeout: 246 seconds]
<Xach> madrik: you can also use ql-dist:clean to clean them up
random-nick has joined #lisp
marcoxa has joined #lisp
zacts has quit [Quit: bbl]
andrei-n has joined #lisp
AroPar has joined #lisp
<madrik> luis: Thanks for the link.
<madrik> Xach: Thanks for that.
vegansbane6963 has joined #lisp
ilshad`` has joined #lisp
Nilby has joined #lisp
ghard has quit [Read error: Connection reset by peer]
andrei-n has quit [Read error: Connection reset by peer]
ukari has quit [Remote host closed the connection]
ukari has joined #lisp
madrik has quit [Ping timeout: 260 seconds]
AroPar has quit [Quit: Leaving]
alendvai__ has joined #lisp
andrei-n has joined #lisp
rumbler31 has quit [Remote host closed the connection]
ilshad`` has quit [Ping timeout: 268 seconds]
nij has joined #lisp
rumbler31 has joined #lisp
srji has joined #lisp
verdammelt has joined #lisp
shifty has joined #lisp
retropikzel has quit [Ping timeout: 276 seconds]
nicktick has quit [Ping timeout: 265 seconds]
supercoven_ has joined #lisp
supercoven_ has quit [Max SendQ exceeded]
supercoven_ has joined #lisp
supercoven has quit [Ping timeout: 240 seconds]
<drmeister> Hello
<drmeister> Xach: We've been running a "quickclasp" server to distribute stuff specific to clasp - it's been working well.
srandon111 has quit [Ping timeout: 265 seconds]
<Xach> drmeister: nice
Spawns_Carpeting has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
Spawns_Carpeting has joined #lisp
f4r5983 has quit [Remote host closed the connection]
nij has left #lisp ["ERC (IRC client for Emacs 27.2)"]
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
srandon111 has joined #lisp
alendvai__ is now known as attila_lendvai
attila_lendvai has quit [Changing host]
attila_lendvai has joined #lisp
shifty has quit [Ping timeout: 268 seconds]
shifty has joined #lisp
<phoe> drmeister: very nice
ghard has joined #lisp
entre-parenteses has joined #lisp
sp41 has joined #lisp
rumbler31 has quit [Remote host closed the connection]
Bike has joined #lisp
nij has joined #lisp
rumbler31 has joined #lisp
<nij> Anyone knows how to use this library? In particular, how to use #'digit? to parse a digit? https://github.com/Ramarren/cl-parser-combinators/blob/9c7569a4f6af5e60c0d3a51d9c15c16d1714c845/token-parsers.lisp
<lotuseater> ah (monadic) parser combinators are powerful :)
<nij> I know I want to learn it.
jeosol has quit [Quit: Connection closed]
sp41 has quit [Quit: leaving]
sp41 has joined #lisp
yonkunas has joined #lisp
<splittist> nij: you mean beyond (parse-string* (seq-list? (digit?) (digit?) (digit?)) "123") ?
<splittist> (which yields (#\1 #\2 #\3); nil; t; nil; and a hash-table )
dm1les has quit [Ping timeout: 240 seconds]
<nij> oh wow
<nij> lemme try
PuercoPop has joined #lisp
<nij> Cool. It works. Next is to try to learn how it's implemented.. I feel like it's more advanced than my level.
<nij> splittist: Do you happen to know if cl-parser-combinators can parse sexprs?
rogersm has joined #lisp
madrik has joined #lisp
shifty has quit [Ping timeout: 260 seconds]
shifty has joined #lisp
Stim has joined #lisp
Stim has left #lisp [#lisp]
<splittist> Built in? I don't know. As a general parsing lib it must be able to if set up. I guess you'd define atom? (or whatever your language requires) then match on an open paren, any number of sexps and a close paren. Not quite like this: (parse-string* (bracket? #\( (sepby? (int?) #\Space) #\)) "(1 2 3)")
wsinatra has joined #lisp
entre-parenteses has quit [Remote host closed the connection]
<nij> Thanks for the hint. I'm not capable of building that up yet. But I've taken notes.
<nij> Now I'm very curious about one other thing.. not quite related.
<nij> From functional parsers, we see that its syntax is quite like a DSL.
ljavorsk has quit [Ping timeout: 260 seconds]
<nij> What's different is that the components of the DSL are functions!
<nij> Many articles I read about lisp only says that macro helps you create DSLs a lot easier.
<nij> But.. can macros also be useful when it comes to this sort of "functional DSLs"?
vegansbane6963 has quit [Quit: The Lounge - https://thelounge.chat]
<beach> nij: Macros are useful for introducing "syntactic abstractions", i.e., new syntax. You don't need macros if you can express your DSL as a collection of functions with normal function-call semantics. And in cases like that, you can write your DSL in any language you like.
entre-parenteses has joined #lisp
vegansbane6963 has joined #lisp
zeroish has joined #lisp
<nij> I see. That's my impression yeah. I don't see why macros and DSLs are tided together so much.. at least in many introductory articles.
<nij> Afterall, macros are for and only for syntactic abstractions.
<beach> Because, when people say "DSL", they usually mean specific syntax.
nicktick has joined #lisp
<nij> Oh, and macros can be nice tools to rewrite the syntax into more lispier ones?
<nij> Ah, then it makes sense.
paul0 has quit [Quit: Leaving]
<lotuseater> yes, they can take anything and transform it :) or when you just not want having to type in so much quotes
<lotuseater> or eg look at FORMAT, it's a function, that calls the macro FORMATTER, which takes the control-string and transforms that to the corresponding form for using the args
<nij> I see.
* nij is in awe.
<beach> nij: The use of macros to implement a DSL in Common Lisp would be used precisely to make the syntax less Lisp-y. If you want Lisp syntax, just use Common Lisp.
<lotuseater> or telling you that a symbol can't go into a slot with ~D
<pjb> beach: in general. But in the case of format, it could be used to make it lispier :-) (format (formatter "Name: (a :width 20) Age: (d :width 3) year(p :with-previous-arg t)(newline)") 'john 99)
<pjb> s/formatter/lispy-formatter/
<beach> Sure.
<nij> pjb is this a real example? It doesn't work for me
theothornhill has quit [Ping timeout: 246 seconds]
undvrainbowvita8 has quit [Ping timeout: 268 seconds]
<pjb> nij: no, it's wishfull programming.
<pjb> nij: but you can pass your own formatting function to format instead of a format control (format t (function my-formatter) a b c)
<pjb> format control n. a format string, or a function that obeys the argument conventions for a function returned by the formatter macro. See Section 22.2.1.3 (Compiling Format Strings).
shifty has quit [Ping timeout: 252 seconds]
shifty has joined #lisp
<lotuseater> oh yes, useful if one does not know how to do it with control-strings :)
<pjb> You can use it with ~? too.
entre-parenteses has quit [Quit: ERC (IRC client for Emacs 27.2)]
<pjb> Or of course, you can also use ~/custom-format-specifier-function/
theothornhill has joined #lisp
* nij : =-O
orivej has quit [Ping timeout: 260 seconds]
<pjb> the trick of the formatter macro, is to let the macro generate the function itself, from a new description of what is to be formatted.
<nij> I just learned that #'format is highly hackable.
<splittist> (defun printformatter (control-string) (lambda (stream &rest args) (apply #'printfcl:fprintf stream control-string args))) (printformatter "%d %d %d") (format t * 1 2 3) => 1 2 3 (:
<nij> Thanks!!!!
kevingal has joined #lisp
CrazyPython has joined #lisp
theothornhill has quit [Ping timeout: 240 seconds]
attila_lendvai has quit [Ping timeout: 265 seconds]
yottabyte has joined #lisp
narimiran has quit [Ping timeout: 260 seconds]
theothornhill has joined #lisp
aeth has quit [Ping timeout: 265 seconds]
cranium_ has joined #lisp
aeth has joined #lisp
theothornhill has quit [Ping timeout: 252 seconds]
theothornhill has joined #lisp
madrik has left #lisp ["dinner"]
xkapastel has joined #lisp
orivej has joined #lisp
theothornhill has quit [Ping timeout: 260 seconds]
actuallybatman has joined #lisp
varjag has quit [Quit: ERC (IRC client for Emacs 26.3)]
shifty has quit [Ping timeout: 240 seconds]
shifty has joined #lisp
theothornhill has joined #lisp
theothornhill has quit [Ping timeout: 252 seconds]
theothornhill has joined #lisp
aartaka_d has joined #lisp
theothornhill has quit [Ping timeout: 240 seconds]
aartaka has quit [Ping timeout: 260 seconds]
hypercube has quit [Ping timeout: 260 seconds]
ebrasca has joined #lisp
theothornhill has joined #lisp
toorevitimirp has joined #lisp
theothornhill has quit [Ping timeout: 252 seconds]
OlCe has quit [Ping timeout: 265 seconds]
theothornhill has joined #lisp
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
OlCe has joined #lisp
theothornhill has quit [Ping timeout: 240 seconds]
yitzi has quit [Quit: yitzi]
long4mud has quit [Quit: WeeChat 3.0.1]
imode has joined #lisp
Sheilong has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
shifty has joined #lisp
andreyorst` has quit [Quit: andreyorst`]
andreyorst` has joined #lisp
fengshaun has quit [Ping timeout: 265 seconds]
theothornhill has joined #lisp
nij has left #lisp ["ERC (IRC client for Emacs 27.2)"]
toorevitimirp has quit [Quit: Konversation terminated!]
theothornhill has quit [Ping timeout: 240 seconds]
andreyorst` has quit [Quit: andreyorst`]
toorevitimirp has joined #lisp
toorevitimirp has quit [Client Quit]
toorevitimirp has joined #lisp
toorevitimirp has quit [Quit: Konversation terminated!]
theothornhill has joined #lisp
theothornhill has quit [Remote host closed the connection]
theothornhill has joined #lisp
MIF is now known as DarthMIF
theothornhill has quit [Ping timeout: 252 seconds]
retropikzel has joined #lisp
theothornhill has joined #lisp
<phoe> European Lisp Symposium 2021 is now over and heisig, easye, SAL9000, flip214, and ehuelsmann all deserve a beer! thanks for their support!!
<SAL9000> <3
<beach> Thanks to everyone. Fantastic work!!!!!
<beach> Do we know how many participants there were in the chat(s)?
<beach> It seemed to me that several new people attended. Perhaps because of the virtual access. But it is good publicity for ELS anyway.
<heisig> The peak was at 178 participants, I think. Most of the time, we had 120-130 participants.
<beach> That's very good.
theothornhill has quit [Remote host closed the connection]
theothornhill has joined #lisp
<Nilby> Great job everyone.
zeroish has quit [Ping timeout: 265 seconds]
thrashdin has joined #lisp
<phoe> heisig: this does not include non-logged-in-people
<phoe> or people who viewed via VLC/MPV
thrashdin is now known as aun
<phoe> so it might be closer to 150 people, though we won't know that for sure
<Gnuxie[m]> wouldn't you think there are more people who aren't logged in?
<MichaelRaskin> Is this sum of Twitch + IRC membership?
<phoe> Gnuxie[m]: I would
<phoe> but I want to be conservative in my estimates
<phoe> MichaelRaskin: that's the Twitch viewer count I think
<Gnuxie[m]> fair
theothornhill has quit [Ping timeout: 252 seconds]
<heisig> Yes, that was the Twitch viewer count shown below the video.
housel has joined #lisp
theothornhill has joined #lisp
theothornhill has quit [Read error: Connection reset by peer]
theothornhill has joined #lisp
verdammelt has quit [Ping timeout: 260 seconds]
aeth has quit [Ping timeout: 265 seconds]
fengshaun has joined #lisp
aeth has joined #lisp
theothornhill has quit [Remote host closed the connection]
theothornhill has joined #lisp
long4mud has joined #lisp
theothornhill has quit [Ping timeout: 240 seconds]
aun has quit [Quit: Connection closed]
zeroish has joined #lisp
Nilby has quit [Quit: [deleted]]
narimiran has joined #lisp
thrashdin has joined #lisp
thrashdin is now known as aun
aun has left #lisp [#lisp]
entre-parenteses has joined #lisp
theothornhill has joined #lisp
mhd2018 has quit [Ping timeout: 246 seconds]
Nilby has joined #lisp
rogersm_ has joined #lisp
rogersm has quit [Read error: Connection reset by peer]
jeosol has joined #lisp
rogersm_ has quit [Client Quit]
theothornhill has quit [Ping timeout: 252 seconds]
andreyorst[m] has joined #lisp
mrchampion has quit [Read error: Connection reset by peer]
gigamonkey has joined #lisp
f4r5983 has joined #lisp
theothornhill has joined #lisp
<jmercouris> is there a way to run SBCL and have it ignore ~/.config/common-lisp/source-registry.conf.d/user-lisp.conf ?
andreyorst` has joined #lisp
<loli> jmercouris: --no-userinit maybe? I know in script mode it does not read the user default config
verdammelt has joined #lisp
jeosol has quit [Quit: Connection closed]
mrchampion has joined #lisp
<jmercouris> hm, I think that will just ignore ~/.sbclrc
<jdz> There's also --no-sysinit
gigamonkey has quit [Ping timeout: 268 seconds]
shifty has quit [Ping timeout: 268 seconds]
shifty has joined #lisp
<jmercouris> I see, thank you
<jdz> And I'm pretty sure the source registry thing is use by ASDF.
theothornhill has quit [Ping timeout: 252 seconds]
<jdz> In other words you should look at ASDF documentation about how to control it.
cranium_ has quit [Quit: Leaving]
<jmercouris> OK
<jdz> But in general why do you have ~/.config/common-lisp/source-registry.conf.d/ if you don't want it?
<jmercouris> I'm trying to figure out how to make a NixOS tool work
<jmercouris> I like having this file, and use it personally
<jmercouris> however, the tool 'quicklisp-to-nix' breaks when this file is present and populated
<loli> is it finding the wrong asdf package?
<jmercouris> Correct, and it is trying to recompile it
<loli> ahh
<loli> I've had similar issues with ros
<jmercouris> and it cannot, because it is trying to recompile in a non-writable directory
<loli> if you want the right one I often have
<loli> (push #p"./" asdf:*central-registry*)
<jdz> Pretty sure for reproducible builds you do not want to read any system or user initfiles, and provide everything on the command line.
rogersm has joined #lisp
ebrasca has quit [Remote host closed the connection]
<MichaelRaskin> The reproducible part does not see the $HOME in the first place
<jdz> Too bad this will not help with ASDF automatically looking at user initfiles.
v88m has quit [Remote host closed the connection]
nij has joined #lisp
<nij> Hello! What's the best timer you've used before? I just realize today that a robust timer isn't very easy to design.. currently the best I have is systemd.timer, but it isn't lispy at all.
v88m has joined #lisp
theothornhill has joined #lisp
mathrick has quit [Ping timeout: 240 seconds]
mathrick_ has joined #lisp
theothornhill has quit [Ping timeout: 260 seconds]
<jmercouris> nij: (bt:make-thread (lambda () (sleep 10) (make-loud-noise)))
makomo has quit [Quit: WeeChat 3.0.1]
marcoxa has quit [Ping timeout: 240 seconds]
PuercoPop has quit [Quit: PuercoPop]
<nij> I should say systemd.timer supports scheduling a job at a certain time, e.g. [2022-01-01 10:53:46]. It saves a comprehensive backlog of states and outputs/errors from the program. If the machine misses, by being off for example, the job, it will launch the job immediately next time the timer starts.
<nij> (I don't like the last feature by the way.. I think it's better for the system to inform the user.. but not force it happens at a time the user wasn't even aware of.')
hypercube has joined #lisp
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
theothornhill has joined #lisp
theothornhill has quit [Ping timeout: 240 seconds]
marcoxa has joined #lisp
ghard has quit [Read error: Connection reset by peer]
ghard` has joined #lisp
theothornhill has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
shifty has joined #lisp
theothornhill has quit [Ping timeout: 265 seconds]
verdammelt has quit [Ping timeout: 240 seconds]
DHARMAKAYA has joined #lisp
duuqnd has joined #lisp
spikhoff has quit [Ping timeout: 250 seconds]
dunk has quit [Ping timeout: 260 seconds]
b20n has quit [Ping timeout: 260 seconds]
theothornhill has joined #lisp
b20n has joined #lisp
spikhoff has joined #lisp
dunk has joined #lisp
theothornhill has quit [Ping timeout: 252 seconds]
shifty has quit [Ping timeout: 265 seconds]
cage_ has quit [Quit: Leaving]
theothornhill has joined #lisp
<jdz> nij: Pretty sure there's an option to control that.
schjetne has quit [Ping timeout: 246 seconds]
skapata has joined #lisp
<jdz> nij: Persistent.
<jdz> Actually defaults to false. See systemd.timer(5).
theothornhill has quit [Ping timeout: 252 seconds]
andreyorst` has quit [Ping timeout: 240 seconds]
theothornhill has joined #lisp
andreyorst` has joined #lisp
akoana has joined #lisp
andreyorst` has quit [Client Quit]
andreyorst` has joined #lisp
<nij> Yes, "Persistent" was what I meant.
<nij> But.. I hope there's a lispier version of systemd.timer ;)
theothornhill has quit [Ping timeout: 265 seconds]
<jdz> What do you mean by that? What does it have to do with lisp?
<lotuseater> nij: or checkout mcron
<nij> lotuseater: mcron only recovers from suspended state.
<nij> afaik it doesn't take care of other edge cases
<nij> i dunno if it logs everything.. but based on its manual.. no
<nij> mcron is more like crontab.. which is small and cool, but not robust: https://opensource.com/article/20/7/systemd-timers
Sauvin has quit [Ping timeout: 268 seconds]
theothornhill has joined #lisp
<jdz> nij: And what your imagined lispy solution would be like?
<nij> log should be a clos object.. not just a bunch of text, for example.
<nij> syntax too.. lemme give you an example
<nij> config should be in lisp as well.
<jdz> You mean config should be code?
<nij> example:
<nij> [Install]
<nij> WantedBy=multi-user.target
<jdz> Don't paste stuff here.
<nij> This should be (install (:wantedby "multi-user.target"))
<nij> (infinitely better)
<jdz> That sounds like re-writing systemd configuration using s-expressions.
<nij> This is on the config side only.
<nij> When reviewing the log.. it would be less painful as well.
<jdz> nij: Maybe you want https://www.gnu.org/software/shepherd/ ?
<nij> shepherd afaik doesn't have the timer part
<nij> shepherd is more like systemd
<nij> Both of them manage many services.
<nij> But systemd.timer is something that's "not really needed for service management, but helpful".
gurmble has joined #lisp
<jdz> All you talk about here is how you want systemd with lispy syntax, and now object that shepherd is a service manager?
grumble is now known as Guest31287
Guest31287 has quit [Killed (card.freenode.net (Nickname regained by services))]
gurmble is now known as grumble
<jdz> How is starting (and cleaning up after) services not related to service management?
<nij> no, not a lispy systemd, but a lispy systemd.timer.
<nij> (not (eq 'systemd 'systemd.timer)) ;=> t
<jdz> You can't have "systemd.timer" without "systemd".
<nij> That's right. But with systemd, you do not really need a systemd.timer. And that's, afaik, the case for shepherd.
<jdz> You don't really need an OS.
<nij> It doesn't have a dedicated timer like systemd.
<nij> jdz: yeah, all i need is pencils and papers!
<jdz> This does not seem like anything lisp related, so I'll just stop.
cosimone has quit [Remote host closed the connection]
<Nilby> nij: It sounds like you want an unix operating system controled and configured by Lisp, which is great, but you can't execpt that someone has done it for you already. The closest might be Guix with guile scheme.
<nij> Nilby: no.. not a unix OS, but a timer.
<nij> There are actually many attempts out there, including mcron (scheme), cl-cron, clerk.. But they are not a full-fledge timer.
<Nilby> On the other hand if you just want something to happen at a certain time inside a lisp process, that is not hard. Just use sleep or the system interval timer.
<nij> But I agree, I cannot expect that someone has done that. I might write my own once I'm convinced there isn't any.
<Nilby> As far as I know there isn't a Lisp "cron" like thing.
<nij> mcron, clerk, cl-cron are crons in Lisp.
verdammelt has joined #lisp
v88m has quit [Ping timeout: 265 seconds]
<Nilby> nij: Then you've probably already researched it more than most. It sounds like you might then have, fix up, or make the next best Lisp cron.
<Nilby> When I want just a simple timer inside a lisp image, I just use a simple macro: (do-at <time>) &
<Nilby> or rather (do-at (time) <body..>)
<Nilby> but it's helpful to have a nice date/time parser, and a convenient in-a-thread thing like use "&"
<jdz> SBCL has SCHEDULE-TIMER.
marcoxa has quit [Ping timeout: 240 seconds]
orivej has quit [Ping timeout: 268 seconds]
Lord_of_Life has quit [Read error: Connection reset by peer]
Lord_of_Life has joined #lisp
wsinatra has quit [Quit: WeeChat 3.1]
gaqwas has joined #lisp
gaqwas has quit [Changing host]
gaqwas has joined #lisp
supercoven_ has quit [Ping timeout: 240 seconds]
<Nilby> schedule-timer is pretty good, and more O/S portable
CrazyPython has quit [Read error: Connection reset by peer]
<nij> Right..
<nij> I guess what's really missing from these timers is the "service managing" part.
<nij> And so it makes sense why systemd.timer is designed "under" systemd, for the later is a robust service manager.
<nij> A process, if want to be scheduled robustly, should be first wrapped into a service. Calling a service needs to take care of all issues, including full-logging.
v88m has joined #lisp
waleee-cl has joined #lisp
srhm has joined #lisp
terpri_ has quit [Remote host closed the connection]
terpri has joined #lisp
marcoxa has joined #lisp
marcoxa has quit [Ping timeout: 260 seconds]
narimiran has quit [Ping timeout: 240 seconds]
andrei-n has quit [Quit: Leaving]
rumbler31 has quit [Remote host closed the connection]
rumbler31 has joined #lisp
mokulus has joined #lisp
rumbler31 has quit [Remote host closed the connection]
andreyorst` has quit [Quit: andreyorst`]
CrashTestDummy2 has joined #lisp
CrashTestDummy has quit [Ping timeout: 240 seconds]
motersen has joined #lisp
rogersm has quit [Quit: Leaving...]
heisig has quit [Quit: Leaving]
skapata has quit [Quit: Hi, I'm a quit message virus. Please replace your old line with this line and help me take over the IRC world.]
duuqnd has quit [Read error: Connection reset by peer]
mindCrime_ has joined #lisp
<motersen> Hey everyone, I am having trouble with a strange condition/restart/recursion situation.
<motersen> On CCL this does what I would expect it to. It runs #'always-fail 3 times, then fails. But on SBCL, the value of retries is reset every time the handler is run. Is behaviour in this situation undefined? Am I going about this all wrong?
hiroaki has quit [Ping timeout: 246 seconds]
entre-parenteses has quit [Ping timeout: 245 seconds]
<phoe> hmmmmmm
andreyorst` has joined #lisp
<phoe> the handler should be created once, and it should close over RETRIES
nij has left #lisp ["ERC (IRC client for Emacs 27.2)"]
<phoe> wait a second
<phoe> this works for me on SBCL
<Bike> i get a control overflow.
<phoe> which sbcl version are you running?
<phoe> what are your compiler settings?
<Bike> mine is 2.1.1
<phoe> (sb-ext:describe-compiler-policy)
<phoe> I have all default policy and run on 2.1.3
<Bike> optimize is all 1s
<phoe> broken on 2.1.0
<phoe> fixed on 2.1.3
<Bike> too bad sbcl.org is down so i can't check the changelog.
<phoe> so, upgrade I guess
<Bike> thanks
<Bike> "bug fix: HANDLER-BIND evaluates the forms producing handler functions only once. (#1916302, reported by Christophe Junke) " in 2.1.2
<motersen> oh, alright
<motersen> thanks
<motersen> looks like i will have to get roswell to get that on debian, right?
andreyorst` has quit [Client Quit]
<motersen> i have 1.4.16 installed atm
<Nilby> or clone from git://git.code.sf.net/p/sbcl/sbcl
<phoe> oh that's ancient
<Nilby> if sbcl.org is down
anticrisis has joined #lisp
<phoe> yes, you can use the old SBCL to build the new SBCL
python476 has joined #lisp
<python476> hi there
<python476> i'm trying to install quicklisp
<python476> but the .asc file verification yields https://dpaste.com/HKUEZ8B34
<motersen> ah okay, will do so. Then i'll just install the new version locally. Thank you all, that was a quick case!
<python476> I run Linux Mint 20 btw
<phoe> Xach: ^
hiroaki has joined #lisp
<Xach> python476: you have to also download the quicklisp public key - https://beta.quicklisp.org/release-key.txt is one way to get it.
<Xach> you can also get it from key servers
mokulus has quit [Ping timeout: 260 seconds]
<python476> thanks Xach
<|3b|> Xach: i have some TTF fonts that start contours on a curve control point (so not on-curve-p), which confuses zpb-ttf:do-contour-segments/do-contour-segments*, do you think it would be better to rotate the control points so the contour starts on the curve, or to make d-c-s smarter to handle that case?
* |3b| thinks adjusting the data to start on the curve would be easier, but also somewhat dislikes changing it from what's stored in the file :/
marcoxa has joined #lisp
<|3b|> actually i guess fixing it in d-c-s* might not be too hard at the cost of some efficiency when it sees that case, if it just builds a modified copy when needed and uses that with existing code
<Nilby> |3b|: A long time ago I worked on a TTF rasterizer and there were a number of fixes for degenerate fonts in it, so I guess it's not uncommon. Maybe just make sure to compare the output against other rasterizers.
<|3b|> Nilby: the font is valid as far as i can tell, it just confuses zpb-ttf
<|3b|> the points before and after that point are on the curve, and the 3 points together make the desired shape
<Xach> |3b|: hmm, i'm not really sure.
<|3b|> hmm, slightly uglier than i thought to fix it that way in d-c-s/d-c-s* since code would have to be duplicated in both
theothornhill has quit [Ping timeout: 240 seconds]
kevingal has quit [Remote host closed the connection]
<Nilby> Like lisp implemntations, I think font rasterizers sometimes have a hidden consensus of what to do with weird or unspecified input.
<Xach> i bet there were certain buggy fonts you had to live with because they were common in the world
<|3b|> in this case "make the curve go through a point that is specified to not be on the curve" is pretty obviously wrong :)
<Xach> probably that has not changed much
<|3b|> so more a question of library style than anything specific to fonts in general
theothornhill has joined #lisp
<|3b|> the font is doing something i might not have expected, but that doesn't seem completely unreasonable having seen it
<python476> I remember something about MS font handling code that could bring out the entire rendering stack
<python476> but maybe that says more about MS design than ad-hoc ttf consensus
<moon-child> microsoft's font renderer was a kernel module
<moon-child> there's no world in which that's sensible
<Xach> well, i have the luxury of not needing it to be interactively fast and fit in half a kilobyte and work with buggy files etc
lotuseater has quit [Quit: ERC (IRC client for Emacs 27.1)]
theothornhill has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 252 seconds]
verdammelt has quit [Ping timeout: 265 seconds]
marcoxa has quit [Quit: Time to go to bed]
amb007 has joined #lisp
<|3b|> hmm, i guess there probably isn't any requirement for there to actually be any explicit on-curve points, is there, so maybe trying to always start on the curve won't be completely correct either
undvrainbowvita8 has joined #lisp
andreyorst[m] has quit [Remote host closed the connection]
gigamonkey has joined #lisp
OlCe has quit [Ping timeout: 246 seconds]
Krystof has quit [Ping timeout: 240 seconds]
python476 has quit [Remote host closed the connection]
entre-parenteses has joined #lisp
aartaka_d has quit [Read error: Connection reset by peer]
Krystof has joined #lisp
rumbler31 has joined #lisp
theothor` has joined #lisp
rumbler31 has quit [Ping timeout: 240 seconds]
theothor` has quit [Ping timeout: 240 seconds]
pve has quit [Quit: leaving]
zeroish has quit [Ping timeout: 240 seconds]
notzmv has quit [Remote host closed the connection]
paul0 has joined #lisp
notzmv has joined #lisp
skapata has joined #lisp
paul0 has quit [Remote host closed the connection]
paul0 has joined #lisp
dtman34 has quit [Quit: ZNC 1.7.2+deb3 - https://znc.in]
dtman34 has joined #lisp
dtman34 has quit [Remote host closed the connection]
dtman34 has joined #lisp
akoana has left #lisp ["Leaving"]
edvardo_ has joined #lisp
notzmv has quit [Ping timeout: 265 seconds]
DHARMAKAYA has quit [Read error: Connection reset by peer]
surabax has quit [Quit: Leaving]
shifty has joined #lisp
agumonkey has joined #lisp
<agumonkey> hi
<klltkr> Hi agumonkey
<agumonkey> hi klltkr
<agumonkey> whats up on your side of the quote
<klltkr> Nothin', just chillin', should go to bed
<agumonkey> I could say the same
shifty has quit [Ping timeout: 252 seconds]
aeth_ has joined #lisp
aeth has quit [Ping timeout: 260 seconds]
bitmapper has quit [Quit: Connection closed for inactivity]
cchristiansen has joined #lisp
random-nick has quit [Ping timeout: 252 seconds]
hiroaki has quit [Ping timeout: 260 seconds]
DGASAU has quit [Remote host closed the connection]
DGASAU` has joined #lisp
Inoperable has quit [Quit: All your buffer are belong to us!]
gum has quit [Quit: ZNC 1.7.4+deb0+bionic0 - https://znc.in]
gum has joined #lisp
TMA has quit [Ping timeout: 245 seconds]
TMA has joined #lisp
Inoperable has joined #lisp
aindilis has quit [Ping timeout: 240 seconds]
aindilis` has joined #lisp
imode has quit [Ping timeout: 240 seconds]
asarch has joined #lisp