<?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:blogger='http://schemas.google.com/blogger/2008' 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-4024134170996407458</id><updated>2025-11-20T02:55:02.954+01:00</updated><category term="programming"/><category term="R"/><category term="book review"/><category term="data mining"/><category term="python"/><category term="humble bundle"/><category term="rhythmbox"/><category term="music"/><category term="data"/><category term="economics"/><category term="gnome"/><category term="mozilla"/><category term="perl"/><category term="test pilot"/><category term="ubuntu"/><category term="C++"/><category term="EPFL"/><category term="Ocaml"/><category term="Seabiscuit"/><category term="brainstorming"/><category term="design"/><category term="graph"/><category term="infographics"/><category term="java"/><category term="labels"/><category term="photographs"/><category term="plugin"/><category term="processing"/><category term="review"/><category term="tutorial"/><category term="video"/><category term="2012"/><category term="3d"/><category term="7on7"/><category term="AI"/><category term="Algernon"/><category term="C"/><category term="CCIL"/><category term="D"/><category term="DIY"/><category term="Haskell"/><category term="Japan"/><category term="Karna"/><category term="Kartik"/><category term="MIT"/><category term="Ruby"/><category term="Scala"/><category term="Switzerland"/><category term="TED"/><category term="The Long Earth"/><category term="accelerando"/><category term="accents"/><category term="alert"/><category term="alexander blu"/><category term="another fine myth"/><category term="art"/><category term="asofterworld"/><category term="automatic"/><category term="awesome"/><category term="banshee"/><category term="bert jerred"/><category term="bible camp bloodbath"/><category term="binary search"/><category term="book"/><category term="brad sucks"/><category term="browsing"/><category term="captain blood"/><category term="caveat"/><category term="charles stross"/><category term="chrome"/><category term="code perforation"/><category term="colorout"/><category term="competition"/><category term="context menu"/><category term="cqb"/><category term="crazy quilt bouquet"/><category term="d3.js"/><category term="da"/><category term="debugging"/><category term="designers"/><category term="digital editing"/><category term="duolingo"/><category term="empathy"/><category term="favourite"/><category term="ffmpeg"/><category term="firefox"/><category term="first-world-what"/><category term="fracture"/><category term="free music"/><category term="fun"/><category term="geometry"/><category term="gimp"/><category term="google ngram"/><category term="graphics"/><category term="gsvideo"/><category term="gui"/><category term="hardware"/><category term="hci"/><category term="hdd"/><category term="idea"/><category term="image registration"/><category term="joey comeau"/><category term="josh woodward"/><category term="kau"/><category term="keyboard"/><category term="knuth"/><category term="latex"/><category term="layer mask"/><category term="less wrong"/><category term="lessons"/><category term="life"/><category term="linux"/><category term="lua"/><category term="manipulation"/><category term="mencoder"/><category term="merging"/><category term="mitmproxy"/><category term="nautilus"/><category term="non-fiction"/><category term="notifications"/><category term="numeric stability"/><category term="opera"/><category term="palm calculus"/><category term="phdcomics"/><category term="pie charts"/><category term="playlists"/><category term="politics"/><category term="powerdot"/><category term="private mode"/><category term="problem"/><category term="procrastinating"/><category term="profiling"/><category term="puzzle"/><category term="pymos"/><category term="rant"/><category term="raphael sabatini"/><category term="reliablity"/><category term="repair"/><category term="review book"/><category term="rhizome"/><category term="richard feynman"/><category term="robert aspirin"/><category term="roi"/><category term="rstats"/><category term="sakura"/><category term="science"/><category term="script"/><category term="scripting"/><category term="society"/><category term="software"/><category term="sound"/><category term="style"/><category term="summary"/><category term="surprize"/><category term="technology"/><category term="thunar"/><category term="tips"/><category term="toefl"/><category term="trends"/><category term="tricks"/><category term="tuning"/><category term="ui"/><category term="upgrading"/><category term="vim"/><category term="visualisation"/><category term="volume"/><category term="wordle"/><category term="zmq"/><title type='text'>Musically yours</title><subtitle type='html'>Your mileage may vary.</subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default?redirect=false'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><link rel='next' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default?start-index=26&amp;max-results=25&amp;redirect=false'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>64</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>25</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-2894126795178350487</id><published>2014-04-04T15:04:00.004+02:00</published><updated>2014-04-04T15:04:41.945+02:00</updated><title type='text'>I have moved</title><summary type="text">
I started posting on blog.musicallyut.in&amp;nbsp;as an experiment and I like blogging there.

