On Mon, Jul 07, 2025 at 01:12:06PM +0500, mayor84 wrote:
> Offtopic. I still have some weird troubles with my gmail. It's almost
> impossible to send e-mail nowdays.

Indeed, E-mail is problematic in several aspects. IRC is a lot better,
though personally I prefer Matrix.


> >> I added a note about this to the 'allow' reference.
> 
> Great!

To be exact, I added the note to (doc 'allowed)


> As of right now, I come up with the following db "schema". I guess more
> benchmarking and testing is in order. When I start indexing pdf pages, the
> db will become huge very quick. And I'm going to use it on modest hardware
> with 512 MB ram. Any critique or comments are welcome.
> 
> ### DB ###
> (class +Pdf +Entity)
> (rel nm (+IdxFold +String)) # pdf file name
> (rel blb (+Blob))          # actual file
> (rel pgs (+List +Joint) pdf (+Pg)) # List of pages in the pdf
> 
> (class +Pg +Entity)
> (rel pn (+Number))          # page number
> (rel ct (+IdxFold +String)) # content of the page
> (rel pdf (+Joint) pgs (+Pdf))     # Back-link to parent pdf
> 
> #(class +Category +Entity)        # Fix it. Needs more research!
> #(rel nm (+String))               # Each folder on the path to pdf file is
> a category (cat1/cat2/Folder3/Folder4)
> #(rel pdfs (+List +Joint) cats (+List +Pdfs))
> 
> (dbs
>    (0)                           # @:64
>    (2 +Pdf)                      # A:256
>    (3 (+Pdf nm))                 # B:512
>    (2 +Pg)                       # C:256
>    (4 (+Pg ct)) )                # D:1024
> 
> > Perhaps you can take a look into it and tell us if you have any insights?

Looks good I think.


> Right now I am much more interested in learning/exploring +DbChart for
> search results. If there's a good tutorial I'd gladly read it. And by the
> way, why there's no docs for gui classes in reference? Or am I missing
> something?

Unfortunately there are no GUI docs currently. There used to be a
"lib/form/" directory of references from Mattias Sundblad, but it was
never really complete, and the whole GUI framework is so much stuff that
it would need a dedicated project.

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:[email protected]?subject=Unsubscribe

Reply via email to