Random Thoughts

Installing Google Chrome on Fedora 10

Posted by: Dinesh Shah on: November 9, 2009

I had some problems with Bookmarklets (a small piece of JavaScript to run from your address bar) in Firefox. The other browser with bookmarklet support was Google Chrome. However, being a non-free software, Chrome is not available in Fedora Repositories.

Google Chrome is available for GNU/Linux in Debian’s DEB package format. That means I can download the DEB package and use “alien” to convert to an RPM package and install on my Fedora. For some strange reason even alien is not available in Fedora repository.

I downloaded the Chrome DEB package from Google Download page and using archive manager I extracted content of the DEB file. That gave me three files – control.tar.gz, data.tar.lzma and debian-binary. The only file of interest for us is data.tar.lzma. This file contains 3 folders/directory – etc, opt and usr. The main program is in opt/google/chrome directory. The library files used by Chrome are all present on Fedora 10 but the names are different, so I had to make some symbolic links in Chrome’s installation folder.

Here are the steps –

  1. Download Google Chrome DEB Package – Google Chrome
  2. Extract DEB package in a temp directory
  3. Extract data.tar.lzma to another temp directory
  4. copy/move opt/google to /opt (you must be root or use sudo)
  5. Create a lib directory under /opt/google/chrome/ [mkdir /opt/google/chrome/lib] (you must be root or use sudo)
  6. Create links for some libraries (you must be root or use sudo)
    • ln -sf /lib/libnspr4.so libnspr4.so.0d
    • ln -sf /lib/libnss3.so libnss3.so.1d
    • ln -sf /lib/libnssutil3.so libnssutil3.so.1d
    • ln -sf /lib/libplc4.so libplc4.so.0d
    • ln -sf /lib/libplds4.so libplds4.so.0d
    • ln -sf /lib/libsmime3.so libsmime3.so.1d
    • ln -sf /lib/libssl3.so libssl3.so.1d

If you want to add Chrome in your GNOME Application Menu you need to install files from “usr” directory as well from the data archive.

Let me know if this article was useful to you and if you run into any trouble.

Upcoming Learning Photography Course from GRS

Posted by: Dinesh Shah on: September 17, 2009

The new batch of the course will commence on 19th September 2009.

Whether you are a novice or an expert in photography, this course is a must have for you either to hone your photography skills or refresh and get new perspective in art and science of photography.

As usual Mr. Barodia’s excellent teaching method and his interactive style will keep you engaged throughout the course.

The course details is provided in this blog post.

Enjoy!

Dealing with a cracked email account

Posted by: Dinesh Shah on: August 23, 2009

Today afternoon my GMail account was cracked while I was away from my computer. Thousands of SPAM mails were sent from my account. One of my contacts in Italy reported the incident in couple of hours.

The whole incident was an embarrassment as I consider myself very security conscious and pride myself in never having such a thing happen to me. But it happened any way and lessons learned – you can not be complaisant just because you use reasonably secure platform (GNU/Linux + Firefox) to get on-line. You have to be really aware about new security threats emerging everyday!

As an immediate action I did

  • Changed my GMail Account password (I always keep reasonably strong password) – twice.
  • Taken a local backup of my GMail Address book and removed all the contacts from GMail Address book
  • Downloaded and installed latest version of Firefox
  • Cleared all my private data and cache from the browser
  • Removed stored passwords from Firefox
  • Taken the screen-shot of the IP Address as reported by GMail
  • Done “whois” and tracked the IP Address to a Chinese ISP

I also reported the incident to Indian Computer Emergency Response Team. Apart from that I have written to Chinese ISP to their abuse report email address and also alerted my ISP (Airtel) of the incident.

There are two possibilities of these security breach -

Firefox 3.0.13 Vulnerability as given here.

Or it could be vulnerability in my ADSL Router Provided by my ISP (Airtel).

I do not trust these cheap Chinese made ADSL Routers which may have unidentified trojan(s). I do not think these routers are security audited by any of our security agencies and can be used to carry out man-in-the-middle attacks.

