<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>ContentFull &#187; Andre (2003-2007)</title>
	<atom:link href="http://www.contentfull.com/category/andre-2003-2007/feed" rel="self" type="application/rss+xml" />
	<link>http://www.contentfull.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 02 Sep 2011 14:13:58 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
		<item>
		<title>Catching up with Academia</title>
		<link>http://www.contentfull.com/andre-2003-2007/college/academics/catching-up-with-academia</link>
		<comments>http://www.contentfull.com/andre-2003-2007/college/academics/catching-up-with-academia#comments</comments>
		<pubDate>Thu, 07 May 2009 15:45:54 +0000</pubDate>
		<dc:creator>André</dc:creator>
				<category><![CDATA[Academics]]></category>

		<guid isPermaLink="false">http://www.andrecohen.com/blog/?p=9</guid>
		<description><![CDATA[Science libraries are proof that what one is taught in class is miles away from what is actually being studied in academia. Sure there are honor seminars and things of that nature however much is never spoken about. True that most (99%) of the population does not need to know about rings and non-monotonic theories, [...]]]></description>
			<content:encoded><![CDATA[<p>Science libraries are proof that what one is taught in class is miles away from what is actually being studied in academia. Sure there are honor seminars and things of that nature however much is never spoken about. True that most (99%) of the population does not need to know about rings and non-monotonic theories, however shouldn&#8217;t everyone know that more complex ideas do exist? In Catholicism most who practice know little of the theology but they are all aware that the Pope does more than just wave his hand. A vast majority of students in CS are aware that many interesting solutions exist to every day problems but would have no clue on how to find those solutions. Problems such as which solutions are currently thought to be the best and which ones are being developed at the moment are unimaginable questions for a standard student to deal with (much less find a solution).</p>

<p>Thus, when it comes to trying to go into higher education, one immediately encounters the first barrier: gaining understanding of where academia is. Everything taught in a 400 level course ends in the 80&#8242;s at best and the student is left stranded on an island which no longer is inhabited. Sometimes he sees smoke in the distance of a ship. Unfortunately in this world the speed of light is very slow and by the time the smoke is detected the ship is far gone.</p>]]></content:encoded>
			<wfw:commentRss>http://www.contentfull.com/andre-2003-2007/college/academics/catching-up-with-academia/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>ObjectiveC for the internet</title>
		<link>http://www.contentfull.com/andre-2003-2007/life/objectivec-for-the-internet</link>
		<comments>http://www.contentfull.com/andre-2003-2007/life/objectivec-for-the-internet#comments</comments>
		<pubDate>Thu, 07 May 2009 15:40:58 +0000</pubDate>
		<dc:creator>André</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.andrecohen.com/blog/?p=7</guid>
		<description><![CDATA[Functional and objected oriented programming both have their place in applications. Applications such as those found in Unix are typically best implemented in a functional style while almost anything which can be conceived as a complex relation of objects is usually constructed in terms of objects. What about internet applications: in what terms should they [...]]]></description>
			<content:encoded><![CDATA[<p>Functional and objected oriented programming both have their place in applications. Applications such as those found in Unix are typically best implemented in a functional style while almost anything which can be conceived as a complex relation of objects is usually constructed in terms of objects. What about internet applications: in what terms should they be conceived as?</p>

<p>As I dive deeper into ObjectiveC I can&#8217;t help to find it a remarkable language for internet applications. It offers both the functional capabilities for simple runtiness, object hierarchy which is part of almost all designs, and smalltalk like messaging. With the recent popularization of Javascript many extensions have been developed. Today Javascript supports both objects and functions, but what happened to messaging?</p>

<p>With the current usage of Ajax, messaging is a pivotal aspect of internet applications, yet none of the languages offer a simple and intuitive method for communicating in terms of messages.  Both in the server and the client side have no language enabled for of communication leaving it up to the developers to find a suitable technique. This however not only leads to unneeded complexities but also numerous security and bug problems. A language which natively allowed for the sending and receiving of messages would be extremely beneficial.</p>

<p>Ruby thus far seems the closest to reaching this ideal. It does offer an <span class="caps">RPC </span>like framework which allows for easy implementation of server and client side scripts. Its solid backbone allows for the communication to be fairly secure and with enough checking to avoid trivial errors. However it has two primary faults. It requires a service to be running in ther server side which few servers have currently (ie. Ruby) and secondly it forces the usage of a language which has fewer support and extensions than other languages such as <span class="caps">PHP </span>and Perl.</p>

<p>Thus we are left with no solutions. A possible solution would be to implement a <span class="caps">PHP</span>/Javascript solution. <span class="caps">PHP </span>would be used for both the server side scripting and for the generation of the client side scripting.  An internet application would be divided into three parts: presentation, server, and client. The presentation may be implemented in any language as long as the output is <span class="caps">HTML  </span>in the end. The presentation is responsible for &#8220;connecting&#8221; the client and server parts together. Both the server and the client side would be implemented using a language similar to ObjectiveC. For example extending <span class="caps">PHP </span>much the same way ObjectiveC extends C. When a page from the internet application is called (from the presentation part) it would connect the server and client sides together. The connection process consists of building or loading from cache a <span class="caps">PHP </span>and Javascript program for the server and client parts (respectively). The connection would be, in the end, a converter that would convert a ObjectiveC/PHP script into either standard <span class="caps">PHP </span>or Javascript. The conversion would be responsible for picking up all inconsistencies between the server and client. It would also be in the advantageous position to add extra features such as compression, encryption, validation and etc.&amp;&#8230;</p>]]></content:encoded>
			<wfw:commentRss>http://www.contentfull.com/andre-2003-2007/life/objectivec-for-the-internet/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Graphviz(dot) font problem on mac</title>
		<link>http://www.contentfull.com/andre-2007-2009/hints-tips/graphvizdot-font-problem-on-mac</link>
		<comments>http://www.contentfull.com/andre-2007-2009/hints-tips/graphvizdot-font-problem-on-mac#comments</comments>
		<pubDate>Sun, 11 May 2008 22:37:42 +0000</pubDate>
		<dc:creator>André</dc:creator>
				<category><![CDATA[Hints & Tips]]></category>
		<category><![CDATA[Terminal]]></category>

		<guid isPermaLink="false">http://www.contentfull.com/?p=369</guid>
		<description><![CDATA[If you happened to have installed graphviz without first installing fontconfig (one is never told to do so, but supposedly one should) then you are probably seeing messages such as Error: Could not find/open font : Times-Roman To solve this annoying error you need to add the following extra parameter when calling any graphviz program [...]]]></description>
			<content:encoded><![CDATA[<p>If you happened to have installed graphviz without first installing fontconfig (one is never told to do so, but supposedly one should) then you are probably seeing messages such as</p>

<code>Error: Could not find/open font : Times-Roman</code>

<p>To solve this annoying error you need to add the following extra parameter when calling any graphviz program</p>

<code>-Gfontpath=/System/Library/Fonts</code>]]></content:encoded>
			<wfw:commentRss>http://www.contentfull.com/andre-2007-2009/hints-tips/graphvizdot-font-problem-on-mac/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Unexpected hummor in error message</title>
		<link>http://www.contentfull.com/andre-2007-2009/hummor/unexpected-hummor-in-error-message</link>
		<comments>http://www.contentfull.com/andre-2007-2009/hummor/unexpected-hummor-in-error-message#comments</comments>
		<pubDate>Fri, 04 Jan 2008 04:07:22 +0000</pubDate>
		<dc:creator>André</dc:creator>
				<category><![CDATA[Hummor]]></category>
		<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.andrecohen.com/current/programming-current/unexpected-hummor-in-error-message/</guid>
		<description><![CDATA[While working with PHP4 thinking it was PHP5 I received the following error message Parse error: parse error, unexpected t_paamayim_nekudotayim Exactly, what on Earth does t_paamayim_nekudotayim mean?! Answer: Hebrew for two (paamayim) colons (nekudotayim). More compilers and interpreters should incorporate humor into their products for it makes errors and hair-pulling situations much more relaxing.]]></description>
			<content:encoded><![CDATA[<p>While working with <span class="caps">PHP4 </span>thinking it was <span class="caps">PHP5</span> I received the following error message</p>

<code>Parse error: parse error, unexpected t_paamayim_nekudotayim</code>

<p>Exactly, what on Earth does <em>t_paamayim_nekudotayim</em> mean?!<br />
Answer: Hebrew for two (paamayim) colons (nekudotayim). More compilers and interpreters should incorporate humor into their products for it makes errors and hair-pulling situations much more relaxing.</p>]]></content:encoded>
			<wfw:commentRss>http://www.contentfull.com/andre-2007-2009/hummor/unexpected-hummor-in-error-message/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>That box all geeks have</title>
		<link>http://www.contentfull.com/andre-2003-2007/life/that-box-all-geeks-have</link>
		<comments>http://www.contentfull.com/andre-2003-2007/life/that-box-all-geeks-have#comments</comments>
		<pubDate>Tue, 21 Aug 2007 22:22:30 +0000</pubDate>
		<dc:creator>André</dc:creator>
				<category><![CDATA[Life]]></category>

		<guid isPermaLink="false">http://www.andrecohen.com/blog/?p=355</guid>
		<description><![CDATA[I cannot be the only person who has a box of this kind. For the past few years all sorts of treasures (the untrained eye would call it junk) have ended up in a storage box I have. The list is as follows: Zaurus &#8211; the one chance linux had to be in a handheld. [...]]]></description>
			<content:encoded><![CDATA[<p>I cannot be the only person who has a box of this kind. For the past few years all sorts of treasures (the untrained eye would call it junk) have ended up in a storage box I have. The list is as follows:</p>


<ul>
<li>Zaurus &#8211; the one chance linux had to be in a handheld. It is the greatest gadget I&#8217;ve owned in my life. Unfortunately it never got the care it needed.</li>
<li>Magic Cards &#8211; classic part of any geek&#8217;s box of treasures</li>
<li>Backup TI-83 calculator &#8211; I always carry a TI-89 but you never know when you will need a replacement</li>
<li><span class="caps">USB </span>extension cord</li>
<li>Memory card reader</li>
<li>Pads, bookmarks, plane tickets, receipts.. etc&amp;.</li>
</ul>



<p>So much of this box has already become outdated that its hard not feeling old. Imagine, twenty years from now the box will be worth thousands. Who even uses compact flash anymore? Or has seen a sharp <span class="caps">PDA </span>that actually works better than a Blackberry?</p>]]></content:encoded>
			<wfw:commentRss>http://www.contentfull.com/andre-2003-2007/life/that-box-all-geeks-have/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Realist Exhibition</title>
		<link>http://www.contentfull.com/andre-2003-2007/thoughts/realist-exhibition</link>
		<comments>http://www.contentfull.com/andre-2003-2007/thoughts/realist-exhibition#comments</comments>
		<pubDate>Mon, 20 Aug 2007 23:13:58 +0000</pubDate>
		<dc:creator>André</dc:creator>
				<category><![CDATA[Thoughts]]></category>

		<guid isPermaLink="false">http://www.andrecohen.com/blog/?p=353</guid>
		<description><![CDATA[Umbrellas Pads Magnets Bags Digital Video Discs Books [Exit] Metropolitan Realist Exhibition]]></description>
			<content:encoded><![CDATA[<p>Umbrellas<br />
Pads<br />
Magnets<br />
Bags<br />
Digital Video Discs<br />
Books<br />
[Exit]<br />
Metropolitan<br />
Realist<br />
Exhibition</p>]]></content:encoded>
			<wfw:commentRss>http://www.contentfull.com/andre-2003-2007/thoughts/realist-exhibition/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>3 Projects &amp; 1 Summer</title>
		<link>http://www.contentfull.com/andre-2003-2007/news/3-projects-1-summer</link>
		<comments>http://www.contentfull.com/andre-2003-2007/news/3-projects-1-summer#comments</comments>
		<pubDate>Mon, 20 Aug 2007 23:09:54 +0000</pubDate>
		<dc:creator>André</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.andrecohen.com/blog/?p=352</guid>
		<description><![CDATA[In the span of one academic summer 3 projects were created and released into the public. This sets a new record for most productive summer yet. Adium &#8211; Objective-C addition that will be merged into the main project sometime in the near future. This was the most interesting project since it was part of a [...]]]></description>
			<content:encoded><![CDATA[In the span of one academic summer 3 projects were created and released into the public. This sets a new record for most productive summer yet.<br />
<ol>
<li>Adium &#8211; Objective-C addition that will be merged into the main project sometime in the near future.  This was the most interesting project since it was part of a greater project which happens to be used by
thousands of people all over the world.</li>
<li>mySemester &#8211; Since freshmen year I have been musing over executing this project. You would think that will all the tools out there there would be one for creating a schedule that looked good, was printable and sharable with others. After doing word, excel, and html schedules to share and print I got fed up and created this site just for that. It has all the bells and whistles to be a 2.0 site : ) </li>
<li>Time Tracker &#8211; In order to accomplish 3 projects in one summer tracking how I spent my time was of essence and for that I had the urge to create this nifty project. It is in fact a simple copy of Harvest Time except its free and simpler to use. This is meant for a single user who has many projects and tasks with due dates and a limited amount of time to give. Couldn&#8217;t be any simpler to use.</li>
</ol>]]></content:encoded>
			<wfw:commentRss>http://www.contentfull.com/andre-2003-2007/news/3-projects-1-summer/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Ajax and form submission</title>
		<link>http://www.contentfull.com/andre-2003-2007/programming/ajax-and-form-submission</link>
		<comments>http://www.contentfull.com/andre-2003-2007/programming/ajax-and-form-submission#comments</comments>
		<pubDate>Wed, 18 Jul 2007 00:22:12 +0000</pubDate>
		<dc:creator>André</dc:creator>
				<category><![CDATA[Programming]]></category>

		<guid isPermaLink="false">http://www.andrecohen.com/blog/?p=351</guid>
		<description><![CDATA[Situation: You have a form which you would like to validate before submitting. you also want to show error messages without having to reload the page. Example: &#60;form name=&#34;login&#34;&#62; &#60;label for=&#34;user&#34;&#62;Username&#60;/lable&#62;&#60;input type=&#34;text&#34; name=&#34;user&#34;&#62; &#60;label for=&#34;password&#34;&#62;Password&#60;/label&#62;&#60;input type=&#34;password&#34; name=&#34;password&#34;&#62; &#60;input type=&#34;button&#34; value=&#34;Login&#34;&#62; &#60;/form&#62; Suppose you want to call a function called validate() when either the user presses [...]]]></description>
			<content:encoded><![CDATA[<p>Situation: You have a form which you would like to validate before submitting. you also want to show error messages without having to reload the page. Example:</p>



<pre lang="html4strict">
&lt;form name=&quot;login&quot;&gt;
&lt;label for=&quot;user&quot;&gt;Username&lt;/lable&gt;&lt;input type=&quot;text&quot; name=&quot;user&quot;&gt;
&lt;label for=&quot;password&quot;&gt;Password&lt;/label&gt;&lt;input type=&quot;password&quot; name=&quot;password&quot;&gt;
&lt;input type=&quot;button&quot; value=&quot;Login&quot;&gt;
&lt;/form&gt;
</pre>



<p>Suppose you want to call a function called validate() when either the user presses enter or clicks the button. The trick I discovered with Prototype is as follows:</p>



<pre lang="javascript">
function checkForSubmission(element,func){
Event.observe(element, 'keypress', function(event){
if(event.keyCode==13)
func();
});
}
</pre>



<p>Now for the example above, when the page loads you simply call</p>



<pre language="javascript">
checkForSubmission(&quot;login&quot;,validate);
</pre>



<p>If the user presses enter in any of the two text boxes or clicks the button the form will now validate itself. Simple solution to a tricky situation.</p>

<p><strong>Update:</strong> It seems that in Safari events happen in a different order: onSubmit event takes place before the onKeyPress event. To get around this you need to return false when onSubmit occurs. Easiest solution is to add the following to the form tag.</p>



<pre language="html4strict">
onSubmit=&quot;return false;&quot;
</pre>]]></content:encoded>
			<wfw:commentRss>http://www.contentfull.com/andre-2003-2007/programming/ajax-and-form-submission/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>State of Linux</title>
		<link>http://www.contentfull.com/andre-2003-2007/news/state-of-linux</link>
		<comments>http://www.contentfull.com/andre-2003-2007/news/state-of-linux#comments</comments>
		<pubDate>Tue, 22 May 2007 21:30:26 +0000</pubDate>
		<dc:creator>André</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.andrecohen.com/blog/?p=346</guid>
		<description><![CDATA[I have, ever since I purchased my MacBook Pro, moved away from using a desktop computing as a main computer. The Pentium III, 2Ghz, Wallmart branded PC has now for a bit over half a year been used as a file server. I managed to set the server up, initially, in under an hour. Quickly [...]]]></description>
			<content:encoded><![CDATA[<p>I have, ever since I purchased my MacBook Pro, moved away from using a desktop computing as a main computer. The Pentium <span class="caps">III,</span> 2Ghz, Wallmart branded PC has now for a bit over half a year been used as a file server. I managed to set the server up, initially, in under an hour. Quickly I was using iTunes on my mac with the music being stored on my server.</p>

<p>Recently however, due to many Ubuntu updates, my installation broke and I was forced with reinstalling a Linux distribution on it. Since I felt more comfortable with Linux I decided to try something new. What a disapointment.</p>

<p>First was Debian. I was impressed at how simple and extremely fast it was. It made my 5 year computer feel like new. What I found dissapointing was the fact that my <span class="caps">NTFS </span>partition simply was not recognized (even after trying to install special drivers).</p>

<p>Second was <span class="caps">SUSE.</span> In another extreme, it was extremely slow. The installation took for ever, the video card was never properly identified and it was just too slow. On the pro side, it had a very nice Gnome look and feel.</p>

<p>Finally I tried Fedora, after all I wanted something stable. Installation was so-so. It does boot up fairly quickly and the files are very well organized. Configuration was a barable level of Linux pain. But this by far does not mean I&#8217;m satisfied.</p>

<p>Conclusion, I&#8217;m still not satisfied with my half working Linux home server which its entire purpose is to server my MacBook. Samba works but only because <span class="caps">NFS </span>didn&#8217;t. Apache works well but I&#8217;ve got no sound. Oh well.. There really should be a Ubuntu version for home servers.</p>]]></content:encoded>
			<wfw:commentRss>http://www.contentfull.com/andre-2003-2007/news/state-of-linux/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Google Summer of Fun!</title>
		<link>http://www.contentfull.com/andre-2003-2007/news/google-summer-of-fun</link>
		<comments>http://www.contentfull.com/andre-2003-2007/news/google-summer-of-fun#comments</comments>
		<pubDate>Mon, 23 Apr 2007 22:11:24 +0000</pubDate>
		<dc:creator>André</dc:creator>
				<category><![CDATA[News]]></category>

		<guid isPermaLink="false">http://www.andrecohen.com/blog/?p=344</guid>
		<description><![CDATA[Not thinking much about it I summited two proposals to GSoF and although initially rejecte, due to things outside my control, I was accepted! I shall be working this summer with Adium expanding its functionality. I&#8217;ve always wanted to be involved in an open source project but never had the motivation or time. If all [...]]]></description>
			<content:encoded><![CDATA[<p>Not thinking much about it I summited two proposals to <a href="http://code.google.com/soc/">GSoF</a> and although initially rejecte, due to things outside my control, I was accepted! I shall be working this summer with <a href="http://www.adiumx.com">Adium</a> expanding its functionality.  I&#8217;ve always wanted to be involved in an open source project but never had the motivation or time. If all goes well I might become a permanent help to the Adium team.</p>

<p>PS: The money incentive was a nice addition. Apple 30&#8243; LCD here I come.</p>]]></content:encoded>
			<wfw:commentRss>http://www.contentfull.com/andre-2003-2007/news/google-summer-of-fun/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

