<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-26789292</id><updated>2012-01-19T15:41:59.928+05:30</updated><category term='Fun'/><category term='Musings'/><category term='Travel'/><category term='Observations'/><title type='text'>Amal Pillai</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://apillai.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>19</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-26789292.post-417490107714034261</id><published>2009-12-16T21:16:00.000+05:30</published><updated>2009-12-16T21:16:03.558+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fun'/><title type='text'>Pre-posterous</title><content type='html'>Recently, I came across &lt;a href="http://www.posterous.com/"&gt;posterous&lt;/a&gt; and found that be a good site to write about something in more than 140 characters. I guess for a lot of what I would like to write, especially random thoughts, observations and fun stuff, posterous looks easier to use - and much faster and simpler to post !&lt;br /&gt;&lt;br /&gt;So, I am experimenting with posterous for a while - project "pre-posterous". Here is a link to my &lt;a href="http://apillai.posterous.com/"&gt;posterous site&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-417490107714034261?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=417490107714034261' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/417490107714034261'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/417490107714034261'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2009/12/pre-posterous.html' title='Pre-posterous'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-9006471119280272953</id><published>2009-08-13T20:33:00.003+05:30</published><updated>2009-08-13T20:45:27.605+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fun'/><title type='text'>No access / slow loading / timeout of Linkedin</title><content type='html'>I have been experiencing slow response (initially), and more recently, timeout while attempting to connect to &lt;a href="http://www.linkedin.com"&gt;Linkedin&lt;/a&gt; from home (Dell Inspiron 1420 running Ubuntu Hardy Heron 8.04, Firefox 3.1x or 3.5x, with D-Link 2640T ADSL/Wi-Fi combo modem/router. Apparently, there was no problem connecting with the office VPN, or through a proxy (e.g. &lt;a href="http://www.tntproxy.com"&gt;www.tntproxy.com&lt;/a&gt;), but then Javascript is disabled with a proxy access --&gt; I cannot update the profile or manage contacts.&lt;br /&gt;&lt;br /&gt;I finally fixed the problem with the material discussed in:&lt;br /&gt;&lt;a href="http://marzoa.com/2009/03/08/d-link-dsl-g624t-and-linkedincom"&gt;http://marzoa.com/2009/03/08/d-link-dsl-g624t-and-linkedincom&lt;/a&gt;&lt;br /&gt;&lt;a href="https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/314713"&gt;https://bugs.launchpad.net/ubuntu/+source/network-manager/+bug/314713&lt;/a&gt;.&lt;br /&gt;&lt;br /&gt;The ADSL default configuration for PPPoE is MTU (Maximum Transmission Unit) at 1400 and MRU (Maximum Receive Unit) at 1492. (I have Airtel 512 kbps DSL connection) Changing this to match the eth0 MTU default value of 1500 on the DSL modem did no good - apparently the modem cannot handle MTU = 1500. So, I tried the two steps to remove the iptables FORWARD and change the eth0 MTU:&lt;br /&gt;&lt;br /&gt;(a) Delete the iptables rule as described from the router. I too had the offending line in position 1&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;iptables -D FORWARD 1&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;(b) Reset MTU on the machine (interface eth0 in my case)&lt;br /&gt;&lt;tt&gt;&lt;br /&gt;sudo ifconfig eth0 MTU 1400&lt;br /&gt;&lt;/tt&gt;&lt;br /&gt;The MTU value is 1400 since TCPMSS is set to 1360 in the router. (Note: TCPMSS = 1400 - 40 = 1360)&lt;br /&gt;&lt;br /&gt;Naturally, it is not a stable fix: I have to telnet to my modem, reset the iptables each time, but something is better than nothing... Next step: Try to upgrade router firmware and pray it does not screw things up any further ;-)&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-9006471119280272953?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=9006471119280272953' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/9006471119280272953'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/9006471119280272953'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2009/08/no-access-slow-loading-timeout-of.html' title='No access / slow loading / timeout of Linkedin'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-5253133354347932871</id><published>2009-08-01T19:36:00.006+05:30</published><updated>2009-08-02T10:06:38.879+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fun'/><title type='text'>More fun with ffmpeg...</title><content type='html'>&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:arial;"&gt;The standard &lt;a href="http://ffmpeg.org/"&gt;ffmpeg&lt;/a&gt; installed with Ubuntu does not have libmp3lame for mp3 encoding. Paul Maunders&lt;/span&gt;&lt;/span&gt;&lt;span&gt;&lt;span&gt;&lt;a href="http://www.pyrosoft.co.uk/blog/2008/04/15/encoding-mp3-audio-with-ffmpeg-on-ubuntu-hardy/"&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:arial;"&gt;&lt;/span&gt;&lt;/span&gt;&lt;/a&gt;&lt;/span&gt;&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family:arial;"&gt; &lt;a href="http://www.pyrosoft.co.uk/blog/2008/04/15/encoding-mp3-audio-with-ffmpeg-on-ubuntu-hardy"&gt;describes&lt;/a&gt; how to install ffmpeg with libmp3lame support from the Medibuntu distribution. Now &lt;/span&gt;&lt;/span&gt;it is easy to rip mp3 off a flash video file in either of the following ways:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;ffmpeg -i some.flv -acodec mp3 some.mp3&lt;br /&gt;ffmpeg -i some.flv -vn -acodec copy some.mp3&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;Here is the output from my machine:&lt;br /&gt;&lt;pre&gt;&lt;br /&gt;apillai@giraffe:~/Videos/$ ffmpeg -i some.flv -vn -acodec copy some.mp3&lt;br /&gt;FFmpeg version SVN-rUNKNOWN, Copyright (c) 2000-2007 Fabrice Bellard, et al.&lt;br /&gt;  configuration: --enable-gpl --enable-pp --enable-swscaler --enable-pthreads --enable-libvorbis --enable-libtheora --enable-libogg --enable-libgsm --enable-dc1394 --disable-debug --enable-libmp3lame --enable-libfaadbin --enable-libfaad --enable-libfaac --enable-xvid --enable-x264 --enable-liba52 --enable-amr_nb --enable-amr_wb --enable-shared --prefix=/usr&lt;br /&gt;  libavutil version: 1d.49.3.0&lt;br /&gt;  libavcodec version: 1d.51.38.0&lt;br /&gt;  libavformat version: 1d.51.10.0&lt;br /&gt;  built on Mar 17 2009 21:37:49, gcc: 4.2.4 (Ubuntu 4.2.4-1ubuntu3)&lt;br /&gt;Seems stream 0 codec frame rate differs from container frame rate: 1000.00 (1000/1) -&gt; 29.97 (30000/1001)&lt;br /&gt;Input #0, flv, from 'some.flv':&lt;br /&gt;  Duration: 00:04:43.9, start: 0.000000, bitrate: 64 kb/s&lt;br /&gt;  Stream #0.0: Video: flv, yuv420p, 320x240, 29.97 fps(r)&lt;br /&gt;  Stream #0.1: Audio: mp3, 22050 Hz, mono, 64 kb/s&lt;br /&gt;Output #0, mp2, to 'some.mp3':&lt;br /&gt;  Stream #0.0: Audio: mp3, 22050 Hz, mono, 64 kb/s    &lt;=== mp3 stream&lt;br /&gt;Stream mapping:&lt;br /&gt;  Stream #0.1 -&gt; #0.0&lt;br /&gt;Press [q] to stop encoding&lt;br /&gt;size=    2219kB time=284.0 bitrate=  64.0kbits/s  &lt;br /&gt;video:0kB audio:2219kB global headers:0kB muxing overhead 0.000000%&lt;br /&gt;apillai@giraffe:~/Videos/$&lt;br /&gt;&lt;/pre&gt;&lt;br /&gt;&lt;span style="font-family: arial;font-size:100%;" &gt;Now we have a clean mp3 that can be played on your ipod! &lt;a href="http://www.tuxradar.com/content/ffmpeg-made-easy"&gt;Tux Radar&lt;/a&gt; has a nice write up on ffmpeg&lt;/span&gt;&lt;span style="font-size:100%;"&gt;&lt;span style="font-family: arial;"&gt; tips and tricks.&lt;/span&gt;&lt;/span&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-5253133354347932871?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=5253133354347932871' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/5253133354347932871'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/5253133354347932871'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2009/08/more-fun-with-ffmpeg.html' title='More fun with ffmpeg...'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-2460212083560326186</id><published>2009-06-17T19:56:00.007+05:30</published><updated>2009-06-17T20:05:50.515+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Musings'/><title type='text'>Holy crap !</title><content type='html'>Here is an extract from a &lt;a href="http://blog.objectmentor.com/articles/2009/05/20/clean-code-and-battle-scarred-architecture"&gt;recent post&lt;/a&gt; by &lt;a href="http://www.objectmentor.com/omTeam/martin_r.html"&gt;Uncle Bob&lt;/a&gt; in the ObjectMentor Blog:&lt;br /&gt;&lt;br /&gt;"&lt;span style="font-size:85%;"&gt;CRAP is a metric that is applied to each function in the system. The formula for CRAP is: CRAP = comp(f)2. X (1 – cov(f)/100)3. + comp(f), Where comp(f) = the &lt;a href="http://en.wikipedia.org/wiki/Cyclomatic_complexity"&gt;cyclomatic complexity&lt;/a&gt; of the function f. and cov(f) = the unit test coverage of function f. So a function’s CRAP will be small iff the cyclomatic complexity is low and the test coverage is high. CRAP will be huge if cyclomatic complexity is high, and there is no coverage.&lt;/span&gt;"&lt;br /&gt;&lt;br /&gt;They even have a tool available for measuring this: &lt;a href="http://www.crap4j.org"&gt;crap4j&lt;/a&gt; ! Take a look at that sample report ! Holy crap ! What a change from the dry formality of percentage of dead code, fault density and so on... A follow-up post is &lt;a href="A%20nice%20follow-up%20at%20http://blog.objectmentor.com/articles/2009/06/08/metrics-of-moment"&gt;here&lt;/a&gt;.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-2460212083560326186?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=2460212083560326186' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/2460212083560326186'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/2460212083560326186'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2009/06/holy-crap.html' title='Holy crap !'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-1809460106825792887</id><published>2009-06-14T16:31:00.002+05:30</published><updated>2009-06-14T16:43:02.894+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Musings'/><title type='text'>The twp (thin wallet program)</title><content type='html'>I started an active intent to reduce the size of my wallet around the New Year. My wallet was becoming a dumpyard of transaction slips, cash, coins a few credit / debit cards, assorted visiting cards and what not... After all, size zero is so much in vogue these days and I didn't see why I should not cut the wallet to size first.&lt;br /&gt;&lt;br /&gt;So I sat down and looked at what is really essential and came to the following conclusion: At any point of time, a couple of cards, copy of my driving license and some petty cash is fine. Coins are useless - not even beggars accept them these days. Transaction slips can be shunted out every other week; visiting cards can be kept elsewhere.&lt;br /&gt;&lt;br /&gt;I purchased a new thin wallet that can hardly accommodate these items (lest I fall prey to stuffing once again) and I have been happy since the last few months. Optimization at times is not so much of an evil...&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-1809460106825792887?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=1809460106825792887' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/1809460106825792887'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/1809460106825792887'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2009/06/twp-thin-wallet-program.html' title='The twp (thin wallet program)'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-6236918863594276659</id><published>2009-05-24T08:18:00.005+05:30</published><updated>2009-05-26T18:31:46.357+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Musings'/><title type='text'>Movie List</title><content type='html'>I have listed down a few interesting movies I have seen over the last few years. None of them are of the popular genre, nor are they too artistic to leave you with a sinking feeling of "what the hell was that" after the movie is over. &lt;a href="http://www.utvworldmovies.com/"&gt;UTV world movies&lt;/a&gt; has been airing a few of them - for the others you have to search other sources (Youtube ?). More of them, in a later post.&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://www.imdb.com/title/tt0311519/"&gt;A man without a past&lt;/a&gt;,  &lt;a href="http://www.imdb.com/title/tt0116752"&gt;Drifting clouds&lt;/a&gt; (Finland): Amazing movies from the Finnish director &lt;span style="text-decoration: underline;"&gt;&lt;a href="http://en.wikipedia.org/wiki/Aki_Kaurism%C3%83%C2%A4ki"&gt;Aki Kaurismäki&lt;/a&gt; &lt;/span&gt;&lt;a href="http://en.wikipedia.org/wiki/Aki_Kaurism%C3%83%C2%A4ki"&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.imdb.com/title/tt0106671/"&gt;Darkness in Tallinn&lt;/a&gt; (Estonia) : Powerful play of darkness and light to depict the greed of the powerful and life of the ordinary&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.imdb.com/title/tt0112817/"&gt;Dead man&lt;/a&gt; (English) : Haunting... that is all I can say about the movie and the music by &lt;a href="http://en.wikipedia.org/wiki/Jim_Jarmusch"&gt;Jim Jarmusch&lt;/a&gt;. &lt;a href="http://en.wikipedia.org/wiki/Johnny_Depp"&gt;Johnny Depp&lt;/a&gt; at his best ?&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.imdb.com/title/tt0077783/"&gt;Junoon&lt;/a&gt; : A 1978 movie of &lt;a href="http://en.wikipedia.org/wiki/Shyam_Benegal"&gt;Shyam Benegal&lt;/a&gt;, based on Flight of the Pigeons by &lt;a href="http://en.wikipedia.org/wiki/Ruskin_Bond"&gt;Ruskin Bond&lt;/a&gt;. &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.imdb.com/title/tt0449851/"&gt;The Valet&lt;/a&gt;" (France),  &lt;a href="http://www.imdb.com/title/tt0382097/"&gt;Swindled&lt;/a&gt; (Spain) : Light comedies interspersed with realism.&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.imdb.com/title/tt0399040/"&gt;My Girl&lt;/a&gt; (Thai) : You cannot but laugh nostalgically about childhood.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.imdb.com/title/tt0118849/"&gt;Children of Heaven&lt;/a&gt;,  &lt;a href="http://www.imdb.com/title/tt0255094/"&gt;The Circle&lt;/a&gt; (Iran): So realistic, so poetic, so powerful...&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.imdb.com/title/tt0070592"&gt;Massacre in Rome&lt;/a&gt; (English) : Another war movie at the surface, but there is an eerie similarity with the functioning of a modern day corporate, especially in the politics and decision making around the preparation of execution list...&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-6236918863594276659?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=6236918863594276659' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/6236918863594276659'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/6236918863594276659'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2009/05/i-have-listed-down-few-interesting.html' title='Movie List'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-8749358464946773223</id><published>2009-01-14T12:35:00.004+05:30</published><updated>2009-01-14T12:45:28.252+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Musings'/><title type='text'>Free MBTI Online Analysis</title><content type='html'>There is a comprehensive, yet &lt;a href="http://www.humanmetrics.com/cgi-win/JTypes1.htm"&gt;free online test&lt;/a&gt; for &lt;a href="http://en.wikipedia.org/wiki/Myers-Briggs_Type_Indicator"&gt;Myers-Brigg Type Indicator&lt;/a&gt;. For the curious ones, I tend to be somewhere in between an INTJ and INTP.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-8749358464946773223?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=8749358464946773223' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/8749358464946773223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/8749358464946773223'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2009/01/free-mbti-online-analysis.html' title='Free MBTI Online Analysis'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-8611791140294242777</id><published>2009-01-14T12:26:00.002+05:30</published><updated>2009-01-14T12:32:49.909+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fun'/><title type='text'>Samsung SCX 4300 on Ubuntu</title><content type='html'>I bought a &lt;a href="http://www.samsung.com/in/consumer/detail/detail.do?group=laserprintersmultifunction&amp;amp;type=laserprintersmultifunction&amp;amp;subtype=monolasermfp&amp;amp;model_cd=SCX-4300/XIP"&gt;Samsung SCX 4300&lt;/a&gt; multifunction device a couple of weeks back. Getting it work with Ubuntu was a little tricky, but thanks to information from&lt;span style="text-decoration: underline;"&gt; &lt;/span&gt;&lt;a href="http://www.vyvy.org/main/node/146"&gt;Volatile Yard&lt;/a&gt;, I got it working completely in a couple of hours. The experiences are listed in &lt;a href="https://answers.launchpad.net/ubuntu/+question/55617"&gt;Ubuntu Launchpad&lt;/a&gt; and in &lt;a href="http://http://ubuntuforums.org/archive/index.php/t-1022880.html"&gt;Ubuntu Forums &lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-8611791140294242777?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=8611791140294242777' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/8611791140294242777'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/8611791140294242777'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2009/01/samsung-scx-4300-on-ubuntu.html' title='Samsung SCX 4300 on Ubuntu'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-4149166153163985423</id><published>2008-08-03T21:37:00.003+05:30</published><updated>2008-08-03T21:46:49.628+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fun'/><title type='text'>Dell Inspiron 1420</title><content type='html'>I got a new Dell Inspiron 1420 for my personal use and installed Ubuntu to dual boot it with the pre-installed Windows Vista. Installing a Linux distro for dual booting has come a long way since the first time I did it with Slackware and Windows NT - one needed to know the disk geometry, ensure that the partitions were within the first 1GB, tweaking the MBR and and worst, finally hand-tuning the X-Windows setup for a clean resolution. With Ubuntu, it looked like a "fire and forget". Good !&lt;br /&gt;&lt;br /&gt;Getting the WiFi connection to work with the DELL 1395 mini-card (Broadcom 4315) needed a little tweak as outlined in &lt;a href="http://ubuntuforums.org/showthread.php?t=704088"&gt;http://ubuntuforums.org/showthread.php?t=704088&lt;/a&gt;, but it worked perfectly. What surprised me was that the Broadcom 4315 drivers that shipped with laptop for Vista did not work with ndiswrappers.&lt;br /&gt;&lt;br /&gt;So far, so good.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-4149166153163985423?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=4149166153163985423' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/4149166153163985423'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/4149166153163985423'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2008/08/dell-inspiron-1420.html' title='Dell Inspiron 1420'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-5795896456785584972</id><published>2008-06-05T20:19:00.003+05:30</published><updated>2008-06-05T20:19:00.316+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Observations'/><title type='text'>The future of telco platforms</title><content type='html'>A couple of months back, I  saw a &lt;a href="http://www.ustream.tv/recorded/gvbXufYZraSDd.veU2w3FA"&gt;video on JavaFX&lt;/a&gt; by James Gosling that set me thinking.&lt;br /&gt;Application development has already shifted to favor scripting languages and a general purpose platform such as Java. Adobe, Microsoft, Sun and Google are targetting the mass applications market with their emerging technologies (Silverlight, Flash, Ajax...) At present, industry strength platforms are developed by individual organizations for specific domains such as telecom, medical imaging and automation segments, which traditionally have been considered specialized with real-time requirements. JavaFX promises much more and possibly make a big headway into these niche areas dominated by systems and real-time programming. Let us look at a few interesting things that are happening around us:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Commoditization of multi-core machines is making parallelism as an essential, low level feature.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;The OS is evolving into something more than what it is today, it is providing runtimes for  multiple languages and various persistence models.&lt;/li&gt;&lt;li&gt;Parallelism and persistence are becoming part of languages. Rather higher order and domain specific languages such as F#, Erlang, Scala are increasingly becoming viable alternatives for industry wide usage.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Compiled languages like C and C++ are either moving to &lt;a href="http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html"&gt;niches or are on their way out&lt;/a&gt;.&lt;/li&gt;&lt;/ul&gt;Sun has recently &lt;a href="http://www.mysql.com/news-and-events/sun-to-acquire-mysql.html"&gt;acquired MySQL AB&lt;/a&gt; and now &lt;a href="http://http//blog.internetnews.com/apatrizio/2008/03/sun-is-continuing-its-acquisit.html"&gt;hired Python programmers&lt;/a&gt; to allow JVM to run Python natively. Ah, may be Jython would now be part of Java ! Let us look at  activities of Microsoft and Sun Microsystems in pushing their platforms.&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Common runtime: .NET/CLR from MS, (j)VM from Sun.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Languages: MS supports C#, managed C++, Python, Ruby (and a host of languages) while Sun is focussed on  Java and Python&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Persistence       : MS supports LINQ while Java has many persistence models right from POJO to beans to frameworks such as Hibernate.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Higher order languages: MS is pushing F# while Scala is emerging as a serious contender in the Java world.&lt;/li&gt;&lt;li&gt;Dev  tools/IDE               : Visual Studio vs. NetBeans&lt;/li&gt;&lt;/ul&gt;Evidently, MS and Sun are pursuing similar tactics. Here are my predictions:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;In five years time, systems programming as a act of fighting with pointers, malloc/new, dumping core files, threads and writing obscure code for performance would reduce drastically.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Increased acceptance of domain-specific and higher order languages will bring code closer to models. This will make design and modeling an important domain specific activity.&lt;/li&gt;&lt;li&gt;The specific "platforms" for embedded systems, telecom, media processing, medical imaging  will coalesce into a single basis, with protocol / interface extensions and DSLs for the specific nature of work.&lt;/li&gt;&lt;/ul&gt;The average programmer "writing code" for these domains will be relegated to level of a skilled blue-collar worker. This is already happening in application space - see the amount of outsourcing for coders. The scientist and the domain specialist can and continue to design systems. Of course, the specialist and highly skilled programmer would always be around to build and maintain the platforms.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-5795896456785584972?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=5795896456785584972' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/5795896456785584972'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/5795896456785584972'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2008/06/future-of-telco-platforms.html' title='The future of telco platforms'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-2402744282733858614</id><published>2008-06-04T21:29:00.000+05:30</published><updated>2008-06-04T21:29:01.071+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Observations'/><title type='text'>Linux schedulers</title><content type='html'>Some interesting links on the evolution of &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_0"&gt;linux&lt;/span&gt; schedulers which discuss scheduling functions, O(1) scheduling and view-points on &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_1"&gt;pluggable&lt;/span&gt; schedulers:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http://josh.trancesoftware.com/linux/linux_cpu_scheduler.pdf"&gt;The O(1) scheduler&lt;/a&gt;: Available in 2.6 kernel series&lt;/li&gt;&lt;li&gt;&lt;a href="http://people.redhat.com/mingo/cfs-scheduler/sched-design-CFS.txt"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_2"&gt;CFS&lt;/span&gt; from &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_3"&gt;Ingo&lt;/span&gt; Molnar&lt;/a&gt;: Available from Linux kernel 2.6.23+ &lt;/li&gt;&lt;li&gt;&lt;a href="http://lwn.net/Articles/224654/"&gt;&lt;span class="blsp-spelling-error" id="SPELLING_ERROR_4"&gt;RSDL&lt;/span&gt; from Con &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_5"&gt;Kolivas&lt;/span&gt;&lt;/a&gt;: Sadly, Con quit kernel development unable to resolve the differences between himself, &lt;span class="blsp-spelling-error" id="SPELLING_ERROR_6"&gt;Ingo&lt;/span&gt; and Linus.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-2402744282733858614?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=2402744282733858614' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/2402744282733858614'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/2402744282733858614'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2008/06/linux-schedulers.html' title='Linux schedulers'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-4434145500232176767</id><published>2008-06-04T19:44:00.002+05:30</published><updated>2008-06-04T19:44:00.831+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Musings'/><title type='text'>People, Management and Programming</title><content type='html'>I found a few links that look at the management to software development in an unconventional way:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;a href="http:///#%20http://samizdat.mines.edu/howto/HowToBeAProgrammer.pdf"&gt;How to be a Programmer&lt;/a&gt; &lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.scottberkun.com/essays/"&gt;Essays&lt;/a&gt;&lt;a href="http://www.scottberkun.com/essays/"&gt; by Scott Berkun&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.kuro5hin.org/story/2005/1/28/32622/4244"&gt;Politics-Oriented Software Development&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.unixwiz.net/techtips/be-consultant.html"&gt;So, you want to be a consultant?&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;a href="http://www.blogger.com/en.wikipedia.org/wiki/Peopleware"&gt;Peopleware&lt;/a&gt; is excellent example of how an ideal world would be for engineers.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-4434145500232176767?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=4434145500232176767' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/4434145500232176767'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/4434145500232176767'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2008/06/people-management-and-programming.html' title='People, Management and Programming'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-8497448400727170357</id><published>2008-06-03T19:30:00.003+05:30</published><updated>2008-06-04T08:44:26.608+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Musings'/><title type='text'>Want to learn programming ?</title><content type='html'>I often get to talk to beginners asking me at workplace on how to go about improving their programming skills.  I learnt programming with free software (Linux, gcc) and hence my advice is naturally biased towards them.&lt;br /&gt;&lt;br /&gt;The first step is to familiarize oneself with a few basic things:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;An OS&lt;/span&gt;: Linux is my pick, though Win32 is not a bad choice. I find &lt;a href="http://www.ubuntu.com/"&gt;Ubuntu&lt;/a&gt; is an excellent distro that comes packed with all the goodies and a nice package manager to work with.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;A compiled language&lt;/span&gt; : I suggest C++ or Java. It is unfair to be  biased towards either. Rule of thumb: If you are interested in applications and "higher level" aspects - pick Java. On the other hand, if you want to write high-performance servers and systems, pick C++.  And if you like to get into kernels and drivers, pick C. &lt;a href="http://gcc.gnu.org/"&gt;gcc&lt;/a&gt; is a great thing for C/C++&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;An interpreted language&lt;/span&gt; : My pick is &lt;a href="http://www.python.org/"&gt;Python&lt;/a&gt; for its elegance and simplicity.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;Once you fix this up, pick the right tools. The most important of them are:&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;A good programmer's editor&lt;/span&gt;: For C/C++, it is better to start with a  modern clone of &lt;a href="http://www.vim.org/"&gt;vi&lt;/a&gt; or &lt;a href="http://www.gnu.org/software/emacs/"&gt;Emacs &lt;/a&gt;unless you are GUI freak. Java learners  would be better off sticking to &lt;a href="http://www.eclipse.org/"&gt;Eclipse&lt;/a&gt; or &lt;a href="http://www.netbeans.org/"&gt;NetBeans&lt;/a&gt;. Whatever it is, ensure that it is a good programmer's editor - supports easy  editing, commenting, indentation, compilation and integrates the  debugging to some extent.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Environment&lt;/span&gt;: Nothing to beat the Unix tools. If you are on Win32,  consider installing &lt;a href="http://www.cygwin.com/"&gt;Cygwin&lt;/a&gt; or &lt;a href="http://www.mingw.org/"&gt;MinGW&lt;/a&gt;.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Build&lt;/span&gt;: I recommend &lt;a href="http://www.cmake.org/"&gt;CMake&lt;/a&gt; for C/C++ programmers. It saves a lot of  time wasted in writing makefiles by hand and you also get a chance to organize a project. Java programmers would use &lt;a href="http://ant.apache.org/"&gt;Ant&lt;/a&gt; anyway.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;You should aim for being able to write a small program in your editor, compile it and run / debug it with a debugger. It can be as simple as a "hello world", but you should be able to do it.&lt;br /&gt;&lt;br /&gt;Other supporting things you should learn in due course :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Version control&lt;/span&gt; : &lt;a href="http://subversion.tigris.org/"&gt;Subversion&lt;/a&gt; is a good choice.&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Packaging&lt;/span&gt; : How to package your sources and binaries: e.g. &lt;a href="http://en.wikipedia.org/wiki/RPM_Package_Manager"&gt;RPM&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;span style="font-weight: bold;"&gt;Programming style&lt;/span&gt; : How to make good designs, write good code and maintain the style. Keep doing it !&lt;/li&gt;&lt;/ul&gt;Finally, do not forget that technology is not exclusive to relationships, sociological aspects, management and politics. Learn as you go !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-8497448400727170357?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=8497448400727170357' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/8497448400727170357'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/8497448400727170357'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2008/06/want-to-learn-programming.html' title='Want to learn programming ?'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-7612261742619125858</id><published>2007-11-01T19:13:00.000+05:30</published><updated>2007-11-01T19:18:27.038+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Musings'/><title type='text'>Landings per bridge - II !</title><content type='html'>Addendum to the earlier post &lt;a href="http://apillai.blogspot.com/2007/08/landings-per-bridge.html"&gt;Landings per bridge&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;It appears that airplanes take off towards the M-Bridge during the season of the North-East monsoon and landings are from the other side.  I now avoid the bridge at insane rush hours.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-7612261742619125858?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=7612261742619125858' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/7612261742619125858'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/7612261742619125858'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2007/11/landings-per-bridge-ii.html' title='Landings per bridge - II !'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-4576179157472976292</id><published>2007-11-01T18:29:00.001+05:30</published><updated>2008-06-04T08:10:17.898+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Fun'/><title type='text'>Video encoding with OSS tools</title><content type='html'>I did a few quick and dirty experiments to convert the &lt;a href="http://en.wikipedia.org/wiki/Audio_Video_Interleave"&gt;AVI&lt;/a&gt; video files shot with my &lt;a href="http://www.dpreview.com/reviews/canons2is/"&gt;Canon S2 IS&lt;/a&gt; to &lt;a href="http://www.mpeg.org/"&gt;mpeg&lt;/a&gt; and &lt;a href="http://www.theora.org/"&gt;Theora/Ogg&lt;/a&gt; formats. Looking for open source options, here are the details I found:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://www.mplayerhq.hu/"&gt;MPlayer&lt;/a&gt;: A neat cross platform player(mplayer) and encoder(mencoder). &lt;/li&gt;&lt;li&gt;&lt;a href="http://ffmpeg.mplayerhq.hu/"&gt;ffmpeg&lt;/a&gt;: Another neat encoder (ffmpeg) and player (ffplayer). &lt;a href="http://www.v2v.cc/%7Ej/ffmpeg2theora/"&gt;ffmpeg2theora&lt;/a&gt; is a quick and dirty option for conversion to &lt;a href="http://www.theora.org/"&gt;Theora/Ogg&lt;/a&gt; formats.&lt;/li&gt;&lt;/ol&gt;Pre-built binaries are available for both programs for Windows and Linux. &lt;a href="http://ffmpeg.mplayerhq.hu/"&gt;ffmpeg&lt;/a&gt; was the easiest to use. It converted my files (video: 30fps, 790kbps, 320x240 pixels, audio: 16bit PCM @ 1411kbps) to 1/3 size for mpeg at near lossless quality (&lt;span style="font-family:courier new;"&gt;-sameq&lt;/span&gt;).  Here is a bash script that will do this for all AVI files in a given directory:&lt;br /&gt;&lt;code&gt;&lt;br /&gt;for i in `ls *.AVI`&lt;br /&gt;do ffmpeg.exe -sameq -i $i ${i/\.AVI/\.mpg}&lt;br /&gt;done&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;The &lt;a href="http://www.theora.org/"&gt;Theora/Ogg&lt;/a&gt; converter does an excellent, but lossy compression (1/10 file size).&lt;br /&gt;&lt;code&gt;&lt;br /&gt;# automatically writes to Theora/Ogg format&lt;br /&gt;ffmpeg2theora-0.19.exe file.avi&lt;br /&gt;&lt;/code&gt;&lt;br /&gt;The video and audio lossage can be controlled by specifying &lt;span style="font-family:courier new;"&gt;-v&lt;/span&gt; and &lt;span style="font-family:courier new;"&gt;-a&lt;/span&gt;, but the &lt;a href="http://www.theora.org/"&gt;Theora/Ogg&lt;/a&gt; file size approximated the mpeg file size for a slightly deteriorated quality of video with &lt;span style="font-family:courier new;"&gt;-v8&lt;/span&gt;.  I have not tried out mencoder that ships along with MPlayer.&lt;br /&gt;&lt;br /&gt;A couple of observations:&lt;ul&gt;&lt;li&gt;Noise in the video is noticeable only when the video is played at full-screen mode.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;I would rate MPlayer better that ffplay (better full-screen support). Another popular cross platform player is &lt;a href="http://www.videolan.org/vlc/"&gt;VLC&lt;/a&gt;  &lt;/li&gt;&lt;li&gt;&lt;a href="http://www.mplayerhq.hu/"&gt;MPlayer&lt;/a&gt;, &lt;a href="http://ffmpeg.mplayerhq.hu/"&gt;ffmpeg&lt;/a&gt; and &lt;a href="http://www.icecast.org/"&gt;IceCast&lt;/a&gt; provide options to build video streaming servers. Programmers should look at the nice &lt;a href="http://www.dranger.com/ffmpeg/"&gt;tutorial&lt;/a&gt; on how to write a video player with SDL and ffmpeg API.&lt;/li&gt;&lt;/ul&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-4576179157472976292?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=4576179157472976292' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/4576179157472976292'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/4576179157472976292'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2007/11/video-encoding-with-oss-tools.html' title='Video encoding with OSS tools'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-1609314355311312645</id><published>2007-08-19T12:09:00.000+05:30</published><updated>2007-08-19T12:44:29.477+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Musings'/><title type='text'>Landings per bridge !</title><content type='html'>While idling at the infamous &lt;a href="http://bangalorebuzz.blogspot.com/2006/06/marathahalli-madness.html"&gt;M bridge&lt;/a&gt; during the rush hour traffic in Bangalore, I figured out a new way to measure traffic. Forget &lt;a href="en.wikipedia.org/wiki/Little%27s_law"&gt;Little's theorem &lt;/a&gt;, &lt;a href="en.wikipedia.org/wiki/Erlang_unit"&gt;Erlangs&lt;/a&gt; &lt;a href="en.wikipedia.org/wiki/Erlang_unit"&gt;&lt;/a&gt;and passenger car units (pcu) per hour : here is a new and simple unit called &lt;span style="font-style: italic;"&gt;landings per bridge&lt;/span&gt;.&lt;br /&gt;&lt;br /&gt;The number of aircraft landings in the Bangalore HAL airport during the morning rush hour is fairly constant: approximately once every four minutes. Depending on the traffic, the more landings I witness while stuck on the bridge (which is one of the worst points of congestion), the higher is the degree of congestion ! An average morning is rated between 4-5, a bad day can  run upto 8.&lt;br /&gt;&lt;br /&gt;PS: I have to resort to the pcu/hr once the airport shifts to Devanahalli !&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-1609314355311312645?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=1609314355311312645' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/1609314355311312645'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/1609314355311312645'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2007/08/landings-per-bridge.html' title='Landings per bridge !'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-6674454349990229343</id><published>2007-03-20T13:35:00.001+05:30</published><updated>2008-06-04T08:08:11.528+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Observations'/><title type='text'>R&amp;D, Patents, Innovation - the current game</title><content type='html'>I happened to see a few articles / comments in the last few days on patenting and R&amp;amp;D. There is enough noise on the concept of patenting (especially on software patents). Have a look at this:&lt;br /&gt;&lt;ol&gt;&lt;li&gt;&lt;a href="http://yro.slashdot.org/article.pl?sid=07/03/19/112247"&gt;Linked list patented in 2006 &lt;/a&gt;: I didn't know linked lists were invented after they were taught in school.&lt;br /&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://www.economist.com/science/displaystory.cfm?story_id=8769863"&gt;Demise of the corporate R&amp;amp;D&lt;/a&gt; : The gestalt is probably the statement "many of the big scientific questions in computing have been answered—at least well enough for companies to find that innovation emerges from new ways of arranging today's technologies rather than inventing new ones". Perhaps this is why we have patents like the one above.&lt;a href="http://www2.blogger.com/post-edit.g?blogID=26789292&amp;amp;postID=6674454349990229343#"&gt;&lt;br /&gt;&lt;/a&gt;&lt;/li&gt;&lt;li&gt;&lt;a href="http://yro.slashdot.org/article.pl?sid=07/03/19/1322217"&gt;Organizations asked to donate patents&lt;/a&gt; : Should organizations be allowed to lock away interesting finds (in the form of patents, IPR) because they cannot/do not want to commercialize it ? To me, it looks more like the treatment of telecom spectrum - it is auctioned away to people who can run a telecom business rather than for allow squatters to sit on it. Here is a beautiful article on the &lt;a href="http://www.beyonddiscovery.org/content/view.article.asp?a=3681"&gt;bidding game&lt;/a&gt;.&lt;br /&gt;&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-6674454349990229343?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=6674454349990229343' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/6674454349990229343'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/6674454349990229343'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2007/03/r-patents-innovation-current-game.html' title='R&amp;D, Patents, Innovation - the current game'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-115903608252810574</id><published>2006-09-23T23:44:00.000+05:30</published><updated>2007-03-20T19:35:47.957+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Musings'/><category scheme='http://www.blogger.com/atom/ns#' term='Travel'/><title type='text'>Across the Great Wall</title><content type='html'>I was in Beijing in the last week of July on an official visit - it was my first visit to China. The weather was temperate with occasional sun and lot of rain and grey clouds - probably due to the typhoons brewing in the eastern sea.&lt;br /&gt;&lt;br /&gt;Snapshots from the trip :&lt;br /&gt;&lt;br /&gt;&lt;ul&gt;&lt;li&gt;Beijing was impressive - infrastructure, automobiles, business and of course driving sense ;-) The China daily had real news including coverage of the western world, but it had little political discussion or opinion. One page was dedicated to new ventures in hi-tech and manufacturing industries - the variety was awesome ! Traffic jams are bad, but the drivers do follow rules.&lt;br /&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Shopping in the Sunny market (near Holiday Inn, Lido Place) which sells all and sundry items such as souvenirs, clothes, suitcases is an experience. Everything is cheap and most "branded" stuff is a "fake original". Bargaining seems to be the rule - you start from, say 200RMB for a suitcase (first quote) and can over a period of 5-10 minutes reduce the price to 50RMB (one RMB is ~ INR 5.7 if you buy it, selling rate is bad at INR 4.6 - 4.8). The sellers were mostly girls who speak excellent english. I admire their resilience and optimism. I bought some specialties : A "SAMSONITE" laptop bag at ~ INR 350, a nice painting, some ceramic and traditional chinese clothes (reminiscent of the sartorial outfit of little Pu Yi in the "Last emperor") for my daughter.&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;ul&gt;&lt;li&gt;Food is excellent unless you are finicky about eating meat. The popular hyperbole of a menu of cooked insects as snack may be safely discounted. Being a native of &lt;a href="http://en.wikipedia.org/wiki/Kerala"&gt;God's own country&lt;/a&gt;, I relished the prawns, oysters, pork and chicken - all deliciously cooked and served tastefully. Using chopsticks was troublesome and I bravely admitted my ignorance, preferring the western cutlery. The food is nice and lightly spiced except for the Sichuan variety which reeks of chilli sauce! A restaurant (to which my colleagues took us) had a nice performance of the Peking opera, traditional chinese dances and kungfu.&lt;/li&gt;&lt;/ul&gt;&lt;br /&gt;Next time, I would sure like to see more of China, especially the Forbidden City and the Great Wall at Badaling. On the way back, I made use of the stopover at Singapore for a short tour of the city and the weather was fantastic. And then it was back home to the routine&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-115903608252810574?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=115903608252810574' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/115903608252810574'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/115903608252810574'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2006/09/across-great-wall.html' title='Across the Great Wall'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-26789292.post-114580222752396969</id><published>2006-04-23T19:35:00.000+05:30</published><updated>2007-03-20T20:00:59.355+05:30</updated><category scheme='http://www.blogger.com/atom/ns#' term='Musings'/><title type='text'>Death of a thespian and life after that</title><content type='html'>It started in the most innocuous way I ever imagined.&lt;br /&gt;&lt;br /&gt;On Monday, 10th April at 18:00hrs, I was at the airport to my wife and our 3month old baby from the Bangalore airport. Being anxious to meet them, I was eagerly looking at all small babies &amp; their mothers and trying to spot my wife. In the crowd, I noticed a familiar looking young man with a baby girl fast asleep on his shoulder, smiling broadly and walking towards the exit. "Looks like one of &lt;a href="http://en.wikipedia.org/wiki/Rajkumar"&gt;Dr. Rajkumar's&lt;/a&gt; sons", I mused for a moment... Sure enough, he was escorting his old father &amp;amp; mother, who were all smiles. By now I recognized the actor himself - in spite of his beaming smile, the tiredness and odema on his face and the hobbling walk gave away his health. As he passed by me, I noticed my wife and baby trying to retrieve their luggage and my attention shifted to them. I casually mentioned to my wife " I just saw the Kannada actor Dr. Rajkumar and his health looks really bad..." We spent the evening and the next day busy settling down and stacking up baby food.&lt;br /&gt;&lt;br /&gt;While at work on April 12th, I heard rumours on Dr. Rajkumar's ill health and impending disturbances in and around the city, and it was not until 16:00hrs did I get a confirmation from the newsfeeds. After an hour long wait at the gas station, I started driving towards Whitefield at about 17:30 and met thin  traffic. The roads were ominously deserted and all shops (even the ones on pushcarts) were closed. Many vehicles had hastily taken printouts of Dr. Rajkumar's photos hoping that to save them from being pelted with stones. Though I encountered blocked roads and burning tyres at Whitefield, I managed to reach home without facing any mishap.&lt;br /&gt;&lt;br /&gt;What happened in the next couple of days is well &lt;a href="http://www.hindu.com/2006/04/13/stories/2006041317331200.htm"&gt;reported&lt;/a&gt; by the media. Normalcy returned by Saturday and on Monday, I was back at work after the long weekend. We can debate whether the violence and mayhem was orchestrated or not, but any sensible individual cannot discount the divide between the modern, affluent Bangalorean and the less fortunate who eke out a living doing 3D (dirty, difficult and dangerous) jobs. Time for the intelligentsia and policy makers to take note.&lt;br /&gt;&lt;br /&gt;The memory of violence and mayhem are almost erased from public memory by now. (Do you remember the name of the unfortunate young policeman lynched by a mob ? He was only 25 years old... ). But what I remember strongly is the picture of the poor man (in whose name all the vandalism was enacted), hobbling down with his family out of the airport, everyone all smiles, acknowledging the few who wished him, into the sunset. Never did I imagine he was walking out of the airport for the last time and the mayhem his death would bring is so sudden and violent.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/26789292-114580222752396969?l=apillai.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=26789292&amp;postID=114580222752396969' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/114580222752396969'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/26789292/posts/default/114580222752396969'/><link rel='alternate' type='text/html' href='http://apillai.blogspot.com/2006/04/death-of-thespian-and-life-after-that.html' title='Death of a thespian and life after that'/><author><name>Amal Pillai</name><uri>http://www.blogger.com/profile/10646127980510521760</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='32' height='27' src='http://2.bp.blogspot.com/_h3OB96ahiyI/SuWweqwUKqI/AAAAAAAABOE/8sAffAq8XSE/S220/img_0722_profile.jpg'/></author><thr:total>0</thr:total></entry></feed>