You must be wondering why go to such a length to report such “small” thing? The incident is an instance of Identity Theft. The SPAM emails sent from my account may have really damaged my reputation with all the people I know who are in my contact list. The things could get worst if my email ID is used for sending any incriminating email and can even land me in jail!

I am writing this in the hope that, if ever, such a thing happens to you this info could prove useful in taking appropriate action.

Here is the original mail with headers, screen-shot of the connection report as provided by GMail and “whois” record of offending IP Address.

Original Email

Delivered-To: “Real email address removed”
Received: by 10.86.60.3 with SMTP id i3cs162823fga;
Sun, 23 Aug 2009 03:57:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.142.5.27 with SMTP id 27mr188303wfe.59.1251025032597; Sun, 23
Aug 2009 03:57:12 -0700 (PDT)
Date: Sun, 23 Aug 2009 18:57:12 +0800
Message-ID:
Subject: Shopping
From: =?UTF-8?B?RGluZXNoIFNoYWggKOCqpuCqv+CqqOCrh+CqtiDgqrbgqr7gqrkv4KSm4KS/4KSo4KWH4KS2IA==?=
=?UTF-8?B?4KS24KS+4KS5KQ==?=
To: “Real email addresses removed”
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

Hi.
I am sorry to say that the impact of your work, this is the company
with your friends by e-mail the information to do publicity, we know
that this is the improper way, please understand …! However, our
goal is very friendly, and absolutely no deception, in order to
long-term viability and credibility,It can offer you all kinds of
products that variety of brand-name merchandise can be found here
(Nike=E3=80=81Gucci=E3=80=81Puma=E3=80=81Bape=E3=80=81 A & F=E3=80=81D =
&
G=E3=80=81Adidas=E3=80=81Chanel=E3=80=81Fendi=E3=80=81shoe=E3=80=81wrap=E3=
=80=81POLO=E3=80=81clothes=E3=80=81the the sun
mirror=E3=80=81microphone=E3=80=81Watches ……).
Its website is http://www.ccoshop. com Here there are many special
commodities=E3=80=81quality assurance.
I hope you Happy shopping!You can take some time to have a check
,there must be something interesting you ‘d like to purchase .
Sincere greetings:Happiness and joy with your

Email Account Hijacking

Email Account Hijacking

WHOIS Record of IP

[Querying whois.apnic.net]
[whois.apnic.net]
% [whois.apnic.net node-2]
% Whois data copyright terms http://www.apnic.net/db/dbcopyright.html

inetnum: 123.4.0.0 – 123.7.255.255
netname: UNICOM-HA
descr: China Unicom Henan province network
descr: China Unicom
country: CN
admin-c: CH1302-AP
tech-c: WW444-AP
mnt-by: APNIC-HM
mnt-lower: MAINT-CNCGROUP-HA
mnt-routes: MAINT-CNCGROUP-RR
status: ALLOCATED PORTABLE
remarks: -+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+
remarks: This object can only be updated by APNIC hostmasters.
remarks: To update this object, please contact APNIC
remarks: hostmasters and include your organisation’s account
remarks: name in the subject line.
remarks: -+-+-+-+-+-+-+-+-+-+-+-++-+-+-+-+-+-+-+-+-+-+-+-+-+-+
changed: hm-changed@apnic.net 20061120
changed: hm-changed@apnic.net 20090507
changed: hm-changed@apnic.net 20090508
source: APNIC

route: 123.4.0.0/14
descr: CNC Group CHINA169 Henan Province Network
country: CN
origin: AS4837
mnt-by: MAINT-CNCGROUP-RR
changed: abuse@cnc-noc.net 20070111
source: APNIC

person: ChinaUnicom Hostmaster
nic-hdl: CH1302-AP
e-mail: abuse@chinaunicom.cn
address: No.21,Jin-Rong Street
address: Beijing,100140
address: P.R.China
phone: +86-10-66259940
fax-no: +86-10-66259764
country: CN
changed: abuse@chinaunicom.cn 20090408
mnt-by: MAINT-CNCGROUP
source: APNIC

