How to Set to Always Open a Similar File with a Preferred Application in Mac OS X

0 comments

The Wrong Way to Do This

  1. Right click on the file
  2. Select "Open With", and then select "Other...", choose the application
Doing #1 and #2 will lead to always open rand-anthem.epub with Adobe Digital Editions, instead of setting to always open epub file with Adobe Digital Editions.



The RightWay to Do This
  1. Right click on the file, choose "Get Info"
  2. A left panel will show up.  Select "Open with:" and then check the specified application.
  3. Click on "Change All.."
  4. Click "Continue", and now you have a MAC OS which always open epub file with Adobe Digital Editions.
Why a blog post was made to explain this
Because the way to do this in MAC OS is ridiculously against the common sense.

You Are Just One Click Away to Spend Those Dollars

0 comments

It's been years since the last time working on some shopping related web applications that I forgot the main angle behind the design of those applications is to make it as easy as possible for the customers to spend their money. The idea behind online shopping business is that it's so easy that as long as we have a credit card (or credit card numbers), we can order whatever we want.

So last time I went to Groupon to purchase a voucher for gift because of the convenience. Prior completing the payment, I was surprised that everything is already filled up. What I have to do to complete the payment is basically just to click the "Submit Order" button. And there is no explanation provided that "after clicking this button, your credit card will be charged". It just happened, my card was charged.


So convenient, right? Imagine if some day Groupon's database get hacked, what will happen? If really one day all those credit cards numbers were downloaded by someone else and he's using them to shop around, I wonder if Groupon is going to stand up and take the full responsibility to handle customers' claim to VISA to fully refund all the money drained by the hacker. If not, then at this time the customers are going to experience big time inconvenience, provided that they're using a credit card. If they're using debit VISA, then I wonder if Groupon is going to refund those money, because debit card has zero fraud protection and does not provide dispute resolution options.

The fact is that this kind of thing happens, and when it does, everything is already too late. For example this is what it will look like when 6 millions of CSDN's users credentials getting hacked and shared publicly on XunLei (a torrent clone of China). This event occurred just last month, and I was one of the members of CSDN. What happened is that since then my mail account (that I used to register on the website) has been always full of spams and I have to update every account that is using the same password (because it's a common knowledge that people tend to use the same password for everything).

Going back to my story about Groupon, I was upset for a few minutes and then daydreaming big time to sue the company. Of course it's not going to happen. They are big, I am just like a fly to them, chances are so small. But I still did some researches and asked around about it.

With the references given by some of StackExchange's member, I figured out that it's indeed illegal to store customer's CVV2 number.

http://www.visa-asia.com/ap/sea/merchants/riskmgmt/ais_merchants.shtml#TIP

The merchant must have confirmed that sensitive authentication data (i.e., the full contents of magnetic stripe, CVV2 and PIN data) is not stored, as defined in the PCI DSS.

So I wrote an email to VISA's AIS team to complain about that. What they replied is that they're unable to confirm if Groupon is storing customers' sensitive credit card information. The asterisk may not represent the actual CVV2 provided that the credit card information is also masked. If I have any concern about card security, I was supposed to contact the bank who was issuing the card (I assumed that they were trying to say that I may request the bank to just deactivate the card if I was really concerned about it).

But Amazon, Apple Store and PayPal also provide the same convenience, right? What makes it different between them and Groupon is that they explicitly explained it to us when we're going to enter the number, that it will be for future purchases as well. Groupon does not do that, I might have remembered it wrong, but I'm quite sure that there wasn't any explanation when I made the first purchase a few months before that.

To support my unreliable memory, additionally here's what we can see on Groupon's FAQ page. It is so beautiful and safe!


What make it worse is that Groupon is allowing you to connect your Groupon account with your Facebook account. People will commonly be being careless about Facebook account because it's just a social media. So what usually happen is that they will check the "remember me" button to keep their browser logged in to Facebook until there's one of the day when the browser's cookies are being cleaned up. Of course this is related to personal responsibility, but what I see here is that Groupon doesn't really care about their customers' security.

Maybe I'm just making this small thing such a big deal. But as a customer I never expect and wouldn't be thankful to have this kind of convenience, especially when it's related to the safety of a debit VISA card.

Toyota Commercial - Jean Reno as Doraemon

0 comments

A bit OOT but Doraemon is my childhood favorite cartoon, so here we go, 3 parts, with English translation.




