jackdaniel changed the topic of #lisp to: Common Lisp, the #1=(programmable . #1#) programming language<http://cliki.net/> logs:<https://irclog.whitequark.org/lisp,http://ccl.clozure.com/irc-logs/lisp/> | SBCL 1.4.5, CMUCL 21b, ECL 16.1.3, CCL 1.11.5, ABCL 1.5.0
gabiruh has joined #lisp
trittweiler has quit [Ping timeout: 276 seconds]
trittweiler has joined #lisp
acolarh has quit [Read error: Connection reset by peer]
EvW has joined #lisp
pierpa has joined #lisp
k4rtik has joined #lisp
<pjb> hjudt: it's the job of a programmer to write the proper wrappers he needs!
<pjb> hjudt: you're not a library user, you're a programmer!
lumm has quit [Quit: lumm]
zachk has quit [Quit: Leaving]
patlv has joined #lisp
Kundry_W_ has quit [Remote host closed the connection]
python476 has quit [Ping timeout: 256 seconds]
asarch has joined #lisp
hph^ has joined #lisp
Kundry_Wag has joined #lisp
impulse has quit [Ping timeout: 264 seconds]
Kundry_W_ has joined #lisp
impulse has joined #lisp
Kundry_Wag has quit [Ping timeout: 248 seconds]
JuanDaugherty has joined #lisp
markoong has quit [Quit: Konversation terminated!]
aeth has quit [Ping timeout: 264 seconds]
didi has quit [Ping timeout: 245 seconds]
<jasom> pjb: library users are a form of programmer.
aeth has joined #lisp
graphene has quit [Remote host closed the connection]
acolarh has joined #lisp
graphene has joined #lisp
didi has joined #lisp
dddddd has quit [Remote host closed the connection]
terpri has quit [Ping timeout: 260 seconds]
<pjb> jasom: nope.
impulse has quit [Ping timeout: 240 seconds]
impulse has joined #lisp
subroot has joined #lisp
<Kundry_W_> Hi. Is this an example of using dynamic binding to override a binding that is used within a function? I was sure it was, but the header defines lexical binding. https://github.com/abo-abo/swiper/blob/master/counsel.el#L2575
<Kundry_W_> This `let` form redefines `counsel-ag-base-command`, which is used in `counsel-ag`
<didi> Kundry_W_: This looks like elisp. You would have better luck by asking in #emacs.
<Kundry_W_> Oh, sorry, I didn't notice my window was on #lisp
Kundry_W_ has quit []
Kundry_Wag has joined #lisp
beach has quit [Ping timeout: 256 seconds]
elfmacs has joined #lisp
k4rtik has quit [Ping timeout: 240 seconds]
anewuser has quit [Ping timeout: 264 seconds]
JuanDaugherty has quit [Quit: Exeunt]
impulse has quit [Ping timeout: 268 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
kajo has joined #lisp
impulse has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
ldb has joined #lisp
<ldb> morning
subroot has quit [Read error: Connection reset by peer]
impulse has quit [Ping timeout: 244 seconds]
pagnol has quit [Quit: Ex-Chat]
impulse has joined #lisp
impulse has quit [Ping timeout: 276 seconds]
eli_oat has joined #lisp
robotoad has quit [Quit: robotoad]
milanj_ has quit [Quit: This computer has gone to sleep]
Cartogy has joined #lisp
k4rtik has joined #lisp
robotoad has joined #lisp
eli_oat has quit [Quit: WeeChat 1.9.1]
Cartogy has quit [Quit: Page closed]
papachan has quit [Quit: Saliendo]
eli_oat has joined #lisp
eli_oat has quit [Client Quit]
patlv has quit [Remote host closed the connection]
patlv has joined #lisp
impulse has joined #lisp
orivej has quit [Ping timeout: 240 seconds]
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
impulse has quit [Ping timeout: 260 seconds]
Kundry_Wag has quit [Ping timeout: 268 seconds]
brettgilio has joined #lisp
subroot has joined #lisp
brettgilio has quit [Remote host closed the connection]
buffergn0me has joined #lisp
pierpa has quit [Quit: Page closed]
nickenchuggets has quit [Read error: Connection reset by peer]
nickenchuggets has joined #lisp
nickenchuggets has quit [Changing host]
nickenchuggets has joined #lisp
brettgilio has joined #lisp
impulse has joined #lisp
terpri has joined #lisp
edgar-rft has joined #lisp
xantoz has quit [Ping timeout: 264 seconds]
xantoz has joined #lisp
parjanya has joined #lisp
scottj has joined #lisp
parjanya has quit [Read error: Connection reset by peer]
zaquest has quit [Remote host closed the connection]
patlv has quit [Ping timeout: 276 seconds]
pierpal has quit [Quit: Poof]
Kundry_Wag has joined #lisp
pierpal has joined #lisp
JuanDaugherty has joined #lisp
Kundry_Wag has quit [Ping timeout: 260 seconds]
graphene has quit [Remote host closed the connection]
impulse has quit [Ping timeout: 264 seconds]
graphene has joined #lisp
impulse has joined #lisp
parjanya has joined #lisp
Kundry_Wag has joined #lisp
wxie has joined #lisp
wxie has quit [Client Quit]
Kundry_Wag has quit [Ping timeout: 264 seconds]
beach has joined #lisp
<beach> Good morning everyone!
impulse has quit [Ping timeout: 240 seconds]
<parjanya> good morning!
housel has quit [Read error: Connection reset by peer]
housel has joined #lisp
patlv has joined #lisp
zaquest has joined #lisp
JuanDaugherty has quit [Quit: Exeunt]
pjb has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
pjb has joined #lisp
impulse has joined #lisp
Kundry_Wag has quit [Ping timeout: 244 seconds]
impulse has quit [Ping timeout: 244 seconds]
pjb has quit [Ping timeout: 256 seconds]
Kundry_Wag has joined #lisp
FreeBirdLjj has joined #lisp
subroot has quit [Read error: Connection reset by peer]
Kundry_Wag has quit [Ping timeout: 268 seconds]
quazimodo has quit [Read error: Connection reset by peer]
kerframil has quit [Ping timeout: 240 seconds]
quazimodo has joined #lisp
impulse has joined #lisp
elfmacs has quit [Ping timeout: 276 seconds]
EvW has quit [Ping timeout: 260 seconds]
impulse has quit [Ping timeout: 265 seconds]
asarch has quit [Quit: Leaving]
brendyn has joined #lisp
impulse has joined #lisp
andrei-n has joined #lisp
asarch has joined #lisp
Bike has quit [Quit: Lost terminal]
SaganMan has quit [Ping timeout: 240 seconds]
igemnace has joined #lisp
asarch has quit [Quit: Leaving]
Pixel_Outlaw has quit [Quit: Leaving]
nika has joined #lisp
vtomole has joined #lisp
_whitelogger has joined #lisp
python476 has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
Kundry_Wag has joined #lisp
shifty has joined #lisp
surya has joined #lisp
Kundry_Wag has quit [Ping timeout: 248 seconds]
surya has quit [Read error: Connection reset by peer]
Kundry_Wag has joined #lisp
EvW1 has joined #lisp
nickenchuggets has quit [Read error: Connection reset by peer]
nickenchuggets has joined #lisp
nickenchuggets has joined #lisp
nickenchuggets has quit [Changing host]
Kundry_Wag has quit [Ping timeout: 240 seconds]
EvW1 has quit [Client Quit]
k4rtik has quit [Ping timeout: 240 seconds]
sabrac has quit [Ping timeout: 265 seconds]
lavaflow_ has quit [Read error: Connection reset by peer]
patlv has quit [Ping timeout: 256 seconds]
sabrac has joined #lisp
Naergon has quit [Remote host closed the connection]
nanoz has joined #lisp
skapata has quit [Remote host closed the connection]
lavaflow_ has joined #lisp
EvW has joined #lisp
<mfiano> pillton: Do you have a moment?
EvW has quit [Client Quit]
pseudonymous has joined #lisp
ldb has quit [Ping timeout: 256 seconds]
ldb has joined #lisp
Khisanth has quit [Ping timeout: 248 seconds]
angavrilov has joined #lisp
ldb has quit [Quit: leaving]
buffergn0me has quit [Ping timeout: 248 seconds]
Smokitch has joined #lisp
vtomole has quit [Ping timeout: 252 seconds]
test1600 has joined #lisp
Khisanth has joined #lisp
doesthiswork has quit [Quit: Leaving.]
vlatkoB has joined #lisp
<beach> ASDF seems to find all the .asd files in my hierarchy that existed when I put a link in quicklisp/local-projects. But it doesn't seem to find .asd file that I created after that, even though I have started a fresh SBCL.
nickenchuggets has quit [Quit: Leaving]
<beach> I have no idea what is going on.
test1600_ has joined #lisp
andrei-n_ has joined #lisp
graphene has quit [Remote host closed the connection]
<mfiano> This is a design of quicklisp
graphene has joined #lisp
test1600 has quit [Ping timeout: 276 seconds]
<beach> Is there some action I need to take?
andrei-n has quit [Ping timeout: 276 seconds]
<beach> In the past, I have put links in .cache, so local-projects is new to me.
<akkad> recreate the local projects index?
<beach> *sigh*, thanks.
<mfiano> Basically, get used to calling ql:register-local-projects if you have a symlink in local-projects, or you create new systems in a sub-directory.
<beach> I get it, thanks.
<mfiano> Sure
<beach> It's just that the technique I used before, i.e. putting symlinks in .cache didn't require any action other than restarting SBCL after I create a new system.
<beach> Oh, well.
<beach> So I was confused.
vlad_ has joined #lisp
<beach> I wonder why Xach did it that way.
<beach> Er, not .cache. .local
<beach> ~/.local/share/common-lisp as I recall.
graphene has quit [Remote host closed the connection]
sito has quit [Ping timeout: 256 seconds]
graphene has joined #lisp
vlad_ is now known as Murii__
aindilis has quit [Ping timeout: 240 seconds]
milanj_ has joined #lisp
aindilis has joined #lisp
_whitelogger has joined #lisp
pierpal has quit [Ping timeout: 260 seconds]
pseudonymous has quit [Ping timeout: 264 seconds]
Kundry_Wag has quit [Ping timeout: 260 seconds]
josemanuel has joined #lisp
montxero has joined #lisp
Kundry_Wag has joined #lisp
Kundry_Wag has quit [Ping timeout: 256 seconds]
random-nick has joined #lisp
varjag has joined #lisp
random-nick has quit [Read error: Connection reset by peer]
littlelisper has joined #lisp
brettgilio has quit [Remote host closed the connection]
Arcaelyx has quit [Ping timeout: 265 seconds]
pjb has joined #lisp
pjb is now known as Guest32473
Guest32473 is now known as pjb`
pjb` is now known as pjb
random-nick has joined #lisp
Arcaelyx has joined #lisp
xantoz has quit [Ping timeout: 264 seconds]
xantoz has joined #lisp
littlelisper has quit [Quit: leaving]
makomo has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
makomo has quit [Ping timeout: 268 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
Murii__ has quit [Ping timeout: 244 seconds]
rawste has joined #lisp
graphene has quit [Remote host closed the connection]
makomo has joined #lisp
graphene has joined #lisp
cage_ has joined #lisp
_whitelogger has joined #lisp
orivej has joined #lisp
montxero has quit [Quit: Lost terminal]
shka1 has joined #lisp
Kundry_Wag has joined #lisp
wigust- has joined #lisp
Kundry_Wag has quit [Ping timeout: 265 seconds]
wigust has quit [Ping timeout: 265 seconds]
lumm has joined #lisp
igemnace has quit [Remote host closed the connection]
igemnace has joined #lisp
Naergon has joined #lisp
surya has joined #lisp
markoong has joined #lisp
pjb has quit [Ping timeout: 276 seconds]
pjb has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
kajo has quit [Ping timeout: 265 seconds]
robotoad has quit [Quit: robotoad]
elfmacs has joined #lisp
igemnace has quit [Remote host closed the connection]
dddddd has joined #lisp
andrei-n_ has quit [Read error: Connection reset by peer]
andrei-n_ has joined #lisp
random-nick has quit [Read error: Connection reset by peer]
<hjudt> a question about good practice: alexandria is considered pretty stable. can i rely on this by simply using this lib, or is it better to import selected symbols of it, or take the safe way and use alexandria:symbol in my code so one sees immediately where the symbol comes from?
<hjudt> how do other people deal with this?
<_death> I use :import-from
<pjb> hjudt: in general, lisp software is stable. We don't have enough resources to change it every other day.
<pjb> hjudt: the fastest CL software is sbcl which issues an new release each month. (You don't have to upgrade each month).
graphene has quit [Read error: Connection reset by peer]
graphene has joined #lisp
FreeBirdLjj has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
<beach> hjudt: I still recommend using explicit package prefixes. It makes it more obvious where the symbols come from to the person reading the code.
andrei-n_ has quit [Ping timeout: 244 seconds]
<flip214> beach: that's good advice -- though I'm not sure whether for such well-known things like alexandria the line length lost isn't a higher cost.
<Xach> beach: My practice was to put things directly at the top-level always, whether directories, symlinks to single projects, or symlinks to .asd file. So the thing I made initially always worked. But later I realized that I add new .asd files in subdirectories sometimes, and the magic would fail, so I made a way to scan deeper manually.
<beach> flip214: I don't think so, but I haven't checked.
<shka1> flip214: alexandria is probabbly one of the few libs that are actually safe to :use
random-nick has joined #lisp
<beach> Xach: OK, but when I use ASDF directly and I put symbolic links in .share, ASDF picks up new, deeply nested .asd file as soon as I start a new session. Are you using a different mechanism from that of ASDF then?
<beach> shka1: So nothing is ever added to Alexandria?
<Xach> beach: Yes.
<beach> Got it.
<beach> Thanks.
<Xach> My mechanism predates ASDF's.
<beach> Oh, I see.
<shka1> i don't know for certain if nothing
<shka1> but it feels like it :P
shka1 has quit [Quit: WeeChat 2.0.1]
zooey has quit [Remote host closed the connection]
zooey has joined #lisp
<pjb> hjudt: beach: in any case, for released software, you would freeze the versions of your dependencies. So it doesn't matter if stuff is added o not.
<aeth> Personally, I use :use only in two cases: (1) my own packages and (2) if the package is heavily tied to something else. (A bar/foo package that deals with the cl-foo bindings to foo might :use foo)
<aeth> Although you could argue that in case #2 you're *more* likely to have name conflicts, not less
<aeth> s/name conflicts/future name conflicts/
rawste has quit [Quit: Sleep....]
al-damiri has quit [Quit: Connection closed for inactivity]
raynold has quit [Quit: Connection closed for inactivity]
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
<Xach> beach: The algorithm is this: if there is a valid system index file in the local-projects directory, look inside it for the system with the given name and return the result. a system index file is valid if it exists and is newer than the timestamp of the directory in which it lives.
<Xach> those rules mean that new files that don't affect the directory timestamp will not be found automatically.
<Xach> new files or directories.
cage_ has quit [Quit: Leaving]
Inline has quit [Quit: Leaving]
xrash has quit [Ping timeout: 240 seconds]
<Xach> oh, and create an index if there isn't a valid one
Inline has joined #lisp
Arcaelyx_ has joined #lisp
nowhere_man has quit [Ping timeout: 256 seconds]
andrei-n_ has joined #lisp
Arcaelyx has quit [Ping timeout: 276 seconds]
lumm has quit [Ping timeout: 256 seconds]
nanoz has quit [Ping timeout: 244 seconds]
rawste has joined #lisp
nika has quit [Quit: Leaving...]
python476 has quit [Remote host closed the connection]
gabiruh has quit [Ping timeout: 268 seconds]
<beach> Xach: Thanks, makes sense.
Murii__ has joined #lisp
gabiruh has joined #lisp
surya has quit [Ping timeout: 268 seconds]
surya has joined #lisp
ExtraCrispy has joined #lisp
ante_ has joined #lisp
ante_ is now known as cymew
surya_ has joined #lisp
surya has quit [Ping timeout: 244 seconds]
cymew has quit [Quit: Konversation terminated!]
cymew has joined #lisp
xantoz has quit [Ping timeout: 248 seconds]
xantoz has joined #lisp
mejja has joined #lisp
lumm has joined #lisp
gabiruh has quit [Read error: Connection reset by peer]
gabiruh has joined #lisp
doesthiswork has joined #lisp
surya_ has quit [Remote host closed the connection]
test1600_ has quit [Ping timeout: 256 seconds]
shka_ has joined #lisp
LiamH has joined #lisp
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
rippa has joined #lisp
saki has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
elfmacs has quit [Ping timeout: 256 seconds]
<beach> So if I implement the memory manager in Common Lisp, let's say on x86-64, and I create functions that read and write memory using 64-bit addresses, I don't take any great risk by assuming that such addresses will always be fixnums. On a typical existing operating system, I just restrict addresses to the lower half of the available 48-bit address space, and I am far from the fixnum limit.
didi has quit [Ping timeout: 264 seconds]
gabiruh has quit [Ping timeout: 264 seconds]
igemnace has joined #lisp
Bike has joined #lisp
<TMA> beach: for the foreseeable future the full 64 bit address space will not be used, except maybe on supercomputer clusters
<beach> Yeah.
gabiruh has joined #lisp
graphene has quit [Remote host closed the connection]
<beach> For a while there I was worried about how to avoid bignums in the memory allocator. I thought perhaps I needed to inline the memory-access functions so that the compiler could elide the box/unbox pairs. But it won't be necessary for some time.
graphene has joined #lisp
gabiruh has quit [Ping timeout: 240 seconds]
Kundry_Wag has joined #lisp
gabiruh has joined #lisp
igemnace has quit [Read error: Connection reset by peer]
igemnace has joined #lisp
igemnace has quit [Client Quit]
lumm has quit [Read error: Connection reset by peer]
skapata has joined #lisp
patlv has joined #lisp
igemnace has joined #lisp
Kundry_Wag has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
gabiruh has quit [Ping timeout: 276 seconds]
Kundry_Wag has quit [Ping timeout: 265 seconds]
<flip214> beach: 32bit is not a target?
<pjb> beach: I would have assumed that an OS could use the 64-bit for virtual addresses, but it looks like the x86-64 PMMU ignores the first 16 bits, and that in any case at most 52-bits can be used. Furthermore, the upper bound of the total deployed RAM on the planet seems to be barely 2^67 or 2^68, so unless your system allow you to address all the computers of the world, 64 bits are definitely too many. So yes, it's safe to assume
<pjb> even 48 bits max.
<beach> I think I won't attempt that.
<beach> flip214:
<beach> pjb: Yeah, I figured it out. Thanks.
graphene has quit [Remote host closed the connection]
<pjb> beach: I mean, I can see a lot of applications for a 72-bit memory space, at sites, like the GAFAs or the NSA…
<beach> I don't think they would be interested in SICL anyway.
graphene has joined #lisp
<pjb> Who knows. We had somebody at ELS Paris working for the US army, IIRC.
<flip214> 32bit would be the RPi2, for example...
<beach> flip214: Too many constraints.
<flip214> pjb: 72bit would be 64bit + a few segments? ;)
<flip214> beach: ack.
<flip214> and not enough registers ;)
<pjb> Well, actually you'd want to address the hard disks too.
<beach> pjb: Yes, definitely in LispOS, the disk is going to be THE address space. RAM will just be a cache.
<beach> But with a bit of luck, they will increase the number of address bits by a few by the time I need that much disk.
patlv has quit [Remote host closed the connection]
patlv has joined #lisp
lumm has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
cage_ has joined #lisp
EvW1 has joined #lisp
patlv has quit [Ping timeout: 240 seconds]
cage_ has quit [Remote host closed the connection]
Kundry_Wag has joined #lisp
subroot has joined #lisp
Kundry_W_ has joined #lisp
k4rtik has joined #lisp
cage_ has joined #lisp
LiamH has quit [Quit: Leaving.]
housel has quit [Read error: Connection reset by peer]
Kundry_Wag has quit [Ping timeout: 264 seconds]
cage__ has joined #lisp
cage_ has quit [Read error: Connection reset by peer]
<phoe> Xach: I'm here to poke you about the Quicklisp dist update
<phoe> Are you still stuck in the same place? If yes, how can I help you get unstuck?
nowhere_man has joined #lisp
shifty has quit [Ping timeout: 248 seconds]
jason_m has joined #lisp
gabiruh has joined #lisp
EvW1 has quit [Ping timeout: 260 seconds]
Kundry_W_ has quit [Remote host closed the connection]
k4rtik has quit [Ping timeout: 276 seconds]
EvW has joined #lisp
Kundry_Wag has joined #lisp
Kundry_W_ has joined #lisp
andrei-n_ has quit [Read error: Connection reset by peer]
andrei-n_ has joined #lisp
Kundry_Wag has quit [Ping timeout: 240 seconds]
kerframil has joined #lisp
<Xach> phoe: there are a few issues i can avoid or work around to put out a new release by tuesday.
<Xach> I'm going to use an old sbcl to avoid the conium breakage and its consequences
<Xach> I'm going to use debian 8 to avoid the gsll breakage
<Xach> there's a bordeaux-threads semaphore problem that remains, and a few more too
<Xach> I really want to progress to debian 9 and the latest sbcl, but that breaks a lot of stuff.
light2yellow has joined #lisp
sjl has joined #lisp
housel has joined #lisp
swampflared has joined #lisp
mrcom has quit [Quit: Leaving]
Pixel_Outlaw has joined #lisp
mflem has joined #lisp
k4rtik has joined #lisp
gabiruh has quit [Read error: No route to host]
mejja has quit [Quit: mejja]
nowhere_man has quit [Ping timeout: 276 seconds]
jfb4 has quit [Ping timeout: 256 seconds]
rawste has quit [Quit: Sleep....]
patlv has joined #lisp
saki has quit [Read error: Connection reset by peer]
carmack has joined #lisp
ExtraCrispy has quit [Ping timeout: 276 seconds]
saki has joined #lisp
rumbler31 has quit [Read error: Connection reset by peer]
rumbler31 has joined #lisp
rawste has joined #lisp
subroot has quit [Read error: Connection reset by peer]
cage__ has quit [Ping timeout: 264 seconds]
cage_ has joined #lisp
nowhere_man has joined #lisp
quazimodo has quit [Ping timeout: 264 seconds]
gabiruh has joined #lisp
lumm_ has joined #lisp
quazimodo has joined #lisp
lumm has quit [Ping timeout: 245 seconds]
lumm_ is now known as lumm
EvW has quit [Ping timeout: 264 seconds]
cage__ has joined #lisp
EvW1 has joined #lisp
cage_ has quit [Read error: Connection reset by peer]
Murii__ has quit [Ping timeout: 240 seconds]
slyrus1 has quit [Quit: slyrus1]
Kundry_W_ has quit []
Urfin has joined #lisp
xantoz has quit [Ping timeout: 248 seconds]
FreeBirdLjj has quit [Remote host closed the connection]
FreeBirdLjj has joined #lisp
robotoad has joined #lisp
xantoz has joined #lisp
FreeBirdLjj has quit [Ping timeout: 244 seconds]
<jackdaniel> Xach: what bt semaphore problem?
<shka_> finally home
lumm has quit [Ping timeout: 276 seconds]
angavrilov is now known as angavrilov_
patlv has quit [Ping timeout: 248 seconds]
devon has joined #lisp
skidd0 has joined #lisp
<skidd0> Hello, has anyone worked with bknr and made their own encoder and decoder methods?
<skidd0> Tdata/tutorial.lisp file only says that (2) user-defined object syste,s need to register their own
rawste has quit [Quit: Sleep....]
<skidd0> and the only code show is
<skidd0> Function ENCODE (OBJECT STREAM)
<skidd0> Function DECODE (STREAM) =< OBJECT
<skidd0> I am unsure what it is telling me to do here
rawste has joined #lisp
rawste has quit [Client Quit]
Urfin has quit [Ping timeout: 240 seconds]
rawste has joined #lisp
<mood> skidd0: Looks like custom encoding/decoding happens using the generic functions encode-object and decode-object, on which you can define methods
cage__ has quit [Remote host closed the connection]
<mood> There's also define-persistent-class, but I'm not sure what that does
<skidd0> so I have a LOCAL-TIME time stamp that needs to be encoded. I would make a defmethod specialized on the timestamp
<skidd0> so encoding it might jsut be as easy as sending the 2018-07-#### to a binary format?
<mood> I think so, yes, and you also need to pick a unique tag character, it seems
<skidd0> and decode that reliably to the timestamp
<skidd0> what's a tag character?
<skidd0> where are you finding this?
<mood> I'm looking at the code in src/data/encoding.lisp and src/data/object.lisp here: https://github.com/hanshuebner/bknr-datastore
<skidd0> okay yeah cool. I was just looking at that encoding file for insight
<skidd0> i figure reading the code is a good habit to get into
patlv has joined #lisp
robotoad has quit [Quit: robotoad]
robotoad has joined #lisp
rawste has quit [Ping timeout: 265 seconds]
EvW1 has quit [Ping timeout: 240 seconds]
EvW has joined #lisp
littlelisper has joined #lisp
littlelisper has quit [Client Quit]
_whitelogger has joined #lisp
gabiruh has quit [Ping timeout: 240 seconds]
gabiruh has joined #lisp
dilated_dinosaur has quit [Remote host closed the connection]
al-damiri has joined #lisp
pseudonymous has joined #lisp
patlv has quit [Ping timeout: 264 seconds]
<phoe> Is there a function that splits a sequence into two lists based on whether they satisfy a predicate or not?
<Bike> no.
buffergn0me has joined #lisp
<Bike> pretty easy to write a loop for it, of course.
dilated_dinosaur has joined #lisp
<Xach> jackdaniel: stuff that relies on bt-semaphore
<Xach> jackdaniel: shellpool is one
<pjb> There's: (com.informatimago.common-lisp.cesarum.list:equivalence-classes '(1 2 3 4 5 6 7 8 9) :test (lambda (a b) (eq (not (oddp a)) (not (oddp b))))) #| --> ((8 6 4 2) (9 7 5 3 1)) |#
<aeth> phoe: When I've had to do that I think I determined that the easiest way was a loop with two collects
<aeth> hmm, wait, I think that's wrong
<pjb> Why limit yourself to 2 classe? (com.informatimago.common-lisp.cesarum.list:equivalence-classes '(1 2 3 4 5 6 7 8 9) :test (lambda (a b) (zerop (mod (- a b) 3)))) #| --> ((9 6 3) (8 5 2) (7 4 1)) |#
random-nick has quit [Read error: Connection reset by peer]
kaun_ has joined #lisp
Murii__ has joined #lisp
<aeth> (loop for item in (alexandria:iota 10) if (evenp item) collect item into evens else collect item into odds finally (return (values evens odds)))
<aeth> I *think* that's the simplest way to do it in standard CL.
<Bike> loop for item below 10
edgar-rft has quit [Remote host closed the connection]
<aeth> Bike: yes, but I was writing it so you could trivially refactor it into something like this: (defun split-list (list function) (loop for item in list if (funcall function item) collect item into evens else collect item into odds finally (return (values evens odds))))
<aeth> (I guess function should be called test)
kaun_ has quit []
kaun_ has joined #lisp
cymew has quit [Quit: Konversation terminated!]
asarch has joined #lisp
<Xach> (let ((in (remove-if-not test list)) (values in (set-difference list in)))))?
Kundry_Wag has joined #lisp
<Xach> (values (remove-if-not test list) (remove-if test list))?
jason_m has quit [Quit: Leaving]
* Xach is late to the party
<mfiano> phoe: A concise way is with #'partition from serapeum, also re-exported from au:
<jackdaniel> Xach: so to confirm - the problem is not with (new) bt semaphore implementation, but rather with bt-sempahore?
<mfiano> phoe: (au:partition #'evenp (au:iota 10))
<Xach> jackdaniel: it's with bt-semaphore and the things that use it
<mfiano> phoe: Will return multiple values. Just wrap in multiple-value-list if you want a list of lists
<jackdaniel> Xach: OK, thanks. I've got scared I've screwed something up in bt
graphene has quit [Remote host closed the connection]
k4rtik has quit [Ping timeout: 255 seconds]
graphene has joined #lisp
brendyn has quit [Ping timeout: 244 seconds]
<jackdaniel> if I had to guess it is broken because bt-semaphore has (:use :cl :bordeaux-threads) in its package while bordeaux threads exports conflicting symbols
<jackdaniel> so bt-semaphore tries to overwrite functions/macros in bordeaux-threads package (because it has its symbols used)
<jackdaniel> I've added appropriate comment to the linked issue
<Xach> thanks
random-nick has joined #lisp
xrash has joined #lisp
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
devon has quit [Ping timeout: 260 seconds]
test1600 has joined #lisp
<Xach> cl-async's libcrypto stuff is also a problemo
zxcvz has quit [Quit: zxcvz]
asarch has quit [Read error: Connection reset by peer]
rozenglass has joined #lisp
kaun has joined #lisp
kaun_ has quit [Ping timeout: 244 seconds]
shka_ has quit [Ping timeout: 256 seconds]
rippa has quit [Quit: {#`%${%&`+'${`%&NO CARRIER]
angavrilov_ has quit [Remote host closed the connection]
lumm has joined #lisp
test1600 has quit [Ping timeout: 256 seconds]
andrei-n_ has quit [Ping timeout: 244 seconds]
ebrasca` has joined #lisp
ebrasca has quit [Ping timeout: 240 seconds]
doanyway has joined #lisp
patlv has joined #lisp
asarch has joined #lisp
skidd0 has quit [Quit: WeeChat 2.1]
<aeth> Xach: I think I'd go with your second solution in a quick script or the REPL (simplest in that it's the shortest amount of code), and my solution in a program (simplest solution that iterates through the list once?).
<Xach> yeah, it's wasteful
<Xach> but of course a good compiler should detect and rewrite it!!
DemolitionMan has joined #lisp
didi has joined #lisp
<aeth> Xach: yeah, but that's the kind of thing where I'm sure every compiler author would say "patches welcome!"
lumm has quit [Ping timeout: 244 seconds]
<aeth> (And then you wind up doing something that's harder than the entire program you were trying to do)
Smokitch has quit []
NotSpooky has joined #lisp
asarch has quit [Ping timeout: 244 seconds]
patlv has quit [Ping timeout: 244 seconds]
kerframil has quit [Quit: Leaving]
k4rtik has joined #lisp
Murii__ has quit [Remote host closed the connection]
igemnace has quit [Quit: WeeChat 2.1]
pierpal has joined #lisp
kaun has quit []
fikka has joined #lisp
ebrasca` has quit [Read error: Connection reset by peer]
kaun has joined #lisp
vlatkoB has quit [Remote host closed the connection]
<kaun> Will a WebAssembly-implemented Common Lisp make it easier to get at a GUI portably? Right now, I imagine GUI CL apps aren't feasible on OSX & Windows.
k4rtik has quit [Ping timeout: 240 seconds]
<kaun> CLIM uptake exists? Cells-GTK uptake exists?
kaun has quit []
<NotSpooky> Lol, I was just searching for a portable CL GUI.
josemanuel has quit [Quit: leaving]
fikka has quit [Ping timeout: 240 seconds]
froggey has quit [Ping timeout: 240 seconds]
froggey has joined #lisp
shifty has joined #lisp
NotSpooky has quit [Ping timeout: 244 seconds]
Kundry_Wag has quit [Remote host closed the connection]
DemolitionMan has quit [Quit: KVIrc 4.2.0 Equilibrium http://www.kvirc.net/]
NotSpooky has joined #lisp
graphene has quit [Remote host closed the connection]
patlv has joined #lisp
graphene has joined #lisp
fikka has joined #lisp
Kundry_Wag has joined #lisp
Kundry_W_ has joined #lisp
Kundry_W_ has quit [Remote host closed the connection]
Kundry_Wag has quit [Ping timeout: 240 seconds]
stacksmith has quit [Read error: Connection reset by peer]
doanyway has quit [Remote host closed the connection]
rozenglass has quit [Remote host closed the connection]
rozenglass has joined #lisp
kerframil has joined #lisp
edgar-rft has joined #lisp
w17t has joined #lisp
stacksmith has joined #lisp
jfb4 has joined #lisp
shifty has quit [Ping timeout: 240 seconds]
DingoSaar has joined #lisp
DingoSaar has quit [Remote host closed the connection]
DingoSaar has joined #lisp
random-nick has quit [Read error: Connection reset by peer]
Kundry_W_ has joined #lisp
LiamH has joined #lisp
didi has left #lisp ["there are always reasons to /part"]
EvW has quit [Ping timeout: 245 seconds]
graphene has quit [Remote host closed the connection]
graphene has joined #lisp
varjag has quit [Ping timeout: 256 seconds]
xantoz has quit [Ping timeout: 264 seconds]
xantoz has joined #lisp
jack_rabbit has joined #lisp
w17t has quit [Quit: Leaving]
varjag has joined #lisp
varjag has quit [Ping timeout: 268 seconds]
MoziM has quit [Quit: WeeChat 2.1]
k4rtik has joined #lisp
pierpa has joined #lisp
mange has joined #lisp
Kaisyu has joined #lisp
skidd0 has joined #lisp
fikka has quit [Ping timeout: 268 seconds]
Naergon has quit [Read error: Connection reset by peer]
gabiruh has quit [Read error: Connection reset by peer]
makomo has quit [Ping timeout: 256 seconds]
patlv has quit [Ping timeout: 245 seconds]
NotSpooky has quit [Quit: Leaving]
zotan has quit [Ping timeout: 265 seconds]
zotan has joined #lisp
fikka has joined #lisp
Kundry_W_ has quit [Remote host closed the connection]
fikka has quit [Ping timeout: 256 seconds]
jack_rabbit has quit [Ping timeout: 264 seconds]
jibanes has quit [Ping timeout: 240 seconds]
jibanes has joined #lisp
fikka has joined #lisp
buffergn0me has quit [Ping timeout: 244 seconds]