On Tue, Nov 26, 2019 at 02:06:25PM -0800, C K Kashyap wrote:
> It seems to work as expected using collects :) Here's the complete program
> - it prints out ITEM1 and ITEM6 as expected.
Ah, right, you select items, not tags, and items have a *list* of tags.
OK. Then to get AND, you can instead of
Good bye "Robert W. Brown" :-(
You are now unsubscribed
--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
Hey Alex,
It seems to work as expected using collects :) Here's the complete program
- it prints out ITEM1 and ITEM6 as expected.
(call "rm" "-f" "test.db")
(class +Item +Entity)
(rel ttl (+IdxFold +String))
(rel tgs (+List +Joint) itm (+Tag))
(rel sts (+IdxFold +String))
(class +Tag +Entity)
Ah! ... it's no big deal, I can trivially maintain a global *OFFSET that I
update at each call to rd.
But I like the idea of using dd for reading from arbitrary offset. Perhaps
it would be more efficient than doing a dummy call to rd just to ignore the
contents.
Regards,
Kashyap
On Tue, Nov 26,
On Tue, Nov 26, 2019 at 01:13:09PM -0800, C K Kashyap wrote:
> Hey Alex,
> What I need is an "and" - with collects, I do a (sect of L1 L2) ... I tried
> a bunch but cant seem to get "and" working -
> I need the items that are "RED" and "BLUE" :(
Hmm, isn't that impossible? In your model, a tag
On Tue, Nov 26, 2019 at 09:09:08AM -0800, C K Kashyap wrote:
> Is there a way to get the file offset (which I can get using lseek)? I need
Unfortunately, the PicoLisp I/O machinery does not handle file positions, and
has no functions to get or set them.
The database does it (the position of an
Hey Alex,
What I need is an "and" - with collects, I do a (sect of L1 L2) ... I tried
a bunch but cant seem to get "and" working -
I need the items that are "RED" and "BLUE" :(
Perhaps I have to adjust the ER to achieve this?
regards,
Kashyap
On Tue, Nov 26, 2019 at 7:42 AM C K Kashyap wrote:
>
Hi all,
Is there a way to get the file offset (which I can get using lseek)? I need
this for my midi parsing project which contains variable length numbers
(like UTF-8) and I think it will be useful to have something that can tell
me the current file position. Ofcourse I can maintain it myself by
Thanks Alex,
I'll try it out.
Regards,
Kashyap
On Mon, Nov 25, 2019 at 11:24 PM Alexander Burger
wrote:
> Hi Kashyap,
>
> > Here's a new problem - as per the previous conversation, it seems that I
> > could use "collect" to get the items that I am interested in.
> >
> > (let (RED (db 'nm
SuperSaiyanBlue, you do not need to be there.
You were invited but that does not mean you need to come. I won't come either.
Let them found a FB group if they want. Maybe something good will come
out of it. I do not think it will have a negative impact on the rest
off the community.
On Thu, 21
10 matches
Mail list logo