To Honor Mr. Tufte…

March 9th, 2010

…on his recent appointment by President Obama, I would like to post this:

Plotting Fear and Rage in Wolves

Plotting Fear and Rage in Wolves

As a side: Tufte is doing another one-day course in Philadelphia next week. I’m going, is anyone else?

Google is A/B Testing

February 4th, 2010

Just wanted to post screenshots of what I was just shown while a-Googlin’. In my opinion it’s very nice, but it may just be because there are no ads.

1

With sidebar options collapsed.

1

With search filters expanded.

1

With search tools expanded.

And check out the newly polished Google logo/paging:

1

New logo/paging.

WordPress Permalinks 404 when Running in OS X

February 4th, 2010

I’m a designer here at Transmogrify (read: not a developer) and therefore close to none of what I’m about to write makes sense to me. I have, however, just solved a problem that’s been giving me trouble for a few hours now, and wanted to share it.

I installed WordPress on my MacBook Pro so that I could do a build-out of a site without needing to have hosting set up yet. Luckily, (Snow) Leopard has Apache and PHP support preinstalled, and the WordPress setup went off without a hitch (which was pretty impressive).

PHP has to be put into this folder by default for it to run on your machine: /Library/WebServer/Documents/

I’m sure there’s some way to change that, but it’s over my head. You can put things into subfolders in that folder though, and my install of WordPress is running from /Library/WebServer/Documents/wordpress/ (this is important to note for later). To view the site, I just need to go to http://localhost/wordpress/ in a browser.

I cleared my theme and started building the design from scratch when I remembered that I hadn’t yet set up “pretty” permalinks. The site is going to be page driven, with no posts, so I wanted to use this approach for links:

permalinks

Which would make links that (eventually) look like this: www.website.com/contact.

After a little searching, I found some pointers from others with similar problems and followed their instructions. What I did was as follows:

1. Created an .htaccess file and dropped it into the main WordPress folder. I made that file in TextEdit, and saved it to /Library/WebServer/Documents/wordpress/. In order to see that file though, I needed to show hidden files in the Finder. To do that, I opened the Terminal and ran this:

defaults write com.apple.Finder AppleShowAllFiles TRUE

and then restarted the Finder in Terminal:

KillAll Finder

(Note: To hide hidden files again, just run this again but change TRUE to FALSE.)

2. I set permissions on the .htaccess so that it’s writable by WordPress. The easiest way to do this is to get info (command + i) on the newly created and unhidden .htaccess file in Finder, and change all of the settings under Sharing & Permissions to “Read & Write.” There’s also a nice tool for changing file permissions in a more FTP client-like way, called BatChmod. The most “natural” way is to do this via the Terminal, but I’m more of a GUI type of person. Here’s what the Get Info screen looks like:

getInfo

After all of that, I thought I was good. I went to the Permalinks settings in the WordPress Admin and set up my custom URLs. Unfortunately, any time I changed the Permalink settings from the default setting to anything else, all of my links would change but the pages would 404. This is where the real fun started.

404

More searching ensued, and I stumbled onto the idea that httpd.conf (an Apache configuration file) needed to be edited to allow your .htaccess to rewrite URLs. I found this information on WordPress forum threads and blog posts like this, this, and this. Though some of these suggestions may help you solve your problems, I was still faced with a dreaded 404 error on every page.

Those posts all pointed me to /private/etc/apache2/httpd.conf, but what I found is that the real file that needed to be fixed was here: /private/etc/apache2/users/myusername.conf. Here’s what I needed to do:

1. Opened /private/etc/apache2/myusername.conf in a text editor.

It looked like this:

Before

3. Copied that chunk of code and pasted it again below it. So it looks like this:

Second

4. Changed the Directory and the AllowOverride settings on the second entry so that all together it looked like this:

Finished

Remember when I said the location of your WordPress install was important? This is the directory you need to enter here. The problem wasn’t that the .htaccess wasn’t creating the right links, it was that Apache wasn’t being pointed to that directory to find the .htaccess file. This was the key to getting it all working.

5. Restarted Apache. The easiest way to do that is by going into the Sharing preference pane and turning “Web Sharing” off and turning it back on again.

And finally, I had nice URLs!

Localhost with Nice URL

It’s probably a good idea to hide all of those hidden files again at this point.

Announcing RestFB

February 2nd, 2010

We’re proud to announce the 1.0 release of RestFB, a simple and flexible Facebook REST API client written in Java.

This library makes it easy to communicate with the Facebook API and, as outlined on the website, provides a minimal yet powerful and extensible interface on which to build your own Facebook applications.

So, if you’re a Java developer, give it a try and see what you think. We’d love to hear any feedback. Don’t forget to log any bug or enhancement requests in our issue tracker!

How long can a Facebook status update be?

January 18th, 2010

We needed to know for sure for an app we’re writing so we tested it the old fashioned-way (stuffing the input field until an error message popped up). The limit, it seems, is 420 characters – very funny, guys.

fb-limit-status

 

Learn Something from Others’ A/B Testing

January 15th, 2010

I saw a link to abtests.com today and thought it was a great idea.

Each user-submitted test on ABtests gives you some insight into what has worked and what hasn’t worked for other designers, and what they’ve learned from their testing.

In this example, TogetherTag tested two different home pages, one with the main call to action (a request for the user’s pet’s name) on the right, and one with the same CTA on the left.

CTA on right

CTA on right

CTA on left

CTA on left

TogetherTag claims that moving the CTA to the left increased sign-ups by 20.3%, saying “the left side of the page is read first and has a higher priority than the right. Putting the call to action in the prime spot increased conversions.”

While a lot of what you’ll see here may seem like common sense after reading usability books, ABtests may be a good reference for real-life data points when discussing design with clients.

Flash on the iPhone!

January 14th, 2010

Well, sort of.

Tired of waiting for Apple and Adobe to resolve their problems, a developer by the name of Tobey Tailor built Gordon: An open source Flashâ„¢ runtime written in pure JavaScript.

CSS is all Growed Up!

December 22nd, 2009

Exciting to see things like this being done using nothing but CSS. Less exciting that we’ll probably have to wait for IE to die entirely for this kind of thing to be used reliably.

Source: 24 Ways > Going Nuts with CSS Transitions

Here’s another awesome animation technique, which unfortunately doesn’t look so nice in a frame, this time using webkit: Spinner

Source: 24 Ways > CSS Animations

Tags: ,

Posted in Design

1 Comment »

Three20 Gets Documentation

December 18th, 2009

Yeah, finally – Joe Hewitt/Facebook’s venerable Three20 iPhone app library gets some official documentation, an effort spearheaded by one of its new maintainers, Jeff Verkoeyen…check it out at three20.info.  Arguably the best feature is the App Store “safeness” display, since Apple will occasionally tweak its private static analyzer which leads to autorejections for Three20 apps:

three20 app store status

This and the javadoc-like autogenerated method documentation webpages are super-helpful, since the old documentation acquisition techniques consisted of searching the web for blog posts (most of them outdated like mine since Three20 has gone through some pretty big refactorings), reading the source, and single-stepping through everything with Xcode’s debugger.

It’s sad to see Joe Hewitt go, but I think having Three20 be more than a one-man show is a positive thing for stability and wide adoption.

Oh No!

December 18th, 2009

With Lou Reed in the iPhone app game, what chance do the rest of us have?

Lou Zoom:

Lou Reed's iPhone App

« Older Entries