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
<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>
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
<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)]