Markus’ Blog

The Austrian in Vancouver

New Printer

By markus at 23:04 on May 23, 2007 | No comments |

Today we got our new HP 2605dn laser printer. We bought it online about a week and a half ago from Costco where it was on sale for a really good price.

Setting up the printer was really easy. Also, it seems to be working very nicely, both, from Windows 2000 as well as Unix (using CUPS with the PostScript driver and a custom PPD for the HP 2605dn).

The benefits over the old HP 990C DeskJet are:
  • higher print speed
  • better print quality
  • network connectivity (the printer hooks up directly to the LAN)
  • better Unix support (due to native PostScript)

So far, I am very happy with it, and I think Brigette is, too.

Filed under: Computer Stuff, News Leave A Comment »

Wordpress 2.1.3

By markus at 19:44 on May 8, 2007 | No comments |

I switched to Wordpress 2.1.3. Except for a minor issue in the side bar that now causes an SQL syntax error, it seems to have gone perfectly.

Did I mention that I love upgrading Wordpress via Subversion?

One command, that was it — other than going to the admin page and clicking the link to upgrade the database.

Update: The SQL syntax error is now fixed. The blog roll categories are no longer accessible through $wpdb->link_categories, but are now in $wpdb->categories (with a link_count bigger than 0).

$ svn switch http://svn.automattic.com/wordpress/tags/2.1.3
U wp-rss.php
U wp-login.php
U wp-comments-post.php
U wp-blog-header.php
U wp-rdf.php
(Read on …)

Filed under: Blog, Computer Stuff, News Leave A Comment »

Upgrading WordPress using Subversion

By markus at 12:19 on April 4, 2007 | 1 Comment |

I just love it. It’s so easy and simple. Much simpler than having to deal with tar-balls (or ZIP files). There are no worries that extracting the archive will overwrite custom files and no worries that old, stale files will be left behind. It’s all taken care of automatically. On top of everything else it’s much faster, too, because the amount of data that needs to be downloaded is so much less. Only code that actually changed is transferred, not the whole thing all over again.

Of course, one needs shell access to the server that has Wordpress installed for this to work — and a Subversion client. Also, Wordpress needs to be installed from Subversion (rather than a ZIP or TAR archive) in order to use Subversion to upgrade later on. Luckily, there is a nice article about Subversion and Wordpress that describes how this can be done.

Once everything is in place, upgrading is a single-command procedure. Subversion will take care of removing old files, creating new files and updating those that changed.

Verify the current version:

$ svn info Path: . URL: http://svn.automattic.com/wordpress/tags/2.0.9 Repository Root: http://svn.automattic.com/wordpress Repository UUID: 1a063a9b-81f0-0310-95a4-ce76da25c4cd Revision: 4914 Node Kind: directory Schedule: normal Last Changed Author: ryan Last Changed Rev: 4898 Last Changed Date: 2007-02-20 11:57:45 -0800 (Tue, 20 Feb 2007)

The actual command to upgrade (a one-liner):

$ svn switch http://svn.automattic.com/wordpress/tags/2.0.10 U wp-login.php U wp-comments-post.php U wp-includes/default-filters.php U wp-includes/template-functions-general.php U wp-includes/template-functions-category.php U wp-includes/links.php U wp-includes/functions-formatting.php U wp-includes/version.php U wp-includes/functions-post.php U wp-includes/classes.php U wp-includes/template-functions-links.php U wp-includes/pluggable-functions.php U wp-includes/comment-functions.php U wp-includes/functions.php U wp-includes/registration-functions.php U wp-includes/template-functions-author.php U xmlrpc.php U wp-trackback.php U wp-admin/edit-comments.php U wp-admin/post.php U wp-admin/upgrade.php U wp-admin/admin-functions.php U wp-admin/bookmarklet.php U wp-admin/admin-db.php U wp-admin/import/livejournal.php U wp-admin/import/dotclear.php U wp-admin/import/mt.php Updated to revision 5176.

There were only updated files (note the ‘U’) in this case, no added or deleted files (those would show as ‘A’ for added or ‘D’ for deleted).

Now, we verify that we actually have the new version:

