Mostly about my amusement

Category: Geek (page 17 of 36)

1:10 scale Saturn V liftoff

Sometime you do find fun things on Reddit.

Yesterday was fun as the family did the Christmas day trip to my brother’s house.  We had a great time but I’m coming down with a serious nose cold. I think I only got two hours of sleep last night. Good thing I’m off all next week, I’d really hate to get sick at work…

WordPress 2.9 is released!

I just got home from Christmas shopping and my SVN pull down of the trunk was 3.0-alpha.  Which told me 2.9 is released and I should switch to the 2.9 branch.

As always it’s just

cd wordpress-directory
svn sw http://core.svn.wordpress.org/tags/2.9/

And that’s it. I’m now on the 2.9 branch.

I’ve been using the 2.9 beta for a few weeks now and what I think will make this release a success is that it looks almost 100% identical to 2.8. Change on the back end is well recieved; change the UI and it’s an open revolt…

The WordPress user base can be a fickle group and each release brings a set of complaints.  I have not had any incompatible plugins (and I never do) but new releases always brings “issues”.

You can read up on the official notice here.

List of changed files

When ever a new release comes out, people want to know which files changed.  With every major release it’s always a lot and going from 2.8.6 to 2.9 really means do the whole thing. It’s 286 modified files that are different from 2.8.6 to 2.9.

Running this command got me the output.

$ svn diff --old=http://core.svn.wordpress.org/tags/2.8.6 --new=http://core.svn.wordpress.org/tags/2.9 | grep ^Index | sed -e's/^Index: //' > wordpress-286-29.txt
$ cat wordpress-286-29.txt | wc -l
286
$

You can view that list of changed files I created here. Also visit the codex link on 2.9, it’s a good description of what got in and what didn’t.

New PC vs old

81 lb monster? Meet your 32 lb replacement.

The old PC was a Core 2 Duo with two 150 GB hard drives and 8 GB of RAM. The video card is a Nvidia GTX-260 (forgot how much RAM that has).

The new one’s specs can be found here. If the old worked reliably I would not have gotten a new one. But as we say at work “It is what it is, and we are where we are”.

I’m probably going to clean off the old keyboard as I don’t like the new one too much. The new PC is fast and I like it.

That’s all I can take!

After my complaining and moaning for months my Dell XPS 720 refuses to boot up this morning. Again. That’s the final straw and I ordered a new PC this morning.

I was planning on building my own PC but the fact is I don’t have time to do that. Building a PC from parts is not really fun for me anymore and I just want the flipping thing to work.

I have been purchasing Dell equipment for years and recommend them to people all the time. But lately the Dell experience has soured. Even my buying a budget Ubuntu based Mini from Dell turned into a horror show.

In my basement I have a HP/Compaq Presario 8000. It’s 8 years old and has never given me any problems. That’s the sort of experience I’m hoping for with this new model so HP gets the nod from me today.

So with a budget in hand I purchased the following PC online from HP.

HP Pavilion Elite e9280t PC

    • Genuine Windows 7 Home Premium 64-bit
    • Intel(R) Core(TM) i7-920 processor [2.66GHz, 1MB L2 + 8MB shared L3 cache]
    • 12GB DDR3-1066MHz SDRAM [6 DIMMs]
    • 1.5TB 7200 rpm SATA 3Gb/s hard drive
    • 1.8GB NVIDIA Geforce GTX 260 [2 DVI, HDMI and VGA adapters]
    • LightScribe 16X max. DVD+/-R/RW SuperMulti drive
    • Integrated 10/100/1000 (Gigabit) Ethernet, No wireless LAN
    • 15-in-1 memory card reader, 1 USB, 1394, audio
    • No TV Tuner
    • Integrated 7.1 channel sound with front audio ports
    • No speakers
    • HP multimedia keyboard and HP optical mouse
    • Microsoft(R) Works 9.0
    • Norton Internet Security(TM) 2010 - 15 month
    • HP Home & Home Office Store in-box envelope

Estimated build date: December 16, 2009

I came in $43 over budget. Lily will forgive me.

I’ll remove most of the HP consumer software and put on my own. This will be a drop in replacement for the 81lb behemoth next to my desk. It’s not a top of the line PC gaming rig but it is a good upgrade from my existing PC. Hopefully I will get it before Christmas.

I can’t wait for my XPS 720 to come out of it’s drunken stupor and give it the news of it’s replacement.

Beware the canary mismatch on efree monster

For traffic logs, I use Clicky Web Analytics and take a look from time to time. See that flat dark blue line? Around noon on December 3rd my blog stopped serving web pages and it was not until about 5 hours later that I noticed it. I don’t get a lot of traffic but I do like my blog to be working.

It wasn’t that my VPS went nuts, the CPU usage was fine. What was happening was that my PHP interpreter was tossing hundreds of these errors.

