Archive for the ‘Tools, Tips and Tricks’ Category

Microsoft Cleartype Breaks the Internet

Wednesday, January 11th, 2012
No Gravatar

With the news that Microsoft’s Internet Explorer 6 has – finally – fallen to 1% of U.S. browser share, the modern internet is now turning to face a new problem from the folks down in Redmond.

Until recently, the technology to include fonts and also the permission to use them has prevented web sites from deviating beyond generic typefaces like “sans-serif” or “serif”.  To get around this, many people banked on the popularity of Microsoft Windows to leverage their default font library.  Which eventually came to include the famous and well entrenched “Verdana” font.

iOS5 First Impressions

Monday, October 17th, 2011
No Gravatar

If you haven’t caught the buzz yet, Apple has made iOS5 available to everyone and anyone eligible to run it today.  The next time you fire up iTunes, you should be prompted to install the new version of the OS.

I plugged in my iPad2 to get started with the upgrade but unfortunately got some errors.  At first, the issue seemed to be with the backup process that Apple forces you to go through prior to the upgrade.  But after some research, it turns out that the iOS upgrade “phones home” and because Apple wasn’t prepared for the upgrade, their servers became overwhelmed.  The simple solution is to continue trying the upgrade until eventually you luck out and get an “okay” from Apple head command.

Symfony 1.4, Component Caching and SOAP

Thursday, August 18th, 2011
No Gravatar

I recently found myself having to get some data from a SOAP service onto a Symfony 1.4 site.  The data consisted of a simple title, location and posting date of the two most recent records from the service.

When accessing a SOAP service – especially when your API access is metered – it’s often a good idea to set up a local cache of the data.  That way you’re not burning your page load times with server-side HTTP requests, using up precious request allotments or concurrent connection limits.  Which means you have to mirror or abstract the remote inside of your app.
Initially my design consisted of creating a local Doctrine 1.2 data model, a handful of application configuration options and then adding some methods to the model and table classes to fetch locally and update the database with forced or timed expiries.

Bacula Server Backup Complexities

Friday, August 12th, 2011
No Gravatar
Bacula is a very powerful backup managing product. Free (as in beer and speech), and quite mature. I recently had the task of setting up proper backups of a new server to a backup server. The way we wanted to do it caused a lot of complexity. I needed to minimize bandwidth use, minimize disk use, and keep increments back to about two weeks. I also wanted multiple jobs to be running at the same time, and didn’t want to transfer a complete full backup every month.

Bacula lets us do that! But it’s not immediately obvious how things work from the documentation. The documentation is probably geared towards someone familiar with this style of backup product, but coming from using rsync for backups, I had some learning to do. I’m still learning in fact, so if you have a better way of doing things, let me know!

Compressing Transparent PNGs for the Web

Thursday, August 11th, 2011
No Gravatar

Today is a very exciting day: HTML5 Boilterplate v2 came out and I discovered that transparent PNGs don’t have to be massive.

There was one change from h5bp from v1 to v2 that would be easy to overlook: “We feel tools like imagealpha and pngquant, and techniques like using 8-bit PNGs are more useful than using stopgap fixes like belatedpng.”

What’s this? pngquant? Huh? It turns out pngquant is an OS X only GUI for pngnq. What is pngnq? From the pngnq website: “Pngnq is a tool for quantizing PNG images in RGBA format.” I don’t know what that means but it sure can make a difference in your transparent PNG’s file size.

A Designers Toolbox

Tuesday, June 7th, 2011
No Gravatar

It’s rare that a project passes by my desk at The Web Shop that couldn’t benefit from the use of external resources. Whether that might be inspiration, stock photography, an icon pack, or an interesting color swatch, I’m all for utilizing available resources. In this post I’d like to highlight my top 5, enjoy!

What is Responsive Web Design?

Tuesday, April 19th, 2011
No Gravatar

Your website is being viewed on a huge variety of resolutions, whether your design is ready for it or not. Every day mobile devices are becoming more connected and commonly used to browse the internet. In the past, website owners would strive to have their website displayed the same on as many screens as possible. As smaller and larger screens become more common, it’s becoming important to have your website display in a way optimized for the screen. The question remains: How do we give each size screen its own optimal user experience without creating multiple designs for each project? The answer is through Responsive Web Design.

What we can learn about Social Media from Hockey

Wednesday, April 13th, 2011
No Gravatar

It’s that time of year again when the top 16 teams in the NHL begin their playoff quest to become Stanley Cup Champions. With my beloved Vancouver Canucks in the running to take home this important trophy, I’ve noticed that there are a few tips that social media users can take away from hockey.

Make it a team effort.
No hockey team has ever been successful based on the strength of one player, and your social media presence will most-likely be the same. Clients and other users you interact with online appreciate seeing the human side of your business, so give as many people on your team as you can the chance to have a role in your social media presence.

Growing a RAID1 While the Server is Live

Monday, April 11th, 2011
No Gravatar

I recently ran into a problem that most of us are very familiar with: the fileserver has nearly run out of storage space!

There were a few things compounding the upgrade.

  1. The server has only two SATA ports
  2. Both SATA ports were in use by the existing RAID1 so I could not connect another RAID array and rsync the files across.
  3. I needed to minimize downtime as the fileserver ran an important accounting and project management application. 10 hours of downtime to run a grow operation using a live-cd was unacceptable.

Video Blog Production Primer

Wednesday, March 30th, 2011
No Gravatar

You can start video blogging for a small investment. But to achieve a professional look and feel, you’ll need to experiment and observe certain fundamentals. Here are some tips for choosing the right equipment, and setting up a simple, well crafted shot.

Equipment

Camera: Any mid-range consumer HD camcorder will do. $1000 is more than you need to spend, unless you plan to shoot much more than video blogs. Cameras with some built-in flash memory are attractive for their simplicity, since you’re shooting relatively short scenes and usually moving the scenes to your computer immediately.