I will not migrate the posts from this blog over, but all new entries will be posted there. :)
</summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/2894126795178350487/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/2894126795178350487?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/2894126795178350487'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/2894126795178350487'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2014/04/i-have-moved.html' title='I have moved'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-6423046092663312528</id><published>2013-11-22T13:55:00.000+01:00</published><updated>2013-11-22T13:55:26.558+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="labels"/><category scheme="http://www.blogger.com/atom/ns#" term="less wrong"/><category scheme="http://www.blogger.com/atom/ns#" term="politics"/><category scheme="http://www.blogger.com/atom/ns#" term="summary"/><title type='text'>Political orientation (summary)</title><summary type="text">
I have difficulty in immediately grasping what views a person holds when they tell me their political orientation, e.g. that they are Convervative&amp;nbsp;or&amp;nbsp;Socialist. I found the following short list on a LW survey and I liked the concise descriptions associated with them:


Libertarian, for example like the US Libertarian Party: socially permissive, minimal/no taxes, minimal/no distribution</summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/6423046092663312528/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/6423046092663312528?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/6423046092663312528'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/6423046092663312528'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2013/11/political-orientation-summary.html' title='Political orientation (summary)'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-5414755973479860004</id><published>2013-11-08T23:28:00.001+01:00</published><updated>2013-11-08T23:30:04.343+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="d3.js"/><category scheme="http://www.blogger.com/atom/ns#" term="labels"/><category scheme="http://www.blogger.com/atom/ns#" term="pie charts"/><category scheme="http://www.blogger.com/atom/ns#" term="visualisation"/><title type='text'>Hide overflowing labels on pie charts</title><summary type="text">




I have seen many questions related to occlusion of labels on pie charts and have always suggested that the problem should be solved by moving the labels outside the pie chart, or by rotating them to align with the axis.

The solutions I have suggested often is to rotate the label but it has never quite satisfied me. Part of it was the horrible font rendering done by some browsers and loss in</summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/5414755973479860004/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/5414755973479860004?isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/5414755973479860004'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/5414755973479860004'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2013/11/hide-overflowing-labels-on-pie-charts.html' title='Hide overflowing labels on pie charts'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgq35n40InsUkMfPDGILD5x_B5PHu-itBw93MwcV0aaNo1nhDz5VZIIHVyNmAxGhL4fEYPLVYKLQyrS8Fkf_5Xzp9LbOa2I0T5gZfjPSZkTKK_j_MpahoTRJtRgB-9Pl8dW2bOPWbXZoo_B/s72-c/Convex+polygons.png" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-1400528863146456002</id><published>2013-11-03T19:24:00.001+01:00</published><updated>2013-11-06T21:06:40.628+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="accelerando"/><category scheme="http://www.blogger.com/atom/ns#" term="another fine myth"/><category scheme="http://www.blogger.com/atom/ns#" term="book review"/><category scheme="http://www.blogger.com/atom/ns#" term="charles stross"/><category scheme="http://www.blogger.com/atom/ns#" term="duolingo"/><category scheme="http://www.blogger.com/atom/ns#" term="richard feynman"/><category scheme="http://www.blogger.com/atom/ns#" term="robert aspirin"/><title type='text'>Book Review: 2013</title><summary type="text">

Book reviews

I
 read (and listened to) a lot of books in the part few months and I just
 couldn&#39;t get time to write about them. Finally, I do have some time to 
pen down my thoughts.



The pleasure of Finding things out





