Places

At the office

Here are a few photos of objects around my office, taken a few years ago. One of the photos has the exact date and time when it was taken written on it, but not in the typical way, where the camera imprints the text in the corner. I’ll let you see it for yourselves. Enjoy!

See the ColdFusion handbook in this photo? ColdFusion (by itself, without the Java layer recently shoehorned into it by Adobe) was and is the best programming language. It’s so high-level that a few lines of code can do what would otherwise take pages of low-level code in other languages. I find that very elegant.

Standard
Video Log

The need for true craftsmen

I filmed a short vlog today about the need for true craftsmen, which is becoming more apparent in developed countries pretty much everywhere. The more emphasis is placed on white collar jobs, IT and college degrees, the less people you have going to vocational schools in order to learn how to become craftsmen. Countries don’t run on computers alone. We need people doing real, physical work, building the infrastructure and taking pride in their jobs, building with the best methods and to the highest quality available to them, otherwise fields like construction are going to get worse, not better. (Have you looked at the build quality of the sheds we call “homes” these days?)

I hope you take a few minutes to watch the entire video and do your part to encourage your children or your students in schools to become real craftsmen. They can make a good living, even a great living, doing craftwork, and they can do it without going into debt by the tens of thousands of dollars, getting college and post-graduate education which isn’t going to be useful to them. If you’d like a list of good, honest trades and crafts, this article which lists 19th century occupations alphabetically should help.

I’m not alone in my views. You can also watch Mike Rowe, host of “Dirty Jobs”, give a testimony before Congress where he urges the US government to encourage our children to choose to go to vocational and tech schools, because there’s a real need for these kinds of people in the US economy.

Standard
Thoughts

A long commute may push you toward divorce

I’ve been a proponent for telecommuting for years, and I’m glad to see more proof — such as this article, which presents research from Sweden, where they’ve found that long commutes (around 45 minutes) make you 40% more likely to divorce, and also re-inforce gender-based stereotypes, where the man will usually have the better job and do the long commutes, while the woman is forced to take a lower-paying job closer to home.

According to the study, 11 percent of Swedes have a journey to work that consists of a 45-minute commute or longer. Many commuters have small children and are in a relationship. Most are men.

The risk of divorce goes up by 40 percent for commuters and the risk is the highest in the first few years of commuting.

And more Swedes are travelling farther distances to work.

“The trend is definitely pointing upward. Both the journey to work and the working hours are getting longer, “ Sandow told The Local.

The study was based on statistical data from two million Swedish households between 1995 and 2000.

This article in The Economist echoes the research, and offers additional arguments:

Ms Lowrey ends up running through the whole litany of traditional commuter complaints—that it makes us fat, stresses us out, makes us feel lonely, and literally causes pain in the neck—and finds research to prove that the moaners are, more often than not, right. “People who say, ‘My commute is killing me!’ are not exaggerators,” she concludes: “They are realists.”

This of course is in addition to the arguments I’ve already put forth in the past, such as in this article offering reasons for telecommuting, or this article about reducing waste in business operations.

Standard
Events

Site migration complete

Last night, I completed what could be called an unusual site migration. I went from a self-hosted WP install to WP.com. That’s right, my full site is now hosted at my WP.com account. People usually migrate from WP.com to WP self-installs after their site gets big and they decide they want more options, like the ability to run all sorts of ads and fiddle with the code, etc. With me, it was the opposite. I wanted to stop worrying about my web server and focus on publishing my content.

As I mentioned here, things got worse after upgrading to WP 2.9. My server kept going down for no reason, and often, too. It’d go down several times a day. I’d have to keep watching it all the time, and that got old real quick, especially when I traveled and had no internet access. I’d often get home to find out my site was down and had been down for several hours, if not more. Since I hadn’t mucked about with my server to make things worse, and had already fiddled with optimized my Apache, MySQL and PHP settings to last me a lifetime, I decided to have WP have a go at hosting my site and let them worry about keeping it going. Judging by the initial results, it looks like they had a bit of trouble with it too (see this, this, this and this), but at least it’s not my headache anymore.

During the migration process, I learned three things:

  1. I hadn’t been getting full XML transcripts of my site in the past, when I used WP’s WXR Export feature. See this for more, and make sure you’re not in the same boat.
  2. The WordPress Import wizard still needs a TON of work to iron out the bugs. You’ll see why below.
  3. WordPress.com Support can be terribly unresponsive. I waited over 20 days for a resolution to my ticket about the site migration, and in the end, I had to work things out myself. When I told them as much — and I tried to be as nice as possible about it — it would have been nice to get a small apology, but I didn’t even get that.

Granted, my site migration does not represent the usual WP user’s migration path, nor was it a typical migration. By current count, I have 1,552 posts, 4,129 comments and 3,090 media files. That’s quite a bit more than your average blogger, and I think that’s what served to point out the bugs in the Import Wizard.

What exactly were the bugs?

  • Failure to import all posts, comments and media files
  • Post and media file duplication
  • Failure to properly change all paths to media files (either image source or image link or both)

