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/>
shka has quit [Ping timeout: 264 seconds]
certainty has joined #commonlisp
danlitt has quit [Ping timeout: 256 seconds]
certainty has quit [Ping timeout: 276 seconds]
chomwitt has quit [Ping timeout: 255 seconds]
childlikempress is now known as moon_child
moon_child is now known as __moonchild
gxt has quit [Remote host closed the connection]
gxt has joined #commonlisp
<cdegroot> (which is a must-own, but at the very least must-read ;-))
mgl has quit [Ping timeout: 276 seconds]
CarbonWriter has joined #commonlisp
<ixelp> Index of /pdf/mit
<aeth> I think anyway
<ixelp> Index of /pdf/mit/rle_lisp
<aeth> (http-only in 2023; trailing edge indeed)
rogersm has joined #commonlisp
__moonchild is now known as Mondenkind
certainty has joined #commonlisp
rogersm has quit [Ping timeout: 256 seconds]
donleo has quit [Ping timeout: 260 seconds]
certainty has quit [Ping timeout: 256 seconds]
CarbonWriter has quit [Quit: Cherrio & Goodbye]
CarbonWriter has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
random-nick has quit [Ping timeout: 252 seconds]
CarbonWriter has quit [Quit: Cherrio & Goodbye]
rogersm has joined #commonlisp
rogersm has quit [Ping timeout: 252 seconds]
dnhester26 has joined #commonlisp
<jcowan> aeth: Maclisp was the first Lisp that could beat DEC's Fortran on the PDP-10.
<aeth> did it have a LOOP?
certainty has joined #commonlisp
<aeth> looks like CL:LOOP itself dates to Common Lisp the Language 2nd Ed (1990) and wasn't standard in 1984, but that doesn't mean there wasn't a Maclisp LOOP or proto-LOOP
<aeth> I can't imagine writing that sort of code without LOOP
eddof13 has joined #commonlisp
<ixelp> The Pitmanual: Control Forms
certainty has quit [Ping timeout: 260 seconds]
<aeth> why is the web form of the maclisp manual better than the hyperspec
rogersm has joined #commonlisp
<jcowan> umm, because they describe different Lisps, and because the Pitmanual is about an implementation whereas CLHS is about a standard.
<aeth> it's also apparently from 2007
<aeth> instead of 1996
<aeth> (though the hyperspec did get some style revisions since 1996)
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
rogersm has quit [Ping timeout: 264 seconds]
certainty has joined #commonlisp
certainty has quit [Ping timeout: 260 seconds]
gxt has quit [Remote host closed the connection]
gxt has joined #commonlisp
avocadoist has quit [Ping timeout: 256 seconds]
<Mondenkind> it's not a REAL lisp if it doesn't have loop
bjork1intosh has quit [Ping timeout: 256 seconds]
bjorkintosh has joined #commonlisp
bjorkintosh has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
notzmv has quit [Ping timeout: 276 seconds]
edr has quit [Quit: Leaving]
Pixel_Outlaw has quit [Quit: Leaving]
rogersm has joined #commonlisp
lottaquestions_ has joined #commonlisp
lottaquestions has quit [Ping timeout: 260 seconds]
eddof13 has quit [Quit: eddof13]
rogersm has quit [Ping timeout: 252 seconds]
eddof13 has joined #commonlisp
eddof13 has quit [Quit: eddof13]
eddof13 has joined #commonlisp
eddof13 has quit [Client Quit]
Meritamen has joined #commonlisp
eddof13 has joined #commonlisp
Meritamen has quit [Remote host closed the connection]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #commonlisp
avocadoist has joined #commonlisp
waleee has quit [Ping timeout: 246 seconds]
rogersm has joined #commonlisp
rogersm has quit [Ping timeout: 255 seconds]
eddof13 has quit [Quit: eddof13]
gxt has quit [Remote host closed the connection]
gxt has joined #commonlisp
notzmv has joined #commonlisp
rtypo has quit [Ping timeout: 246 seconds]
Pixel_Outlaw has joined #commonlisp
zetef has joined #commonlisp
chomwitt has joined #commonlisp
certainty has joined #commonlisp
Equill has joined #commonlisp
pve has joined #commonlisp
rogersm has joined #commonlisp
igemnace has joined #commonlisp
rogersm has quit [Remote host closed the connection]
rogersm has joined #commonlisp
King_julian has joined #commonlisp
Pixel_Outlaw has quit [Quit: Leaving]
rogersm has quit [Ping timeout: 255 seconds]
notzmv has quit [Ping timeout: 256 seconds]
habamax has quit [Remote host closed the connection]
dcb has quit [Quit: MSN Messenger 4.1.1]
_cymew_ has joined #commonlisp
rogersm has joined #commonlisp
rogersm has quit [Ping timeout: 252 seconds]
jmdaemon has quit [Ping timeout: 256 seconds]
alanz has quit [Ping timeout: 260 seconds]
alanz has joined #commonlisp
zetef has quit [Ping timeout: 255 seconds]
bendersteed has joined #commonlisp
jmdaemon has joined #commonlisp
zetef has joined #commonlisp
anticrisis has quit [Read error: Connection reset by peer]
igemnace has quit [Read error: Connection reset by peer]
shka has joined #commonlisp
rogersm has joined #commonlisp
rogersm has quit [Ping timeout: 256 seconds]
varjag has joined #commonlisp
igemnace has joined #commonlisp
habamax has joined #commonlisp
dino_tutter has joined #commonlisp
mgl has joined #commonlisp
jmdaemon has quit [Ping timeout: 260 seconds]
cstml has quit [Ping timeout: 260 seconds]
ym has joined #commonlisp
zetef has quit [Ping timeout: 240 seconds]
notzmv has joined #commonlisp
rogersm has joined #commonlisp
donleo has joined #commonlisp
rogersm has quit [Ping timeout: 276 seconds]
rogersm has joined #commonlisp
rogersm has quit [Client Quit]
danse-nr3 has joined #commonlisp
zetef has joined #commonlisp
zetef has quit [Ping timeout: 256 seconds]
dajole has quit [Quit: Connection closed for inactivity]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 276 seconds]
Lord_of_Life_ is now known as Lord_of_Life
certainty has quit [Ping timeout: 260 seconds]
King_julian has quit [Ping timeout: 255 seconds]
certainty has joined #commonlisp
King_julian has joined #commonlisp
zetef has joined #commonlisp
certainty has quit [Ping timeout: 256 seconds]
tibfulv has quit [Remote host closed the connection]
King_julian has quit [Read error: Connection reset by peer]
King_julian has joined #commonlisp
tibfulv has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
grawlinson has quit [Quit: SIGTERM]
yitzi has joined #commonlisp
grawlinson has joined #commonlisp
gpiero_ is now known as gpiero
random-nick has joined #commonlisp
certainty has joined #commonlisp
zetef has quit [Ping timeout: 260 seconds]
certainty has quit [Ping timeout: 256 seconds]
tyson2 has joined #commonlisp
kevingal has joined #commonlisp
kevingal has quit [Remote host closed the connection]
<Shinmera> New release: https://shinmera.github.io/machine-state/ please consider supporting my continued work on patreon: https://patreon.com/shinmera
<ixelp> Machine State
certainty has joined #commonlisp
King_julian has quit [Ping timeout: 252 seconds]
certainty has quit [Ping timeout: 268 seconds]
avocadoist has quit [Remote host closed the connection]
<aeth> As brought up in #clschool in a related conversation, http://www.paulgraham.com/loop.html
<ixelp> Dan Weinreb: Loop
<aeth> So it looks like the second place option was "new-style DO", which also made the cut (but Maclisp apparently also has an old-style DO). http://www.maclisp.info/pitmanual/contro.html#5.8.1
<ixelp> The Pitmanual: Control Forms
<aeth> And I don't think other iteration forms made the cut.
<aeth> General ones, anyway. Obviously DOLIST, DOTIMES, etc.
avocadoist has joined #commonlisp
yitzi has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
certainty has joined #commonlisp
certainty has quit [Ping timeout: 276 seconds]
danse-nr3 has quit [Ping timeout: 256 seconds]
danse-nr3 has joined #commonlisp
King_julian has joined #commonlisp
yitzi has joined #commonlisp
certainty has joined #commonlisp
inline has quit [Quit: Leaving]
inline has joined #commonlisp
certainty has quit [Ping timeout: 260 seconds]
danse-nr3 has quit [Ping timeout: 255 seconds]
danse-nr3 has joined #commonlisp
habamax has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1.90)]
pieguy128 has quit [Ping timeout: 268 seconds]
certainty has joined #commonlisp
ym has quit [Remote host closed the connection]
certainty has quit [Ping timeout: 256 seconds]
bendersteed has quit [Quit: bendersteed]
bendersteed has joined #commonlisp
rtypo has joined #commonlisp
waleee has joined #commonlisp
certainty has joined #commonlisp
CarbonWriter has joined #commonlisp
nigel_ has joined #commonlisp
nigel_ has quit [Remote host closed the connection]
nigel_ has joined #commonlisp
nigel_ has quit [Client Quit]
nigel_ has joined #commonlisp
nigel_ has quit [Client Quit]
CarbonWriter has quit [Ping timeout: 259 seconds]
danse-nr3 has quit [Ping timeout: 268 seconds]
King_julian has quit [Ping timeout: 276 seconds]
nigel_ has joined #commonlisp
certainty has quit [Ping timeout: 268 seconds]
nigel_ is now known as CarbonWriter
danse-nr3 has joined #commonlisp
notzmv has quit [Ping timeout: 256 seconds]
edr has joined #commonlisp
certainty has joined #commonlisp
kurfen has quit [Ping timeout: 260 seconds]
kurfen has joined #commonlisp
certainty has quit [Ping timeout: 268 seconds]
varjag has quit [Quit: ERC (IRC client for Emacs 27.1)]
bendersteed has quit [Quit: bendersteed]
CarbonWriter has quit [Quit: Cherrio & Goodbye]
lucasta has joined #commonlisp
zetef has joined #commonlisp
certainty has joined #commonlisp
certainty has quit [Ping timeout: 256 seconds]
danse-nr3 has quit [Remote host closed the connection]
danse-nr3 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
yitzi has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
certainty has joined #commonlisp
kevingal has joined #commonlisp
green__ has quit [Ping timeout: 256 seconds]
certainty has quit [Ping timeout: 256 seconds]
zetef has quit [Ping timeout: 255 seconds]
NotThatRPG has joined #commonlisp
waleee has quit [Quit: WeeChat 4.1.0]
dino_tutter has quit [Ping timeout: 255 seconds]
<dnhester26> what's the easiest way (read no loop) to given a number produce a repeated string that many times. AKA in python I can do "3"*4 and get "####"
<dnhester26> How can I do that in lisp in a simple way?
<dnhester26> "#"*4 = "####"
waleee has joined #commonlisp
pieguy128 has joined #commonlisp
<beach> ,(make-array 4 :element-type 'character :initial-element #\#)
<ixelp> (make-array 4 :element-type 'character :initial-element #\#) => "####"
<dnhester26> thanks beach, will now learn about make-array
<beach> Good luck!
<dnhester26> thanks!
<beach> A string is a vector of element-type CHARACTER, and a vector is a 1-dimensional array.
eddof13 has joined #commonlisp
shka has quit [Quit: Konversation terminated!]
certainty has joined #commonlisp
zxcvz has joined #commonlisp
<bike> if you have a string rather than just a character you could do (apply #'concatenate 'string (make-list 3 :initial-element "foo")), but it's not very efficient
<Shinmera> (format NIL "~v@{str~}" 10 T)
<dnhester26> ,(format NIL "~v@{str~}" 10 T)
<ixelp> (format NIL "~v@{str~}" 10 T) => "strstrstrstrstrstrstrstrstrstr"
<dnhester26> thanks!
<dnhester26> both are useful for the future
<bike> oh that's way better.
<dnhester26> is htere a preference between using format and make-list?
<dnhester26> ah thanks bike
<dnhester26> thanks Shinmera
<Shinmera> bonus: dynamic
<Shinmera> (format NIL "~v@{~a~:*~}" 10 "foo")
certainty has quit [Ping timeout: 255 seconds]
igemnace has quit [Read error: Connection reset by peer]
shka has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
kurfen has quit [Ping timeout: 255 seconds]
kurfen has joined #commonlisp
igemnace has joined #commonlisp
kevingal has quit [Ping timeout: 256 seconds]
notzmv has joined #commonlisp
waleee has quit [Ping timeout: 264 seconds]
dnhester26 has joined #commonlisp
certainty has joined #commonlisp
danse-nr3 has quit [Read error: Connection reset by peer]
danse-nr3 has joined #commonlisp
jmdaemon has joined #commonlisp
attila_lendvai has joined #commonlisp
certainty has quit [Ping timeout: 260 seconds]
certainty has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
certainty has quit [Ping timeout: 256 seconds]
green__ has joined #commonlisp
<aeth> huh, wow, there's actually a use for left-pad here... in this case, padding an empty string. (trivial-left-pad:left-pad "" 4 #\#)
<aeth> under the hood it's just the FORMAT version, of course.
grawlinson has quit [Quit: SIGTERM]
jmdaemon has quit [Ping timeout: 260 seconds]
grawlinson has joined #commonlisp
certainty has joined #commonlisp
<aeth> Though the string rather than character version doesn't quite work as simply because it's for padding. You'd need to multiply how many you want by the length of the string.
certainty has quit [Ping timeout: 268 seconds]
lottaquestions has joined #commonlisp
lottaquestions_ has quit [Ping timeout: 260 seconds]
Gleefre has quit [Remote host closed the connection]
lottaquestions has quit [Read error: Connection reset by peer]
lottaquestions has joined #commonlisp
amb007 has quit [Ping timeout: 255 seconds]
yitzi has joined #commonlisp
amb007 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
attila_lendvai has quit [Ping timeout: 256 seconds]
cage has joined #commonlisp
certainty has joined #commonlisp
jmdaemon has joined #commonlisp
certainty has quit [Ping timeout: 255 seconds]
attila_lendvai has joined #commonlisp
Gleefre has joined #commonlisp
szkl has quit [Quit: Connection closed for inactivity]
dnhester26 has joined #commonlisp
green__ has quit [Remote host closed the connection]
green_ has joined #commonlisp
specbot has quit [Ping timeout: 276 seconds]
green__ has joined #commonlisp
certainty has joined #commonlisp
danse-nr3 has quit [Ping timeout: 264 seconds]
green_ has quit [Ping timeout: 255 seconds]
certainty has quit [Ping timeout: 256 seconds]
lucasta has quit [Quit: Leaving]
dino_tutter has joined #commonlisp
tyson2 has quit [Read error: Connection reset by peer]
Nuri has joined #commonlisp
<NotThatRPG> Any idea why `(uiop:run-program (list "/usr/bin/env" <myprogram>) :force-shell t :output :string)` gives an error in SBCL, when typing /usr/bin/env <myprogram> into the shell gives a pathname?
<NotThatRPG> Sorry -- I meant "which" instead of "/usr/bin/env" -- brain hiccup
<NotThatRPG> oh, I see -- wrong environment. Never mind <blush/>
<NotThatRPG> The problem isn't SBCL, it's only with SBCL running inside emacs.
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
danza has joined #commonlisp
simendsjo has joined #commonlisp
Nuri has quit [Quit: Client closed]
tyson2 has joined #commonlisp
Guest63 has joined #commonlisp
danza has quit [Ping timeout: 256 seconds]
Perflosopher has quit [Quit: Ping timeout (120 seconds)]
Perflosopher has joined #commonlisp
theBlackDragon has quit [Ping timeout: 264 seconds]
theBlackDragon has joined #commonlisp
mgl has quit [Ping timeout: 255 seconds]
Nuri has joined #commonlisp
Nuri has quit [Client Quit]
green__ has quit [Ping timeout: 264 seconds]
certainty has joined #commonlisp
jon_atack has quit [Quit: WeeChat 4.1.1]
certainty has quit [Ping timeout: 260 seconds]
dnhester26 has quit [Remote host closed the connection]
prokhor has quit [Remote host closed the connection]
prokhor has joined #commonlisp
green__ has joined #commonlisp
t400 has joined #commonlisp
mgl has joined #commonlisp
waleee has joined #commonlisp
Guest63 has quit [Quit: Client closed]
prokhor has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
varjag has joined #commonlisp
amb007 has joined #commonlisp
certainty has joined #commonlisp
dnhester26 has quit [Ping timeout: 240 seconds]
mgl has quit [Ping timeout: 264 seconds]
mgl has joined #commonlisp
Lycurgus has quit [Quit: leaving]
certainty has quit [Ping timeout: 256 seconds]
reb has joined #commonlisp
chomwitt has quit [Remote host closed the connection]
chomwitt has joined #commonlisp
attila_lendvai has quit [Read error: Connection reset by peer]
dnhester26 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
jmdaemon has quit [Ping timeout: 255 seconds]
mrvdb has quit [Ping timeout: 245 seconds]
mrvdb has joined #commonlisp
attila_lendvai has joined #commonlisp
jmdaemon has joined #commonlisp
<Mondenkind> Shinmera: 'For compatibility reasons only integers up to 64 bits are supported' this is some windows fuckery right?
<Shinmera> kinda
<Shinmera> on linux the CPU set is also some weirdo bitfield that I just... kinda ignored for now? :v
<Mondenkind> they divide cores into groups of 64 and then you have an affinity mask within one particular affinity group, right?
<MelanieMalik> flindows
<Shinmera> and on windows above 64 bits you have process groups, yes
<Shinmera> which I opted not to bother with
<Shinmera> if you're dealing with machines that powerful you can probably spend the time to implement it :)
mgl has quit [Ping timeout: 256 seconds]
<Shinmera> ~ remember it's all open source
jmdaemon has quit [Ping timeout: 276 seconds]
certainty has joined #commonlisp
green__ has quit [Read error: Connection reset by peer]
certainty has quit [Ping timeout: 256 seconds]
<NotThatRPG> Anyone have a good equivalent to "here documents" for lisp source files?
simendsjo has quit [Ping timeout: 276 seconds]
zxcvz has quit [Quit: zxcvz]
Gleefre has quit [Remote host closed the connection]
Gleefre has joined #commonlisp
_cymew_ has quit [Ping timeout: 252 seconds]
Pixel_Outlaw has joined #commonlisp
jmdaemon has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
certainty has joined #commonlisp
certainty has quit [Ping timeout: 276 seconds]
<Shinmera> I don't know what that is
jmdaemon has quit [Ping timeout: 256 seconds]
cage has quit [Remote host closed the connection]
attila_lendvai has quit [Ping timeout: 276 seconds]
dcb has joined #commonlisp
<BrokenCog> Shinmera: "is a file literal or input stream literal: it is a section of a source code file that is treated as if it were a separate file."
<BrokenCog> such as "while IFS= read -r srcfile; do blahblah;done < <(find . -type f) ... the here doc is generated via the <(find...)
mgl has joined #commonlisp
slondr has joined #commonlisp
yitzi_ has joined #commonlisp
jmdaemon has joined #commonlisp
yitzi has quit [Ping timeout: 276 seconds]
yitzi_ has quit [Remote host closed the connection]
jonatack has joined #commonlisp
certainty has joined #commonlisp
<Shinmera> Oh I see.
<Shinmera> I feel like that would wreak havoc with paredit and other common editor hints
<Shinmera> I seem to remember a project that let you mix C code into a Lisp file, but I can't recall the name
habamax has joined #commonlisp
<BrokenCog> it's really more a CLI tool. Obviously it can be used in scripts, but I feel it's mostly used directly in commands.
certainty has quit [Ping timeout: 260 seconds]
younder has quit [Ping timeout: 256 seconds]
eddof13 has quit [Quit: eddof13]
eddof13 has joined #commonlisp
Pirx has joined #commonlisp
<Pirx> hello
danlitt has joined #commonlisp
zoig has joined #commonlisp
lucasta has joined #commonlisp
zoig has quit [Quit: Client closed]
<NotThatRPG> Shinmera, BrokenCog: Yes, I would be primarily interested in this for small scripts for replicating bugs/running tests.
certainty has joined #commonlisp
eddof13 has quit [Quit: eddof13]
certainty has quit [Ping timeout: 260 seconds]
NotThatRPG is now known as NotThatRPG_away
eddof13 has joined #commonlisp
scymtym has quit [Remote host closed the connection]
eddof13 has quit [Quit: eddof13]
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
eddof13 has joined #commonlisp
eddof13 has quit [Ping timeout: 256 seconds]
pve has quit [Quit: leaving]
certainty has joined #commonlisp
certainty has quit [Ping timeout: 260 seconds]
dnhester26 has joined #commonlisp
donleo has quit [Ping timeout: 276 seconds]
scymtym has joined #commonlisp
varjag has quit [Quit: ERC 5.4.1 (IRC client for GNU Emacs 29.0.50)]
t4000 has joined #commonlisp
t400 has quit [Ping timeout: 252 seconds]
jmdaemon has quit [Quit: ZNC 1.8.2 - https://znc.in]
jmdaemon has joined #commonlisp
dino_tutter has quit [Ping timeout: 246 seconds]
jmdaemon has quit [Ping timeout: 255 seconds]
lucasta has quit [Remote host closed the connection]
shka has quit [Ping timeout: 255 seconds]