ChanServ changed the topic of #picolisp to: PicoLisp language | Channel Log: https://irclog.whitequark.org/picolisp/ | Check also http://www.picolisp.com for more information
f8l has quit [Ping timeout: 268 seconds]
stultulo is now known as f8l
v88m has joined #picolisp
v88m has quit [Ping timeout: 265 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 268 seconds]
v88m has joined #picolisp
v88m has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
v88m has joined #picolisp
brandelune has joined #picolisp
rob_w has joined #picolisp
geo80 has joined #picolisp
brandelune has quit [Read error: Connection reset by peer]
<geo80> morning! been a while since last time... btw tankf33der about your splitme for rosettacode? it was considered as incorrect? so I tried just for fun and here is my code:
<Regenaxer> Hi geo80!
<geo80> Hi Regenaxer!
<geo80> sorry was out for a while, been busy catching up
<Regenaxer> np :)
<geo80> people here are also alarmed with the coronavirus
<tankf33der> ok
<tankf33der> geo80: my solution is ok, i can simply return strings.
<geo80> tankf33der ah yeah hehe indeed
<geo80> mine is
<tankf33der> want to fix ?
<geo80> pil paste.l +
<geo80> : (splitme "gHHH5YY++///\\")
<geo80> -> "g, HHH, 5, YY, ++, ///, \\"
<geo80> my approach is a bit different from yours
<geo80> i want to consult to you and Regenaxer if my approach is PicoLisp compliant
<Regenaxer> The formatting is so hard to read, all in one line
<geo80> oh! sorry about that, ok let me update
brandelune has joined #picolisp
<Regenaxer> must go, afp
<geo80> how about this?
brandelune has quit [Client Quit]
<tankf33der> its ok, but i dont like it
<tankf33der> try (pp) it
<tankf33der> it will format code for better reading
<tankf33der> btw, do you understands my version? :)
Nistur has quit [Ping timeout: 260 seconds]
<geo80> thanks for the pp hint and here it is
<geo80> tankf33der sorry but did not understand very well to be honest hehe
<geo80> but I will try understand it more because I believe your version is the lisp way, correct?
beneroth has joined #picolisp
Nistur has joined #picolisp
<tankf33der> geo80: thats why you decided create version you understands.
<tankf33der> im very recomended spent a time on mine.
<beneroth> hi tankf33der, geo80
<geo80> tankf33der yes hehe, ok i will read your code and try to understand it more, i did have some temporary understanding but i will try to understand better to be a good picolisper
<geo80> hi beneroth!
Nistur has quit [Remote host closed the connection]
mtsd has joined #picolisp
<Regenaxer> ret
<Regenaxer> geo80, yes now it looks good
<Regenaxer> (formatting, I have not studied the code yet ;)
<Regenaxer> Hi beneroth!
<mtsd> Hello everyone!
<Regenaxer> Hi mtsd!
<mtsd> Hi Regenaxer!
<Regenaxer> Hmm, I do not understand why you need 3 variables
<Regenaxer> Wouldn't a single one (e.g. 'Last') suffice?
<Regenaxer> Also, start with NIL instead of 255. 255 is a possibly legal char
Nistur has joined #picolisp
<geo80> Regenaxer ah the reason for 255 is I need to bitwise AND it with the first character
<geo80> and it will result with the same ascii value for the first character
<geo80> so i can maintain the same logic of comparing?
<Regenaxer> hmm, I do not really understand why you need and. But I also don't remember the task well
<beneroth> hello mtsd :)
<beneroth> Hi Regenaxer
<mtsd> Hello beneroth!
<Regenaxer> Doesn't it just need to detect if the char changes?
<geo80> ah yes, it detects when the char changes
<geo80> and i was just using the AND of the ascii value to check the changes
<geo80> Hi mtsd!
<Regenaxer> I have not tested, but won't this work? http://ix.io/28tp
<Regenaxer> hmm, needs check for first
<geo80> pil paste.l +
<geo80> : (splitme "gHHH5YY++///\\")
<geo80> -> "gHHH5YY++///\\"
<geo80> :
<Regenaxer> (if (or (not Last) (= C Last))
<geo80> still the same
<Regenaxer> I don't know what the correct result is. Anyway ...
<geo80> should be
<geo80> : (splitme "gHHH5YY++///\\")
<geo80> -> "g, HHH, 5, YY, ++, ///, \\"
<Regenaxer> http://ix.io/28tr
<Regenaxer> tankf33der, can you post your one again?
<tankf33der> http://ix.io/28dI
<tankf33der> this one ?
<geo80> pil paste.l +
<geo80> : (splitme "gHHH5YY++///\\")
<geo80> ", H"
<geo80> ", 5"
<geo80> ", Y"
<geo80> ", +"
<geo80> ", /"
<geo80> ", \\"
<geo80> -> "g, HHH, 5, YY, ++, ///, \\"
<geo80> cool!
<Regenaxer> geo80, remove the 'msg' test
<geo80> pil paste.l +
<geo80> : (splitme "gHHH5YY++///\\")
<geo80> -> "gHHY+//"
<geo80> ah sry
<geo80> i also removed the pack
<Regenaxer> :)
<geo80> pil paste.l +
<geo80> : (splitme "gHHH5YY++///\\")
<geo80> -> "g, HHH, 5, YY, ++, ///, \\"
<Regenaxer> I don't like helper vars like 'Last'. There must be a better way
<geo80> super!
<geo80> how about Prev?
<Regenaxer> Yes, 'prior'
<geo80> ok got to go, thanks Regenaxer! will understand yours and tankf33der versions
<geo80> ah yeah that's better too
<Regenaxer> not 'prior', but cadr
<geo80> ok2 bis bald!
geo80 has left #picolisp [#picolisp]
_whitelogger has joined #picolisp
_whitelogger has joined #picolisp
orivej has quit [Ping timeout: 265 seconds]
v88m has quit [Ping timeout: 260 seconds]
beneroth has quit [Quit: Leaving]
Retropikzel has quit [Quit: Vision[0.10.3]: i've been blurred!]
<tankf33der> progress will be here.
brandelune has joined #picolisp
<tankf33der> splitme fixed on rosetta
<Regenaxer> ߑ͍
v88m has joined #picolisp
mtsd has quit [Quit: Leaving]
rob_w has quit [Quit: Leaving]
emacsomancer has quit [Quit: WeeChat 2.6]
emacsomancer has joined #picolisp
emacsomancer has quit [Quit: WeeChat 2.6]
emacsomancer has joined #picolisp
orivej has joined #picolisp
Retropikzel has joined #picolisp
brandelune has quit [Quit: This computer has gone to sleep]
orivej has quit [Ping timeout: 265 seconds]
Retropikzel has quit [Quit: Vision[0.10.3]: i've been blurred!]
Retropikzel has joined #picolisp
_whitelogger has joined #picolisp
cess11 has quit [Quit: leaving]
DerGuteMoritz has quit [Ping timeout: 258 seconds]
DerGuteMoritz has joined #picolisp
mike24 has joined #picolisp
mike24 has quit [Ping timeout: 260 seconds]
freemint has joined #picolisp
freemint has quit [Ping timeout: 260 seconds]
freemint has joined #picolisp
freemint has quit [Remote host closed the connection]
freemint has joined #picolisp
orivej has joined #picolisp
freemint has quit [Ping timeout: 245 seconds]
libertas_ has quit [Quit: ZNC - https://znc.in]
libertas has quit [Quit: ZNC - https://znc.in]
libertas has joined #picolisp
libertas_ has joined #picolisp
retropikzel has quit [Ping timeout: 268 seconds]
karswell has joined #picolisp