<?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 about="http://permalink.gmane.org/gmane.comp.lang.pike.user">
    <title>gmane.comp.lang.pike.user</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user</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.comp.lang.pike.user/6715"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6714"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6713"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6712"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6711"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6710"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6709"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6708"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6707"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6706"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6705"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6704"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6703"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6702"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6701"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6700"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6699"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6698"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6697"/>
        <rdf:li rdf:resource="http://permalink.gmane.org/gmane.comp.lang.pike.user/6696"/>
      </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.comp.lang.pike.user/6715">
    <title>C API: accessing to the elements of an array</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6715</link>
    <description>Yep, but possibly with a typecheck first. (I still don't know if the
method is internal, then it might just as well *return* the array.)


</description>
    <dc:creator>Mirar &lt; at &gt; Pike  importmöte för mailinglistan</dc:creator>
    <dc:date>2008-09-30T11:45:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6714">
    <title>C API: accessing to the elements of an array</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6714</link>
    <description>Accessing the elements is not that difficult either. This should give
the array_index item (svalue) from the array at stack_index position on
the stack.

ITEM(Pike_sp[-stack_index])[array_index]


</description>
    <dc:creator>Martin Nilsson (Opera Mini - AFK!) &lt; at &gt; Pike (-) importmöte för mailinglistan</dc:creator>
    <dc:date>2008-09-30T09:05:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6713">
    <title>C API: accessing to the elements of an array</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6713</link>
    <description>Do you need to access the elements, or do you need to just index them
out and leave them on the stack?

The last is easier, you simply make sure you have the array on top of
the stack, push an integer and do f_index(2), which gives the
equivalent of arr[i].

But I'm not sure what kind of problem you are trying to solve. It
looks like you're calling matrixX(_lu) internally, not via the method
calls, and you wouldn't need the args counter then...


</description>
    <dc:creator>Mirar &lt; at &gt; Pike  importmöte för mailinglistan</dc:creator>
    <dc:date>2008-09-30T08:25:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6712">
    <title>C API: accessing to the elements of an array</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6712</link>
    <description>Hello:

I'm adding a solveLinearEquations method to Math.Matrix, writting new code
in matrix_code.h. There's something I don't know how to do.

Well, from inside solveLinearEquations I call the method which does the LU
decompositon, by typing

static void solveLinearEquations ( INT32 args )
{
//SOme code to access to the parameters

matrixX(_lu) (0 ); // the lu decomposition doesn't need any parameters

//Here I need something to access to the elements of the array which
matrixX(_lu) returns into pike.


//More code which solve the equations system
}

The matrixX(_lu) method pushes an array with for elements into the stack
calling something similar to

push_object( L);
 push_object ( U);
 push_object ( Permutations );
 push_int ( Sign );
 f_aggregate (4); /* Make an array of the 4 top elements on the stack. */

Now I want to access those elements from solveLinearEquations in order to
use the L and U matrices to solve a linear equations system. How can I
"unaggregate" those elements, or pop the complete array</description>
    <dc:creator>Felip Alàez Nadal</dc:creator>
    <dc:date>2008-09-30T07:08:33</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6711">
    <title>Re: Filesystem.System()-&gt;mkdir()</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6711</link>
    <description>You should probably wonder "why mkdir() and Filesystem...mkdir()". 

Filesystem solves other problems, for instance when you have a tar
file or a remote filesystem. It was created as a base of making
systems-that-contains-files with a common interface.

mkdir() and Stdio.* exist because it's what you *usually* want to do
without going circles before you get there.

(mkdirhier() solves a superproblem of mkdir().)


</description>
    <dc:creator>Mirar &lt; at &gt; Pike  importmöte för mailinglistan</dc:creator>
    <dc:date>2008-09-23T20:40:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6710">
    <title>Re: Filesystem.System()-&gt;mkdir()</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6710</link>
    <description>
http://pike.ida.liu.se/generated/manual/modref/ex/predef_3A_3A/Filesyste
m/Base/mkdir.html

Out of curiosity, why Filesystem.Base()-&gt;mkdir() and Stdio.mkdirhier()?

