I hate pair programming

Computers, Programming, Software No Comments »

Hand in Hand 

First, to clarify, I don’t hate the two lovely girls in this picture, but they can be quite the pair. Second, my mother told me never to say hate, so maybe that was not a good title. How about “I detest pair programming.”

Don’t get me wrong, I don’t want to be stuck in a cave for a couple of months and then crawl out bleary eyed and pronounce that I have created the perfect piece of code. I love collaboration. I go to others for help, input, guidance,¬†or to reciprocate for someone else.

What I¬†don’t like, is sitting¬†in a cube with two people where one person types and the¬†other looks over their shoulder all day.¬†Maybe I haven’t had the right person to do this with. Maybe¬†that is why the pair of kids in the picture works. They have their issues, but they get along well, and have similar goals most of the time.

When I am paired with someone, and they have the keyboard, I just feel like one of two things occurs. I am sitting there bored wondering why they just don’t let me type, or they are whipping through some material I have never worked with, and I am lost when I don’t get to “drive”. When I have the keyboard, I just find it annoying to have someone asking if the code could be done differently every 5 minutes. I don’t mind getting feedback, and code reviews are great. I have no problem working on a task, checking for ideas, implementing my approach, then getting feedback, and maybe refactoring. I just don’t like it in real time.

I don’t see the benefit. Luckily it only looks like we are doing this while several of us are new. It won’t last forever. Have you ever had to work for an extended time period in a pair? Did it work?

Setting up Linux Software Raid

Computers, Software, Tutorial No Comments »
This entry is part 3 of 3 in the series Building a NAS

Dual Drives for Raid 1This is part of our series on building a NAS. In this article we will get the box set up with a static IP address, and get your drives set up for RAID 1.

We are assuming that at this point you have Ubuntu installed. We are gong to install software raid in a moment. The first thing I want to do is make sure we have a static ip address. Usually Ubuntu will start up with a dynamic ip address. This can make it more difficult to transfer files to this box, so lets make it static.
Read the rest of this entry »

Installing Zenphoto on 1and1

Programming, Software, Tutorial 13 Comments »

zen-logo

I had all kinds of trouble getting Zenphoto to install on 1and1. None of which I believe are the fault of the Zenphoto project. I am blaming the difficulties on how you need to configure php on 1and1.

What problems did I have. It appears that there were tables that were not created correctly. The way I figured this out was that I was trying to save a ¬†guest user and password to¬†and album. The name wouldn’t stick. When I went in and look under the MySql admin¬†tool (phpMyAdmin), there was no user field in the albums table. Something was wrong right from setup.

So here are the steps that I came up with to get zenphoto installed properly. I can’t say that all of the steps I took were necessary, and some might even be suspect, but in total it works.

Read the rest of this entry »

Zen Photo Press

Site News, Software No Comments »

I am not sure how I missed this. There is a plugin for WordPress called ZenPhotoPress. I even had ideas of trying to do this myself. Anyway, what this does, is allow you to get your photo’s from Zen Photo into your wordpress blog. It is built into the visual editor (tiny mce).

I have been working on a gallery with Zen Photo with my Cyberward theme. Still trying to decide what I want to do with it, but I think that I will move to migrate my family photos over to Zen Photo instead of Gallery.

Zen Photo just seems better in my opinion. Gallery (actually Gallery2) seems slow and burdened. Too many things activated and going on by default.¬† Zen Photo has fewer plugins, but that’s ok by me. It seems much easier to hack on too. I guess now I just need to time to do this.

First Version of CwExif is out

Programming, Software No Comments »

I now have a first version of CwExif that can be downloaded. This is a new Wordpress plugin that will show exif data for an image uploaded to the wordpress library in the title tag. There is a button on the media admin screen that will take the exif data and put it into the title tag. On hover, the data will be displayed.

This is just the first version. There is much more that I want to do with this plugin, but you have to start somewhere.

Get it here.

Access Wordpress Blogs with an iPhone/touch

Software, iPhone No Comments »

WPtouch

I got an iPhone recently, and I have to say that I love the thing. I have used more minutes of data plan than I have minutes of talk time. I like checking email/flickr/facebook/rss feeds when I have a minute without using a computer, or without needing a wi-fi connection. I will document some of the other plug-ins that I am using later, but right now I want to talk about Wordpress and iPhone/iTouch devices.

I was amazed that I could read my blog on the iPhone. I had to zoom in a bit, but it wasn’t too bad. I was happy. Then I started to wonder about creating a theme that is more suited to the iPhone screen. Then I did what all good programmers do before they start cooding. They Google. Sure enough, I found WPTouch.

If you have an iPhone/iTouch, come back and take a look. You won’t believe it until you see it.

