<rob_w>
this is what i use to set a password but (trace 'put) doesnt show any action when i press it ?
<beneroth>
put is not the same as put>
<beneroth>
or put!>
<rob_w>
oh
<rob_w>
(trace 'put!>) so is that to trace it ?
<rob_w>
ah crap
<beneroth>
(trace 'put!> '+Entity) or replace +Entity with the class used for *Login
<beneroth>
I think
<beneroth>
when you trace methods you also have to specify the class
<beneroth>
the methods can exist many times
<rob_w>
hmm i see
<Regenaxer>
rob_w, why don't you modify 'commit' as I suggested yesterday? This would handle *any* change to the DB, even those you may not be aware of now
<Regenaxer>
Let me check for a way to get it into Exe2
<rob_w>
is my syntax correct .. doesnt look like it '((call ...
<beneroth>
Regenaxer, I'm implementing the (upd> '+Entity) method to detect/log changes, which I store in a global. And my redefined commit then takes care to also produce records (well objects) for the log entries before calling standard (commit)
<rob_w>
or indentation i mean
<beneroth>
exe2 is post-hook
<beneroth>
exe1 is pre-hook
<Regenaxer>
yes
<Regenaxer>
beneroth, so 'redef' is optimal :)
<beneroth>
so ideally rob_w works with exe1 (making db writeable) and exe2 (unmounting again), but this means changing every call to commit, so probably a redefine is easier.
<Regenaxer>
I think several bugs were fixed meanwhile
<Regenaxer>
With (X) 2nd arg is ignored
<Regenaxer>
not even evaluated
<aw->
hi Regenaxer beneroth
<Regenaxer>
Does not matter here, because it was never passed in this code
<aw->
beneroth: not affected, I use a custom kernel ;)
<beneroth>
rob_w, if you are on pil64 you might get a weird compiling error when you switch, as a new (flood) function was added in the meantime which also quickly became used in the build step. Grab the *.s file for your platform and build with it.
<rob_w>
i am not
<rob_w>
never was ;-)
<beneroth>
aw-, ok :) because of rock64, or because of personal reasons? (I like to know for when I might also start using rock64)
<rob_w>
historic .. never change a ..
<beneroth>
rob_w, kk. you keep the 32 C-flame burning, well well :)
<rob_w>
its a working product , quite finished and no reason to update till now that issues with sdcards slots
<beneroth>
agreed :)
<rob_w>
well how would i know if its a pil64 anyway ?
<rob_w>
any command to test ?
<Regenaxer>
(== 64 64)
<Regenaxer>
gives T if on pil64
<Regenaxer>
or look at *CPU
<Regenaxer>
is NIL in pil32
<rob_w>
ok hang on installing the new version atm
<Regenaxer>
great!
<rob_w>
NIL -> pil32
<Regenaxer>
ok
<rob_w>
tests with (redef .. ) feel correct !
<rob_w>
one more question .. as i start my process via +main +go ... i can assume that (de main ... is called before (de go ... right =
<aw->
beneroth: depends what OS you choose
<rob_w>
?
<Regenaxer>
cool!
<Regenaxer>
yes, calls are left to right
<aw->
beneroth: some OS have latest kernel, some have older kernel.
<rob_w>
but are those forks() in some sort so will +go be called immidiatly after the call to +main ?
<rob_w>
or will +go be called after +main finishes ?
<beneroth>
aw-, ok, so not because of the hardware :) thx
<beneroth>
(not because hardware requires custom built kernel, I mean)
<beneroth>
(nvm)
<rob_w>
.. and i mean -main -go of course
<aw->
beneroth: i don't know anyone dumb enough to update their Linux kernel without having a fallback in case it doesn't boot
<aw->
so these kind of issues are so minor, not worth reading
<Regenaxer>
rob_w, it is sequential. After (main) returns (it is a function), (go) is called
<Regenaxer>
Like if you call (main) (go)
<beneroth>
aw-, you are right. Thanks for the hint.
<aw->
beneroth: maybe wait a few months for rock64 if you want one, the next revision will have PoE and an RTC embedded
<beneroth>
oh nice
<beneroth>
It might easily take some more months until I can look into it anyway xD
<yunfan>
what happened?
<yunfan>
i was kicked from the channel before
<yunfan>
btw, what do you guys thinks of the new coming lisp lang janet?
<beneroth>
yunfan, no idea what happened, I cannot find when you left, I see you logged in nearly 8 hours ago