Using MAMP for local site development

Those who pay close attention to the various projects that I get myself involved with will notice that I like to play around with the design of the sites. Call it whatever you want, but it always seems like there is something better that I can add or change to the way a site looks. It’s all apart of learning. You try to do something the old or stupid way, only to discover there is a new way that all the cool kids are using that makes things so much more simple.

The worst part about changing a lot of things is doing them publicly. You just can’t go in with an idea, make the change, and go about your business. When you are restless as I am, and I know there are lots of people out there with similar mindsets, the idea you tryout might not look as good as you originally thought. Even worse, it mucks up the whole site and makes it not function at all. Not a good thing, so you might try something else or go back to the way it was in the first place.

MAMPMAMP has really helped with that. It’s allowed me to install and run numerous test sites of WordPress locally[wordpress]. I play around and change things on the fly. Install plugins and surf the site in a browser with full function. Everything that MAMP can do is already there on the Mac(Apache, MySQL, and PHP) these days, but this application makes it work with far less headache. Launch it, do your work, and you’re golden. When I’m settled with what I want, the site goes into the wild.

Lately, I’ve been experimenting with WordPress 2.1, and the changes to the next version are looking promising. Drupal can also be managed this way. That took me a little more thinking to get that sorted out, but I was working without an explicit, step-by-step tutorial for MAMP.

I’ve also tried to install WordPress MU, but stopped short of being successful. Actually, I hit some snags and simply gave up. Some quick searches for solutions came up short, but I know that it can work with MAMP. Will have to give it another shot in the near future.

Tricks of the trade, and this might be more obvious to some. I figured I’d share because this has made work on my projects easier, especially taking that FTP part out of the equation. There are various ways to do local installs for WordPress and Drupal development for the Mac and PC, but I can seriously vouch for this one.

I have a thing for lines of code

I’m redesigning the RadioZoom site again. Ok, it’s not a redesign, but I’m porting the design, mostly, into a better layout. I’ve worked so hard to not make the website look like a blog because, let’s be honest, it’s a podcast, right? Anyone can start a blog and shift it into a site for a podcast. I’m just going to stop fighting the inevitable.

The current theme that I’m using, as it is a WordPress driven site, has so much code that is cobbled and hacked together that it hurts too much to clean up. I know it’s bad taste to take someone’s theme that they put out there for public use and then tear it all apart for my own amusement, but I’m picky. It has to look right, at least to me. I ain’t no design genius either, but beauty truly is in the eye of the beholder. Well, in this case, the programmer.

PodPress is really the reason I’m revamping the design. Subtle changes makes it not want to play nicely with the current design. They recently released a new version of this great podcasting plugin for WordPress, so I think it’s high time to dive into fixing it. At the same time, it keeps the geek skills sharpened.

If all goes according to plan, the new design should be live next week. Don’t expect any huge surprises. It should look similar to what it is now, but functionality will be the true improvement, perhaps more so on the back end.

When geeks podcast about WordPress

Just last week, I discovered The WordPress Podcast. Being a podcaster that uses WordPress in all the projects that I’m apart of right now, I subscribed immediately. This is close to being the official podcast about WordPress, but not quite. That’s not to say that the folks involved don’t know what they’re talking about.

Of course, what they are talking about is incredibly geeky. There is something to be said about those out there who understand all the behind the scenes aspect of WordPress as a blogging engine that will not appeal to those looking for entertainment. If you use WP, like it, and are interested in the idea of exploring all the extra things you can do with it, then this might be for you.

So far, I’ve listened to a handful of episodes and been really liking what I’ve heard. The concept goes beyond just the hosts telling you tips and tricks for what you can do with WordPress. Other users, programmers, and designers contribute segments about things they are doing with their own sites. I already have a few ideas that I want to try out based on some of the things have been mentioned.

The one aspect that I really dig is the segment about recently released plugins for WordPress. They give a basic run down on some of the latest releases and updates, and the website for the podcast allows you to find links directly to what they mention. Very useful because anyone who makes WP sites will know what a pain it can be to keep tabs on what’s out there for plugins.

I’m anxious to listen to their two part interview with Matthew Mullenweg[wiki], the guy who basically headed the creation of WordPress at the age of 19. That shows you that The WordPress Podcast has the knowledge and connections for good, geeky content.

