Archive for April, 2007

Damn desktop plugins

If you ever had a PocketPC, you probably have heard the horror stories of the “Today” third party plugins being the No1 cause for these PDAs/phones crashing. Well, it seems that the Nokia geniuses thought that it would be nice to have such “desktop” applets on their N770/N800 internet tablets too. Apparently the RSS plugin is what causing for some users the N800 to immediately reboot after loading, and in my case tonight, the OMWeather plugin crashing the whole Maemo desktop, re-spawning and eventually rebooting the device — and then all over again. Now, I have no alternative but to re-install the N800 firmware, re-patch the kernel to get SDHC support and re-install all my apps from scratch. This is a case where Nokia’s engineers didn’t learn from the predecessors’ mistakes and made these plugins/applets too integrated to their main desktop so when they crash, they bring hell to the whole system. Poor design. Just like Microsoft’s “Today”.

Weight Tracker

I found a good way to embarrass myself. I now have added this weight tracker graphic on the top of my blog where I will be updating every Monday. It will track the weight lost after starting my low-calorie diet last week (at the time I was weighing 162 lbs). The reason I put this here is so that I can push myself to go forward with the diet, because if I backtrack, the arrow will become red (instead of navy-blue) and everyone will know that I screwed up. It’s just one more mechanism to push myself. The absolute healthy weight for my size (I am short) is about 102 lbs, but even if I end up losing 50lbs instead of 60lbs that would still be a major success. So, let’s see what I can accomplish this time (although my scheduled August vacations in Europe will obviously disrupt the diet).

Quantum Physics Parts Ways With Reality

It’s stuff like that that make me want to move back to my mountainous village, grow potatoes and have some hens and a sheep herd. Because no matter how “progressive” I am trying to be, in reality, I don’t want to know that the world might not really exist, or that there 11 dimensions or other such far out ideas. Don’t get me wrong, I am fascinated by these ideas, but at the same time I can’t deal with them. I am not sure that we are supposed to learn these truths, but instead just live a simple life for the amount of time we have left. I am not opposing knowledge, but I am not comfortable with far-out knowledge because it comes in contradiction with my dogma: simplicity. I am far more old-fashioned than I have publicly shown…

Letterbox, you morons!

You probably remember my rant about letterbox on ffmpeg. Or the lack of it. Anyways, I decided to try a number of encoder apps to find the one that suits my needs best. I tried about 6-7 apps under Windows, 2-3 apps under Unix and 4 apps on OSX. And guess, what. *None* of them supports automatic letterboxing. In the best case, 1-2 apps provide manual padding (the user has to manually enter the number of pixels required to pad all the way to the requested resolution) and in the worst case that’s completely broken and results in a weird shaped video (e.g. MediaCoder v0.6). But you know, I can’t hold anything against these apps because at least they did try to provide a half-assed letterbox support, recognizing that there is such a need in the market.

My problem is with the rest, *the bulk* of the encoder apps that simply do not offer the ability at all. Which means that if I have a widescreen movie and I need to turn it into QVGA so my phone can play it (most phones only support specific video resolutions, e.g. 176×144, 320×240, 128×96), I would end up with a whacky aspect ratio that makes all the actors’ heads look like snake eggs. Have these morons ever asked their users what they actually need or do they just implement a dumb front-end to an encoder during the weekends?

The BEST user interface for an encoder that simply does the job so incredibly well, is QuickTime Pro’s. Problem is, Quicktime’s encoder quality sucks compared to x264’s, which is why I tried to find an alternative. You know, we have quite a few friends who happen to be ex-Apple engineers and who have mentioned how bad and messy the Quicktime source code is. But man, speaking as user, the damn thing WORKS as I expect it to.

Eating smart

One thing that’s really pissing me off when I am on a low-calorie diet is that because I am forced to eat more vegetables without fatty sauces or oils, it takes away a lot of the pleasure of taste. Many diet foods are as tasteless as eating grass. But I think I just solved the problem! Yesterday we went shopping at WholeFoods and there I found these TastyBite packages. I noticed that while their recipes used quite some oil, their calorie count for some of their products was not prohibiting (ranges from 105 to 140 calories per serving). So, I bought 4 of their products to try them (picture below).

Now, instead of doing what it’s suggested in these packages (2 meals per package), you divide their meals by 4. And instead of actually eating these foods stand-alone or as side-dishes, you use them as sauce. For example, by adding 1/4 cup of water, 270 grams or already cooked cauliflower, broccoli & carrots (~100 cals), half of a low-calorie sausage (60 cals) and 1/4 of these TastyBites meals (~55 cals), you create an entree that’s about 400+ grams (enough to fill you up real good — compare that to the 255gr frozen diet foods), it’s really tasty because of the strong sauce used and it’s still very low calorie (200 cals).