Shizuka: What are we going to be when we're adults?
Suneo: A rich man!
Takeshi: I want to be a singer.
Shizuka: How about Nobita?
Nobita: It seems like I don't have any dream.
Doraemon: What? You don't have any dream at all?
Nobita: I want to go out with Sizhuka with a car!!!!
Takeshi: Nobita want to drive a car.....
Nobita: What are you guys laughing at!! There's nothing wrong with that!!
Takeshi: You're just a Nobita what are you arrogant about!!
[20 years later]
Takeshi: I'm really an idiot ~~~ a big idiot ~~~
[Nobita 30 years old]
Nobita: yeah really an idiot
Takeshi: What did you say?
Nobita: Nnnothing... Thank you for the ride, Takeshi...
Takeshi: Apparently just a Nobita
(Nobi Nobita, 30 years old, still single)




Sizhuka: It's been so long since the last time playing with Nobita
Nobita: But bad things happen when we go out and play.
Nobita: We're late ~~~~~~~
Nobita: We're lost ~~~~~~~
Nobita: Hot hot ~~~~~ so hot ~~~~~
Shizuka: Nobita... I still have to attend the violin class ...
Suneo (coming out of nowhere): Let me give you a ride!
Shizuka: Suneo, it's Suneo!
Suneo: Oh? So you don't drive??? Bye bye
Nobita: Damn it.... I can't let it go... Does it mean that you can do everything when you have a car?
Nobita: Doraemon!
Doraemon: Long time no see Nobita.
Nobita: Give me a car!!
Doraemon: I won't
Nobita: Why?
Doraemon: You don't have a driver license.
Nobita: Driver license ....



Nobita: Oh no!! Suneo is going out with Shizuka again!!
Nobita: Oh no!! I don't want a future like this!!
Doraemon: Nobita, I can't give you a car, but...
Doraemon: Anywhere door!!!!!
Doraemon: Can go to the beach in a moment.
Nobita: I've known this a few hundreds years ago.
Takeshi: What!! An empty can!!
Nobita: Giant!
Takeshi: What are you doing!! You think I'm an idiot?
Doraemon: If you want to hang out with Sizhuka ~ use this ~
Doraemon: Bamboo flyer!!!
Nobita: I don't want to rely on tools anymore!! I want to learn driving with my own effort!!
Nobita: Let's go to the showroom first! Bring out the anywhere door!
Doraemon: But you said you don't want to rely on tools ...
Nobita: Don't be mean..
Nobita: uuuuuuuuuuuuuu....

Book Review: Your Money - The Missing Manuals

0 comments

Right after reading the first chapter of Your Money: The Missing Manual, you might think that it mainly and only talks about frugality. You are right, it's all about frugality. But there's actually much more inside of it. I like how the author explains about the relationship between money and us. And also the way he tells things by using himself as an example.

I actually skipped a few chapters of it because they are not (yet) applicable for me. The chapter I found most useful is the one about budgeting. I have been keeping track of money since a few years ago, but I have never been really using it to conclude anything.

This book actually reminds me about an old funny Hongkong movie I used to like a lot: Frugal Game (2002). Someone actually uploaded this movie in several parts to Youtube, but unfortunately there is no subs and it talks Cantonese.

Back to the main topic, I would say that you won't find anything "heavy" inside this book since he's not inventing any new theory. But this is a nice book to start with if you think that financial security lead an important rule in our life.

Debian Squeeze on Macbook Pro (Part III)

0 comments

This might be the last part of Debian Squeeze installation story. In this part I'm going to describe about what I did for backup.

At first, to backup the entire debian system, we can use "dd".

The command is like this:

dd if=/dev/sda4 of=/path/to/backup-`date +%s`.img


To restore, boot from some place else (live CD or the other OS) and then run:

dd if=/path/to/backup.img of=/dev/sda4


Here, /dev/sda4 is the '/' partition where debian is installed.

Example:

momotaro@debbie:~/Downloads$ df -h
Filesystem            Size  Used Avail Use% Mounted on
/dev/sda4             9.2G  5.3G  3.5G  61% /
tmpfs                 1.9G     0  1.9G   0% /lib/init/rw
udev                  1.9G  264K  1.9G   1% /dev
tmpfs                 1.9G     0  1.9G   0% /dev/shm
/dev/sda6             187G   40G  138G  23% /home
/dev/sdb1             466G  423G   43G  91% /media/hd
momotaro@debbie:~/Downloads$


To backup personal file, I use rsync.

rsync -av /home/momotaro/Pictures/ /media/hd/Pictures
rsync -av /home/momotaro/Music/ /media/hd/Music/iTunes/Music
rsync -av /home/momotaro/Documents/ /media/hd/Documents


The next step would be to run this backup script within a useful scheduled time, like weekly or maybe less.