This
 one is a classic,&amp;nbsp; Feynman&#39;s assorted lectures in a collection. This 
would probably qualify as a pop science book and I listened to this on 
my daily transits</summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/1400528863146456002/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/1400528863146456002?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/1400528863146456002'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/1400528863146456002'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2013/11/book-review-2013.html' title='Book Review: 2013'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-191259346905878633</id><published>2013-09-11T00:08:00.000+02:00</published><updated>2013-09-11T00:08:01.180+02:00</updated><title type='text'>Interactive Storytelling in The Last of Us.</title><summary type="text">
I watched the walk-through of The Last of Us. If you haven&#39;t seen to the end/played to the end any game by NaughtyDog, then I bet the ending will catch you by surprise.

I loved it.

I
 like to categorise and keep a record of things which I am doing. I 
religiously scrobble my songs to Last.fm. I record every book I read 
with the finish date on Shelfari. I will need to create a new category </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/191259346905878633/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/191259346905878633?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/191259346905878633'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/191259346905878633'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2013/09/interactive-storytelling-in-last-of-us.html' title='Interactive Storytelling in The Last of Us.'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-1029663898754149944</id><published>2013-03-19T12:43:00.000+01:00</published><updated>2013-03-19T12:43:28.388+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="mitmproxy"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>mitmproxy as a reverse proxy</title><summary type="text">
It turns out that thanks to the powerful scripting interface, mitmproxy&amp;nbsp;can be used as a reverse proxy to redirect calls to different servers easily:


revProxy.py
import os

