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
xkapastel has quit [Quit: Connection closed for inactivity]
orivej has quit [Ping timeout: 250 seconds]
<rick42> aw-1 aw- <-- so confusing. lol
aw-1 is now known as aw-mac
<aw-mac> better?
<aw-mac> :P
<rick42> hehe
aw- has quit [Ping timeout: 246 seconds]
razzy has joined #picolisp
<razzy> hi, can i easily check if some variables are in use and i should not use them? even if they are currently in NIL value?
<Regenaxer> Depends what "in use" means. It is all dynamic.
<Regenaxer> If you want to know which part of the system uses a given symbol:
<Regenaxer> : (who 'Key)
<Regenaxer> -> (_del _put _store store fetch aux db rc task (keep> . +Ref) (lose> . +Ref) (rel?> . +Ref) (rel> . +Ref) create accu fkey pico)
<Regenaxer> then perhaps
<Regenaxer> : (more @ pp)
<Regenaxer> ...
<Regenaxer> But why "should not use them"?
<razzy> does (who) register all loaded code?
<razzy> hope so :]
<Regenaxer> It starts from the current namespace
<Regenaxer> (all)
<razzy> it than go for other namespaces?
<Regenaxer> : (pp 'who)
<Regenaxer> (de who ("X" . "*Prg")
<Regenaxer> (let (*Dbg NIL "Who" '("Who" @ @@ @@@))
<Regenaxer> (make (mapc "who" (all))) ) )
<Regenaxer> No
<razzy> ok
<razzy> thx
<Regenaxer> :)
<Regenaxer> As you say it goes throug all loaded code
<Regenaxer> But a typically application never loads all code
<Regenaxer> So it is better to traverse the sources
<Regenaxer> recursive greps etc.
<razzy> But why "should not use them"? i prefer if every symbol has unique name.
<Regenaxer> ok, yes, for globals
<razzy> i cannot imagine why would my app did not load all the code. but no problem
<razzy> or all important code
<Regenaxer> My applications load only 10 % I would estimate
<Regenaxer> When an object is clicked, the relevant GUI form is loaded
<Regenaxer> Normally main.l loads er.l lib.l and gui.l
<Regenaxer> This is always my initial framework
<Regenaxer> gui.l has some search dialogs
<Regenaxer> and lib.l is empty ;)
<razzy> i do not use gui
<razzy> yet
<razzy> :]
<Regenaxer> OK, even so it might be better not to load things which are not necessary at that moment
<Regenaxer> 'load' is so fast
<razzy> true
<Regenaxer> and you can pass arguments, if you use 'script'
<razzy> that magic is unneccesary to me now
<Regenaxer> ok
<Regenaxer> No magic though
<Regenaxer> instead of calling a function you can always consider "call"ing a file ;)
<Regenaxer> In total this gives even faster startup, less memory usage and gc overhead
<Regenaxer> Anyway, no worry
<Regenaxer> not important
<Regenaxer> (only in this case, when using 'who' or similar)
freemint has joined #picolisp
xkapastel has joined #picolisp
orivej has joined #picolisp
orivej has quit [Ping timeout: 255 seconds]
xkapastel has quit [Quit: Connection closed for inactivity]
clacke_movim has joined #picolisp
alexshendi has joined #picolisp
alexshendi has quit [Read error: Connection reset by peer]
aw-mac has quit [Quit: Leaving.]
<rick42> all aw* are gone :,(
<rick42> hello everyone. i hope yup all are well
<rick42> you*
<freemint> Thanks
freemint has quit [Remote host closed the connection]
freemint has joined #picolisp
<Regenaxer> beneroth, wow, great how you patiently responded to "Jo"! :)
<Regenaxer> I like it, really good
<rick42> Hi freemint, hi Regenaxer!
<freemint> Hi rick42
illo has joined #picolisp
illo has quit [Ping timeout: 246 seconds]
xkapastel has joined #picolisp
illo has joined #picolisp
illo has quit [Client Quit]
<Regenaxer> Hi rick42, freemint
_whitelogger has joined #picolisp
orivej has joined #picolisp
freemint has quit [Ping timeout: 264 seconds]
orivej has quit [Ping timeout: 245 seconds]
freemint has joined #picolisp
mtsd has joined #picolisp
freemint has quit [Remote host closed the connection]
freemint has joined #picolisp
freemint has quit [Ping timeout: 252 seconds]
groovy2shoes has quit [Quit: moritura te salutat]
mtsd has quit [Quit: leaving]
xkapastel has quit [Quit: Connection closed for inactivity]