beneroth changed the topic of #picolisp to: PicoLisp language | The scalpel of software development | Channel Log: https://libera.irclog.whitequark.org/picolisp | Check www.picolisp.com for more information
peterhil has joined #picolisp
emacsomancer has quit [Ping timeout: 258 seconds]
emacsomancer has joined #picolisp
rob_w has joined #picolisp
aw- has quit [Quit: Leaving.]
aw- has joined #picolisp
<beneroth> Regenaxer, a practical question about (clip): aren't you using it for nearly all user input? always doing (pack (clip (chop Input))) ?
<Regenaxer> In the GUI probably yes
<beneroth> I tend to use it for every free form text input, to gracefully handle copy & paste artefacts
<Regenaxer> Looking at @lib/form.l it seems it is not used everywhere. Sometimes just 'trim'
<Regenaxer> Charts are clipped
<Regenaxer> no
<Regenaxer> Charts are trimmed
<Regenaxer> ie only at the end
<beneroth> I see no real general use case for trim in this context
<beneroth> when there can be unnecessary whitespaces at the end, they can be at the beginning too
<Regenaxer> depends
<beneroth> especially nasty when its not mere spaces but special whitespaces copied from a spreadsheet or other database (e.g. ^K)
<beneroth> sure, for list cases
<beneroth> most times I handle strings as symbols, not lists.
<Regenaxer> Lets talk later, I'm in a hurry
<beneroth> though overloading (clip) for that might be not worth it, as such strings tend to be short.
<beneroth> ok
<beneroth> np
<beneroth> low/no priority ;-)
<Regenaxer> :)
<tankf33der> this is my db sandbox
<tankf33der> already created several external symbols
<tankf33der> question: how to get all symbols from {2} to {6} from this db?
<Regenaxer> Hi tankf33der!
<Regenaxer> If you have only external symbols but ne indexes, the only way is 'seq'
<tankf33der> ok
<Regenaxer> or 'forall' which is a frontend to 'seq'
<tankf33der> can i call them anonymous external symbols ?
<Regenaxer> I would not call them anonymous
<Regenaxer> cause they have names
<tankf33der> ok
<tankf33der> no forall link in main index
<Regenaxer> It is there
<Regenaxer> Perhaps not uploaded to software-lab
<Regenaxer> I upload all docs now
<Regenaxer> (I always forget ;)
<Regenaxer> done
<beneroth> Regenaxer, 'forall was newly added to pil21, right?
<Regenaxer> yes
<Regenaxer> just a convenience fun
<Regenaxer> I used explicit 'seq' too often
<Regenaxer> Only in debugging and maintenance
<beneroth> :-)
rob_w has quit [Remote host closed the connection]
_whitelogger has joined #picolisp
peterhil has quit [Ping timeout: 252 seconds]
peterhil has joined #picolisp
peterhil has quit [Ping timeout: 252 seconds]
peterhil has joined #picolisp
peterhil has quit [Ping timeout: 256 seconds]
<Regenaxer> beneroth, about user input, I think I decided once it is the best to 'trim' strings
<Regenaxer> Number convesion skips white space anyway
<Regenaxer> But now in fact I don't find the place where that trimming takes place in the GUI ;)
<Regenaxer> I think the rationale was that you *see* leading spaces in the GUI and thus can control them, while trailing spaces are invisible
<Regenaxer> Imports are another thing, I think I always clip there
<beneroth> I have some fear about copy-pasting-users, which burned me in the past ^^'
<Regenaxer> Copy-pasting into browser text fields is only one at a time, so double-click etc, I think rather safe from copying surrounding spaces
<beneroth> good point
peterhil has joined #picolisp
NobleNibble has quit [Ping timeout: 258 seconds]
NobleNibble has joined #picolisp