Author: rahul

  • A Month At Lexity And Relocation To Bangalore

    This post comes in a little late. I’ve recently joined Lexity, a startup with headquarters in Mountain View and branch office in Bangalore. Lexity is an E-commerce company which mainly designs products for small businesses with online stores, to increase their traffic and sales.

    Work and environment have been pretty good at Lexity. I was given a choice of choosing my own laptop and because of my lower back pain, I decided to go for a Thinkpad X230 (~1.3 Kg). Colleagues are pretty friendly and are always ready to reply to my queries. Being a startup, there is no buffet for lunch as such, but we do get an option to order from a choice of nearby caterers. And the guy who has performed the best during the week also gets to decide and order groceries for the entire week. Work is fast paced here and being completely new to the e-commerce domain, it is taking me time to catch up but I’m pretty confident I’ll pick up pace soon.

    On my personal front, I’ve taken a two bedroom apartment exactly 1.6 Km from my office and I walk up and down daily. The building in which I took the apartment has been recently built and there is a common swimming pool and gymnasium for the residents. My wife is yet to move to Bangalore and I plan to make use of these health facilities once she comes here. Also, as we have many tourist spots around Bangalore, we plan to go on a trip at least once in a month. Oh boy, how badly I miss her :(!

    That’s it from my side for now guys. I hope I have a great time in Lexity and in Bangalore.

  • Stanley 23 Piece Ratcheting Bit Driver Set Review

    A few months back, I bought a Stanley 23 Piece Ratcheting Bit Driver Set and there is just one thing I got to say about this – AWESOME!!!

    I was initially not sure whether to go for the 23 Piece Ratcheting Bit Driver Set or 10 Piece Multi-Bit Ratceting Screwdriver. However, I finally decided to go with the former as it had more number of bits and also came with a storage box. However, the biggest surprise that I got was that this set had a magnetic bit holder, which somehow transferred its magnetism to the bits :). The ratcheting property of the screwdriver is also good and it has an option to lock the ratcheting movement as well. I highly recommend the Stanley 23 Piece Ratcheting Bit Driver Set to anyone who uses a screwdriver regularly.

    Stanley also has an array of screwdriver sets to offer. Two other interesting screwdrivers sets offered by Stanley are the 6-Piece Precision Screwdriver Set and the Stubby Ratcheting MultiBit Screwdriver. While the former is useful for removing screws as that in a laptop, the latter is useful in cases of packed spaces. Apart from screwdrivers, Stanley offers a lot of other interesting and useful tools.

    I am currently aware of the below two dealers of Stanley products in Hyderabad, India.

    1. A. AHMEDALLY & CO. (PVT.) LTD. – 27710017 / 27713434
    2. DARBAR TRADING CORPORATION – 40025380 / 27712349

    Both the dealers and located in Ranigung, Secunderabad and generally offer about 15% discount on Stanley products.

  • Super Grub2 Disk

    The primary purpose of Super GRUB2 Disk is to help you boot into an OS whose bootloader is broken. Documentation for Super GRUB2 Disk can be found at http://www.supergrubdisk.org/wiki/SuperGRUB2Disk.

    I had an old system with Intel YM430TX motherboard lying around which would not boot from its hard disk. So I decided to patch Super GRUB2 Disk for three things:

    1. To timeout and boot the “Detect any Operating System” option
    2. To timeout and boot the first detected OS
    3. To insert the appropriate modules while enabling PATA

    Here is the super_grub2_disk_1.99_beta_1_intel_ym430tx.patch. After applying the patch to super_grub2_disk_1.99_beta_1_source_code, I built the Super GRUB2 Disk iso, burnt it to a CD-ROM, inserted in the CD drive, and it then automatically booted Linux from my hard disk.

  • Bagmati Travels Review

    On my recent trip to the Golden Triangle (Delhi-Agra-Jaipur), I had hired a car from Bagmati Travels – http://www.bagmati.co.in/ to go to Agra from Delhi and come back on the same day.

    Bagmati travels offered the cheapest rates for this one-day trip. The one day trip included visiting Agra and Fatehpur Sikri and costed us Rs. 5000/-. The package also included providing travel guides at each of the monuments (you can request for English speaking guides). Fatehpur Sikri is definitely a place to be visited and it is recommended that you be there before 4.00 PM.

    While the rates were cheap, the guides good and the driver professional, there was one thing which really pissed me off. The driver kept taking us to restaurants where he could have breakfast/lunch/dinner for free. However, the rates in this restaurants were very high. And for dinner, we ended up having dinner at an even worse Dhaba just because of this behaviour of the driver. This is one thing that you will have to keep in mind if you use Bagmati Travels.

    Apart from the above mentioned con, Bagmati Travels was very pretty decent and I would generally recommend it.

  • Convert HTML to PDF using wkhtmltopdf

    wkhtmltopdf is an excellent utility for converting an URL or HTML file to PDF. Kindly note that the current version of wkhtmltopdf in Debian, as of today, is 0.9.9, which is outdated. I highly recommend that you download the latest featured version from http://code.google.com/p/wkhtmltopdf/downloads/list and use it instead. Here are some examples for using wkhtmltopdf.

    Simple conversion of html to pdf.

    # wkhtmltopdf http://www.google.com google.pdf
    # wkhtmltopdf input.html output.pdf
    

    Input and output files could be replaced with standard input and standard output.

    # cat input.html | wkhtmltopdf - - > output.pdf
    

    Disabling PDF outline (versions prior to 0.10.0 had outline disabled by default).

    # wkhtmltopdf --no-outline input.html output.pdf
    

    Adding a custom header and footer.

    # wkhtmltopdf --header-left "Some header text" --footer-center "Some footer text" input.html output.pdf
    

    References:
    http://code.google.com/p/wkhtmltopdf/
    http://code.google.com/p/wkhtmltopdf/wiki/Usage
    http://madalgo.au.dk/~jakobt/wkhtmltoxdoc/

  • Screencast in Linux

    After trying out various screencasting applications in Linux, I figured out the below set of applications are the best for creating, modifying and editing screencasts. Kindly note that all the below mentioned software are available in the Debian main repository.

    • recordMyDesktop: recordMyDesktop is a free and open source desktop screencasting software application written for GNU/Linux. The program is separated into two parts; a command line tool that performs the tasks of capturing and encoding, and an interface that exposes the program functionality graphically. There are two front-ends written in python with pyGtk (gtk-recordMyDesktop) and pyQt4 (qt-recordMyDesktop). RecordMyDesktop also offers the ability to record audio through ALSA, OSS or the JACK audio server. RecordMyDesktop only outputs to Ogg using Theora for video and Vorbis for audio.
    • OpenShot: OpenShot Video Editor is a free and open-source video editing software package for Linux, built with Python, GTK, and the MLT Framework. The project was started in August 2008 by Jonathan Thomas, with the objective to provide a stable, free, and friendly to use video editor. Some of its features include:

      • Support for many video, audio, and image formats (based on FFmpeg)
      • Multiple tracks
      • Clip resizing, trimming, snapping, and cutting
      • Video transitions with real-time previews
      • Compositing, image overlays, watermarks
      • Title templates, title creation, sub-titles
      • Drag and drop timeline
      • Video encoding (based on FFmpeg)
      • Audio mixing and editing
      • Digital video effects, including brightness, gamma, hue, greyscale, chroma key (bluescreen / greenscreen), and over 20 other video effects
    • Ogg Video Tools: The “Ogg Video Tools” is a toolbox for manipulating Ogg video files, which usually consist of a video stream (Theora) and an audio stream (Vorbis). It includes a number of handy command line tools for creating an manipulating these video files, such as for splitting the different streams. Actually there are the following tools available: oggResize, oggThumb, oggSlideshow, oggCut, oggCat, oggSplit, oggJoin, oggDump and oggLength.
  • Reducing VirtualBox Dynamic VDI Size

    Detailed instructions for reducing a dynamic VDI size can be found at http://forums.virtualbox.org/viewtopic.php?p=29272 (FAQ entry “How can I reduce the size of a dynamic VDI on disk?”).

    Reducing the size of a dynamic VDI is mainly a two stage process:

    1. Fill the filesystem free space with zeroes
      The mentioned way in the FAQ is to start the system in single-user mode, mount the root filesystem as read-only and run “zerofree” command. But trying to remount the root filesystem as read-only (from single user mode) in Debian was failing with a message “mount:/ is busy”. An easy way to workaround this is to first boot using a LiveCD such as SystemRescueCD, which comes bundled with zerofree. If you boot using Ubuntu LiveCD, then you might have to install the zerofree package after booting the LiveCD. Next, you will just have to run the zerofree command for each of VDI’s Linux (ext2/ext3/ext4) partitions.

      # zerofree -v /dev/sda1
      # zerofree -v /dev/sda2
      # zerofree -v /dev/sda3
      ...
      ...
      

      You will have to fill any non-Linux partitions, such as NTFS, with zeros as well (refer to the FAQ entry mentioned above).

    2. Compacting the VDI
      The VDI compact command should be run from the host system.

      # VBoxManage modifyhd /full/path/to/xxxx.vdi --compact
      

    For your convenience, I have written a script which takes the absolute path to the VDI as an argument, mounts any Linux (ext2/ext3/ext4) partition it finds in the VDI, fills it with zeroes, and then finally compresses the VDI. I hope you find the script useful. Download the script, extract it (gunzip compact-vdi.sh_.gz && mv compact-vdi.sh_ compact-vdi.sh), and execute it (./compact-vdi.sh vdi-absolute-path).

  • Now An Official Debian Maintainer

    Today, my GPG key has been added to the Debian GNU/Linux keyring maintainers package, thereby converting me from a sponsored Debian maintainer to an official Debian maintainer.

    A little history about this. My involvement with Debian packaging started while working on Synovel CollabSuite. The Darwin calendarserver which we were using as part of the product had an outdated package in Debian. Therefore I went ahead and upgraded this. As I had anyway upgraded it, I decided to get it into the official repository so that other Debian users could benefit from it. I got in touch with the then package maintainer, Guido Gunther, who gladly accepted my proposal. With the help of Guido’s excellent mentor-ship, I pushed the upgraded Debian packages into the official Debian repo, and took over as the maintainer of the calendarserver package.

    However, I was still a sponsored Debian maintainer as all my packages had to be signed by Guido. Today, with my GPG key being added to the Debian keyring maintainers package, I can sign and upload the packages by myself.

    I hope that I’ll get the time to continue contributing to the wonderful Debian GNU/Linux project, and that I will eventually become a Debian Developer.

  • And Rahul turns 30!

    What an eventful decade this has been – Graduation, Work, Friendships, Break-Ups and Marriage. With all this experience, I do hope I’ve become wiser :).

    Unlike every time when I’m generally not very enthusiastic about celebrating my birthday, this time I went with my family to a farm and spent the day there. Later, I met a very close friend on my way back home.

    Unfortunately, my current activities is leaving me very little time to spend on my blog. I have a list of more than ten pending blog posts which I hope to publish soon.

    I wonder what the next decade holds for me – children, travel, investments and perhaps another startup???

  • HyderabadLaptops.com Review

    HyderabadLaptops or HyderabadLaptops.com seems to be a division or an alias of AISS (Academy for Integrated Systems & Solutions) and deals with computer hardware. I got to know of this company while googling for laptop repair services. Generally, when writing a review of a product or a service, I tend to give an advice to my readers whether to use the product/service or not. However, in this case, I will just mention my experience with them, state my personal opinions, and leave it to the better judgement of the readers whether they want to avail their service or not. In case you do not have the time to read the entire review, just scroll over to the last article to read my personal opinion about them.

    The problem with my laptop began when the display was all garbled. I initially contacted Global Technologies in Secunderabad. They fixed the problem for Rs.900 but two weeks later, the same problem surfaced. This is when I considered getting my laptop repaired with HyderabadLaptops. Their office at Nagarjuna Cirlce consists of a big room where their junior executive (Mr. Omkar) and the receptionist sit. There is a smaller cabin where a more senior executive (Mr. Rajesh) sits. Attached to both theses rooms is an even smaller space, which supposedly is their lab where I think a couple of technicians work.

    After I handed over my laptop to them, they got back to me informing me that their was a problem with a BGA chipset and that I had two options, either to repair the current chipset, which would cost me Rs.1800 and comes with a 2 week warranty or to replace it with a new chipset, that would cost me Rs.4500 and comes with a 1 month warranty. I decided to have the chipset replaced as they told me that the same problem could again come up if I repaired the existing chipset. As per what they told me, the procedure of fixing the new chipset involved placing an order for the chipset from Bangalore IBM, which would take a couple of days to come through the courier, and then fixing the chipset, which would take a couple of hours. I told them that I would like to see the chipset when it arrived. But they were completely against it. As a matter of fact, they even asked me to take back my laptop. But after a lot of insisting, they agreed to show me the chipset when it arrived.

    Three days later, they informed me that the chipset had arrived. I went and had a look at it. They had already removed it from the courier and showed me a small chipset. I was expecting the chipset to be in a properly sealed box as they claimed that it was new but it was only in a small plastic box covered with plastic case. It might be possible that as this is not a consumer sold part, there is no solid packaging for it. They asked me to come back in a couple of hours after they fixed it. When I went back after a couple of hours, they said that fixing the chipset was taking time and told me that it would be mostly done by next day.

    I called them up the next day but they said that it would take one more day. This is when I became suspicious that something was wrong. Another day had passed, and I again called them. They then told me that the chipset which they had ordered and had shown me was not compatible with my laptop. They have placed an order for another chipset and that would take another 3-4 days. However, surprisingly, they called me up the next day itself and said that the chipset had arrived and they had fixed it. They had by now taken a total of 7 days to resolve the issue.

    I went back to them to collect my laptop. I initially opened the laptop to see where the chipset was fixed. Mr. Rajesh was slightly surprised to see this and told me that he was being very considerate by letting me open my own laptop and that no other repair center would agree to it. It actually surprised me that he was reluctant to have me examine my own laptop.

    The laptop booted properly and the display was fine but I noticed that the hdd cover was missing. I insisted that al though I had removed my hard disk before giving it to them, the hdd cover was in-place. But they just denied it and said that it was impossible for them to misplace it. I refused to clear the bill unless they provided the hdd cover. Finally, Mr. Rajesh asked me to go home and check for the hdd cover and promised that they would get a new one if I did not find it. So I cleared the bill and brought back my laptop.

    After getting my laptop back, I began to notice a strange problem for the first time. The laptop at times shut down suddenly and wouldn’t start again until I re-plugged the charger. This especially occurred when I ran an application, and that also at a point when the application gave a warning about the display. As I have been using this application for a very long time, I suspected that the problem could be because of the new BGA chipset that they had inserted and so took it back to them.

    It was this time that I really became unhappy with their services. For the first three days, they didn’t even check the status of my laptop. On the fourth day, they informed that they could not find any problem with my laptop. Just as I started to their service center to reproduce the problem, they again called me and informed me that my laptop was restarting randomly and they would get back to me with the status. After another three days, they informed me that they had placed an order for a replacement BGA chipset. Another three days passed by, and when I call them demanding about the status, they tell me that there is no problem with the BGA chipset as they have tested it with an alternate one, and it was actually over-heating of the North Bridge. They had by now taken a total of 10 days since I gave them the laptop the second time.

    Meanwhile, I called up Mr. Omkar to find out the status of the hdd cover as it had been almost two weeks. He told me that they had already placed an order for it but has been delayed by the courier. A few days later when I enquired about this with Mr. Rajesh, he told me that the price of the hdd cover was very high wherever he enquired and that he was still trying to find a dealer where he could get it for a reasonable price. This conflicting status updates of Mr. Omkar and Mr. Rajesh made it almost certain to me that they did not intend to get a replacement hdd cover for me as they had promised.

    I went back to collect my laptop. Just to ensure that the problem that they were talking of and the one that I was talking about were the same, I asked them for the hdd that they had used for testing. As they did not have the hdd, I just went on to boot my laptop with my hard disk. For some reason, Mr. Rajesh took offence to this and he began to tell me that I am not supposed to test my laptop in front of them. It really surprised me that now he was even having an issue with me booting up my laptop. I told him that I would go back and use my laptop, and if the restarting problem occurred frequently, would consider getting the North Bridge replaced, which he told me would cost Rs.1800.

    I came back and started using the laptop. And this was when I realized something which made me lose trust in their services completely. My Wi-Fi no longer worked. No matter what I did, it just wouldn’t work and the Linux wi-fi manger told me that it was disabled in the hardware. I even re-checked the wiring of the wifi device and still it didn’t work. I did consider taking back my laptop to them but then decided against it for three reasons – i. Getting the problem fixed would mean leaving the laptop again with them for a few days, with which I had become very uncomfortable by now ii. Even if the Wi-Fi problem was fixed, it wouldn’t serve much purpose as I was now anyway using my laptop as a desktop and it became clear that with the rebooting problem, my laptop was only of temporary use till I purchased a new laptop and iii. The first time I gave my laptop for repair, a new problem of sudden restarting surfaced. The second time I gave it, my Wi-Fi stopped working. I was scared that the next time I give it, a even more grave problem might crop up which might render the laptop completely useless.

    Summarizing, here are the various problems that have cropped up in my laptop after I started using HyderabadLaptop.com services over a period of three and a half weeks:

    1. HDD cover misplaced – There is a remote possibility that I gave them the laptop without the hdd cover in the first place. However, their promise that they would get it replaced and later faltering on it, is totally unacceptable.
    2. System reboots randomly – They claim that this is being caused by North Bridge and has nothing to do with the newly inserted chipset. However, it surprises me that this should have started from exactly the time when I collected my laptop from them.
    3. Plastic around the network and modem connectors broken – I could not conclusively tell when this problem came up as I only noticed it after I took back my laptop from them the second time. It is quite possible that this could have been broken before itself and I might not have noticed it.
    4. Wi-Fi not working – I was completely upset with their service and so I did not even consider taking this back to them for the reasons mentioned in the previous paragraph.

    So, finally, what is my opinion about HyderabadLaptops.com? They do chipset replacements which I don’t think many other service centres do. Their pricing strategy seemed al right. But their unwillingness to be completely transparent, the cropping up of multiple problems since I gave my laptop to them and the delay in fixing/identifying the problem, make the quality of their services sceptical and something which I will be reluctant to avail of in the near future.