Here’s where I need to acknowledge the help I did receive from WP Support. My WXR file was over 20 MB. The WXR upload limit at WP.com is 15 MB. WP Support modified the upload limit to allow me to go through with the WXR upload, and they also adjusted the timeout limit, because the migrations timed out prematurely as well. So I thank them for that help.

The big problem turned out to be the third issue mentioned above. The Import Wizard didn’t change all the paths to the image files. It turned out to be a very hit-or-miss operation. Given the scale of the operation, I might even call it a disaster. Some posts were fine, some weren’t at all, and some were a hodge-podge of images that were okay, and images whose paths were wrong, or whose links were wrong, or both. You might imagine that checking and fixing the image paths for over 3,000 media files can turn out to be a very big job, and it was.

I was also under pressure to finish the job quickly, since the site was live. Imagine how you’d feel as a reader if you visited a website and none of the image files showed up — you’d probably think the site was dead or dying, right? Well, I certainly didn’t want people to think my site was on its last legs, so I had to act quickly.

Thankfully, only (sic) about 40% of my posts had their image files messed up. The rest were fine, but then I also had plenty of posts with no images. If all my posts contained images, I might have had 90% of my posts to worry about… Still, I had to check every post, and as you might know if you’re a regular reader, I post lots of images per post, and where a post was messed up, brother, I had to do a bunch of work to get it fixed up. Just as an example, some posts have anywhere from 20-50 images…

Here are a couple of screenshots that show you how things stood. Here, the image link was okay, which meant I didn’t have to modify it. This was a happy scenario. However, the image path was still wrong, as you’ll see below.

The image source, or path, didn’t change during the import process, which meant I had to change it manually, or browse for the image by title or file name in the media library and re-insert it.

The image size was also lost, which meant that if I changed the image path manually, I had to also enter the width of the image.

What made things more cumbersome was the lack of an image insert button in the Gallery dialog box. That’s one of the differences between a WP self-install and WP.com. This meant that even though I’d uploaded a certain image for a certain post, and it showed on the Gallery tab, I couldn’t go there and re-insert it into a post. I had to go to the Media Library tab, search for it, then re-insert it, which takes precious time and clicks, particularly when you’re dealing with thousands of images.

In spite of all the extra work which I had to do, and which took about 1½ weeks of my time, I got done last night. My site is now fully functional, thank goodness!

As for my experience with WP Support, there are no hard feelings. I like the WordPress platform and it’s done good by me so far. I wasn’t a VIP customer and they didn’t have any financial incentives (besides the small fees for a space upgrade and a domain mapping) to get their hands dirty with my code. They offered minimal support, and to a certain degree, that’s to be expected when most of your customers are non-paying customers, as is the case with the large majority of WP bloggers.

Still, I would encourage them to consider doing the following:

  • Improve their Import Wizard so that it will not terminate until it checks and doublechecks to make sure it has imported all the posts, comments, pages, tags, categories and media files, and all the paths to the media files are correct. They’ve still got one of my WXR files, and they can use it as case study to help improve the accuracy of the import wizard.
  • Include an image insert button on the Gallery tab of the “Add an Image” dialog box, like the one that already exists on WP self-installs.
  • Offer the functionality of the Search & Replace WP plugin for WP.com blogs. This would have been a huge help to me as I fixed the image paths. I could have run a couple of queries on my blog’s content to change most of the image paths, and it would have halved my workload.

If you were one of the folks who kept seeing no images during this transition period, sorry for the inconvenience, and I’m glad you’re still around. If you’re still seeing no images, definitely get in touch with me, I might have missed a few — after all, I’m only human.

Standard
Thoughts

One way to respond to stress

I was reminded today of something I’ve known for a long time, something that still hasn’t become second nature to me. I was faced with stressors, and how I chose to respond to those stressors determined my mood and milieu for the rest of the day. On a long-term basis, the sum of all these responses determines how my body will look. Scary, isn’t it?

Hence, a rule I will try to keep in my mind at all times: my response to stress is determined by my attitude, which in turn determines how my body feels and looks afterward.

There have been countless times in the past when my attitude toward a stressful situation caused me pain (anger, headaches, malaise, arguments), and yet, today, and a few other times, a simple switch in the way I chose to perceive the situation (it wasn’t even a complete 180° turnaround, just a different way of looking at the problem) allowed me to roll with the punches and go right on with my business. Instead of being stumped by stress, I overcame it and that allowed me to be productive and avoid feeling ill.

I remember my dad telling me about attitude more than a decade ago, when I was in college, but as a wise man once said, college is wasted on youth. It didn’t stick then, and it’s still not sticking. Sure, it sounds nice and you and I agree with this stuff (I bet you’re nodding your head right now) but until you bang your head against the wall a few hundred/thousand times, you don’t get to learn this lesson.

The simple heart of the matter is that I can look and feel like this…

raoul-at-work-2

… or I can look and feel like this.

raoul-and-ligia-at-home-7

I’ll take the latter any time, because I know the costs involved with the former state.

Standard