<hunar>
Hello :D I was gone for a loooong time, I hope you are all good. The initial project that I wanted to make with picolisp (ERP software) is canceled because I finally found the free software that I was looking for (manager.io)... I have a question Regenaxer, is this page out of date (picolisp.com/wiki/?usingEdit) the (edit) function doesnt
<hunar>
exist in pil21
<Regenaxer>
Hi hunar! Nice to see you back! :)
<Regenaxer>
Yes, (edit) is replaced by vip
<Regenaxer>
Calling 'vi' with a list of symbols
<Regenaxer>
or 'v' as a non-evaluating shortcut
<hunar>
Oh, I thought vip is just for files and functions
<Regenaxer>
yeah, symbols in general (value and properties, just like 'edit' was
<hunar>
Thanks :D I'll continue reading that page
<Regenaxer>
:)
<hunar>
I always forget which one of these I should be using, (v X) (v 'X) (vi X) (vi 'X) I try them one by one until I see something other than a blank screen.
<hunar>
Oh, web.libera.chat turned my text into emoji
<hunar>
But why wouldn't (v 'X) work. And when opening a file, "text" evaluates to itself right? so why (v "text") works but (vi "text") wouldn't work
rob_w has joined #picolisp
<Regenaxer>
(zero "text") (v "text")
<Regenaxer>
You edit the *symbol* "text", not the file
<Regenaxer>
(vi "text") edits the file
<hunar>
Oh, My head isn't working properly today... I need to warm up the picolisp part of my brain
<beneroth>
Hi hunar! Welcome back!
<beneroth>
tell me more about manager.io
<beneroth>
looks pretty good
<beneroth>
ah free, but proprietary?
rob_w has quit [Remote host closed the connection]
<beneroth>
so free beer, but no free customizing
<hunar>
Hi beneroth :D , Its free as long as you use it alone on a single computer with one user, it has an active community.. For me, the features are 90% great and 8% small workarounds, the other 2% are features that people make addons to achieve it
<hunar>
The interface is muuuch more intuitive than gnucash
<beneroth>
but no source code available, right?
<hunar>
Its close sourced yes
inara has quit [Quit: Leaving]
inara has joined #picolisp
cranium has joined #picolisp
<hunar>
I cant seem to find how to use picolisp's database, I understand this much below, but cant find a short (single function call) way to read the data back.. Plus how can I browse through the data using vip like (picolisp.com/wiki/?usingEdit) mentions? I tried (v *DB) but didn't find what I want
<hunar>
(class +User +Entity)
<hunar>
(rel name (+String))
<hunar>
(pool "users.db")
<hunar>
(new! '(+User) 'name "Hunar")
<beneroth>
(collect 'name '+User)
<beneroth>
(db 'name '+User "Hunar")
<beneroth>
(v *DB) should show you the database root node {1}
<beneroth>
it has a property for each index and entity
<Regenaxer>
'collect' will not work here, as 'name' has no index
<beneroth>
ah
<beneroth>
yes right
<Regenaxer>
(rel name (+Ref +String))
<beneroth>
hunar, you don't need a primary key, but having none index at all makes it kinda meaningless
<beneroth>
John founded EFF. A good part of the infrastructure you use daily was made possible by him (DHCP, free Unix/Linux, GNU binutils, ...). And he is not known for harsh arguments or weird quotes like RMS.
<beneroth>
Mozilla, FSF, EFF.. we're losing the core institutions of hacker culture :(
clacke has quit [Remote host closed the connection]