all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
* Add new sqlite extensions to allowlist
@ 2023-11-06 15:13 Neo Dim
  2023-11-07 14:31 ` Andrew Hyatt
  2023-11-18  9:13 ` Eli Zaretskii
  0 siblings, 2 replies; 6+ messages in thread
From: Neo Dim @ 2023-11-06 15:13 UTC (permalink / raw)
  To: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 499 bytes --]

Hi. I would like to use semantic search in one (or maybe couple) of my new packages for emacs. In latest emacs there is sqlite support, which  is great. I would like to use it with https://github.com/asg017/sqlite-vss extension. I checked it out and see that vector0 and vss0 not in allowlist. Can we add this extensions to allowlist? And can we use full path to extension when call `sqlite-load-extension`? I don’t think that this extensions will be system-wide.

Best regards,
Sergey Kostyaev

[-- Attachment #2: Type: text/html, Size: 794 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Add new sqlite extensions to allowlist
  2023-11-06 15:13 Add new sqlite extensions to allowlist Neo Dim
@ 2023-11-07 14:31 ` Andrew Hyatt
  2023-11-18  9:13 ` Eli Zaretskii
  1 sibling, 0 replies; 6+ messages in thread
From: Andrew Hyatt @ 2023-11-07 14:31 UTC (permalink / raw)
  To: Neo Dim; +Cc: emacs-devel

 
On  6 November 2023 22:13, Neo Dim <sskostyaev@gmail.com> wrote: 

    Hi. I would like to use semantic search in one (or maybe 
    couple) of my new packages for emacs. In latest emacs there is 
    sqlite support, which  is great. I would like to use it with 
    https://github.com/asg017/sqlite-vss extension. I checked it 
    out and see that vector0 and vss0 not in allowlist. Can we add 
    this extensions to allowlist? And can we use full path to 
    extension when call `sqlite-load-extension`? I don’t think 
    that this extensions will be system-wide.

Agreed! I'd also like to use those extensions. In my ekg package 
(https://github.com/ahyatt/ekg), I basically am doing vector 
similarity computations in elisp, from data in a sqlite db, and 
doing everything in elisp undoubtedly slower and more expensive. 
Having a fast way to do this would be very nice.
    
    Best regards,
    Sergey Kostyaev



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Add new sqlite extensions to allowlist
  2023-11-06 15:13 Add new sqlite extensions to allowlist Neo Dim
  2023-11-07 14:31 ` Andrew Hyatt
@ 2023-11-18  9:13 ` Eli Zaretskii
  2023-11-18 11:09   ` Sergey Kostyaev
  2023-11-26 18:54   ` Sergey Kostyaev
  1 sibling, 2 replies; 6+ messages in thread
From: Eli Zaretskii @ 2023-11-18  9:13 UTC (permalink / raw)
  To: Neo Dim; +Cc: emacs-devel

> From: Neo Dim <sskostyaev@gmail.com>
> Date: Mon, 6 Nov 2023 22:13:32 +0700
> 
> Hi. I would like to use semantic search in one (or maybe couple) of my new packages for emacs. In
> latest emacs there is sqlite support, which  is great. I would like to use it with
> https://github.com/asg017/sqlite-vss extension. I checked it out and see that vector0 and vss0 not in
> allowlist. Can we add this extensions to allowlist?

I added them, so they will be available in the upcoming Emacs 29.2.

> And can we use full path to extension when call
> `sqlite-load-extension`?

Yes, of course.  The allow-list is checked against the basename of the
library, so the leading directories should not be important.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Add new sqlite extensions to allowlist
  2023-11-18  9:13 ` Eli Zaretskii
@ 2023-11-18 11:09   ` Sergey Kostyaev
  2023-11-26 18:54   ` Sergey Kostyaev
  1 sibling, 0 replies; 6+ messages in thread
From: Sergey Kostyaev @ 2023-11-18 11:09 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 888 bytes --]

Thank you, Eli. I will try it out.

Best regards,
Sergey Kostyaev 

18 ноября 2023 г. 09:13:19 UTC, Eli Zaretskii <eliz@gnu.org> пишет:
>> From: Neo Dim <sskostyaev@gmail.com>
>> Date: Mon, 6 Nov 2023 22:13:32 +0700
>> 
>> Hi. I would like to use semantic search in one (or maybe couple) of my new packages for emacs. In
>> latest emacs there is sqlite support, which  is great. I would like to use it with
>> https://github.com/asg017/sqlite-vss extension. I checked it out and see that vector0 and vss0 not in
>> allowlist. Can we add this extensions to allowlist?
>
>I added them, so they will be available in the upcoming Emacs 29.2.
>
>> And can we use full path to extension when call
>> `sqlite-load-extension`?
>
>Yes, of course.  The allow-list is checked against the basename of the
>library, so the leading directories should not be important.

[-- Attachment #2: Type: text/html, Size: 1590 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Add new sqlite extensions to allowlist
  2023-11-18  9:13 ` Eli Zaretskii
  2023-11-18 11:09   ` Sergey Kostyaev
@ 2023-11-26 18:54   ` Sergey Kostyaev
  2023-11-26 19:26     ` Eli Zaretskii
  1 sibling, 1 reply; 6+ messages in thread
From: Sergey Kostyaev @ 2023-11-26 18:54 UTC (permalink / raw)
  To: Eli Zaretskii; +Cc: emacs-devel

[-- Attachment #1: Type: text/plain, Size: 874 bytes --]

It works, thank you!

Best regards,
Sergey Kostyaev 

18 ноября 2023 г. 09:13:19 UTC, Eli Zaretskii <eliz@gnu.org> пишет:
>> From: Neo Dim <sskostyaev@gmail.com>
>> Date: Mon, 6 Nov 2023 22:13:32 +0700
>> 
>> Hi. I would like to use semantic search in one (or maybe couple) of my new packages for emacs. In
>> latest emacs there is sqlite support, which  is great. I would like to use it with
>> https://github.com/asg017/sqlite-vss extension. I checked it out and see that vector0 and vss0 not in
>> allowlist. Can we add this extensions to allowlist?
>
>I added them, so they will be available in the upcoming Emacs 29.2.
>
>> And can we use full path to extension when call
>> `sqlite-load-extension`?
>
>Yes, of course.  The allow-list is checked against the basename of the
>library, so the leading directories should not be important.

[-- Attachment #2: Type: text/html, Size: 1576 bytes --]

^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: Add new sqlite extensions to allowlist
  2023-11-26 18:54   ` Sergey Kostyaev
@ 2023-11-26 19:26     ` Eli Zaretskii
  0 siblings, 0 replies; 6+ messages in thread
From: Eli Zaretskii @ 2023-11-26 19:26 UTC (permalink / raw)
  To: Sergey Kostyaev; +Cc: emacs-devel

> Date: Sun, 26 Nov 2023 18:54:36 +0000
> From: Sergey Kostyaev <sskostyaev@gmail.com>
> CC: emacs-devel@gnu.org
> 
> It works, thank you!

Thanks for testing.



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2023-11-26 19:26 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-11-06 15:13 Add new sqlite extensions to allowlist Neo Dim
2023-11-07 14:31 ` Andrew Hyatt
2023-11-18  9:13 ` Eli Zaretskii
2023-11-18 11:09   ` Sergey Kostyaev
2023-11-26 18:54   ` Sergey Kostyaev
2023-11-26 19:26     ` Eli Zaretskii

Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.