Archive for the 'Tech' Category


New LWC Template 1 Comment

I’ve made a new LWC template that I’ve called WXImproved which integrates a little jquery javascript for some nice effects. It validates as XHTML Strict as well as CSS 2.1. Check it out and see what you think.

The template consists of several files:

  • wximproved.html - This is the main page
  • wximprovedalmanac.html - This is the historical data for your station
  • js folder - Upload this folder to your site. It contains the jqeury.js file which provides all the slider effects. It’s important that this folder is added to the same directory where you’re uploading wximproved.html and wximprovedalmanac.html
  • img folder - This folder contains the various buttons and backgrounds. Like the js folder, it should be uploaded to the same directory as wximproved.html
  • wxi.css - This is the css file that should be uploaded to your site, again in the same directory as wximproved.html. You can modify this file should you wish to change the colors, fonts, etc.

Note that I’m using the Yahoo User Interface (YUI) library to ensure a that everything looks consistent across a number of platforms. If you want to change the font sizes or font types, I’d strongly encourage you to adhere to the YUI guidelines. The reason is that they’ve done A LOT of work to figure out how to make the fonts look the same in multiple browsers and platforms. Refer to http://developer.yahoo.com/yui/fonts/ for information about how to change font sizes and styles.

LWC Templates 2 Comments

Edit: I’ve created another template that presents more data than this one. I called it WXImproved since it’s an improvement over this one.

I’ve made a template for LWC that validates as XHTML strict and is fully CSS based. I’ve put in the webtags that I use most often, but of course you’re free to modify it as necessary to suit your tastes. You can see the template in action here.

The template consists of 4 files:

  • wx.html: This is the main file that lists the current conditions, graphs, etc.
  • wxhistoric.html: This is the historic weather data from your station that is produced using the STA1$ tag.
  • wx.css: The css you’ll want to modify should you wish to change colors, alignments, sizes, etc. *
  • wximages.html: This is just needed to make LWC prepare the images so that they can be called from wx.html. Unfortunately, LWC doesn’t output XHTML valid markup for images at this time. I’m only showing graphs on my site so if you want to make use of the other images that LWC provides, then you’ll need to add those tags to this file so they get created and uploaded.Update: As of LWC version 0.8.1, this file is no longer necessary.

* Note that I’m using the Yahoo User Interface (YUI) library to ensure a that everything looks consistent across a number of platforms. If you want to change the font sizes or font types, I’d strongly encourage you to adhere to the YUI guidelines. The reason is that they’ve done A LOT of work to figure out how to make the fonts look the same in multiple browsers and platforms. Refer to http://developer.yahoo.com/yui/fonts/ for information about how to change font sizes and styles.

Using LWC with Wordpress No Comments Yet

I’m currently using Lightsoft Weather Center (LWC) to log and display the data from my Davis Vantage Pro2 weather station. Some have asked how I went about integrating the data from LWC into Wordpress, so I figured it was about time to explain how I did it.
Read more »

GeoTagging Images in OS X No Comments Yet

GeoTagging (or GeoCoding) images in OS X is remarkably easy assuming you have a GPS unit that can export its tracklog to your computer. This lets you show locations on a map where your pictures were taken. This comes in quite handy when you’re on a trip and you can’t remember exactly where you were when you snapped that great pic.
Read more »

Apple Store Coming to South Carolina Finally No Comments Yet

It will be at 301 King St. in Charleston per the Charleston Board of Architectural Review.

From Charleston.net:

California-based technology giant Apple Inc. started recruiting workers for a King Street retail store on its Web site last week. Steve Jobs & Co. is seeking applicants who “have the potential to develop the retail sales and customer service skills that are the heart and soul of the Apple Store.”

You can see more elevations in this PDF (Warning: 30 megs) from the Charleston Board of Architectural Review.
Proposed Charleston Apple Store Rendering

Fix broken EXIF links with FAlbum 0.7.1 No Comments Yet

Open falbum/styles/default/photo.tpl.php and on line 95, change the part that says:
javascript:showExif
to
javascript:falbum.showExif

Note that the original version omits the “falbum.” portion, thus breaking the code.

Apple Repair is Fast No Comments Yet

I was having a problem with my Macbook Pro not reading optical disks properly. It would only read parts of the disk so things would glitch out in the middle of, say, viewing a DVD or installing software; usually with something along the lines of “Package Verification Failed” or in the case of DVD Player, just locking up the application. Mind, this is on a 2 week old laptop. So I called Apple and the chronology was essentially:

  • 03-Jan: Call Apple. They agree that it’s a hardware problem and they send me a box in which to pack my laptop for shipment
  • 04-Jan: Shipping box arrives via DHL. I pack up the laptop and send it back out the same day.
  • 05-Jan: Weekend
  • 06-Jan: Weekend
  • 07-Jan: Package received by Apple.
  • 08-Jan: Repair complete and sent back to me.
  • 09-Jan: Receive the laptop with its newly functional optical drive.

My only complaint is that the description of the problems could hardly be more obtuse:

678-0577A - DA PCC UJ-857 8X 9.5MM SD ZA0E (optical drive?)
632-0431 - FLEX ASSY, ODD, (M59) MBPRO 15″ (cable?)
605-1212 - SVC, PCBA, MLB, 2.4GHZ (main logic board service?)

Total cost to me was zero (as it should be) and I had to wait on hold to speak with a human for maybe 20 seconds. I hope I don’t have to do it again though.

Resize Images Using Automator and Mac OS X No Comments Yet

I just threw this together in automator to resize images and thought that maybe others will find it useful too. All it does is take the image files you’ve selected in the finder then resizes them to a smaller size and saves the resulting files with a sc_ prefix on the filename. Read more »

How I Setup the Weather Page using WeatherTracker and Wordpress No Comments Yet

Edit: I’m no longer using WeatherTracker and cannot recommend it to others at this point. The last few releases have been extremely buggy, have removed features, and the developer has been absent for months and will not respond to questions or requests for support.

I’m now using Lightsoft Weather Center (LWC) and have found it to be more fully featured and far better supported than WeatherTracker.

I’m leaving up the following information for reference purposes only.

I’ve gotten a few questions lately as to how I setup the weather page on this website, so I figured I’d post a little more information about it. It’s not hard at all…
Read more »

iPhone No Comments Yet

iPhoneManaged to get myself an iPhone and only had to wait in line for 3.5 hours at the Lexington AT&T store. I’d estimate that there were at least 100-150 people in line waiting for one.