Digging into Symbols

2020-04-27 Thread Wilhelm Fitzpatrick
I've been digging down to really understand the symbol implementation in Picolisp, since symbols are used for so many purposes within the language. One surprising thing I learned last night is that (get ...) has a side effect! It moves the key that was accessed to the head of the symbol "tail"

Re: Stop using US controlled software stacks!!!

2020-04-27 Thread Danilo Kordic
Gudo Stepken: > [...] ""Talk is cheap, show me the code."" -- Linus Torvald -- UNSUBSCRIBE: mailto:picolisp@software-lab.de?subject=Unsubscribe

Re: Digging into Symbols

2020-04-27 Thread Alexander Burger
Hi Wilhelm, > that (get ...) has a side effect! It moves the > key that was accessed to the head of the > symbol "tail". I assume this is a performance > optimization to cause recently accessed > properties to "bubble up" to the front of the > list in case they are re-accessed soon. Yes, exactly.

Re: Digging into Symbols

2020-04-27 Thread Henry Baker
The "move-to-front" heuristic is equivalent to the LRU caching policy. The "move-up-by-one" heuristic converges to LFU (least frequently used) caching policy. Perhaps LFU is what you really want? BTW, "move-up-by-one" has a side-effect on every invocation, as does "move-to-front". However, you

Re: Stop using US controlled software stacks!!!

2020-04-27 Thread Guido Stepken
Seems, you haven't the slightest idea, what's going on in world: China is changing gears, decoupling from TCP/IP protocol. Means: USA becoming isolated. It's a 320 million people state, making just 5% of global population. https://cntechpost.com/2020/03/30/huawei-aims-to-reshape-internet-with-pro

Re: Digging into Symbols

2020-04-27 Thread Wilhelm Fitzpatrick
Thanks for the insights, Alex! On 4/27/20 1:53 PM, Alexander Burger wrote: This means, a pointer to a cell points direcly to its CAR, while a pointer to a symbol points to its VAL. In both cases (car ...) or (val ...) are just a single pointer derefernces (memory fetches). Ah, so car and val are

Re: Digging into Symbols

2020-04-27 Thread Guido Stepken
In most Lisp languages, you only can "append" to a list, never "prepend". Python, e.g., has such structures: https://www.geeksforgeeks.org/deque-in-python/ The "*d*ouble *e*nded *queue*". Appending, prepending, Python simply lets you do, what you want! ;-) Mighty, mighty stuff, highly efficient!

Re: Digging into Symbols

2020-04-27 Thread Wilhelm Fitzpatrick
On 4/27/20 2:42 PM, Guido Stepken wrote: In most Lisp languages, you only can "append" to a list, never "prepend".: "Prepend", aka "add to the beginning" seems the natural (and non-destructive) operation of Lisp, e.g. (cons 9 (1 2 3)) -> (9 1 2 3) ..perhaps that is what you meant? -wilhel

Re: Stop using US controlled software stacks!!!

2020-04-27 Thread Wilhelm Fitzpatrick
China is changing gears, decoupling from TCP/IP protocol. Means: USA becoming isolated. It's a 320 million people state, making just 5% of global population. https://cntechpost.com/2020/03/30/huawei-aims-to-reshape-internet-with-protocol-called-new-ip/ China certainly has long wanted to iso

Re: Digging into Symbols

2020-04-27 Thread Alexander Burger
On Mon, Apr 27, 2020 at 02:38:35PM -0700, Wilhelm Fitzpatrick wrote: > > Correct. The first character(s) need to be accessed more prominently. > > > Hmm... because checking the first > byte/character is just a mask, rather than > shift & mask? Yes, but most of all it concerns the first up to 8 ch

Re: PilCon 2020

2020-04-27 Thread Alexander Burger
Hi Tomas, > > Would it make sense to plan an online conference instead? We are playing > > around > > with Jitsi Meet currently. Any thoughts? > > I tried Jitsi and it seems broken on NixOS (throwing some Java exception > about a DNS class not found). We used Jitsi a lot during the last weeks.

Re: PilCon 2020

2020-04-27 Thread Alexander Shendi (Web.DE)
Dear List, My experience using Jitsi with Firefox wasn't good. I tried to attend an online meeting with FF 71 and I managed to crash the server. Apparently this is Firefox's fault though for not supporting all necessary features of WebRTC. Unfortunately for me there is no alternative ATM. NetBS

Re: PilCon 2020

2020-04-27 Thread Christophe Gragnic
On Tue, Apr 28, 2020 at 7:44 AM Alexander Burger wrote: > We used Jitsi a lot during the last weeks. I have tried up to only 5 members > so > far, but performance was good. Beneroth has set up his own server. I don't > know > how well it scales for more members, and what can be done to optimize

Re: PilCon 2020

2020-04-27 Thread Jean-Christophe Helary
> On Apr 28, 2020, at 15:20, Alexander Shendi (Web.DE) > wrote: > > Dear List, > > My experience using Jitsi with Firefox wasn't good. I tried to attend an > online meeting with FF 71 and I managed to crash the server. Apparently this > is Firefox's fault though for not supporting all nece

Re: PilCon 2020

2020-04-27 Thread Jean-Christophe Helary
> On Apr 28, 2020, at 15:26, Christophe Gragnic > wrote: > > 2) We could organize a «warm up» as it is done in music festivals Definitely. Maybe the day before ? A short rehearsal for all the people who have presentations to see if things work well ? Jean-Christophe Helary ---