<?xml version="1.0" encoding="UTF-8"?>
<rdf:RDF xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://purl.org/rss/1.0/" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:syn="http://purl.org/rss/1.0/modules/syndication/" xmlns:admin="http://webns.net/mvcb/">
  <channel rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general">
    <title>gmane.lisp.picolisp.general</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general</link>
    <description/>
    <syn:updatePeriod>hourly</syn:updatePeriod>
    <syn:updateFrequency>1</syn:updateFrequency>
    <syn:updateBase>1901-01-01T00:00+00:00</syn:updateBase>
    <items>
      <rdf:Seq>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3985"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3984"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3983"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3982"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3981"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3980"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3979"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3978"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3977"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3976"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3975"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3974"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3973"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3972"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3971"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3970"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3969"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3968"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3967"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.lisp.picolisp.general/3966"/>
      </rdf:Seq>
    </items>
    <image rdf:resource="http://gmane.org/img/gmane-25t.png"/>
    <textinput rdf:resource=""/>
  </channel>
  <image rdf:about="http://gmane.org/img/gmane-25t.png">
    <title>Gmane</title>
    <url>http://gmane.org/img/gmane-25t.png</url>
    <link>http://gmane.org</link>
  </image>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3985">
    <title>Re: REPL and OpenGL</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3985</link>
    <description>&lt;pre&gt;Hi alex,

setting a background task was exactly what I was looking for.

(task -10 0 (...)) works fine.

I tried it with the socket fd also, by reading it from /proc/&amp;lt;PID&amp;gt;/fd/ 
and putting it into

(task &amp;lt;socketFd&amp;gt; (glutMainLoopEvent))

but got only segmentation faults.

Thanks a lot
Oskar

&lt;/pre&gt;</description>
    <dc:creator>Oskar Wieland</dc:creator>
    <dc:date>2013-06-10T13:42:00</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3984">
    <title>Re: REPL and OpenGL</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3984</link>
    <description>&lt;pre&gt;