$ svn info Path: . URL: http://svn.automattic.com/wordpress/tags/2.0.10 Repository Root: http://svn.automattic.com/wordpress Repository UUID: 1a063a9b-81f0-0310-95a4-ce76da25c4cd Revision: 5176 Node Kind: directory Schedule: normal Last Changed Author: ryan Last Changed Rev: 5174 Last Changed Date: 2007-04-03 11:14:52 -0700 (Tue, 03 Apr 2007)

Looks like it.

Update the database:

All that’s left to do is go to the admin pages to see if WordPress wants to update the database. This may happen if the database format was changed for the new release. If an update is required, WordPress will say so automatically. If not, the regular admin pages will appear — together with the new version number in the page footer.

Done. :-)

Of course, it’s always a good idea to make a backup of the WordPress directory and the database before attempting to upgrade. Even if it’s simple, things can go wrong.

Filed under: Blog, Computer Stuff1 Comment »

Thank You Akismet

By markus at 12:16 on April 3, 2007 | No comments |

Without Akismet (or similar software for other blogging platforms), I think blogging might be starting to die a slow death or at least change completely in the way it’s done (less freedom and openness).

Why? Because comment spam, which has already been quite bad, seems to have taken a huge turn for the worse over the last few weeks. Example: between 5:00pm yesterday evening and 9:00am this morning 74 spam comments were left on my blog. Mind you, all of them were caught.

74 spam and that’s just for my low-traffic, mostly unknown and therefore not really targeted blog. One can only imagine what the big sites are facing. I guess Matt Muellenweg’s spam counter (784,370 total spam rejected at the time of writing this post) gives a small indication. As a comparison, my spam rejected counter is currently at 1,862 (that’s since September 2006).

Without spam detection software that either quarantines or right out deletes “suspicious” comments, the only other choice would be to either severely limit who can leave a comment (require registration) and how to leave a comment (ask to type in a captcha), or to turn off commenting, which is an integral part of blogging, entirely.

There would simply be no other way to handle it. Sites would just be overwhelmed and turned into unwilling advertisers for all kinds of junk. Usenet pretty much went down that route. That’s were spam originated. People got fed up and stopped using it — at least for the purpose it was originally created to serve.

Let’s hope spammers won’t be able to do the same to the blogging community. For Internet-wide Akismet statistics, see their statistics page. It’s scary stuff.

Filed under: Blog, Computer Stuff, Opinion Leave A Comment »

Trying YouTube

By markus at 14:14 on March 17, 2007 | No comments |

Since I had never done it before, I decided to give YouTube a try and see how it works.

It so happens that, a few days ago, Queen Calli Boo the Kitty decided to go into our linen closet to try and get comfy on our bath mats. So I got the camera out and shot a little video of her adventures. That’s the one I uploaded to YouTube today.

First, a picture of how it looked in the end:

Calli in the linen closet

And now the video (provided YouTube is done converting it yet):

Live commentary by Brigette ;-).

Update: Yes, the video is quite dark, but the original is not that dark. You can still see what’s going on there. Not so much on the YouTube version.

Filed under: Computer Stuff, Family Leave A Comment »

libgphoto2

By markus at 20:07 on March 15, 2007 | No comments |

It’s done. Finally. The first release of libghoto2 that supports USB cameras under Solaris 10. Older Solaris releases don’t have libusb and thus it is not possible to support USB cameras there.

This is also the first version released by me. It’s been over two years since the previous version of libgphoto has been released, so it was long overdue. The previous version was released by a different maintainer.

Like I said, it’s not just a regular update from 2.14 to 2.3.1, the important added bonus is USB support under Solaris 10. It works on SPARC and x86 alike.

Filed under: Blastwave, Computer Stuff Leave A Comment »

Printer Shopping

By markus at 12:41 on March 13, 2007 | 3 Comments |

We have decided that is is finally time to retire the HP 990 C — or almost time, at least.

It’s not so much that the printer is bad (it is not at all), and it even has a duplex unit, which I quite like. However, ink is quite expensive to re-fill and a cartridge doesn’t last all that long (that’s even more true for color). Furthermore, ink sometime smears and print quality is generally not as good as laser printers.

