More emacs goodies

I dabbled in Emacs (a bit more than usual) last week: we had to do quite a few things at work that were difficult in a normal editor, but easy in this great one.

First up, I finally caught up with the amazing screencasts at Emacs Rocks. I’ve seen only the one on Multiple Cursors but my jaw dropped, and i’ve queued the rest for later viewing. It’s a pleasure to watch someone displaying such a complete mastery of his environment.

Next up is a nice one liner from the top answer to this StackOverflow question. In brief, running `highlight-lines-matching-regexp` and passing `.{81}` to it highlights all lines over 80 characters.

Uptime

Today I found out (from this tutorial ), that
Emacs has an uptime command of its own. Run `emacs-uptime` to see yours.

    
-UUU:**-Uptime.mdwn All L4 [0] (Fundamental)--Mon Mar 25 15:21---
7 days, 0 hours, 36 minutes, 31 seconds

Galaxy Tab 2 impressions

Last year, my wife gifted me a Nintendo 3DS. This year was equally good, and she bought me a tablet :) I’ve been holding away from getting one for years now, and decided to finally get a Samsung Galaxy Tab 2 (7″, WiFi-only) when I saw the specs and price. The screen is crisp and beautiful. I’ve tried about a dozen apps on it now, including some from prior Humble Bundle purchases.

Anomaly: Warzone Earth looks beautiful! I also love the RSS apps I’ve tried so far: Newsblur, Google Currents, and Flipboard. SSHDroid was cool because it let me sftp my entire Calibre library instantaneously. More detailed reviews will probably come eventually..

I had all the documentation open and ready for rooting it on day 1, but held away out of sheer laziness. Since this is my first tablet, I decided to play with the stock firmware for some more time. When I get used to it all, I’ll make the switchover to CyanogenMod (or something else).

Pale Fire Review

I bought this at a used book store a few weeks back. It is a worn down, old edition from the 1960’s. This is my third Nabokov book, and ever since my first, I seem to have lost interest in the ‘normal’ fiction books I used to read. There is a cadence to his choice of words that shines through in all his works.

The story is told by Charles Kinbote, a hilarious, clueless, nosey neighbour of famous poet John Shade. Shade, dead when the story begins, has been working on a 1000 line poem titled Pale Fire. Kinbote hails from the fictitious land of Zembla, and pesters Shade with stories of its rich history and its last King. He is clearly shattered when he gets his hands on the draft of the poem after Shade’s death, and sees nothing related to this.

Things go crazy from here. Bent on seeing what he wants to see, Kinbote annotates the poem with rambling connections that he draws to his own Zemblan theme. Liberally drawing his own inferences from the rough drafts, the picture that emerges is of a man imposing his delusions on another’s work.

The Unreliable Narrator trope has been done to death in movies already (Rashomon, Fight Club, Memento, American Psycho, The Usual Suspects…), but Nabokov has layered his work with magnitudes more of easter eggs. Saying more would spoil the fun, and I’ve already seen several interpretations online that I missed in my first reading.

I cannot speak for   the poem itself, having very little exposure in that area. The story, however, is Nabokov at his playful, devious best. The liberally cross referenced footnotes make for a rich experience over multiple readings.

Enhanced by Zemanta

Ignorance and bliss

A quote I read a long time back in some book resurfaced in my memory yesterday, and thankfully, I remembered enough keywords to track it down in the first attempt. Full credit to Aristotle the Geek, where I found it in full. The book was William Durant’s ‘The Story of Philosophy’. Here is the story itself:

The Good Bramin

Does happiness result from ignorance or from knowledge?

IN my travels I once happened to meet with an aged Bramin. This man had a great share of understanding and prudence, and was very learned. He was also very rich, and his riches added greatly to his popularity; for, wanting nothing that wealth could procure, he had no desire to defraud any one. His family was admirably managed by three handsome wives, who always studied to please him; and when he was weary of their society, he had recourse to the study of philosophy.

Not far from his house, which was handsome, well-furnished and embellished with delightful gardens, dwelt an old Indian woman who was a great bigot, ignorant, and withall very poor.

“I wish,” said the Bramin to me one day, “I had never been born!”

“Why so?” said I.

