Johnny [Life & Code]

Semper Exploro!

Readings of 2013

leave a comment »

2013 Reading

2013 Reading

Call of the Wild was the most I enjoyed in this list. Quite happy with this year’s lot, even though the number of books is way too low ūüôā

Written by Johnny

December 31, 2013 at 8:45 am

Posted in Thoughts

DHT 11 with Arduino Uno Experiment

leave a comment »

Trail run of DHT-11.

IMG_20131209_215907

Written by Johnny

December 9, 2013 at 10:10 pm

Posted in Thoughts

Road Trip : Desert Bound

leave a comment »

Written by Johnny

December 1, 2012 at 1:12 pm

Posted in Thoughts

Thinkpad X230 & Ubuntu 12.10

with 2 comments

Trackpad:

  • No easy tool to control touchpad.

Using xinput

jony@Icarus:~/bin$ xinput
‚é° Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ TPPS/2 IBM TrackPoint id=13 [slave pointer (2)]
⎜ ↳ SynPS/2 Synaptics TouchPad id=11 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Video Bus id=7 [slave keyboard (3)]
↳ Sleep Button id=8 [slave keyboard (3)]
↳ Integrated Camera id=9 [slave keyboard (3)]
↳ AT Translated Set 2 keyboard id=10 [slave keyboard (3)]
↳ ThinkPad Extra Buttons id=12 [slave keyboard (3)]

To switch off trackpad :¬†xinput set-prop 11 “Device Enabled” 0

To switch on trackpad :¬†xinput set-prop 11 “Device Enabled” 1

  • How to control the sensitivity of trackpoint?

Audio Issues:

  • Internal speakers doesn’t work.¬†Fixed with the new kernel (3.5.0-18-generic) update.
  • Mute button light is inconsistent. Sometime it comes up sometimes it doesn’t

Laptop Mode

Written by Johnny

November 10, 2012 at 9:10 am

Posted in CODE, Tech

Tagged with ,

Meet Astro…

with one comment

Meet my canine buddy “Astro”, the male labrador.

This video was taken when he was 1.5 months old.

Now..

Written by Johnny

June 27, 2012 at 11:18 am

Posted in Thoughts

Sublime Text syntax definition for Google Protocol Buffers

leave a comment »

Sublime Text  Syntax definition for Google Protocol Buffers.

Not robust – But its a start.

{ “name”: “ProtoBuf”,
“scopeName”: “source.proto”,
“fileTypes”: [“proto”],
“foldingStartMarker”: “{“,
“foldingStopMarker”: “}”,
“patterns”: [
{ “match”: “\\s+[0-9]*”,
“name”: “constant.numeric.proto”,
“comment”: “Field numbers”
},
{ “match”: “double|float|int32|int64|uint32|uint64|sint32|sint64|long|fixed32|fixed64|sfixed|sfixed64|bool|string|bytes”,
“name”: “storage.type.source.proto”,
“comment”: “Scalar Value types.”
},
{ “match”: “optional|required|repeated|default”,
“name”: “storage.modifier.source.proto”,
“comment”: “Field Rules”
},
{ “match”: “^message|^package|^option|^import|^extend|^service”,
“name”: “entity.name.function.proto”,
“comment”: “Message section”
},
{ “match”: “\/\/.*”,
“name”: “comment.line.double-slash.proto”,
“comment”: “Comments”
}
],
“uuid”: “f6a112ba-072a-47b3-b3e3-7714156b3614”
}

Update : Moved to emacs. But still still two-timing …

Update : Moved to emacs.

Written by Johnny

June 8, 2012 at 1:11 pm

Posted in CODE, Tech

Captain’s log 2011.02

leave a comment »

Written by Johnny

March 14, 2011 at 6:33 am

Posted in Thoughts

End of a book : Johnny in Novell

with 13 comments

Last day in Novell.

Started out as an intern in the GNOME team about 5 years back. Jumped between Evolution and iFolder a few times for different (voluntary/involuntary) reasons. Met a lot of good engineers. Had both good / bad times. Learned a lot work / non-work.

Gnomers,

I loved working on Evolution, Evolution MAPI (may not be perfect, but had a awesome time with it And i’m yet to cash in on the few beers i’ve been offered),¬†Attachment¬†Reminder (Trivial, but looks like you guys liked/hated/loved it), Redesign of Evolution search bar and so on. Best bug that I’ve worked on so far was changing a ‘1’ to ‘-1’ in EText (Oh those early days! Had no clue what GDB can do.. Used hundreds of ‘printf’s, lots of coffee and tested the patience of office night guards and that adrenalin rush!). Thanks to Novell for the¬†opportunity¬†to contribute full-time¬†and getting paid for that.

Special thanks to my mentor Srini. I’m looking forward for more new awesome fun things in GNOME.

Thanks.

