minion has quit [Remote host closed the connection]
specbot has quit [Remote host closed the connection]
easye has quit [Read error: Connection reset by peer]
zooey has quit [Ping timeout: 240 seconds]
sammich has quit [Remote host closed the connection]
karlosz has quit [Quit: karlosz]
madage has quit [Ping timeout: 240 seconds]
karlosz has joined #lisp
null_ptr has quit [Ping timeout: 248 seconds]
cartwright has quit [Ping timeout: 240 seconds]
igemnace has joined #lisp
hostile has joined #lisp
lavaflow has joined #lisp
Bike has quit [Quit: Lost terminal]
akoana has joined #lisp
aindilis has quit [Read error: Connection reset by peer]
zooey has joined #lisp
slyrus has quit [Ping timeout: 265 seconds]
klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
cartwright has joined #lisp
libertyprime has quit [Ping timeout: 268 seconds]
asdf_asdf_asdf has quit [Remote host closed the connection]
aindilis has joined #lisp
igemnace has quit [Ping timeout: 265 seconds]
klltkr has joined #lisp
Codaraxis has quit [Read error: Connection reset by peer]
|Pirx| has quit [Remote host closed the connection]
madage has joined #lisp
fe[nl]ix has quit [Quit: No Ping reply in 180 seconds.]
Blkt_ has quit [Remote host closed the connection]
klltkr has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
hsaziz has joined #lisp
adolby has quit [Ping timeout: 265 seconds]
slyrus has joined #lisp
adolby has joined #lisp
specbot has joined #lisp
null_ptr has joined #lisp
frgo has joined #lisp
minion has joined #lisp
klltkr has joined #lisp
klltkr has quit [Client Quit]
frgo_ has quit [Ping timeout: 260 seconds]
fe[nl]ix has joined #lisp
Blkt has joined #lisp
igemnace has joined #lisp
hsaziz has quit [Remote host closed the connection]
ealfonso has joined #lisp
statusf90 has quit [Quit: statusf90]
cartwright has quit [Remote host closed the connection]
cartwright has joined #lisp
xkapastel has joined #lisp
cartwright has quit [Read error: Connection reset by peer]
cartwright has joined #lisp
gioyik has joined #lisp
aindilis has quit [Remote host closed the connection]
gioyik has quit [Ping timeout: 258 seconds]
aindilis has joined #lisp
froggey has quit [Ping timeout: 265 seconds]
froggey has joined #lisp
gabiruh has quit [Quit: ZNC - 1.6.0 - http://znc.in]
gabiruh has joined #lisp
Codaraxis has joined #lisp
<ealfonso>
is there a recommended websockets client library? I tried websocket-driver, which works for ws, but for wss fails with this error: "error:1409442E:SSL routines:ssl3_read_bytes:tlsv1 alert protocol version". Could this be a "websocket-driver" issue or a cl+ssl one?
rumbler31 has quit [Read error: Connection reset by peer]
rumbler31 has joined #lisp
adolby has quit [Remote host closed the connection]
adolby has joined #lisp
libertyprime has joined #lisp
<no-defun-allowed>
There is only one websocket client to my knowledge (though I had planned to write one a long time ago).
<no-defun-allowed>
I think that means that the client and server can't negotiate a SSL/TLS version.
<ealfonso>
no-defun-allowed I know, but... what should I do?
<no-defun-allowed>
Some people (using other languages, but still using SSL) suggest you could update your version of the OpenSSL library.
<ealfonso>
the thing is that I don't know which one is the problematic version. I've tried other non-CL ws libraries on my system (e.g. python, etc) and they work. My openssl version is "OpenSSL 1.1.1d 10 Sep 2019", which seems recent.
<no-defun-allowed>
Right. Maybe you need to give it a larger set of protocols it is allowed to use. I forgot how you configure that though; it's quite awful in my opinion.
<ahungry>
neat, what is #v syntax? Something like *1 and *2 in clojure/cider? (a reference to the last evaluated thing?)
<Josh_2>
perhaps
<Josh_2>
it lets you reference repl values all the way up to when you started your session
<Josh_2>
I find it very helpful
<ahungry>
very nice, it is the same type of thing
adolby has quit [Ping timeout: 265 seconds]
adolby has joined #lisp
oxum has joined #lisp
brown121407 has quit [Ping timeout: 268 seconds]
brown121408 has joined #lisp
X-Scale` has joined #lisp
X-Scale has quit [Ping timeout: 260 seconds]
X-Scale` is now known as X-Scale
libertyprime has quit [Ping timeout: 268 seconds]
ealfonso has joined #lisp
wxie has joined #lisp
shangul has joined #lisp
libertyprime has joined #lisp
ggole has joined #lisp
adolby has quit [Remote host closed the connection]
X-Scale` has joined #lisp
ebzzry has joined #lisp
X-Scale has quit [Ping timeout: 268 seconds]
adolby has joined #lisp
ahungry has quit [Remote host closed the connection]
X-Scale` is now known as X-Scale
akoana has left #lisp ["Leaving"]
sauvin has joined #lisp
adolby has quit [Ping timeout: 268 seconds]
adolby has joined #lisp
space_otter has joined #lisp
ealfonso has quit [Remote host closed the connection]
oxum has quit [Ping timeout: 240 seconds]
oxum has joined #lisp
nalik891 has joined #lisp
nullniverse has quit [Ping timeout: 260 seconds]
Cymew has joined #lisp
dddddd has joined #lisp
<pjb>
AFAIK, there's only 1 sly user.
adolby has quit [Ping timeout: 268 seconds]
adolby has joined #lisp
<pjb>
Josh_2: you mean in sly they deleted presentations?
oxum has quit [Read error: Connection reset by peer]
oxum_ has joined #lisp
oxum has joined #lisp
oxum_ has quit [Read error: Connection reset by peer]
oxum has quit [Read error: Connection reset by peer]
oxum has joined #lisp
Necktwi_ has joined #lisp
<Josh_2>
Huh?
elderK has joined #lisp
elderK has quit [Client Quit]
oxum has quit [Read error: Connection reset by peer]
oxum has joined #lisp
karlosz has quit [Quit: karlosz]
<pjb>
Josh_2: since this slime features allows you already to refer to any previous result, they must have REPLACED it by #v?
<no-defun-allowed>
Well, they could have kept both, but presentations are cooler.
karlosz has joined #lisp
vlatkoB has joined #lisp
Nilby has quit [Read error: Connection reset by peer]
<cl-arthu1>
I think both presentations and #v syntax are present in sly, but not 100% sure.
<no-defun-allowed>
Though, I think there weren't presentations when I tried SLY.
knicklux has joined #lisp
jprajzne has joined #lisp
cl-arthu1 has quit [Read error: Connection reset by peer]
dale has quit [Quit: My computer has gone to sleep]
gxt has joined #lisp
hiroaki has quit [Ping timeout: 265 seconds]
asarch has quit [Quit: Leaving]
flamebeard has joined #lisp
varjag has joined #lisp
adolby has quit [Ping timeout: 258 seconds]
adolby has joined #lisp
Roland2 has joined #lisp
orivej has quit [Ping timeout: 258 seconds]
chocimir has quit [Ping timeout: 240 seconds]
adolby has quit [Ping timeout: 240 seconds]
adolby has joined #lisp
dddddd has quit [Ping timeout: 268 seconds]
wxie has quit [Ping timeout: 268 seconds]
scymtym has joined #lisp
knicklux has quit [Quit: Leaving]
dddddd has joined #lisp
karlosz has quit [Quit: karlosz]
trittweiler has quit [Remote host closed the connection]
wxie has joined #lisp
mingus has joined #lisp
trittweiler has joined #lisp
Necktwi has quit [Read error: Connection reset by peer]
longshi has joined #lisp
tiwEllien has joined #lisp
Necktwi has joined #lisp
gioyik has quit [Quit: WeeChat 2.7]
frgo has quit [Remote host closed the connection]
space_otter has quit [Remote host closed the connection]
pnp has joined #lisp
<pnp>
Hi all. How is possible to move with Emacs + slime inside nested groups of parenthesis? If possible i would like to navigate Lisp code without using the mouse or the arrows keys
<jackdaniel>
pnp: check out "paredit" mode for emacs
<pnp>
yes...i installed paredit
<jackdaniel>
it may feel a bit quirky at start, but once your fingers get used to it it is a very useful aid
<minion>
Remembered. I'll tell emaczen when he/she/it next speaks.
statusf90 has joined #lisp
mingus` has quit [Ping timeout: 268 seconds]
manualcrank has quit [Quit: WeeChat 1.9.1]
jeosol has quit [Remote host closed the connection]
papachan has joined #lisp
wxie has quit [Ping timeout: 260 seconds]
adolby has quit [Ping timeout: 268 seconds]
adolby has joined #lisp
montaropdf has joined #lisp
cosimone has joined #lisp
z147x has joined #lisp
z147 has quit [Remote host closed the connection]
Bike has joined #lisp
<beach>
Nilby: If you want to be acknowledged for helping me find information about SBCL breakpoints, I need to know how you would like your name to appear. You can give it here, or send it by email.
tiwEllien has joined #lisp
<Nilby>
beach: Thank you, but I don't like to be acknowledged. You can take any credit.
<beach>
OK, as you wish.
_fe_ has joined #lisp
<asdf_asdf_asdf>
Hi. How coerced value from (read) to type alien?
nullman has quit [Ping timeout: 272 seconds]
nullman has joined #lisp
<ck_>
asdf_asdf_asdf: I think you just try to coerced value as best as you can. But more seriously, this sounds like a question for #sbcl.
statusf90 has quit [Quit: statusf90]
_fe_ has quit [Quit: Leaving]
orivej has joined #lisp
Roland2 has quit [Quit: Leaving.]
<asdf_asdf_asdf>
OK.
oxum_ has joined #lisp
LiamH has joined #lisp
mn3m has joined #lisp
oxum has quit [Ping timeout: 268 seconds]
amerlyq has quit [Quit: amerlyq]
amerlyq has joined #lisp
hiroaki has joined #lisp
oxum_ has quit [Ping timeout: 260 seconds]
oxum has joined #lisp
jprajzne has quit [Quit: Leaving.]
asdf_asdf_asdf has quit [Quit: asdf_asdf_asdf]
nullman has quit [Remote host closed the connection]
nullman has joined #lisp
lucasb has joined #lisp
refpga has joined #lisp
seok has quit [Remote host closed the connection]
seok has joined #lisp
<refpga>
Hello, how does one send whois queries using lisp?
<dlowe>
one looks up the protocol and uses a network socket library (like usocket) to implement the protocl
adolby has quit [Ping timeout: 265 seconds]
<Xach>
refpga: one easy way is (run-program "whois" string)
<dlowe>
iirc, the protocol is actually pretty simple
<Bike>
no wait, i thought that returns the element but it doesn't
<Bike>
nevermind
<Bike>
forget my own head next...
<jmercouris>
OK
<Bike>
so yeah, probably the first thing i said. unless that's a problem for some reason?
<jmercouris>
let us say this, how to go through values in hash table and check for predicate and return first value that matches
<Bike>
you can loop over a hash table with loop
<jmercouris>
so, is what I said true then?
<Bike>
though i can never remember the syntax
<Bike>
loop for x being the values of table, or something
<jmercouris>
same, but I have an example
zekus_ has left #lisp ["ERC (IRC client for Emacs 26.3)"]
<galdor>
CATCH + MAPHASH + THROW should work
<jmercouris>
and you can do when (predicate-x x) (return element)?
<galdor>
LOOP + RETURN if you can remember the syntax
<jmercouris>
let me just try with a simple sequence first
<Bike>
"when (predicate x) return x". return is a loop keyword
<jmercouris>
OK that's basically what I was trying to figure out
<galdor>
generally speaking, if you need to regularly find a specific value in a hash table, I'm not sure the hash table is not the right data structure
<jmercouris>
it is rare that I have to do so
<Bike>
you could also do "when (predicate x) do (return x)"
<jmercouris>
it is for a sanitation function that checks the state of the objects in the hash table
<jmercouris>
Bike: would that not keep looping though?
<jmercouris>
or does (return x) break?
<Shinmera>
you can also just 'do (when x (return y))' like anything else.
<jmercouris>
ah, OK, thank you all
<Bike>
i recommend going through and macroexpanding a loop some time
<Bike>
your implementation will go and put in a bunch of weird shit, but usually you can get it down to a simple form
<Bike>
makes loop much less mysterious
<jmercouris>
I will try to do that
swills has joined #lisp
<Bike>
though it might still be kind of weird in the end with hash tables, since with-hash-table-iterator is kind of weird.
shangul has quit [Ping timeout: 268 seconds]
chocimir has joined #lisp
jonatack has quit [Ping timeout: 268 seconds]
gko_ has quit [Ping timeout: 265 seconds]
dale_ has joined #lisp
dale_ is now known as dale
mathrick has quit [Ping timeout: 268 seconds]
EvW1 has joined #lisp
mathrick has joined #lisp
v0|d has joined #lisp
Cymew has quit [Ping timeout: 260 seconds]
montaropdf has quit [Quit: See you later]
tiwEllien has quit [Ping timeout: 258 seconds]
narimiran has joined #lisp
random-nick has joined #lisp
shrdlu68 has joined #lisp
ggole has quit [Quit: Leaving]
turona has quit [Quit: ...]
turona has joined #lisp
v88m has joined #lisp
dru1d has quit [Ping timeout: 260 seconds]
frgo has quit [Ping timeout: 272 seconds]
jonatack has joined #lisp
longshi has quit [Ping timeout: 240 seconds]
<asdf_asdf_asdf>
Hi. How get type from var in Common Lisp?
v88m has quit [Ping timeout: 268 seconds]
<beach>
Variables don't have types. Objects do.
<asdf_asdf_asdf>
:type (type-of obj)
<asdf_asdf_asdf>
Yes, object.
<beach>
So what is it that you want?
<phoe>
(type-of x)
<beach>
Most objects can have many types, some even an infinite number.
<sjl_>
*every* object can trivially have an infinite number of types of the form `(or actual-type (member 1 2 3 ...))`
<beach>
asdf_asdf_asdf: I strongly recommend that you program in Common Lisp instead.
<Nilby>
I'm thankful that everything is of type T.
longshi has joined #lisp
harovali has joined #lisp
chocimir has quit [Ping timeout: 268 seconds]
harovali1 has quit [Ping timeout: 260 seconds]
davepdo__ has quit [Remote host closed the connection]
ebzzry has quit [Ping timeout: 268 seconds]
tiwEllien has joined #lisp
heisig has joined #lisp
ealfonso has joined #lisp
raghavgururajan has quit [Read error: Connection reset by peer]
X-Scale` has joined #lisp
X-Scale has quit [Ping timeout: 260 seconds]
X-Scale` is now known as X-Scale
hhdave has quit [Quit: hhdave]
dddddd has quit [Ping timeout: 265 seconds]
asdf_asdf_asdf has quit [Remote host closed the connection]
<pjb>
asdf_asdf_asdf: you are completely misled. Lisp types have nothing in common with C types. A lisp object can often be stored in several different C variables (or fields or parameters) of different C types. You cannot determine a C type from a lisp object. You can only know in advance what C type a given C variable (or field or parameter) has, and convert the lisp object into a C value of that C type.
<pjb>
minion: memo for asdf_asdf_asdf: you are completely misled. Lisp types have nothing in common with C types. A lisp object can often be stored in several different C variables (or fields or parameters) of different C types. You cannot determine a C type from a lisp object. You can only know in advance what C type a given C variable (or field or parameter) has, and convert the lisp object into a C value of that C type.
<minion>
Remembered. I'll tell asdf_asdf_asdf when he/she/it next speaks.
dddddd has joined #lisp
asarch has joined #lisp
heisig has quit [Quit: Leaving]
shifty has quit [Ping timeout: 258 seconds]
frgo has joined #lisp
|Pirx| has joined #lisp
<|Pirx|>
hello
<pjb>
helo
<|Pirx|>
someone could help me troubleshoot hunchentoot?
<Xach>
|Pirx|: what's up?
<|Pirx|>
i've installed it and get a root page, but easy-handler example from the docs gives 404
<|Pirx|>
define-easy-handler succeeds, but then 404, i did
<dlowe>
where did you type in the define-easy-handler?
<Xach>
dlowe: since all the symbols are qualified, I'm not sure that matters much.
<|Pirx|>
in the console
<dlowe>
I guess so. I'm just wondering if it wasn't evaluated somehow
<Xach>
|Pirx|: does (fdefinition 'say-yo) return a function object?
<|Pirx|>
the require did throw some warnings about
<Xach>
|Pirx|: do you use quicklisp?
<|Pirx|>
it returns SAY-YO
papachan has quit [Quit: Leaving]
<Xach>
If you do, what does (ql:where-is-system "hunchentoot") show you?
jmercouris has quit [Remote host closed the connection]
<|Pirx|>
warnings the require about system definitions files that should be under hunchentoot, but root page works anyway
nika_ has quit []
<|Pirx|>
maybe the function doesn't get assigned properly to the acceptor :m
<|Pirx|>
sorry, i missed your last
<Xach>
If you use quicklisp, what does (ql:where-is-system "hunchentoot") show you?
<|Pirx|>
#P"C:/Users/lenovo/quicklisp/dists/quicklisp/software/hunchentoot-v1.2.38/" is what ql:where-is-system returns
<Xach>
ok, that's what I get too. and things work like the docs suggest. very weird! what lisp do you use? (it generally shouldn't matter, but maybe it does in this cae)
<|Pirx|>
sbcl
<Xach>
same here.
<Xach>
|Pirx|: i don't know what might be fouling up for you, sorry.
<|Pirx|>
no preferences, i've seen some recommendations for clozure... thanks anyway :)
<Xach>
I know it's not super-helpful to say "works for me", but it does, as described in the docs, work for me.
<|Pirx|>
that helps
<|Pirx|>
it eliminates some sources of error
varjagg has joined #lisp
<|Pirx|>
i suspect now something about the environment, maybe i have not included some package by default or something like that
<|Pirx|>
i'm new to this, but very persistent :)
FreeBirdLjj has joined #lisp
jxy has quit [Quit: leaving]
<Xach>
|Pirx|: i started from a fresh session, used (ql:quickload "hunchentoot"), (hunchentoot:start (make-instance 'hunchentoot:easy-acceptor :port 4242)), (hunchentoot:define-easy-handler (say-yo :uri "/yo") (name) (setf (hunchentoot:content-type*) "text/plain") (format nil "Hey~@[ ~A~]!" name)), and got the expected results. i didn't run anything else in the session.
smazga has joined #lisp
<|Pirx|>
i'll try something different
FreeBirdLjj has quit [Ping timeout: 265 seconds]
statusf90 has joined #lisp
DGASAU has quit [Read error: Connection reset by peer]
<|Pirx|>
if i put a "yo" file in the directory it serves it, so the problem is that it's not binding the function to the acceptor
DGASAU has joined #lisp
jxy has joined #lisp
m00natic has quit [Remote host closed the connection]
<Xach>
"in the directory"?
<|Pirx|>
the root directory where index.html and doc.html is
<Xach>
oh, i see
<|Pirx|>
are
asdf_asdf_asdf has joined #lisp
amerlyq has quit [Quit: amerlyq]
ealfonso has quit [Remote host closed the connection]
longshi has quit [Read error: Connection reset by peer]
orivej has quit [Ping timeout: 268 seconds]
adolby has quit [Remote host closed the connection]
adolby has joined #lisp
asdf_asdf_asdf has quit [Remote host closed the connection]
<boeg>
Can someone help be understand why `(some #'typep (list 1) (list 'number 'string 'number))` returns `T` but `(some #'typep (list 1) (list 'string 'number))` return `NIL` ? And is there a better approach when what I want is test of the type of an object is on a list of "allowed types"?
<boeg>
Can someone help be understand why `(some #'typep (list 1) (list 'number 'string 'number))` returns `T` but `(some #'typep (list 1) (list 'string 'number))` return `NIL` ? And is there a better approach when what I want is test of the type of an object is on a list of "allowed types"?
<boeg>
woah, sorry about double posting
Arcaelyx has joined #lisp
tiwEllien has joined #lisp
<phoe>
you don't want to do that
<phoe>
SOME calls TYPEP only once
<phoe>
(TYPEP 1 'NUMBER) is called
<Bike>
it stops after the shortest list runs out.
<phoe>
since the first list only has one element
<phoe>
you want (some (a:curry #'typep 1) '(number string whatever))
<phoe>
also, yes
<Bike>
If the list is constant you can just do (typep 1 '(or number string)). Is that what you're doing?
<phoe>
(typep x '(or number string whatever))
gxt has joined #lisp
patlv has quit [Quit: Leaving]
<boeg>
oh
<boeg>
thats clever
<boeg>
and makes sense why it wasn't working what i was doing
jmercouris has joined #lisp
<boeg>
thanks a lot
cosimone has quit [Quit: Quit.]
davr0s has joined #lisp
davr0s_ has joined #lisp
<splittist>
Is there some MOPery that will allow my subclass to skip the super's :after method on INITIALZE-INSTANCE ?
<splittist>
(and use my, and only my, i-i :after method?)
<splittist>
(and I would probably spell it properly )
<phoe>
splittist: sounds like your own custom method combination
<phoe>
the standard method combination states that all :AFTER methods are executed in order, no exceptions
<phoe>
so if you define your own one, then perhaps you might be able to play around with the method order in some way, including which methods actually are executed and which are skipped
<Bike>
can't do that with initialize-instance tho.
<phoe>
oh wait!
<phoe>
yes, I-I uses a standard method combination
<Bike>
so, no.
<splittist>
yes. But I was hoping to plug into an existing protocol in existing project that almost, but not quite, allows enough specialisation. I guess I just fork/replicate and be done with it ): (and once I have it working, perhaps a PR)
<phoe>
what's the exact issue?
<Nilby>
But you can likely do whatever you want hackishly with throw.
tiwEllien has quit [Ping timeout: 268 seconds]
<Bike>
:after methods are called most-specific-last, so the super's after method will be called before yours, so you can't exit early... and even if you could i'm not sure how that would be arranged.
<Bike>
just redefine the method or something.
ralt has quit [Quit: Connection closed for inactivity]
<splittist>
yeah. I think it will be fewer lines to not inherit, and come at it from the protocol-end (i.e. specialise each of the protocol gfs). Thanks!
z147x has quit [Remote host closed the connection]
z147x has joined #lisp
shangul has joined #lisp
cl-arthur has joined #lisp
Codaraxis has quit [Ping timeout: 265 seconds]
EvW1 has quit [Ping timeout: 245 seconds]
lucasb has quit [Quit: Connection closed for inactivity]
orivej has joined #lisp
shangul has quit [Ping timeout: 272 seconds]
adolby has quit [Read error: Connection reset by peer]
emys has joined #lisp
adolby has joined #lisp
adolby has quit [Ping timeout: 258 seconds]
harovali has quit [Ping timeout: 268 seconds]
tiwEllien has joined #lisp
adolby has joined #lisp
knicklux has joined #lisp
papachan has joined #lisp
nowhereman_ has joined #lisp
shangul has joined #lisp
cosimone has joined #lisp
jayspeer has joined #lisp
klltkr has joined #lisp
nowhereman_ has quit [Ping timeout: 272 seconds]
jeosol has joined #lisp
zclark has joined #lisp
narimiran has quit [Ping timeout: 258 seconds]
Codaraxis has joined #lisp
gravicappa has quit [Ping timeout: 268 seconds]
adolby has quit [Ping timeout: 260 seconds]
shangul has quit [Ping timeout: 268 seconds]
adolby has joined #lisp
z147x has quit [Ping timeout: 240 seconds]
knicklux has quit [Ping timeout: 268 seconds]
adolby has quit [Ping timeout: 265 seconds]
z147x has joined #lisp
adolby has joined #lisp
gabiruh_ has quit [Remote host closed the connection]
z147x has quit [Ping timeout: 240 seconds]
shangul has joined #lisp
hiroaki has quit [Ping timeout: 240 seconds]
ArthurStrong has joined #lisp
gxt has quit [Ping timeout: 240 seconds]
akoana has joined #lisp
hiroaki has joined #lisp
turona has quit [Quit: ...]
turona has joined #lisp
<splittist>
OK. After a few hours work I'm back where I started, with something that almost works, but now with a myriad layers of indirection. Time to declare victory and leave it for the evening. :P
<Xach>
nooo
Bike has quit [Remote host closed the connection]
<Odin->
Indirection is at least somewhat preferable over misdirection.
<splittist>
the indirection/protocol thing actually works fine, now. It's just that I started the day with a slightly-broken thing and I'm ending it with exactly the same brokenness. But there is a slightly sleeker yak, so that's something.
Bike has joined #lisp
terpri has quit [Remote host closed the connection]
jayspeer has quit [Quit: ERC (IRC client for Emacs 26.3)]
z147 has joined #lisp
terpri has joined #lisp
karlosz has joined #lisp
<Shinmera>
splittist: what's the project in question?
<splittist>
Using djula templates with docx (ms word) documents.
longshi has quit [Ping timeout: 245 seconds]
jmercouris has quit [Remote host closed the connection]
<Shinmera>
Ah.
turona has quit [Quit: ...]
<splittist>
It started yesterday as a bit of a distraction from something else docx-related. (Which itself is ...) Basically, it 's squirrels all the way down.
<|Pirx|>
squirrels :)
<|Pirx|>
all the way up?
<phoe>
depends on your CPU architecture I guess, same question as "which direction does the stack grow"
<|Pirx|>
it grows fat on my arch
turona has joined #lisp
<Shinmera>
splittist: my condolences
Bike has quit [Quit: Bike]
efm_ has joined #lisp
efm has quit [Ping timeout: 265 seconds]
seok has quit [Remote host closed the connection]
efm_ has quit [Client Quit]
Codaraxis has quit [Ping timeout: 245 seconds]
EvW has joined #lisp
madage has quit [Remote host closed the connection]
emys has quit [Ping timeout: 248 seconds]
jonatack has quit [Ping timeout: 260 seconds]
karlosz has quit [Quit: karlosz]
varjagg has quit [Quit: ERC (IRC client for Emacs 26.1)]
emys has joined #lisp
madage has joined #lisp
Codaraxis has joined #lisp
shifty has joined #lisp
jeosol has quit [Remote host closed the connection]
emys has quit [Ping timeout: 240 seconds]
adolby has quit [Ping timeout: 268 seconds]
adolby has joined #lisp
sjl_ has quit [Quit: WeeChat 2.3-dev]
<White_Flame>
how would one express a non-shortcutting version of OR?
<White_Flame>
in the shortest way possible
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
sjl has quit [Quit: WeeChat 2.2-dev]
random-nick has quit [Ping timeout: 265 seconds]
<no-defun-allowed>
(defun lousy-or (value &rest values) (let ((next (apply #'lousy-or values))) (if (null value) next value))) ; but this has non-tail recursion and is slightly cursed
tiwEllien has quit [Ping timeout: 268 seconds]
<White_Flame>
some of the cyc code very, very manually performs a non-shortcutting OR on 2 cleanup items for a "success" return, and I'm wondering if there's some little trick