Oh Amazon…

After returning an SSD, assuming that I would get a full refund for a previous purchase:

“I’m sorry to hear about the inconvenience caused to you due to the promotional credit. Unlike Gift card promotional credit cannot be refunded for the return of the item. But gift card will be refunded back for the returned items if you have used gift card on the order. Once the refund has been processed, gift card refund will credit back to the gift card balance in your Amazon.com account. You can use it towards your next purchase.”

Well, since the SSD wasn’t at fault, but some weird configuration on my part, I decided to not push the issue further to ask for my $20 “back”.

Well, let that be a lesson to all those that shop at Amazon… if you intend to use promotional credit, make sure you buy something you’re going to keep. I do presume that I would have gotten a free replacement, though.

This was probably the first time I was a bit disappointed at Amazon, but this won’t change my online buying habits anyway. Edge case.

“No such file to load” error using Sinatra?

Having issues with your config.ru, getting the “no such file to load” error for your app.rb/hello.rb?

Over at stackoverflow, we see the general answer.

By default, a script should not know what the current directory is. Think namespaces.

To fix it, just add ‘./’ to the .rb file you’re trying to include in your config.ru. Easy.

require ‘app.rb’

becomes

require ‘./app.rb’

Heroku problem? Make sure you’re running the right version of Ruby. This issue will come up with Ruby 1.9 and later.

Tags vs Categories

Doing some spring cleaning on the blog, shuffling posts and plugins and what not.

And so, I finally revisit the “Web 2.0″ question of tagging vs categorizing.

Categories are just weighted tags. This is precisely what Tumblr has been doing, and I guess Twitter to a certain extent (except that tweets don’t have a separate metadata field).

And so, time to throw down and fix this mess somehow.

No OS Is Good Enough

Step away from the politics of OSes, and I’m left to realize that none of them are for me.

I have to make it my own.

Only if I can start mapping everything to gestures or keystrokes will I be happy.

But to go searching for this level of customization would leave me an old and bitter man.

Not that I’m not already an old and bitter man.

Happy birthday, JK.