I’ll miss the 1-1 coffee breaks talking games/gadgets/music, discussions on research papers that I don’t have a clue about, conversations during ‘tea breaks’ outside office (you would see me very inspired/productive after those sessions), thursday nights ūüėČ & nice friends that I found beyond ‘work’.

The End.

Written by Johnny

March 4, 2011 at 12:00 pm

Captain’s log 2011.01

leave a comment »

0.04 : Mysore

I’m not at liberty to disclose the details of the this trip. Its under bro-NDA dictated by the bro-code. I came back home with a huge bag of tissue papers!

02 : Dad’s

The surprise drive.

03 : Wayanad

Started the drive on Sunday morning – With the Green ¬†& Black Ninja. But had to return midway because of ‘technical issues

04 : Kumara Parvatha

A trek to Kumara Parvatha. More here..

On WeekendsWithJohnny :

Odo says 25551 KMs – Yay! Crossed the 25K mark .

Written by Johnny

February 8, 2011 at 11:14 am

Posted in Thoughts

Travel Tips : Plan B

leave a comment »

Lot of things can go against your travel plans. For some you carry spares. For some you know what to do. The probability of most of these not happening is very high. But there is one which has a higher probability and unpredictability. No РNot a puncture in the tyres.

People dropping out

Phases in your plan:

Urge – Time when that spontaneous urge that comes over you for a drive and to see / experience new things and places.

Plan РThis is the time when you share your urge with bunch of your travel friends. As with everything, all want to be part of it. Exciting!! You start thinking of renting a RV / trailer. May be get some more cars.

Plan A РYou sit over in evenings and start charting your course. Possible things to do and alternatives. Check on political conditions and local traditions.

But of-course РPlan A never happens. People drop out. They are more excited by the idea of travelling than the travel itself. Ånd some-thing _always_ comes UP. Since you read the title of the post, its always your Plan B.

Plan B РSo cancel your RV. Make that awkward call to the resort to let them know that we won’t be taking over all the rooms. You are down to 3 РIncluding yourself. Perfect number for a drive. You just have a direction and everything else is figured out on the way. The plan is no plan. You all are connected. A little too perfect to be true.

Plan B has a lesser probability of failure. It fails. Inevitability.

Plan U РGet up early in the morning. Resist deciding your destination Рnot yet. Pack your usual travel bag with necessities. Now (very important) pick your equipment РYour MTB / DSLR / sewing kit / telescope / mmm … swimming trunks (yeah! whatever gets you ..).

Just start driving. *Slowly* roll your car out of your apartment… Still dark… Drive to the middle of the city. Stop at the red light at the traffic signal : This is the time/spot to decide your destination. Take the turn. Switch on your stereo. Drive.

Have a fantastic trip.

Also x-posted here.

Written by Johnny

January 7, 2011 at 4:22 pm

Posted in Drive, LIFE, Thoughts, Travel

Captain’s log 2010.12

with 2 comments

02 : Chennai

First major non-fatal incident with the car. Right side of the car was full of dents and was unable to open the right side doors (Yup . Imagine that!). So dropped off the car in a workship in Chennai and crashed at a friend’s place. Everything from there was fun –¬†Drive-in¬†movie, Pondicherry – abandoned pier, near perfect weather, friends, food… Totally enjoyed that week as there was a lot going on and I had no plan or control over things happening around me. Loved the chaos.

03 : Madurai

Delayed by the workshop in Chennai, I ended up driving the entire evening till midnight to Madurai to meet my folks and brother for christmas. Finally NH45 -done-. On the way back to Bangalore, car freaked me out by simply switching off (Like I was hit by EMP) while I was pulling into a fuel station. Shocked for a minute. Good that I had my ‘toolkit’ with me. Proved¬†useful!

Ideas for 2011

– Drive to Nepal

– Drive to Mumbai/Pune

– Drive the GQ

Hopefully I would be have time for all the above ūüôā

ODO : 23057 KMs.

Written by Johnny

January 2, 2011 at 5:32 am

Posted in Thoughts

Captain’s log 2010.11

leave a comment »

November’s¬†destination was Bangalore. “No travels” was the decision. But…

03 – Madurai

Grandpa passed away. Emotions deep from past surfaced. Didn’t enjoy the drive because of the grim mood around.

04 – Yercaud

I decided not to go (Pu insisted that I should join them). Saturday, woke up and I could spend only 30 mins at home. The gang was already in Yercaud. Me being stupid and crazy, started off. Loved the drive up/down the hills. Lovely place! This time tailing the Green (Pu) and Black (De) Ninja. Should say that they are growing up. Sr joined us (or we barged in to his ride?) on his Royal Enfield Machismo 500. I developed a new respect for the 500. Thumping steadily.. Majestic.. (Thoughts of buying a motor bike started to linger! probably not). Pics here…

Odo : 21264 KMs. Semper Exploro!

Written by Johnny

November 29, 2010 at 5:01 pm

Posted in Drive, LIFE, Travel