This is what I prepared for Sunday lunch, and I can tell you, I could not finish it all, it was that much! This sort of food is good for the South Beach Diet too btw, not just low-calorie/low-fat diets and they usually provide lots of fiber. You can experiment yourself with other vegetables and kinds of meat to accompany these sauces (I am thinking of trying again tonight by adding beans and smoked fat-free pork to the remaining sauce I have refrigerated). I wish that TastyBite would provide some low-fat/calorie options too, but even as it is right now, the solution is acceptable calorie-wise.


My JBQ waited for 2 hours in line outside of BestBuy today, 15th in line, but the Nintendo Wii was sold out by the 12th person in line. Sucks. Nintendo really underestimated their own product by pricing it at $250. Not only they created this artificial shortage because the price was too low compared to what the market was willing to pay for their product, but their company lost millions of dollars. I hope they fire their marketing chief.

Arch Linux moving back to /usr

I spent hours arguing on Arch Linux’s bugzilla and chats in the past about kde/gnome/xfce/mozilla getting installed on /opt and not on /usr. The Arch Linux approach was to keep things simple and tidy. And I liked that. In fact, I originally supported the idea because ‘I like tidy’ in my computers. But after actually using the system extensively, I found many problems.

Unfortunately, many source tarballs don’t take into account that gnome or mozilla-dev is installed on /opt. And they just don’t compile out of the box, e.g. Mugshot (in the Arch world, users still compile a few apps here and there as the package db is not as extensive as Debian’s). While the bug is on the app developer’s side, the point remains, it makes the life of the Arch user (and the maintainers’) a hell.

Another problem was that if you were just compiling a gtk+ app (without going into the trouble of creating a package) and then installing it in /opt/gnome/, you might find the Arch Linux project providing the same application a few months later down the road via official channels, but installed under /usr. This has created at least 4-5 major inconsistencies and bugs during my 2-year usage of Arch Linux. You just can’t never be sure if an app must be under /opt/gnome/ or /usr (you see, on Arch, gtk and pure gtk apps still go under /usr, only gnome apps go under /opt/gnome). But things are never black and white (especially with apps with optional dependencies), and so there were always such problems. There was never a clear rule of thumb on how to go about it.

After 2 years of arguing to switch to the lesser of the two evils, Arch finally made the right decision for their users and are starting to move the packages back to /usr. It will break lots of things (especially apps compiled by the user in the past), but at least in a few months these problems will be ironed out completely. It was a trial and error thing the way I see it and hopefully the Arch experience will go down in distro history as something to be avoided (if maintainers want fewer headaches that is).

Seagate 160 GB 3.5″ USB 2.0 External HDD

We bought this at Sunnyvale Fry’s today, brand new, for 50 bucks. It’s amazing how cheap hard drives are these days. The offer is good for the weekend, so if you live in the Bay Area, go grab one. My JBQ will use it as a backup for his pictures.

Greek Mountain Tea

We went shopping in a Mediterranean-focused grocery store today. And my JBQ spotted a product that I was trying to find for years abroad: Greek mountain tea. Its scientific name is “sideritis syriaca L.“, it has major medicinal properties, and as it’s a herbal tea, so it has no caffeine in it. Amazon’s third party stores have some, but with shipping it gets too expensive. When JBQ showed me the package he found, I started crying. And if I was not among strangers, I would have cried really loud. That much I missed that tea and that’s how much it reminds me of home. So tonight I made me a cup. Here’s how:

Step 1: Remove the packaging. Greek tea looks like this:

Step 2: Add 1 1/2 cups of water in a pan (for 1 cup of tea) and place as much tea as in the picture below (includes the stems, flowers and leaves).

Step 3: Boil it in high heat for 4-5 minutes until the color of the water changes to deep brown.

Step 4: Using a strainer, pour the tea into a cup.

Step 5: [Optional] Have this herbal tea with honey (and rusks if you’re not on a gluten-free diet). You can use sugar instead, but honey is what makes this tea stand out from the rest.

Do not throw away the tea in the pan. It is good for one more cup of tea! You can keep it around in the pan for 24 hours.

If you live in the Bay Area, visit the Mediterranean grocery shop here and get some of that herbal tea too.

Regarding Vista

There are a lot of articles around about the failure of Vista in China and slow demand, while other articles cite Microsoft saying that Vista sells as well as XP did when it came out.

Vista does not do as well as XP did. And the reason is not because Vista is not a good operating system, but because XP does the job. The power users already sailed away to OSX and Linux, while the “normal” users found a Microsoft OS that does what they always wanted (XP) and so they don’t see any reason to move on.

Vista won’t be a disaster for Microsoft, but it won’t be a huge success either. Speaking for myself, remember the Vista laptop I bought a month ago? I received the laptop Monday, I tried Vista that Monday afternoon, and since then I haven’t even rebooted to it from its Linux partition. Not even just to check if it’s still there.