<?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://blog.gmane.org/gmane.comp.lang.erlang.general">
    <title>gmane.comp.lang.erlang.general</title>
    <link>http://blog.gmane.org/gmane.comp.lang.erlang.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://comments.gmane.org/gmane.comp.lang.erlang.general/32515"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32511"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32508"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32501"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32497"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32489"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32488"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32483"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32482"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32479"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32476"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32471"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32464"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32463"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32460"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32456"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32453"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32446"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32441"/>
        <rdf:li rdf:resource="http://comments.gmane.org/gmane.comp.lang.erlang.general/32433"/>
      </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://comments.gmane.org/gmane.comp.lang.erlang.general/32515">
    <title>Looking for examples of interaction betweengen_server and gen_fsm</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32515</link>
    <description>Hi,
it's a little bit hard for me to grasp how to plug together gen_servers
and gen_fsms that belong to the same service or operation.

For example, Joe shows[1] how to abstract away the protocol of a
webserver, so you end up having three processes[2]:
server &lt;-&gt; some_protocol &lt;-&gt; tcp/udp
I would write the server-process as a gen_server and the
protocol-process as a gen_fsm.

Now I wonder how/where to start the protocol-process from the server:
Would I start it from the server's init function and save its pid in the
server's state?

Or would I start both the server and the protocol-process via the
supervisor / supervision strategy?
If so, how does the server know about the protocol-process? It's obvious
that the protocol-process's pid needs to be passed along somehow to the
server.

You might have noticed that I'm not sure when to use a supervision
strategy or when to spawn a process from within a process that is
supervised. That is because I don't know how/if it's possible in a
supervision strategy to pass </description>
    <dc:creator>Christian Czura</dc:creator>
    <dc:date>2008-08-28T07:46:27</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32511">
    <title>Proper way to build 64-bit R12B-3 onsolaris10/opensolaris</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32511</link>
    <description>What is the supported way to build a 64-bit R12B-3 on Solaris 
10/OpenSolaris?

I'm asking because I have gotten a version to work, by specifying 
CC='gcc -m64' LD=$CC when configuring, and then fixing up the &lt; at &gt;DED_LD&lt; at &gt; 
things in the common_test rx driver by hand.  This has worked fine for a 
large variety of things including our own linked-in drivers. 
Unfortunately today I discovered that they way the the crypto_drv gets 
built it does not work correctly doesn't load.

Any direction on the "right way" to build 64-bit version for solaris, or 
what others have done would be appreciated.


--
paul
</description>
    <dc:creator>Paul Fisher</dc:creator>
    <dc:date>2008-08-28T18:48:09</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32508">
    <title>term_to_binary and record improvements</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32508</link>
    <description>I got to thinking about records and structs, and this lead me to
think about the behaviour of term_to_binary ..

term_to_binary has a misfeature that would cause problems in
implementing dynamic records.

term_to_binary does not efficiently encode shared data
structures. This is best illustrated by an example:

Consider this

-module(test3).
-compile(export_all).

test() -&gt;
    Big = lists:duplicate(1000,a),
    X = {Big},
    Y = {Big,Big,Big,Big},
    {sizeOf(Big),sizeOf(X), sizeOf(Y)}.

sizeOf(T) -&gt; size(term_to_binary(T)).


Look what happens when we run this:

1&gt; c(test3).
{ok,test3}
2&gt; test3:test().
{4007,4009,16027}

The third number in this tuple surprises me.  I had expected it to be
12 bytes larger than 4009. Internally Y is a pointer to four words (an
arity tag, with value 4), then 4 identical pointers. But the fact that
sizeOf(Y) is four times sizeOf(X) means that shared sub-structures in
Erlang terms do not become shared in the binary representation of the
term.

Since term_to_binary and binary</description>
    <dc:creator>Joe Armstrong</dc:creator>
    <dc:date>2008-08-28T18:47:25</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32501">
    <title>comments on erlang course</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32501</link>
    <description/>
    <dc:creator>Bill McKeeman</dc:creator>
    <dc:date>2008-08-28T02:22:44</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32497">
    <title>order-preserving send?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32497</link>
    <description/>
    <dc:creator>Bill McKeeman</dc:creator>
    <dc:date>2008-08-27T23:03:19</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32489">
    <title>equivalent to global:register() for JInterfaceAPI ??</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32489</link>
    <description>I need a java node to be reachable from some erlang processes and I want 
  to do the equivalent of a global register to register a mailbox in the 
java node. Then the erlang code can send messages to that mailbox. Is 
this possible.?? I am fairly new to erlang, and only just started with 
JInterface.

Thanks in advance.
Mark.
</description>
    <dc:creator>Mark Geib</dc:creator>
    <dc:date>2008-08-27T15:48:51</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32488">
    <title>equivalent to global:register() for JInterfaceAPI ??</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32488</link>
    <description>I need a java node to be reachable from some erlang processes and I want 
  to do the equivalent of a global register to register a mailbox in the 