If such a file descriptor is indeed not available, then simply replace

   (catch 'quit (glutMainLoop))

with

   (task -10 0
      (native `*GlutLib "glutMainLoopEvent") )

i.e. set a background task with a 10 msec timeout.

♪♫ Alex
&lt;/pre&gt;</description>
    <dc:creator>Alexander Burger</dc:creator>
    <dc:date>2013-06-07T15:42:01</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3983">
    <title>Re: REPL and OpenGL</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3983</link>
    <description>&lt;pre&gt;Hi Oskar,


Yes ... as I said in my last mail:

   Can we find out the socket fd where the events arrive on?

   If so, then I would trigger 'glutMainLoopEvent' whenever an event
   arrives:

   (task &amp;lt;socketFd&amp;gt; (glutMainLoopEvent))

So you must put the call to (glutMainLoopEvent) into a background task.
The same mechanism is used in the PicoLisp GUI, for example.

Then you have the normal ':' prompt and you can debug your program while
the OpenGL output runs in the separate X11 window.

But 'task' either requires a file descriptor (a positive number,
typically a socket) or a timeout value in milliseconds (a negative
number). The timeout is probably not so useful, so the question is if it
is possible to get hold of some file descriptor (socker, pipe or
whatever) where the X11 events are signalled.

♪♫ Alex
&lt;/pre&gt;</description>
    <dc:creator>Alexander Burger</dc:creator>
    <dc:date>2013-06-07T13:01:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3982">
    <title>Re: REPL and OpenGL</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3982</link>
    <description>&lt;pre&gt;Hi,

thanks for the suggestions but I couldn't find a way to get it worrking 
together.

Maybe I didn't made myself clear enough, the link shows what I'm trying 
to do:

Lisp, Opengl and live editting of code:
http://www.youtube.com/watch?v=XLkUI89fgRI

Is this possible with picoLisp?

Regards
Oskar
&lt;/pre&gt;</description>
    <dc:creator>Oskar Wieland</dc:creator>
    <dc:date>2013-06-07T06:40:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3981">
    <title>Re: Syntax for global variable in namespace?</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3981</link>
    <description>&lt;pre&gt;
Hi Alex,




OK, thanks for the info. 

&lt;/pre&gt;</description>
    <dc:creator>Thorsten Jolitz</dc:creator>
    <dc:date>2013-06-02T12:00:09</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3980">
    <title>Re: Syntax for global variable in namespace?</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3980</link>
    <description>&lt;pre&gt;Hi Thorsten,


I would say that '*Var' is all right.



Yes. Also, 'Var' is meant to denote symbols which are bound
locally/dynamically.



Yes. I haven't seen or used many constants yet (a good case might be
"lib/openGl.l" though), but an all-uppercase notations seems natural to
me.

One thing to remember is of course that there are no real "constants" in
PicoLisp. Anything may be modified at any time.

♪♫ Alex
&lt;/pre&gt;</description>
    <dc:creator>Alexander Burger</dc:creator>
    <dc:date>2013-06-02T11:09:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3979">
    <title>Syntax for global variable in namespace?</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3979</link>
    <description>&lt;pre&gt; 
Hi List,   when I write a library with its own namespace, and want 
a 'global variable' in that namespace that stores 'vital 
information' for the library - do I use the '*Var' syntax or is 
that reserved for variables that are really global in PicoLisp?

I could of course just name it 'Var', but the '*Var' would 
underline its importance.    BTW 
Are constants in uppercase (like 'MYCONST') acceptable in PicoLisp?

&lt;/pre&gt;</description>
    <dc:creator>Thorsten Jolitz</dc:creator>
    <dc:date>2013-06-02T09:49:23</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3978">
    <title>Re: Assign a list as symbols property list</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3978</link>
    <description>&lt;pre&gt;
Hi Alex,


I see, fortunately my "real" list has the right order ...


I knew that there must be a function for this ... thanks

&lt;/pre&gt;</description>
    <dc:creator>Thorsten Jolitz</dc:creator>
    <dc:date>2013-06-02T09:30:55</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3977">
    <title>Re: Missing "o" in "-lcrypt" in scr/Makefile</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3977</link>
    <description>&lt;pre&gt;Hi Jon,

OK, so for now I moved "-lcrypt" flag to a Makefile variable LCRYPT, and
assigned "-lcrypto" for Darwin and the BSD family.

Though it doesn't give strong encryption at the moment, at least it
compiles and is better than nothing ;-)

♪♫ Alex
&lt;/pre&gt;</description>
    <dc:creator>Alexander Burger</dc:creator>
    <dc:date>2013-06-02T07:09:46</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3976">
    <title>Re: Assign a list as symbols property list</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3976</link>
    <description>&lt;pre&gt;Hi Thorsten,


Note that the list has the cons pair elements reversed:

   ((value1 . key1) (value2 . key2) ... (valuen . keyn))




This can be done with 'putl'.

♪♫ Alex
&lt;/pre&gt;</description>
    <dc:creator>Alexander Burger</dc:creator>
    <dc:date>2013-06-02T07:02:38</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3975">
    <title>Assign a list as symbols property list</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3975</link>
    <description>&lt;pre&gt;
Hi List, 

probably a rather newbie question:

When I already have property list like 

,------------------------------------------------------
| ((key1 . value1) (key2 . value2) ... (keyn . valuen))
`------------------------------------------------------
 
and want to assign the whole thing as a symbols property list - how do I
do that (without setting every single key/value pair with 'put')?

&lt;/pre&gt;</description>
    <dc:creator>Thorsten Jolitz</dc:creator>
    <dc:date>2013-06-01T19:06:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3974">
    <title>Re: Missing "o" in "-lcrypt" in scr/Makefile</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3974</link>
    <description>&lt;pre&gt;Hi Alex,


I'm not shure what kind of crypt() functions that's available on the Mac,
but if I use 'irb' (i.e. Ruby 1.8.7) with OSX 10.8.3, then I get this:

=&amp;gt; "$6bsuufIMFxJE"

.. the same (worthless) DES algorithm. I'll try to find out more about
this, a little later.

/Jon

&lt;/pre&gt;</description>
    <dc:creator>Jon Kleiser</dc:creator>
    <dc:date>2013-06-01T16:13:29</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3973">
    <title>Ersatz Proposal: Interface implementations should return standard</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3973</link>
    <description>&lt;pre&gt;Currently, if the resulting object from an 'interface' invocation is
supposed to implement a method that returns values (like Supplier in Java
8):

(setq String (interface "java.util.function.Supplier" "get" '(() (java
"java.lang.String" T "java.lang.String") ) ) )

Then, if the implemented method is invoked on the object:

(java String "get")

The returned value is of the type PicoLisp$Symbol, since the curent
implementation of interface returns the PicoLisp$Any result from evaluating
the PicoLisp function bound to that method.

Unfortunately, this means that there would be no way to retrieve the values
returned from that interface implementation's method unless you implement
heavy field-based recursion on the Any object.

Fortunately, I've made a modification to interface that allows PicoLisp
users to not only return Java values from interface implementation methods,
but also all 5 possible value types from PicoLisp (T, NIL, Number, Symbol,
and Cell):

What I've done is to replace the "return a;" statement&lt;/pre&gt;</description>
    <dc:creator>Samuel Dennis Borlongan</dc:creator>
    <dc:date>2013-05-30T15:32:43</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3972">
    <title>Re: Missing "o" in "-lcrypt" in scr/Makefile</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3972</link>
    <description>&lt;pre&gt;Hi Jon,


Hmm, yes and no ...

It works, but obviously only with the (worthless) DES algorithm, because
the generated hash is much too short.

In glibc's crypt() more modern algorithms are supported:

   The glibc2 version of  this  function  supports  additional  encryption
   algorithms.

   If  salt is a character string starting with the characters "$id$" fol‐
   lowed by a string terminated by "$":

          $id$salt$encrypted

   then instead of using the DES machine,  id  identifies  the  encryption
   method  used  and  this  then  determines  how the rest of the password
   string is interpreted.  The following values of id are supported:

          ID  | Method
          ─────────────────────────────────────────────────────────
          1   | MD5
          2a  | Blowfish (not in mainline glibc; added in some
              | Linux distributions)
          5   | SHA-256 (since glibc 2&lt;/pre&gt;</description>
    <dc:creator>Alexander Burger</dc:creator>
    <dc:date>2013-05-30T15:12:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3971">
    <title>Re: Missing "o" in "-lcrypt" in scr/Makefile</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3971</link>
    <description>&lt;pre&gt;Hi Alex,


I did this:

$ ./pil lib/adm.l +
: (de *Salt 16 . "$6$&amp;lt; at &amp;gt;1$")
-&amp;gt; *Salt
: (passwd "somestring")
-&amp;gt; "$6bsuufIMFxJE"

So it seems that the 'passwd' function is working in 32-bit PicoLisp on
Mac, right?

/Jon

&lt;/pre&gt;</description>
    <dc:creator>Jon Kleiser</dc:creator>
    <dc:date>2013-05-30T14:45:31</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3970">
    <title>Re: Problems with 'call'</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3970</link>
    <description>&lt;pre&gt;Jorge Acereda Maciá &amp;lt;jacereda-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt;
writes:


I didn't - that solved the problem, thanks!

&lt;/pre&gt;</description>
    <dc:creator>Thorsten Jolitz</dc:creator>
    <dc:date>2013-05-29T17:41:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3969">
    <title>Re: Problems with 'call'</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3969</link>
    <description>&lt;pre&gt;
On May 29, 2013, at 7:05 PM, Thorsten Jolitz &amp;lt;tjolitz-Re5JQEeQqe8AvxtiuMwx3w&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:

Did you export it? (export FOO=x instead of just FOO=x)
&lt;/pre&gt;</description>
    <dc:creator>Jorge Acereda Maciá</dc:creator>
    <dc:date>2013-05-29T17:18:12</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3968">
    <title>Re: Problems with 'call'</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3968</link>
    <description>&lt;pre&gt;
Hi Alex,


I still get the same error. 

,----------------------------------------------------------
| $ $WEKAHOME
| -bash: /home/tj/java/weka/weka-3-6-9: Ist ein Verzeichnis
| $ $TERM
| -bash: xterm-256color: Kommando nicht gefunden.
`----------------------------------------------------------

the variable is set and known to BASH, but somehow PicoLisp does not
know about it:
,--------------------
| : (sys "WEKAHOME")
| -&amp;gt; NIL
| : (sys "TERM")    
| -&amp;gt; "xterm-256color"
`--------------------

&lt;/pre&gt;</description>
    <dc:creator>Thorsten Jolitz</dc:creator>
    <dc:date>2013-05-29T17:05:27</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3967">
    <title>Re: Problems with 'call'</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3967</link>
    <description>&lt;pre&gt;Hi Thorsten,


The shell expands the variable $WEKAHOME when it evaluates the command
line, which does not happen if you call "java" directly.

You might try this:

   (call "java"
      "-cp"
      (pack (sys "WEKAHOME") "/weka.jar")
      "weka.classifiers.functions.SMO"
      "-h" )

♪♫ Alex
&lt;/pre&gt;</description>
    <dc:creator>Alexander Burger</dc:creator>
    <dc:date>2013-05-29T16:34:51</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3966">
    <title>Problems with 'call'</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3966</link>
    <description>&lt;pre&gt;
Hi List,

why does this work in the Shell command line:

,----------------------------------------------------------------
| $ java -cp $WEKAHOME/weka.jar weka.classifiers.functions.SMO -h
|
| Help requested.
|
| General options:
|
| -h or -help
|         Output help information. [...]
`----------------------------------------------------------------

but this does not work in the PicoLisp commandline:

 ,---------------------------------------------------------------------------------
 | : (call "java" "-cp" "$WEKAHOME/weka.jar" "weka.classifiers.functions.SMO" "-h")
 | Fehler: Hauptklasse weka.classifiers.functions.SMO konnte nicht
 | gefunden oder geladen werden
 | -&amp;gt; NIL
 `---------------------------------------------------------------------------------
[TRANSLATION: Error: class weka.classifiers.functions.SMO could not be
found or loaded]

--
cheers,
Thorsten

&lt;/pre&gt;</description>
    <dc:creator>Thorsten Jolitz</dc:creator>
    <dc:date>2013-05-29T16:02:48</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.lisp.picolisp.general/3965">
    <title>Re: REPL and OpenGL</title>
    <link>http://permalink.gmane.org/gmane.lisp.picolisp.general/3965</link>
    <description>&lt;pre&gt;A couple of options:

- Use coroutines and yield control to the main thread in the glutIdleFunc.
- Use a library that doesn't take control of the main loop. I can think of mine ( http://code.google.com/p/libaw/ ) and GLFW ( http://www.glfw.org ).


On May 28, 2013, at 10:57 AM, Oskar Wieland &amp;lt;oskar.wieland-Mmb7MZpHnFY&amp;lt; at &amp;gt;public.gmane.org&amp;gt; wrote:


&lt;/pre&gt;</description>
    <dc:creator>Jorge Acereda Maciá</dc:creator>
    <dc:date>2013-05-28T18:07:26</dc:date>
  </item>
  <textinput rdf:about="http://search.gmane.org/?group=$group=gmane.lisp.picolisp.general">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.lisp.picolisp.general</link>
  </textinput>
</rdf:RDF>
