Tag Archives: Development

Subversion Install Swankiness Part 2

Nothing Like A Fresh Subversion Import
Nothing Like A Fresh Subversion Import

Welcome back to part 2 of my Subversion install series.  What we are going to go over is developing the right structure for the repository, importing a website, updating a website, then testing and deploying the website using some of Subversion’s command sets.  There were some road blocks along the way and I will talk about that as well as some other thoughts about the process.  After that I’ll talk about what’s next but first let’s setup and deploy some code.

Continue reading Subversion Install Swankiness Part 2

I’m as Free as a Songbird 1.0 Now

After a Thanksgiving hiatus, I’m back and while you are a recovering from the holidays and from my tacky headline, I want to talk about the Songbird 1.0 release.  A lot of other media outlets have covered this release so far, but I wanted to give my take on the media player.  I first found out about Songbird 1.0 since it was announced way back in 2005.  Since then, with each new point release, I’ve downloaded and played with its features.  It’s great to see the evolution of what it was to where it is today.  But some of the issues I’ve had with seem to persist.

The Songbird bird project kicked off in response to the closed sourced media players dominating the choices serious music fans could make.  In the spirit of Firefox, they developed (using Mozilla’s rendering engine) a media player that also browses the web much like Firefox.  What that introduced were new channels of music discovery and collaboration.  It was a good idea to start with and we’re now starting to see a solid base with which other services can build from Songbird.

This took forever on my 300,000+ catalog
This took forever on my 300,000+ catalog

Songbird still has some work left, however.  It seems the goal for the project is to get to the heavy music enthusiasts first and let it float on down to casual music fans.  Importing large libraries and working with them should be a top priority.  For each point release, it seems with my library, which tops 3 digits in gigabytes, Songbird struggles during the initial import and thereafter.  Yes it’s a lot of media to work with but if they want to top my current use of Winamp, they need to resolve that real soon.

The other issues I’ve experienced are somewhat trivial but nagging nonetheless.  They dropped PPC support for the Mac after the 0.7 release, which hinders me because of the Macs I still have running around at home.  Songbird has issues switching between the main view and the mini player view.  Lastly, podcast support is absent in the 1.0 release.  The only, seriously the ONLY, reason I use iTunes is for the podcast support.  If Songbird can champion that, I’ll abandon iTunes.

Not Only is Skreemr Integrated, But I Can Download Direct at the Bottom
Not Only is Skreemr Integrated, But I Can Download Direct at the Bottom

There are some great things about Songbird that make it a contender in the media player market.  The one that most appeals to me is how it displays all media on the bottom of a web page you are browsing.  Say you are hitting up your favorite music blog.  Usually there’s media floating around on the page and you have to scroll around to find it.  This feature collects all of the media at the bottom and allows you to work directly with the files.

Songbird also has some developmental and extensibility features that put it head and shoulders above the rest.  Around the 0.5 release they split out development of Songbird into four factions: Themes, Extensions, Web Development, and Core Development.  This provided a clear path for all different types of coders to contribute to the project.  The most exciting one to me is the Web Development portion because of the API they provide.  You can use the API to setup your own ‘store’ to sell music as opposed to the store that iTunes locks you into.  The other development factions mirrors that of the Firefox community and I think we all know how well that put Firefox ahead in terms of browser potential.

It’s great to see Songbird hit 1.0 and I look forward to finally getting in there and digging around in the code.  Somebody needs to improve super large library performance.  I’ve downloaded the source and compiled it, also setting up the dev kit for extensions, but that’s been in the days of TRAC as it now looks like to they switched to Deki Community Edition form Mindtouch.  Hello, Songbird, it’s time we meet again, now that your finally out of your shell.

Xampp’ed Up But Turned Off To Portability

Before I rolled out the relaunch, I spent a good month trying to figure out the right kind of development environment for tools the I had available.  I have three laptops but all of the batteries are toast and the motherboard on one of them has gone the way of the dodo.  I convinced myself to develop exclusively off of a big ole Western Digital 80 GB Passport USB external drive.  First step done.  After doing some research I decided on XAMMP to drive my environment.  It was nice but there were some issues.

My real focus for this development environment setup was to be able to plug in the hard drive and code directly off of it.  I work off of multiple platforms at home and at the office.  Almost all of the apps do not have a single application to launch.  I already run some portable apps that support clients in Windows, Mac, and Linux flavors, like KeePass.  XAMMP advertised clients for each platform so I decided to give it a try.

XAMMP is a fully integrated web application development server.  The purpose of XAMMP is to roll out a fully workable, out of the box *AMP stack.  The packages include an Apache2 server, PHP version 4 or 5, MySQL 5, and a torrent of management utilities and open soruce libraries/modules.  There are some differences between platforms for the package set, however.  The beauty behind it is that you can pick and choose what you want and start work within minutes.

At first, I wanted to setup all of the platform packages on the flash drive.  Due to the desire for cleanliness on the drive, however, I tried to install the software locally on all of my workstations.  Most of my time is spent on these machines anyway.  Linux was the easiest to turn out, mainly because it just dropped everything into the ‘/opt’ directory.  I could change the doc and database links and move forward from there.  Windows was also a snap as I could modify configuration and turn services on and off with the included XAMMP control panel.  The Mac OS X client was not so easy.

The installer package for the Mac does not allow for choice.  It scans you computer to see if it’s okay to run on and then drops it straight to the Applications folder.  The folder it installs to is not entirely encapsulated.  When the configuration points to the database files on the flash drive,  the service will crash upon startup.  I’ve already been exposed to issues on lock file management on Mac OS X Server, and the workaround didn’t work for this issue.  The Apple puts the lock file in a directory other than the MySQL default setup.  When I symbolically linked the lock file, the database would start up.  This was not working with XAMMP.

After spending some small time here and there for about two weeks on it, I ended up just letting it go.  Attempts to find out on their forums page led me nowhere.  Also in my research on this topic, I discovered a Portable Apps version of Xammp but it is Windows only.  Not much help there.  Maybe one day the devs on the project will look for better portable support.  Until then, I’m focusing on version management and working off my lil server in my apartment.

I’m still coming to terms with getting distracted on small setup roadblocks.  I really didn’t need to waste the time figuring this out when what I really needed to do was to turn out this blog and other projects.  Struggling with Xammp taught me that sometimes the perfect environment will trickle down from actually working on things first rather than focusing on a perfect setup for work that hasn’t started yet.  Plus it’s alot more fun when you actually have projects in progress instead of dreaming of working on projects.