jackdaniel changed the topic of #commonlisp to: Common Lisp, the #1=(programmable . #1#) programming language | Wiki: <https://www.cliki.net> | IRC Logs: <https://irclog.tymoon.eu/libera/%23commonlisp> | Cookbook: <https://lispcookbook.github.io/cl-cookbook> | Pastebin: <https://plaster.tymoon.eu/>
morganw has quit [Remote host closed the connection]
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<piethesailor> I am getting a b
<piethesailor> I am getting an error '; Evaluation aborted on #<USOCKET:CONNECTION-REFUSED-ERROR'
<piethesailor> I am using wsl2 ubuntu
<piethesailor> chrome is installed
Lycurgus has quit [Quit: Exeunt: personae.ai-integration.biz]
attila_lendvai has quit [Read error: Connection reset by peer]
attila_lendvai has joined #commonlisp
attila_lendvai has quit [Read error: Connection reset by peer]
attila_lendvai has joined #commonlisp
cowboy8625 has joined #commonlisp
notzmv has quit [Read error: Connection reset by peer]
cowboy8625 has quit [Quit: WeeChat 3.5]
cowboy8625 has joined #commonlisp
random-nick has quit [Ping timeout: 240 seconds]
bjorkintosh has quit [Quit: Leaving]
attila_lendvai has quit [Read error: Connection reset by peer]
attila_lendvai has joined #commonlisp
<knusbaum> Is there a quick way in sldb to jump to the function on the top of the call stack?
piethesailor has quit [Ping timeout: 265 seconds]
<knusbaum> man... this doc generator looked good but it's having errors all over because it's using all sorts of unexported sbcl symbols.
<knusbaum> M-. btw. I should have known.
Oladon has quit [Quit: Leaving.]
mrcom has quit [Read error: Connection reset by peer]
cowboy8625 has quit [Ping timeout: 256 seconds]
mrcom has joined #commonlisp
cowboy8625 has joined #commonlisp
cowboy8625 has quit [Ping timeout: 265 seconds]
attila_lendvai has quit [Read error: Connection reset by peer]
Oladon has joined #commonlisp
attila_lendvai has joined #commonlisp
White_Flame has quit [Remote host closed the connection]
White_Flame has joined #commonlisp
Oladon has quit [Quit: Leaving.]
NicknameJohn has joined #commonlisp
istewart has joined #commonlisp
attila_lendvai has quit [Read error: Connection reset by peer]
attila_lendvai has joined #commonlisp
waleee has quit [Ping timeout: 264 seconds]
jeosol has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<cpli> beach, edgar-rft i read through the cltl2 documentation surrounding use of series.
<cpli> i'm impressed at how intuitive they are once you understand them
<cpli> now, why does series shadow DEFUN
<cpli> and how is the dataflow graph compiled?
<cpli> how does it differ from say, Rust's iterators?
<cpli> not in practice, but theory
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
jeosol has quit [Quit: Client closed]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
istewart has quit [Quit: Konversation terminated!]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<mfiano> lambda is the ultimate eager slayer. You want to defer evaluation? lambda is your entry point. Remember, Common Lisp's runtime has full access to Common Lisp's compiler; code can even be compiled dynamically at runtime dependent on previous runtime computations evaluations.
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
dino_tutter has quit [Ping timeout: 246 seconds]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<mfiano> One can compile or pass around LAMBDA expressions at runtime, or pass un-evaluated data around with QUOTE. The rest is just obvious. Iterators in other languages are just syntax sugar for the same thing, often much more complicated in implementation and interface, with specialized syntax or constructs.
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<ixelp> ACM OOPS Messenger 4, 3 (July 1993), 18-25.
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<hayley> cpli too.
contrapunctus has joined #commonlisp
<mfiano> Yes, I know about Baker's writings on this.
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<hayley> Series is functional, whereas Rust iterators modify internal state.
<mfiano> Some iterators must be mutable, unfortunately.
contrapunctus has joined #commonlisp
<mfiano> But you are right.
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<hayley> Must they?
contrapunctus has joined #commonlisp
<mfiano> I retract that.
contrapunctus has left #commonlisp [#commonlisp]
<mfiano> The state can be built up functionally and passed around explicitly or implicitly as an argument
NicknameJohn has quit [Remote host closed the connection]
dino_tutter has joined #commonlisp
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<cpli> mfiano so promises instead of building a stack of iterator transformers?
contrapunctus has joined #commonlisp
Oladon has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<mfiano> promises are used in asynchronous programming. I don't follow.
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<mfiano> I also don't know what a stack of iterator transformers is
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<mfiano> The easiest way to implement an iterator interface in language Blub, is to create two generic functions. One specialized to the object type to be extended, and which returns the next item and the initial state needed. The second one should take the object and a state object.
contrapunctus has joined #commonlisp
<cpli> mfiano scheme's "streams" are basically lazy CDRs
<cpli> i.e. the car is the next element in the stream and the CDR is a "Promise" which is simply(-ified/bastardized) a lambda
attila_lendvai has quit [Read error: Connection reset by peer]
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<cpli> iterators are in a sense ugly, but the prose hayley linked and the implementation you mention, mfiano "Blub" are all overcomplicating "next"
contrapunctus has joined #commonlisp
attila_lendvai has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
<mfiano> I don't know much about Scheme, or other languages in general to be able to go any further. I am right at home with CL which is flexible without so many moving parts or awkward interfaces leaking implementation details.
<cpli> all you need is some notion of arriving at the next value. i.e. CDR std::iter::Iterator::next(&mut self) (THAW (CDR X)) etc
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<cpli> mfiano the fact that series requires all functions that interact with series to be defined by a macro it shadows sadly does leak implementation details, now get off your high horse and see a larger picture than the one you made of your back yard last year.
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<mfiano> Excuse me? I don't use SERIES, nor do I look down on anyone.
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<cpli> I have to apologize for impeding on your ivory tower, but I would assume we'd both benefit from assessing the benefit of some iteration abstraction with rigor. Some notion of abstracting arriving at the next value in some possibly asynchronous stream.
<mfiano> It seems you came here to troll about Scheme and Rust. I am off.
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<cpli> ...
<cpli> not so eager anymore.
<cpli> i digress.
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<cpli> hayley, do side-effects (such as those on a file) count as mutation?
attila_lendvai has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
contrapunctus has joined #commonlisp
<hayley> Sure, but that's rather inherent, and anything else can be functional.
<cpli> how would you feel for read to be written with the help of series?
contrapunctus has left #commonlisp [#commonlisp]
<hayley> I don't know, I never used Series.
<cpli> as in, read would.. read from a series of code points from some SCAN-FILE scanner
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<cpli> oh, alright.
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<cpli> this discussion originally arose from a comment a friend of mine made about READ. since it steps through the contents of its streams character by character (as one would assume from most parsers), it could benefit from the types of optimizations Series provides
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
<cpli> common lisp's streams only comprise characters and integers, a curious choice i have yet to understand.
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
attila_lendvai has quit [Read error: Connection reset by peer]
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
attila_lendvai has joined #commonlisp
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
Oladon has quit [Quit: Leaving.]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
bilegeek has joined #commonlisp
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<qhong> Ah streams... hopelessness
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<qhong> cl-stream may make it nicer; nevertheless I'm currently experimenting convert my most of my streams-related code to use lazy sequence instead
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<qhong> BTW is there something like an invert of flexi-streams? i.e. I have a character stream and I want to have a binary stream on top of it
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
azimut has quit [Ping timeout: 240 seconds]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
Oladon has joined #commonlisp
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<jackdaniel> what does it mean that streams comprise of characters and integers?
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<qhong> The standard only defines read/write-char or read/write-byte
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<jackdaniel> but what prevents you from defineing stream-write-foo and stream-read-foo for a gray stream?
<jackdaniel> defining*
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<qhong> That's what cl-stream do
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
<qhong> Maybe the problem is just not enough people are using generic stream-read/write yet
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
attila_lendvai has quit [Read error: Connection reset by peer]
<jackdaniel> so there is no problem with common lisp streams or I'm missing the big picture?
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
attila_lendvai has joined #commonlisp
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
dcb has quit [Quit: MSN Messenger 3.8]
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
contrapunctus has joined #commonlisp
contrapunctus has left #commonlisp [#commonlisp]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
_cymew_ has joined #commonlisp
attila_lendvai has quit [Read error: Connection reset by peer]
attila_lendvai has joined #commonlisp
rgherdt has joined #commonlisp
easye has quit [Remote host closed the connection]
Oladon has quit [Read error: Connection reset by peer]
Oladon has joined #commonlisp
chrcav has quit [Ping timeout: 264 seconds]
chrcav has joined #commonlisp
NicknameJohn has joined #commonlisp
Guest73 has joined #commonlisp
dino_tutter has quit [Ping timeout: 240 seconds]
dino_tutter has joined #commonlisp
varjag has joined #commonlisp
rgherdt has quit [Read error: Connection reset by peer]
rgherdt has joined #commonlisp
<cpli> qhong: cl-stream seems to be the end of my hopelessness with streams in common lisp, the fact that these "iterators" require me to define "opening" or "closing" the stream seems unnatural, but they are what they should be
lucas_ta has joined #commonlisp
lucasta has quit [Read error: Connection reset by peer]
<cpli> jackdaniel: the preceeding discussion heavily included mentions of the series package. series attempts to amortize performance of transducers and collectors on any stream as much as possible
easye has joined #commonlisp
rgherdt has quit [Read error: Connection reset by peer]
rgherdt has joined #commonlisp
Oladon has quit [Quit: Leaving.]
_cymew_ has quit [Ping timeout: 265 seconds]
Guest73 has quit [Quit: Client closed]
attila_lendvai has quit [Read error: Connection reset by peer]
attila_lendvai has joined #commonlisp
shka has joined #commonlisp
makomo has joined #commonlisp
bilegeek has quit [Remote host closed the connection]
bilegeek has joined #commonlisp
<ixelp> Add SEMAPHORE-COUNT · Issue #70 · sionescu/bordeaux-threads · GitHub
<fe[nl]ix> cpli: streams only comprise characters and integers because they're an I/O abstraction
<phoe> fe[nl]ix: oh golly I forgot about this
<fe[nl]ix> I'll release BT 0.9.0 and deal with the rest of issue later, before 1.0
<fe[nl]ix> this way the new API will make it into QL
<jackdaniel> fe[nl]ix: are you taking over lparallel? it's nice if so
NicknameJohn has quit [Ping timeout: 256 seconds]
<jackdaniel> what about lfarm?
<fe[nl]ix> I want to finish BT 1.0 then take care of lparallel
<fe[nl]ix> I'm not familiar with lfarm
<jackdaniel> I see
LW has joined #commonlisp
LW has quit [Client Quit]
<fe[nl]ix> I'm not sure I'd want to use lfarm
<fe[nl]ix> nowadays I would use gRPC for something like that
<jackdaniel> the main selling point (for me) is the api compatibility with lparallel
<jackdaniel> so switching to remote processing require less hassle
<jackdaniel> I want to try using m clm sdl2 backend this way for remote access
<jackdaniel> mcclim*
bilegeek has quit [Ping timeout: 256 seconds]
<jackdaniel> (it already pipes everything with lparallel channels)
m5zs7k has quit [Ping timeout: 240 seconds]
m5zs7k has joined #commonlisp
scymtym has joined #commonlisp
knusbaum has quit [Ping timeout: 268 seconds]
knusbaum has joined #commonlisp
glaucon has joined #commonlisp
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
easye has quit [Remote host closed the connection]
easye has joined #commonlisp
lucas_ta has quit [Read error: Connection reset by peer]
lucas_ta has joined #commonlisp
lucas_ta has quit [Client Quit]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 260 seconds]
Lord_of_Life_ is now known as Lord_of_Life
Guest11 has joined #commonlisp
Guest11 has quit [Client Quit]
Guest18 has joined #commonlisp
rgherdt has quit [Ping timeout: 264 seconds]
theBlackDragon has quit [Ping timeout: 246 seconds]
theBlackDragon has joined #commonlisp
mariari has quit [Ping timeout: 260 seconds]
karlosz has quit [Ping timeout: 246 seconds]
mariari has joined #commonlisp
rgherdt has joined #commonlisp
kevingal has joined #commonlisp
rgherdt_ has joined #commonlisp
rgherdt has quit [Ping timeout: 256 seconds]
karlosz has joined #commonlisp
Cymew has joined #commonlisp
attila_lendvai has quit [Quit: Leaving]
attila_lendvai has joined #commonlisp
avocadoist has quit [Quit: Konversation terminated!]
avocadoist has joined #commonlisp
rgherdt_ has quit [Ping timeout: 240 seconds]
jonatack has quit [Ping timeout: 264 seconds]
pve has joined #commonlisp
random-nick has joined #commonlisp
easye has quit [Ping timeout: 264 seconds]
karlosz has quit [Quit: karlosz]
easye has joined #commonlisp
rogersm has quit [Ping timeout: 264 seconds]
foretspaisibles has joined #commonlisp
rgherdt has joined #commonlisp
mgl has joined #commonlisp
azimut has joined #commonlisp
foretspaisibles has quit [Quit: Client closed]
SAL9000 has quit [Ping timeout: 268 seconds]
karlosz has joined #commonlisp
jmdaemon has quit [Ping timeout: 246 seconds]
SAL9000 has joined #commonlisp
azimut_ has joined #commonlisp
azimut has quit [Remote host closed the connection]
Inline has quit [Quit: Leaving]
chrcav has quit [Ping timeout: 240 seconds]
chrcav has joined #commonlisp
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
jonatack has joined #commonlisp
glaucon has quit [Quit: Leaving.]
jonatack has quit [Quit: WeeChat 3.8]
easye has quit [Ping timeout: 264 seconds]
<pve> phoe: I'm not sure if you were interested, but here's that thing I mentioned the other day:
<ixelp> GitHub - pve1/seeds
<pve> the one about creating projects with templates
tasty has quit [Quit: rebooting for kernel updates]
easye has joined #commonlisp
jonatack has joined #commonlisp
tasty has joined #commonlisp
tasty has quit [Changing host]
tasty has joined #commonlisp
<phoe> pve: thanks
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
glaucon has joined #commonlisp
son0p has quit [Ping timeout: 268 seconds]
rgherdt has quit [Ping timeout: 264 seconds]
rgherdt has joined #commonlisp
Cymew has quit [Ping timeout: 268 seconds]
Cymew has joined #commonlisp
waleee has joined #commonlisp
Cymew has quit [Read error: Connection reset by peer]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
rogersm has joined #commonlisp
Guest18 has quit [Quit: Ping timeout (120 seconds)]
piethesailor has joined #commonlisp
NotThatRPG has joined #commonlisp
NotThatRPG has quit [Ping timeout: 265 seconds]
waleee has quit [Ping timeout: 240 seconds]
NotThatRPG has joined #commonlisp
waleee has joined #commonlisp
<piethesailor> Hopping back in. Anyone have a good resource on using cl-selenium? Running into issues, and I am not sure right now if it is related to the fact I am on wsl2 ubuntu or I am misunderstanding how cl-selenium works
<piethesailor> Or maybe I should jst read up on regular old selenium to get up to speed
zxcvz has joined #commonlisp
<phoe> what sort of issues?
<piethesailor> I so far have 'sudo apt install google-chrome-stable' and (ql:quickload :cl-selenium). From here I assumed I could just (cl:selenium:start-interactive-session).
<piethesailor> but I am getting: ; Debugger entered on #<USOCKET:CONNECTION-REFUSED-ERROR {10033C3F93}>
<piethesailor> Perhaps I am lacking in dependencies/config
<piethesailor> I'll continue to read up on selenium.
<phoe> do you have "a running instance of selenium-server-standalone"?
<ixelp> cl-selenium-webdriver/README.md at master · TatriX/cl-selenium-webdriver · GitHub
<phoe> AFAIK you need a server to connect to that will then control the web browser
<piethesailor> Ah yes, Thanks all. I'll give this a go
easye has quit [Remote host closed the connection]
easye has joined #commonlisp
rtoy has quit [Remote host closed the connection]
<ixelp> CL-USER> (cl-selenium:start-interactive-session); Debugger entered on [PROTOCO - Pastebin.com
<piethesailor> New problem. I got the server to run in eshell, but: (cl:selenium:start-interactive-session) is giving me this error. Is this a version mismatch or something? I just 'sudo apt install default-jdk
<phoe> that looks like something selenium-specific; did the server connect to your browser?
<phoe> in particular, this seems like a problem with the server being unable to connect to the browser; do you have Chrome running with a proper version of the selenium driver plugin?
<piethesailor> my eshell process is running with the final line 10:24:07.823 INFO - Selenium Server is up and running on port XXXX
<piethesailor> Let me check
mgl has quit [Quit: Client closed]
waleee has quit [Ping timeout: 240 seconds]
<piethesailor> this is a newb question.. I downloaded the chromedriver.zip, do I need to unzip and then place the resultant 'chromedriver' in, say, /usr/bin?
<phoe> no idea, check its manual perhaps
<ixelp> ChromeDriver - WebDriver for Chrome - Getting started
<piethesailor> I just assume that is what this is saying
<piethesailor> I will go ahead with it
<ixelp> ChromeDriver - WebDriver for Chrome - Getting started
<phoe> the driver part is CL-independent; you basically need to implant Chrome with code that will listen to commands from the Selenium server
<skin> I have a question about the gethash function. Does gethash return a copy of the element of the hash table, or a reference to it.
<phoe> talking in C++isms, almost everything in CL returns references; copying must be stated explicitly in the description of an operator
<phoe> talking in almost-C++isms, CL is pass-by-value but the values passed around are (copiable) references
azimut_ has quit [Remote host closed the connection]
azimut has joined #commonlisp
<piethesailor> Okay! I am in a chrome browser controlled by the repl. thanks phoe, youve been a great help
<phoe> no problem
<phantomics> Hi beach if you're around, I've been digging into Cluster and have some questions
zxcvz has quit [Quit: zxcvz]
<skin> phoe: So i can gethash a nested hashtable, add elements to the nested hashtable using the returned "value/reference"
<skin> sounds like it. Thanks
<Bike> you can do that, yes.
<Bike> CL does not "copy" objects in the way C or C++ do. there is a kind of "copying" but it is only relevant to cl:eq on numbers and characters, and nowhere else. pretty marginal compared to how it looms in C/C++
<beach> phantomics: Sure, go ahead.
cage has joined #commonlisp
<beach> skin: What Bike is describing is what I call "uniform reference semantics", which means that Common Lisp behaves as if (almost) every object is manipulated through a reference (or a pointer) to a chunk of memory.
<ixelp> Common Lisp semantics
<phantomics> Thanks beach, I was wondering how the interface between code-commands and instruction-descriptors works
<phantomics> I want to output instructions that will have a uniform width of 8 bytes, and the format is different from x86, often with a number of 0-bytes before the opcodes
<beach> The instruction descriptors that match the mnemonic are candidates, and then, depending on the operands of the code command, only the possible instruction descriptors are kept.
<phantomics> Ok, so it checks the types of the operands, where is the code for this type-checking?
<beach> Good question. I need to refresh my memory...
<beach> I think best-candiate-descriptor in code.lisp
<beach> If first calls CANDIDATES with the mnemonic and the operands.
<phantomics> Ok cool, also the instruction-descriptor class is pretty tightly coupled to x86, and for more x86 coverage it will need to be expanded to support more operation prefixes than rex.w
<beach> CANDIDATES calls OPERANDS-MATCH-P.
<beach> Sure. And you would probably do an entirely different instruction descriptor class for RISC machines.
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
<phantomics> Yeah, it'll need new encode-instruction methods as well
<beach> Absolutely.
<phantomics> I've created a new instruction database system paralleling the x86 instruction database, I'll approach the design by putting overrides for the x86 default classes and methods in that system, then later I can look at how to normalize Cluster further with arch-specific stuff factored into different systems, does that make sense?
<beach> Sounds great.
<phantomics> All right, I'll work on overriding defaults until I get something workable, I'll let you know any more questions, appreciate it
<beach> Sure. Good luck!
<skin> beach: Interesting, uniform reference semantics, I'll loook it up
<beach> I invented it. So you will find only my pages.
<skin> Still, very useful
<beach> Thanks.
<beach> It's the only sane semantics. When I used to program in C, I made everything a pointer. Otherwise I couldn't understand the semantics.
<skin> A cool idea.
<skin> never heard of it before, but it makes sense
<beach> I mean, I didn't invent the semantics. Just the name for it.
<beach> But it is hard to have such semantics in a language without automatic memory management, which is why C and especially C++ is so twisted in that they distinguish between references an non references.
<beach> In such a language you can't even write f(g(x)). You have to write "mumble temp = g(x); mumble2 = f(temp); free(temp); return mumble2.
<beach> Er, "mumble temp = g(x); mumble temp2 = f(temp); free(temp); return temp2." I mean.
waleee has joined #commonlisp
<phoe> actually in C++ you can, due to how its destructors work
<phoe> but then AFAIK it took the standard a while to avoid copying on leaving the function
<beach> Not if the object is heap allocated.
<phoe> even if the object is heap allocatedhm
<phoe> welp
<beach> OK.
<phoe> even if the object is heap allocated
<beach> How does the system know that there are no more references to it?
<phoe> to the best of my understanding: it doesn't, that's why in the naïve case it needs to copy on leaving the function and then destroy the intermediate objects
<phoe> like, with "Foo a = g(x); Foo b = f(temp); return b;" you'd need to copy b out and then call destructors for a and b
<beach> But I explicitly said that my example was when you use reference semantics. So that excludes copying.
<phoe> oh, welp - I interpreted "mumble temp = g(x); mumble temp2 = f(temp); free(temp); return temp2." as c++ pseudocode
<beach> It was. And it was an example of what you need to do if you use references for x, what g(x) returns, and what f(y) returns.
<jackdaniel> skin: C (and C++) programs often hide the pointer behind a typedef to avoid clutter (and too-many-stars confusion at times)
* beach goes to fix dinner for his (admittedly small) family.
NicknameJohn has joined #commonlisp
<jackdaniel> i.e in the aosp codebase (c++ part) it is basically a given
<skin> True.
glaucon has quit [Quit: Leaving.]
jmdaemon has joined #commonlisp
jmdaemon has quit [Ping timeout: 265 seconds]
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NotThatRPG has joined #commonlisp
jmdaemon has joined #commonlisp
bjorkintosh has quit [Quit: Leaving]
dcb has joined #commonlisp
kevingal has quit [Ping timeout: 264 seconds]
dcb has quit [Remote host closed the connection]
Catie has joined #commonlisp
glaucon has joined #commonlisp
dcb has joined #commonlisp
Catie` has joined #commonlisp
Catie has quit [Remote host closed the connection]
piethesailor has quit [Remote host closed the connection]
masinter has joined #commonlisp
avocadoist has quit [Ping timeout: 240 seconds]
Catie` has quit [Changing host]
Catie` has joined #commonlisp
Catie` is now known as Catie
markb1 has quit [Ping timeout: 248 seconds]
rogersm has quit [Ping timeout: 264 seconds]
jonatack has quit [Ping timeout: 265 seconds]
jonatack has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
NotThatRPG has joined #commonlisp
NotThatRPG has quit [Client Quit]
NotThatRPG has joined #commonlisp
markb1 has joined #commonlisp
avocadoist has joined #commonlisp
piethesailor has joined #commonlisp
jonatack has quit [Quit: WeeChat 3.8]
<piethesailor> Anyone have a pragmatic resource for geting data through cl-celenium? I have a table on a webpage I want data from, but I am stuck. Should I use functions from 'cl-selenium-utils' to (id "") (attr "") myself to the data in a 'lquery' kind of way. Perhaps I am still too uneducated on css-selectors to ask the right kinds of questions.
<piethesailor> Any pointers is appreciated
<ixelp> System Open Market Account Holdings of Domestic Securities - FEDERAL RESERVE BANK of NEW YORK
<piethesailor> cl-selenium*
Sauvin is now known as Zymurgy
Zymurgy has quit [Changing host]
Zymurgy has joined #commonlisp
chrcav has quit [Ping timeout: 240 seconds]
chrcav has joined #commonlisp
lucasta has joined #commonlisp
jmiven has quit [Quit: reboot]
jmiven has joined #commonlisp
nij- has joined #commonlisp
pjb has joined #commonlisp
bollu has quit [Quit: Ping timeout (120 seconds)]
bollu has joined #commonlisp
defaultxr has quit [Ping timeout: 246 seconds]
NotThatRPG has quit [Remote host closed the connection]
lucasta has quit [Remote host closed the connection]
david` has quit [Remote host closed the connection]
z4kz has joined #commonlisp
<piethesailor> I am at the point where I am getting elements returned to me, but I am only getting class objects, and not the actual data
<phoe> class objects, what do you mean?
<z4kz> hello
<z4kz> what's the lisp for beginner's irc channel?
<phoe> after getting such an object, can you do a (describe *)?
<phoe> z4kz: #clschool
<z4kz> thanks
<ixelp> (ql:quickload :cl-selenium)(defpackage my-test (:use :cl :cl-selenium) - Pastebin.com
<piethesailor> I should take my time and name these pastebins in future for ixelp
<phoe> call CL-SELENIUM:ELEMENT-TEXT on it or something
<phoe> it seems that there are lots of functions defined for use on those ELEMENT objects
<piethesailor> Ah! ':)
<piethesailor> yeah that does it
<piethesailor> sometimes I just need a push in the right direction. phoe: I would tip you if I could lol
<piethesailor> Webscrapping is still a new frontier for me
masinter has quit [Ping timeout: 268 seconds]
<phoe> ;; golly, getting paid for doing lisp online!? unbelievable
jmdaemon has quit [Ping timeout: 240 seconds]
<piethesailor> Cheers, again
triffid has quit [Remote host closed the connection]
jonatack has joined #commonlisp
NotThatRPG has joined #commonlisp
glaucon has quit [Read error: Connection reset by peer]
IAmRasputin has quit [Ping timeout: 250 seconds]
cage has quit [Quit: rcirc on GNU Emacs 28.2]
IAmRasputin has joined #commonlisp
morganw has joined #commonlisp
triffid has joined #commonlisp
NicknameJohn has quit [Ping timeout: 240 seconds]
mariari has quit [Read error: Connection reset by peer]
attila_lendvai has quit [Quit: Leaving]
pve has quit [Quit: leaving]
attila_lendvai has joined #commonlisp
lucasta has joined #commonlisp
attila_lendvai has quit [Ping timeout: 264 seconds]
mariari has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
avocadoist has quit [Read error: Connection reset by peer]
avocadoist has joined #commonlisp
shka has quit [Ping timeout: 240 seconds]
megeve is now known as delyan
piethesailor has quit [Ping timeout: 240 seconds]
waleee has quit [Ping timeout: 240 seconds]
waleee has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
masinter has joined #commonlisp
ober has quit [Quit: leaving]
dino_tutter has quit [Ping timeout: 264 seconds]
lucasta has quit [Remote host closed the connection]
lucasta has joined #commonlisp
dino_tutter has joined #commonlisp
NotThatRPG has joined #commonlisp
poselyqualityles has joined #commonlisp
morganw has quit [Remote host closed the connection]
tyson2 has joined #commonlisp
elevenkb has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
elevenkb has quit [Ping timeout: 240 seconds]
NotThatRPG has joined #commonlisp
NotThatRPG has quit [Client Quit]
piethesailor has joined #commonlisp
cognemo_ has joined #commonlisp
cognemo has quit [Ping timeout: 240 seconds]
nij- has quit [Ping timeout: 240 seconds]
piethesailor has left #commonlisp [ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.0.90)]
tevo has quit [Read error: Connection reset by peer]
tevo has joined #commonlisp
avocadoist has quit [Quit: Konversation terminated!]
avocadoist has joined #commonlisp
jmdaemon has joined #commonlisp
cognemo_ has quit [Ping timeout: 264 seconds]
cognemo has joined #commonlisp