Dinking with things that dink with content

I’ve been cramming a lot into my brain over the past few days. For one thing, I’ve been exploring the lovely world of Drupal. After all the things I’ve seen and heard about it, I’ve been impressed. It’s everything that it’s said to be. Content management system, and they ain’t kidding.

I set it up locally and played quite a bit yesterday. Every time I tried to do something that would be complicated by doing it stupidly, Drupal had some sort of built-in way to do what I wanted. Very interesting. Not sure that I like it from a blogging aspect, but it has that too. It can be oh so much more.

I’m experimenting with WordPress more and more. I’ve been a long time user of the visual rich editor. However, not anymore. It’s come to be such a pain, and the WYSIWYG interface gets so annoying after a while. Being a user of only version 2.0 and on, this is what previous versions did. I’ve gotta say that I like this, non-rich editor, much more. Loads faster in FireFox and has no lag. I’ll stick with this for now.

I did find a really great Flickr plugin for WordPress. Flickr Photo Album adds a nice interface for dropping images from your Flickr account straight into a post, all from within the editor. You can already do this with Flock, but I am still not impressed with its performance. This plugin makes things simple and quick, but the setup takes a little to sort out.

I also got into some Unix[wiki] junk last night. Seems that my external hard drive has the occasional ability of renaming itself at random times and confusing some of my peer to peer programs. How else are we to have our cheap nights in with some ghetto Tivo, aka BitTorrent? This could also cause problems with some of my podcast projects. If I spent enough time with it, Unix could become another language I could start to really understand. I’ve got way too many other things on the list right now. I should get some tape for the middle of my glasses.

Hackers got into MG.org

MG.org This pisses me off to no end. Being a recent victim of a hacker myself, I can totally sympathize to as to what happened to Matthew Good. In fact, there’s a little bit of my help that I gave him that was a victim of an attacker to his site as well. Good needed some help getting PodPress to work on his site, so I was more than happy to help him out. None of that seems to matter a whole hell of a lot now.

I’m not sure what the complete story is, but the hack seemed to go deeper than just getting into WordPress and making a stupid post, like what happened to me. According to a post by his friend Sonny, another person who has helped him on numerous aspects of his site, files were compromised and are missing. I really liked the recent design to his site, but all of that is lost.

I’ve always been one to proceed with restraint, but right now, lynch mob is the phrase that immediately comes to mind.

WordPress 2.0.5 released

Version 2.0.5 of WordPress was released over the weekend.

It’s new release time. The latest in our venerable 2.0 series, which now counts over 1.2 million downloads, is available for download immediately, and we suggest everyone upgrade as this includes security fixes. We’re breaking the tradition of naming releases after jazz musicians to congratulate Ryan Boren on his new son (and first WP baby) Ronan.

What’s new? We have about 50 or so bugfixes, which you can review on our dev tracker here, mostly minor bug fixes around feeds, custom fields, and internationalization. If you’d like a nitty-gritty view, check out Mark’s blog post on the changes.  [wordpress]

Especially after the problem I had a little over a month ago, I’m paying attention to these things.  I suggest that all WP users do the same as well.

Confessions of a tinkerer

One thing about reading up on so many blogs and websites through RSS feeds is that you have to make an effort to actually see how some one’s design to their site looks.  If that applies to you, then you never notice how I constantly tweek the design to my site.  I can’t help it.  It’s a tad bit on the obsessive side, but I never find myself happy with what I have when it’s so easy for me to change it.

If you are one of those people who still go the “old school” route and surf into my site everyday(like all good boys and girls should), then you notice these changes.  Over the past day, I’ve done a variety of subtle to not so subtle changes to different things.  And when you start in one place, you end up doing one of two things.  You screw something else up, or that one change leads you down a path of wanting to change even more things.  It can be addictive.

I doubt that what you see will remain exactly the same for very long.  At least now you know.  I tinker.  It’s what I do.

My blog was hacked

When I woke up this morning, I went to delete a spam comment that got through my defenses, but WordPress wouldn’t let me log in. I tried my login and password a few different times and got nothing. That’s when I started to get that feeling. You know that one I’m talking about?