person: Wei Wang
nic-hdl: WW444-AP
e-mail: abuse@public.zz.ha.cn
address: #37 Wei Wu Road, Zhengzhou, Henan Provice
phone: +86-371-65952358
fax-no: +86-371-65968952
country: CN
changed: wangw@data.zz.ha.cn 20060205
mnt-by: MAINT-CNCGROUP-HA
source: APNIC

Invite: WORLD PHOTOGRAPHY DAY CELEBRATIONS – 19TH AUGUST, 2009

Posted by: Dinesh Shah on: August 15, 2009

Dear Friends,

Greetings and Good Wishes !

As you know, the Art and Science of Photography was formally announced as invented in Paris – France, on 19th August, 1839 and this day, every year since then is celebrated as the World Photography Day ’ ! As witnessed in 170 years, Photography is found in all walks of life and is continuously developing, offering excellent and amazing results in recording things – even things not seen by the human eyes !

As a part of regular and meaningful follow-up activities for the participants of the course and others, as done in the past, we have decided to celebrate the 171st World Photography Day falling on Wednesday, 19th August 2009, by exhibiting and demonstrating, on our campus, the initial and old technology of picture taking and making vis-a-vis the current digital technology, with wide publicity, as open to all. Shri Kakubhai Kothari, a renowned Wild Life Photographer will share his exciting and thrilling experiences and Shri Madhavan Pillai, Editor, Better Photography will give a talk on growth of the visual art of Photography, in general. M/s. Kodak India Pvt. Ltd. will offer some very old as also their digital technology equipment to display. An Invitation is attached.

May I request you to kindly participate in the event with your friends to make the event a success ? On this occasion, we also intend to offer our help to develop B & W film rolls both 35 mm and 120 size as also to have pictures taken under Studio Lights after 2.0 p.m. Those who would like to take the advantage can do so under prior intimation.

Hope to see you all on 19th August. 2009.

KINDLY CONFIRM RECEIPT OF MAIL WITH ATTACHMENT.

Best wishes,

Shirish Barodia,
Tel : 98207.93010

wpd 09 final

Learning Photography – An Introduction

Posted by: Dinesh Shah on: July 12, 2009

I registered for basic learning photography course offered by Gujarat Research Centre in July and completed it last weekend.

This is twelve session course over 6 weekends and it’s been lead by venerable Mr. Barodia. I have included the outline of the course below for the reference.

I planned for writing every week about my learning but I was never able to write. In any case, if you want to learn photography from ground up or brush up on your skills, this is great course.

GUJARAT RESEARCH SOCIETY’S
PUSHPA NAVNIT SHAH
CENTRE FOR LIFELONG LEARNING

Dr. Madhuri Shah Campus, Ramkrishna Mission Marg,
Cr. of 16th & 17th Road, Khar (West), MUMBAI – 400052.

Telephone : 65130837 * 26462691 * 9820793010

E. Mail : sbarodia@yahoo.com, grs@bom5.vsnl.net.in

WEEK-END BATCH

A proper FOUNDATION COURSE to develop a serious hobby or to become a professional/free-lancer in any of the chosen fields of PHOTOGRAPHY

  • General principles and techniques for effective results under different lighting conditions – [ indoor and outdoor ], will be explained, highlighting the merits and demerits and limitations – for both Conventional and Digital Technology – SLR Cameras explained
  • Picture taking using Studio Lights and accessories
  • Black & White film development. Photo – finishing – B &W and colour [ manual/computer ] explained…
  • Post picture taking functions including scanning / editing / enhancing and printing of images on computer using appropriate software…
  • Participants assignments/work will be discussed and evaluated and proper Certificates will be issued…
  • Workshops / Assignments / Internships / Competitions etc. encouraged and organized as follow-up activities.

Course Duration: About 12 Sessions [each of 3 to 4 hrs]
Days & Timings: Saturdays 3.00 to 6.00 pm
: Sundays 9.00 to 12.00 noon

Registration: As soon as possible at the CENTRE
Course fees: Rs. 2,500/- only [Includes the Reading Material and the Annual Subscription of ‘BETTER PHOTOGRAPHY’ as a GIFT]
Course Director: Shirish S. Barodia