java node. Then the erlang code can send messages to that mailbox. Is 
this possible.?? I am fairly new to erlang, and only just started with 
JInterface.
</description>
    <dc:creator>Mark Geib</dc:creator>
    <dc:date>2008-08-27T15:38:49</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32483">
    <title>Field name to tuple element number at compiletime</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32483</link>
    <description>Suppose I have -record(foo, { bar, baz }). I understand that I can do  
record_info(fields, foo) and get a list of fields at compile time.

Is there a way to translate bar into 2 at compile time as well?

Thanks, Joel

--
wagerlabs.com





</description>
    <dc:creator>Joel Reymont</dc:creator>
    <dc:date>2008-08-27T15:01:00</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32482">
    <title>Erlang and DICOM</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32482</link>
    <description/>
    <dc:creator>eduardo f</dc:creator>
    <dc:date>2008-08-27T10:36:56</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32479">
    <title>Please criticise these principles</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32479</link>
    <description>I've just been looking at ISO/EIC DTR 13211-5:2007
"Prolog Multi-threading predicates".
This is a proposed addition to the ISO Prolog standard,
whose declared aim is "to promote the portability of
multi-threaded Prolog applications".

As I read through it, I felt sicker and sicker and
sicker.  If any of you are parents, you may know the
feeling when a child is being naughty and seems to be
going out of his/her way to do things that are OBVIOUSLY
to his/her detriment.

I've boiled my reactions down to "here is a short list
of design principles, every single one of which is
violated by the proposal."  Before sending them off to
the ISO Prolog crowd, I thought I'd ask the opinion of
Erlangers, especially Joe Armstrong, should he happen
to read this.

I concede that debugging tools may need to do all sorts
of things that are otherwise risky.  There are quite a
few predicates in the 'erlang' module that are labelled
as "debugging only".  What I'm talking about is *core*
facilities to be used in *normal* code that</description>
    <dc:creator>Richard A. O'Keefe</dc:creator>
    <dc:date>2008-08-27T04:47:21</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32476">
    <title>Erlang STOMP client</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32476</link>
    <description/>
    <dc:creator>Juan Jose Comellas</dc:creator>
    <dc:date>2008-08-26T22:44:22</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32471">
    <title>[BUG] in inets/http_uri.erl</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32471</link>
    <description>Hi,
  there is a bug in inets/http_uri.erl in function parse_uri_rest,
which first looks for '/' and then for '?' to get hostname and query
params.
This is not very good since some requests can have '/' after '?',
which messes up the hostname.
Example:

(netskin&lt; at &gt;mars)15&gt;
http_uri:parse("http://ec2.amazonaws.com?Action=DescribeInstances&amp;AWSAccessKeyId=XXX&amp;SignatureVersion=1&amp;Timestamp=2008-08-26T20:22:24&amp;Version=2007-08-29&amp;Signature=z%2FVynmrFTFe4dHtJlsPifSRtTLw%3D").
{http,[],"ec2.amazonaws.com",80,"/",
      "?Action=DescribeInstances&amp;AWSAccessKeyId=XXX&amp;SignatureVersion=1&amp;Timestamp=2008-08-26T20:22:24&amp;Version=2007-08-29&amp;Signature=z%2FVynmrFTFe4dHtJlsPifSRtTLw%3D"}

which is ok, hostname is "ec2.amazonaws.com", but now:

(netskin&lt; at &gt;mars)29&gt;
http_uri:parse("http://ec2.amazonaws.com?Action=AuthorizeSecurityGroupIngress&amp;AWSAccessKeyId=XXX&amp;CidrIp=0.0.0.0/6&amp;FromPort=0&amp;GroupName=test&amp;IpProtocol=tcp&amp;SignatureVersion=1&amp;Timestamp=2008-08-26T19:41:13&amp;ToPort=65535&amp;Version=2007-08-29&amp;Signature=ClTihgpBO3%2BsMIlEDRem9AcZ6%2</description>
    <dc:creator>karol skocik</dc:creator>
    <dc:date>2008-08-26T21:10:50</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32464">
    <title>Documentation Question</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32464</link>
    <description/>
    <dc:creator>David Mercer</dc:creator>
    <dc:date>2008-08-26T18:24:33</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32463">
    <title>internal dialyzer error</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32463</link>
    <description>What does this mean?

dialyzer  -c . --src --build_plt

{dialyzer_error,[65,110,97,108,121,115,105,115,32,109,117,
                   
115,116,32,98,101,32,100,111,110,101,32,111,110,32,98,121,
                   
116,101,32,99,111,100,101,32,105,110,32,97,110,97,108,121,
                  115,105,115,32,109,111,100,101,32,"plt_build"]}
[{dialyzer_options,check_output_plt,1},
  {dialyzer_options,postprocess_opts,1},
  {dialyzer_options,build,1},
  {dialyzer_cl_parse,cl,1},
  {dialyzer_cl_parse,start,0},
  {dialyzer,plain_cl,0},
  {init,start_it,1},
  {init,start_em,1}]

dialyzer: Internal problems were encountered in the analysis.

%% from beam

dialyzer  -c . --build_plt

Could not compute md5 for file: /Users/joelr/Work/openpoker/server/src/ 
betting.beam

dialyzer: Internal problems were encountered in the analysis.

Thanks, Joel

--
wagerlabs.com





</description>
    <dc:creator>Joel Reymont</dc:creator>
    <dc:date>2008-08-26T17:58:52</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32460">
    <title>Erlang Module installation</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32460</link>
    <description>I'm new to Erlang, and I'm trying to use ESDL. I have it ESDL
installed to /opt/local/lib/erlang/lib/esdl-0.96.0626/ (the default).
But when I go to include ESDL in my .erl file I have to put it like
like this -include(/opt/local/lib/erlang/lib/esdl-0.96.0626/include/sdl.hrl)
otherwise it doesn't work (can't find the file). So I finally just
used the absolute paths as mentioned above. But then it complains that
it "sh: line 0: exec: sdl_driver: not found". What's the proper way to
install a erlang module and to include it in a project. Is there a way
to setup a search path? In Python it looks first in the current
directory then in the site-packages directory of the Python install
dir.

