What really happens in traffic court – the procedure

After reading several accounts on the Internet, I’m sure you will note that the procedure in any given court is determined by the traditions and conventions in the area. So here is another one to add to the mix. This may or may not be the way it happens in the court near your home. But this is how it happens in San Mateo, CA.

Disclaimer: This is based on my experience. I am not trying to tell you how to prepare for traffic court, or how to behave once you are there. This is just my understanding of the procedure and proceedings in a traffic court. Hopefully, this will help you become familiar with the procedure. And best of all, when I lose all memory of this, this posting will remind me of what happened.

Read the rest of this entry »

Permanent link to this article: http://www.johnvarghese.com/what-really-happens-in-traffic-court-the-procedure/

The best tools for push notification

I wrote the following about a year ago. It was in response to an email request. So the information is a bit dated. But it is very frequently requested that it is relevant enough to post here. I have extracted a portion of the email.

It appears that iLime is no longer a viable option. But Urban Airship is still going strong. And it looks like my original recommendation was UA as well.

When iOS 3.0 came out with APNs (I think about two years ago), it was very confusing to everyone. Then two companies called UrbanAirship and iLime created an API for that and they were selling the service. Their pricing is very competitive. For example, if you use Urban Airship, the first million notifications are free. After that it is very cheap, 1 cent for 1000 notifications. If you are sending a million notifications, most probably you have some money coming in so it is affordable. Read the rest of this entry »

Permanent link to this article: http://www.johnvarghese.com/the-best-tools-for-push-notification/

Three good reasons to refill medication online – if you are with Kaiser Permanente

If your medical insurance carrier is Kaiser Permanente, you probably go to the pharmacy to get your medication. I don’t usually call the previous day. I just go there and ask for a refill. They usually have it ready in 10 to 15 minutes. Not a big deal one would say.

But the fact is I waste a lot of time, energy and money doing that. Here are the details. It takes between 10 to 15 minutes to get to the pharmacy depending on where I am when I decide to go (or which pharmacy I decide to visit). Then it takes about 10 to 15 minutes to get the prescription refilled. Standing in queue twice – once to order and once to pick up could be anywhere between 1 minute to 5 minutes in all. Then another 10 to 15 minutes to drive back. So I spend at least a half hour in all to get a 3 month supply of the medication that is currently running low.

So obviously ordering a refill online saves you plenty of time. That’s just one reason to order online. The best reason is the next one… Read the rest of this entry »

Permanent link to this article: http://www.johnvarghese.com/three-good-reasons-to-refill-medication-online-if-you-are-with-kaiser-permanente/

How to make a Linux system show the date in the local timezone

If you rent out a Linux system in the cloud, chances are when you run the date command, the time will be shown in UTC. Not only is that very disconcerting, it is downright useless. In the rare cases where there is a whole bunch of geographically distributed linux users accessing the same system, may be it is OK to keep it in UTC. But most of the time, it is better to have it in your local time zone.

Of course, no one checks the date and time on a Linux command line, because you can simply check the bottom of your computer or on your phone, or on the wall clock to know what time it is. But when you are comparing file times using ls -l, it can be very irritating to not understand the timestamps.

So here is the quick and simple solution to show the date and time in your local time zone. In this example I am using the America/Los_Angeles time zone. But you can use the one you want. You can find the whole list of American time zones under /usr/share/zoneinfo/America/ and the rest of the world in the parent directory.

Read the rest of this entry »

Permanent link to this article: http://www.johnvarghese.com/how-to-make-a-linux-system-show-the-date-in-the-local-timezone/

Permission denied (publickey,keyboard-interactive)

I created a git repository on assembla. Granted I have not created one there in a long time. That’s why I forgot about the rsa key hash. In fact, only after I went into my profile to check did I see that I already had one for my iMac there.

I had just created the repo on assembla. I followed their instructions to create a local repository and push it to the remote.

I did

git remote add assembla git@git.assembla.com:appname.git

No errors. When I did

git push origin master 

I got

Permission denied (publickey,keyboard-interactive).
fatal: The remote end hung up unexpectedly

