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
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 256 seconds]
aw- has quit [Quit: Leaving.]
aw- has joined #picolisp
aw- has quit [Client Quit]
aw- has joined #picolisp
aw- has quit [Client Quit]
aw- has joined #picolisp
aw- has quit [Quit: Leaving.]
aw- has joined #picolisp
KingOfCSU has joined #picolisp
KingOfCSU has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
orivej has quit [Read error: Connection reset by peer]
orivej_ has joined #picolisp
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
<Regenaxer> beneroth here?
<Regenaxer> Bahnhofsmission-People are conferencing again today, but now it seems there cannot attend more than 5 people. Is this a known issue?
<beneroth> unknown to me
<beneroth> what are the symptoms?
<Regenaxer> Ah
<Regenaxer> now it is good
<beneroth> I did nothing :D
<Regenaxer> Seems only 5 boxes are displayed
<Regenaxer> despite all are in
<Regenaxer> Have you tried more than 5?
<beneroth> what if you click on the "tiling" icon bottom right?
<Regenaxer> (I never did)
<beneroth> I think I never did
<Regenaxer> ok
<Regenaxer> No problem
<Regenaxer> I think they are fine :)
<beneroth> you can change the view of the boxes by clicking on the tiling icon bottom right
<beneroth> ok good
<beneroth> :-)
<beneroth> when is their meeting over?
<Regenaxer> No idea, not so long I think
<Regenaxer> You want to change something?
<beneroth> some update is still pending. but the last time I just ran apt-get upgrade I had to fix some configurations
orivej has quit [Ping timeout: 260 seconds]
orivej has joined #picolisp
<Regenaxer> As far as I see it works very good at the moment
<beneroth> good
<Regenaxer> :)
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 260 seconds]
orivej_ has quit [Ping timeout: 265 seconds]
orivej has joined #picolisp
<Regenaxer> Conference finished! Worked very well Masako says
<beneroth> good to hear
<Regenaxer> yeah
<beneroth> warm greetings o/
<beneroth> I'll try to update it now
<Regenaxer> great
<beneroth> update done, all seems to be fine
<Regenaxer> ☺
<beneroth> Regenaxer, stupid question about +Hook... is the Hook-index-tree stored in the index, or in the object?
<Regenaxer> The tree is stored in the object
<Regenaxer> *DB is also a kind of +Hook, i.e. the global one
<Regenaxer> The root of the tree is stored in the object, to be exact ;)
<beneroth> with object I mean a +Entity object, a database record
<beneroth> so it's stored in a property?
<Regenaxer> Yes
<Regenaxer> The property is the class iirc
<beneroth> right, right, I remember
<beneroth> so the classname is kinda a "reserved" property name
<Regenaxer> right
<Regenaxer> Just like in *DB too
<beneroth> T, though there it overlaps with the global list of all +Entity names, kinda
<beneroth> I see your point
<beneroth> thank you Regenaxer :)
<Regenaxer> Would you like to use a class symbol as property key?
<beneroth> Regenaxer, this also means, index actions involving +Hook means loading the hooked object, right?
<beneroth> Regenaxer, no :)
<Regenaxer> Yes, the object ist fetched
<beneroth> Regenaxer, but I want eventually have a definitive list of "forbidden" property names in case I let the database user create entities themselves
<Regenaxer> ok, I see
<Regenaxer> Perhaps use a name convention?
<Regenaxer> ie "+Cls" is not allowed
<beneroth> yeah exactly
<Regenaxer> only "plain" names
<beneroth> no smileys :D
<Regenaxer> T
<beneroth> they're reserved for database internals :P
<beneroth> hihi
<Regenaxer> bug messages
<beneroth> reminds me of https://tools.ietf.org/html/rfc5841
<Regenaxer> yeah
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
<beneroth> In some cases, I like to log (store) changes made to an object
<beneroth> the changes are stored in their own entity, pretty small
<beneroth> naturally it would make sense to use +Hook to index them per object
<Regenaxer> I have a +Hist prefix class for such cases
<beneroth> but that means with every additional log the size of the object is also growing, right?
<beneroth> you log the difference, or the old object?
<Regenaxer> I log all changed properties
<Regenaxer> user, time, old and new value
<Regenaxer> In the 'upd>' method
<beneroth> yeah exactly
<Regenaxer> I can post an example
<Regenaxer> http://ix.io/2n75
<Regenaxer> This is the current BTG version
<Regenaxer> Needs more elaboration for clearer log values
<Regenaxer> i.e. the 'ttl>'
<beneroth> we discussed this before, I have an old version :)
<beneroth> ok I see
<beneroth> thanks
<Regenaxer> ah, ok :)
<Regenaxer> forgot ;)
<Regenaxer> I have variations of +Hist in almost all projects
<beneroth> ttl = time to do a log? :D
orivej has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
<beneroth> Regenaxer, why is 'cu a +Bag instead of two properties (e.g. 'cu-dt and 'cu-u), any technical advantage or personal taste?
<Regenaxer> Probably just the size
<beneroth> ah I see, you store all the changes within the record object
<Regenaxer> In the GUI in fact two properties are easier to handle
<Regenaxer> (2 components)
<Regenaxer> But the history is not shown in a normal GUI, just reports
<beneroth> I see
<beneroth> but so your record objects grow forever, outgrowing the allocated block size?
<beneroth> wouldn't it be better to store such data logs in a separate database file, with their typical block size?
<Regenaxer> Yes, but not the +Hist object itself
<Regenaxer> it is in a +Swap
<beneroth> ah right!
<Regenaxer> Could perhaps be a blob
<beneroth> and the +Swap can be assigned to another db file using (dbs)
<Regenaxer> But you are right, important is to keep the object small
<beneroth> nice
<Regenaxer> yes
<Regenaxer> The swap is accessed only when *really* needed :)
<beneroth> I'm aware :)
<Regenaxer> yes, I know
<beneroth> (we also write here for the audience :)
<Regenaxer> exactly
<beneroth> now I cannot decide between your approach (simpler) and a complete separate indexed storage, which would have some extra overhead but easier to e.g. produce statistics how often something is changed
<Regenaxer> yes, depends on the need
<Regenaxer> The +Hist I display only on clicking the bottom of the gui page
<beneroth> in this use case I need to produce an audit trail
orivej has quit [Ping timeout: 256 seconds]
<beneroth> so the extra indexing is probably useful
<Regenaxer> T
<beneroth> but probably my system should have the ability to also use your cheaper approach
orivej has joined #picolisp
<beneroth> thanks for sharing your code and thoughts (as always) :)
<Regenaxer> :)
<beneroth> your +Hist is a real beauty :)
<Regenaxer> oh ;)
<Regenaxer> Thanks!
<beneroth> nice idea with the 'da property, you use it often?
<beneroth> it's a kind of computer papierkorb
<beneroth> trash bin
<Regenaxer> No, iirc only in this project. They want to keep deactivated objects instead of deleting them
orivej_ has joined #picolisp
<Regenaxer> Bahnhofsmission-Conference was 9 members. Only 5 seem displayed maximally at the bottom, but it switched in an intelligent way. Overall performance perfect!
orivej has quit [Ping timeout: 246 seconds]
orivej has joined #picolisp
orivej_ has quit [Ping timeout: 272 seconds]
orivej has quit [Ping timeout: 265 seconds]
orivej_ has joined #picolisp
KingOfCSU has joined #picolisp
KingRiverLee has joined #picolisp
KingOfCSU has quit [Ping timeout: 264 seconds]
KingOfCSU has joined #picolisp
KingRiverLee has quit [Ping timeout: 246 seconds]
KingOfCSU has quit [Remote host closed the connection]
orivej_ has quit [Ping timeout: 258 seconds]
orivej has joined #picolisp
<tankf33der> hi all
<tankf33der> Regenaxer:
<tankf33der> tests failed on latest pil21
<tankf33der> today'
<tankf33der> today's
<Regenaxer> oh
<Regenaxer> I changed a lot internally
<tankf33der> ((str? (zap 'abc)))
<tankf33der> ?
<tankf33der> [sym.l:132] "abc" -- 'test' failed
<Regenaxer> not sure
<Regenaxer> ok, zap
<tankf33der> ### zap ###
<tankf33der> (test "abc" (str? (zap 'abc)))
<Regenaxer> Seems I forgot to change
<Regenaxer> moment
<Regenaxer> yeah, forgot to adjust 'unintern'
<Regenaxer> Released
<Regenaxer> Thanks!
<tankf33der> passed.
<Regenaxer> :)
<Regenaxer> I changed the internal representation of namespaces
<Regenaxer> To allow better checks
<Regenaxer> I also started with Pilog, but it does not work yet
<Regenaxer> I debug it tomorrow perhaps
<tankf33der> i will add tests for rest.
<tankf33der> updating todo list
<Regenaxer> cool
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 265 seconds]
orivej_ has quit [Ping timeout: 256 seconds]
orivej has joined #picolisp
<tankf33der> nand, nor, xor, bool, frac are ok
<Regenaxer> good
<beneroth> thank you both :)
<Regenaxer> :)
<tankf33der> grid ok
<tankf33der> adk.
<tankf33der> afk.
<Regenaxer> :)
orivej has quit [Ping timeout: 240 seconds]
orivej has joined #picolisp
orivej has quit [Ping timeout: 272 seconds]
orivej has joined #picolisp
twelvemonkeys has quit [Ping timeout: 246 seconds]
twelvemonkeys has joined #picolisp
orivej_ has joined #picolisp
orivej has quit [Ping timeout: 272 seconds]
orivej_ has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
f8l has quit [Remote host closed the connection]
f8l has joined #picolisp
orivej has quit [Quit: No Ping reply in 180 seconds.]
orivej has joined #picolisp
twelvemonkeys has quit [Ping timeout: 265 seconds]
f8l has quit [Remote host closed the connection]
twelvemonkeys has joined #picolisp
f8l has joined #picolisp