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