alexshendi has quit [Read error: Connection reset by peer]
alexshe83 has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe15 has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe27 has joined #picolisp
alexshe15 has quit [Ping timeout: 244 seconds]
alexshendi has quit [Ping timeout: 244 seconds]
alexshendi has joined #picolisp
alexshe27 has quit [Ping timeout: 268 seconds]
alexshe26 has joined #picolisp
alexshendi has quit [Ping timeout: 272 seconds]
alexshe26 has quit [Ping timeout: 260 seconds]
alexshe21 has joined #picolisp
alexshe21 has quit [Quit: -a- Connection Timed Out]
alexshendi has joined #picolisp
beneroth has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
rob_w has joined #picolisp
rob_w has quit [Remote host closed the connection]
alexshendi has joined #picolisp
rob_w has joined #picolisp
<tankf33der>
Morning, isprime passed all tests i have.
<abu[m]>
Thanks! Good :)
chexum has quit [Read error: Connection reset by peer]
chexum has joined #picolisp
alexshe67 has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe67 has quit [Ping timeout: 264 seconds]
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe91 has joined #picolisp
alexshendi has quit [Ping timeout: 260 seconds]
alexshe91 has quit [Ping timeout: 255 seconds]
alexshendi has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe67 has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshe67 has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe79 has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshe79 has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
chexum has quit [Remote host closed the connection]
chexum has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe59 has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe59 has quit [Read error: Connection reset by peer]
alexshe85 has joined #picolisp
alexshe10 has joined #picolisp
alexshe85 has quit [Read error: Connection reset by peer]
alexshe89 has joined #picolisp
alexshendi has quit [Ping timeout: 276 seconds]
alexshe10 has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe49 has joined #picolisp
alexshe89 has quit [Ping timeout: 240 seconds]
alexshendi has quit [Ping timeout: 240 seconds]
alexshe49 has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
razzy has joined #picolisp
<razzy>
abu[m]: hello :]. I was saying that execution of (!)in middle of code should not change outcome, but it is changing outcome. that is the weird part. I plan on showing you tomorrow.
<abu[m]>
Did you mean "# (! Func)" at the beginning?
<razzy>
yes.
<abu[m]>
What does it change? It stops at the breakpoint
<razzy>
in my case it does not stop.
<abu[m]>
Ah, an Vip again?
<razzy>
maybe,
<abu[m]>
As we discussed, please use the REPL
<razzy>
maybe old pil21,
<abu[m]>
Vip does not have a real interactive environment
<abu[m]>
It just *emulates* some behavior
<razzy>
hmm, i see.
<abu[m]>
Why don't you believe me? ;)
<razzy>
I believe you a lot! :]
<abu[m]>
The REPL is a rather complicated thing, interacting with the TTY, readline(), background tasks and signals
<abu[m]>
Vip does other things, it does its own key handling and interacts with edit buffers
<abu[m]>
Also, it runs in its own namespace and its own coroutine
<razzy>
I love vip. I feel like i need to use vip more to have benefits.
<abu[m]>
Yes, but there are things which are much better in the REPL
<abu[m]>
I use both
<abu[m]>
Have Vip running in its coroutine interacting with the REPL
<abu[m]>
Vip is for browsing and editing
<abu[m]>
REPL is for execution
<abu[m]>
The "repl" in Vip is the function vip~evCmd
<abu[m]>
If you look at it, you see it is a very simple, minimal emulation of a REPL
<abu[m]>
Cut off from the PicoLisp runtime, errors are simply caught and ignored
<abu[m]>
@@ and @@@ are not supported
<razzy>
I see. I will leave vip development to the future me. :]
<razzy>
afk. later. :]
alexshendi has quit [Ping timeout: 240 seconds]
<abu[m]>
cu :)
razzy has quit [Quit: leaving]
alexshe14 has joined #picolisp
razzy has joined #picolisp
<razzy>
in vip, sequence ygg copy to begining and also puts me to the begining. but yG copy and not move, why?
<razzy>
is it intentional?
<abu[m]>
Not sure. Vim does the same
<abu[m]>
But probably it is simply from how yank is implemented
<abu[m]>
The 'vip~cutX' function
<abu[m]>
It first moves to the place and then yanks or deletes forward
razzy has quit [Ping timeout: 240 seconds]
razzy has joined #picolisp
<razzy>
thank you
razzy has quit [Client Quit]
rob_w has quit [Remote host closed the connection]
razzy has joined #picolisp
alexshe14 has quit [Read error: Connection reset by peer]
<razzy>
hmm can i run child (later) processes with different nice or firejailed?
<razzy>
i mean easily. i think there is very verbose way somewhere.
<abu[m]>
I think it is easy
<abu[m]>
(%@ "nice" 'I 12)
<beneroth>
ah, changing the values from the child process?
<abu[m]>
Hehe, I took this from the PicoLisp REPL Twitter log
<razzy>
before start.
<beneroth>
before start the process does not exists and you have no PID to refer to?
<abu[m]>
(later 'A (%@ "nice) (...)]
<abu[m]>
So the child already started at this moment
<razzy>
i would like to run firejail nice -19 ./pil myscript as child process.
<abu[m]>
I don't know firejail
<beneroth>
razzy, use (exec) instead of later
<abu[m]>
But I think 'nice' will not work this way
<abu[m]>
Isn't it a shell command here?
<beneroth>
what problems do you have that you see practical benefit with nice?
<beneroth>
abu[m], of course it is.
alexshendi has joined #picolisp
<abu[m]>
So it all has quite some overhead, starting a shell first
<abu[m]>
I think better do the "nice" system call as above, then start the actual job
<abu[m]>
ok, firejail is a kind of sandbox. Good
razzy has quit [Ping timeout: 244 seconds]
<abu[m]>
As beneroth says, probably 'later' is not helpful here
<abu[m]>
Simply start a pipe with 'in'
<abu[m]>
(in (list "firejail" "nice" ...) ...
<abu[m]>
then you don't have to explicitly 'wait' for the result
<beneroth>
razzy, what is your picolisp code doing that you don't can trust it and have to put it in jail? working with user or network input? or calling other executables?
<abu[m]>
'later' is good if you start several things in parallel and then wait for all of them
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshe18 has joined #picolisp
alexshe18 has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshe18 has joined #picolisp
f8l has quit [Quit: WeeChat 3.0]
f8l has joined #picolisp
alexshe18 has quit [Read error: Connection reset by peer]
alexshe39 has joined #picolisp
alexshe39 has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe57 has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe57 has quit [Read error: Connection reset by peer]
alexshe72 has joined #picolisp
alexshendi has quit [Ping timeout: 240 seconds]
alexshe72 has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe83 has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshe83 has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe47 has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe47 has quit [Ping timeout: 244 seconds]
alexshe35 has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe35 has quit [Ping timeout: 255 seconds]
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshendi has joined #picolisp
alexshe74 has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
alexshe74 has quit [Quit: -a- IRC for Android 2.1.60]