</description>
    <dc:creator>Bertrand LUPART</dc:creator>
    <dc:date>2008-09-23T15:42:50</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6709">
    <title>Re: Filesystem.System()-&gt;mkdir()</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6709</link>
    <description>
what is missing is links to functions of parent classes in the docs:
http://pike.ida.liu.se/generated/manual/modref/ex/predef_3A_3A/Filesystem/Base/mkdir.html

greetings, martin.
</description>
    <dc:creator>Martin Bähr</dc:creator>
    <dc:date>2008-09-23T15:19:44</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6708">
    <title>Filesystem.System()-&gt;mkdir()</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6708</link>
    <description>not there. any reason for that or is it just missing?


</description>
    <dc:creator>Arne Goedeke</dc:creator>
    <dc:date>2008-09-23T14:15:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6707">
    <title>Re: Public.Tools.RRDtool</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6707</link>
    <description>I've got some somewhere...  I'll try to dig some up.

It isn't very good, however.  The thing about rrdtool is that they don't have much of an api.  The api is nothing more than passing arguments to the function, the same way as you pass arguments to the command line application.  It does all the parsing itself.  Everything else was the same, including parts that dumped to or to a file, still did so.  You couldn't request to get the information back as a string buffer or something.  You had to dump to the file (or stdout), then parse that yourself, rather than getting something more in a machine format (like arrays or something).

It turned out to be almost easier to skip it and just spawn processes and capture the output.



----- Original Message ----
From: James Harton &lt;james&lt; at &gt;helicopter.geek.nz&gt;
To: pike&lt; at &gt;roxen.com
Sent: Sunday, September 21, 2008 10:55:34 PM
Subject: Public.Tools.RRDtool

Hi there.

There are no module docs for this module on modules.gotpike.org - does 
anyone have any code they can show </description>
    <dc:creator>Lance Dillon</dc:creator>
    <dc:date>2008-09-22T09:35:20</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6706">
    <title>Re: Public.Network.Pcap</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6706</link>
    <description>Hello,


Looks like your are using the package pike7.6-7.6.93-1 from Debian etch
which is known to be buggy.

Maybe try the ones from Henrik.

Add the following to your /etc/sources.list:
----8&lt;----8&lt;----8&lt;----8&lt;----
deb http://debian.han.pp.se/debian/ stable main
----&gt;8----&gt;8----&gt;8----&gt;8----
and install 7.6.112

As a side note, all the Debian etch packages installing code from
modules.gotpike.org (pike7.6-public*) are compiled for 7.6.93.
They aren't available from debian.han.pp.se for 7.6.112 and you'll have
to rebuild them yourself using monger:
http://modules.gotpike.org/docs/UsingMonger.html

</description>
    <dc:creator>Bertrand LUPART</dc:creator>
    <dc:date>2008-09-22T07:24:41</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6705">
    <title>Public.Tools.RRDtool</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6705</link>
    <description>Hi there.

There are no module docs for this module on modules.gotpike.org - does 
anyone have any code they can show me?

Cheers.

James.


</description>
    <dc:creator>James Harton</dc:creator>
    <dc:date>2008-09-22T02:55:34</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6704">
    <title>Re: Public.Network.Pcap</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6704</link>
    <description>
Hi guys.

I get the following error from Thread.Queue when tracing fast transfers 
- the Queue seems very bursty even with 10 workers, and seems to build 
up before unblocking the read() calls.

It's only using about 0.5% CPU and hardly any RAM, so it's not that the 
machine can't handle it:

Svalue stack overflow. (99624 of 100000 entries on stack, needed 256 
more entries)
/usr/lib/pike/7.6.93/lib/modules/Thread.pmod:373: 
Thread.Thread(0).Queue(38950)-&gt;write(mapping[5])
/usr/lib/pike/7.6.93/lib/modules/Public.pmod/Network.pmod/Pcap.pmod:6: 
Public.Network.Pcap.Pcap()-&gt;loop(0)


The code I'm using is:

int main() {
  queue = Thread.Queue();
  threads = ({});
  for (int i; i &lt; THREADS; i++)
    threads += ({ Thread.thread_create(worker) });
  fe = IP.FlowEngine();
  object cap = Public.Network.Pcap.Pcap();
  cap-&gt;set_capture_callback(queue-&gt;write);
  //cap-&gt;set_capture_callback(capture_cb);
  cap-&gt;set_capture_length(MTU);
  cap-&gt;open_live(IF);
  threads += ({ Thread.thread_create(cap-&gt;loop, 0) });
  return</description>
    <dc:creator>James Harton</dc:creator>
    <dc:date>2008-09-21T22:43:10</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6703">
    <title>dwim - format not handled</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6703</link>
    <description>They are actually getting more common in recent geek/web2 dev circles.
Surprising but pleasant.


</description>
    <dc:creator>Johan Sundström (Achtung Liebe!) &lt; at &gt; Pike (-) importmöte för mailinglistan</dc:creator>
    <dc:date>2008-09-18T21:05:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6702">
    <title>dwim - format not handled</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6702</link>
    <description>That's an ISO format... I didn't know anyone *actually* used those. :)


</description>
    <dc:creator>Mirar &lt; at &gt; Pike  importmöte för mailinglistan</dc:creator>
    <dc:date>2008-09-18T20:45:03</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6701">
    <title>dwim - format not handled</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6701</link>
    <description>The Calendar module FAQ asked for notifications for standard formats that
the dwim functions do not successfully parse.  Here is a sample one, used in
some RSS-type feeds (notably, Flickr/Yahoo's Media RSS format):

2008-08-08T15:13:53-08:00

Replace the T with a space and it parses correctly.

</description>
    <dc:creator>Jeff Ober</dc:creator>
    <dc:date>2008-09-18T19:12:05</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6700">
    <title>Re: Math.Matrix revisited</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6700</link>
    <description>There hasn't been a lot of man-hours dedicated to it lately. Feel free
to pick a FIXME from CHANGES and fill out the details.


</description>
    <dc:creator>Peter Bortas &lt; at &gt; Pike  importmöte för mailinglistan</dc:creator>
    <dc:date>2008-09-18T18:30:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6699">
    <title>Re: Math.Matrix revisited</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6699</link>
    <description>Anyone working on that?


</description>
    <dc:creator>Mirar &lt; at &gt; Pike  importmöte för mailinglistan</dc:creator>
    <dc:date>2008-09-18T07:35:04</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6698">
    <title>Re: Math.Matrix revisited</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6698</link>
    <description>Changelog. Absolutely only the changelog. Has been for weeks.


</description>
    <dc:creator>Peter Bortas &lt; at &gt; Pike  importmöte för mailinglistan</dc:creator>
    <dc:date>2008-09-17T15:55:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6697">
    <title>Re: Math.Matrix revisited</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6697</link>
    <description>What is the delay for 7.8 release right now?


</description>
    <dc:creator>Mirar &lt; at &gt; Pike  importmöte för mailinglistan</dc:creator>
    <dc:date>2008-09-17T12:55:02</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6696">
    <title>Re: Math.Matrix revisited</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6696</link>
    <description>
/.../

There's a newline missing at the end of the error message that
apparently makes you misinterpret it (the "Unknown program" bit comes
from that the backtrace formatter couldn't find the name of the
program that contains norm()). I've now fixed newlines for several
error messages in matrix_code.h. Thanks.

As for your math patches, I hope someone else more familiar with that
area will review your contribution so that we get it in. Note however
that 7.8 is in strict feature freeze, so it's unlikely that it'll get
into that version.


</description>
    <dc:creator>Martin Stjernholm</dc:creator>
    <dc:date>2008-09-17T12:13:53</dc:date>
  </item>
  <item rdf:about="http://permalink.gmane.org/gmane.comp.lang.pike.user/6695">
    <title>Re: Math.Matrix revisited</title>
    <link>http://permalink.gmane.org/gmane.comp.lang.pike.user/6695</link>
    <description/>
    <dc:creator>Felip Alàez Nadal</dc:creator>
    <dc:date>2008-09-17T11:38:03</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.lang.pike.user">
    <title>Search Engine</title>
    <description>Search the mailing list at Gmane</description>
    <name>query</name>
    <link>http://search.gmane.org/?group=$group=gmane.comp.lang.pike.user</link>
  </textinput>
</rdf:RDF>
