Note: I have used a link to the Andrew's lecture notes. It is only to indicate a reference to the topic.
Monday, October 10, 2011
Understanding "understanding"
Note: I have used a link to the Andrew's lecture notes. It is only to indicate a reference to the topic.
Monday, August 8, 2011
Fossil SCM
Fossil is a distributed source control, distributed bug tracking and distributed wiki. Yes, heard about "distributed" in scm (git). It is similar. But why, what's the advantage?
Why - The entire snapshot repository comes in a single file (as SQLite database). That file has all the required data:
- Source code -> The project code base, most important one.
- Bug tracking -> Track all the associated bugs of the project at the same place.
- Wiki -> Documentation about project objectives, its details.
- Events -> A timeline of all the activities performed on fossil.
- A web interface that can be launched from the small foot print fossil executable.
- Lots of configuration options
NOTE: All of the developments may not take advantage of this. But, on the other side, if the development need/requirement matches Fossil, use it! Its excellent :)
The web-interface or the UI launches with most of the configurable items. A simple
./fossil ui
is all we type and this launches a web-browser with fossil user interface.
Wednesday, March 30, 2011
Day 2: Vegetable shopping!
Papa - Dad (same as hindi :))
Mama - Mom
Bebe - Baby
Au revoir (Bye)
Bonne journee (Have a good day!)
Day1: Paris, Blagnac and St. Cyprien
Sunday, March 27, 2011
Day 0: Destination Toulouse
Bangalore
The euphoria of my first journey abroad kicked in to all my nerves. Not that it was not there before when I heard about my travel, but only that this is the "D-day". All bags packed and somehow I had the feeling that due to this, there was every possibility of forgetting things necessary for mundane activities. To ensure things were right, triple checked all things that were packed.
I had a good bath and went out for dinner, just then received an SMS that the Meru cab had arrived to pick up for the airport. I called the Meru cab driver from the SMS I received earlier and to my astonishment, he was still finding his way to my new abode. Lucky that my room-mate guided the driver to my residence. Allz well and picked my co-traveler cum colleague.
It took an hour to reach the airport. We quickly weighed our bags to check for any extra luggage weight as Air France allowed only 23kgs of check-in baggage. Our third traveler had arrived after the said "30 mins" - was actually over an hour.
Next step was the routine check-in and issue of boarding pass. This time, the only difference was that I had to hold my Passport along with the ticket. Now, the first time for immigration, was little on my nerves - what should I fill in the immigration form, what would the official ask, what if I forgot a document. It was my turn for the immigration check. A small conversation history I could remember:
Officer: Are you travelling abroad for the first time?
Me: Yes
Officer: Where are you going?
Me: Toulouse
Officer: Why?
Me: -answered-
Officer: Which company?
Me: -answered-
Officer: Can you show me your company id card?
Me: Oh, yes (where did it go? did I keep in the check-in baggage?... Found!).. here it is.
Officer: What is your employee number?
Me: (puzzled for a moment and trying to interpret his question)
Officer: STAMPED, here you go.
Me: Thanks!
This was it? Wow.. not bad. Then, the usual security check and boarding. This was a Boeing 777. The "Tempo class" (Economy) had 3-4-3 seating arrangement. We internet-checked in and reserved the seats in advance, for some strange reasons, I dont knw why, the website showed only 15 seats can be selected -- that too 26 hours in advance!? . Two of us as a last resort chose the center seats of middle row of the "3-4-3". I settled down just behind them in one of the center seats of the middle row. This was the only uncomfortable part of the journey. "OK"! adjust maadi. I sleep now (I slept).
I woke up to find that I had crossed the Arab world. Only a few more hours to CDG! (Charles de gaulle airport, Paris). I gained a day, did I? -- Timezones allow us to stay young :P
Thursday, October 14, 2010
The fate of two bits
Currently a bit represents two states OFF and ON state. We also call it as 0 and 1.
· 0
· 1
Similarly, through natural progression of numbers, a two bit number can represent a maximum of 4 numbers:
· 00 => 0
· 01 => 1
· 10 => 2
· 11 => 3
When we generalize, the number of symbols that can be represented through a ‘n’ bit binary is 2n.
For, 1 bit => 21 = 2, 2 symbols can be represented.
22 = 4 …
For a byte (8 bits), 28 = 256 unique symbols can be represented.
---
Now, what if a bit can represent more than two states? Say a bit can represent 3 states…
· 0
· 1
· 2
Then, two bits (each 3 states) can represent…
· 00 => 1
· 01 => 2
· 02 => 3
· 10 => 4
· 11 => 5
· 12 => 6
· 20 => 7
· 21 => 8
· 22 => 9
To generalize, n bits (each with m states) can represent (m)n symbols.