How to make a baby sit still

Last week, around May 2nd or 3rd, my daughter learned to crawl. It’s been a week so now she’s officially at that stage referred to as, “no really, don’t take your eyes off of her!”

So now I’ve got this challenge that so many people before me have faced. How to get her to be stationary for a little bit. This is my brief and whimsical diary of a few experiments.

My theory for speeding up web app development

I have a theory and so far it has worked out correctly. There are three ways to complete a web application project. The wrong way is to skip the planning step and just start designing and coding. This greatly decreases the chance of finishing your project. However there are two ways that I’ve used to complete projects:

The designer failed

I was talking to a good friend of mine - one of the most elite graphic designers I know - and he made a simple comment that, as often happens when speaking to someone of great wisdom, communicated something with tremendous meaning in only a few words. It was something I knew but would have been hard pressed to describe or communicate to others.

It was about using graphics on websites but has a far broader scope than that. I’ll reword his statement somewhat to remove the context of the original conversation. He said that if you notice the drop shadows then the designer has failed.

GTK dialog could be far better

OK, I’ve been trying to think of a way to report this problem for a while. Who does it go to, GNOME HIG, Ubuntu, Usability, Art team? I’ll probably send it to all of them but in order to simplify my explanation, this blog post exists.

In brief: GTK dialogs are way too big and they tend to waste a lot of screen space. To demonstrate my point I’m comparing the File Save dialog from Gedit and Windows XP Notepad. You’ll see that the Windows XP dialog is far smaller and yet communicates significantly more useful information. This is accomplished because it makes more efficient use of the screen space. It does this without being any less usable, and actually, because of it communicates more useful information can be more usable under some circumstances.

Adjusting the height of iframes to match the content across domains

My current task will be assisted by showing an iframe but without the distinctive scrolling of an iframe. So if the iframe content is 350px high the iframe should be 350px high so that it appears to be part of the content above and below it. I’ve seen people refer to this technique as “100% height iframes” but I think that’s a misnomer or at least confusing since some people want an iframe that fills the height of its parent container. I just want an iframe that looks and acts as if its content were part of the normal page content and not on a separate site.

This isn’t so hard to do when your content is all on the same domain but when you need to work across domains its far more difficult because of the same domain security policies all browsers enforce. But there are ways to do it and the way I’m using now is clever and not well documented on the web. As a matter of fact, if it is documented I couldn’t find it. It does not require an iframe within an iframe nor does it require that the iframe’s content be tailored to the site that will be embedding the iframe. I’d love to hear any advice or suggestions for making it better.

telnet for testing ssl/https websites

OK, here’s the problem… you want to test a website by sending custom headers, but the website uses https. Normally you’d just telnet to port 80 like so:

telnet www.somesite 80
GET /index.html HTTP/1.1
Host: www.somesite

(Note you need to press enter twice at the end)

This would be a valid HTTP GET request and you’d see the server’s response headers and response data. But with an SSL website this won’t work at all. What do you do?

Upgrading from Ubuntu 6.06 server to 8.04 server worked perfectly

I have a few servers (virtual and physical) and all of them run Ubuntu 6.06 LTS (aka Dapper Drake). Until now. I did my first LTS to LTS upgrade and it went without a hitch. So now I’m running mostly 6.06 servers and one 8.04 server.

I was very brave, maybe foolish even. I didn’t create a snapshot of the server before I started. 8-) I just did the upgrade. Apache upgraded fine as did MySQL, Django, Python and Samba. There are some warnings about upgrading SSH in place but I did it and had no issues. There were numerous warnings about needing to upgrade grub that scrolled by but the installer handles these for you automatically so you can disregard the warnings.

I did this because I wanted to install couch db (via) which is an exciting distributed database project. My first impression is that it is an excellent and exciting project but I will do more investigation and report later. In the meantime, test the LTS to LTS upgrade!

If you can't hear me, come a little closer

My class last night seemed to enjoy an illustration I gave so I decided to share it here. The class is the first of 5 I will teach called “Getting a better spouse,” which is a poor name, but the goal is to make our families stronger by improving the husband and wife relationship. The common denominator of all the people in the class is that we all have kids and as any parent knows, sometimes life seems incredibly busy. Also at times it can feel like our kids are the center of our families and all life revolves around them.

As parents its critical to admit that one of our most important job is to raise our children properly (cf Proverbs 22:6, Deuteronomy 6:6-7). But that doesn’t mean the children become the center of the family. They need to learn that the world does not revolve around them. Therefore the class’s goal will hopefully help draw the mom and dad together. Doing this helps the whole family.

But… the husband/wife relationship is not the most important relationship in the family. The most important is the parent/God relationship. God invented the family and He

Netbeans 6.1 spanks Eclipse and challenges Visual Studio

Strong words, I know, and there are definitely some qualifying statements. I am not throwing out Eclipse just yet because it can still do some things that Netbeans doesn’t. But first, let me say that I’m excited by Netbeans 6.1, which is currently in Beta. I’m excited because I see in it a product that will challenge Microsoft’s Visual Studio, especially for new users and those doing development without a computer science background.

Deployability is important and favors PHP over Rails and Java

PHP web applications tend to be very easy to deploy. You simply upload the application and it works. Maybe your application needs to have an install.php that creates the database tables but that’s hardly difficult.

The next easiest applications are cgi apps. In addition to uploading, users need to know if they have a special cgi-bin folder that they upload to and ensure they upload to it. They also need to know how to make a file executable. However no server configuration needs to be done.

Syndicate content

Back to top