<?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>Alexey Zakhlestins blog &#187; ruby</title>
	<atom:link href="http://blog.milkfarmsoft.com/category/computers/programming/ruby/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.milkfarmsoft.com</link>
	<description>Programming for Mac and Web</description>
	<lastBuildDate>Sun, 13 Jun 2010 15:42:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
<atom:link rel="hub" href="http://pubsubhubbub.appspot.com" />
	<atom:link rel="hub" href="http://superfeedr.com/hubbub" />
			<item>
		<title>Some things which happened while I wasn&#8217;t blogging</title>
		<link>http://blog.milkfarmsoft.com/2007/09/some-things-which-happened-while-i-wasnt-blogging/</link>
		<comments>http://blog.milkfarmsoft.com/2007/09/some-things-which-happened-while-i-wasnt-blogging/#comments</comments>
		<pubDate>Sun, 23 Sep 2007 08:22:46 +0000</pubDate>
		<dc:creator>indeyets</dc:creator>
				<category><![CDATA[D language]]></category>
		<category><![CDATA[beos]]></category>
		<category><![CDATA[haikuos]]></category>
		<category><![CDATA[mac]]></category>
		<category><![CDATA[opera]]></category>
		<category><![CDATA[os]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.milkfarmsoft.com/?p=67</guid>
		<description><![CDATA[<p>Haiku OS reported on their Google Summer of Code results</p>
<p>Makes me think, that I should really-really get some old mac-mini and install Haiku on it. At least, I can program some fancy Jukebox out of it  </p>
<p></p>
<p>ohloh.net: The World&#8217;s Oldest Source Code Repositories</p>
<p>Hey! I was only 1 year old, when they started to use version <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.milkfarmsoft.com/2007/09/some-things-which-happened-while-i-wasnt-blogging/">Some things which happened while I wasn&#8217;t blogging</a></span>]]></description>
			<content:encoded><![CDATA[<p><strong><a href="http://haiku-os.org/news/2007-09-19/2007_google_summer_of_code_summary" title="2007 Google Summer of Code Summary | Haiku Operating System">Haiku OS reported on their Google Summer of Code results</a></strong></p>
<p>Makes me think, that I should really-really get some old mac-mini and install Haiku on it. At least, I can program some fancy Jukebox out of it <img src='http://blog.milkfarmsoft.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> </p>
<p></p>
<p><strong><a href="http://www.ohloh.net/blog/worlds_oldest_source_code_repositories" title="The World's Oldest Source Code Repositories - Ohloh">ohloh.net: The World&#8217;s Oldest Source Code Repositories</a></strong></p>
<p>Hey! I was only 1 year old, when they started to use version control! <img src='http://blog.milkfarmsoft.com/wp-includes/images/smilies/icon_surprised.gif' alt=':-o' class='wp-smiley' /> </p>
<p></p>
<p><strong><a href="http://www.dsource.org/projects/llvmdc" title="llvmdc - dsource.org">DSource: LLVM D Compiler</a></strong></p>
<p>I love <a href="http://www.digitalmars.com/d/" title="Intro - D Programming Language 2.0 - Digital Mars">D language</a>, I love <a href="http://llvm.org/" title="The LLVM Compiler Infrastructure Project">LLVM</a> â€” they make such a beautiful couple. Project is not complete, yet, but it already works for simple cases. <a href="http://www.ohloh.net/accounts/9641" title="lindquist - Ohloh">Author</a> needs any man-power he can get: spread the word, please.</p>
<p></p>
<p><strong>Sam Ruby noticed CouchDB: <a href="http://intertwingly.net/blog/2007/09/07/Ascetic-Database-Architectures" title="Sam Ruby: Ascetic Database Architectures">Ascetic Database Architectures</a></strong></p>
<p>It brought some more attention to <a href="http://www.couchdb.com/" title="CouchDB">CouchDB</a>, which is really-really deserved. CouchDB is a document-oriented non-relational database written by <a href="http://damienkatz.net/" title="Damien Katz">Damien Katz</a> and <a href="http://jan.prima.de/" title="Â«An argument is a connected series of statements to establish a definite proposition.Â»">Jan Lehnardt</a> in erlang, which has JSON, PHP and Ruby APIs (the number of APIs grows each day).</p>
<p></p>
<p><strong>Opera released 3 public <a href="http://www.opera.com/products/desktop/next/" title="Opera Browser 9.5 Alpha release">alpha-versions of their 9.5 series</a></strong></p>
<p>Finally, Opera looks like a native application on mac. It is lightning fast with a new javascript-engine and heavily optimized UI code. I already use 9.5 on daily basis without problems, but your mileage may differ â€” it is an alpha-version, after all. <a href="http://my.opera.com/desktopteam/blog/" title="Desktop Team - by Desktop Team">Get it here</a></p>
<p></p>
<p><strong>PHP 5.3 will have Late Static Binding</strong></p>
<p>LSB will allow static methods to know about inheritance (to know, on which of the descendant-classes the method was actually called). Which means, that it will be possible to make a good-looking ActiveRecord implementation, after all these years.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.milkfarmsoft.com/2007/09/some-things-which-happened-while-i-wasnt-blogging/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
		</item>
		<item>
		<title>Unicode vs. Programming Languages</title>
		<link>http://blog.milkfarmsoft.com/2007/07/unicode-vs-programming-languages/</link>
		<comments>http://blog.milkfarmsoft.com/2007/07/unicode-vs-programming-languages/#comments</comments>
		<pubDate>Thu, 26 Jul 2007 13:40:14 +0000</pubDate>
		<dc:creator>indeyets</dc:creator>
				<category><![CDATA[D language]]></category>
		<category><![CDATA[c++]]></category>
		<category><![CDATA[computers]]></category>
		<category><![CDATA[haskell]]></category>
		<category><![CDATA[haxe]]></category>
		<category><![CDATA[neko]]></category>
		<category><![CDATA[objective-c]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[smalltalk]]></category>

		<guid isPermaLink="false">http://blog.milkfarmsoft.com/?p=63</guid>
		<description><![CDATA[<p>I really-really want to see a programming language, which allows using proper unicode symbols for operators.</p>
<p>I mean:</p>

Ã— instead of *
â†’ instead of ->
â† instead if &#60;-
â‰  instrad of !=
â‰¤ and â‰¥ instead of &#60;= and >=

<p>This list can be continued more and moreâ€¦</p>
<p>I perfectly understand the roots of current situation and I don&#8217;t ask to use <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.milkfarmsoft.com/2007/07/unicode-vs-programming-languages/">Unicode vs. Programming Languages</a></span>]]></description>
			<content:encoded><![CDATA[<p>I really-really want to see a programming language, which allows using proper unicode symbols for operators.</p>
<p>I mean:</p>
<ul>
<li><strong>Ã—</strong> instead of <strong>*</strong></li>
<li><strong>â†’</strong> instead of <strong>-></strong></li>
<li><strong>â†</strong> instead if <strong>&lt;-</strong></li>
<li><strong>â‰ </strong> instrad of <strong>!=</strong></li>
<li><strong>â‰¤</strong> and <strong>â‰¥</strong> instead of <strong>&lt;=</strong> and <strong>>=</strong></li>
</ul>
<p>This list can be continued more and moreâ€¦</p>
<p>I perfectly understand the roots of current situation and I don&#8217;t ask to use ONLY unicode-symbols, but I ask language-manufacturers to allow this.</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.milkfarmsoft.com/2007/07/unicode-vs-programming-languages/feed/</wfw:commentRss>
		<slash:comments>20</slash:comments>
		</item>
		<item>
		<title>Everything you didn&#8217;t want to know about cookies</title>
		<link>http://blog.milkfarmsoft.com/2007/06/everything-you-didnt-want-to-know-about-cookies/</link>
		<comments>http://blog.milkfarmsoft.com/2007/06/everything-you-didnt-want-to-know-about-cookies/#comments</comments>
		<pubDate>Mon, 25 Jun 2007 07:00:43 +0000</pubDate>
		<dc:creator>indeyets</dc:creator>
				<category><![CDATA[opera]]></category>
		<category><![CDATA[php]]></category>
		<category><![CDATA[programming]]></category>
		<category><![CDATA[python]]></category>
		<category><![CDATA[ruby]]></category>
		<category><![CDATA[web]]></category>

		<guid isPermaLink="false">http://blog.milkfarmsoft.com/?p=54</guid>
		<description><![CDATA[<p>While working on my app-server code, I bumped into a need to parse (and produce) cookie-headers, so I went to look for some specsâ€¦</p>
<p>At first, there was Netscape and their first spec which wasn&#8217;t Y2K-compliant. Then, there was 1997 and the new spec: RFC2109 which fixed Y2K problem as well as couple of other minor issues <span style="color:#777"> . . . &#8594; Read More: <a href="http://blog.milkfarmsoft.com/2007/06/everything-you-didnt-want-to-know-about-cookies/">Everything you didn&#8217;t want to know about cookies</a></span>]]></description>
			<content:encoded><![CDATA[<p>While working on my app-server code, I bumped into a need to parse (and produce) cookie-headers, so I went to look for some specsâ€¦</p>
<p>At first, there was Netscape and their <a href="http://wp.netscape.com/newsref/std/cookie_spec.html">first spec</a> which wasn&#8217;t Y2K-compliant. Then, there was 1997 and the new spec: <a href="http://www.ietf.org/rfc/rfc2109.txt">RFC2109</a> which fixed Y2K problem as well as couple of other minor issues â€” this is the specification which is used by the major part of browsers, these days.</p>
<p>Then, in the year of 2000 <a href="http://www.ietf.org/rfc/rfc2965.txt">RFC2965</a>, which brings some quite interesting stuff. Unfortunately, this one is not supported by any browsers but Opera. (one more bit in a pile named &#8220;Opera is the most innovative standards-compliant browser&#8221;)</p>
<p>mnot has a nice <a href="http://www.mnot.net/blog/2006/10/27/cookie_fun">article</a> about support of cookies standards by browsers.</p>
<p>Now, about server-sideâ€¦</p>
<p>PHP <a href="http://www.php.net/set_cookie">supports</a> <del datetime="2007-06-25T08:09:48+00:00">RFC2109</del> <ins datetime="2007-06-25T08:09:48+00:00">enhanced version of the Netscape standard (as mentioned in comments)</ins> and (since 5.2) microsoft&#8217;s &#8220;http-only&#8221; extension.<br />
Python <a href="http://docs.python.org/lib/module-cookielib.html">has support</a> for 2965, but it is turned off by default.<br />
Ruby seems to support 2965, but I didn&#8217;t test it, neither found enough evidence</p>
<p>I wonder which way should I implement thisâ€¦ Should I try detecting client capabilities and send cookies in corresponding format (if there is &#8216;Cookie2: $Version=1&#8242; header I use SetCookie2, else I use SetCookie)? Or should I leave the this decision to the user?</p>
]]></content:encoded>
			<wfw:commentRss>http://blog.milkfarmsoft.com/2007/06/everything-you-didnt-want-to-know-about-cookies/feed/</wfw:commentRss>
		<slash:comments>4</slash:comments>
		</item>
	</channel>
</rss>