Given the current prices, it seems reasonable to get a laser printer as a replacement. Better print quality, lower printing cost, and since we aren’t planning on printing pictures, better over-all satisfaction.

It hasn’t been decided yet if we’ll go color or stay B & W. That depends on what’s out there and the price, I guess. There are other features I consider more important than color capability (and Brigette doesn’t think we’ll need color, either):

  1. I absolutely need the printer to be supported by Open Source drivers (as listed on LinuxPrinting.org) or else I’ll be S.O.L. with my Solaris box and that wouldn’t be good.
  2. I would prefer the printer to have a network port. That way we can access it from both our computers without one acting as print server, which has to be on at all times (like it is right now). That’ll be more important when Brigette gets a laptop as her main workstation. It’ll presumably be in power-saving mode for the most time when not in use, as opposed to always-on.
  3. If the printer supported Postscript natively, that’d be even better.

I found a few Samsung printers at FutureShop and NCIX that look promising as well as a couple of HPs. We’ll see. The hunt is on.

If anybody has any preferences/recommendations, please don’t hesitate to make them known.

Filed under: Computer Stuff3 Comments »

Microsoft Being Sued

By markus at 10:15 on February 23, 2007 | No comments |

According to this BBC article, Alcatel-Lucent sued Microsoft for violating MP3 patents. Microsoft said they shouldn’t have to pay Alcatel, since they already paid Fraunhofer Institute. The Federal District Court in San Diego agreed with Alcatel-Lucent and ordered Microsoft to pay Alcatel $1.52 billion. Microsoft appealed.

After this court decision, other companies using MP3 technology are concerned. Amongst them are Apple, RealNetworks and Sony. They fear that Alcatel-Lucent will come after them next.

While I have to say that at first glance, without any further knowledge of the case, it seems that Microsoft has a pretty strong argument going for them, it sure shows how software patents can come back and bite you.

Microsoft had the choice of going with the patent-free and fully open OGG format. Nobody forced them to use MP3. They chose to go with the patented, proprietary format instead (just like they love to create proprietary “standards” themselves) and now they may have to pay the price for that.

Filed under: Computer Stuff, Opinion Leave A Comment »

Ten Servers that Changed the World

By markus at 13:56 on February 13, 2007 | No comments |

I just found out about Ten Servers that Changed the World.

The funny thing is the box that made first place: Google’s very first server, a Sun Ultra 2 with two 200 MHz CPUs and 256 MB of RAM. I had no idea.

Why is this so funny? Because I have a Sun Ultra 2, myself. It used to host my website and was my e-mail server from December 2003 till September 2005, when the Internet provider where it was set up (in Vienna, Austria) decided to shut down. The server is still in Austria right now — sadly sitting turned off in a closet at a friend’s place.

My Ultra 2 has two 300 MHz CPUs and 512 MB of RAM and is thus better equipped than Google’s original server. I find that quite amusing — then again, I’m a Unix geek. ;-)

Filed under: Computer Stuff Leave A Comment »

A New Read

By markus at 11:48 on February 12, 2007 | No comments |

I got myself a new geeky book: The Design and Implementation of the 4.4 BSD Operating System.

Design and Implementation of the 4.4 BSD Operating System

I have wanted it for a while, considering that I am working with NetBSD for a living. Yes, the book is over 10 years old at this point, but the concepts and descriptions provided are still mostly accurate. Some areas have changed, of course, but the heritage is still there.

Considering the age of the book, finding new, unused issues seems quite difficult, besides they are about $90. Luckily, Amazon.ca offers used books in good condition through third parties. I ordered the book Saturday night, at around 10:30pm from a seller in British Columbia (that’s all Amazon said about the seller) for $36. I was expecting to receive the book within about a week, so around Feb. 19 or so.

Didn’t quite happen that way, though. :-) At noon yesterday, somebody buzzes downstairs and says: “You ordered this book about the BSD Operating System. I happened to drive by and figured I’d drop it off.” A little unexpected, but also quite welcome. Apparently, the seller is not only from BC, he lives in Vancouver.

So, here I am, with my new book, which I received just a little over 12 hours after ordering it (on a weekend). Not too shabby.

Filed under: Computer Stuff Leave A Comment »
« Previous PageNext Page »