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/>
ArtemZ_ has joined #commonlisp
ArtemZ has quit [Read error: Connection reset by peer]
yitzi has quit [Ping timeout: 248 seconds]
overclucker_ has quit [Ping timeout: 264 seconds]
ArtemZ has joined #commonlisp
ArtemZ_ has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
chiselfuse has quit [Ping timeout: 260 seconds]
chiselfuse has joined #commonlisp
amb007 has quit [Ping timeout: 272 seconds]
X-Scale has joined #commonlisp
jsatk__ has quit [Ping timeout: 252 seconds]
jsatk__ has joined #commonlisp
mister_m has quit [Ping timeout: 252 seconds]
delyan_ has quit [Ping timeout: 248 seconds]
nxtr has quit [Ping timeout: 252 seconds]
mister_m has joined #commonlisp
delyan_ has joined #commonlisp
nxtr has joined #commonlisp
yitzi has joined #commonlisp
yitzi has quit [Ping timeout: 252 seconds]
yitzi has joined #commonlisp
yitzi has quit [Ping timeout: 252 seconds]
yitzi has joined #commonlisp
Akbar-Birbal has joined #commonlisp
istewart has joined #commonlisp
X-Scale has quit [Quit: Client closed]
yitzi has quit [Ping timeout: 265 seconds]
mala has joined #commonlisp
troojg has quit [Ping timeout: 276 seconds]
ArtemZ has quit [Read error: Connection reset by peer]
ArtemZ has joined #commonlisp
yitzi has joined #commonlisp
X-Scale has joined #commonlisp
yitzi has quit [Ping timeout: 252 seconds]
overclucker has joined #commonlisp
brokkoli_originl has joined #commonlisp
brokkoli_origin has quit [Ping timeout: 272 seconds]
ec has quit [Ping timeout: 260 seconds]
lucasta has joined #commonlisp
ec has joined #commonlisp
thuna`` has quit [Ping timeout: 246 seconds]
thuna`` has joined #commonlisp
ns12 has quit [Quit: bye]
ns12 has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 255 seconds]
Lord_of_Life_ is now known as Lord_of_Life
ns12 has quit [Ping timeout: 248 seconds]
amb007 has joined #commonlisp
decweb has quit [Ping timeout: 245 seconds]
ArtemZ_ has joined #commonlisp
ArtemZ has quit [Read error: Connection reset by peer]
yitzi has joined #commonlisp
yitzi has quit [Ping timeout: 252 seconds]
brokkoli_originl is now known as brokkoli_origin
rtypo has quit [Ping timeout: 265 seconds]
yitzi has joined #commonlisp
jjnkn has joined #commonlisp
X-Scale has quit [Quit: Client closed]
yitzi has quit [Ping timeout: 260 seconds]
wizard has joined #commonlisp
wacki has joined #commonlisp
istewart has quit [Remote host closed the connection]
amb007 has quit [Ping timeout: 252 seconds]
lucasta has quit [Quit: Leaving]
amb007 has joined #commonlisp
shka has joined #commonlisp
amb007 has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
pve has joined #commonlisp
mgl has joined #commonlisp
amb007 has quit [Ping timeout: 276 seconds]
amb007 has joined #commonlisp
mgl has quit [Ping timeout: 244 seconds]
amb007 has quit [Ping timeout: 244 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 248 seconds]
amb007 has joined #commonlisp
amb007 has quit [Ping timeout: 276 seconds]
amb007 has joined #commonlisp
alternateved has joined #commonlisp
JuanDaugherty has joined #commonlisp
mgl has joined #commonlisp
donleo has joined #commonlisp
dawids has joined #commonlisp
dawids has quit [Client Quit]
semarie has quit [Ping timeout: 246 seconds]
semarie has joined #commonlisp
JuanDaugherty has quit [Quit: JuanDaugherty]
varjag has joined #commonlisp
alcor has joined #commonlisp
King_julian has joined #commonlisp
awlygj has joined #commonlisp
Th30n has joined #commonlisp
dra has joined #commonlisp
_cymew_ has joined #commonlisp
rozenglass has quit [Ping timeout: 246 seconds]
X-Scale has joined #commonlisp
rozenglass has joined #commonlisp
X-Scale has quit [Ping timeout: 256 seconds]
terrorjack4 has quit [Quit: The Lounge - https://thelounge.chat]
terrorjack4 has joined #commonlisp
rozenglass has quit [Ping timeout: 246 seconds]
rozenglass has joined #commonlisp
jonatack has quit [Ping timeout: 246 seconds]
King_julian has quit [Ping timeout: 246 seconds]
cage has joined #commonlisp
cage has quit [Excess Flood]
cage has joined #commonlisp
King_julian has joined #commonlisp
awlygj has quit [Remote host closed the connection]
King_julian has quit [Remote host closed the connection]
King_julian has joined #commonlisp
jonatack has joined #commonlisp
pfd has quit [Quit: Client closed]
<Shinmera> jasom: https://shinmera.github.io/filesystem-utils/#FUNCTION%20ORG.SHIRAKUMO.FILESYSTEM-UTILS%3AMAP-DIRECTORY
<ixelp> Filesystem Utils
<Shinmera> hot off the presses.
King_julian has quit [Ping timeout: 265 seconds]
ftzm has quit [Ping timeout: 255 seconds]
pfd has joined #commonlisp
<Shinmera> that should be about as fast as possible given we're dealing with disk access still
thuna`` has quit [Ping timeout: 272 seconds]
yitzi has joined #commonlisp
King_julian has joined #commonlisp
thuna`` has joined #commonlisp
thuna`` has quit [Ping timeout: 276 seconds]
mwnaylor has joined #commonlisp
thuna`` has joined #commonlisp
edgar-rft_ has joined #commonlisp
seanw has joined #commonlisp
edgar-rft has quit [Ping timeout: 248 seconds]
brokkoli_origin has quit [Ping timeout: 246 seconds]
brokkoli_origin has joined #commonlisp
amb007 has quit [Ping timeout: 248 seconds]
amb007 has joined #commonlisp
thuna`` has quit [Ping timeout: 248 seconds]
awlygj has joined #commonlisp
mgl has quit [Ping timeout: 246 seconds]
msv has quit [Ping timeout: 260 seconds]
yitzi_ has joined #commonlisp
rtypo has joined #commonlisp
yitzi_ has quit [Ping timeout: 276 seconds]
JuanDaugherty has joined #commonlisp
lucasta has joined #commonlisp
yitzi_ has joined #commonlisp
mala has quit [Read error: Connection reset by peer]
mwnaylor has quit [Remote host closed the connection]
yitzi_ has quit [Ping timeout: 244 seconds]
mala has joined #commonlisp
zxcvz has joined #commonlisp
<yacin> hahaha banged that one out pretty quickly
zxcvz has quit [Client Quit]
JuanDaugherty has quit [Quit: JuanDaugherty]
dra has quit [Ping timeout: 272 seconds]
jjnkn has quit [Remote host closed the connection]
yitzi_ has joined #commonlisp
<Bubblegumdrop> http://paste.debian.net/1327948/ is there a better way of doing this e.g. basename?
<ixelp> debian Pastezone
edgar-rft_ is now known as edgar-rft
<yacin> i think FILE-NAMESTRING does what you want?
<yacin> * (file-namestring #p"/home/user/quicklisp/local-projects/cl-test/README.md")
<yacin> "README.md"
yitzi_ has quit [Ping timeout: 246 seconds]
<Bubblegumdrop> Thanks!
<Bubblegumdrop> Always forget about that one.
<yacin> np!
ArtemZ_ has quit [Ping timeout: 276 seconds]
ArtemZ has joined #commonlisp
kamafam has joined #commonlisp
King_julian has quit [Ping timeout: 276 seconds]
yitzi_ has joined #commonlisp
kamafam has quit [Ping timeout: 248 seconds]
_cymew_ has quit [Ping timeout: 248 seconds]
yitzi_ has quit [Ping timeout: 260 seconds]
pfd has quit [Quit: Client closed]
pfd has joined #commonlisp
lucasta has quit [Quit: Leaving]
yitzi has quit [Read error: Connection reset by peer]
pfd has quit [Ping timeout: 256 seconds]
decweb has joined #commonlisp
<yacin> i have a systemd service that runs a lisp image that was started with ASDF:LOAD-SYSTEM and calling its RUN function. if i git pull some new changes and have access to swank, how can i compile any of the new behavior without having to restart the systemd service?
<yacin> i would've assumed ASDF:COMPILE-SYSTEM, but the docs say
<yacin> > This will make sure all the files in the system are compiled, but not necessarily load any of them in the current image; on most systems, it will not load all compiled files in the current image.
<yacin> which doesn't suggest it'll update the newly compiled code
<yacin> i'm sure i could just manually compile them with slime to the swank server, but i'd like to work with my current git workflow if possible
mwnaylor has joined #commonlisp
oneeyedalien has joined #commonlisp
kamafam has joined #commonlisp
lucasta has joined #commonlisp
oneeyedalien has quit [Ping timeout: 252 seconds]
awlygj has quit [Ping timeout: 248 seconds]
awlygj has joined #commonlisp
wacki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
rtypo has quit [Read error: Connection reset by peer]
<dlowe> ciel looks like a neat bundle2
mgl has joined #commonlisp
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
amb007 has quit [Ping timeout: 265 seconds]
oneeyedalien has joined #commonlisp
rogersm has joined #commonlisp
NotThatRPG has joined #commonlisp
amb007 has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
mgl_ has joined #commonlisp
mgl__ has joined #commonlisp
kamafam has quit [Read error: Connection reset by peer]
mgl has quit [Ping timeout: 252 seconds]
mgl_ has quit [Ping timeout: 246 seconds]
wacki has joined #commonlisp
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
pranav has quit [Ping timeout: 244 seconds]
dino_tutter has quit [Remote host closed the connection]
pranav has joined #commonlisp
yitzi has joined #commonlisp
varjag has joined #commonlisp
dino_tutter has joined #commonlisp
mwnaylor has quit [Ping timeout: 276 seconds]
<jasom> I think the idea of shipping as a standalone binary makes some sense; makes it stand out a bit from things like rutils
varjag has quit [Ping timeout: 260 seconds]
<jasom> I couldn't find a list of what ciel bundles on the website, so here's the .asd: https://github.com/ciel-lang/CIEL/blob/master/ciel.asd
<ixelp> CIEL/ciel.asd at master · ciel-lang/CIEL · GitHub
mgl__ has quit [Ping timeout: 246 seconds]
<yacin> if i was newer or coming from clojure, i'd be happy to have arrow-macros and alexandria and friends included from the get go
lucasta has quit [Remote host closed the connection]
<yacin> loved those arrows in clojure but when i started writing more common lisp i knew someone probably had implemented those (: but maybe newbies wouldn't think that
_cymew_ has joined #commonlisp
<jasom> judging by the example, I'm guessing the -> is a sequential function call with optional currying?
<yacin> it's for threading the results into other function calls, so: (->> "1,2,3" (str:split ",") (mapcar #'parse-integer)) would return (1 2 3)
<yacin> ->> threads to the last parameter, -> to the first, and there's a "wand" -<> that let's you put <> in the position you want the previous return value to thread into
<yacin> including :PARSE-FLOAT also seems like a no brainer
mwnaylor has joined #commonlisp
chrcav has quit [Quit: Lost terminal]
<yitzi> I'd love to see example that actually justifies arrow macros. Your example is basically just (mapcar #'parse-integer (split-sequence #\, "1,2,3"))
<jasom> yitzi: The argument (not sure how much I agree) is that when you have enough to span multiple lines, the order of function calls is top-to-bottom rather than inside-out
<yitzi> Meh.
<jasom> This has an example written on multiple lines: http://ciel-lang.org/#/?id=ciel equivalent is (access (elt (json:read-json (http:get "https://fakestoreapi.com/products?limit=5")) 0) "title")
<ixelp> Document
<yitzi> ASDF does the same kind of things internally and it makes it very difficult to understand the intent on first reading. It borders on defense through obfuscation.
<yacin> eh, with enough of those i think it looks cleaner
<yacin> but yeah, definitely a style thing more than anything
<jasom> Here's a side-by-side with how I'd format the non-arrow version https://gist.github.com/jasom/7e7493acf135981e3a37815a8cddfe9a
<ixelp> arrow vs plain · GitHub
<yacin> yeah the latter is a bit quicker for me to parse at least
<yacin> but maybe that's just from using clojure for a bit
<yacin> ¯\_(ツ)_/¯
<Shinmera> Also new: machine-state now has a storage-room function https://shinmera.github.io/machine-state/#FUNCTION%20ORG.SHIRAKUMO.MACHINE-STATE%3ASTORAGE-ROOM
<ixelp> Machine State
<jasom> Object-orieted code is often naturally threaded like this, since the first argument to any method is syntactically distinct: foo.bar().baz.quux()
<jasom> So if you cut your teeth on java &c. it also may look more natural
<yitzi> Yeah, except CL is multiple dispatch so foo.bar.whatever isn't always the norm.
<mwnaylor> I got spoiled (damaged) by the Clojure arrow/threading macros. They might be easier to read, but can be harder to debug.
<Shinmera> clearly what we need is <a,b>.foo(c) syntax to handle the multiple dispatch case
jrx has joined #commonlisp
<jasom> #< is already taken, maybe #{a,b}.foo(c)
<jasom> And if we want the arguments applied to the end instead of the beginning then #1{a,b}.foo(c)
<Shinmera> I feel like we don't have enough syntax yet. How about #{?,a,b}::foo(c)
<dlowe> Maybe we use a normal macro like (channel ((a (foo)) (b (bar)) (c (baz a b))))
<dlowe> oh wait that's let*
<Shinmera> it has too many parens, too. are you crazy?
yitzi has quit [Remote host closed the connection]
ArtemZ has quit [Read error: Connection reset by peer]
ArtemZ has joined #commonlisp
JuanDaugherty has joined #commonlisp
yottabyte has joined #commonlisp
NotThatRPG has joined #commonlisp
mgl__ has joined #commonlisp
Akbar-Birbal has left #commonlisp [Error from remote client]
ArtemZ has quit [Read error: Connection reset by peer]
_whitelogger has quit [Ping timeout: 252 seconds]
_whitelogger has joined #commonlisp
<aeth> To be clear, it makes it look like (multiple-value-call #'fun ...) instead of (fun ...) so it adds quite a bit.
<bike> i don't think we're adding syntax unironically
<aeth> Anyone can do it, reader macros exist, the Common Lisp Police can't stop you.
NotThatRPG has quit [Ping timeout: 246 seconds]
<aeth> simplifying (multiple-value-call #'...) to #&(...) or something
Th30n has quit [Ping timeout: 265 seconds]
<dlowe> could trim it down a bit by adding (function arg) to each arg
cmack has joined #commonlisp
amb007 has quit [Ping timeout: 276 seconds]
phantomics_ has joined #commonlisp
NotThatRPG has joined #commonlisp
<aeth> dlowe: I assume in that case you're talking about compose/arrows, and yes, that could also get more concise if a macro and not a variadic function, good observation
<aeth> although now you can't use local lambdas in the variable namespace
phantomics has quit [Ping timeout: 260 seconds]
netdoll has joined #commonlisp
varjag has joined #commonlisp
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
theBlackDragon has quit [Ping timeout: 252 seconds]
theBlackDragon has joined #commonlisp
JuanDaugherty has quit [Quit: JuanDaugherty]
troojg has joined #commonlisp
dra has joined #commonlisp
dra has quit [Changing host]
dra has joined #commonlisp
_cymew_ has quit [Ping timeout: 248 seconds]
JuanDaugherty has joined #commonlisp
NotThatRPG has joined #commonlisp
oneeyedalien has quit [Quit: Leaving]
akoana has joined #commonlisp
attila_lendvai has joined #commonlisp
cage has quit [Remote host closed the connection]
jrx has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.4)]
yitzi has joined #commonlisp
cmack has quit [Ping timeout: 276 seconds]
yitzi has quit [Ping timeout: 248 seconds]
akoana has quit [Quit: leaving]
ArtemZ_ has quit [Read error: Connection reset by peer]
ym has quit [Ping timeout: 260 seconds]
alcor has quit [Ping timeout: 252 seconds]
szkl has quit [Quit: Connection closed for inactivity]
ArtemZ has joined #commonlisp
Guest53 has joined #commonlisp
danieli has quit [Quit: Alpine Linux, the security-oriented, lightweight Linux distribution]
danieli has joined #commonlisp
King_julian has joined #commonlisp
McParen has left #commonlisp [#commonlisp]
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
pve has quit [Quit: leaving]
<ixelp> GitHub - tpapp/let-plus: destructuring extension of let*
netdoll has quit [Quit: Konversation terminated!]
<mrcom> (let+ ((&values a b) (floor x y)) (c (+ (* b 42) a))
<mrcom> Looks a lot better multi-line :/
<mrcom> It's a life-saver for CLIM; functions returning 2- and 4-values all over the place.
King_julian has quit [Ping timeout: 246 seconds]
NotThatRPG has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
ArtemZ has quit [Read error: Connection reset by peer]
ArtemZ has joined #commonlisp
ArtemZ has quit [Read error: Connection reset by peer]
ArtemZ has joined #commonlisp
ArtemZ_ has joined #commonlisp
wacki has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
troojg has quit [Ping timeout: 260 seconds]
ArtemZ has quit [Ping timeout: 276 seconds]
attila_lendvai has quit [Ping timeout: 246 seconds]
screwlisp has joined #commonlisp
<screwlisp> o/
uhuh has joined #commonlisp
varjag has quit [Ping timeout: 248 seconds]
<uhuh> I want to call disassemble on a method I defined for a generic function. How can I refer to the specialized method? I think (disassemble #'fn) only gives me the dispatch code.
<screwlisp> I'm not sure what compiler you're using.
<screwlisp> Ah, nm I mistyped something
shka has quit [Ping timeout: 265 seconds]
<aeth> I know you can get to it in the SLIME inspector in Emacs if you click around enough
<aeth> unless that's also just the dispatch code only
<screwlisp> Did you try calling the method once before attempting to disassemble it?
<uhuh> screwlisp: I hadn't, trying to disassemble after calling the method yields a much longer result
<uhuh> I can't see the annotations for function calls that I normally see if I disassemble the same code as a normal function though
<pranav> Methods cannot be called/applied directly though—only through generic function dispatch.
alternateved has quit [Remote host closed the connection]
<ixelp> Thread: [Sbcl-devel] disassemble methods | Steel Bank Common Lisp
msv has joined #commonlisp
<uhuh> Great find, I think this was exactly what I was looking for. Thank you!
<pranav> Cool
mgl__ has quit [Ping timeout: 246 seconds]
uhuh has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1)]
bjorkintosh has quit [Ping timeout: 260 seconds]
awlygj has quit [Quit: leaving]
bjorkintosh has joined #commonlisp
screwlisp has quit [Remote host closed the connection]
donleo has quit [Ping timeout: 246 seconds]
dra has quit [Ping timeout: 260 seconds]
st_aldini has quit [Remote host closed the connection]