For further details, schedule and registration contact the CENTRE office at the address/tel. nos. given above

GUJARAT RESEARCH SOCIETY’S CENTRE FOR LIFELONG LEARNING

“LEARNING PHOTOGRAPHY”

Schedule with Course Contents [Subject to necessary changes]

Session I:
​​Registration and Introduction of participants Introduction to Photography, Principles involved,
​​Principles of Optics, Light – Films – Film Sensitivity,
​​Cameras – Types of Cameras – and different Parts ​of Cameras, Exposing Device, Exposure meters

Session II:
​Aperture and Shutter Speed Relations,
​Different Types of Lenses, Angles of view,
​Depth of Field, Composition, Picture Taking
​Submission of Assignment I and discussion

Session III:
​Filters and Modifications of Light / Optical Images,
​Principles of Colour Photography, Flash Light,
​Concept of Digital Photography,

Session IV:
​An outing to a nearby picturesque place to take pictures using own equipment/accessories, under different lighting conditions – for Assignment II

Session V:
​Artificial and Flash Light, Multiple Flash – Lights,
​Studio Lights and picture taking with the studio lights – Product Photography/Portraiture,

Session VI:
Black and White Film Development – Tank Method
Photo Finishing – Manual and Computer
​One to one discussion on assignments/doubts
​Overview, Different Types of Photography,

Session VII:
​Dos & Do-nots, Overview, Group Assignment,
​Evaluation of own work and general discussion …..

Session VIII & IX:
​Post Digital Photo Management on Computers,
​Enhancement of images using certain software etc.
​One to one discussion on specific area / field

Session X:
Discussion with a renowned Commercial Photographer about business opportunities,
Questions – Answers
​Distribution of Certificates, Follow-up activities, Etc.

  • Based on the earlier experience and the feedback from the past participants, two more sessions may be offered depending upon their special interest. Respective topics / activities will be given additional time, adjusting the above schedule suitably.
  • All needed time will be also given for one to one discussion to clear doubts and questions, if any, and for the evaluation of the work.
  • Follow-up activities to benefit the course participants are held. A few are listed below :
    • An exhibition of participants’ work on the theme “EXPERIENCE MUMBAI”, was held in May, 2006 About 100 photographs were exhibited.
    • Participants celebrated THE WORLD PHOTOGRAPHY DAY – 19th August, 2007 and 2008,
    • THE WORLD ENVIORNMENT DAY – 5th June, 2008 in collaboration with the Maharashtra Nature Park at the Nature Park at Dharavi – Mahim,
    • Participants of Mumbai and Ahmedabad have formed their E-group to communicate and to up-load their work. Certain achievements are announced and exhibited also.

Similar follow-up activities encouraged with participants’ help, as and when convenient

Citizen Identification System

Posted by: Dinesh Shah on: June 28, 2009

Many years ago I made this presentation in on of the FOSS event – FreeDel at JNU, New Delhi in hope that some decision makers will be there and will be able to catch the idea.

Citizen Information/Identification System Presentation in PDF Format

My presentation was attended by huge audience of 6 people. :-)

Now when GoI has announced and here here National Unique Identification Authority (NUAI) headed by illustrious Nandan Nilekani of Infosys, the Indian LUGs and FOSS community has woken from their slumber and started their paranoid discussion on the various mailing lists.

This clearly shows that FOSS community in India is as best reactive and reactionary rather then proactive and visionary.

In any case, I plan to reach Mr. Nandan Nilekani and present him with possible FOSS way of implementing this crucial reform in India.

If you happen to know people in right places in government please point them to this post and presentation. I am open to contribute to this project in whatever way I can as this project is quite dear to me.

Twitter: An Incessant Chatter

Posted by: Dinesh Shah on: May 15, 2009

I joined Twitter few months back, and it looks like I am hooked. :-) Now I am checking my Twitter updates at least 2/3 times a day on my iPhone using TwitterFon and post few tweets – mostly replies and ReTweets.

I have also installed TwitterFox on my Firefox web browser. This extension is not very good and I have just installed few more extensions to try out for my Twitter Feed.

