pabs3 has quit [Read error: Connection reset by peer]
pabs3 has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
rkazak has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
skin has joined #commonlisp
AetherWind has quit [Quit: leaving]
bendersteed has quit [Quit: bendersteed]
ldb has joined #commonlisp
vardhan__ has quit [Ping timeout: 246 seconds]
rkazak has quit [Ping timeout: 245 seconds]
prokhor has joined #commonlisp
josrr has quit [Ping timeout: 272 seconds]
bpanthi977 has quit [Ping timeout: 245 seconds]
Everything has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
alfiee has joined #commonlisp
rkazak has joined #commonlisp
alfiee has quit [Ping timeout: 244 seconds]
rkazak has quit [Ping timeout: 248 seconds]
jimipj has quit [Remote host closed the connection]
jimipj has joined #commonlisp
rkazak has joined #commonlisp
ldb has quit [Ping timeout: 246 seconds]
decweb has quit [Remote host closed the connection]
rkazak has quit [Ping timeout: 252 seconds]
triffid has quit [Remote host closed the connection]
bpanthi977 has quit [Ping timeout: 252 seconds]
alfiee has joined #commonlisp
ixelp has quit [Ping timeout: 252 seconds]
ixelp has joined #commonlisp
triffid has joined #commonlisp
alfiee has quit [Ping timeout: 264 seconds]
Lord_of_Life has quit [Ping timeout: 244 seconds]
bigbookofbug has quit [Quit: Changing server]
msv has quit [Ping timeout: 248 seconds]
rkazak has joined #commonlisp
msv has joined #commonlisp
bpanthi977 has joined #commonlisp
Lord_of_Life has joined #commonlisp
akoana has joined #commonlisp
alfiee has joined #commonlisp
msv has quit [Remote host closed the connection]
bpanthi977 has quit [Ping timeout: 264 seconds]
msv has joined #commonlisp
cage has joined #commonlisp
cage has quit [Excess Flood]
cage has joined #commonlisp
rkazak has quit [Ping timeout: 246 seconds]
alfiee has quit [Ping timeout: 272 seconds]
Equill has quit [Ping timeout: 265 seconds]
bpanthi977 has joined #commonlisp
LainExperiments has joined #commonlisp
bigbookofbug has joined #commonlisp
Inline has joined #commonlisp
shmorg83 has quit [Ping timeout: 245 seconds]
Equill has joined #commonlisp
shmorg83 has joined #commonlisp
rkazak has joined #commonlisp
alfiee has joined #commonlisp
alfiee has quit [Ping timeout: 248 seconds]
yewscion has joined #commonlisp
bpanthi977 has quit [Ping timeout: 252 seconds]
shmorg83 has quit [Ping timeout: 252 seconds]
bpanthi977 has joined #commonlisp
<mwnaylor>
Clojure has these functions: `partition', `take', and `drop'. Are there equivalents built into Common Lisp? I am running SBCL.
<jackdaniel>
I think that it would be more useful if you had described what they do
<jackdaniel>
probably: take is remove-if-not and drop is remove-if
<jackdaniel>
while partition, um, remove-duplicates? probably not
<mwnaylor>
take returns the first n elements of a sequence. drop removes the first n elements of a sequence, returning the rest.
<jackdaniel>
SUBSEQ with start and end arguments <-
<mwnaylor>
partition breaks a sequence into smaller sequences of length n. Option step. Not specified, step is the same as n. Step tells how many elements to drop before returning the next sub-sequence.
khinsen has left #commonlisp [#commonlisp]
<jackdaniel>
I don't think that there's something built-in (but perhaps there is)
shka has joined #commonlisp
<yacin>
yeah i don't think there's anything by default for partition in CL. i wrote my own (and partition-by) since they're both pretty handy: https://plaster.tymoon.eu/view/4725#4725
alfiee has joined #commonlisp
<mwnaylor>
nthcdr works for drop.
<yacin>
i could've sworn i found them in some lib somewhere (at least partition) but wasn't able to find them again when i needed them
<yacin>
ah yeah
<kanuba>
Yes, serapeum
<yacin>
ah serapeum partition seems like clojure partition-by and batches is partition
<yacin>
i swear i checked serapeum but i guess i can't read
varjag has joined #commonlisp
alfiee has quit [Ping timeout: 264 seconds]
<mwnaylor>
serapeum seems to fit the bill for take and drop. Now I have to remember the name of that package. partition is different from the Clojure one. But, can write it in terms of take & drop.
cage has quit [Quit: rcirc on GNU Emacs 29.4]
Spawns_Carpeting has quit [Ping timeout: 252 seconds]
Spawns_Carpeting has joined #commonlisp
<phantomics>
Can anyone comment on the current state of the art for building a Quicklisp dist? I tried https://github.com/Shirakumo/redist but it doesn't seem to work, it doesn't build the sources/ and releases/ directories as described and even with the -v flag it shows no output when compiling
<ixelp>
GitHub - Shirakumo/redist: A project to handle the creation of Quicklisp dists
<Shinmera>
I use it and it works
<Shinmera>
(big surprise)
<phantomics>
Ok, when I do ./redist compile -v it's supposed to print some output, right?
<Shinmera>
if there's any projects and dists, sure
<Shinmera>
if not, there's nothing to do
rkazak has quit [Ping timeout: 264 seconds]
<phantomics>
Yeah I added a dist and a couple projects inside it, when I added the projects it printed some output that looked right
<phantomics>
Maybe it's because I was doing it on an M-series Mac
<Shinmera>
I doubt the m-series matters, but mac probably does
<phantomics>
I'll try on Linux then
<Shinmera>
does `redist list projects` show anything?
<phantomics>
Let's see
<Shinmera>
I'm honestly scratching my head a bit at what could be going wrong, I don't remember it using much of anything that should be platform dependent
<phantomics>
Nope, it comes back blank
<Shinmera>
right, so, the storage is messed up
<phantomics>
Also, before doing sbcl --eval '(asdf:make :redist)' I found I had to manually install the sqlite package
<phantomics>
Should I quickload the redist/sqlite package?
<Shinmera>
it already does that when you build a bin
<Shinmera>
otherwise it wouldn't need sqlit
<Shinmera>
e
mishoo has quit [Ping timeout: 252 seconds]
<phantomics>
Right
<phantomics>
I'll try it on Linux now
Equill has quit [Ping timeout: 260 seconds]
<phantomics>
Oh yeah, also ran into this: Symbol "EMPTY-DIRECTORY-P" not found in the ORG.SHIRAKUMO.FILESYSTEM-UTILS package
<Shinmera>
then you're out of date.
<phantomics>
I fixed it by using (not (filesystem-utils:list-files ...))
<phantomics>
Ok, need to update the QL dist
<Shinmera>
Anyway, I'm not the only one using redist
<Shinmera>
So it's not just a case of me having a particular setup.
LainExperiments has quit [Ping timeout: 240 seconds]
<Shinmera>
I would like it to just work on macs (and windowses and bsds and whathaveyous) too, I just don't have the capacity anymore to make my stuff work on everyone else's systems that I don't use
<Shinmera>
So I'll have to hand wave and say "I'm waiting for PRs"
Inline has quit [Quit: Leaving]
triffid has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
triffid has joined #commonlisp
<phantomics>
I understand, I just tried on a Linux box and had the same issue -- but as you said, the system's QL dist is out of date
<phantomics>
I'll try on another updated box
<Shinmera>
does it not even create a ~/dist/ directory or anything?
<phantomics>
The files are going somewhere it seems: when I do ./redist add ... it gives a message saying ; Cloning from GIT ...
<phantomics>
Then if I try cloning the same repo it does nothing, gives no message -- becuase it knows those files have already been cloned
<phantomics>
However, there is no ./sources directory. I also tried setting DIST_SOURCE_DIR=/tmp/sources but that didn't work either
<Shinmera>
did you create a dist before adding projects?