<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="http://unixmonkeys.com/amnesiac/blog/gadgets/Blog/templates/atom.xsl"?><feed version="0.3" xmlns="http://purl.org/atom/ns#" xml:lang="en-us">
<title type="text/plain" mode="xml">Amnesiac's weblog</title>
<link rel="alternate" type="text/html" href="http://unixmonkeys.com/amnesiac/blog" title="Object" />
	<author>
		<name>Marco Antonio Manzo</name>
		<url>http://unixmonkeys.com/amnesiac/blog</url>
		<email>amnesiac@unixmonkeys.com</email>
	</author>
<tagline type="text/plain" mode="xml">Code</tagline>
<generator>JAWS 0.6.1</generator>
<copyright type="text/plain" mode="xml">2006, Marco Antonio Manzo</copyright>
<modified>2006-09-09T23:17:01-05:00</modified>
<entry>
	<title type="text/plain" mode="xml"><![CDATA[ Net::RMI - Second Draft ]]></title>
	<link rel="alternate" type="text/html" href="http://unixmonkeys.com/amnesiac/blog/index.php?gadget=Blog&amp;action=SingleView&amp;id=5" title="Object" />
	<author>
		<name>Marco Antonio Manzo</name>
		<url>http://unixmonkeys.com/amnesiac/blog</url>
		<email>amnesiac@unixmonkeys.com</email>
	</author>
	<id>http://unixmonkeys.com/amnesiac/blog/5</id>
	<modified>2006-09-09T23:17:01-05:00</modified>
	<issued>2006-09-09T23:15:35-05:00</issued>
	<created>2006-09-09T23:15:35-05:00</created>
	<summary type="text/html" mode="escaped"><![CDATA[ 	<p>It's been a while since my last post (again), I have been very busy at work and playing with some Java EE stuff lately. However, I enjoy sharing some of my free time to my personal and open source projects.</p>
	<p>A week ago, I just gave a speech about <i>Unix Systems Programming</i>, Chapter 3 - <i>Working with files</i> for the Open Source Community at work. It was practically a two-hour technical discussion on how a Unix-like system sees/handles files and a general overview of syscalls, user-level calls and other topics like the multipurpose <i>fcnt</i> syscall and memory mapped I/O. It was quite fun.</p>
	<p>The other side of the story is about <b>Net::RMI</b>, my pure-Perl Remote Method Invocation implementation. Yes, the project is going quite <i>slow</i>, but the design and implementation is near to its final release. While coding the first version of the API, I discovered some design flaws that made me rethink the way the server part was doing its job and also rethink the request-response interchange between the proxy object and the server object.</p>
	<p>Here's the UML diagram for the second draft: </p>
	<div align="center"> <a href="/amnesiac/net-rmi2.jpg"><img src="/amnesiac/net-rmi2_small.jpg" alt="Click to enlarge" /></a></div>
	<p>As you can see, there are several changes to the API compared to the new version, new classes and a whole new idea on how stuff works internally, In the end, for the user it needs to be transparent.</p>
	<p>There's a bad symbol usage in the diagram, the <i>prmiregistry</i>, since this is a class diagram and prmiregistry is not a class, is an independent daemon that waits for requests from the Net::RMI::Registry class. But I wanted to use it to remember that Net::RMI::Registry depends on that process.</p>
	<p>Well, we will see what happens, I really hope to finish this stuff as fast as I can, provide a complete test suite and some code examples for the public release.</p>
	<p>Until then, have fun.
</p>
 ]]></summary>
	<content type="text/html" mode="escaped"><![CDATA[ 	<p>It's been a while since my last post (again), I have been very busy at work and playing with some Java EE stuff lately. However, I enjoy sharing some of my free time to my personal and open source projects.</p>
	<p>A week ago, I just gave a speech about <i>Unix Systems Programming</i>, Chapter 3 - <i>Working with files</i> for the Open Source Community at work. It was practically a two-hour technical discussion on how a Unix-like system sees/handles files and a general overview of syscalls, user-level calls and other topics like the multipurpose <i>fcnt</i> syscall and memory mapped I/O. It was quite fun.</p>
	<p>The other side of the story is about <b>Net::RMI</b>, my pure-Perl Remote Method Invocation implementation. Yes, the project is going quite <i>slow</i>, but the design and implementation is near to its final release. While coding the first version of the API, I discovered some design flaws that made me rethink the way the server part was doing its job and also rethink the request-response interchange between the proxy object and the server object.</p>
	<p>Here's the UML diagram for the second draft: </p>
	<div align="center"> <a href="/amnesiac/net-rmi2.jpg"><img src="/amnesiac/net-rmi2_small.jpg" alt="Click to enlarge" /></a></div>
	<p>As you can see, there are several changes to the API compared to the new version, new classes and a whole new idea on how stuff works internally, In the end, for the user it needs to be transparent.</p>
	<p>There's a bad symbol usage in the diagram, the <i>prmiregistry</i>, since this is a class diagram and prmiregistry is not a class, is an independent daemon that waits for requests from the Net::RMI::Registry class. But I wanted to use it to remember that Net::RMI::Registry depends on that process.</p>
	<p>Well, we will see what happens, I really hope to finish this stuff as fast as I can, provide a complete test suite and some code examples for the public release.</p>
	<p>Until then, have fun.
</p>
 ]]></content>
