<skyjuice>
Ah thought that might be the case or may be the request function had been updated.
<abu[7]>
Yeah
<skyjuice>
Interestingly (for me) (put '+User 'nm "admin" 'pw (passwd "admin")) returns a salt like string but the user couldn't be persisted after (commit) -> T
<abu[7]>
'+User is the class. not an object
<abu[7]>
(put!> '{123} ... if {123} is an existing object
aw- has joined #picolisp
<abu[7]>
(put '+User 'nm ... is legal, but puts a 'nm' property to the class
<skyjuice>
Ah got it ty
<skyjuice>
So the long string I got was just the return value of (passwd) salt, hash etc
<abu[7]>
Right
<skyjuice>
(y)
<abu[7]>
t
<beneroth>
put and put> is a small but big difference :-)
<beneroth>
first is the native picolisp function to write properties of a symbol
<beneroth>
second is a method defined on +Entity which kicks-off the whole database schema machinery (methods on +relation and subclasses and prefix-classes) to check database integrity and update indexes etc.
<skyjuice>
ty good to know
<beneroth>
both can be used on external symbols (database records), but (put) is lower-level and does not run all the stuff that (put> . +Entity) does. (put> . +Entity) itself uses (put)
<skyjuice>
the ">" suffix always indicates methods in Picolisp, no?
<beneroth>
(commit) in the end just persists all changed external symbols, even when they were only changed by (put) instead of (put> ...) - but likely not all side-effects (updating indexes etc) were done then
<beneroth>
so it can be legitimate to use (put) for database stuff, but not in normal use
<abu[7]>
skyjuice, yes
<beneroth>
skyjuice, yes. see naming conventions
<skyjuice>
ty wil
<skyjuice>
*will do
<beneroth>
naming conventions are not enforced but it highly recommended to follow them. helps preventing most user/programmer mistakes.
<beneroth>
s/it/its
<beneroth>
you can use (lint) and (lintAll) to check your code
<skyjuice>
"you can use (lint) and (lintAll) to check your code" in vip?
<beneroth>
when will you add voice recognition to repl?
<abu[7]>
☺
<beneroth>
:)
<beneroth>
gute Besserung :-/
<abu[7]>
Steno is not documented yet
<abu[7]>
Thanks!
<abu[7]>
It is Morbus Dupuytren
<abu[7]>
For Steno I need only one finger
<beneroth>
new project by software lab?
<beneroth>
inspired by flappy bird?
<beneroth>
I'm excited to learn about it :)
<beneroth>
but no stress!
<abu[7]>
software-lab.de/StenoBoard.tgz
<beneroth>
ah, radial controls
<abu[7]>
All chars are written with a single stroke
<abu[7]>
8 directions (E, SE, S, SW etc.)
<skyjuice>
I ran (lintAll "todo-user-login.l") on this source: gitlab.com/picolisp-blog/web-applications/-/blob/main/todo-list-example/todo-user-login.l which returned ((erVar (bnd Cur))), what does this indicate? I can't find the definition for "erVar" in the docs and there is no "Cur" symbol in the source.
<beneroth>
abu[7], o is a tap?
<abu[7]>
The function erVar does not bind Cur
<abu[7]>
o is the end
<abu[7]>
8 dirs times 4 endings
<beneroth>
skyjuice, (lintAll) checks all internal symbols (of your current repl) and the files you give additionally
<beneroth>
so the error doesn't come from the file, but your environment