Saturday, December 31, 2005
Jab Mein Chota Bacha Tha ...
Nangu pungu nahata tha...
Dandi Dance karta tha...
Style mein Pose deta tha...
Jhad pe chada hua rehata tha... (abhi bhi thoda hoon ;)
Rising every time we fall
-- Confucius
The Serenity Prayer
to accept the things I cannot change;
the courage to change the things I can;
and the wisdom to know the difference.
-- by Reinhold Niebuhr
MY GOD IS DIFFERENT THAN YOUR GOD
“No!!!!!!!!!!!” some soul urged, “There is only one god, there are many religion, but one god”. I differ from this convention, that’s why my god is different than your god.
So, “What’s the difference?” cried a soul. Read on……
- My god does not ask me to pray to him.
- My god will not get angry if I do not visit the temple, in his honor, daily.
- My god will not complain if I do not remember him in good times.
- My god never gives preference to any animal or phenomenon over humans.
- My god is there for me always, unconditionally.
- My god loves me always, unconditionally.
- My god never asks anything in return, no sacrifices.
- I can always count on my god.
- My god says “Seek and you shall find, ask and it shall be given, knock and it shall be opened for you”
- My god never wants me to be unhappy, even for good reasons.
- My god never asks me to be always rational.
- My god did not create this “universe”, he does not take credit for any part of it.
- My god is not does not say “Right” or “Wrong”, he says “People” and “Circumstances”.
- I owe nothing to my god and he owes nothing in return.
- My god changes his opinions, and attitudes, he grows with me.
And these are my beliefs, which can change if I find more empowering ones.
-- Jigar Gosar.
Ruby: Can a ruby statement break into multiple lines?
A statement break into mutliple lines if it is not complete,
i.e. "if the last token on a line is an operator or comma".
But you can also use \ as the last character on the line, to
continue on the next line.
a = 2 +
3
a = 2 + 3
are both equivalent to a=2+3
The Screen IS the Application
sketch the most important pieces-> db -> model, testcases -> htmlCurrently I am skipping the "TestCases" part, but sooner or later I will have to start. TestCases becomes more and more crucial for scripting languages because they don't have the advantage of compiler . And without TestCases, refactoring even a medium sized project(scripting language) is a potential suicide.
sketch the second most important -> db -> model, testcases -> html
etc.
Thursday, December 29, 2005
Alias for yahoo id................hurry
go go go
Wednesday, December 28, 2005
Riders on the storm
Into this house we’re born
Into this world we’re thrown
Like a dog without a bone
An actor out on loan
Riders on the storm
lyrics of the song "Riders on the storm"
Hyper-enthusiasts & Anti-anti-hype
* David Heinemeir: quoting Bruce Eckel: Ruby is bad Python, but good Perl
* Bruce Eckel: The departure of the hyper-enthusiasts
* Steve Yegge: A little anti-anti-hype
Running, The Destination in itself
I see no Destination.
Road, I see
And running, I like.
Wanted to run, always,
Running, I truly enjoy.
Not, running away,
I am now on the run.
But I cant be all running,
Will stop for chores, I care.
But only when the guilt,
Is too large to bear.
Not running, I am
To the destination.
On the Run, I am,
Running the Destination.
--jigar.g
Thursday, December 22, 2005
Firefox Extension: Dictionary Tooltip
Press ctrl+shift+D (or) double-click (or) right-click after selecting a word to see its meaning. This extension is ideal for those who doesn't like to switch their window to see the meaning of a word.
Now this is definately better than my bookmarklets
go get it.
Monday, December 19, 2005
Firefox: BugMeNot plugin
go get it.
Wednesday, December 14, 2005
Bookmarklet: Google Define
- Google Define: <--- drag this link to Bookmarks Toolbar.
- Now select any word and click on the bookmarklet.
- Pat on your back, now you know the precise meaning of another word.
- Use back button to return to your previous page.
A: Use this bookmarklet to quickly and effortlessly lookup meanings of words while reading any article online. Then immediately return to article by pressing Backspace/Back button.
If you are fan of dictionary.com or wikipedia the here is something for you too:
- dictionary.com
- thesaurus.com
- Wikipedia.org
Quick Access: Control Panel Shortcuts
A. Just Press Ctrl+R (Run Command) and type any of the following commands:
Command | Function |
---|---|
access.cpl | Accessibility controls |
appwiz.cpl | Add/Remove Programs |
desk.cpl | Display properties |
inetcpl.cpl | Configure Internet Explorer and Internet properties |
main.cpl | Mouse properties and settings |
main.cpl,@1 | Keyboard properties |
mmsys.cpl | Sounds and Audio |
ncpa.cpl | Network Connections |
nusrmgr.cpl | User accounts |
powercfg.cpl | Power configuration |
Also, as Rushabh Shah pointed out, use WinKey+Pause/Break to access "System Properties".
There's lots more to accessing ControlPanel. Find more information at vlaurie.com.
The Genius of the Hole
one of my favourite quote form MaxPayne 2
Tuesday, December 13, 2005
Thunderbird Tip
A: yes, just click once on subject header and press g ;)
Firefox: Quick searches and keywords
To learn more visit lifehacker, or wikibooks.
Movie: Memento
Viewed on: 14th Dec 2005 (on pc)
Hardcore. One of the Best Movies I have ever seen. Somebody has already said the rest.
Excerpts form http://www.ram.org/ramblings/movies/memento.html
Every so often, a movie that challenges what we consider a movie to be comes along. Such movies are an intense experience...
Memento demands a lot from the audience. Being passive means you end up missing an important part of the experience of watching a film like this. The movie is told backwards, to illustrate the plight of the protagonist, Leonard (Guy Pearce), who lacks short-term memory. This condition was caused during an attack where (according to him) his wife was killed and his brain was damaged. Since Leonard remembers all the events that occurred before he was attacked, he is on a quest to avenge his wife's death...
Director Christopher Nolan has made a memorable film in Memento, which serves as a metaphor for forgetting everything we hold dear when humans embark on a quest and want to succeed at any cost. Don't miss this film...
Movie: Apaharan
Viewed on: 11th Dec 2005
Prakash Jha's harsh and brutal political commentary on the state of anarchy a.k.a Bihar. Another Ganga Jal type movie. Ajay Devgan's acting was brilliant as usual. And Bipasha looks decent for a change and for good.
Strokeit: The Killer App
So what is StrokeIt?
StrokeIt is an advanced mouse gesture recognition engine and command processor. What is a mouse gesture? Mouse gestures are simple symbols that you "draw" on your screen using your mouse. When you perform a mouse gesture that StrokeIt can recognize, it will perform the "action" associated with that gesture. In short, it's a nifty little program that lets you easily control programs by drawing symbols with your mouse.
The installer is around 120k. Best of all its free for personal use. So what are you waiting for, go get it.
Friday, December 09, 2005
Looking Smart at "Sun Moon And Potatoes"
Looking Smart at "Sun Moon And Potatoes"
Originally uploaded by Jigar Gosar.
Wednesday, December 07, 2005
First step towards Abstinence and Self-Control
Now coming to the almighty question, Why ever do it? I don't really know for sure, but exercising abstinence and self-control is very empowering. May be its about "Having less and being more". May be its beginning of a new way of life, or philosophy. Whatever the reason, it feels great for sure.
Friday, December 02, 2005
Movie: Home Delivery
Viewed on: 2nd Dec 2005 (just seen another bore yesterday)
"Pathologically Pathetic". First 15-20 minutes fooled me into thinking, its a good movie. Total waste of time and money. Although, Ayesha Takia looked good. But can please someone tell her she does not need any padding to look sexy.
Movie: Deewane Huye Paagal
Viewed on: 1st Dec 2005
Very good comedy by Akshay Kumar and Paresh Raval, in small doses. Rest of the movie is bore. First half is better than second. It does not even come near Awara Paagal Deewana. Story is a complete rip-off of "Something About Marry".
Wednesday, November 30, 2005
I was searching for file synchronizing solution across multiple PC's and look what I found
"Keep important files at your fingertips - anywhere. All file changes are automatically synchronized between linked computers, so you are always accessing the latest documents, photos, and files"
The interesting part about it is that Microsoft has recently acquired FolderShare, and is currently providing the service free of cost. A search on Google News reveals
"Just days after outlining its new software-based services strategy, Microsoft announced the acquisition of yet another offering to add to its growing portfolio of on-line services. Microsoft will hope to use FolderShare, a file-synchronization technology provider, to help it eclipse Sun's Open Office initiative and Google's own ambitious plans in this very same area."
"Redmond, Washington-based Microsoft said the acquisition will help it bolster its new strategy of providing more software-based services over the Internet, an initiative called Windows Live that was announced earlier this week."
makes me go hummmm.
The 46 Best-ever Freeware Utilities
e.x. site:http://www.techsupportalert.com thesaurus
GoGoGo
Saturday, November 26, 2005
Personal Content Management with Keynote
Previously I used editplus for storing all kind of information in text files. The problem was managing these files. Every time I create a file I have to think of a name and place before I can be assured its saved on disk. Also each of these files had multiple sections, for e.g. copypaste.txt had sections like urls, scripts, logins. Finding information, as no of lines in file grow, becomes tedious.
Then Kenote came to the rescue. Keynote is a flexible, multi-featured tabbed notebook. The basic idea in KeyNote is that you can have many separate notes within a single file. It's always acessible with a single keypress (ctrl+shift+F12), even if you work in another application. This means that you do not need to open several files - for most purposes it is enough to create only one file and several notes inside it. With the addition of the tree-type notes, you now have a three-dimensional notebook: many notes within one file and a multi-level, nested pages within a single note. How cool is that ? Huh.
External files can be attached to a node, so you can view/edit your old text files in keynotes itself. Has keyboard shortcut for ever operation and cool keyboard navigation features.
There are only two things missing in keynotes 1. RegEx search and editplus style wordwrap (it has notepad style wordwrap.) Also project is no longer under development.
Nevertheless, I am a happy keynotes user. Now all I need is a notebook pc, so I can carry keynote with me where ever I go. Did I mention its opensource and free? Oh, it is :)
download it directly from here.
Go Go Go.
Saturday, November 19, 2005
A Wonderful Voyage - Part 2
"Ethical egoism is belief that one ought to do what is in one's own self-interest. What is in one's self-interest may incidentally be detrimental to others, beneficial to others, or neutral in its effect. Ethical egoism is not to be confused with rational egoism, which holds that it is rational to act in one's self-interest, but not that it is ethically imperative."
This page had a single External Link: Stanford Encyclopedia of Philosophy entry on Egoism. The word Stanford Encyclopedia made it a must read. Here egoism was defined as:
" Egoism can be a descriptive or a normative position. Psychological egoism, the most famous descriptive position, claims that each person has but one ultimate aim: her own welfare. Normative forms of egoism make claims about what one ought to do, rather than describe what one does do. Ethical egoism claims that it is necessary and sufficient for an action to be morally right that it maximize one's self-interest. Rational egoism claims that it is necessary and sufficient for an action to be rational that it maximize one's self-interest."
I just skimmed the page and the footer had a must-follow link prisoner's dilemma. How could I not resist clicking. But it was a dead link, so I turned again to Wikipedia.
"The classical prisoner's dilemma (PD) is as follows:
Two suspects A, B are arrested by the police. The police have insufficient evidence for a conviction, and having separated both prisoners, visit each of them and offer the same deal: if one testifies for the prosecution (turns King's Evidence) against the other and the other remains silent, the silent accomplice receives the full 10-year sentence and the betrayer goes free. If both stay silent, the police can only give both prisoners 6 months for a minor charge. If both betray each other, they receive a 2-year sentence each."
Now this some juicy stuff. It had Game theory written all over it. I had come across this word few months back (thanks to Sandeep), but did not dwell much on it.
"Game theory is a branch of applied mathematics that studies strategic situations where players choose different actions in an attempt to maximize their returns"
"In addition to its academic interest, game theory has received some attention in popular culture. An important figure in game theory, John Nash was the subject of a 2001 film, A Beautiful Mind. Several game shows have adopted game theoretic situations, including the game show Friend or Foe.[1]"
Now it is added to my to read list ;)
Also before I end this voyage here a link to PDF document, I found on prisoner's dilemma page.
"A good introduction to game theory with a terse and accurate treatment of the prisoner's dilemma complete with a glossary of defined terms."
Astalavista.
May the force be with you ;)
A Wonderful Voyage - Part 1
So today I decided to do some goggling on "ethics vs moral" . I was slightly surprised at number of direct results I found. I checked these results:
It was an insightful read I found some really interesting examples differentiating the two.
1: "One of the Bible's teachings is that parents should kill unobedient sons or that prostitutes or even women who wear mixed fabrics should be stoned to death. Such acts were at one time considered moral and really for those who adhere to a literal interpretation and inerrancy of the Bible should be considered moral today. However, we would be hard pressed to find anyone in our present day culture espousing such behavior as ethical."
2: "So, as an example, although within our society it is commonly held that murder is immoral within the Mafia this deed would not only be ethical but, in the eyes of the group, necessary."
But still I did not get an single authoritative answer, that would satisfy me. So my next stop was Wikipedia. Here again I was surprised as I did not find any page directly discussing this topic. So I turned to searching word Ethics. The first paragraph said:
"Ethics is the branch of axiology àone of the four major branches of philosophy, alongside metaphysics, epistemology, and logic àwhich attempts to understand the nature of morality; to define that which is right from that which is wrong."
This rekindled my quest for learning philosophy and I just wanted to click on each of the four links and start reading. But I controlled my curiosity by saving the links and continued to read on. I came across another tempting word Moral absolutism
"Moral absolutism is the position that there are absolute standards against which moral questions can be judged, and that certain actions are right or wrong, regardless of the context of the act. "Absolutism" is often philosophically contrasted with moral relativism, (i.e. situational ethics) which holds that the morality of acts depends on the context of the act"
and here is an appropriate example of Moral absolutism:
"Modern human rights theory is a form of moral absolutism, usually based on the nature of humanity and the essence of human nature. One such theory was constructed by John Rawls in his A Theory of Justice."
So satisfied with the definition I returned to Ethics page. Quickly skimmed through it (its is a long page). And reached the "See also" section which was full of fabulous words like Consequentialism, Objectivist ethics, Situational ethics, Ethical nihilism, Ethical skepticism. But the word that caught my eye was Ethical egoism.
Right then I knew another voyage was about to begin.
What plant is this?
What plant is this?
Originally uploaded by Jigar Gosar.
Attack of the killer bottle
Friday, November 18, 2005
Mumbai's Railway-Announcers are for REAL
"Mumbai: When Suresh Vinarkar discusses politics with his friends on the train, everyone listens. They even ignore the announcement at the platform, to hear his views on Natwar Singh. Some stare in awe, others in disbelief, as he holds forth. But when a curious co-passenger asks him about his profession, Suresh stops talking. He simply flashes his identity-card that says "Railway Announcer, Dadar Terminus " he knows by now that "they wouldn't believe me otherwise". "
this reminds me of a conversation with Arsalan Zaidi, where he commented about the announcer at malad station. "i have been hearing this same voice(of a lady announcer) since past 4 years, it's surely recorded" and i agreed with him ;)
Hummm, what will I blog about?
- Interesting news I come across.
- Photos taken from my phone cam.
- Developer's toolbox - all tools that a developer must pack.
- Object Oriented Programming Principles
- Design Patterns.
- Software, Books, Games.
- And everything else that gives me a WOW effect.
I am wondering whether should I write a separate blog only for technical stuff or maintain a single blog?
For now I am sticking with this single blog, till I figure out "How many blogs do I need?"