Hari's Corner

Humour, comics, tech, law, software, reviews, essays, articles and HOWTOs intermingled with random philosophy now and then

Portrait of Sri Shirdi Sai Baba

Filed under: Artwork/Portraits/Caricatures by Hari
Posted on Wed, Aug 27, 2014 at 22:05 IST (last updated: Wed, Aug 27, 2014 @ 22:05 IST)

Portrait of Sri Shirdi Sai Baba, second attempt. Drawn on my HP Touchsmart tm2 with MyPaint.

Sri Shirdi Sai Baba

Comments (2)  

Google calendar sync issue: events older than 30 days

Filed under: Tutorials and HOWTOs by Hari
Posted on Mon, Aug 25, 2014 at 20:14 IST (last updated: Mon, Aug 25, 2014 @ 20:20 IST)

I recently had a synchronization problem with my google calendar and my Android phone (Sony Xperia Ray). To solve the issue, I had deleted the calendar data from Settings->Applications->Manage Applications->Calendar Storage in my phone and then re-synced with the google account. Unfortunately, this meant that only events from the last 30 days displayed in the Android calendar though the events still existed on google. This behaviour/bug appears to be an issue across calendar apps in several Android devices and I finally found one solution that was not too convoluted and actually worked. I found this solution somewhere in a mailing list hidden among other proposed solutions (which didn't work), so I claim no credit for discovering this on my own. ;)

So this is for my own future reference and also for those who encounter the same issue and stumble upon this blog.

Here are the steps I followed

  1. First, I turned off syncing of my google account in Settings->Accounts and Sync and de-activating auto-sync on my phone.
  2. Then I cleared the calendar storage as above (Settings->Applications->Manage Applications->Calendar Storage and deleting the calendar data).
  3. Then from my web browser on my laptop, I logged into google calendar. Then from the sidebar, I clicked on My Calendars->Settings from the dropdown menu.
  4. From the settings, I exported the calendar to a file on my hard disk with the Export Calendars link. The downloaded copy is a ZIP file containing one file, the .ICS file. I extracted the ZIP file.
  5. Then I clicked on Import Calendar link and chose the uncompressed .ICS file. This option will simply overwrite your existing calendar with the same events (important: do not delete the calendar from google after exporting!)
  6. Finally I re-enabled auto syncing on my mobile and loaded the calendar app after connecting to the internet. Now I could see all the events from the calendar, regardless of date.

That was it. It appears that the syncing of the calendar looks for event modification date and by overwriting the google calendar with the same data, it sets the modification date to the present time.

I had actually come across this problem before and solved it back then. But I had forgotten to document it then. It's also important to keep regular backups of your calendar offline so that any synchronization issues can be solved by the above method. You don't want to accidentally delete events from your google calendar due to sync problems!

Comments (3)  

Slackware 14.1 review (32 bit)

Filed under: Software and Technology by Hari
Posted on Wed, Aug 20, 2014 at 14:28 IST (last updated: Mon, Mar 23, 2015 @ 20:24 IST)

I never thought I would install Slackware on my father's laptop, but that is what I did today. I already have Slackware installed on my office machine, where I wanted a stable, no-frills distribution for my office needs. Background: I'm not unfamiliar with Slackware, having used it off and on over the years, but it's never been my preferred distro for a few reasons, some of which I've mentioned in this review.

Yesterday, I installed Slackware 14.1 (32 bit) on my father's old Sony Vaio laptop, removing the defunct Windows XP partion on it. I wanted to choose Debian, but then I had only the first Debian CD for x86 and I'd have to install KDE from the online repositories. With Slackware, since I already had the DVD downloaded, all I had to do was pop it into the DVD drive and I was ready to go.

Slackware's installation remains faithful to the old school. It's basic and no-frills but anybody familiar with Linux will pick it up with reasonable ease. The ncurses UI is always very responsive and makes it a breeze to install on older hardware as well. One notable feature I noticed in 14.1 (I am not sure since what version it has been included since I've been away from Slackware since 13.1) is that network can now be configured with NetworkManager during installation. This makes it far easier to set up Wifi without having to fiddle about with text configuration files. In other ways, it remains traditional and quirky like the preference for LILO over GRUB as boot manager (of course, you can always choose to skip boot manager installation if you so prefer).

Post-installation, I had to set up Slackware to log in to kdm (edit /etc/inittab to set the runlevel to 4 instead of 3) and then install libreoffice and skype (which requires compiling pulseaudio and its dependencies from SlackBuilds.org).

Slackware 14.1 remains faithful to the tradition of simplicity over convenience. Some of the things I really enjoy about Slackware are:

  1. No abstractions. Every customization is a simple configuration file edit away. This might require some reading manual pages etc, but it's not all that difficult to accomplish.
  2. The entire distribution can be installed without a network connection. For distros like Debian this requires downloading a dozen or so CDs or DVDs.
  3. Defaults are sane and packages are (more or less) pure builds from upstream sources. There are no extra branding or patching by Slackware to its packages. This means that you get software that does not have any changes from upstream.
  4. SlackBuilds make it easy to compile extra software as needed. However there are always some community binary packages  of popular software available.
  5. It is the distro of choice for KDE-centric Linux installations. KDE remains one of the more feature-rich and customizable desktops on the *nix platform till date.

In many ways, Slackware has actually become easier to use, thanks to the automatic configuration of network by choosing NetworkManager instead of manual configuration, particularly for Wifi connectivity. Also Slackware does include the firmware for Wifi chipsets which means that you can easily connect to the internet without having to get the firmware separately. In Debian, this is an issue because of the Debian licensing policy with respect to non-free software.

The one difficulty with Slackware remains third party packages. It is a bit of a hit-and-miss approach when the dependencies become complicated or when some applications require strange or non-standard build environments. As a Debian user used to the comfort provided by the huge online repository of official (binary) packages, it can feel quite limiting with Slackware. The good thing is that SlackBuilds.org provides thousands of build scripts for applications that you might need and there are a few unofficially maintained packages of popular appliations as well by senior Slackware devs. However, even if all else fails, most Slackware users would swear by manual compilation of software and creating Slackware packages from the official package tools provided by the distribution. I personally wouldn't recommend such a course unless you have time to waste. Again, if you're a Gnome user, you're better off with some other distribution.

All in all, I would recommend Slackware if you need a stable distro with a fairly full set of applications and one that is self-sufficient and fully installable without requiring network connectivity, particularly if you are a KDE user.

Comments (5)  

Veteran actor V.S.Raghavan

Filed under: Artwork/Portraits/Caricatures by Hari
Posted on Sat, Aug 16, 2014 at 15:24 IST (last updated: Sat, Aug 16, 2014 @ 15:24 IST)

A portrait of veteran Tamil actor V.S.Raghavan. Drawn using MyPaint on my HP Touchsmart tm2.

V.S.Raghavan

Comments (0)  

Tamil actor "Venniraadai" Moorthy

Filed under: Artwork/Portraits/Caricatures by Hari
Posted on Wed, Aug 6, 2014 at 08:46 IST (last updated: Wed, Aug 6, 2014 @ 08:46 IST)

A portrait of veteran tamil actor and comedian, "Venniraadai" Moorthy. Drawn on my HP Touchsmart tm2 with MyPaint.

Venniraadai Moorthy

Comments (0)  

Database error and recovery

Filed under: Site management by Hari
Posted on Wed, Aug 6, 2014 at 08:36 IST (last updated: Wed, Aug 6, 2014 @ 08:48 IST)

A corruption appears to have occurred on the database in this blog. I had to recover the database from an older backup and as a result, a few recent blog posts and comments have gone. :(

I should have backed up the latest version of the blog database before, but somehow I had missed that in the recent months. Don't you hate it when that happens!!

Too bad. In any event, I am glad that it was no worse!

Comments (0)