Can anyone help me out?

Timothy

</description>
    <dc:creator>Timothy Baldridge</dc:creator>
    <dc:date>2008-08-26T14:30:45</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32456">
    <title>how: documentation patches?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32456</link>
    <description>I'd like to submit a fairly small documentation patch, but I'm not
sure how/where...

What should I patch against? The man pages?

Where should I post the patch? The erlang-patches list?
</description>
    <dc:creator>Tim Fletcher</dc:creator>
    <dc:date>2008-08-26T11:20:14</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32453">
    <title>Limits on integer size</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32453</link>
    <description>From: "Bjorn Gustavsson" &lt;bgustavsson&lt; at &gt;gmail.com&gt;


Does this also means, that even with a range where it seems to work, some values will never be returned, because of the gaps in the floating point representation?

How many bits of randomness can I expect with a call to random:uniform(N)?

ImRe
</description>
    <dc:creator>Imre Palik</dc:creator>
    <dc:date>2008-08-26T08:26:26</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32446">
    <title>Limits on integer size</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32446</link>
    <description>Hi,

I tried to generate some test data in the following way:

-module(test_gen).
-export([run/0]).

loop(0) -&gt;
    void;
loop(I) -&gt;
    HN = 99999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999999
 9999999999999999999999999999999999999999999999999999999999999999999999999999999999999999</description>
    <dc:creator>Imre Palik</dc:creator>
    <dc:date>2008-08-26T06:56:20</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32441">
    <title>Ruby-like crypt function?</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32441</link>
    <description>I'm wondering, perhaps I'm not looking in the right place, but the
crypto application, along with the main erlang BIF's, don't seem to
have the equivalent of Ruby's String#crypt() method. I've searched a
bit, with no luck. Hopefully posting here will lead me in the right
direction!

Thank you in advance.
</description>
    <dc:creator>Chris Blair</dc:creator>
    <dc:date>2008-08-26T05:54:46</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32433">
    <title>Using a queue</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32433</link>
    <description>I'm trying to use the queue module in Erlang by trying it out in the
console. Here is what I tried and here are the results:

34&gt; T1 = queue:new().
{[],[]}
35&gt; queue:in("foo", T1).
{["foo"],[]}
36&gt; queue:in("bar", T1).
{["bar"],[]}
37&gt; queue:out(T1).
{empty,{[],[]}}
38&gt; queue:out(T1).
{empty,{[],[]}}
39&gt; queue:out(T1).
{empty,{[],[]}}
40&gt; queue:in("foo", T1).
{["foo"],[]}
41&gt; queue:out(T1).
{empty,{[],[]}}


What confuses me here is that I expected foo and bar to be somehow
next to one another after inserting bar. Why is it that it's only foo?

Also, I have another question. I would like a linked list in Erlang
(similar to the STL list class in C++), is there something like that?
It would be also nice if the individual elements in the said list
could be accessed in a similar fashion as an array :) (don't know if
this is possible).
</description>
    <dc:creator>yoursurrogategod&lt; at &gt;gmail.com</dc:creator>
    <dc:date>2008-08-25T23:53:34</dc:date>
  </item>
  <item rdf:about="http://comments.gmane.org/gmane.comp.lang.erlang.general/32429">
    <title>tv:start() fail</title>
    <link>http://comments.gmane.org/gmane.comp.lang.erlang.general/32429</link>
    <description>I'm connected to a remote server via SSH. I can run X11 apps such as
xeyes and they work. But when I load up Erlang and run tv.start(). I do
not see the usual interface. No errors are generated so it's hard to
tell what is going on. Nothing in remote or local dmesg.

Does anyone have any suggestions as to what might stop tv.start() from
working without generating an error, or where I might find messages
indicating what the problem is?

Vik :v)

</description>
    <dc:creator>Vik Olliver</dc:creator>
    <dc:date>2008-08-25T22:08:15</dc:date>
  </item>
  <textinput about="http://search.gmane.org/?group=$group=gmane.comp.lang.erlang.general">
    <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.erlang.general</link>
  </textinput>
</rdf:RDF>