This is most likely because you have set up ssh keys. When you get that on assembla, here’s how to fix it. Read the rest of this entry »

Permanent link to this article: http://www.johnvarghese.com/permission-denied-publickeykeyboard-interactive/

Going to miss Google Sets, my favorite project from Google Labs

When Google first started with the ‘don’t be evil’ philosophy, they were just a search engine and trying to beat the evil competition – Microsoft. But over the years, Google became more evil than it would have liked. Not that they did anything wrong, but the fell into the trap of doing what they were inspired to fight.

Over the years, Google has come up with or bought several new products in Google labs. Many of them were killed quietly – just like Google Sets was killed on September 5, 2011. I have used several of their now dead projects including the wave, the buzz, the knol, etc. But I never felt saddened by their deaths. They were all projects that did not deserve to live as much as the ones that survived. Read the rest of this entry »

Permanent link to this article: http://www.johnvarghese.com/going-to-miss-google-sets-my-favorite-project-from-google-labs/

Installing Ruby 1.9.3 on a Linux AMI on Amazon AWS

As of April 2012, if you create a new virtual machine in the Amazon Cloud, the default installation that contains Ruby still installs Ruby 1.8.7. But the most recent stable version is Ruby 1.9.3. And it has been stable for a while. So you really want to use that.

As you may know, the best way to manage multiple versions of Ruby is by using the Ruby Version Manger – rvm. If you have read my previous documentation on how to install RVM and Ruby 1.9.2 on the Mac, it is very different on Linux. Not only that, the RVM repository has moved permanently to its new home, so the rvm installation commands will not work.

So without further delay, here is the set of commands I ran to install rvm and ruby 1.9.3. Note that I did not set 1.9.3 as the default. The next time you start any new shell, 1.9.3 becomes the default by itself. Note also that you need to run all the commands as root. So I start with “sudo -s”.

Read the rest of this entry »

Permanent link to this article: http://www.johnvarghese.com/installing-ruby-1-9-3-on-a-linux-ami-on-amazon-aws/

The Instagram acquisition in perspective

You have heard by now that on April 9th, 2012, Facebook announced the acquisition of Instagram. For a billion dollars, no less. This has come as a shock not only to app developers around the world, but also to the employees at Instagram!

The Facebook CEO Mark Z has pledged to allow Instagram to remain independent. Of course they may eventually tie it in very closely with FB, but for now, they will remain independent. If FB wants to leave Instagram be, why did they pay a billion dollars for it? Why not just give them the funding they were looking for? They could have still controlled what was going on at Instagram – and if they only wanted it to be independent, it was way cheaper to do that.

Was it to acquire new customers? Not really. All Instagram users are already FB users. Both on the iPhone and on the Android. How does this compare with previous acquisitions of larger companies?

Read the rest of this entry »

Permanent link to this article: http://www.johnvarghese.com/the-instagram-acquisition-in-perspective/

How to quickly hide the red and green underlines in MS Word

There are times when you want to quickly create a document to jot down some steps. They are probably filled with short phrases. You don’t really care if the grammar is completely correct. You might be documenting UNIX commands that don’t have regular English spellings.

If you do this in Microsoft Word, it will immediately start showing the wavy underlines in red and green. It makes the doc hard to read on the screen. You don’t want to change the doc because the way it is now is exactly how you need it. The only things you want to get rid of are the red and green lines. Here’s how you can do it in a jiffy.
Read the rest of this entry »

Permanent link to this article: http://www.johnvarghese.com/how-to-quickly-hide-the-red-and-green-underlines-in-ms-word/

The Android Market’s new Merchant Page

The Android Market used to have a console where developers could upload applications (APKs). Earlier this month Google made major changes and updated the Android Marketplace to something called google play.

Along with that the developer/merchant console location was updated. True to form they did not inform anyone. For my future reference here is the new console’s location. Google Play Merchant Console.

Some of the other related changes.

Read the rest of this entry »

Permanent link to this article: http://www.johnvarghese.com/the-android-markets-new-merchant-page/

Older posts «