<?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/"
	xmlns:georss="http://www.georss.org/georss" xmlns:geo="http://www.w3.org/2003/01/geo/wgs84_pos#" xmlns:media="http://search.yahoo.com/mrss/"
	>

<channel>
	<title>vijucat&#039;s tinkering</title>
	<atom:link href="http://vijucat.wordpress.com/feed/" rel="self" type="application/rss+xml" />
	<link>http://vijucat.wordpress.com</link>
	<description>Transforming coffee to code since 1974</description>
	<lastBuildDate>Sat, 11 Mar 2006 15:15:53 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.com/</generator>
<cloud domain='vijucat.wordpress.com' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' />
<image>
		<url>http://s2.wp.com/i/buttonw-com.png</url>
		<title>vijucat&#039;s tinkering</title>
		<link>http://vijucat.wordpress.com</link>
	</image>
	<atom:link rel="search" type="application/opensearchdescription+xml" href="http://vijucat.wordpress.com/osd.xml" title="vijucat&#039;s tinkering" />
	<atom:link rel='hub' href='http://vijucat.wordpress.com/?pushpress=hub'/>
		<item>
		<title>How I got PHPEclipse + the DBG debugger working on Windows</title>
		<link>http://vijucat.wordpress.com/2006/03/11/how-i-got-phpeclipse-the-dbg-debugger-working-on-windows/</link>
		<comments>http://vijucat.wordpress.com/2006/03/11/how-i-got-phpeclipse-the-dbg-debugger-working-on-windows/#comments</comments>
		<pubDate>Fri, 10 Mar 2006 16:47:54 +0000</pubDate>
		<dc:creator>vijucat</dc:creator>
				<category><![CDATA[mumble]]></category>

		<guid isPermaLink="false">http://vijucat.wordpress.com/2006/03/11/how-i-got-phpeclipse-the-dbg-debugger-working-on-windows/</guid>
		<description><![CDATA[Whew! I finally got PHP 5.1.1 debugging working with PHPEclipse on Windows XP. My plan was to use XAMPP for the Apache, PHP, and MySQL part, and then set up PHPEclipse. There are many pages describing how to do this on the net, but getting it working involved some subtleties that took up 1 full [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=13&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Whew! I finally got PHP 5.1.1 debugging working with PHPEclipse on Windows XP.</p>
<p>My plan was to use XAMPP for the Apache, PHP, and MySQL part, and then set up PHPEclipse. There are many pages describing how to do this on the net, but getting it working involved some subtleties that took up 1 full day of tweaking.</p>
<p>My setup :</p>
<ol>
<li>OS : Windows XP</li>
<li><a href="http://www.apachefriends.org/en/xampp-windows.html">XAMPP 1.5.1</a>, i.e.,Â 
<ul>
<li>MySQL 5.0.18</li>
<li>Apache 2.2.0</li>
<li>PHP 5.1.1</li>
<li>phpMyAdmin 2.7.0 pl1</li>
</ul>
</li>
<li>Then I installed PHPEclipse (for Eclipse 3.1) using the Update Manager as described on <a href="http://www.plog4u.org/index.php/Using_PHPEclipse_:_Installation_:_Installing_PHPEclipse">this plog4u page</a>. This was a breeze.</li>
<li>Then I downloaded and set up DBG and PHPEclipse as described here on <a href="http://www.plog4u.org/index.php/Using_PHPEclipse_:_Installation_:_Installing_the_DBG_Debugger">plog4u</a>. Of particular mention on this wiki page is Robert Kraske&#8217;s php_dbg.dll for PHP 5.1.1, which you will want unless you are ok with building it from scratch.</li>
</ol>
<p>The whole plog4u wiki, and that page (&#8220;Installing the DBG Debugger&#8221;) in particular are gems. Thanks to whoever took all the screenshots, man!!</p>
<p>But after I got all the pieces in place as per the instructions on the above pages, I faced some issues. Hereâ€™s a list of issues and how I resolved them:</p>
<p><strong>O========= Issues and resolutions ===========O</strong></p>
<ul>
<li>Issue : php_dbg.dll was not loading up (How do you know? Use Process Explorer from sysinternals.com and look at the apache process DLLs)</li>
<li>Resolution : I was working with the wrong php.ini. You have to work with the php.ini in apache/bin, not php/bin !!</li>
</ul>
<ul>
<li>Issue : The eclipse debugger just hangs.</li>
<li>Resolution : php_dbg.dll was being loaded with zend_extension_ts. You have to use extension=, NOT the zend_extension_ts=</li>
</ul>
<p>Sample from my apache/bin/php.ini:</p>
<p><code>;[Zend]<br />
; VJ : this doesnâ€™t work, use extension= in the debugger section<br />
;zend_extension_ts = â€œC:\xampp\php\ext\php_dbg.dllâ€?<br />
;zend_extension_ts = â€œC:\xampp\php\zendOptimizer\lib\ZendExtensionManager.dllâ€?<br />
;zend_extension_manager.optimizer_ts = â€žC:\xampp\php\zendOptimizer\lib\Optimizerâ€œ<br />
;zend_optimizer.enable_loader = 0<br />
;zend_optimizer.optimization_level=15<br />
;zend_optimizer.license_path =</code></p>
<p><code>[debugger]<br />
extension=php_dbg.dll<br />
debugger.enabled=on<br />
debugger.profiler_enabled=on<br />
debugger.hosts_allow=localhost 127.0.0.1<br />
;debugger.hosts_deny=ALL<br />
debugger.ports=7869, 10000/16<br />
debugger.JIT_host = clienthost<br />
debugger.JIT_port = 7869</code><code> </code><code></p>
<p /></code></p>
<ul>
<li>Issue : Eclipse complains An internal error occurred during: &#8220;Debug Source lookupâ€?</li>
<li>Resolution : I was giving the full path to the file in Remote Sourcepath. Instead, you should just give the path up to the directory in which your php file is located.</li>
</ul>
<ul>
<li>Issue : Clicking on the source screws up the PHP Browser display! This is obviously bad, since I will need to see the output web page as well as look around the code!</li>
<li>Resolution : Uncheck this option in the PHP preferences : â€œRefresh PHP browser view when opening editorâ€?</li>
</ul>
<p>I also tried using the debugbreak() method which some people recommended. This works, but native eclipse breakpoints are of course much more convenient.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijucat.wordpress.com/13/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijucat.wordpress.com/13/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijucat.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijucat.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijucat.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijucat.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijucat.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijucat.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijucat.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijucat.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijucat.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijucat.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijucat.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijucat.wordpress.com/13/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijucat.wordpress.com/13/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijucat.wordpress.com/13/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=13&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijucat.wordpress.com/2006/03/11/how-i-got-phpeclipse-the-dbg-debugger-working-on-windows/feed/</wfw:commentRss>
		<slash:comments>15</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1f64c44d7bcee6813d3ca72bbb645b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijucat</media:title>
		</media:content>
	</item>
		<item>
		<title>Ode to the VC++ 6 compiler/linker</title>
		<link>http://vijucat.wordpress.com/2006/01/31/ode-to-the-vc-6-compilerlinker/</link>
		<comments>http://vijucat.wordpress.com/2006/01/31/ode-to-the-vc-6-compilerlinker/#comments</comments>
		<pubDate>Tue, 31 Jan 2006 06:37:42 +0000</pubDate>
		<dc:creator>vijucat</dc:creator>
				<category><![CDATA[mumble]]></category>

		<guid isPermaLink="false">http://vijucat.wordpress.com/2006/01/31/ode-to-the-vc-6-compilerlinker/</guid>
		<description><![CDATA[I am the drained brain, I and the ass in the pain, I will trouble you again and again, &#8220;Error LNK2001: unresolved external symbol _main&#8221; (With apologies to the hard working guys that must&#8217;ve taken years to write the compiler. . Heck, I&#8217;d take a lifetime.) This is in rememberance of those fond days in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=12&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>I am the drained brain,<br />
I and the ass in the pain,<br />
I will trouble you again and again,<br />
&#8220;Error LNK2001: unresolved external symbol _main&#8221;</p>
<p>(With apologies to the hard working guys that must&#8217;ve taken years to write the compiler. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> . Heck, I&#8217;d take a lifetime.)</p>
<p>This is in rememberance of those fond days in the last century (yep, 1998 is THAT far ago) when I started using Visual Studio 6.0. &#8216;Twas a good IDE.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijucat.wordpress.com/12/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijucat.wordpress.com/12/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijucat.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijucat.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijucat.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijucat.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijucat.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijucat.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijucat.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijucat.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijucat.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijucat.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijucat.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijucat.wordpress.com/12/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijucat.wordpress.com/12/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijucat.wordpress.com/12/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=12&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijucat.wordpress.com/2006/01/31/ode-to-the-vc-6-compilerlinker/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1f64c44d7bcee6813d3ca72bbb645b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijucat</media:title>
		</media:content>
	</item>
		<item>
		<title>Peterson&#8217;s 2-process mutual exclusion algorithm</title>
		<link>http://vijucat.wordpress.com/2006/01/29/petersons-2-process-mutual-exclusion-algorithm/</link>
		<comments>http://vijucat.wordpress.com/2006/01/29/petersons-2-process-mutual-exclusion-algorithm/#comments</comments>
		<pubDate>Sun, 29 Jan 2006 07:16:06 +0000</pubDate>
		<dc:creator>vijucat</dc:creator>
				<category><![CDATA[mumble]]></category>

		<guid isPermaLink="false">http://vijucat.wordpress.com/2006/01/29/petersons-2-process-mutual-exclusion-algorithm/</guid>
		<description><![CDATA[Was reading up about Petri Nets and chanced on this cool piece of code: This wonderful algorithm is a software-only 2-process mutual exclusion algorithm. Though it is not the first software-only 2-process mutual exclusion algorithm (Dekker&#8217;s in 1965 was the first; Peterson&#8217;s was in 1981), it is the most compact one. I&#8217;ve put comments in [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=11&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Was reading up about Petri Nets and chanced on this cool piece of code: This wonderful algorithm is a software-only 2-process mutual exclusion algorithm. Though it is not the first software-only 2-process mutual exclusion algorithm (Dekker&#8217;s in 1965 was the first; Peterson&#8217;s was in 1981), it is the most compact one.</p>
<p>I&#8217;ve put comments in the code below to explain how it works.</p>
<p>Let&#8217;s examine the algorithm&#8217;s properties :</p>
<p>1. <strong>Safety</strong> : At any time, at most one process is allowed to be in the Critical Section. In brief, when 2 processes try to enter the critical section simultaneously, in the ensuing race condition to set turn = process (line 7), the process that &#8220;wins&#8221; is stuck in the while loop, letting the other interested process enter the Critical Section.</p>
<p>2. <strong>Fairness</strong> :  Both processes should have an equal chance of acquiring the lock on the critical section, since the race condition is impartial. (However, the algorithm is not necessarily fair in the sense that both processes execute their Critical Section an equal number of times over long periods of time. That is an analysis that is more involved.)</p>
<p>3. <strong>Liveness </strong>: When one or more processes have expressed their intentions to enter the Critical Section, one of them eventually enters. (See explanation above).</p>
<p>4. <strong>Freedom from Starvation</strong>: In addition to these properties, the following is a desirable property: Any process that expresses its intention to enter the critical section will be able to do so in finite time. This is also true for Peterson&#8217;s algorithm. Once the process that has entered the critical section leaves, interested[other] becomes FALSE for the blocked process, allowing it to enter the critical section.</p>
<p>O======O======O======O======O======O</p>
<p>1   int turn;<br />
2   int interested[2];</p>
<p><font color="Green"><br />
      /*<br />
         The two processes have ids process = 0 and process = 1.<br />
      */<br />
</font></p>
<p>3   void enter_region(int process) {<br />
4       int other;</p>
<p>5       other = 1 &#8211; process;<br />
6       interested[process] = TRUE;<br />
7       turn = process;</p>
<p><font color="Green"><br />
      /*<br />
          1. If interested[other] == FALSE, there is no competition from the other process<br />
          (say, due to it being slow), and we enter the critical section.</p>
<p>          2. If interested[other] == TRUE, but turn is still == us, then the other process<br />
          must have executed line 6 but not yet line 7. In this case, we block in the while<br />
          loop. The other process process then sets turn to itself, then<br />
          basically turn == process will become false, and we enter the critical section.</p>
<p>          (leave_region() ensures that the other process gets to enter the critical section later.<br />
          Thus, the algorithm is fair.)</p>
<p>          (If the first process &#8220;loses&#8221; the race to line 7, and the 2nd one wins, the same reasoning<br />
          as above applies (, but w.r.t. the 2nd process,) since the code is symmetric.)</p>
<p>      */<br />
</font></p>
<p>8       while ( turn == process &amp;&amp; interested[other] == TRUE ) ;<br />
   }</p>
<p>   void leave_region(int process) {<br />
       interested[process] = FALSE;<br />
<font color="Green"><br />
       /*<br />
          If the other process is blocked in enter_region(), this releases it<br />
          from the while loop on line 8, allowing it to acquire the lock.<br />
       */<br />
</font><br />
   }</p>
<p>O======O======O======O======O======O</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijucat.wordpress.com/11/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijucat.wordpress.com/11/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijucat.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijucat.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijucat.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijucat.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijucat.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijucat.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijucat.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijucat.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijucat.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijucat.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijucat.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijucat.wordpress.com/11/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijucat.wordpress.com/11/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijucat.wordpress.com/11/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=11&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijucat.wordpress.com/2006/01/29/petersons-2-process-mutual-exclusion-algorithm/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1f64c44d7bcee6813d3ca72bbb645b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijucat</media:title>
		</media:content>
	</item>
		<item>
		<title>learning : virtual terminal, pty, tty : part two</title>
		<link>http://vijucat.wordpress.com/2005/12/15/tty-pty-terminal-basics-text-terminal-howto-from-faqsorg-linux-internals-gold-mines/</link>
		<comments>http://vijucat.wordpress.com/2005/12/15/tty-pty-terminal-basics-text-terminal-howto-from-faqsorg-linux-internals-gold-mines/#comments</comments>
		<pubDate>Thu, 15 Dec 2005 14:20:15 +0000</pubDate>
		<dc:creator>vijucat</dc:creator>
				<category><![CDATA[mumble]]></category>

		<guid isPermaLink="false">http://vijucat.wordpress.com/2005/12/15/tty-pty-terminal-basics-text-terminal-howto-from-faqsorg-linux-internals-gold-mines/</guid>
		<description><![CDATA[Text-Terminal-HOWTO from faqs.org + &#8220;Linux Internals&#8221; gold mines! ha ha, hit the goldmine (oldmine?)!! Has ALL the info you asked for. Text-Terminal-HOWTO by David S. Lawyer (v1.36, August 2004) Text-Terminal-HOWTO Just 119 pages. ) The thing with UNIX is : you gotta know the history to know why things work(?) the way they do. ========= [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=10&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Text-Terminal-HOWTO from faqs.org + &#8220;Linux Internals&#8221; gold mines!</strong></p>
<p>ha ha, hit the goldmine (oldmine?)!!<br />
Has ALL the info you asked for.</p>
<p><b>Text-Terminal-HOWTO</b><br />
by David S. Lawyer<br />
(v1.36, August 2004)</p>
<p><a href="http://www.tldp.org/HOWTO/Text-Terminal-HOWTO.html#toc6">Text-Terminal-HOWTO</a> </p>
<p>Just 119 pages. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /> ) The thing with UNIX is : you gotta know the history to know why things work(?) the way they do.</p>
<p><b>========= And another : &#8220;Linux Internals&#8221; =========</b></p>
<p><a href="http://learnlinux.tsf.org.za/courses/build/internals/">Linux Internals</a><br />
by Simone Demblon</p>
<p>The whole book as one HTML : <a href="http://learnlinux.tsf.org.za/courses/build/internals/internals-all.html">http://learnlinux.tsf.org.za/courses/build/internals/internals-all.html</a></p>
<p>Chapter 3 has a whole section on Terminal Emulation.</p>
<p>Excerpt:</p>
<p>1978 Bill Joy creates &#8220;the &#8220;vi&#8221; editor a full screen editor, and at the same<br />
time he sees the need &#8220;to optimize the code for several different types of<br />
terminals, he decided to consolidate screen management by using an interpreter<br />
to redraw the screen. The interpreter was driven by the terminal&#8217;s<br />
characteristics &#8211; termcap was born,&#8221;. P Sulcas </p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijucat.wordpress.com/10/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijucat.wordpress.com/10/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijucat.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijucat.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijucat.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijucat.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijucat.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijucat.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijucat.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijucat.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijucat.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijucat.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijucat.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijucat.wordpress.com/10/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijucat.wordpress.com/10/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijucat.wordpress.com/10/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=10&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijucat.wordpress.com/2005/12/15/tty-pty-terminal-basics-text-terminal-howto-from-faqsorg-linux-internals-gold-mines/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1f64c44d7bcee6813d3ca72bbb645b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijucat</media:title>
		</media:content>
	</item>
		<item>
		<title>learning : virtual terminal, pty, tty : part one</title>
		<link>http://vijucat.wordpress.com/2005/12/15/learning-terminals-pty-tty-et-al/</link>
		<comments>http://vijucat.wordpress.com/2005/12/15/learning-terminals-pty-tty-et-al/#comments</comments>
		<pubDate>Thu, 15 Dec 2005 14:16:43 +0000</pubDate>
		<dc:creator>vijucat</dc:creator>
				<category><![CDATA[mumble]]></category>

		<guid isPermaLink="false">http://vijucat.wordpress.com/2005/12/15/learning-terminals-pty-tty-et-al/</guid>
		<description><![CDATA[Some useful material that I culled from here and there about UNIX virtual terminals. I don&#8217;t know if it&#8217;s a good thing or bad thing that UNIX has so much history. On the one hand, you can search for it and find it. On the other hand, there&#8217;s so MUCH of it. I guess it&#8217;s [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=9&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Some useful material that I culled from here and there about UNIX virtual terminals.<br />
I don&#8217;t know if it&#8217;s a good thing or bad thing that UNIX has so much history.<br />
On the one hand, you can search for it and find it.<br />
On the other hand, there&#8217;s so MUCH of it.</p>
<p>I guess it&#8217;s a good thing. There&#8217;s just MSDN if you&#8217;re Microsoft, and they don&#8217;t keep the old articles, damn them.</p>
<p>========== from an article : &#8220;Excavating ancient abbreviations in Linux&#8221; ==========</p>
<p><a href="http://searchopensource.techtarget.com/tip/0,289483,sid39_gci1098161,00.html">&#8220;Excavating ancient abbreviations in Linux&#8221;</a> </p>
<p><b>TTY</b><br />
Perhaps the most confusing jargon in Linux relates to terminals. TTY is an old abbreviation for a TeleTYpe. Teletypes, or teletypewriters, were originally printer-keyboard combinations that read and sent information over a serial line, not too different from an ancient telegraph machine. Later on, when computers only ran in batch mode (when card readers were the only way to get your program loaded), a teletype was the only useful &#8220;real time&#8221; input/output device available. Eventually teletypes were replaced with keyboard-and-screen terminals, but the operating system still needed a program to watch the serial port where the terminal or TTY was plugged in. That&#8217;s what a getty &#8220;GEt TTY&#8221; process is: <u>a program watching a physical TTY/terminal port</u>. A Pseudo-TTY (a fake TTY, a &#8220;PTY&#8221;) is the terminal equivalent of a virtual network computing (VNC) server. When you run an xterm or GNOME Terminal program, the PTY acts as a TTY for the virtual or pseudo terminal that the xterm represents. &#8220;Pseudo,&#8221; meaning &#8220;duplicating in a fake way,&#8221; is really a more descriptive term than &#8220;virtual&#8221; or &#8220;emulated.&#8221; It&#8217;s a shame that it has fallen out of fashion in computing.</p>
<p><b>Dev</b><br />
Also left over from TTYs is the &#8220;stty&#8221; command, for &#8220;set tty&#8221;, and an /etc/inittab (&#8220;initialization table&#8221;) file that configures which gettys are on which serial ports. In modern times, the only terminal directly attached to a Linux box is usually the console, with its special TTY that&#8217;s named &#8220;console.&#8221; Of course, the &#8220;console&#8221; TTY goes out the window as soon as you start up X11, which doesn&#8217;t use a serial protocol any more. All the TTYs are stored in the &#8220;/dev&#8221; directory, which is short for &#8220;[physical] devices.&#8221; Once upon a time you had to configure each such device file by hand when you plugged a new terminal into the set of serial ports on the back of the computer. These days, the install process for Linux (and Unix) just creates in that directory every device file that it can imagine. That way, you rarely have to create one.</p>
<p><b>============ from the Unix Jargon File ============</b><br />
at <a href="http://www.catb.org/~esr/jargon/html/frames.html">http://www.catb.org/~esr/jargon/html/frames.html</a></p>
<p><b>tty: /TÂ·TÂ·Y/, /titÂ´ee/, n.</b></p>
<p>The latter pronunciation was primarily ITS, but some Unix people say it this way as well; this pronunciation is not considered to have sexual undertones. </p>
<p>1. A terminal of the teletype variety, characterized by a noisy mechanical printer, a very limited character set, and poor print quality. Usage: antiquated (like the TTYs themselves). See also bit-paired keyboard. </p>
<p>2. [especially Unix] Any terminal at all; sometimes used to refer to the particular terminal controlling a given job. </p>
<p>3. [Unix] Any serial port, whether or not the device connected to it is a terminal; so called because under Unix such devices have names of the form tty*. Ambiguity between senses 2 and 3 is common but seldom bothersome.</p>
<p><b>======== from a BeOS text: BE ENGINEERING INSIGHTS: Terminal Issues=========</b> </p>
<p>Actually, I liked this article QUITE a lot because it speaks the language at the exact level I wanted&#8230;Technical but without assuming that the user is either an ignoranus or guru:</p>
<p>Other than this excerpt, see the doc for other issues like character sets, ANSI escape sequences and compatibility etc;</p>
<p><a href="http://www.beatjapan.org/mirror/www.be.com/aboutbe/benewsletter/Issue103.html">http://www.beatjapan.org/mirror/www.be.com/aboutbe/benewsletter/Issue103.html</a></p>
<p>The pseudo-tty driver, &#8220;<code>pty</code>&#8220;, serves the same purpose as<br />
that in the UNIX world. <u>Both &#8220;<code>pty</code>&#8221; and the serial driver<br />
provide uniform services in the area of low-level character<br />
handling.</u> This handling is programmable using the &#8220;termios&#8221;<br />
family of functions, described in any Posix manual. From<br />
the shell, use the &#8220;<code>stty</code>&#8221; command: Type &#8220;<code>stty --help</code>&#8221; for<br />
help.</p>
<p><b>TERMCAP AND CURSES</b></p>
<p>UNIX pioneered the notion of describing the characteristics<br />
and abilities of standalone terminals, a.k.a. glass TTYs.<br />
There was a plentiful assortment in the 70s and 80s, with<br />
differences that could best be described as gratuitous. The<br />
publicly assembled file, stored in <code>/etc/termcap</code>, allowed<br />
programs like text editors and games to move the cursor all<br />
over the screen, without knowing the particular brand of<br />
incompatible tty being used.</p>
<p>This file is shipped with the BeOS, and comes in handy when<br />
you want to run &#8220;<code>vi</code>&#8221; or &#8220;<code>emacs</code>&#8221; locally in a Terminal<br />
window. It is also needed if you log into a BeOS system from<br />
Solaris, or from that VAX VMS system with the TeleVideo.</p>
<p>The BeOS will also ship with &#8220;<code>ncurses</code>&#8220;, a powerful library<br />
built on termcap, and used by many terminal-oriented<br />
programs. This is based on the &#8220;curses&#8221; library of BSD UNIX.</p>
<p>In the 90s, most terminal manufacturers have departed the<br />
business (or this world). The market remains for terminal<br />
emulators, such as ProComm, Kermit, xterm of X Windows, and<br />
all UNIX workstation consoles. Be&#8217;s Terminal app falls in<br />
this category. All follow the loosely-defined ANSI X3.64<br />
standard.</p>
<p>======= Interesting threads on comp.unix.programmer ======</p>
<p>Searches for &#8220;pty terminal&#8221; etc&#8217; in comp.unix.programmer in general yield good results.</p>
<p>Example : <a href="http://groups.google.com/group/comp.unix.programmer/browse_frm/thread/ca3e16f0e63b9299/ec33ff78d86c169d?q=terminal+pty&amp;rnum=2#ec33ff78d86c169d">isatty() usage</a></p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijucat.wordpress.com/9/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijucat.wordpress.com/9/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijucat.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijucat.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijucat.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijucat.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijucat.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijucat.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijucat.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijucat.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijucat.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijucat.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijucat.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijucat.wordpress.com/9/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijucat.wordpress.com/9/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijucat.wordpress.com/9/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=9&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijucat.wordpress.com/2005/12/15/learning-terminals-pty-tty-et-al/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1f64c44d7bcee6813d3ca72bbb645b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijucat</media:title>
		</media:content>
	</item>
		<item>
		<title>RIA &#8211; Ajax versus Flash guesswork</title>
		<link>http://vijucat.wordpress.com/2005/11/17/ria-ajax-versus-flash-guesswork/</link>
		<comments>http://vijucat.wordpress.com/2005/11/17/ria-ajax-versus-flash-guesswork/#comments</comments>
		<pubDate>Thu, 17 Nov 2005 15:59:12 +0000</pubDate>
		<dc:creator>vijucat</dc:creator>
				<category><![CDATA[mumble]]></category>

		<guid isPermaLink="false">http://vijucat.wordpress.com/?p=8</guid>
		<description><![CDATA[Flex 2 Been keeping an eye on Flash happenings, especially the release of Flex 2 and Flash 8.5 alpha. Looks like their VM is getting better and better: ActionScript 3 performance courtesy oddhammer&#8217;s AS3 performance tests I also like the Eclipse integration. Now if I could get some time to try it out hands on, [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=8&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p><strong>Flex 2</strong><br />
Been keeping an eye on Flash happenings, especially the release of Flex 2 and Flash 8.5 alpha.</p>
<p>Looks like their VM is getting better and better:<br />
<a href="http://oddhammer.com/actionscriptperformance/set4/">ActionScript 3 performance</a><br />
courtesy <a href="http://oddhammer.com/blog/comments.php?id=168_0_1_0_C">oddhammer&#8217;s AS3 performance tests</a></p>
<p>I also like the Eclipse integration. Now if I could get some time to try it out hands on, that would be nice. <img src='http://s0.wp.com/wp-includes/images/smilies/icon_sad.gif' alt=':(' class='wp-smiley' /> </p>
<p>Basically, I&#8217;m wondering if it&#8217;s ready for prime-time, stuff like real-time trading apps.</p>
<p>I have the deepest sympathy for Laszlo, though, who got there first with their XML + JavaScript == build ==&gt; ActionScript model, but are being ousted by fate (a.k.a Adobe/Macromedia).</p>
<p><strong>Ajax</strong><br />
Awesome tricks, but it&#8217;s a trick. Problem is : you don&#8217;t want to do JS for n browsers. Not me, at least. There are enough business-layer problems to deal with. You&#8217;d want a GUI that just works.</p>
<p>Remember that Ajax GUIs are impressive not because of what they DO, but because of what you thought you COULD NOT do in the browser for so many years. But when you see a solid working Flash GUI that works both as a Desktop App as well as a browser App, the value-add is too good to ignore. I think Flash apps are ALMOST there&#8230;Once they get it that for browser apps, one needs to make sure that the browser-habits are still useful (Ctrl-F to start up a Find, etc;), the psychological resistance will come down. (I don&#8217;t think download time is a big issue because it&#8217;s a one-time cost).</p>
<p><a href="http://www.morfik.com">Morfik</a> does a good job of encapsulating the magic, and is an almost-as-good-as-desktop-programming solution. Except, I bet &#8220;Morfik Java&#8221; etc; don&#8217;t have threads, for example. Because the &#8220;VM&#8221; here (target language, if you insist) is JavaScript.</p>
<p>In comparison, Flash is not just a plug-in but a self-contained VM &amp; GUI, too : you could build a web browser entirely in Flash, for example. (<strong>Update:</strong> As an example : <a href="http://www.liveplasma.com">liveplasma</a> is the kind of full-screen Flash UI I like seeing. But as mentioned above, I wish Ctrl-F, etc; worked as they do in the browser&#8230;)</p>
<p>Also, I guess firms think about being able to hire people : multi-browser JS is an esoteric skill in comparison to Java + XML in Eclipse skills (which is the model that Flex 2 and Laszlo offer). </p>
<p><strong>Microsoft is Live, remember?</strong><br />
Then there&#8217;s MS and Avalon&#8230;whew, changing landscape all the time eh?!</p>
<p><strong>My bet?</strong><br />
Flash with Flex 2 for unified (i.e., both web and desktop applications) GUIs:</p>
<ul>
<li>More developer base for both the traditional ActionScript side and the newer Java-friendly side.</li>
<li>Longer history ==&gt; less bugs in the VM.</li>
<li>(Adobe + Macromedia vs. Microsoft : CIO types will feel comfortable investing in either of them.)</li>
</ul>
<p>Methinks Ajax is a phase. 5 years down the line, it will still be there (remember how long it took for Gmail and come teach Yahoo to change?), but we&#8217;ll find a much more pain-free way of doing unified GUI development by then.</p>
<p>Please feel to criticize and correct : I don&#8217;t earn my bread and butter from GUI work and do not KNOW any of the techologies (except Java and XML) in great depth. I&#8217;m sure to have got some angles wrong&#8230;.speculation for the most part.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijucat.wordpress.com/8/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijucat.wordpress.com/8/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijucat.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijucat.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijucat.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijucat.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijucat.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijucat.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijucat.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijucat.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijucat.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijucat.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijucat.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijucat.wordpress.com/8/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijucat.wordpress.com/8/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijucat.wordpress.com/8/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=8&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijucat.wordpress.com/2005/11/17/ria-ajax-versus-flash-guesswork/feed/</wfw:commentRss>
		<slash:comments>3</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1f64c44d7bcee6813d3ca72bbb645b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijucat</media:title>
		</media:content>
	</item>
		<item>
		<title>Gimme Obfuscated!</title>
		<link>http://vijucat.wordpress.com/2005/11/13/gimme-obfuscated/</link>
		<comments>http://vijucat.wordpress.com/2005/11/13/gimme-obfuscated/#comments</comments>
		<pubDate>Sun, 13 Nov 2005 08:31:39 +0000</pubDate>
		<dc:creator>vijucat</dc:creator>
				<category><![CDATA[jumble]]></category>

		<guid isPermaLink="false">http://vijucat.wordpress.com/2005/11/13/gimme-obfuscated/</guid>
		<description><![CDATA[Drowned in Java bloat? A whiff of refreshing C breeze for you, then! Imagine a car racing program with collission detection, decent graphics and the other features listed below. In 63 lines of C code. . Features ======== This program is a complete car race game with a lot of nice features: * Drive on [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=6&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>Drowned in Java bloat?</p>
<p>A whiff of refreshing C breeze for you, then!</p>
<p>Imagine a car racing program with collission detection, decent graphics and the other features listed below.</p>
<p><strong>In 63 lines of C code.</strong></p>
<p><img src="http://vj-anshu.smugmug.com/photos/44263517-L.jpg" alt="vik1 car racing game" />. </p>
<blockquote><p>Features<br />
========<br />
This program is a complete car race game with a lot of nice features:</p>
<p>*  Drive on a road in a 3-d landscape with hills and curves<br />
*  Mountains in the horizon<br />
*  A sun in the sky when driving during the day.<br />
*  Dark sky and reduced visibility when driving at night.<br />
*  Snow when driving in the winter.<br />
*  Slippery road when driving in the winter.<br />
*  When driving off the road, the car slows down to a halt<br />
*  Three different race tracks that takes about one minute to complete.<br />
*  Speed meter.<br />
*  Computer driven opponent cars.<br />
*  Collision detection when driving into other cars.<br />
*  Lap time measurement.<br />
*  The best lap time is stored as reference.</p></blockquote>
<p>Well, 63 lines of obfuscated C code, yes, but nevertheless, 63 lines.<br />
<strong>Description:</strong> <a href="http://www.au.ioccc.org/2004/vik1.hint">vik1 car racing game at the IOCCC</a>.<br />
<strong>Source code and Makefile:</strong> Look for <strong>vik1</strong> on this page : <a href="http://www.au.ioccc.org/years.html#2004">http://www.au.ioccc.org/years.html#2004</a></p>
<p>Kudos to <a href="http://www.vik.cc/">Daniel Vik</a> for &#8220;Best X11 Game&#8221;.</p>
<p>A marvel eh?</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijucat.wordpress.com/6/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijucat.wordpress.com/6/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijucat.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijucat.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijucat.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijucat.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijucat.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijucat.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijucat.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijucat.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijucat.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijucat.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijucat.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijucat.wordpress.com/6/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijucat.wordpress.com/6/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijucat.wordpress.com/6/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=6&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijucat.wordpress.com/2005/11/13/gimme-obfuscated/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1f64c44d7bcee6813d3ca72bbb645b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijucat</media:title>
		</media:content>

		<media:content url="http://vj-anshu.smugmug.com/photos/44263517-L.jpg" medium="image">
			<media:title type="html">vik1 car racing game</media:title>
		</media:content>
	</item>
		<item>
		<title>I think I&#8217;ll stay</title>
		<link>http://vijucat.wordpress.com/2005/11/11/i-think-ill-stay-bye-bloggercom/</link>
		<comments>http://vijucat.wordpress.com/2005/11/11/i-think-ill-stay-bye-bloggercom/#comments</comments>
		<pubDate>Fri, 11 Nov 2005 15:22:56 +0000</pubDate>
		<dc:creator>vijucat</dc:creator>
				<category><![CDATA[mumble]]></category>

		<guid isPermaLink="false">http://vijucat.wordpress.com/?p=4</guid>
		<description><![CDATA[So obviously, the top feature that people have been asking for is template editing. I&#8217;m surprised no one talked about export. I guess that&#8217;s a reflection of the amount of goodwill the WordPress folk have built up. Having lost loads of links and content recently to a site called http://wetaste.com, which I used indiscriminately to [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=4&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So obviously, the top feature that people have been asking for is <strong>template editing</strong>. I&#8217;m surprised no one talked about <strong>export</strong>. I guess that&#8217;s a reflection of the amount of goodwill the WordPress folk have built up. Having lost loads of links and content recently to a site called <a href="http://wetaste.com">http://wetaste.com</a>, which I used indiscriminately to digest stuff before posting to <a href="http://del.icio.us">del.icio.us</a>, I&#8217;ve realized how important export is.</p>
<p>But back to the topic of wordpress.com : I think I&#8217;ll stay. Bye <strong>blogger.com</strong>.<br />
I was looking for an easy way to</p>
<ol>
<li>post source code snippets, and preferably <a href="http://www.livejournal.com/support/faqbrowse.bml?faqid=75"><strong>lj-cut</strong></a>, so that I can hide the code listings if they get too long or disruptive</li>
<li>comments, trackback, feeds</li>
<li>spam control</li>
<li>no hosting : dont want to manage the server</li>
<li>no software either : dont want to do maintenance and upgradation of the software (I can EASILY get lost tinkering with that instead of focusing on the <em>content</em>)</li>
</ol>
<p>In brief, enough for me to share my code tinkering without the distractions.</p>
<p>The wordpress.com invite couldn&#8217;t have come at a better time. <a href="http://blogger.com">blogger.com</a> drove me crazy as I tried to do <strong>lj-cut</strong>. Compared to <strong>lj-cut</strong> in LJ and the <strong>more</strong> tag in WP, the CSS editing that one has to do to achieve the same effect in blogger is ridiculous. See <a href="http://help.blogger.com/bin/answer.py?answer=898">blogger.com: How can I create expandable post summaries?</a>. Conditional CSS vs typing in <strong>&lt;!&#8211;more&#8211;&gt;</strong> is a no-brainer.</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijucat.wordpress.com/4/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijucat.wordpress.com/4/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijucat.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijucat.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijucat.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijucat.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijucat.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijucat.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijucat.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijucat.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijucat.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijucat.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijucat.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijucat.wordpress.com/4/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijucat.wordpress.com/4/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijucat.wordpress.com/4/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=4&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijucat.wordpress.com/2005/11/11/i-think-ill-stay-bye-bloggercom/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1f64c44d7bcee6813d3ca72bbb645b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijucat</media:title>
		</media:content>
	</item>
		<item>
		<title>Hello world!</title>
		<link>http://vijucat.wordpress.com/2005/11/10/hello-world/</link>
		<comments>http://vijucat.wordpress.com/2005/11/10/hello-world/#comments</comments>
		<pubDate>Thu, 10 Nov 2005 13:04:53 +0000</pubDate>
		<dc:creator>vijucat</dc:creator>
				<category><![CDATA[mumble]]></category>

		<guid isPermaLink="false"></guid>
		<description><![CDATA[So here we are. Let&#8217;s see if it can do an lj-cut? And Voila, it DOES work. Kind of. Click here: The wp &#8220;more&#8221; tag is described as: WordPress tag that breaks a post into &#8220;teaser&#8221; and content sections. Type a few paragraphs, insert this tag, then compose the rest of your post. On your [...]<img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=1&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></description>
			<content:encoded><![CDATA[<p>So here we are. Let&#8217;s see if it can do an lj-cut?</p>
<p>And Voila, it DOES work. Kind of. Click here:<br />
<span id="more-1"></span><br />
The wp &#8220;more&#8221; tag is described as: </p>
<blockquote><p>WordPress tag that breaks a post into &#8220;teaser&#8221; and content sections. Type a few paragraphs, insert this tag, then compose the rest of your post. On your blog&#8217;s home page you&#8217;ll see only those first paragraphs with a hyperlink ((more&#8230;)), which when followed displays the rest of the post&#8217;s content.</p></blockquote>
<p>Basically, you can&#8217;t inline the &#8220;cut&#8221; (expandable text) within the main post&#8217;s text as with LJ.</p>
<p>But heck, they&#8217;ve got a <code>code</code> tag and Trackback. Let&#8217;s try code:</p>
<blockquote><p><code>int main()<br />
{<br />
  set clients;<br />
  typedef set::iterator clientiterator;<br />
  pair p =  clients.insert("blah");<br />
...<br />
}</code></p></blockquote>
<p>Code looks good if you surround it with a blockquote in the &#8220;Almost Spring 1.1&#8243; template.<br />
But not in the &#8220;Connections&#8221; template, whose blockquote is visibly meant for quoting people&#8230;</p>
<br /><img alt="" border="0" src="http://feeds.wordpress.com/1.0/categories/vijucat.wordpress.com/1/" /> <img alt="" border="0" src="http://feeds.wordpress.com/1.0/tags/vijucat.wordpress.com/1/" /> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gocomments/vijucat.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/comments/vijucat.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godelicious/vijucat.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/delicious/vijucat.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gofacebook/vijucat.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/facebook/vijucat.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gotwitter/vijucat.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/twitter/vijucat.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/gostumble/vijucat.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/stumble/vijucat.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/godigg/vijucat.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/digg/vijucat.wordpress.com/1/" /></a> <a rel="nofollow" href="http://feeds.wordpress.com/1.0/goreddit/vijucat.wordpress.com/1/"><img alt="" border="0" src="http://feeds.wordpress.com/1.0/reddit/vijucat.wordpress.com/1/" /></a> <img alt="" border="0" src="http://stats.wordpress.com/b.gif?host=vijucat.wordpress.com&amp;blog=17643&amp;post=1&amp;subd=vijucat&amp;ref=&amp;feed=1" width="1" height="1" />]]></content:encoded>
			<wfw:commentRss>http://vijucat.wordpress.com/2005/11/10/hello-world/feed/</wfw:commentRss>
		<slash:comments>1</slash:comments>
	
		<media:content url="http://1.gravatar.com/avatar/b1f64c44d7bcee6813d3ca72bbb645b7?s=96&#38;d=identicon&#38;r=G" medium="image">
			<media:title type="html">vijucat</media:title>
		</media:content>
	</item>
	</channel>
</rss>
