p_l changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language | <https://irclog.tymoon.eu/freenode/%23lisp> <https://irclog.whitequark.org/lisp> <http://ccl.clozure.com/irc-logs/lisp/> | ASDF 3.3.4
terpri has quit [Remote host closed the connection]
terpri has joined #lisp
terpri has quit [Remote host closed the connection]
lucasb has quit [Quit: Connection closed for inactivity]
CrazyPython has quit [Read error: Connection reset by peer]
georgiePorgie has joined #lisp
pjb` has joined #lisp
lottaquestions_ has joined #lisp
<no-defun-allowed> I don't really know what I'm asking, but how can I change the order in which arguments are used to compute the method list for a generic function?
<no-defun-allowed> If I have a method with lambda list ((x a) y) and another with (x (y b)), I would want the latter to be used first, but the default appears to use the former first.
lottaquestions has quit [Ping timeout: 272 seconds]
pjb has quit [Ping timeout: 272 seconds]
smazga has quit [Quit: leaving]
davr0s has quit [Quit: Ex-Chat]
<no-defun-allowed> Aha, might be :argument-precedence-order.
Demosthenex has quit [Ping timeout: 268 seconds]
mathrick_ has joined #lisp
karlosz has quit [Quit: karlosz]
EvW has quit [Ping timeout: 246 seconds]
karlosz has joined #lisp
Demosthenex has joined #lisp
mathrick_ has quit [Ping timeout: 240 seconds]
Khisanth has quit [Ping timeout: 265 seconds]
keep-learning[m] has left #lisp ["User left"]
Khisanth has joined #lisp
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
vms14 has quit [Remote host closed the connection]
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
turona has quit [Ping timeout: 272 seconds]
turona has joined #lisp
ebzzry has joined #lisp
vms14 has joined #lisp
akoana has joined #lisp
mathrick_ has joined #lisp
nowhere_man has quit [Ping timeout: 272 seconds]
nowhere_man has joined #lisp
CrazyPython has joined #lisp
karlosz has quit [Quit: karlosz]
KingOfCSU has joined #lisp
rwcom3 has joined #lisp
CrazyPython has quit [Read error: Connection reset by peer]
rwcom has quit [Ping timeout: 272 seconds]
rwcom3 is now known as rwcom
__jrjsmrtn__ has joined #lisp
_jrjsmrtn has quit [Ping timeout: 272 seconds]
Ukari has joined #lisp
CrazyPython has joined #lisp
Aruseus has joined #lisp
CrazyPython has quit []
CrazyPython has joined #lisp
buffergn0me has joined #lisp
bitmapper has quit [Ping timeout: 240 seconds]
CrazyPython has quit [Read error: Connection reset by peer]
efm has quit [Remote host closed the connection]
davsebamse has quit [Ping timeout: 268 seconds]
KingRiverLee has joined #lisp
karlosz has joined #lisp
KingOfCSU has quit [Ping timeout: 268 seconds]
georgiePorgie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
davsebamse has joined #lisp
efm has joined #lisp
ebzzry has quit [Ping timeout: 260 seconds]
pjb`` has joined #lisp
pjb` has quit [Ping timeout: 246 seconds]
patrixl has joined #lisp
vms14 has quit [Remote host closed the connection]
ikki has quit [Ping timeout: 265 seconds]
KingOfCSU has joined #lisp
nowhere_man has quit [Ping timeout: 272 seconds]
KingRiverLee has quit [Ping timeout: 268 seconds]
z147 has quit [Quit: z147]
mangul has joined #lisp
ikki has joined #lisp
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
pjb``` has joined #lisp
pjb`` has quit [Ping timeout: 272 seconds]
KingRiverLee has joined #lisp
KingOfCSU has quit [Ping timeout: 265 seconds]
karlosz has quit [Quit: karlosz]
gendarme has joined #lisp
oni-on-ion has joined #lisp
karlosz has joined #lisp
<LdBeth> heloo
<no-defun-allowed> Hello LdBeth.
|Pirx| has quit [Ping timeout: 240 seconds]
ikki has quit [Ping timeout: 265 seconds]
KingRiverLee has quit [Quit: Leaving]
ebzzry has joined #lisp
Necktwi_ has quit [Quit: leaving]
ebzzry has quit [Ping timeout: 240 seconds]
Lord_of_Life_ has joined #lisp
Lord_of_Life has quit [Ping timeout: 268 seconds]
Lord_of_Life_ is now known as Lord_of_Life
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
oni-on-ion has left #lisp ["Left"]
ebzzry has joined #lisp
adam4567` has joined #lisp
adam4567 has quit [Ping timeout: 240 seconds]
buffergn0me has quit [Quit: ERC (IRC client for Emacs 26.2)]
akoana has left #lisp ["Leaving"]
terpri has joined #lisp
torbo has quit [Remote host closed the connection]
<beach> Good morning everyone!
<beach> no-defun-allowed: Yes, :ARGUMENT-PRECEDENCE-ORDER.
<no-defun-allowed> Indeed it is.
<no-defun-allowed> Good morning beach!
<patrixl> morning, beach!
ebzzry has quit [Ping timeout: 240 seconds]
nowhere_man has joined #lisp
pilne has quit [Quit: Given the choice between you, I'll take the sea-sick crocodile.]
sjl has quit [Ping timeout: 240 seconds]
nowhere_man has quit [Ping timeout: 272 seconds]
sjl has joined #lisp
X-Scale has quit [Ping timeout: 265 seconds]
X-Scale` has joined #lisp
X-Scale` is now known as X-Scale
ebzzry has joined #lisp
v88m has joined #lisp
gravicappa has joined #lisp
zaquest has quit [Quit: Leaving]
vivit has joined #lisp
zaquest has joined #lisp
<vivit> I've had trouble getting quicklisp to work. It installs just fine, but whenever I try to load anything, it tells me that no such system is found.
<beach> Did you run (ql:register-local-projects)?
<beach> Or maybe you just want to load projects already in Quicklisp?
<vivit> No, what does that do?
<vivit> ((ql:register-local-projects), that is; what does that do)
<beach> If you add a local project to ~/quicklisp/local-projects, Quicklisp does not automatically find it.
<beach> But again, maybe you are not trying to load a local project?
<beach> vivit: Does it fail when you try to load a system provided by Quicklisp, or does it fail when you try to load a system defined by yourself?
<vivit> Provided by quicklisp.
<beach> OK, so then the register-local-projects is not the problem.
<vivit> The quicklisp website says that the quickload function "will automatically download any supporting software it needs to load [a] system." I feel like I'm probably making a very silly mistake.
<beach> And what is it that you do when you get the error message?
<vivit> (ql:quickload literally-anything)
<beach> Do you have a directory ~/quicklisp ?
<vivit> Uh.... hrm. I reinstalled it and it's working now.
<beach> OK, good.
<vivit> I have a big manually-curated .asdf/ directory. Is there anything I should do to migrate what I have there to quicklisp?
gendarme has quit [Quit: Leaving]
Aruseus_ has joined #lisp
Aruseus has quit [Ping timeout: 272 seconds]
<Nilby> I tossed most of my huge manually-curated asdf directory, and had much fewer links only as needed in quicklisp/loccal-projects.
<White_Flame> vivit: symlink from local-projects to your .asdf directory
oxum has quit [Remote host closed the connection]
<White_Flame> it searches nested directories for .asd files
<White_Flame> (to be extra clear, add a symlink inside local-projects/, don't make local-projects itself a link)
akoana has joined #lisp
Aruseus_ is now known as Aruseus
vs1 has quit [Ping timeout: 260 seconds]
akoana has left #lisp ["Leaving"]
vivit has quit [Ping timeout: 265 seconds]
shifty has joined #lisp
brettgilio has quit [Quit: ZNC 1.7.5 - https://znc.in]
narimiran has joined #lisp
oxum has joined #lisp
brettgilio has joined #lisp
oxum has quit [Remote host closed the connection]
oxum has joined #lisp
pjb```` has joined #lisp
shka_ has joined #lisp
pjb``` has quit [Ping timeout: 246 seconds]
cartwright has quit [Remote host closed the connection]
shidima has joined #lisp
Nilby has quit [Read error: Connection reset by peer]
oxum has quit [Remote host closed the connection]
oxum has joined #lisp
dddddd has quit [Ping timeout: 272 seconds]
vlatkoB has joined #lisp
oxum has quit [Ping timeout: 240 seconds]
shidima has quit [Ping timeout: 272 seconds]
Bourne has quit [Ping timeout: 272 seconds]
oxum has joined #lisp
oxum has quit [Ping timeout: 272 seconds]
oxum has joined #lisp
shka_ has quit [Ping timeout: 272 seconds]
shifty has quit [Ping timeout: 265 seconds]
sauvin has joined #lisp
ebzzry has quit [Ping timeout: 272 seconds]
JohnMS_WORK has joined #lisp
dale has quit [Quit: My computer has gone to sleep]
varjag has joined #lisp
ealfonso has joined #lisp
scymtym has quit [Ping timeout: 240 seconds]
Aruseus has quit [Quit: leaving]
EvW has joined #lisp
shidima has joined #lisp
<shidima> Good morning all
Oddity has quit [Read error: Connection reset by peer]
EvW has quit [Ping timeout: 240 seconds]
<no-defun-allowed> Hello shidima.
Oddity has joined #lisp
rwcom2 has joined #lisp
frgo has quit [Remote host closed the connection]
rwcom has quit [Ping timeout: 265 seconds]
rwcom2 is now known as rwcom
vs1 has joined #lisp
nowhere_man has joined #lisp
gxt has quit [Ping timeout: 240 seconds]
sunwukong has joined #lisp
ym has quit [Ping timeout: 240 seconds]
EvW1 has joined #lisp
scymtym has joined #lisp
Bourne has joined #lisp
ym has joined #lisp
frgo has joined #lisp
ebzzry has joined #lisp
shka_ has joined #lisp
nowhere_man has quit [Ping timeout: 272 seconds]
frgo has quit [Ping timeout: 260 seconds]
EvW1 has quit [Read error: Connection reset by peer]
nowhere_man has joined #lisp
EvW has joined #lisp
ealfonso has quit [Ping timeout: 240 seconds]
JohnMS has joined #lisp
nowhere_man has quit [Ping timeout: 272 seconds]
JohnMS_WORK has quit [Ping timeout: 268 seconds]
frgo has joined #lisp
frgo has quit [Remote host closed the connection]
mingus` is now known as mingus
cmatei has quit [Ping timeout: 240 seconds]
frgo has joined #lisp
cmatei has joined #lisp
cmatei has quit [Read error: Connection reset by peer]
frgo has quit [Ping timeout: 272 seconds]
karlosz has quit [Quit: karlosz]
karlosz has joined #lisp
hhdave has joined #lisp
frgo has joined #lisp
davepdotorg has joined #lisp
amerlyq has joined #lisp
orivej has quit [Ping timeout: 272 seconds]
ebrasca has joined #lisp
|Pirx| has joined #lisp
Frobozz has joined #lisp
patrixl has left #lisp [#lisp]
theluke has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
cosimone has joined #lisp
m7v21z42 has joined #lisp
jmercouris has joined #lisp
theluke has joined #lisp
<m7v21z42> how do I become badass and write + compile code live, on-the-fly like Baggers does? I love writing lisp, I've studied a few of his videos with CEPL. When it comes to making a project or learning further though, I seem to not fully comprehend lisp just yet
<beach> Then you need practice. And you need to expose your code and take into account the feedback you get so that your code respects conventions.
v_m_v has joined #lisp
<jmercouris> Practice makes perfect.
<jmercouris> There is no universal recipe for how to learn. You will have to figure that out for yourself I am afraid.
<m7v21z42> is there a good online live runtime compiler / interpreter or something like Pico-8 for rapid testing and learning?
<jmercouris> One thing is pretty certain though, exposure to source material and practice will likely improve your skills
<jmercouris> the best way to do live development is via SLIME
<jmercouris> may I suggest Shinmera's distribution?
<beach> m7v21z42: You may also need to practice typing, and you might need to know more commands in your editor to make things fast.
<jmercouris> m7v21z42: https://portacle.github.io
<beach> m7v21z42: Any Common Lisp implementation can be used with Emacs+SLIME and you then have an incremental compiler that will do what you want.
<beach> m7v21z42: Common Lisp is a "dynamic" (or "interactive") language meaning that the semantics are defined as a suite of interactions, as opposed to "static" (or "batch") languages that have a strict separation between compile time and run time. This feature of Common Lisp is what makes live coding like that possible.
<beach> m7v21z42: Again, you can do that with any Common Lisp implementation.
<m7v21z42> thanks for suggesting portacle, seems like a good toolset of what I was already using
<beach> m7v21z42: Are you already comfortable with using Emacs?
<m7v21z42> sorta. I have maybe 10 or 20 hours of experience working with it and learning basic important functions
<beach> OK, then there is a lot of work to be done.
<beach> Emacs allows for navigation and editing by expressions, as opposed to just characters and words.
<beach> This feature is used a lot for editing Common Lisp codee.
<beach> code.
<m7v21z42> it's hard to remember everything but I'm familiar with the basics
<beach> You need to start getting comfortable with those commands.
<beach> That's fine, but the basics won't be enough for your goal.
<jmercouris> I mean, maybe
<jmercouris> you can always just use arrow keys and menu bar
<jmercouris> it will slow you down, but not any more than thinking would anyways
<jmercouris> my input speed and typing is not what slows me down when programming
<beach> jmercouris: Not if the objective is supposed to be reached.
<m7v21z42> I think it is probably better for learning to learn the key command versions
<beach> jmercouris: You can never get up to speed that way.
<jmercouris> yeah, I agree it is very slow
<jmercouris> if they want to be as fast as baggers... they will need to master their tool
<beach> jmercouris: Things like C-M-a, C-M-e, C-M-f, C-M-b, C-M-t are absolutely necessary to get up too speed with Common Lisp editing.
<jmercouris> yes, indeed
<jmercouris> traversing the SEXP rather than the text
<beach> I also tend to use M-/ a lot, especially if my variable names are long as they usually are in my code.
<jmercouris> one of my personal favorites is M-r
<beach> Sure.
<splittist> m7v21z42: when I want to do something with a new tool, I tell myself to take the time to find the 'right' way to do it (e.g. moving by word or by sexp), then make a note (perhaps on a sticky to be stuck to the monitor) and take the time to use that new way even if it is slower to begin with. After a while your fingers will take over and you can move to learning the next thing.
karlosz has quit [Quit: karlosz]
<beach> splittist: That's excellent advice.
v88m has quit [Ping timeout: 265 seconds]
<m7v21z42> this might be faux pas to ask about, but does anyone know anything about qlisp?
<m7v21z42> very interesting but hard to find information about it
<no-defun-allowed> qlisp?
<beach> m7v21z42: If it is not a Common Lisp implementation, then this channel is not the right forum for it.
<splittist> My latest thing is C-c C-] in slime modes, to close all the open parens. Although sometimes closing them one by one and watching the corresponding paren being highlighted is a good check that what I think is happening is actually happening.
<m7v21z42> thank you everyone, I'll return later
<no-defun-allowed> What is qlisp?
<phoe> ~ baby don't cons me ~ don't cons me ~ no more ~
<jmercouris> ???
<jmercouris> what is love?
<no-defun-allowed> 🤔
m7v21z42 has quit [Ping timeout: 260 seconds]
JohnMS has quit [Ping timeout: 260 seconds]
theluke has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
georgiePorgie has joined #lisp
shidima has quit [Remote host closed the connection]
<flip214> jmercouris: shouldn't that be "what is lisp?"
<jmercouris> lol you're right, I'm sorry, missed opportunity :-)
rwcom has quit [Quit: Ping timeout (120 seconds)]
rwcom has joined #lisp
theluke has joined #lisp
<no-defun-allowed> That's what I asked, sans one letter.
<jmercouris> oh, now it is making sense to me
<jmercouris> i was wondering why phoe had said that
random-nick has joined #lisp
gxt has joined #lisp
Bourne` has joined #lisp
Bourne has quit [Ping timeout: 268 seconds]
EvW has quit [Ping timeout: 260 seconds]
prince1 has quit [Ping timeout: 272 seconds]
fookara has joined #lisp
pjb```` has quit [Ping timeout: 246 seconds]
pjb has joined #lisp
EvW1 has joined #lisp
bitmapper has joined #lisp
semz has joined #lisp
gravicappa has quit [Ping timeout: 240 seconds]
heisig has joined #lisp
fookara has quit [Remote host closed the connection]
shifty has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
mrcom has quit [Quit: This computer has gone to sleep]
mrcom has joined #lisp
gko_ has joined #lisp
vs1 has quit [Ping timeout: 272 seconds]
prince1 has joined #lisp
prince1 has quit [Ping timeout: 268 seconds]
georgiePorgie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Bourne` has quit [Ping timeout: 240 seconds]
shifty has joined #lisp
Josh_2 has joined #lisp
<phoe> I have a foreign array of five u8s. Is there any clever way of turning that into a Lisp integer, other than manually reading that into a (vector u8 (5)) and manually LDBing the bytes into the result?
<semz> Is endianness important or is it just for storage?
<phoe> The latter. I don't care about endianness - the only thing I care about is that these values are unique.
<phoe> So in my case either all of them are big-endian or all are little-endian, which is good enough for me.
EvW1 has quit [Ping timeout: 265 seconds]
v_m_v has quit [Remote host closed the connection]
<phoe> I can read that as a foreign array of (:array :unsigned-char 5) and then sum it up manually, I just wonder if it can be done in a nicer way.
mrcom has quit [Read error: Connection reset by peer]
cosimone has quit [Quit: Terminated!]
georgiePorgie has joined #lisp
phlim has joined #lisp
orivej has joined #lisp
v_m_v has joined #lisp
mrcom has joined #lisp
didi has joined #lisp
<didi> Just a fun found in SBCL: (defun 1- (number) (declare (explicit-check)) (1- number)) turtles all the way.
<phoe> didi: that definition is there for the sake of e.g. source location finders, the actual 1- is implemented elsewhere.
<trittweiler> as a compiler intrinsic, essentially
madrik has joined #lisp
rwcom has quit [Quit: Ping timeout (120 seconds)]
rwcom has joined #lisp
<didi> Interesting.
frgo has quit [Remote host closed the connection]
<jdz> The princess is in another castle!
vms14 has joined #lisp
<didi> In other news, here's an implementation of Algorithm L of reservoir-sampling: <https://paste.debian.net/hidden/2f53652a> Admittedly, it's less useful because we're inputting a list that's already in memory, but oh well.
frgo has joined #lisp
lavaflow has quit [Ping timeout: 272 seconds]
<jdz> didi: I'd use (coerce <array> 'list) instead of MAP-INTO with IDENTITY.
<didi> jdz: Thank, but I only want the first K elements.
<didi> Thanks*
<jdz> didi: Right, my bad.
<jdz> You're already doing COERCE. But then again, I'd also COERCE the input list into an array instead of using NTHCDR.
semz has quit [Quit: Leaving]
<didi> jdz: Thank you.
shifty has quit [Ping timeout: 265 seconds]
shifty has joined #lisp
cmatei has joined #lisp
jeosol has quit [Remote host closed the connection]
<Xach> sjl: no. i want to add that info in the future.
FreeBirdLjj has joined #lisp
montaropdf has joined #lisp
semz has joined #lisp
<sjl> Xach: ah, okay. thanks.
<jdz> didi: I'd also write the whole method like this (maybe after thinking of ways to make it prettier): https://gist.github.com/jdz/c59f46053f7e79b69380f222a08cc5f9
<didi> jdz: Cool, thank you.
<Xach> sjl: i want to make it easy for anyone to find out exactly what, when & how I got something that's in a dist.
<didi> jdz: By the looks of it, I would say it isn't algorithm L anymore, but still nice.
_paul0 has joined #lisp
<jdz> didi: Right, I don't know what the algorithm L is (but I can guess); I was rolling with the method name. And the effect should be similar. If it's not, there's something wrong with the algorithm L (if my guess is correct).
paul0 has quit [Ping timeout: 246 seconds]
<jdz> I might also be talking nonsense, in which case I'd kindly ask you to point that out :)
<didi> jdz: Better yet, here's an Wikipedia page: <https://en.wikipedia.org/wiki/Reservoir_sampling#An_optimal_algorithm> :-)
vs1 has joined #lisp
<_death> didi: cool.. I've been using algorithm R up to now
<didi> _death: So last year... ;-)
<didi> _death: Thank you.
lucasb has joined #lisp
zaquest has quit [Ping timeout: 240 seconds]
zaquest has joined #lisp
Bike has joined #lisp
prince1 has joined #lisp
heisig has quit [Quit: Leaving]
zaquest has quit [Ping timeout: 260 seconds]
zaquest has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
shifty has joined #lisp
prince1 has quit [Ping timeout: 268 seconds]
v_m_v has quit [Remote host closed the connection]
georgiePorgie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<_death> not sure how much better it is in practice, since non-cryptographic PRNGs are quite fast ;)
dddddd has joined #lisp
georgiePorgie has joined #lisp
georgiePorgie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
shifty has quit [Ping timeout: 268 seconds]
shifty has joined #lisp
frgo has quit [Remote host closed the connection]
|Pirx| has quit [Remote host closed the connection]
|Pirx| has joined #lisp
bars0 has quit [Ping timeout: 240 seconds]
frgo has joined #lisp
wsinatra has joined #lisp
frgo has quit [Read error: Connection reset by peer]
frgo has joined #lisp
georgiePorgie has joined #lisp
shifty has quit [Ping timeout: 265 seconds]
shifty has joined #lisp
vivit has joined #lisp
<_death> could be useful if you have a way to quickly skip a number of items
frgo has quit [Ping timeout: 260 seconds]
bars0 has joined #lisp
<_death> (i.e. if there's a big speed difference between skipping M items and scanning M items.. for example, querying items from a server)
grewal has quit [Ping timeout: 268 seconds]
<vivit> White_Flame: Thank you
grewal has joined #lisp
xkapastel has joined #lisp
<_death> also, since the indices are independent from the items, they can be pre-computed for each sample size
<_death> since random numbers are involved, several such sequences can be generated
<_death> they could be lazy sequences precomputed up to an arbitrary N
bars0 has quit [Ping timeout: 260 seconds]
<_death> time to stop rambling ;)
shifty has quit [Ping timeout: 240 seconds]
shifty has joined #lisp
<phoe> Xach: has there been a dist update recently?
<phoe> oooh, very recently, I see
v_m_v has joined #lisp
<didi> _death: My list version scans the list, the original version only uses indices, so I'm guessing you get a speed up by skipping items.
<Xach> in progress!
<phoe> thanks!
<_death> didi: if you need to scan each item then the point of the algorithm is lost
pfdietz has quit [Remote host closed the connection]
<didi> _death: Even worse: the list is all in memory, so the reservoir advantage is non-existent.
<_death> didi: well, there is still some advantage, as you don't have to know the length of the list a priori
<didi> _death: True.
montaropdf has quit [Quit: ERC (IRC client for Emacs 26.3)]
FreeBirdLjj has quit [Remote host closed the connection]
pfdietz has joined #lisp
FreeBirdLjj has joined #lisp
v_m_v has quit [Ping timeout: 272 seconds]
FreeBirdLjj has quit [Ping timeout: 240 seconds]
ikki has joined #lisp
<_death> didi: so it seems a good interface would be a lazy sequence of indices.. then user code can skip items and update the sample accordingly
whartung has quit [Quit: whartung]
<_death> (or a stream of indices, if you like)
<didi> _death: It seems to me that the point is not having all the source in memory. I think Algorithm L advantage is avoiding calling `random' at every source element.
<_death> didi: right, it not just avoids calling random, but it avoids doing anything, hence items can be skipped
rwcom5 has joined #lisp
<didi> _death: True, true.
vivit has quit [Ping timeout: 268 seconds]
vms14 has quit [Remote host closed the connection]
v_m_v has joined #lisp
<_death> I would write a short snippet to make my interface idea clear, but I have to leave soon
<didi> Tho my use case, i.e. reading large files from disk, would still force someone to read all the items sequentially.
<_death> didi: can you not seek? (do you not have an index for each item position, or fixed size items?)
rwcom has quit [Ping timeout: 272 seconds]
rwcom5 is now known as rwcom
<didi> _death: Right, I can pre process it, tho I don't. Each line is a record.
Bike has quit [Remote host closed the connection]
<_death> then algorithm R would likely be sufficient ;)
<didi> _death: Thank you.
frgo has joined #lisp
whartung has joined #lisp
<_death> the way I've been using it also required scanning, but it helped not having to know the length beforehand
Bike has joined #lisp
Bourne has joined #lisp
amerlyq has quit [Read error: Connection reset by peer]
shifty has quit [Ping timeout: 240 seconds]
amerlyq has joined #lisp
manualcrank has quit [Quit: WeeChat 1.9.1]
ikki has quit [Remote host closed the connection]
shifty has joined #lisp
rpg has joined #lisp
<rpg> Wondering: is anyone proposing any lisp-related projects to Google Summer of Code?
oxum_ has joined #lisp
oxum_ has quit [Remote host closed the connection]
<_death> a search engine
varjag has quit [Quit: ERC (IRC client for Emacs 25.2.2)]
<beach> I keep wondering whether GSoC takes place in December-January in the southern hemisphere.
<jmercouris> lol
<jmercouris> that's hilarious
oxum has quit [Ping timeout: 265 seconds]
<rpg> beach: No, but they have to write the code counterclockwise
<beach> Ah. :)
<jmercouris> i thought the difference was that their parentheses have to be like )print "lol"(
<jmercouris> oh man that looks so wrong
didi has left #lisp ["O bella ciao bella ciao bella ciao, ciao, ciao."]
<beach> As I recall, karlosz did the Cleavir-based compiler for CLISP as a GSoC project.
<rpg> jmercouris: That should be a sort of INTERCAL-like language
<jmercouris> what is ALGOL language exactly?
<jmercouris> I see many references to it
<jmercouris> but I've not met someone who says "I know algol"
<splittist> jmercouris: Australians were using parens 10,000 years ago. What goes around comes around, as they say.
<beach> jmercouris: You need to study CS history.
<Xach> splittist: vigorous boos
<rpg> beach: GSoC is done through the project, so it would have to be someone like your Uni, or the SBCL project, or something like that.
<beach> rpg: I know. I was not aware of karlosz applying that time, and I was not a mentor.
<rpg> jmercouris: ALGOL was sort of the Ur-language for structured (post FORTRAN) programming. It gave rise to a lot of key PL ideas.
<jmercouris> PL?
<rpg> jmercouris: It's usually taught in intro programming language courses.
<Bike> unlike with lisp, modern languages closely derived from old ALGOL aren't really called ALGOL, as far as i know anyway
<jmercouris> apparently the ACCM was doing it for some time
<rpg> jmercouris: Many of the ideas in ALGOL found their better-known exposure in Pascal.
<jmercouris> I see
<beach> jmercouris: PL = programming language
<jmercouris> oh ok
<jmercouris> thank you
<beach> Now didn't the Scheme specification contain a reference to Algol?
<rpg> jmercouris: So in PL class we read the Algol report, a paper about Self, Prolog, McCarthy's Lisp paper, and probably some others I have forgotten.
<jmercouris> oh I see
<jmercouris> very interesting
<rpg> I think ALGOL added a lot of clarity to the understanding of how arguments get passed to procedures.
<beach> Algol was my first programming language. I had no place to execute it though.
<beach> I read the book in 1975 or so.
<Bike> "We gladly acknowledge the influence of manuals for MIT Scheme [20], T [21], Scheme 84 [12], Common Lisp [25], Chez Scheme [8], PLT Scheme [11], and Algol 60 [1]."
<Bike> in r6rs.
<rpg> If I recall correctly, it took years and years for Algol 68 and Ada to be fully implemented.
<rpg> Meanwhile, Pascal took over most of the energy behind structured programming.
<beach> Bike: Also R3RS: "Dedicated to the Memory of ALGOL 60"
<Bike> algol 60 is like twenty years older than the rest of those, so that's kind of neat
oxum has joined #lisp
FreeBirdLjj has joined #lisp
<beach> jmercouris: Learning about the history of programming languages, operating systems, and computer architecture is an absolute must. Otherwise, you will fall into the trap of thinking that what you have now is not only all there is, but that it's the best thing since sliced bread. And then you won't have the mental tools to want something better.
* Odin- would say that, somewhat simplified, ALGOL is to C and Pascal as LISP is to Scheme and Common Lisp.
gko_ has quit [Ping timeout: 265 seconds]
<beach> That's not a bad parallel actually.
<rpg> I think that's mostly true, but I'm not sure that C fits perfectly -- it seems really off on its own.
<Odin-> C is more indirect than Pascal.
georgiePorgie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Bike> BCPL cut a bunch of stuff out and C has only barely got it back
Inline has joined #lisp
<Odin-> And even then sometimes only against the grain.
gxt has quit [Ping timeout: 240 seconds]
<drmeister> Does anyone know quicklisp well enough (hi Xach) to confirm that this is where quicklisp loads asdf systems?
<drmeister> I'm trying to time individual quicklisp system loading by wrapping TIME around this.
<drmeister> I'll know soon - but I thought I'd toss this out there.
<drmeister> Hokay - no - it isn't.
vivit has joined #lisp
<splittist> Algol 68 - by contrast to Algol 60 - was a decade-long, international experiment in how not to create a language. I'm sure it informed the pragmatism of the CL spec.
FreeBirdLjj has quit [Ping timeout: 272 seconds]
<drmeister> Yeah - that was naive. quicklisp/asdf are all kinds of recursive when systems are loaded.
<rpg> splittist: but Algol 68 was still very influential in programming language design. Like Ada, it turned out to be an experiment in how not to create an IMPLEMENTED language, but they were nevertheless very influential in successor languages that WERE implemented.
<Odin-> Dare I mention COBOL?
shifty has quit [Ping timeout: 265 seconds]
shifty has joined #lisp
<rpg> drmeister: Could you wrap calls to ASDF:OPERATE? I think this would be the right place, but I haven't looked at it to confirm.
<rpg> drmeister: You might be able to put an :AROUND method on it, but I'm not sure.
<drmeister> rpg: Thank you - I'm trying that now.
<drmeister> Well, something like that.
<rpg> drmeister: The tricky thing is that you don't know whether the COMPILE-OP is going to be invoked or not.
<drmeister> I hacked asdf:load-system
Lord_of_Life has quit [Ping timeout: 265 seconds]
<drmeister> I clear the cache beforehand
<splittist> rpg: Oh, absolutely. And Ada itself was a reaction to Algol 68.
<rpg> drmeister: That's just a user interface function: internally LOAD-SYSTEM is never called recursively. It's a thin shim around OPERATE
<drmeister> I hit Control-C in a quicklisp load and looked at the stack - in this ccase there are several load-systems on the stack.
<drmeister> That's what led me to try this.
<rpg> drmeister: That must be stuff that's being done by QL -- it wouldn't be ASDF doing that.
manualcrank has joined #lisp
<vivit> Is there any way to change the directory in which quicklisp in installed without reinstalling quicklisp?
Lord_of_Life has joined #lisp
<phoe> vivit: AFAIK you can just move the directory
<phoe> AFAIK setup.lisp operates relative to the directory it is in
<phoe> so `mv ~/quicklisp ~/slowlisp` and then `(load #p"~/slowlisp/setup.lisp")` *should* work to the best of my knowledge
prince1 has joined #lisp
georgiePorgie has joined #lisp
CrazyPython has joined #lisp
prince1 has quit [Ping timeout: 260 seconds]
smazga has joined #lisp
clothespin has joined #lisp
FreeBirdLjj has joined #lisp
dale_ has joined #lisp
dale_ is now known as dale
georgiePorgie has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
Inline has quit [Quit: Leaving]
FreeBirdLjj has quit [Remote host closed the connection]
Inline has joined #lisp
v88m has joined #lisp
georgiePorgie has joined #lisp
Ukari has quit [Remote host closed the connection]
Ukari has joined #lisp
<vivit> thanks
georgiePorgie has quit [Client Quit]
shifty has quit [Ping timeout: 272 seconds]
shifty has joined #lisp
CrazyPython has quit [Read error: Connection reset by peer]
CrazyPython has joined #lisp
edgar-rft has quit [Quit: Leaving]
CrazyPython has quit [Read error: Connection reset by peer]
pjb has quit [Remote host closed the connection]
pjb has joined #lisp
Bike has quit [Remote host closed the connection]
semz has quit [Quit: Leaving]
varjag has joined #lisp
vms14 has joined #lisp
random-nick has quit [Read error: Connection reset by peer]
<Xach> phoe is 1000 per mille right
<phoe> Xach: sometimes even faster, depending on the CPUs I have on a given machine
pjb has quit [Read error: Connection reset by peer]
wsinatra has quit [Quit: WeeChat 2.7]
<pfdietz> Odin-: I know a company that uses Common Lisp to manipulate COBOL source code.
pjb has joined #lisp
lottaquestions has joined #lisp
lottaquestions_ has quit [Ping timeout: 272 seconds]
pfdietz has quit [Remote host closed the connection]
xkapastel has quit [Quit: Connection closed for inactivity]
LiamH has joined #lisp
hhdave has quit [Ping timeout: 272 seconds]
hhdave has joined #lisp
<phoe> oh my goodness
lottaquestions has quit [Ping timeout: 268 seconds]
albatroz has joined #lisp
Nilby has joined #lisp
lottaquestions has joined #lisp
<albatroz> I'm having a weird behaviour on SBCL in Windows.
<albatroz> I have a stream to a file.
<clothespin> and?
<albatroz> And when I try to use fstat to get the file's information from its file descriptor I get a "SB-POSIX:FSTAT: The storage control block address is invalid."
albatroz5 has joined #lisp
<clothespin> have you tried another os, by any chance, to know what correct behavior is?
<phoe> seems like some sorta permissions issue, by brief googling
<albatroz5> Actually no. But I was expecting to get a stat such as by using stat with a filename
Necktwi has joined #lisp
Bike has joined #lisp
aindilis has quit [Remote host closed the connection]
PuercoPope has joined #lisp
lottaquestions has quit [Ping timeout: 260 seconds]
albatroz has quit [Ping timeout: 260 seconds]
<albatroz5> `(with-open-file (stream "z:/.emacs.d/init.el") (sb-posix:fstat (sb-sys:fd-stream-fd stream)))`
<albatroz5> this is my simple test. It works as expected if I use `sb-posix:stat`
aindilis has joined #lisp
<albatroz5> Just wondering if someone had bumped into this before...
albatroz5 is now known as albatroz
frgo has quit [Ping timeout: 265 seconds]
lottaquestions has joined #lisp
sunwukong has quit [Quit: Leaving]
davepdotorg has quit [Remote host closed the connection]
pfdietz has joined #lisp
random-nick has joined #lisp
<Josh_2> I don't think many people in here use Windows albatroz
<pfdietz> I use Windows, but I run SBCL in it using WSL/Ubuntu.
<clothespin> WARNING: DBG_PRINTEXCEPTION_C: Invalid parameter passed to C runtime function.
<clothespin> I've replicated your error albatroz
<clothespin> an interesting debug message with it
lottaquestions has quit [Ping timeout: 268 seconds]
lottaquestions has joined #lisp
hhdave has quit [Quit: hhdave]
<albatroz> Yeah, I'm stuck with windows unfortunately.
akhetopnu has joined #lisp
<albatroz> I beggining to suspect that the open of streams isn't "informing" the external library that implements fstat.
pfdietz has quit [Remote host closed the connection]
cods_ is now known as cods
<albatroz> and thus the invalid address.
cods has quit [Changing host]
cods has joined #lisp
<albatroz> But at this point I'm just shooting in the dark...
scymtym has quit [Ping timeout: 240 seconds]
gareppa has joined #lisp
sjl_ has joined #lisp
albatroz has quit [Remote host closed the connection]
vms14 has quit [Remote host closed the connection]
gravicappa has joined #lisp
rippa has joined #lisp
lavaflow has joined #lisp
prince1 has joined #lisp
ebzzry has quit [Read error: Connection reset by peer]
<clothespin> albatroz: let me try it on macos
prince1 has quit [Ping timeout: 240 seconds]
<clothespin> it works on macos, returning a psoix:stat object
<clothespin> does windows support fstat?
<phoe> seems like it does
<phoe> you might have more luck on #sbcl if it's this implementation-specific
gareppa has quit [Quit: Leaving]
lottaquestions has quit [Ping timeout: 268 seconds]
shifty has quit [Ping timeout: 265 seconds]
shifty has joined #lisp
cosimone has joined #lisp
sz0 has quit [Quit: Connection closed for inactivity]
dvdmuckle has quit [Quit: Bouncer Surgery]
theBlackDragon has quit [Ping timeout: 240 seconds]
dvdmuckle has joined #lisp
buffergn0me has joined #lisp
vivit has quit [Ping timeout: 268 seconds]
hiroaki has joined #lisp
aindilis has quit [Remote host closed the connection]
aindilis has joined #lisp
karlosz has joined #lisp
<jmercouris> any mailman like server written in CL?
shifty has quit [Ping timeout: 240 seconds]
shifty has joined #lisp
sauvin has quit [Read error: Connection reset by peer]
vivit has joined #lisp
CrazyPython has joined #lisp
vs1 has quit [Quit: WeeChat 1.9.1]
slyrus__ has joined #lisp
Codaraxis has joined #lisp
slyrus_ has quit [Ping timeout: 240 seconds]
dvdmuckle has quit [Quit: Bouncer Surgery]
dvdmuckle has joined #lisp
mercourisj has joined #lisp
jmercouris has quit [Disconnected by services]
mercourisj is now known as jmercouris
vivit has quit [Ping timeout: 268 seconds]
nirved has quit [Ping timeout: 248 seconds]
nirved has joined #lisp
edgar-rft has joined #lisp
jmercouris has quit [Remote host closed the connection]
amerlyq has quit [Quit: amerlyq]
pnp has joined #lisp
pnp has left #lisp [#lisp]
cosimone has quit [Quit: Quit.]
vivit has joined #lisp
vivit has quit [Changing host]
vivit has joined #lisp
Xach_ has joined #lisp
Xach_ has quit [Changing host]
Xach_ has joined #lisp
Xach has quit [Ping timeout: 265 seconds]
prince1 has joined #lisp
Khisanth has quit [Ping timeout: 240 seconds]
scymtym has joined #lisp
prince1 has quit [Ping timeout: 240 seconds]
CrazyPython has quit [Read error: Connection reset by peer]
Khisanth has joined #lisp
gareppa has joined #lisp
notzmv has quit [Ping timeout: 240 seconds]
vlatkoB has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
darkstardevx has quit [Remote host closed the connection]
darkstardevx has joined #lisp
Codaraxis has quit [Read error: Connection reset by peer]
Bourne has quit [Ping timeout: 240 seconds]
gareppa has quit [Quit: Leaving]
karlosz has quit [Quit: karlosz]
Nilby has quit [Read error: Connection reset by peer]
Xach_ is now known as Xach
narimiran has quit [Ping timeout: 268 seconds]
bitmapper has quit []
shifty has quit [Ping timeout: 268 seconds]
shifty has joined #lisp
bitmapper has joined #lisp
efm has quit [Ping timeout: 268 seconds]
z147 has joined #lisp
vivit has quit [Ping timeout: 240 seconds]
cosimone has joined #lisp
phlim has quit [Quit: WeeChat 2.4]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
akhetopnu has quit [Ping timeout: 260 seconds]
Inline has quit [Quit: Leaving]
buffergn0me has quit [Ping timeout: 240 seconds]
EvW has joined #lisp
scymtym has quit [Remote host closed the connection]
gareppa has joined #lisp
gravicappa has quit [Ping timeout: 268 seconds]
gareppa has quit [Remote host closed the connection]
Codaraxis has joined #lisp
<phoe> you mean for delivering email?
<phoe> you could try porting https://github.com/franzinc/maild
<phoe> clhs ~d
<Shinmera> much easier to have a remote mail server and just send via smtp.
gareppa has joined #lisp
<p_l> mailman is for managing mailing list, isn't it?
<Odin-> Last I knew, yes.
<Shinmera> I was working on a mailing list service in summer but never got around to finishing it.
pfdietz has joined #lisp
EvW has quit [Ping timeout: 272 seconds]
vms14 has joined #lisp
gareppa has quit [Quit: Leaving]
pfdietz has quit [Remote host closed the connection]
prince1 has joined #lisp
prince1 has quit [Ping timeout: 260 seconds]
z147 has quit [Remote host closed the connection]
z147 has joined #lisp
gareppa has joined #lisp
shifty has quit [Ping timeout: 268 seconds]
orivej has quit [Ping timeout: 265 seconds]
albatroz has joined #lisp
gxt has joined #lisp
gareppa has quit [Quit: Leaving]
pyzozord has joined #lisp
<pyzozord> Hello I wish I knew lisp. It sounds so awesome. Why do you think lisp has not taken off as the main web langauge instead of javascript?
<White_Flame> lisp was heavily invested into in a previous AI wave. But then when overblown AI claims didn't materialize, people stigmatized the langauge instead
<White_Flame> now that that "AI Winter" has passed by a generation or two, there's fresher interest
<Xach> pyzozord: that is not an uninteresting question, but the topic of this channel is common lisp, and if you would like to talk about common lisp in some way, that's better.
<White_Flame> also, javascript was initially designed to be a Lisp derivative, but politics demanded it be java-like for fad hotness
<White_Flame> ##lisp is a general lisp-family channel, and #clschool is for people who are learning common lisp
<no-defun-allowed> not funny, didn't laugh
<White_Flame> whereas #lisp (here) is a common lisp users channel
z147_ has joined #lisp
<albatroz> clothespin thanks for checking in macos. I've checked on ubuntu and it works as expected.
<no-defun-allowed> pyzozord: You tell me. Why didn't some other language take off as the "main web language"? Probably similar reasons.
gxt has quit [Quit: WeeChat 2.7]
z147 has quit [Ping timeout: 240 seconds]
<p_l> not windows, MSVCCRT
<albatroz> I think this is a windows only problem. I'll try and check #sbcl as @phoe suggested. thanks!
<p_l> which is crucial difference, because I'm not sure how SBCL is compiled for windows
<albatroz> p_l yes, you are correct!
sz0 has joined #lisp
<p_l> (also, consider anything from sb-posix to be no-go on windows, as it should be - we need a proper sb-winnt, I guess)
<clothespin> sbcl uses msys64 to compile on windows
<clothespin> windows is supposed to be posix
Bike has quit [Quit: Bike]
<albatroz> I read today that MSVCCRT comes bundled in every recent windows, why not make use of it?
<clothespin> because sbcl uses gnu crt
<p_l> albatroz: MSVCCRT is available when you compile with MSVC
<clothespin> theres a pretty good manual somewhere on how to build sbcl on windows, a bit dated, but good
wusticality has joined #lisp
<p_l> albatroz: and yes, it's bundled, but that doesn't mean it's easy to use it
<p_l> (unless you compile with MSVC)
<p_l> anyway, from point of SBCL, I'd rather use NT APIs directly
<p_l> whether WinAPI or actually NTAPI bits
<p_l> instead of C-specific wrappers
<p_l> WinAPI and NTAPI are designed to be language agnostic, you see
pyzozord has left #lisp [#lisp]
<albatroz> I'm sorry, I'm quite new to this kind of details (mostly I just use Common Lisp)
<clothespin> my pc is setup for building sbcl on windows
<clothespin> i use visual c++ for everything except sbcl
<albatroz> So, what I take from this, until now, is that SBCL does support stat and fstat in windows through the use of GNU CRT and not MSVCCRT?
<clothespin> i doubt the crt is providing the function
<clothespin> it's probably another dll
<clothespin> the gnu c runtime probably provides this
<albatroz> Either way, it seems to not work on windows.
<clothespin> building sbcl on visual studio would be a major fork
<albatroz> I think i have some instructions on building sbcl, but not with visual studio.
<clothespin> it takes longer to set up the msys64 with gcc and binutils than probably to make the actual fix in sbcl
<albatroz> As I said, I'll drop a line in #sbcl and see if someone has bumped into this.
<albatroz> thanks for the insight!
<albatroz> Nice! thank you once again!
varjag has quit [Ping timeout: 272 seconds]
Codaraxis has quit [Read error: Connection reset by peer]
z147_ has quit [Quit: z147_]
jonatack has quit [Ping timeout: 240 seconds]
buffergn0me has joined #lisp
EvW1 has joined #lisp
edgar-rft has quit [Remote host closed the connection]
edgar-rft has joined #lisp
Bike has joined #lisp
cosimone has quit [Quit: Quit.]
buffergn0me has quit [Ping timeout: 260 seconds]
wusticality has quit [Ping timeout: 260 seconds]
wxie has joined #lisp
lucasb has quit [Quit: Connection closed for inactivity]
wusticality has joined #lisp
albatroz is now known as Hineios
Codaraxis has joined #lisp
buffergn0me has joined #lisp