</entry>
<entry>
	<title type="text/plain" mode="xml"><![CDATA[ A simple Perl contest... ]]></title>
	<link rel="alternate" type="text/html" href="http://unixmonkeys.com/amnesiac/blog/index.php?gadget=Blog&amp;action=SingleView&amp;id=3" title="Object" />
	<author>
		<name>Marco Antonio Manzo</name>
		<url>http://unixmonkeys.com/amnesiac/blog</url>
		<email>amnesiac@unixmonkeys.com</email>
	</author>
	<id>http://unixmonkeys.com/amnesiac/blog/3</id>
	<modified>2006-04-18T09:54:00-05:00</modified>
	<issued>2006-04-18T09:47:14-05:00</issued>
	<created>2006-04-18T09:47:14-05:00</created>
	<summary type="text/html" mode="escaped"><![CDATA[ 	<p>Well, the last week was an improductive one, I took some vacations, I went to Mexico City to meet some good old friends, it was pretty nice. I haven't worked enough on <i>Net::RMI</i> but oh well, life is not always fair, we need to enjoy so many things at once.</p>
	<p>The current status of <i>Net::RMI</i> is actually good, I'm writting the Net::RMI::Registry and the prmiregistry process server, which will handle all the object activation and registration.</p>
<p>Anyways... yesterday while reading <a href="http://perlenespanol.baboonsoftware.com">Perl en Español</a> I found a post about a small Perl contest. This contest tests your parsing skills ( in a small scale ), what you need to do is to parse a certain file with a given format, in this case a .srt file, which is a movie subtitiles file format.</p>
	<p>The program accepts a filename ( the srt file ) and an amount of time to be added/substracted to each dialog. The fun part is that you cannot use any of the subtitle parsing modules from CPAN and that you need to produce a short/clean code. The output will be sent to STDOUT with the same format as the input file with each dialog modified.</p>
	<p>For Spanish readers, here's the <a href="http://perlenespanol.baboonsoftware.com/foro/viewtopic.php?p=3765">post</a>, you can read all the details from there. </p>
	<p>Here's my <a href="/amnesiac/subparse.htm">solution</a> (the post has also my solution).</p>
	<p>Nice eh? well, laziness is not always <i>that</i> bad, Have fun!.
</p>
 ]]></summary>
	<content type="text/html" mode="escaped"><![CDATA[ 	<p>Well, the last week was an improductive one, I took some vacations, I went to Mexico City to meet some good old friends, it was pretty nice. I haven't worked enough on <i>Net::RMI</i> but oh well, life is not always fair, we need to enjoy so many things at once.</p>
	<p>The current status of <i>Net::RMI</i> is actually good, I'm writting the Net::RMI::Registry and the prmiregistry process server, which will handle all the object activation and registration.</p>
<p>Anyways... yesterday while reading <a href="http://perlenespanol.baboonsoftware.com">Perl en Español</a> I found a post about a small Perl contest. This contest tests your parsing skills ( in a small scale ), what you need to do is to parse a certain file with a given format, in this case a .srt file, which is a movie subtitiles file format.</p>
	<p>The program accepts a filename ( the srt file ) and an amount of time to be added/substracted to each dialog. The fun part is that you cannot use any of the subtitle parsing modules from CPAN and that you need to produce a short/clean code. The output will be sent to STDOUT with the same format as the input file with each dialog modified.</p>
	<p>For Spanish readers, here's the <a href="http://perlenespanol.baboonsoftware.com/foro/viewtopic.php?p=3765">post</a>, you can read all the details from there. </p>
	<p>Here's my <a href="/amnesiac/subparse.htm">solution</a> (the post has also my solution).</p>
	<p>Nice eh? well, laziness is not always <i>that</i> bad, Have fun!.
</p>
 ]]></content>
</entry>
</feed>