proxyHost = os.environ[&#39;PROXYHOST&#39;]

def request(ctx, r):
   if r.request.path.startswith(&#39;/api&#39;):
       # Proxy calls with /api prefix to proxyHost
       r.request.headers[&#39;Host&#39;] = [proxyHost]
       </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/1029663898754149944/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/1029663898754149944?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/1029663898754149944'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/1029663898754149944'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2013/03/mitmproxy-as-reverse-proxy.html' title='mitmproxy as a reverse proxy'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-9125032483895183616</id><published>2013-01-18T22:48:00.003+01:00</published><updated>2013-02-03T11:24:47.732+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="first-world-what"/><category scheme="http://www.blogger.com/atom/ns#" term="fracture"/><category scheme="http://www.blogger.com/atom/ns#" term="life"/><title type='text'>Two room problem</title><summary type="text">
I had a problem.



I fractured my foot last month, on 6th December, and now am walking with crutches.&amp;nbsp;I have largely recovered now, but one excruciating problem I face is having no free arms while going from room to room. That means I cannot bring food to the table from the kitchen, nor carry used plates, glasses, etc. to the kitchen. However, those problems were easy to solve: just eat in</summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/9125032483895183616/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/9125032483895183616?isPopup=true' title='3 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/9125032483895183616'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/9125032483895183616'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2013/01/two-room-problem.html' title='Two room problem'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhU91bIdX-ThFf-wrfYQN2I4JnJ9mjghPPT_7IyLKsstVhHeS2gpGMxSCv4anUdSwo7ILH_IeSRmE145XEFDwkKx4Of8iAmv7Vg8mEJheriKyu7TVlujO7qjcuG1H4N85hvYgpGdr8WNkGS/s72-c/2012-12-11+18.16.59.jpg" height="72" width="72"/><thr:total>3</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-995307656546304995</id><published>2013-01-18T22:26:00.000+01:00</published><updated>2013-01-18T22:26:34.339+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="2012"/><category scheme="http://www.blogger.com/atom/ns#" term="Algernon"/><category scheme="http://www.blogger.com/atom/ns#" term="book review"/><category scheme="http://www.blogger.com/atom/ns#" term="Karna"/><category scheme="http://www.blogger.com/atom/ns#" term="Kartik"/><category scheme="http://www.blogger.com/atom/ns#" term="Seabiscuit"/><category scheme="http://www.blogger.com/atom/ns#" term="The Long Earth"/><title type='text'>2012: Books</title><summary type="text">

Read surprisingly few of those this year and did not keep up my implicit promise of reviewing all of them. Though few in number, they made up in the quality. It is hard to pick the best one from among the likes of&amp;nbsp;Museum of Innocence,&amp;nbsp;Flowers For Algernon,&amp;nbsp;The Long Earth&amp;nbsp;and The Glass Bead Game.



The Museum of Innocence was a behemoth, taking me through&amp;nbsp;vicissitudes </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/995307656546304995/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/995307656546304995?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/995307656546304995'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/995307656546304995'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2013/01/2012-books.html' title='2012: Books'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total><georss:featurename>Zurich, Switzerland</georss:featurename><georss:point>47.3686498 8.5391825000000381</georss:point><georss:box>47.1966073 8.2164590000000377 47.5406923 8.8619060000000385</georss:box></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-7839755962935149239</id><published>2012-08-25T17:51:00.004+02:00</published><updated>2012-08-25T17:51:58.469+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="book review"/><category scheme="http://www.blogger.com/atom/ns#" term="captain blood"/><category scheme="http://www.blogger.com/atom/ns#" term="raphael sabatini"/><title type='text'>Book Review: Captain Blood</title><summary type="text">


Captain Blood by Rafael Sabatini

While browsing through the audio books on LibriVox, I came across this book.&amp;nbsp;I had just read some Sci-Fi (Permutation City, which was good) and I wanted something more epic&amp;nbsp;in scale, like one of the Dicken&#39;s novels. So this was the best fit. It turned out to be a good choice, it kept me good company for the next week.

I listened to this book in </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/7839755962935149239/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/7839755962935149239?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/7839755962935149239'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/7839755962935149239'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2012/08/book-review-captain-blood.html' title='Book Review: Captain Blood'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-121684709299669373</id><published>2012-07-29T14:06:00.000+02:00</published><updated>2013-09-25T11:15:35.564+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="profiling"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="R"/><title type='text'>Pre-allocate your vectors</title><summary type="text">


Or else welcome the good ol&#39; friend, the O(n^2) back in your life.

There are three common ways people add elements to vectors in R. First way:

f1 &amp;lt;- function (n) {
&amp;nbsp;&amp;nbsp;&amp;nbsp; l &amp;lt;- list()
&amp;nbsp;&amp;nbsp;&amp;nbsp; for(idx in 1:n) {
&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; l &amp;lt;- append(l, idx)
&amp;nbsp;&amp;nbsp;&amp;nbsp; }
&amp;nbsp;&amp;nbsp;&amp;nbsp; return(l)
}

This is bad. It does what it looks </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/121684709299669373/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/121684709299669373?isPopup=true' title='8 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/121684709299669373'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/121684709299669373'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2012/07/pre-allocate-your-vectors.html' title='Pre-allocate your vectors'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhEZn0yI_OJu0heatJmiBNRdPyUf4kKeQ6NsnLOVYIzrvbD6wkAFyDJoBu4G7HN90s9A2-n6Gqt-XE32Lf2dbdEVbCgNX2S1Zy8wBqtuZXC0H2JUqpbs1f3DC5SbOj7BX6oax3KMeXqUBbu/s72-c/vectorized-time.png" height="72" width="72"/><thr:total>8</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-399233988689855719</id><published>2012-07-29T00:40:00.001+02:00</published><updated>2014-10-08T11:42:58.809+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="colorout"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="R"/><category scheme="http://www.blogger.com/atom/ns#" term="rstats"/><title type='text'>Colors in R console</title><summary type="text">
Update 2: The colorout package has moved again and is now available on GitHub.

install.packages(&#39;devtools&#39;)
library(devtools)
install_github(&#39;jalvesaq/colorout&#39;)


Update: The colorout package on CRAN has not been updated to be compatible with R version 3.x.x yet. However, if you compile and install it yourself, it still works.

download.file(&quot;http://www.lepem.ufc.br/jaa/colorout_1.0-1.tar.gz&quot;,</summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/399233988689855719/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/399233988689855719?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/399233988689855719'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/399233988689855719'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2012/07/colors-in-r-console.html' title='Colors in R console'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjvEJwAHtomRcvh1kTjEtyK5jmYyQw3_fY6k3tcaz1bQ0IuxWF6-WKGn4pykWpNMmTfF2zqZCjHDscXpLAOsVHMHdVGG5fXjOUTvzSI1wGRt3F7o5kwk0x7-47fA7cTuKwEvUGCgsdBn0m2/s72-c/Without-color.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-7477980697324154471</id><published>2012-06-11T23:10:00.002+02:00</published><updated>2012-06-11T23:12:13.331+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="book review"/><category scheme="http://www.blogger.com/atom/ns#" term="non-fiction"/><category scheme="http://www.blogger.com/atom/ns#" term="Seabiscuit"/><title type='text'>Book Review: Seabiscuit - An American legend</title><summary type="text">


This book is about a horse and four people around it: the owner, the trainer and two riders.

To be honest, I did not start the book with high hopes. To begin with, it was non-fiction and then it was about a horse. About 10 pages deep, I had an inkling that Laura Hillenbrand was luring me into a trap. I distinctly remember thinking &quot;This is not how one writes a historical account&quot; but I could </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/7477980697324154471/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/7477980697324154471?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/7477980697324154471'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/7477980697324154471'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2012/06/book-review-seabiscuit-american-legend.html' title='Book Review: Seabiscuit - An American legend'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-4028061055501806588</id><published>2012-05-25T01:31:00.000+02:00</published><updated>2012-05-25T22:09:33.044+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="book review"/><title type='text'>Book review: The Museum of Innocence</title><summary type="text">


The first 100 pages or so made me consider many times why I was reading the book at all (it came highly recommended) and why didn&#39;t Kemal bey just move-on. Why stay there? And moreover, why call it innocence when nothing could have been further away? Why color something purportedly black and white like carnal desires in shades of gray by waving brushes of grandeur on it? Why not just admit it </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/4028061055501806588/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/4028061055501806588?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/4028061055501806588'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/4028061055501806588'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2012/05/book-review-museum-of-innocence.html' title='Book review: The Museum of Innocence'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-7640738338528176079</id><published>2012-04-04T09:09:00.000+02:00</published><updated>2012-04-04T09:09:14.754+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="accents"/><category scheme="http://www.blogger.com/atom/ns#" term="gnome"/><category scheme="http://www.blogger.com/atom/ns#" term="keyboard"/><title type='text'>Umlauts and accents in Gnome 3</title><summary type="text">
The extra characters can usually be typed with the help of a compose key. In Gnome, one can choose one of the keys on the keyboard to be a compose key in this way.






Go to System settings: 
     
    
Go to Keyboard settings:
    
    
    
Go to Layout options:
    
  
Select the Compose key setting:
    
  
Close the settings. 
    


Then to type ä, press the Compose key + &quot; + a and </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/7640738338528176079/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/7640738338528176079?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/7640738338528176079'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/7640738338528176079'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2012/04/umlauts-and-accents-in-gnome-3.html' title='Umlauts and accents in Gnome 3'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEi2HwidnPonHlSao_YYAwUYFeIOiruAYP9nB9dnaYLOpItpKqTcugRCt7MjwRt-YtblBqGH3zwcq1JbrR3hSII9X8n0Agfp8K3RfNv9koxZFEVhb8psHuURpuZLC9odGISPQZ2AgQ9ZcpiX/s72-c/settings.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-6680543979622257233</id><published>2012-03-05T18:07:00.003+01:00</published><updated>2012-03-17T09:12:47.993+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="gnome"/><category scheme="http://www.blogger.com/atom/ns#" term="notifications"/><category scheme="http://www.blogger.com/atom/ns#" term="plugin"/><category scheme="http://www.blogger.com/atom/ns#" term="rhythmbox"/><title type='text'>Rate songs in notifications with Rhythmbox</title><summary type="text">
Update: Keeping in mind the feedback, I have enabled instant update of the notification once the ratings are changed in my new patch to the notification plugin of Rhythmbox.

When do you rate your songs?

I have a huge music library. Enough to keep me engaged for more 
than a month if I listen to each song in a row with no repeats. Hence, my 
preferred time for rating songs is while I am </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/6680543979622257233/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/6680543979622257233?isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/6680543979622257233'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/6680543979622257233'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2012/03/rate-songs-in-notifications-with.html' title='Rate songs in notifications with Rhythmbox'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEjqrA6Xzq8JDN7237GPN7mILKX7cEKU8qatbhyphenhyphen2NwyUrYqblHRr83D85UXidlAiR0PqEw-5X5y935AbbavuOTxmXpaDolYd2YrkiBLkTOysbiAIqkNMY9nYIZlBM5925HcpYPAB1tOIOqg9/s72-c/Notification_old_2.png" height="72" width="72"/><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-1761701590642062902</id><published>2011-12-31T21:12:00.000+01:00</published><updated>2011-12-31T21:12:12.961+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="geometry"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><title type='text'>Line segment intersection</title><summary type="text">It looks like an easy problem, it has a trove of information on it and Bryce Boe even has a two line solution for it. However, his program does not handle improper intersections, i.e. when one end of one of the segments lies on the other line. Since a point lying on the line does not make triangles with different orientations (since it has zero area), his program does not count it as an </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/1761701590642062902/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/1761701590642062902?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/1761701590642062902'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/1761701590642062902'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2011/12/line-segment-intersection.html' title='Line segment intersection'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-4268495184693253156</id><published>2011-12-20T17:46:00.000+01:00</published><updated>2011-12-20T17:46:01.721+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><category scheme="http://www.blogger.com/atom/ns#" term="code perforation"/><category scheme="http://www.blogger.com/atom/ns#" term="knuth"/><category scheme="http://www.blogger.com/atom/ns#" term="MIT"/><category scheme="http://www.blogger.com/atom/ns#" term="numeric stability"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><title type='text'>Numerically stable standard deviation calculation and code perforation</title><summary type="text">How would you implement a class which has an append(double x)&amp;nbsp;function to collect values, and a get_std_dev() function which returns the standard deviation of the values collected?

Sounds like an easy problem, here is my guess at what your code would look like:

 


This looks like an standard implementation, but it contains some subtle bugs. These bugs do not show up in regular usage, but </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/4268495184693253156/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/4268495184693253156?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/4268495184693253156'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/4268495184693253156'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2011/12/numerically-stable-standard-deviation.html' title='Numerically stable standard deviation calculation and code perforation'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-3578956727946440968</id><published>2011-11-26T00:22:00.000+01:00</published><updated>2011-11-26T00:22:51.770+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="data mining"/><category scheme="http://www.blogger.com/atom/ns#" term="R"/><title type='text'>Handling NULLs and NAs</title><summary type="text">Real world data always has missing and blatantly incorrect values.
This becomes a painful issue when it comes to coming up with predictive models. While there are multiple ways of&amp;nbsp;imputing data, it is difficult to figure out whether one is doing a good enough job. To make matters worse, the rows missing data might not be random. For example, all incomes above a certain threshold might be&amp;</summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/3578956727946440968/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/3578956727946440968?isPopup=true' title='5 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/3578956727946440968'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/3578956727946440968'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2011/11/handling-nulls-and-nas.html' title='Handling NULLs and NAs'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>5</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-3172644453939595770</id><published>2011-10-30T08:58:00.000+01:00</published><updated>2011-10-30T22:55:46.451+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="Ocaml"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><title type='text'>Starting out with Ocaml</title><summary type="text">There are many thing which they do not tell you about Ocaml right when you start out. This is a stumbling block for many, and in this post, I will cover a few facts which just might help out the beginner a tad bit.

Toplevel

The first look at the toplevel is disheartening.

#&amp;nbsp;let f = fun x : x + 1^[[D^[[D^[[D

The toplevel does not support readline functionality out of the box. This leads </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/3172644453939595770/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/3172644453939595770?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/3172644453939595770'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/3172644453939595770'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2011/10/starting-out-with-ocaml.html' title='Starting out with Ocaml'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-3942276124956213974</id><published>2011-10-30T00:12:00.000+02:00</published><updated>2011-10-30T00:12:37.683+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="tuning"/><title type='text'>Notes on tuning JVM</title><summary type="text">
pre
{
   background-color: #2f2f2f; 
border-bottom-color: rgb(153, 153, 153); border-bottom-style: dashed; border-bottom-width: 1px; border-left-color: rgb(153, 153, 153); border-left-style: dashed; border-left-width: 1px; border-right-color: rgb(153, 153, 153); border-right-style: dashed; border-right-width: 1px; border-top-color: rgb(153, 153, 153); border-top-style: dashed; border-top-width: </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/3942276124956213974/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/3942276124956213974?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/3942276124956213974'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/3942276124956213974'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2011/10/notes-on-tuning-jvm.html' title='Notes on tuning JVM'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-200285783091606395</id><published>2011-10-27T09:39:00.000+02:00</published><updated>2011-10-27T11:52:27.750+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="AI"/><category scheme="http://www.blogger.com/atom/ns#" term="C"/><category scheme="http://www.blogger.com/atom/ns#" term="C++"/><category scheme="http://www.blogger.com/atom/ns#" term="D"/><category scheme="http://www.blogger.com/atom/ns#" term="data"/><category scheme="http://www.blogger.com/atom/ns#" term="Haskell"/><category scheme="http://www.blogger.com/atom/ns#" term="java"/><category scheme="http://www.blogger.com/atom/ns#" term="Ocaml"/><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="Ruby"/><category scheme="http://www.blogger.com/atom/ns#" term="Scala"/><title type='text'>Verbosity of programming languages</title><summary type="text">
It is not often that one sees the same functionality being implemented in more than one language outside toy examples and for mere bragging rights. However, the AI challenge&#39;s starter packages:


Each implement the same algorithm in different languages
With the same I/O infrastructure
Were not written intentionally to be better than the other (no bias)


So I thought it would be a good data-set </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/200285783091606395/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/200285783091606395?isPopup=true' title='2 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/200285783091606395'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/200285783091606395'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2011/10/verbosity-of-programming-languages.html' title='Verbosity of programming languages'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiW3yl6KiPPDRDmwcveBMPb9Nsk0TIeqHEpWtU00VBSK79LCWpw8kui6NiivyyvEz5DbzT2mqkeGxiE8gGJQzoZdhVwuuqFZeQeAMBlZNf7y-9UcZjMGgA7BSF5ZUY8ClZcLmco8kXQCg5-/s72-c/lines_of_code.png" height="72" width="72"/><thr:total>2</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-3297861034374085318</id><published>2011-10-20T16:28:00.000+02:00</published><updated>2011-10-21T21:36:02.104+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="python"/><category scheme="http://www.blogger.com/atom/ns#" term="reliablity"/><category scheme="http://www.blogger.com/atom/ns#" term="zmq"/><title type='text'>Software Reliability: 3 general problems</title><summary type="text">








Introduction
While creating a critical piece of software (e.g. creating a Smart Home Controller for my Master&#39;s Thesis), one of the emphasis is on reliability.

Broadly speaking, reliability means not crashing or, failing that, exiting gracefully and then restarting without requiring any supervision.

Hence, I set about to write a tiny wrapper to execute applications in, which will wait </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/3297861034374085318/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/3297861034374085318?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/3297861034374085318'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/3297861034374085318'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2011/10/software-reliability-3-general-problems.html' title='Software Reliability: 3 general problems'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgdztlwhoD2HjT3NiAJF8a5iyHfgT84t4YzzXf4Mv6-3wLusncT_c5PmHkfWmY9HSIElPyDm6M2kzLvR7ZlLucrh6Cl71Hy23zFUX427SP1Oeg8a41F9IlqXmdOelnBunlyFp7CFpX01pIO/s72-c/Wrapper.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-2211429908728999205</id><published>2011-10-19T20:05:00.000+02:00</published><updated>2011-10-19T20:05:47.155+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="data"/><category scheme="http://www.blogger.com/atom/ns#" term="humble bundle"/><category scheme="http://www.blogger.com/atom/ns#" term="R"/><title type='text'>Humble &quot;FrozenSynapse&quot; Bundle</title><summary type="text">Humble Bundle came back again, this time with just one new game FrozenSynapse&amp;nbsp;and the previous FrozenByte bundle with it, if you paid more than the average.

This run of the Bundle was not as peppered with events as the previous bundles were: there were only two mid-air&amp;nbsp;additions to the bundle, instead of half a score of interesting events happening the last time&amp;nbsp;and nothing (to </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/2211429908728999205/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/2211429908728999205?isPopup=true' title='0 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/2211429908728999205'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/2211429908728999205'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2011/10/humble-frozensynapse-bundle.html' title='Humble &quot;FrozenSynapse&quot; Bundle'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><media:thumbnail xmlns:media="http://search.yahoo.com/mrss/" url="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgTh79jgTPWlR0yIirGNOa49QlqmWMiSYy5s3d0F6ZW-Va1t9XsuBo15A0j_JJMhS79PAzJ5U5neeR14Zm8xUvHikvsjJn1qo-LtEXfL9scPDonxFZPlylTg-PeA7PY1R4DF1Eo6Vc8BBss/s72-c/HIB_final.png" height="72" width="72"/><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-6861745332255833316</id><published>2011-09-26T19:56:00.000+02:00</published><updated>2013-01-18T13:54:20.377+01:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="book review"/><title type='text'>Book Reviews: The Sweet Shop owner, The Help, and Brief Interview with Hideous men</title><summary type="text">


The sweet-shop owner
(Graham Swift)

The Sweet Shop owner

This is a good book. Though the author has not gone out of his way to make it easy to read. It is the story of a special kind of love, a love which is arranged, but still as rock solid as any other kind of love one is likely to find. Where the implicit rules forbid one from making explicit mention of&amp;nbsp;&quot;love&quot;. Where effort is made </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/6861745332255833316/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/6861745332255833316?isPopup=true' title='1 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/6861745332255833316'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/6861745332255833316'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2011/09/book-reviews-sweet-shop-owner-help-and.html' title='Book Reviews: The Sweet Shop owner, The Help, and Brief Interview with Hideous men'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-4024134170996407458.post-476553283079362273</id><published>2011-09-11T00:44:00.000+02:00</published><updated>2011-09-11T00:50:25.255+02:00</updated><category scheme="http://www.blogger.com/atom/ns#" term="perl"/><category scheme="http://www.blogger.com/atom/ns#" term="programming"/><category scheme="http://www.blogger.com/atom/ns#" term="R"/><title type='text'>What Perl got right and R got wrong</title><summary type="text">
R tries&amp;nbsp;to do the right thing by having very short names for functions one uses often:






c()

Creating vectors.


t()

Transpose a matrix.


q()

Quitting R


is()

Generic isInstanceOf


by()

apply after grouping


as()

Generic type cast


Common primitive functions in R


As much as I like not having to type extra characters to get to these functions, I have always had to be extra </summary><link rel='replies' type='application/atom+xml' href='http://musicallyut.blogspot.com/feeds/476553283079362273/comments/default' title='Post Comments'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment/fullpage/post/4024134170996407458/476553283079362273?isPopup=true' title='4 Comments'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/476553283079362273'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/4024134170996407458/posts/default/476553283079362273'/><link rel='alternate' type='text/html' href='http://musicallyut.blogspot.com/2011/09/what-perl-got-right-and-r-got-wrong.html' title='What Perl got right and R got wrong'/><author><name>musically_ut</name><uri>http://www.blogger.com/profile/00017318258700020690</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='https://img1.blogblog.com/img/b16-rounded.gif'/></author><thr:total>4</thr:total></entry></feed>