Mostly about my amusement

Category: Geek (page 22 of 36)

Firefox 3.1 beta 3 looks good

firefox-31-b3

Firefox 3.0.x has a bug in it’s javascript handling that makes Flickr go insane for some people who use Nvidia drivers. I had tried an earlier beta and was disappointed to see that the bug was not addressed.

I’ve been using beta 3 and I have not been able to reproduce the bug. The javascript is fast. It might not be Chrome or Safari 4 beta fast, but it is noticeably more responsive than Firefox 3.0 and all the extensions that I actually use are compatible.

Google Gears is not compatible yet but the faster javascript makes my user experience fast enough that I can’t see the difference. And I only use gears with WordPress, so it’s not like I am really missing out at this point.

I’ll keep kicking it around but this beta looks solid.

Generally, I am a satisfied Dell customer

I am a repeat Dell customer. I’ve been buying their equipment for years and I have always found that they take care of any problems I have. If something is not working, I call them and get support.

I have had problems in the past but it has always been taken care of by Dell.

So last month I purchased a Dell MINI 9 netbook. The deal I got was the recent $199 Ubuntu special and my new toy arrived yesterday.

The built in wi-fi card is spectacularly dysfunctional.  It is not satisfied to just drop >70% of it’s packets, it has to give it’s all and interferes with my wireless access point.  When it is in wireless mode, no one on my WLAN is safe; it kicks off other PC’s and laptops.

The MINI 9 associates successfully with the wireless router.  My DHCP server logs the request, the server gets the ack, and the MINI 9 gets an IP address.  That’s about as far as it goes and after that the netbook is useless.

So I contacted Dell via their online support chat. They don’t support the Ubuntu version on the chat line and I was given a number to call.

I then dialed that 866 number that they gave me. That did not go so well; they insisted that my wireless router needed updating. I explained that there are many things on that wireless router that work fine and that the MINI 9 was actually interfering with the other devices.

We went back and forth and I finally told them that the Dell MINI 9 I received was defective and I wanted a refund. I received an e-mail with a link to get the shipping label and tomorrow I will drop it off at UPS.

What I was looking for was a way to make my MINI 9 work. Some setting or configuration in Ubuntu to get the wifi card functioning. What I got was “This is not our problem” and the implication was that they might not have granted me a refund.  That was never stated outright but I could not send it back without a return number.

So this all did not exactly go as I intended. The Dell MINI 9 is a cool device and I would have liked to have kept it. But I don’t have time to play games with technical support. Now I’ll probably shop around for another Linux based netbook.

Photoshop Elements 7 pet peeves

I used Photoshop Elements 6 and liked it.  It worked and let me touch up my photos quickly and efficiently. I liked it so much that when PSE 7 came out, I paid for an online upgrade as soon as I could.

PSE 7 broke the small things. With version 6, the photo downloader just worked. When removable media was inserted into my PC, the service would see image files and pop up with a “Are you ready to download them now?” This was a feature that I liked and my installation of PSE 7, this just does not work.

I have to launch the photo pownloader by hand, select the media and then I’m good to go. It’s a small point but a pet peeve of mine. This after un-installing the software, wiping out all traces of it on the disk, my %AppData% folder, and in the registry. Twice.

The second pet peeve is the offer to backup/synchronize my photos on Adobe’s site. I get asked the following question more than half the time when I start PSE 7:

Hey Stupid. I see that you are not smart enough to use the free 2GBs of storage that Adobe provides you to save your files when your house burns down.

Do you

1) Want to stop being a moron?

2) Sign up for some real space at a fee?

3) Continue to jeopardize your standing in the family by not backing up online now?

I exaggerate but not by much.  The pet peeve is that I’ve been ask this question almost 50 times now. At what point does PSE 7 and Abobe get it? I have ~14,000 photos on my WD 1TB MyBook, it takes up 105 GBs of space. If I lose them I’ll feel bad, but I’ll just keep taking more pictures.

My last pet peeve is the thumbnail generation. Sometimes, not always, it refuses to generate a thumbnail for an image until I’ve browsed to that image. It’s as if it’s saying “Oh, you want to preview that file?”

Other than these points PSE 7 is okay. I rarely get into heavy editing and usually just adjust the brightnes and contrast. Since my files are all in RAW I also get to fix the white balance. The final results of my editing are worth putting up on Flickr.

Double-Opt in for Subscribe to Comments plugin

A few weeks ago, my hosting service received a complaint that my blog was sending spam. I don’t spam, so I checked out what was going on.

I had been using Mark’s Subscribe to Comments plugin which has one flaw: the released version does not support double-opt in. At the time I replied to my hosting company with an explanation and I disabled that plugin. I also went onto SpamCop and replied to the complaint with what I had done to resolve this.

Being tagged a spammer is serious stuff.

Double-opt in is when someone signs up for an e-mail and the first and only e-mail that goes out is one that says “Hey, someone just signed you up for this. If it’s really you, please confirm by clicking on this link. If it’s not you, then please ignore/delete this e-mail and the system will never send you an e-mail again.”

Until the subscriber clicks on that double-opt in link, the person is NOT subscribed. It’s e-mail subscription etiquette 101 and should be adhered to. I am NOT a bulk e-mailer but you have to be responsible on the Internet. SpamHaus has a good explanation here under “confirmed opt-in”.

This is a known issue and now the SVN copy of that plugin now supports Double-Opt in. I got my copy by using this command in my wp-content/plugins directory:

cd wp-content/plugins
svn co http://svn.wp-plugins.org/subscribe-to-comments/branches/development stc

That put the svn copy into wp-content/plugins/stc. I went into the admin portion of the plugin and enabled Double-Opt in. A quick test later confirmed that it’s working. Once the 2.2 version is released, I’ll stop using the SVN copy and sync up with the WordPress.ORG copy.

One last item was that I deleted the e-mail of the subscriber who complained and now people who leave comments and want an e-mail on follow up comments will now work in a responsible way.

Moving some users to Google Apps for mail

I host the domain dembowski.net and also handle the mail delivery.  The mail ultimately ends up in Stefan’s house via his DSL line.

That DSL line has been prone to problems so I played with the idea of moving the mail to another server or VPS. But handling spam and keeping my web mail software up to date is a pain. So I wanted to move my whole domain to Google Apps for mail handling. Google is much better at distributed web mail systems and spam fighting than I am.

This was not universally accepted by all of my users. So I found a way to selectively send mail to Google Apps on a per user basis.

1. Sign up your domain for Google Apps

Okay, that one is a no brainer.  I authenticated my domain by inserting a Google supplied CNAME record into my zone file.  That established that I was the one in charge of my domain. Google lets you use it at no charge for up to 50 users.

In Google Apps I added another domain to my profile called app.dembowski.net.  This way mail from Google gets delivered as user@dembowski.net and Google will also receive mail for user@app.dembowski.net.

2. DNS changes

I set up a sub-domain called app.dembowski.net.  The DNS records for this domain are pretty sparse and only contain MX records that Google provides for users to point their domain to.  These came straight out of Google’s instructions. In my zone file I bumped the serial number and added these lines:

app.dembowski.net.      MX 10 aspmx.l.google.com.
app.dembowski.net.      MX 20 alt1.aspmx.l.google.com.
app.dembowski.net.      MX 20 alt2.aspmx.l.google.com.
app.dembowski.net.      MX 30 aspmx2.googlemail.com.
app.dembowski.net.      MX 30 aspmx3.googlemail.com.
app.dembowski.net.      MX 30 aspmx4.googlemail.com.
app.dembowski.net.      MX 30 aspmx5.googlemail.com.

Then I created a couple of  A records for mail.dembowski.net pointing to two servers I run Apache2 on. More on this later.

3. Postfix recipient rewriting

The magic happens on my two Postfix MTAs. When the primary mail server goes down, mail queues up on my secondary mail server.  It will stay there until the primary comes back. That sucks; last time we had an outage, the mail server was down for almost 24 hours.

The solution is to have Postfix receive the mail, rewrite the address to the sub-domain, and send it along for delivery.

In my /etc/postfix/main.cf file I added this line

recipient_canonical_maps = hash:/etc/postfix/recipient_canonical_maps</pre>
In the file /etc/postfix/recipient_canonical_maps I had something like this:
<pre lang="text">user1@dembowski.net  user1@app.dembowski.net
user2@dembowski.net  user2@app.dembowski.net
user3@dembowski.net  user3@app.dembowski.net

This let me turn on Google mail handling on a per user basis. I ran postmap hash:/etc/postfix/recipient_canonical_maps and restarted postfix on my servers.

Now if my mail server tanks again, as long as the secondary is up, I still get my mail via Google Apps.

4. Lazy web mail URL

The two servers that are being pointed to as mail.dembowski.net? I created an Apache2 vhost on each one for that server name. In the root directory for the new vhost I created a small index.php with the following content:

<?php
header("HTTP/1.1 301 Moved Permanently");
header("Location: http://mail.google.com/a/dembowski.net");
exit();
?>

I’m lazy. I can remember http://mail.dembowski.net easier than http://mail.google.com/a/dembowski.net.

Update: Or I could follow the directions and in my Google Apps dashboard just set a customized URL for mail.

After setting that up in my dashboard, I updated the mail.dembowski.net DNS record to be a CNAME pointing to ghs.google.com.

5. Test everything

Using an IMAP client (after I turned IMAP on in my Google Apps mail) I sent and received mail with my primary server’s postfix shutdown. That worked perfectly.

I also had other people in my domain send and receive mail just to make sure I did not bork that up too. All was good and we were all able to send and receive mail.

That’s it. As long as I create accounts in Google Apps and maintain the recipient_canonical_maps file, I’ve got a good solution for fighting spam with a good web mail client without impacting my other users.

Looks like I’ll need to try iTunes again

I don’t like DRM. It’s not an effective control since you can almost always convert the protected media into an unprotected version.It treats paying customers like trash and is meant to keep the fish swimming in neat little lines.

That’s why I buy all my online music from Amazon. I’m not an Amazon fan exactly, I just think that Apple is pandering to the music factory. The integration with my iPhone is broken so I buy music via the web and run iTunes and add the new files to my collection. There is a Firefox plugin but it works sporadically and I gave up on it.

Recently Apple relaxed their DRM.  Your account is still stamped on the downloaded music, but most of the songs are no longer encrypted. That means I can play that music on Linux, my XBox 360 (I think), etc.  For a not huge fee you can convert the songs in your collection from encrypted .m4p format to .m4a format.

It’s a start and I’ll give it a shot and pick up some tunes.  I’ll believe Apple’s iTunes Store is really “open” when the Creative MP3 player can plugin and sync using iTunes.