“This site hacked by” whatever the name was. I’m kicking myself for not getting a screenshot of it, but there was a large wolf image with some language that I was unfamiliar with. There was also a sound file that was posted along with it. It started out with some deep voiced man saying something very foreign, followed by some drums and horns. I was still sleepy eyed and increasingly pissed off that I didn’t take in all the details.

I was able to work around WordPress and get into the SQL database, delete the post, and get my user accounts reset. On top of that, I was running WordPress 2.0.3. I might have waited too long to do the 2.0.4 upgrade that apparently had some “important security updates”.

I’m not sure how this person hacked my site, but everything seems to be back to normal. I’ve done all the neccesary steps. Backed up my site, changed all my passwords, and done needed upgrades. All this after being knocked down with a troubling sinus cold thing all this week, this morning being the first day that I’ve woke up and actually felt good. I’m totally going running right now because that’s a lot better than punching a wall.

Update: Rebecca was able to grab a screenshot of it this morning and has it on this post.

Podcasting and the Meta Argument

At BarCampVancouver, Ryan Cousineau[wiredcola] led a session called “Sturgeon’s Revelation”[wiki]. The idea that “ninety percent of everything is crud” was the center piece of this session, applying it to pretty much everything that exists in the world of Web 2.0[wiki]. The main topic of focus, however, was podcasting[wiki].

Darren Barefoot made a recent post regarding social networks and podcasting, citing that the resources are not there for the medium as there is for photo, video, or link sharing. This idea speaks a lot to what Cousineau was getting at with his session, and much of his thoughts on the topic is posted on his blog.

When it comes down to it, there is not an easy way to share content within a podcast unless you listen to it. You can’t Google search for information that can be found in a podcast. There are such things as show notes and tags that people apply to the material that they publish, but not everyone does it, nor does everyone do it the same way.

The only solution to this problem is to transcribe podcasts in their entirty so that anyone searching for a topic can locate it in your podcast as well as anywhere else on the web. Quite often, this is where people with low opinions about podcasting derive their argument, and I’ve heard this thought propelled by a lot of bloggers. Yes, blogging is a very quick way of publishing information for the world to read in nearly real time. It is instantly indexed, searchable, and archived.

Generating audio for a podcast can be done in the same way, but often is delayed and ineffective with being timely. The podcast itself, in its raw form, is a bunch of ones and zeros, and no one has developed a way to index the contents of a podcast so that it is searchable across the internet. No matter how great of material that you have in a podcast, some one finding that gem of information inside forty minutes of a mp3 won’t happen unless they download it and listen.

This is where I start to agree with the point that Cousineau is saying and the thoughts presented in Barefoot’s post. The conversation that you can get from podcasting is vastly different for the ones that happen through blogging, Flickr, or YouTube. “Feedback” is the better word for what goes on with a podcast. Continue reading “Podcasting and the Meta Argument”

Speeding up Firefox

When I used to do I.T. for WSUI, I pushed for people to use Firefox as their default browser on their PC. Fellow tech support monkeys can understand that for obvious reasons.

I just recalled this tip that I caught wind of about a year or so ago. This is a really great way to speed up Firefox, and it doesn’t require you to download anything to do it. This mostly applies to those folks on broadband, so if you’re on dial-up, this isn’t for you.

  1. Type “about:config” into the address bar and hit return. Scroll down and look for the following entries:
    • network.http.pipelining
    • network.http.proxy.pipelining
    • network.http.pipelining.maxrequests
  2. Normally the browser will make one request to a web page at a time. When you enable pipelining it will make several at once, which really speeds up page loading.
  3. Alter the entries as follows:
    • Set “network.http.pipelining” to “true
    • Set “network.http.proxy.pipelining” to “true
    • Set “network.http.pipelining.maxrequests” to some number like 30. This means it will make 30 requests at once.
  4. Lastly, right-click anywhere and select “New” -> “Integer“.
  5. Name it “nglayout.initialpaint.delay” and set its value to “0“. This value is the amount of time the browser waits before it acts on information it receives.
  6. Restart Firefox.  You can follow steps 1 through 5 to be sure that your changes saved correctly.
    • Note: You might have to make these settings changes everytime Firefox is updated.

This works for the Mac version, too. Logging into WordPress is a snap, and browsing just got a whole lot faster. Once again, another reason I’m a happy switcher to Firefox.