“Because,” replied he, “I have been studying these forty years, and I find it has been so much time lost. While I teach others I know nothing myself. The sense of my condition is so humiliating, it makes all things so distasteful to me, that life has become a burden. I have been born, and I exist in time, without knowing what time is. I am placed, as our wise men say, in the confines between two eternities, and yet I have no idea of eternity. I am composed of matter, I think, but have never been able to satisfy myself what it is that produces thought. I even am ignorant whether my understanding is a simple faculty I possess, like that of walking and digesting, or if I think with my head in the same manner as I take hold of a thing with my hands. I am not only thus in the dark with relation to the principles of thought, but the principles of my motions are entirely unknown to me. I do not know why I exist, and yet I am applied to every day for a solution of the enigma. I must return an answer, but can say nothing satisfactory on the the subject. I talk a great deal, and when I have done speaking remain confounded and ashamed of what I have said.”

“I am in still greater perplexity when I am asked if Brama was produced by Vishnu, or if they have both existed from eternity. God is my judge that I know nothing of the matter, as plainly appears by my answers. ‘Reverend father,’ says one, ‘be pleased to inform me how evil is spread over the face of the earth.’ I am as much at a loss as those who ask the question. Sometimes I tell them that every thing is for the best; but those who have the gout or the stone—those who have lost their fortunes or their limbs in the wars—believe as little of this assertion as I do myself. I retire to my own house full of curiosity, and endeavor to enlighten my ignorance by consulting the writings of our ancient sages, but they only serve to bewilder me the more. When I talk with my brethren upon this subject, some tell me we ought to make the most of life and laugh at the world. Others think they know something, and lose themselves in vain and chimerical hypotheses. Every effort I make to solve the mystery adds to the load I feel. Sometimes I am ready to fall into despair when I reflect that, after all my researches, I neither know from whence I came, what I am, whither I shall go, or what is to become of me.”

The condition in which I saw this good man gave me real concern. No one could be more rational, no one more open and honest. It appeared to me that the force of his understanding and the sensibility of his heart were the causes of his misery.

The same day I had a conversation with the old woman, his neighbor. I asked her if she had ever been unhappy for not understanding how her soul was made? She did not even comprehend my question. She had not, for the briefest moment in her life, had a thought about these subjects with which the good Bramin had so tormented himself. She believed from the bottom of her heart in the metamorphoses of her god Vishnu, and, provided she could get some of the sacred water of the Ganges in which to make her ablutions, she thought herself the happiest of women.

Struck with the happiness of this poor creature, I returned to my philosopher, whom I thus addressed:

“Are you not ashamed to be thus miserable when, not fifty yards from you, there is an old automaton who thinks of nothing and lives contented?”

“You are right,” he replied. “I have said to myself a thousand times that I should be happy if I were but as ignorant as my old neighbor, and yet it is a happiness I do not desire.”

This reply of the Bramin made a greater impression on me than any thing that had passed. I consulted my own heart and found that I myself should not wish to be happy on condition of being ignorant.

I submitted this matter to some philosophers, and they were all of my opinion: and yet, said I, there is something very contradictory in this manner of thinking; for, after all, what is the question? Is it not to be happy? What signifies it then whether we have understandings or whether we are fools? Besides, there is this to be said: those who are contented with their condition are sure of that content; while those who have the faculty of reasoning are not always sure of reasoning right. It is evident then, I continued, that we ought rather to wish not to have common sense, if that common sense contributes to our being either miserable or wicked.

They were all of my opinion, and yet not one of them could be found to accept of happiness on the terms of being ignorant. From hence I concluded, that although we may set a great value upon happiness, we set a still greater upon reason.

But after mature reflection upon this subject I still thought there was great madness in prefering reason to happiness. How is this contradiction to be explained ? Like all other questions, a great deal may be said about it.

Bookmarks now on Pinboard

This week I stopped using my local bookmarking tool (Insipid), and moved over to Pinboard. I’ve heard extremely good things about it over the years, and their blog is always a fun read. I like their pay-for-use, non-ad-supported model as well.

The pros: the site is functional, and fast. The antisocial, private bookmarking focus is a great plus. My import worked smoothly, except that the tags weren’t showing up initially. They did pop up a day or so later, so no harm done. There seems to be nice integration with other sites like Readability and Twitter, where Pinboard auto-pulls the links in them and tags them unread. Nice. The bookmarklets work as expected, worth noting is the ‘read later’ one which silently saves the current page without getting in your way with a popup window.

The cons: Nothing comes to mind really. I’ve not used it enough to have any real complaints, but I’d like to see how good the search is some day when I’m searching for something that’s on the tip of my tongue. Overall the site comes hugely recommended.