[Thu Dec 03 12:17:27 2009] [error] [client 66.249.71.233] ALERT - canary mismatch on efree() - heap overflow detected

Not cool and until I restarted Apache2, my blog was not serving anything. PHP just kept blowing up. This has been an ongoing problem for me that has been attributed to the Suhosin PHP security patch and I had not found the magic bullet to fix.

I’m not going to disable the hardened PHP. That’s like turning off the safety switch on an excercise treadmill. It’s juts not safe.

As a work around I have done the following: I activated the WP Super Cache plugin, removed the Xcache op cache I setup, and disabled the ssh2 PHP extension I installed.

The WP Super Cache created static HTML pages for your dynamic content.  It does cache expiration, garbage collection, etc. and limits the amount of time PHP needs to be run.

The XCache was a hold over from when I was running my blog on a Pentium II.  The VPS I use is very responsive and losing it does not hurt me.  Using the Pingdom tools I can see that I still get a good response from my web server.

Losing the ssh2 was easy; I only added it to my PHP to be able to answer a WordPress support forum questions. I never use it. I’ll look for any other PHP extensions that I added as a “what the hell” but so far so good. No more canary mismatch errors as yet.

Now trying OpenDNS SmartCache

If you are an IT/Network professional with UNIX/Linux/BSD experience and you have a network at home, you really can’t resist playing around. It’s the best way to learn and causing outages at home will only irritate your family.

I’ve been using Google Public DNS for a day or two and it’s fast and responsive. Even though a simple test shows that Google’s Public DNS on a per query basis is slower, the end user experience has been faster (at least for me). But OpenDNS is more feature rich and I’d like to see if I can get a good experience using it.

I revisited my OpenDNS account dashboard and found out that they now offer an option called SmartCache, which I have enabled. I also downloaded the OpenDNS Updater onto my kitchen notebook.  That notebook is on all the time and it make’s sense to run it there. FIOS has already once given me a new IP address and I want my OpenDNS settings to follow my network at home.

OpenDNS’s blog has a good explanation for SmartCache here and more info here. It’s a useful feature and you have to applaud them for offering it to their free account users.

End user experience is a very subjective thing so I’ll see if OpenDNS has the same feel or better as Google Public DNS. Like most folks, I just want web browsing to work and be fast.

Google Public DNS or OpenDNS?

Disclaimer: one of my brothers works for Google, I like Google and I hope they are wildly successful.

Google announced that they are offering a fast, highly available, and secure public DNS. It’s not a TLD registrar like Verisign but it’s supposed to be fast. I’ve been using it for a couple of hours and the name resolution is zippy.

It’s not OpenDNS and I don’t think it’s intended to be.  OpenDNS has about the same things only it also provides you with an account and a dashboard where you can set options such as filtering.  OpenDNS is a developed service and it’s well thought out and implemented. You can read on their blog some thoughts from OpenDNS on this new development.

That all said, I think mixing the words “Google” and “DNS” will be bad for OpenDNS. They probably have competition but I can’t think of one.  The OpenDNS is free and many people use it. Google’s public DNS is only a resolver and has no features. Now it looks like Google has entered that area and I think it will be successful and more people will move over to it.

I took 100 unique DNS names from my web proxy log (squid proxy, don’t you run one at home too?) and ran a simple command

dig hostname @8.8.8.8

The output contains a line like this

;; Query time: 21 msec

I ran those 100 dig commands and added up all the query time milliseconds and came up with 7550 milliseconds or 7.5 seconds for using Google.

The OpenDNS server IP address 208.67.222.222 with the same exact queries and took 1347 milliseconds while FIOS’s 192.168.1.1 (my cable mode that forwards to the real DNS IPs) ran for a total of 1668 milliseconds.

That’s not really a comprehensive test but it looks like OpenDNS is faster for now and it is very feature rich. But this should be interesting to see how this plays out since Google aims to have their solutions work best.

Borderland 2nd Pass through

I completed the game Borderlands and I’ve started the second pass through the game.  It’s the same as the first time but all of your opponents are juiced up to your level or above. It’s hard for a game publisher to keep the game going. It’s still great fun but I can see this getting too repetitive soon.

Beating the bosses is fun. You meet the boss monster, you die, you run and get leveled up completing other missions. Then you go back and wipe out that boss. I have not gotten to a big boss in the second pass through yet but I expect it to be much the same as the first time.

Get your red hot WordPress 2.8.6

WordPress 2.8.6 is out and it’s a security release so update now.

I’m expecting the usual complaints on the support forum but so far it’s been pretty sedate. I’ve been using WordPress since version 1.5.2 and I’ve never had a bad upgrade. Of course, I have a good idea what I’m doing and have never used the automated upgrade process, so your mileage may vary.

As is usual, using SVN only took me a few minutes to upgrade 6 blogs on 3 different machines.