livoreno has quit [Read error: Connection reset by peer]
livoreno has joined #commonlisp
random-nick has quit [Ping timeout: 258 seconds]
ShawnB has joined #commonlisp
notzmv has joined #commonlisp
frgo has joined #commonlisp
frgo has quit [Ping timeout: 240 seconds]
frgo has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
frgo has quit [Ping timeout: 256 seconds]
mingus_ has joined #commonlisp
mingus has quit [Read error: Connection reset by peer]
engblom_ has quit [Ping timeout: 268 seconds]
engblom has joined #commonlisp
beegs has quit [Quit: WeeChat 3.0.1]
edgar-rft has quit [Ping timeout: 268 seconds]
edgar-rft has joined #commonlisp
mister_m has quit [Ping timeout: 258 seconds]
bhaible has quit [Remote host closed the connection]
bhaible has joined #commonlisp
cjb has quit []
taiju has quit [Ping timeout: 240 seconds]
prxq_ has joined #commonlisp
prxq has quit [Ping timeout: 252 seconds]
taiju has joined #commonlisp
igemnace has quit [Quit: WeeChat 3.2]
waleee has quit [Ping timeout: 240 seconds]
igemnace has joined #commonlisp
derelict has quit [Ping timeout: 256 seconds]
lad has joined #commonlisp
<lad> How can I load in this project to my SBCL environment? It doesn't contain a ".asd" system file... https://github.com/andersvi/cl-jack
<Bike> lad: probably cl-jack-load.lisp
<lad> Bike, hmm. I cloned the project into my ~/common-lisp dir. I'm not able to require or load the file
<Bike> what do you mean, not able? just do (load "wherever/cl-jack-load.lisp")
<lad> Bike, okay, I can load it by absolute path.
<Bike> since there's nothing like a system definition, that's probably the only provided way to do it
<beach> Good morning everyone!
Bike has quit [Quit: sleep]
notzmv has quit [Ping timeout: 252 seconds]
derelict has joined #commonlisp
igemnace has quit [Quit: WeeChat 3.2]
frgo has joined #commonlisp
frgo has quit [Ping timeout: 240 seconds]
jeosol has quit [Quit: Ping timeout (120 seconds)]
<Josh_2> Good morning beach
Lord_of_Life has quit [Ping timeout: 252 seconds]
Lord_of_Life has joined #commonlisp
frgo has joined #commonlisp
Noisytoot has quit [Quit: ZNC 1.8.2 - https://znc.in]
frgo has quit [Ping timeout: 240 seconds]
Noisytoot has joined #commonlisp
jeosol has joined #commonlisp
frgo has joined #commonlisp
frgo has quit [Ping timeout: 240 seconds]
zephyr has quit [Quit: Ping timeout (120 seconds)]
zephyr has joined #commonlisp
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 272 seconds]
igemnace has joined #commonlisp
derelict has quit [Ping timeout: 256 seconds]
torbo has joined #commonlisp
lisp123 has joined #commonlisp
torbo has quit [Remote host closed the connection]
notzmv has joined #commonlisp
Retropikzel has joined #commonlisp
dsk has joined #commonlisp
amb007 has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
attila_lendvai has joined #commonlisp
amb007 has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
lisp123 has quit [Ping timeout: 268 seconds]
Lycurgus has quit [Quit: Exeunt]
amb007 has quit [Ping timeout: 240 seconds]
amb007 has joined #commonlisp
Retropikzel has quit [Quit: Leaving]
shka has joined #commonlisp
varjag has joined #commonlisp
Alfr has quit [Ping timeout: 256 seconds]
amb007 has quit [Ping timeout: 272 seconds]
amb007 has joined #commonlisp
White_Flame has quit [Remote host closed the connection]
White_Flame has joined #commonlisp
varjag has quit [Ping timeout: 272 seconds]
<susam> Good morning, #commonlisp!
<beach> Hello susam.
<susam> Hello beach.
frgo has joined #commonlisp
Cymew has joined #commonlisp
frgo has quit [Remote host closed the connection]
frgo has joined #commonlisp
taiju has quit [Ping timeout: 240 seconds]
taiju has joined #commonlisp
amb007 has quit [Ping timeout: 258 seconds]
amb007 has joined #commonlisp
<kakuhen> Probably off-topic, but does anyone know what it means when you get NIL randomly in your backtraces?
<kakuhen> here is an example output: https://a.uguu.se/HNkRHOBF.png
<kakuhen> i understand this is likely implementation-specific, so for reference, this occurs with CCL (doesn't seem to happen in SBCL though)
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
<beach> It probably just means that CCL did not save any information about those particular stack frames. What is your value of DEBUG? If it is not 3, you might want to try setting it to 3.
amb007 has joined #commonlisp
MichaelRaskin has joined #commonlisp
karlosz has quit [Quit: karlosz]
pjb has quit [Remote host closed the connection]
<kakuhen> I'm not sure what the DEBUG value is. It seems unbound when I try accessing it from the REPL
<beach> clhs optimize
<beach> (proclaim '(optimize (debug 3)))
karlosz 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
pve has joined #commonlisp
terpri has joined #commonlisp
terpri is now known as robin
hendursaga has joined #commonlisp
hendursa1 has quit [Ping timeout: 244 seconds]
<kakuhen> I just set it to 3 and I'm still getting the nils appearing in some entries
<kakuhen> I can live with this anyway; there's enough information for me to tell what exactly is going on anyway, and I rarely have to deliver an interrupt like I did in the screenshot
<beach> It was probably already 3 then, and there is just some information that is not kept by CCL.
selwyn has joined #commonlisp
Lord_of_Life_ has joined #commonlisp
<lad> I'm writing a function "sum-from-int" that takes an my-INT and list-of-ints and returns a list of INTs where each item is a running sum of my-Int and each int in the list-of-ints... https://pastiebin.com/60dd79b18ca87
<lad> there has to be a better way....?
<lad> (sum-from-int 1 '(1 2 3 4 5)) ; (1 2 4 7 11 16)
Lord_of_Life has quit [Ping timeout: 256 seconds]
Lord_of_Life_ is now known as Lord_of_Life
<beach> lad: Pretty sure there is a better way, yes, but I need to first understand what you are doing. Your description didn't do it for me.
<beach> Also, you need to work on your code layout.
<pve> lad: what is "n"?
<flip214> lad: try a recursive function with an accumulator; or you could use REDUCE.
<beach> In Common Lisp you never put whitespace before a closing parethesis.
<flip214> also, LOOP (and ITERATE) provide SUM primitives.
<pve> lad: also, what is "res"?
<beach> Oh, right lots of bad stuff in there.
<lad> n is the number that gets added to each int in list-of-ints. res is the resul where the sum gets appended to
<beach> lad: Using SETF to assign to an undefined variable is undefined behavior in Common Lisp. And N and RES are both undefined.
<pve> lad: you probably want to use "let" instead
<beach> lad: And using APPEND will give you a quadratic algorithm where a linear one is possible.
<lad> yes, let easily replaces setf here, thx
<lad> i thought maybe use reduce or loop, but this way was the easiest for me to think about
<lad> i have trouble even describing what its supposed to do :D
<moon-child> lad: this is called a 'scan'
<moon-child> lad: rather than taking an extra 'initial' number and a list, you should just take one list. The caller can easily cons on an additional number if it wants to
<beach> Someone should show an improved version without REDUCE or LOOP.
<beach> I am in the middle of some debugging, so I prefer not to be distracted.
prxq_ has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
robin has quit [Ping timeout: 240 seconds]
<sm2n> (defun running-sum (list) (loop for x in list for accum = x then (+ x accum) collect accum))
<sm2n> not very nice to read on one line though
robin has joined #commonlisp
<moon-child> implementation using april: +/
<sm2n> heh
<sm2n> moon-child, incidentally, is there an implementation of those array based trees in cl yet?
<lad> much appreciated!
<sm2n> I might try my hand at writing something if not
<sm2n> I still find it fascinating
pjb has joined #commonlisp
<moon-child> sm2n: not as far as I know. I think it falls to you!
<moon-child> (also take a look at petalisp if you haven't seen it)
<sm2n> I see
<sm2n> I have looked at petalisp but I didn't really understand it
<lad> flip214, yours actually returns what i'm expecting. sm2n not sure why but using loop isn't returning correctly, seems to be off by one in the results
<lad> sm2n, i guess i have to add in the initial number to the list actually, cool
<sm2n> lad, is this what you want? https://plaster.tymoon.eu/view/2533#2533
<sm2n> I think it's more elegant to just add the initial to the start of the list though, yeah
<lad> btw i'm using this generate musical midi notes according to major or minor scales steps :)
<sm2n> sounds like fun
<lad> sm2n, i think you're right about the earlier is more elegant since i need to cons the start onto the list with the new one u pasted. thx again
<sm2n> oh wow, I think I was looking at the wrong thing last time
<sm2n> the petalisp getting started examples are actually quite understandable to me
lotuseater has joined #commonlisp
taiju has quit [Ping timeout: 256 seconds]
robin has quit [Ping timeout: 240 seconds]
taiju has joined #commonlisp
robin has joined #commonlisp
patience_ has joined #commonlisp
lisp123 has joined #commonlisp
karlosz has quit [Quit: karlosz]
lisp123 has quit [Ping timeout: 258 seconds]
McParen has joined #commonlisp
[deleted] has joined #commonlisp
livoreno has quit [Ping timeout: 256 seconds]
derelict has joined #commonlisp
robin has quit [Ping timeout: 240 seconds]
frgo has quit [Remote host closed the connection]
frgo has joined #commonlisp
tyson2 has joined #commonlisp
terpri has joined #commonlisp
terpri has quit [Remote host closed the connection]
terpri has joined #commonlisp
terpri is now known as robin
notzmv has quit [Ping timeout: 240 seconds]
McParen has left #commonlisp [#commonlisp]
Cymew has quit [Ping timeout: 258 seconds]
treflip has joined #commonlisp
kakuhen has quit [Quit: Leaving...]
amb007 has quit [Ping timeout: 256 seconds]
amb007 has joined #commonlisp
random-nick has joined #commonlisp
frgo_ has joined #commonlisp
frgo_ has quit [Remote host closed the connection]
frgo_ has joined #commonlisp
frgo has quit [Ping timeout: 240 seconds]
[deleted] has quit [Read error: Connection reset by peer]
livoreno has joined #commonlisp
amb007 has quit [Ping timeout: 265 seconds]
amb007 has joined #commonlisp
Alfr has joined #commonlisp
treflip has quit [Read error: Connection reset by peer]
tyson2 has quit [Ping timeout: 272 seconds]
Cymew has joined #commonlisp
Bike has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
notzmv has joined #commonlisp
patience_ has quit [Remote host closed the connection]
<shka> hmmm, are there any situations when the abort restart is not available?
<Bike> implementations usually bind an abort restart in all threads, but they don't technically have to
<Bike> the standard does "encourage" abort to always be available, though
<shka> Bike: thanks!
<shka> threads make sense, since there is no threads in the CL standard
<Bike> in clasp for a while we didn't bind abort restarts in threads, but it turned out slime (specifically SLDB) expects at least one restart to be available in all contexts
Cymew has quit [Ping timeout: 240 seconds]
<skempf> lad: here is a solution using mapcar instead of recursion: https://dpaste.com/DS5U543MZ
<beach> skempf: (setf adder (+ adder item)) is better expressed as (incf adder item)
<beach> skempf: And you are not using the variable you introduced with a LET.
<beach> You probably want to use ITER-SUM rather than ADDER in the INCF too.
lad has quit [Ping timeout: 252 seconds]
cage has joined #commonlisp
<skempf> Yikes. I should finish my coffee first.
<skempf> And yes, I certainly meant to use the variable I introduced in the LET. I don't normally use map functions, so this was my morning learning exercise today.
Inline has joined #commonlisp
treflip has joined #commonlisp
pjb has quit [Ping timeout: 256 seconds]
lisp123 has joined #commonlisp
Alfr has quit [Read error: Connection reset by peer]
Alfr has joined #commonlisp
lisp123 has quit [Ping timeout: 265 seconds]
waleee has joined #commonlisp
<Josh_2> Afternoon all
<beach> Hello Josh_2.
<beach> skempf: Much better. :)
<Josh_2> My love for generics keeps increasing
<beach> "generics" as in "generic functions"?
<Josh_2> Yes
<beach> Great!
<jcowan> For future investigation, I suspect those NIL frames represent pure C functions
<beach> Makes sense.
selwyn_ has joined #commonlisp
selwyn has quit [Ping timeout: 252 seconds]
<jackdaniel> #<my stack is so pure that you can't look at it - your c function>
tyson2 has joined #commonlisp
<shka> funny that you can't C the stack :P
selwyn_ has quit [Read error: Connection reset by peer]
<jackdaniel> that was funny :)
Alfr has quit [Ping timeout: 272 seconds]
cuz has joined #commonlisp
igemnace has quit [Quit: WeeChat 3.2]
aeth has quit [Ping timeout: 258 seconds]
aeth has joined #commonlisp
cuz has quit [Remote host closed the connection]
cuz has joined #commonlisp
selwyn has joined #commonlisp
yitzi 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
cuz has quit [Read error: Connection reset by peer]
cuz has joined #commonlisp
varjag has joined #commonlisp
amb007 has quit [Read error: Connection reset by peer]
lisp123 has joined #commonlisp
amb007 has joined #commonlisp
lisp123 has quit [Ping timeout: 272 seconds]
varjag has quit [Ping timeout: 252 seconds]
dlowe has joined #commonlisp
lottaquestions_ has joined #commonlisp
lottaquestions_ has quit [Read error: Connection reset by peer]
lottaquestions_ has joined #commonlisp
lottaquestions has quit [Ping timeout: 256 seconds]
yitzi has quit [Remote host closed the connection]
yitzi has joined #commonlisp
selwyn has quit [Remote host closed the connection]
selwyn has joined #commonlisp
lottaquestions_ has quit [Quit: Konversation terminated!]
lottaquestions_ has joined #commonlisp
pjb has joined #commonlisp
treflip has quit [Remote host closed the connection]
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
amb007 has quit [Read error: Connection reset by peer]
amb007 has joined #commonlisp
tyson2 has quit [Remote host closed the connection]
selwyn has quit [Read error: Connection reset by peer]
amb007 has quit [Ping timeout: 252 seconds]
amb007 has joined #commonlisp
lad has joined #commonlisp
yitzi has quit [Remote host closed the connection]
elf_fortrez has joined #commonlisp
yitzi has joined #commonlisp
lisp123 has joined #commonlisp
selwyn has joined #commonlisp
frgo has joined #commonlisp
<lisp123> I have had a revelation
<jcowan> lisp123: Tell us, O enlightened one.
<lisp123> I was going alot of web dev with a lisp backend and started getting RSI from having to keep refreshing my browser screen
<lisp123> Then I realised, I should just create my UIs in Emacs, so I can do everything via a keyboard
<shka> nah
<shka> learn some mcclim
<lisp123> Then I realised, Emacs is a lightweight environment in itself
<lisp123> Thus, Emacs + CL = Lisp Machine in 2021
<shka> emacs is very limiting
<lisp123> For GUI related items yes, but for anything text based I think it has it all?
frgo_ has quit [Ping timeout: 256 seconds]
<shka> hmmm, for text it is better but still not ideal
<lisp123> i tried mcclim but it didn't load on me (MacOS/SBCL)
<shka> honestly, the best possible IDE for CL would be written in CL itself
<lisp123> a CL-based Emacs would be great
<lisp123> BUT
<lisp123> Emacs has (require 'cl-lib) --> You can do most of your Emacs programming in elisp and the rest via a slime:eval
<lisp123> programming in common lisp* (via cl-lib)
<shka> yes, emacs is the best we have (in the open source world at least)
<jcowan> shka: I hear a lot of statements like that ("we need to rewrite Pandoc in Scheme!") but I never really understand why.
<elf_fortrez> so we should run lynx on emacs?
<shka> jcowan: pandoc in scheme? nah, there i https://docs.racket-lang.org/pollen/
<elf_fortrez> or i*
<lisp123> elf_fortrez: erc
<shka> it is not pandoc, but honestly what it does does really well
<lisp123> sorry i meant eww
<elf_fortrez> too imperative?
<jcowan> Sure. The idea here was to be able to upload arbitrary formats and then download them in a uniform format from a Scheme web server.
akoana has joined #commonlisp
<shka> hmmm, not interested, sorry
amb007 has quit [Read error: Connection reset by peer]
<elf_fortrez> has anyone here dabbled with gpt3?
amb007 has joined #commonlisp
pjb has quit [Ping timeout: 256 seconds]
<lisp123> elf_fortrez: its on my list, have you?
<elf_fortrez> no, i saw it, and i am interested
<elf_fortrez> i should finish the article
<elf_fortrez> 2 articles
<lisp123> which ones?
<elf_fortrez> written by a woman
<elf_fortrez> math
<elf_fortrez> i will send you the link
frgo has quit [Remote host closed the connection]
frgo has joined #commonlisp
<elf_fortrez> I don't know if the researcher wants the heat
<elf_fortrez> i think i should go read books
<elf_fortrez> i will make more sense afterwards
elf_fortrez has quit [Quit: Client closed]
<lad> lisp123, Have you used something like a watcher script that refreshes the browser page for you automatically?
<lad> lisp123, maybe something like this from emacs: https://www.emacswiki.org/emacs/SaveAndReloadBrowser
<lisp123> lad: no, I haven't. Perhaps I should look into that. The bigger issue was I needed to keep resetting the cache, which was another keystroke + having to use the mouse to navigate the UI on the webpage
robin has quit [Ping timeout: 240 seconds]
karlosz has joined #commonlisp
selwyn has quit [Read error: Connection reset by peer]
<Josh_2> Did you succeed in turning your emacs into your website test bench?
<lisp123> Josh_2: not sure if you were referring to me, but I'm developing Emacs apps now, not using Emacs as a webviewer (these apps are for myself - if I need to publish for others, then probably have to jump back into fron-end dev)
<Josh_2> Oops yes I forgot to tag
lad has quit [Remote host closed the connection]
lad has joined #commonlisp
etiago has quit [Ping timeout: 250 seconds]
IAmRasputin has joined #commonlisp
attila_lendvai_ has joined #commonlisp
attila_lendvai has quit [Ping timeout: 268 seconds]
selwyn has joined #commonlisp
shka has quit [Ping timeout: 252 seconds]
mister_m has joined #commonlisp
varjag has joined #commonlisp
mister_m has quit [Remote host closed the connection]
mister_m has joined #commonlisp
tfb has joined #commonlisp
etiago has joined #commonlisp
tfb has quit [Quit: died]
notzmv has quit [Ping timeout: 256 seconds]
dsk has quit [Ping timeout: 256 seconds]
Inline has quit [Quit: Leaving]
Inline has joined #commonlisp
Alfr has joined #commonlisp
<Posterdati> hi
<Posterdati> is there anyone using antik?
IAmRasputin has quit [Ping timeout: 258 seconds]
selwyn has quit [Read error: Connection reset by peer]
kakuhen has joined #commonlisp
IAmRasputin has joined #commonlisp
IAmRasputin has quit [Ping timeout: 256 seconds]
cage has quit [Quit: rcirc on GNU Emacs 27.1]
tyson2 has joined #commonlisp
cuz has quit [Ping timeout: 265 seconds]
lotuseater has quit [Quit: ERC (IRC client for Emacs 27.2)]
IAmRasputin has joined #commonlisp
dlowe has quit [Ping timeout: 256 seconds]
IAmRasputin has quit [Ping timeout: 252 seconds]
selwyn has joined #commonlisp
lisp123 has quit [Remote host closed the connection]
lisp123 has joined #commonlisp
lisp123 has quit [Ping timeout: 258 seconds]
pve has quit [Quit: leaving]
notzmv has joined #commonlisp
AnimalClatter has quit [Quit: WeeChat 3.0.1]
lisp123 has joined #commonlisp
attila_lendvai_ has quit [Remote host closed the connection]
attila_lendvai_ has joined #commonlisp
cuz has joined #commonlisp
varjag has quit [Quit: ERC (IRC client for Emacs 28.0.50)]
lisp123 has quit [Ping timeout: 272 seconds]
frgo has quit [Remote host closed the connection]
frgo has joined #commonlisp
selwyn has quit [Read error: Connection reset by peer]
IAmRasputin has joined #commonlisp
Lycurgus has joined #commonlisp
IAmRasputin has quit [Ping timeout: 252 seconds]
Lycurgus has quit [Quit: Exeunt]
yitzi has quit [Quit: Leaving]
mister_m has quit [Ping timeout: 256 seconds]
pjb has joined #commonlisp
karlosz has quit [Quit: karlosz]
akoana has quit [Quit: leaving]
CrashTestDummy3 has joined #commonlisp
CrashTestDummy2 has quit [Ping timeout: 256 seconds]
tyson2 has quit [Remote host closed the connection]
mister_m has joined #commonlisp
Alfr is now known as Guest2130
Guest2130 has quit [Killed (cadmium.libera.chat (Nickname regained by services))]
Alfr has joined #commonlisp
random-nick has quit [Ping timeout: 268 seconds]
cuz has quit [Ping timeout: 256 seconds]
CrashTestDummy2 has joined #commonlisp
igemnace has joined #commonlisp
froggey has quit [Ping timeout: 272 seconds]
froggey has joined #commonlisp
CrashTestDummy3 has quit [Ping timeout: 265 seconds]