The annoying thing about Twitter is some time you get tweets out of context and you really don’t know what that tweet is all about.

A better #FollowFriday ?
I get few #followfriday tweets but it does not tell me anything about the people I should follow. I would start doing a #followfriday with one or two word about each person I recommend. That way at least people in my network will know if they want to follow certain individuals/bots recommended by me.

UPDATE: I have added Twitbin Firefox sidebar and it look promising.

How are you dealing with twitter-mania?

Election Commission of Maharashtra Web site compromised?

Posted by: Dinesh Shah on: April 22, 2009

Today I went to check my voter roll entry at Election Commission of Maharashtra. However, Mozilla Firefox gave following warning.

reported-attack-site-mozilla-firefox

And here is the explanation given by Google

google-safe-browsing-diagnostic-page-for-ceomaharashtragovin-mozilla-firefox

I really wonder why our government can not run a simple web site securely? Is this a way by which our “talented” government servants sabotaging information technology for e-governance and Right to Information Act? Or am I reading too much from this incidence?

Isn’t it quite an co-incidence that this happened when the new CEC is appointed?

Mumbai Weekend Shoot – Night Shoot at Girgaon Chowpatty

Posted by: Dinesh Shah on: April 4, 2009

The Mumbai Weekend Shoot decided to have a Night Shoot this weekend at Girgaon Chowpatty. and after initial hick-up the weekend shoot finally announced for Saturday evening. The event was well co-ordinated by Kishore and Deepa. Both turned up on time! ;-)

This time I was equipped with a tripod. But to my chagrin I found that you need far different technique and may be different equipments too to shoot at night.

The first thing I found is that you need a heavy tripod. Mine is OK but light weight. And the sea shore was quit windy. I needed slower shutter speed in the low light but camera was shaking even on the tripod in the wind. Should I have put together a makeshift ballast to anchor my tripod better? Hmmm… something more to try in future!

I used my camera this time in mostly shutter priority mode. This means I set the shutter speed and let the camera select the best aperture.
Another experiment I did was on ISO setting. I took some snaps at ISO 800. I think for the night photography you need completely different photography technique. This was really good learning experience for me.

Waves and City lights

Waves and City lights

Rush Hour

Rush Hour


We were expecting the trouble with cops as posted on the flickr forum, but we were not bothered by anyone during the shoot. However, while taking group photos at the end of the shoot we had brush with the Mumbai police! While we are all having good time, cops came and wanted to stop us shooting. Kishore was all angry and worked up, but finally good sense prevailed and cops left us alone. By that time the shoot was over and people started dispersing.

MWS Group Photo

MWS Group Photo

A small group went to take photos from Marine Lines Flyover (Shamaldas Gandhi Road) on Marine Drive. I show some amazing photos taken from there with big blazing head and tail light trails.

About 10 people went for Cafe Ideal and spent some time together over coffee, cold drinks and Bhutjee Pao! Finally I left at around 10:15 PM while others continued there fun at the cafe.

I think it’s about time I go for a photography workshop to learn more about techniques and compositions.

White Balance in Digital SLR Cameras

Posted by: Dinesh Shah on: April 2, 2009

I own a Nikon D40X Digital SLR camera. In my last MWS meet, I learned a new technique to use white balance in DSLR to get some stunning photos.

I started experimenting with the white balance in my camera and here are the results.

Mumbai High Court

Mumbai High Court

The above picture was taken of Mumbai High Court with auto white balance in the camera.

Mumbai High Court

Mumbai High Court

The above picture was taken using custom white balance using blue/gray sky as the white balance.

As you can see, it produces quite a different and stunning picture. I would love to learn more of these techniques to improve my photography.

If you know any such tips and tricks please post it here.

Twitter Feed

    follow me on Twitter

    Twitter Feed

    Blog Stats

    • 4,837 hits

    Flickr Photos

    DSC_2996.jpg

    DSC_3035.jpg

    DSC_2984.jpg

    DSC_2985.jpg

    DSC_2986.jpg

    More Photos

     

    November 2009
    M T W T F S S
    « Sep    
     1
    2345678
    9101112131415
    16171819202122
    23242526272829
    30