Re: Permissions problem

2020-06-16 Thread Shaughan Lavine
Alex–
Yes, accessing the files from the shell works just fine. I tried reinstalling. 
Same behavior. I'm running under qemu, aarch64. I can't imagine that that 
matters, but I'm out of ideas, so ….
Shaughan

On Tue, Jun 16, 2020 at 11:02 AM, Alexander Burger  wrote:

> Hi Shaughan,
>
>> I have a permissions problem: When I run pil @lib/form.l+ I get:
>> [/usr/lib/picoLisp/lib/form.l:2657] … @doc/form/refD.html" -- Open error:
>> Permission denied ..
>> Everything works fine without the +
>
> OK. This is because only in debug mode the tail if lib/form.l is loaded:
>
> ### Debug ###
> `*Dbg
>
> (allow "!console")
> (de console @ # JS: lisp(null, "console", "Message");
> (msg (cons 'console (rest)))
> (respond) )
>
> (noLint 'gui)
> (noLint 'choDlg 'gui)
> (noLint 'jsForm 'action)
>
> (docs "@doc/form/")
>
> Without *Dbg this is part is ignored.
>
>> or if I run as root.
>
> So the docs are indeed not accessible.
>
>> ArchLinux, built from source, running from /usr/bin. @doc/form/ref has the 
>> same
>> owner:group as everything else in that directory (:), but it shipped
>> with permissions 600, while everything else in the directory was 644.
>
> Yes, should be fine, user read and write.
>
> Can you read the files in doc/ from the shell?
>
> ☺/ A!ex
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: Permissions problem

2020-06-16 Thread Alexander Burger
Hi Shaughan,

> I have a permissions problem: When I run pil @lib/form.l+ I get:
> [/usr/lib/picoLisp/lib/form.l:2657] … @doc/form/refD.html" -- Open error:
> Permission denied ..
> Everything works fine without the +

OK. This is because only in debug mode the tail if lib/form.l is loaded:

   ### Debug ###
   `*Dbg

   (allow "!console")
   (de console @  # JS: lisp(null, "console", "Message");
  (msg (cons 'console (rest)))
  (respond) )

   (noLint 'gui)
   (noLint 'choDlg 'gui)
   (noLint 'jsForm 'action)

   (docs "@doc/form/")

Without *Dbg this is part is ignored.

> or if I run as root.

So the docs are indeed not accessible.

> ArchLinux, built from source, running from /usr/bin. @doc/form/ref has the 
> same
> owner:group as everything else in that directory (:), but it shipped
> with permissions 600, while everything else in the directory was 644.

Yes, should be fine, user read and write.

Can you read the files in doc/ from the shell?

☺/ A!ex

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe



Permissions problem

2020-06-16 Thread Shaughan Lavine
I have a permissions problem: When I run pil @lib/form.l+ I get: 
[/usr/lib/picoLisp/lib/form.l:2657] … @doc/form/refD.html" -- Open error: 
Permission denied I can post the rest of the error if it matters. Everything 
works fine without the + or if I run as root. ArchLinux, built from source, 
running from /usr/bin. @doc/form/ref has the same owner:group as everything 
else in that directory (:), but it shipped with permissions 600, while 
everything else in the directory was 644.
Changing them to 644 made no difference. Any suggestions?
Thanks!

Sent from ProtonMail Mobile

Re: Redis-inspired key/value store in PicoLisp

2020-06-16 Thread Abel Normand

Hello Alexander!

Very nice project, I'll be looking for test your library! Looking good. 
Soon enough picolisp gonna have all popular libs / integrations to 
challenge other stacks :)


Regards, Nail.

On 6/16/20 12:34 PM, Alexander Williams wrote:

Hi everyone,

I wanted to build a TCP-based client/server FIFO queue in PicoLisp, 
and ended up re-creating a small part of Redis[1].


You can check it out here: https://github.com/aw/picolisp-kv

It's still quite different from Redis behind the scenes, but some 
functionality will be familiar to those who've used it.


The source code is published under the MIT license.

Enjoy,


AW


- [1]https://redis.io



--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe



Re: Redis-inspired key/value store in PicoLisp

2020-06-16 Thread Yiorgos [George] Adamopoulos
Good job! I have to confess you beat me to it!  I always thought a kv
store would be a cool way to sharpen picolisp skills!

On Tue, Jun 16, 2020 at 12:40 PM Alexander Williams
 wrote:
>
> Hi everyone,
>
> I wanted to build a TCP-based client/server FIFO queue in PicoLisp, and
> ended up re-creating a small part of Redis[1].
>
> You can check it out here: https://github.com/aw/picolisp-kv
>
> It's still quite different from Redis behind the scenes, but some
> functionality will be familiar to those who've used it.
>
> The source code is published under the MIT license.
>
> Enjoy,
>
>
> AW
>
>
> - [1]https://redis.io
>
> --
> UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe
>


-- 
keep raising the bar

-- 
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Redis-inspired key/value store in PicoLisp

2020-06-16 Thread Alexander Williams

Hi everyone,

I wanted to build a TCP-based client/server FIFO queue in PicoLisp, and 
ended up re-creating a small part of Redis[1].


You can check it out here: https://github.com/aw/picolisp-kv

It's still quite different from Redis behind the scenes, but some 
functionality will be familiar to those who've used it.


The source code is published under the MIT license.

Enjoy,


AW


- [1]https://redis.io

--
UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe


Subscribe

2020-06-16 Thread Shaughan Lavine
Sent from ProtonMail Mobile