Archive for February, 2006

A great, little, cheap addition!

Friday, February 24th, 2006

Gotta get it while it’s hot. CompUSA has an awesome deal on an HP Pavilion s7320n Slimline PC. ($400 after rebates!)

Specs:

  • Intel Celeron M Processor 380, 1.6GHz, 400MHz bus speed, 1MB L2 cacheHP Pavilion s7320n Slimline PC
  • 1GB RAM, PC2-3200 (400MHz),
  • 200GB Hard Drive (SATA-150, 7200RPM)
  • 16X LightScribe DVD+/-RW Drive
  • Windows XP Media Center 2005
  • 9-in-1 Card reader on front
  • Intel High Def Audio (support digital out and 7.1 surround!)
  • 5 USB 2.0 (1 on front, 4 on back)
  • 1 FireWire (IEEE 1394) (on back)
  • Audio – S/PDIF-out, Microphone-in, Line-in and Line-out (on back)
  • Audio – Headphone-out mini-jack (on front)
  • RJ-11 Modem
  • RJ-45 Ethernet LAN

It’s small (9.8” x 4” x 13.1”) and not expandable. But, it’s quiet. And fast enough. Not a super gaming machine, but heck…get an Xbox. Good addition for the stereo system – that’s how I will use mine. The digital audio out, 200GB space, coupled with MCE make it a great, inexpensive addition.

http://www.compusa.com/products/product_info.asp?product_code=336955&pfp=cat1

Hiding empty content in WordPress

Tuesday, February 21st, 2006

Turns out that there is a lot of empty sidebar lists (<ul> elements) when there are no blog entries in a newly created WordPress blog. In creating my own theme (epic), I’ve tried to clean up those sections by checking to see if there are any posts. This turns out to be an easy task to accomplish.

The trick is to wrap the HTML in a PHP block that checks to see if any posts exist. This is done by the following PHP code:


In this example, the sidebar element, Sidebar List, will only appear if there is at least one post.

stop spam with honeypot!