<
viaken>
Well, I'm shocked! Who knew a browser with infrequent patching would be insecure? /s
rob_w has joined #picolisp
mtsd has joined #picolisp
beneroth has quit [Quit: Verlassend]
beneroth has joined #picolisp
rick42 has quit [Ping timeout: 248 seconds]
rick42 has joined #picolisp
beneroth has quit [Ping timeout: 248 seconds]
beneroth has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
todoniko has joined #picolisp
<
todoniko>
[A[A[A[B[
<
tankf33der>
todoniko: ok
<
Regenaxer>
ESC-sequence?
<
beneroth>
hi todoniko, tankf33der
<
beneroth>
unexpected EOF, parenthesis not closed
<
beneroth>
hi Regenaxer :)
<
todoniko>
oh well :)
<
beneroth>
welcome :)
todoniko has quit [Remote host closed the connection]
orivej has joined #picolisp
orivej has quit [Ping timeout: 240 seconds]
<
tankf33der>
look at this beautiful (for):
<
Regenaxer>
Looks complicated ;)
rob_w has quit [Remote host closed the connection]
<
tankf33der>
i wanted modify range of items inside list with for and without create additional lists
<
Regenaxer>
'map' would not do?
<
tankf33der>
let me try
<
Regenaxer>
It depends on the argument
<
Regenaxer>
Is it the list, and a start- and end-index?
mtsd has quit [Quit: Leaving]
<
Regenaxer>
Or is it from 4 from the beginning till 4 till the end?
<
Regenaxer>
How about:
<
Regenaxer>
(let Lst (range 10 20)
<
Regenaxer>
(set L (* (car L) 10))
<
Regenaxer>
(not (nth L 5)) )
<
Regenaxer>
(nth Lst 4) )
<
tankf33der>
yea, works too
<
tankf33der>
thanks.
<
Regenaxer>
(let Lst (range 10 20)
<
Regenaxer>
'((L E)
<
Regenaxer>
(set L (* (car L) 10))
<
Regenaxer>
(nth Lst 4)
<
Regenaxer>
(not E) )
<
Regenaxer>
(nth Lst 8) ) )
<
Regenaxer>
Not sure what is best
<
tankf33der>
seek + not as last command is good.
<
Regenaxer>
yes, I feel so too
<
Regenaxer>
The last one is ugly
<
Regenaxer>
but perhaps faster for long lists
<
Regenaxer>
Or 'for'?
<
tankf33der>
but my (for) variant out of reference and created by myself :)
<
Regenaxer>
you could use the built-in conter of 'for'
<
Regenaxer>
yeah! :)
<
tankf33der>
build in counter! indeed for this code
mtsd has joined #picolisp
<
Regenaxer>
(let Lst (range 10 20)
<
Regenaxer>
(for ((I . L) (nth Lst 4) L (cdr L))
<
Regenaxer>
(set L (* (car L) 10))
<
Regenaxer>
(T (= 5 I)) ) )
<
tankf33der>
yeap, known
<
Regenaxer>
So many ways ... :)
<
tankf33der>
like perl :)
<
tankf33der>
but now i can extend (for)
<
tankf33der>
if i want.
<
Regenaxer>
BTW, Biar messenger looks cool! Much better than Bitmessage which has a scalability problem
<
tankf33der>
biar messenger? google cant find it
<
Regenaxer>
really?
<
Regenaxer>
I installed it from Google Play ;)
<
Regenaxer>
Strange, seems not in the English Wikipedia ...
<
Regenaxer>
Not available for iOS though
<
tankf33der>
will wait
<
Regenaxer>
As ever, Apple is nasty:
<
Regenaxer>
Lots of people have asked for an iOS version of Briar, but bringing the P2P
<
Regenaxer>
messenger to the iPhone is challenging, because Apple does not allow long-lived
<
Regenaxer>
network connections in the background which are needed for P2P messaging.
<
Regenaxer>
I'm running a tor bridge here on this server
<
Regenaxer>
Will start a full relay on my rented server
orivej has joined #picolisp
mtsd has quit [Remote host closed the connection]
sriram has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
alexshendi has joined #picolisp
reed has joined #picolisp
reed has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
alexshendi has quit [Ping timeout: 256 seconds]
alexshendi has joined #picolisp
jibanes has quit [Ping timeout: 276 seconds]
jibanes has joined #picolisp
orivej has quit [Ping timeout: 264 seconds]