This plugin for wordpress intercepts when an iPhone is accessing your blog, and replaces it with a theme that looks like an iPhone application. Amazing. Using a little javascript, it even has menus, ¬†and the comments work just fine. It does make your site a little generic. It has the ability in the admin screen to adjust the colors, but I haven’t played with it yet. I would like to modify the header, but I’ll leave that for another day.

I installed version 1.7.5 from the plugin repository on wordpress .

So, what if you want to make a post? There’s a plugin for that too. I have installed an application on the iPone called Wordpress for iPhone. This app provides a simple interface to allow posting to your blog. There are lots of features available, but some things are left wanting. It would be nice to be able to add pictures from your wordpress gallery, but it looks like you can only add pictures from the iphone. Both your synched photo’s, and your camera. You can save drafts locally, but not edit ones from your site. The editor isn’t the “visual” editor from your site, it is the html editor, so links and images are in tags. I think it will be nice to have though.

So why didn’t I write this post from the iPhone? You type even this many words on that little virtual keyboard and tell me how long it would take you ;-)

Lameda Plugin

Site News, Software No Comments »

Here is another plugin, Lameda, that uses the exif data that comes from the images as uploaded into Wordpress. Lets take a picture:

Tulip in the Rain

Here is the exif data when you put this tag in your post: [lameda_exif id=556]

lameda

The thing with this, is you still have to go into the post html and find out what the wordpress id of the image is. Still a bit of a pain. I like that it is pulling this from wordpress. Looks like wordpress stores this in the post_metadata table in an entry about the image. Not all data is saved, just some of the more basic ones like those shown. We just need a more automated, and visually appealing way to show it.

Exzo Wordpress Plugin

Site News, Software No Comments »

Exzo is the Exif and Zoom Image plugin for wordpress. I thought I would try it out. It is supposed to display some exif info around your pictures. Not sure it will work for me. I already post my photos on flickr, and just link to them here, but it seems like an interresting idea. One issue is that there is no way to pop in the image using the library tool. You need to goto the library and find out the image name, then in the HTML tab of the blog editor, you can add a statement like this:

[exzo url="" title=""]dsc_0021[/exzo]

That will get you this image on my site:

Exzo EXIF

Most of the styling and which exif data that shows up is all customizeable. But I have a couple of issues. First, there seems to be an issue in the plugin where is doesn’t reference the zoom.css file. I had to modify exzo.php to point to it correctly. Second, the included lightbox effect isn’t so hot. The biggest issue is that the image pops up full size. Other versions I have seen try to scale the image for the viewport.

It does look like you could opt to just show the exif data though, like this :

[exif="dsc_0021.jpg"]

Exzo plugin example

What would be really neat is if instead of the formatting of the picture, and the need to use this tag, is if via javascript, it could just attach itself to the image and display on a hover, or a click or something. Hmmm… that would be interesting…

Deciding on the NAS Software

Software, Tutorial No Comments »
This entry is part 2 of 3 in the series Building a NAS

tuxSo, I hope you have a box ready, because we are going to install some software today. I had said this was going to be built using Linux, but we really should take another look at some of the possibilities. I don’t want to run Windows server on this box. If that is something you are interested in, you will have to use some Google skills. I wan to look at how we can use some Free and Open Source Software (FOSS) to do what we want to do. There are some alternatives to rolling it ourselves, and they are worth a look. But first, lets decide what it is that we want to run on this box, or what capabilities it needs to have.
Read the rest of this entry »

Found new File Download Manager

Site News, Software No Comments »

I found a new plugin that I will use when I move to Wordpress 2.7, which should be soon. It is called Drain Hole. This is a pretty spiffy plugin. It allows you to create different “holes” or folders to contain downloads. These folders can have different permissions assigned to them. The individual files can be versioned, although the file name appears to need to be the same. You can then use tags on your page to reference the files. One of the really interesting things is that it makes use of templates for those tags. So you can create a template to display a file, or list of files. You use a different set of tags in these templates that reside inside your own theme folder. I like this idea. I am already trying to think of ways to use it ouside of this plugin.

While playing with this plugin I discovered a bug. I couldn’t update/save the attributes for a file. I was trying to assign a custom icon, and the display name, but nothing would stick. Hunting this down I found out why php debugging, especially ajax calls really sucks. Anyway, I finally discovered what the issue was; a variable that was not initialized. It must be the particular combination of Wordpress (2.7), PHP(4.5), and MySql(5.0) that I was playing with, because I can’t belive that this doesn’t work for everyone that uses this plugin.

Turns out that the developer has a tracker, so I created a bug with my solution. I am going to be moving to this from the Download Manager plugin I was using.

Powered by Wordpress
Entries RSS Comments RSS Log in