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/>
rgherdt_ has quit [Quit: Leaving]
cstml has joined #commonlisp
zetef has quit [Remote host closed the connection]
donleo has quit [Ping timeout: 256 seconds]
szkl has joined #commonlisp
cstml has quit [Ping timeout: 264 seconds]
NotThatRPG_away has quit [Ping timeout: 256 seconds]
notzmv has joined #commonlisp
bilegeek has joined #commonlisp
yitzi has quit [Remote host closed the connection]
robin has quit [Remote host closed the connection]
robin has joined #commonlisp
habamax has joined #commonlisp
random-nick has quit [Ping timeout: 252 seconds]
bjorkintosh has quit [Quit: Leaving]
bjorkintosh has joined #commonlisp
prokhor_ has quit [Remote host closed the connection]
robin has quit [Remote host closed the connection]
contrapunctus has joined #commonlisp
robin has joined #commonlisp
chomwitt has quit [Ping timeout: 260 seconds]
jonatack has joined #commonlisp
jon_atack has quit [Ping timeout: 268 seconds]
jon_atack has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Replaced by new connection]
pranavats has joined #commonlisp
habamax has quit [Remote host closed the connection]
habamax has joined #commonlisp
jonatack has quit [Ping timeout: 256 seconds]
Gleefre has quit [Ping timeout: 250 seconds]
ym has quit [Ping timeout: 264 seconds]
<edgar-rft> surabax: novaspec is a project gilberth is currently working on, it's an attempt to create a HTML version of the ANSI spec that is easier readable and navigatable than CLHS but as far as I know novaspec is not finally finished yet. Gilberth usually can be fond on #lispcafe
<edgar-rft> I'm not sure if gilberth already has uploaded the novaspec code somewhere but I don't think he wants to keep it secret :-)
edr has quit [Quit: Leaving]
grawlinson has quit [Ping timeout: 256 seconds]
grawlinson has joined #commonlisp
dinomug has joined #commonlisp
grawlinson has quit [Quit: SIGTERM]
grawlinson has joined #commonlisp
Alfr has quit [Remote host closed the connection]
Alfr has joined #commonlisp
dinomug has quit [Remote host closed the connection]
masinter_ has quit [Ping timeout: 255 seconds]
avocadoist has quit [Ping timeout: 255 seconds]
triffid has quit [Ping timeout: 240 seconds]
szkl has quit [Quit: Connection closed for inactivity]
triffid has joined #commonlisp
dajole has joined #commonlisp
cmack has joined #commonlisp
fe[nl]ix has quit [Quit: Valete!]
surabax has quit [Quit: Leaving]
fe[nl]ix has joined #commonlisp
triffid has quit [Quit: triffid]
<jcowan> Scheme has been able to converge on a standard representation of JSON, partly because it distinguishes false and the empty list: numbers, booleans, and strings are what you expect, JSON arrays are (general) vectors, JSON objects are alists whose keys are symbols, and JSON null is the symbol null.
<pfdietz> In retrospect, I think NIL punning wasn't the best choice for Common Lisp.  I can understand why it happened though.
<beach> Indeed, it encourages a coding style that is specifically discouraged on page 13 of the LUV slides.
bilegeek has quit [Quit: Leaving]
dcb has quit [Quit: MSN Messenger 4.1.1]
notzmv has quit [Ping timeout: 252 seconds]
ski has joined #commonlisp
rtypo has joined #commonlisp
Pixel_Outlaw has quit [Remote host closed the connection]
msavoritias has joined #commonlisp
shka has joined #commonlisp
anticrisis has quit [Read error: Connection reset by peer]
decweb has quit [Ping timeout: 276 seconds]
simendsjo has joined #commonlisp
meritamen has joined #commonlisp
azimut has quit [Ping timeout: 240 seconds]
meritamen has quit [Remote host closed the connection]
mathrick has quit [Ping timeout: 268 seconds]
gerogaga has joined #commonlisp
waleee has joined #commonlisp
<gerogaga> Hello, I have a bit of an issue: I'm doing AoC day 2 and for whatever reason this regex: (cl-ppcre:scan-to-strings "Game \\d+:" #\: line) doesn't match for numbers above 9 when used inside a loop but works perfectly fine on the REPL.
mathrick has joined #commonlisp
<beach> Are you sure that LINE is the same in both cases?
<gerogaga> Should be, since 1-9 works and the loop only goes over a list of lines read by uiop:read-file-lines
<hayley> Could you provide a sample line please?
<gerogaga> "Game 77: 9 blue, 1 red, 3 green; 8 blue, 17 green, 4 red; 5 green, 1 blue, 2 red; 6 green, 1 red, 9 blue; 4 green, 10 red; 9 red, 3 blue"
<hayley> SCAN-TO-STRINGS takes two parameters here, but (cl-ppcre:scan-to-strings "Game \\d+:" line) works.
<gerogaga> Yeah, if I do that alone in a REPL it works for me too but inside a loop
<hayley> The original code you gave had another argument between the regex and LINE. What does it do instead of working?
<gerogaga> Oh, that was accidentally left over from a str:split call. It didn't alter the behaviour at all.
jrx has joined #commonlisp
molson_ has joined #commonlisp
<hayley> So what happens when it doesn't work?
<gerogaga> On a second look the problem seems to be with the assignment inside of the defvar? The loop expression itself returns the correct values but defvar doesn't seem to assign it correctly.
gerogaga has quit [Remote host closed the connection]
gerogaga` has joined #commonlisp
meritamen has joined #commonlisp
molson has quit [Ping timeout: 255 seconds]
<beach> That's true, DEFVAR does not change the value if it already has one.
<beach> You should use DEFVAR for definition only, and SETF to assign to it.
<beach> gerogaga`: I suggest you paste your code to plaster.tymoon.eu for more feedback.
<gerogaga`> So reevaluating a defvar form doesn't reset it?
<beach> It seems there could be other issues with it.
<beach> Correct.
<beach> ::clhs defvar
<ixelp> CLHS: Macro DEFPARAMETER, DEFVAR
<gerogaga`> Oh, that's good to know, thanks.
<beach> Did you see that phrase on that page?
jrx has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1.50)]
<beach> "DEFVAR, by contrast, assigns initial-value (if supplied) ... only if NAME is not already bound"
<gerogaga`> I did.
<gerogaga`> Thanks.
<beach> Sure.
<beach> Again, you might want to paste your code, because using DEFVAR in a loop is not good practice.
<beach> So there might be other issues with your code.
<gerogaga`> I'm not using it in a loop, I'm assigning a loop's return value to it.
<beach> I see.
easye has quit [Remote host closed the connection]
easye has joined #commonlisp
gerogaga` has quit [Remote host closed the connection]
notzmv has joined #commonlisp
rgherdt has joined #commonlisp
notzmv has quit [Ping timeout: 256 seconds]
meritamen has quit [Ping timeout: 245 seconds]
meritamen has joined #commonlisp
meritamen has quit [Remote host closed the connection]
waleee has quit [Ping timeout: 276 seconds]
chomwitt has joined #commonlisp
mgl has joined #commonlisp
amb007 has quit [Ping timeout: 255 seconds]
amb007 has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 264 seconds]
Lord_of_Life_ is now known as Lord_of_Life
dajole has quit [Quit: Connection closed for inactivity]
mgl has quit [Ping timeout: 256 seconds]
simendsjo has quit [Remote host closed the connection]
donleo has joined #commonlisp
chomwitt has quit [Ping timeout: 245 seconds]
attila_lendvai has joined #commonlisp
easye has quit [Remote host closed the connection]
init has quit [Remote host closed the connection]
danza has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
overclucker_ has quit [Read error: Connection reset by peer]
overclucker has joined #commonlisp
mgl has joined #commonlisp
_cymew_ has joined #commonlisp
seveno4 has joined #commonlisp
cage has joined #commonlisp
notzmv has joined #commonlisp
zetef has joined #commonlisp
random-nick has joined #commonlisp
tyson2 has joined #commonlisp
gpiero has quit [Quit: Quitting...]
gpiero has joined #commonlisp
amb007 has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
morganw has joined #commonlisp
ym has joined #commonlisp
mgl has quit [Ping timeout: 246 seconds]
danza has quit [Read error: Connection reset by peer]
mgl has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
habamax has quit [Remote host closed the connection]
jon_atack has quit [Read error: Connection reset by peer]
jonatack has joined #commonlisp
<aeth> I think defvar and defparameter really are one of the most confusing things to newbies because defparameter is usually what you want if you want a global, but defvar is shorter. And then separate setting vs defining/binding instead of just overloading = is rare in programming these days, too.
Babr has joined #commonlisp
zxcvz has joined #commonlisp
zxcvz has quit [Client Quit]
<beach> I think all we can do is explain it to them.
avocadoist has joined #commonlisp
Renfield has quit [Quit: Leaving]
Babr has left #commonlisp [#commonlisp]
decweb has joined #commonlisp
yitzi has joined #commonlisp
zetef has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
chomwitt has joined #commonlisp
green__ has quit [Ping timeout: 255 seconds]
chomwitt has quit [Ping timeout: 256 seconds]
zetef has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
easye has joined #commonlisp
arpunk has joined #commonlisp
gerogaga has joined #commonlisp
waleee has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
attila_lendvai has quit [Ping timeout: 256 seconds]
Cymew has joined #commonlisp
cenobite has joined #commonlisp
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
Cymew has quit [Ping timeout: 252 seconds]
rgherdt has quit [Ping timeout: 256 seconds]
monospod has joined #commonlisp
Gleefre has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
makomo has joined #commonlisp
makomo has quit [Client Quit]
makomo has joined #commonlisp
makomo has quit [Client Quit]
zxcvz has joined #commonlisp
theBlackDragon has quit [Remote host closed the connection]
green__ has joined #commonlisp
gerogaga has quit [Quit: Client closed]
zxcvz has quit [Quit: zxcvz]
lucasta has joined #commonlisp
mgl has quit [Ping timeout: 256 seconds]
cdegroot has quit [Remote host closed the connection]
theBlackDragon has joined #commonlisp
theBlackDragon has quit [Client Quit]
theBlackDragon has joined #commonlisp
Babr has joined #commonlisp
azimut has joined #commonlisp
molson_ has quit [Read error: Connection reset by peer]
molson_ has joined #commonlisp
molson_ has quit [Read error: Connection reset by peer]
cmack has quit [Ping timeout: 252 seconds]
azimut has quit [Ping timeout: 240 seconds]
King_julian has joined #commonlisp
monospod has quit [Quit: Leaving]
lucasta has quit [Quit: Leaving]
zetef has quit [Ping timeout: 256 seconds]
jmdaemon has quit [Ping timeout: 268 seconds]
dnhester26 has joined #commonlisp
mgl has joined #commonlisp
Babr has left #commonlisp [#commonlisp]
molson has joined #commonlisp
King_julian has quit [Remote host closed the connection]
King_julian has joined #commonlisp
molson has quit [Ping timeout: 260 seconds]
Guest63 has joined #commonlisp
Alfr has quit [Quit: Leaving]
chomwitt has joined #commonlisp
Pixel_Outlaw has joined #commonlisp
molson has joined #commonlisp
molson has quit [Ping timeout: 252 seconds]
molson has joined #commonlisp
zetef has joined #commonlisp
traidare has joined #commonlisp
overclucker has quit [Read error: Connection reset by peer]
overclucker_ has joined #commonlisp
King_julian has quit [Ping timeout: 252 seconds]
overclucker_ has quit [Ping timeout: 255 seconds]
mrcom has quit [Read error: Connection reset by peer]
mrcom has joined #commonlisp
azimut has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
jonatack has quit [Read error: Connection reset by peer]
jon_atack has joined #commonlisp
elevenkb has joined #commonlisp
elevenkb has quit [Client Quit]
elevenkb has joined #commonlisp
Oladon has joined #commonlisp
cstml has joined #commonlisp
cstml has quit [Client Quit]
ym has quit [Read error: Connection reset by peer]
King_julian has joined #commonlisp
tyson2 has joined #commonlisp
overclucker has joined #commonlisp
azimut has quit [Remote host closed the connection]
azimut has joined #commonlisp
Guest63 has quit [Quit: Client closed]
dinomug has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
mgl has quit [Ping timeout: 252 seconds]
rgherdt has joined #commonlisp
cage has quit [Quit: rcirc on GNU Emacs 29.1]
overclucker_ has joined #commonlisp
overclucker has quit [Read error: Connection reset by peer]
msavoritias has quit [Remote host closed the connection]
King_julian has quit [Ping timeout: 276 seconds]
King_julian has joined #commonlisp
simendsjo has joined #commonlisp
Eoco has joined #commonlisp
simendsjo has quit [Ping timeout: 260 seconds]
Eoco has quit [Remote host closed the connection]
pfdietz has quit [Quit: Client closed]
Eoco has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
Eoco has quit [Remote host closed the connection]
pfdietz has joined #commonlisp
Eoco has joined #commonlisp
lispmacs[work] has joined #commonlisp
dnhester26 has joined #commonlisp
King_julian has quit [Ping timeout: 276 seconds]
<lispmacs[work]> If I have a vector of element type '(unsigned-byte 8), and I want to reset all elements to some number, should I just iterate over it, or is there way
<lispmacs[work]> a better way, I meant
<ixelp> fill | Common Lisp Nova Spec
<lispmacs[work]> okay, thanks
algebwarf has joined #commonlisp
dnhester26 has quit [Remote host closed the connection]
dnhester26 has joined #commonlisp
gxt has quit [Ping timeout: 240 seconds]
tyson2 has joined #commonlisp
gxt has joined #commonlisp
Alfr has joined #commonlisp
algebwarf has quit [Remote host closed the connection]
mgl has joined #commonlisp
dajole has joined #commonlisp
ym has joined #commonlisp
dcb has joined #commonlisp
yitzi has quit [Remote host closed the connection]
_cymew_ has quit [Ping timeout: 276 seconds]
anticrisis has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
tibfulv has quit [Remote host closed the connection]
tibfulv has joined #commonlisp
habamax has joined #commonlisp
Eoco has quit [Quit: WeeChat 2.3]
Eoco has joined #commonlisp
Eoco has quit [Quit: WeeChat 4.1.1]
Eoco has joined #commonlisp
tyson2 has joined #commonlisp
mgl has quit [Ping timeout: 276 seconds]
rtypo has quit [Ping timeout: 260 seconds]
zxcvz has joined #commonlisp
zetef has quit [Read error: Connection reset by peer]
szkl has joined #commonlisp
zxcvz has quit [Quit: zxcvz]
notzmv has quit [Ping timeout: 255 seconds]
borodust has quit [Remote host closed the connection]
jonatack has joined #commonlisp
jon_atack has quit [Read error: Connection reset by peer]
traidare has quit [Ping timeout: 252 seconds]
mgl has joined #commonlisp
amb007 has quit [Ping timeout: 276 seconds]
amb007 has joined #commonlisp
habamax has quit [Quit: ERC 5.5.0.29.1 (IRC client for GNU Emacs 29.1.90)]
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
borodust has joined #commonlisp
_whitelogger has joined #commonlisp
masinter_ has joined #commonlisp
Lord_Nightmare has quit [Quit: ZNC - http://znc.in]
cdegroot has joined #commonlisp
jmdaemon has joined #commonlisp
Lord_Nightmare has joined #commonlisp