pranavats has left #commonlisp [Error from remote client]
pranavats has joined #commonlisp
igemnace has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Replaced by new connection]
pranavats has joined #commonlisp
frgo_ has joined #commonlisp
frgo has quit [Ping timeout: 260 seconds]
frgo_ has quit [Ping timeout: 268 seconds]
pranavats has left #commonlisp [Disconnected: Replaced by new connection]
pranavats has joined #commonlisp
perrierjouet has quit [Ping timeout: 265 seconds]
pranavats has left #commonlisp [Disconnected: Replaced by new connection]
pranavats has joined #commonlisp
mingus1 has quit [Ping timeout: 264 seconds]
rgherdt has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
perrierjouet has joined #commonlisp
rgherdt has joined #commonlisp
mingus has left #commonlisp [#commonlisp]
mingus has joined #commonlisp
frgo has joined #commonlisp
MajorBiscuit has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Replaced by new connection]
pranavats has joined #commonlisp
Cymew has joined #commonlisp
_cymew_ has quit [Ping timeout: 244 seconds]
Algernon69 has quit [Quit: Leaving]
pranavats has left #commonlisp [Disconnected: Replaced by new connection]
pranavats has joined #commonlisp
makomo has quit [Quit: WeeChat 3.5]
notzmv has quit [Ping timeout: 264 seconds]
Brucio-61 has quit [Ping timeout: 244 seconds]
scymtym has quit [Ping timeout: 260 seconds]
aartaka has joined #commonlisp
Major_Biscuit has joined #commonlisp
MajorBiscuit has quit [Ping timeout: 248 seconds]
aartaka has quit [Ping timeout: 252 seconds]
anticomputer has quit [Remote host closed the connection]
anticomputer has joined #commonlisp
Brucio-61 has joined #commonlisp
scymtym has joined #commonlisp
makomo_ has quit [Ping timeout: 252 seconds]
pranavats has left #commonlisp [Disconnected: Replaced by new connection]
pranavats has joined #commonlisp
avocadoist has quit [Ping timeout: 265 seconds]
jmdaemon has quit [Ping timeout: 246 seconds]
mingus1 has joined #commonlisp
mingus has quit [Ping timeout: 250 seconds]
mingus1 is now known as mingus
verisimilitude has quit [Ping timeout: 268 seconds]
Dynom_ has joined #commonlisp
Dynom_ is now known as Guest4476
cosimone has joined #commonlisp
titan has joined #commonlisp
_cymew_ has joined #commonlisp
tibfulv has quit [Ping timeout: 265 seconds]
makomo_ has joined #commonlisp
notzmv has joined #commonlisp
notzmv has quit [Ping timeout: 268 seconds]
random-nick has joined #commonlisp
Brucio-61 has quit [Read error: Connection reset by peer]
Brucio-61 has joined #commonlisp
tyson2 has joined #commonlisp
acma has quit [Changing host]
acma has joined #commonlisp
<acma>
b3lm0nt_: not tried OpenBSD but I have tried the same setup on Debian by reading https://susam.net/blog/lisp-in-vim.html which worked fine for me. what happens if you try Slimv instead of Vlime? does SLDB open with Slimv?
<acma>
but I switched to Emacs + SLIME. I like the real SLIME better which is superior (pun intended) to its imitations
cosimone has quit [Ping timeout: 268 seconds]
waleee has joined #commonlisp
mariari has quit [Ping timeout: 248 seconds]
mariari has joined #commonlisp
pve has joined #commonlisp
tibfulv has joined #commonlisp
cosimone has joined #commonlisp
pillton has quit [Quit: ERC 5.4 (IRC client for GNU Emacs 28.2)]
tyson2 has quit [Remote host closed the connection]
titan has quit [Remote host closed the connection]
shka has quit [Remote host closed the connection]
aartaka has joined #commonlisp
shka has joined #commonlisp
notzmv has joined #commonlisp
aartaka has quit [Ping timeout: 265 seconds]
aartaka has joined #commonlisp
tyson2 has joined #commonlisp
makomo_ has quit [Ping timeout: 260 seconds]
thuna` has joined #commonlisp
causal has quit [Quit: WeeChat 3.6]
aartaka has quit [Ping timeout: 265 seconds]
waleee has quit [Quit: WeeChat 3.6]
tyson2 has quit [Remote host closed the connection]
lambdart has quit [Ping timeout: 268 seconds]
lambdart has joined #commonlisp
hrberg has quit [Ping timeout: 246 seconds]
pranavats has left #commonlisp [Error from remote client]
pranavats has joined #commonlisp
<dbotton>
if I use SYMBOL-VALUE the returned value is the actual value or a copy/constant meaning can I so something like - (pushnew #P"~/common-lisp/" (symbol-value (read-from-string "ql:*local-project-directories*"))))
<beach>
Nothing is ever implicitly copied in Common Lisp.
<dbotton>
That is my assumption, but want to make sure not considered a constant
<dbotton>
and a violation of something
<dbotton>
thanks
<Bike>
the symbol-value of a symbol isn't a constant unless that symbol names a constant
<beach>
What do you mean by "a constant"? Code such as (push x (symbol-value y)) is sort of equivalent to (setf (symbol-value y) (cons x (symbol-value y))).
<beach>
... modulo multiple evaluations of course.
<beach>
Even if the symbol-value is a literal list, then this code is fine.
aartaka has joined #commonlisp
<_death>
if you use pushnew with a pathname, it's likely that you want :test to be #'equal
Hrodgar has joined #commonlisp
karlosz has joined #commonlisp
<dbotton>
beach, yes that is what I wanted to make sure was the case.
<dbotton>
thanks _death
aartaka has quit [Read error: Connection reset by peer]
aartaka has joined #commonlisp
eddof13 has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eddof13 has joined #commonlisp
chipxxx has joined #commonlisp
chipxxx has quit [Remote host closed the connection]
chipxxx has joined #commonlisp
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
eddof13 has joined #commonlisp
jmdaemon has joined #commonlisp
<pjb>
dbotton: more precisely (symbol-value 'symbol) and (locally (declare (special symbol)) symbol) designate the same place.
<dbotton>
thanks pjb
verisimilitude has joined #commonlisp
Devon has joined #commonlisp
Everything has joined #commonlisp
makomo_ has joined #commonlisp
waleee has joined #commonlisp
aartaka has quit [Ping timeout: 252 seconds]
aartaka has joined #commonlisp
igemnace has quit [Quit: WeeChat 3.6]
igemnace has joined #commonlisp
cage has joined #commonlisp
frgo has quit [Remote host closed the connection]
attila_lendvai has joined #commonlisp
aartaka has quit [Ping timeout: 244 seconds]
aartaka has joined #commonlisp
xlarsx has joined #commonlisp
<jcowan>
Is it now considered bad style to write (let ((a 32) b (c 34)) ...)? It's invalid in Scheme.
<Bike>
i try to write (b nil) instead. i'd only write b by itself if's never read before being written by something, but if i had code like that i'd try to rewrite it anyway.
<Bike>
dunno if it's consensually bad style though
cosimone has quit [Ping timeout: 244 seconds]
frgo has joined #commonlisp
<verisimilitude>
No, jcowan.
<verisimilitude>
This, however, is preferable: (LET (B (A 32) (C 34)) ...)
<verisimilitude>
Notice placing such things at the beginning makes them easier to notice.
<jcowan>
If you say so. I'm with Bike; I'd write (b nil) or (b '()) dependent on my intention.
<White_Flame>
yeah, I don't like bar var with implicit initializatino
<White_Flame>
yeah, I don't like bare var with implicit initialization
<jcowan>
Yes, it's unCupertinoive.
Devon has quit [Remote host closed the connection]
Cymew has quit [Ping timeout: 246 seconds]
aartaka has quit [Ping timeout: 268 seconds]
aartaka has joined #commonlisp
Major_Biscuit has quit [Ping timeout: 252 seconds]
Lycurgus has joined #commonlisp
frgo has quit [Remote host closed the connection]
frgo has joined #commonlisp
waleee has quit [Ping timeout: 244 seconds]
townsfolkPravda has joined #commonlisp
Brucio-61 has quit [Ping timeout: 244 seconds]
scymtym has quit [Ping timeout: 260 seconds]
frgo has quit [Remote host closed the connection]
frgo has joined #commonlisp
gjvc has quit [Quit: Reconnecting]
gjvc has joined #commonlisp
frgo has quit [Remote host closed the connection]
frgo has joined #commonlisp
<kaskal>
hi, stupid question, I run code in an HPC cluster and they do not support iteractive nodes, I would like to kind of submit an sbcl instance with slynk loaded or swank and then communicate with it. However most ports are of course closed. Is there a way to communicate via filesystem files with swank so that I can circumvent this?
frgo has quit [Remote host closed the connection]
<Demosthenex>
kaskal: can it call you back?
<Demosthenex>
kaskal: ssh to a remote host with a key, and open a reverse tunnel
<Demosthenex>
s/remote host/your debugging host/
<kaskal>
I tried, they don't allow it, they only allow ssh communication with a selected number of nodes,
<Demosthenex>
but you can r/w a shared filesystem? what, nfs?
<Demosthenex>
maybe a socket then, instead of a file?
<Demosthenex>
kaskal: don't ssh TO the node. have the node's program ssh to you
<kaskal>
maybe a socket yes, that could work, I tried a fifo and it failed drastically
<kaskal>
I could try the node ssh my server, and then through this tunnel, but I'm pretty sure they disallow ssh connections outside of an IP range
tyson2 has joined #commonlisp
waleee has joined #commonlisp
Brucio-61 has joined #commonlisp
igemnace has quit [Remote host closed the connection]
Lycurgus has quit [Quit: Exeunt juan@acm.org]
tyson2 has quit [Ping timeout: 252 seconds]
Lord_of_Life_ has joined #commonlisp
Lord_of_Life has quit [Ping timeout: 265 seconds]
Lord_of_Life_ is now known as Lord_of_Life
tyson2` has joined #commonlisp
tyson2` has quit [Remote host closed the connection]
<verisimilitude>
One must recognize it, in any case, because it's allowed, jcowan. I like to use every part of the language for such things. I recall people here criticizing usage of &AUX.
hrberg has joined #commonlisp
frgo has joined #commonlisp
<aeth>
I can't wait for an implementation of Common Lisp that puts each feature in its own file.
<aeth>
Attempting to have a aux.lisp in Windows would be fun.
<aeth>
s/have a/have an/
<verisimilitude>
If I ever get around to it, I'll be putting everything in one file.
<jcowan>
verisimilitude: How's your usage of PROG?
<verisimilitude>
I occasionally use it.
<verisimilitude>
Usually, it's good for when I know what I want, but before I know how I can express it otherwise.
<verisimilitude>
I also enjoy the simple form of LOOP.
tibfulv has quit [Remote host closed the connection]
<jcowan>
Knuth's 1 1/2 times loop is sinteresting: "loop: ... while expr: ... repeat"
tibfulv has joined #commonlisp
<verisimilitude>
In which book is that?
<Bike>
donald "GOTO is fine sometimes actually" knuth
<jcowan>
The paper is called "Structured Programming with GO TO Statements"
<verisimilitude>
Alright.
<boigahs>
When you want to go somewhere...
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<Bike>
my admittedly vague recollection is that a lot of the GOTO uses he identified were for error handling, and we have handler-whatever for that
<Bike>
but those are generally implemented with cl:go under the hood, so who's laughing in the end
<aeth>
goto: the ultimate lambda
jeffrey has joined #commonlisp
<jcowan>
GOTO = LAMBDA - RENAME
<jcowan>
and indeed TAGBODY + proper tail calling = LETREC.
aartaka has quit [Ping timeout: 265 seconds]
Brucio-61 has quit [Ping timeout: 265 seconds]
attila_lendvai has quit [Ping timeout: 248 seconds]
pranavats has left #commonlisp [Error from remote client]
pranavats has joined #commonlisp
Brucio-61 has joined #commonlisp
rendar has quit [Quit: Leaving]
cage has quit [Quit: rcirc on GNU Emacs 27.1]
eddof13 has joined #commonlisp
rendar has joined #commonlisp
rendar has quit [Changing host]
rendar has joined #commonlisp
pranavats has left #commonlisp [Disconnected: Replaced by new connection]
pranavats has joined #commonlisp
frgo has quit [Remote host closed the connection]
_cymew_ has quit [Ping timeout: 265 seconds]
tibfulv has quit [Remote host closed the connection]
tibfulv has joined #commonlisp
chipxxx has quit [Read error: Connection reset by peer]
tibfulv has quit [Remote host closed the connection]
tibfulv has joined #commonlisp
Guest4476 has quit [Quit: WeeChat 3.6]
<jmes>
I find myself wanting to paste an CLOS object as it's printed (e.g. #<RL-MESH {1005BBE653}>) to the REPL so I can inspect it. Or maybe I want to use its value that I know is still hanging around in another REPL usage, but I don't have reference to it other than by how it's printed.
<jmes>
Is this possible in some way?
<jmes>
Seems like it should be if the address is given fully in the curly braces
<Bike>
you can get the last few values from the repl with *, **, ***
<Bike>
like (print *) etc
<semz>
I think if you kill an object in Slime and yank it later, it's still clickable and everything
scymtym has joined #commonlisp
<jmes>
Bike: Yeah but I'd have to have returned that value beforehand. What I'm looking for is to be able to hop into some complicated code, throw a print in the middle somewhere, then after running the code via REPL I want to have the same clickable-type access to the printed thing.
<Bike>
have you considered just putting in, like, (setf cl-user::*temp* the-object) instead of (print the-object)
<Bike>
that's my usual modus operandi
<Bike>
or just breaking there, if that's doable
<jmes>
Ah, yes, that's just the type of thing I was looking for, thanks :) I forgot setf returns the set value
<jmes>
There's probably a billion ways to do it, I was just looking for something like this that's easy to do in a pinch
xlarsx has quit [Remote host closed the connection]
xlarsx has joined #commonlisp
<scymtym>
if there is one particular object (as opposed, say, you print a thousand objects then pick the one of interest), you can you can use (clouseau:inspect FORM :new-process t) to open an inspector window with the object without stopping the program
xlarsx has quit [Ping timeout: 252 seconds]
frgo has joined #commonlisp
frgo has quit [Ping timeout: 244 seconds]
<pjb>
jmes: slime has presentations. So instead of copy-pasting the text of #<foo> you can right-click on it, and you will get a pop-up menu in which there's an inspect option.
chipxxx has joined #commonlisp
pranavats has left #commonlisp [Error from remote client]
pranavats has joined #commonlisp
<verisimilitude>
Learn how to properly use the debugging tools, jmes.
<verisimilitude>
It's inappropriate to ``print debug''.
<phoe>
jmes: I tend to use (break "~S" thing) in the code, which lands me in the slime debugger; from there, I can move the condition object to the REPL, and from there I can (FIRST (SIMPLE-CONDITION-FORMAT-ARGUMENTS *)) to get the object I want to operate on
pve has quit [Quit: leaving]
<phoe>
or, without leaving the debugger, I can copypaste the presentation into the REPL (it still works while the debugger is open!)
tibfulv has quit [Remote host closed the connection]
igemnace has joined #commonlisp
rgherdt has quit [Remote host closed the connection]
tibfulv has joined #commonlisp
tibfulv has quit [Remote host closed the connection]
tibfulv has joined #commonlisp
Hrodgar has quit [Quit: Leaving]
Krystof has joined #commonlisp
ec_ is now known as ec
townsfolkPravda has quit [Quit: townsfolkPravda]
igemnace has quit [Remote host closed the connection]
shka has quit [Ping timeout: 248 seconds]
eddof13 has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
xlarsx has joined #commonlisp
waleee has quit [Ping timeout: 244 seconds]
waleee has joined #commonlisp
xlarsx has quit [Ping timeout: 268 seconds]
tibfulv has quit [Ping timeout: 268 seconds]
Everything has quit [Quit: leaving]
jeffrey has quit [Quit: Client quit]
avocadoist has joined #commonlisp
xlarsx has joined #commonlisp
thuna` has quit [Remote host closed the connection]
pranavats has left #commonlisp [Disconnected: Replaced by new connection]
pranavats has joined #commonlisp
xlarsx has quit [Ping timeout: 265 seconds]
chipxxx has quit [Quit: Leaving]
chipxxx has joined #commonlisp
xlarsx has joined #commonlisp
xlarsx has quit [Ping timeout: 265 seconds]
cercopith_ has quit [Remote host closed the connection]
cercopith_ has joined #commonlisp
cercopith__ has joined #commonlisp
cercopith_ has quit [Ping timeout: 265 seconds]
pranavats has left #commonlisp [Error from remote client]