<p dir="ltr">Glad to hear it, Rainer! These autoreconnection changes will be merged into Nitrogen master later this week.</p>
<p dir="ltr">--<br>
Jesse Gumm<br>
Owner, Sigma Star Systems<br>
414.940.4866 || <a href="http://sigma-star.com">sigma-star.com</a> || @jessegumm</p>
<div class="gmail_quote">On Oct 15, 2014 5:41 AM, "Rainer Hansen" <<a href="mailto:rainer.hansen@gmx.net">rainer.hansen@gmx.net</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Jesse Gumm <<a href="mailto:gumm@sigma-star.com">gumm@sigma-star.com</a>> writes:<br>
<br>
> Thanks for the heads up. There are some auto-reconnection<br>
> capabilities built into Nitrogen, but they are a little nasty and<br>
> undocumented and this particular page does not use them. I'm working<br>
> to improve this in the upcoming 2.3 release (Which should be ready in<br>
> the next couple of weeks).<br>
><br>
> I'll do some playing around tonight and shoot you an email off-list<br>
> tonight or tomorrow.<br>
><br>
> -Jesse<br>
Jesse,<br>
<br>
thanks a lot for your awesome work. After your updates everything is<br>
working fine. :-)<br>
<br>
For all interested, this is what you can do to test the updated version:<br>
<br>
1) git clone git://<a href="http://github.com/choptastic/NitrogenProject.com.git" target="_blank">github.com/choptastic/NitrogenProject.com.git</a> --branch tests<br>
<br>
2) cd NitrogenProject.com<br>
<br>
3) make && make run<br>
<br>
4) Go with your web browser to <a href="http://localhost:8000/demos/comet2" target="_blank">http://localhost:8000/demos/comet2</a><br>
<br>
Regards,<br>
Rainer<br>
<br>
><br>
><br>
><br>
> On Wed, Oct 8, 2014 at 11:55 AM, Rainer Hansen <<a href="mailto:rainer.hansen@gmx.net">rainer.hansen@gmx.net</a>> wrote:<br>
>><br>
>> Jesse Gumm <<a href="mailto:gumm@sigma-star.com">gumm@sigma-star.com</a>> writes:<br>
>><br>
>>> Hi Rainer,<br>
>>><br>
>>> Nitrogen has a pretty simple chat example:<br>
>>> <a href="http://nitrogenproject.com/demos/comet2" target="_blank">http://nitrogenproject.com/demos/comet2</a><br>
>>><br>
>>> (see the "View Source" link to see the code that makes that page<br>
>>> work). Changing that page to use multiple chat rooms is about 5-6 more<br>
>>> lines of code.<br>
>>><br>
>>> Alternatively, you could look into Chicago Boss (go through the<br>
>>> tutorial, and the ways of building a chat system with it should become<br>
>>> rather clear).<br>
>>><br>
>>> Anyway, good luck!<br>
>>><br>
>>> --<br>
>>> Jesse Gumm<br>
>>> Owner, Sigma Star Systems<br>
>>> <a href="tel:414.940.4866" value="+14149404866">414.940.4866</a> || <a href="http://sigma-star.com" target="_blank">sigma-star.com</a> || @jessegumm<br>
>><br>
>><br>
>> Hi Jesse,<br>
>><br>
>> thanks for the fast answer and the link to the chat demo. It works great<br>
>> in the desktop browser (Firefox) but on my smartphone browser (also<br>
>> Firefox) I seem to get trouble with timeouts. My smartphone is not<br>
>> constantly connected to the Internet and this seems to cause some<br>
>> trouble. I can still post and others on the same page see the post but<br>
>> nothing is updated in my mobile browser window. I can also not see the<br>
>> updates of others after the connection is once interrupted.<br>
>><br>
>> Any ideas on how to improve the Nitrogen example to handle this situation?<br>
>><br>
>> I will also take a look at the Chicago Boss tutorial ...<br>
>><br>
>> Rainer<br>
>><br>
>> _______________________________________________<br>
>> erlang-questions mailing list<br>
>> <a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
>> <a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
<br>
_______________________________________________<br>
erlang-questions mailing list<br>
<a href="mailto:erlang-questions@erlang.org">erlang-questions@erlang.org</a><br>
<a href="http://erlang.org/mailman/listinfo/erlang-questions" target="_blank">http://erlang.org/mailman/listinfo/erlang-questions</a><br>
</blockquote></div>