Log in
R. Kris Hardy Photo

R. Kris Hardy

December 12, 2009

Subversion Fix: svn copy causes “Repository moved permanently to ‘…’; please relocate

Filed under: Articles, Debugging — Tags: , , , — Kris @ 12:54 pm

Background

Subversion is a version control system. It can run as either it’s own server (svnserve), or as an Apache module (mod_dav_svn.so).

When using the mod_dav_svn module for Apache, and doing an svn copy operation on the repository itself can fail if the VirtualHost configuration for subversion is not correct. Put simply, if Apache itself and mod_dav_svn are serving content from the same path, then conflicts can occur. Apache can get confused if it attempts to serve a physical file instead of routing the request through mod_dav_svn.

“svn copy …” operations will fail, while “svn update …”, “svn commit …”, and “svn checkout …” operations work fine.

Detail of the problem, diagnosing the problem, and the fix are below.

(more… >>)

Technorati Tags: , , ,

November 24, 2009

Confessions of a Researcher-turned-Engineer

Filed under: Articles, Development, Random Thoughts — Tags: , , , , — Kris @ 1:59 pm

I wasn’t always a software engineer…

Before I began developing software for a living, I used to be in chemical research & development as a biochemist.  For some reason, I always found myself gravitating back towards software and informatics, so I eventually gave in and started a software company.  But I’ve learned a lot of lessons during my time as a scientist.

When solving a difficult problem and you know 25% of the solution, you can figure out 70% through hard work, patience and trial-and-error.  The last 5% may never come, and if it does, is rarely when you’re looking for it.

“I am enough of an artist to draw freely upon my imagination. Imagination is more important than knowledge. Knowledge is limited. Imagination encircles the world.” – Albert Einstein

Just because you don’t know the answer right now, doesn’t mean that you can made headway and figure it out as you go.  I’ve learned the most when I’ve tried things that haven’t worked, but figured out what went wrong and then tried again.

If you’re not continually learning and improving yourself, your working days are numbered.

“Genius without education is like silver in the mine.” – Benjamin Franklin

Don’t be afraid of challenging yourself and learning new languages, technologies or skills.  Each one of them expands your experience and perspective, and can give you an opportunity to take a look at the status quo.  Unfortunately, self-motivated learners are in short supply but in constant demand because they can adapt to any situation.

If you want to succeed, you have to train for it.

“You can know the name of a bird in all the languages of the world, but when you’re finished, you’ll know absolutely nothing whatever about the bird… So let’s look at the bird and see what it’s doing — that’s what counts. I learned very early the difference between knowing the name of something and knowing something.” – Richard Feynman

Let’s face it…  The likelihood that you’re going to “knock one out of the park” your first time up to bat is pretty low.  Whether it’s business or baseball, the odds are against you.  It takes grit, determination, exercising yourself both physically and mentally, and lots of disappointment as you fail again and again.  But each day, train yourself a little more, a little harder, and each day you get a little stronger.  It’s cumulative, and it takes a lot of time.

Give credit to those who came before you.

If I have seen further it is by standing on the shoulders of Giants.” – Sir Isaac Newton

In science, recognition is incredibly important and one of the first lessons that you learn.  When you’re making a presentation, writing an article, or doing your homework, you have to cite any sources of information that when into your work.  This is partly because scientists are focusing on sharing knowledge, and in order for the community to work together, there has to be trust between researchers that their information will not be stolen by one-another.

Even more so, no inventions are made in complete isolation.  They are incremental improvements based on our understanding of our world and everything that has come before.  The iPhone wouldn’t exist without the much earlier inventions of silicon wafers, transistors, plastics, aluminum, and light.  And the next wave of inventions will be no different.

Take advantage of the information and knowledge that we have, but show respect to the community that this knowledge came from.  You probably will need more help from it in the future.

Technorati Tags: , , , ,

November 20, 2009

Micro-Scrum: Agile Development for the 1-Man Army

Filed under: Articles, Development — Tags: , , , , , — Kris @ 10:32 am

I’ve found that Scrum, and Agile methods in general, are incredibly valuable in single-man “teams” if done properly.  In my experience though, there are some sticking points that need to be worked through with how you work with your clients and manage communications.  These will have a significant impact on your projects and how successful Scrum can be for you.

Before I get too far, let me give a quick overview of Scrum:

Scrum development is a business process that seeks to speed up development, decrease bugs, and increase the quality of products that are delivered.  It doesn’t have to be focused on software development, but that’s where it has the greatest pull right now, and the use that I am going to focus on.

Scrum, at least how we use it (mixed with Extreme Programming), uses several key components:

  • Iterative and Incremental Development – A product is released after each “Sprint” (typically 1-4 weeks).
  • Test Driven Development – Automated unit tests are created to test the code, databases, and user interface.  For PHP, we use PHPUnit and some in-house database testing tools.  For Java and integration endpoint API tests (regardless of language), we use JUnit.
  • One-Touch Build, Document & Deploy – Automated build and deployment sequences are developed to reduce variables, problems and time.  Ant is a great tool for this.
  • Continual Integration – The software is compiled and thoroughly tested nightly (and as needed) throughout the sprint.  CruiseControl is useful for this, although you can also do something as easy as schedule a nightly cron job to execute an ant build file.
  • Source Version Control – We use a central version control system (Subversion), to manage our code.  This allows me to work from multiple computers on the same code (such as when I’m traveling), and it also allows me to work with other developers when I’m partnering or outsourcing work.
  • Product Backlog – Stories and feature sets that our customers want in the software that haven’t been completed yet.  Prioritized by business necessity.  I’ve heard good things about XPlanner and Pivotal Tracker, but we’re using simple index cards.
  • Sprint Backlog – Stories & feature sets that we will complete during a sprint.  Negotiated between us and our client.  Here, we feed the index card stories plus any information from our client into (dotProject).  It’s not fancy, but it’s working for us today.
  • Sprint Review – Lessons learned, what went well, and what didn’t go well.  Also, client’s likes/dislikes of the last product release are included.  We use a wiki for this, such as MediaWiki or dokuWiki.

A typical Scrum team consists of:

  • Product owner – Your point-of-contact, who is responsible for the project.  Usually a Business Analyst or Project Manager.
  • Users - The end-users, commonly the client’s staff.
  • Stakeholders - Typically, these people are the client-side Project Managers and are the ones that are paying for the product.
  • Scrum Master – The member of the consulting or development team that is responsible for delivery of the product.
  • Team members – The actual development team

Things get really interesting when you start looking at roles for Micro-Scrums.  When you are running a Micro-Scrum (such as if you are a lone consultant), the scrum master, team members and product owner are consolidated to a single person (you).  And when your client is a small business, your contact ends up filling multiple roles, so your actual Scrum roles look more like this:

  • Scrum Master/Team/Product Owner (Consultant)
  • Stakeholder/User (President, CEO, or General Manager, etc.)
  • User (Client’s Staff)

Consolidating those roles makes things both easier and harder at the same time.  It’s a bit easier because there are fewer people that you need to communicate with.  It also makes things more difficult because I, as the Product Owner, now don’t just need to make sure that the product is developed and delivered.  I also need to fill the roll of a Business Analyst, so I need to understand the business case, consolidate all the user’s needs and prioritize their importance.

I also have to avoid focusing on my own “pet features”, which developers can sometimes do, and instead have to focus on what will bring my client the greatest value in the shortest amount of time.

Now that I’ve mapped out the landscape and I’ve distilled all those roles down to 2-3 people, let’s get into some details…

Starting a small-business development project as a Micro-Scrum involves a lot of communication.  In my experience, clear communication will make the greatest impact on the success or failure of a project.  There needs to be a very clear understanding from both the client and the consultant on what is going to happen and how the product is going to be developed and delivered.  If you are on the same page and can negotiate the priorities, things work well.  When your client can’t understand the iterative mindset and he wants it all done right now without prioritizing, it’s a lot more difficult.

Here are some lessons that I’ve learned the hard way:

Lessons Learned

In Micro-Scrum, the focus needs to be on quality, NOT on cost.

All too often, small Agile studios like mine are compared to freelancers or overseas developers on sites like Elance and Guru.  The bottom line is that we cannot complete with their hourly cost, so we don’t even try.  What we focus on is Quality, above all else.  Unit-tested code, usability & acceptance tests, code reviews, security audits, and active communication with our clients throughout the entire process.

It has worked well for us, and we’ve kept our current clients for nearly 2 years at full workload.  The past year has been our best year ever, despite the recession.

Micro-Scrum development usually costs more, initially, than methodology-less development (aka cowboy coding).

This goes along with the previous lesson.  The up-front costs are usually higher, however the bug rate is much lower and the documentation is better.  Also, the risk and time involved when refactoring and modifying the code is MUCH lower.  Software changes are anticipated, so we develop with that in mind.

When working with a new client, deliver early and often.

When working with non-tech-savy businesses, keep the sprints short.  We like to do 2-3 day sprints at the beginning to get them accustomed to the process.  Even if that means just delivering them a framework, some raw code, a library or sketches, it pays off dividends over the course of the project.  It opens up communication and makes sure that our direction matches their vision.

In addition, you get to run through a deployment dry run each time.  If you notice problems in the process, you can fix them early on rather than waiting until the end and being surprised that their server doesn’t support a dependency that you built into your software.  (It may sound silly, but it happens.)

The risk with this rapid iteration is that if you don’t explain why you’re doing this, your client may feel like you just don’t understand what they want.  And they’d be right.  The entire purpose of these short sprints at the beginning is to learn what your client wants by giving them something tangible that they can critique and use as a reference.  That tangible prototype can help you understand what they really want.

Keep the up-front requirements gathering as short as possible.

Feel free to post flame-comments below.  ;)

What I’ve run into many times is that clients don’t always know how to explain their vision and be clear with what they want.  For about 1 full month back in 2008, I beat my head against a wall because one of my clients seemed to contradict their needs on a weekly basis with an accounting system I was developing for them.

I decided, out of desperation, to cut the requirements gathering short and push forward with what I had at that point.  Amazingly, I was pretty much right.  After Sprint 1, there were some modifications and changes, of course, but I was able to hit the target with only about 30% of the requirements being known up-front.  In addition, it forced us to build a very flexible architecture so that we could easily adapt to the unknowns and changes when we hit them.

What we do now is start with a very quick Sprint 0, maybe a week at most, and build the user stories, initial specifications and product backlog.  There will be lots of unknowns and changes later on.  Managing and working around those is just part of software development, especially when you’re working with companies that don’t understand software development.

Failure is GOOD!

This may seem counter-intuitive, but failure is a good thing.  It opens the lines of communication for constructive feedback.

Our goals with all our projects is to “fail fast.”  What that means is that we deliver a product in an early iteration (ideally Sprint 1) that our client will see lots of problems with.  Maybe the interface doesn’t meet their needs, or the work flow isn’t intuitive.  Whatever it is, I actually want my client to come back to me and say “I don’t like this.”  I then ask them “What specifically don’t you like?”  Or my favorite: “Let’s do a screencast and you can show me what’s happening.”

Take each failure as an opportunity to open the lines of communication even further.  Learn exactly what your client wants by watching him or her use your application.  Developing a Micro-Scrum team takes time, and building the relationship and trust through open communication is essential.

I’m sure you’ve noticed that communication is a common theme in Micro-Scrum.  Actually, it’s really the primary driver behind Scrum and any other Project Management methodology.  In order to deliver what a client wants, you need to have clear communication to truly understand their needs.  In my eyes, there is no other way to deliver a successful product.

Scrum formalizes the communications and works to get everyone, from the users and stakeholders to the developers, engaged in the success of the product.  When you are Micro-Scrumming, this communication becomes even more vital since there are fewer people involved and more responsibility on each person.  Harnessed wisely, it can lead to very successful projects that have good short-term value and outstanding long-term value.

If you’re in the Columbus, OH area and want to learn more about Agile Software Development, I highly suggest going to the Columbus Ohio Agile Alliance (COHAA) meetings and getting involved in TechLife Columbus meetup group.

Technorati Tags: , , , , ,

November 17, 2009

The Art of Bootstrapping a Business

Filed under: Articles, Random Thoughts — Tags: , , — Kris @ 5:14 pm

I was sent this great article that Guy Kawasaki wrote way back in 2006 about bootstrapping that I just have to share.

At it’s essence, Bootstrappers are business owners that start and grow their business without any outside funding. That means no angel investors and no VC deals. You don’t hear about it much because it’s not glamorous, but it’s the way that most businesses are started.

I am a hard-core believer in bootstrapping, and I know for a fact that I have learned a lot of lessons the hard way that I wouldn’t have learned as easily if I had not been a bootstrapper. (Mo’ money, mo’ problems anyone?)

Especially when you start your first business (and if you’re like me, your second as well), you WILL make mistakes, and lot of them. I still make mistakes, but I like to think that my hard-fought experience has saved me several times. Sometimes I can get out of the way in time, and sometimes I still get run over. But I’ve become better and better at keeping the damages small and keeping the business agile.

If you’re in the Columbus, OH area, come out to a meeting of the International Bootstrapping Association and say hi!  Our next meeting is Dec 9th, 2009 at TechColumbus hear Ohio State University.  RSVP at the link below:

http://www.bootstrappingassociation.org

Technorati Tags: , ,

September 3, 2009

Macromedia Founder Creating “Digital City” in Ohio

Digital City Layout

The Digital City Project - Columbus, OH

Marc Canter, a founder of Macromedia and now CEO/Chairman and Founder of Broadband Mechanics, gave a very interesting presentation/pitch yesterday at the TechLife Columbus Meetup at the Chocolate Cafe near OSU.

If you don’t know Marc, he was with the MacroMind/Macromedia back when they had first developed and released Flash (or maybe it was the predecessor to Flash, I’m not 100% sure).  Multimedia is a huge interest of Marc’s, and more recently, he’s been teaching a course at Case Western Reserve University on this concept of a “Digital City”.

The presentation was a little scattered, but here’s what his vision as how I understand it:

Using a special interest of “Workforce Development”, his company, Broadband Mechanics, is developing and deploying an open source social network software platform called “People Aggregator”.  This software allows blogging, social networking, live video chat, and all the other usual social-media stuff.  It is developed to OpenSocial specifications, so that it can be integrated with other open social media platforms (Facebook, Google, etc.).  Now, at this point in the presentation, I was starting to think “so what?”

But here’s what is very interesting about this, and what makes this is unique business.  Marc realized that there are a few needs that are unfulfilled in the market today:

(more… >>)

Technorati Tags: , , , , , ,

June 1, 2009

Targeting Your Website Based on a Visitor’s Location

Here’s a question about geolocation-based online marketing I received today:

I use google analytics. The service I sell online is location specific. I am getting visits clustered around various locations.

Any creative ideas on how to target visitors from specific locations? Does this make any sense?

Something like: If you are from San Diego, click here for a special offer?

Thoughts? Ideas? Experience to share?

Geotargeting your advertising messages is INCREDIBLY beneficial in a lot of cases.

(more… >>)

Technorati Tags: , , ,

May 30, 2009

Revolutionize Your Business Through Market Innovation

Filed under: Articles, Marketing — Tags: , , , , — Kris @ 11:09 am

I was reading Ed Dale’s blog the other day, and this term popped into my mind.  I don’t think that I’ve heard it before, so I’m going to coin it…

“Market Innovation”

So what is Market Innovation and why am I writing about it?

Market Innovation is a 5-step process:

  1. Start by looking at a large market.
  2. Identify a segment of that market that has a common, unfulfilled need.
  3. Pivot the market segment – Innovate a revolutionary product that spins that market segment 180 degrees with your product as the pivot point.
  4. Develop a community of consumers around your product by selling complimentary products to your consumer base.
  5. Control and Grow your New Market – Through shaping the market segment and becoming the pivot, you have created an entire new market around your products.  You now control the market.  Your mission at this point is to keep them happy and grow your market.

Let me show you an example…

Before Apple came out with the iPod, there were lots of MP3 players around.  Most were cheeply made, were missing a lot of features, and required you to convert your own CDs to MP3 so that you could load them on your player.

The iPod changed all that.  In late 2001, they completely changed the MP3 player market by solving those problems for the people who were unhappy with their current MP3 players or who wanted an MP3 player but were scared off by the other players at that time.

The iPod was a very nice-looking, easy to operate and well-featured MP3 player.  Now the features and design of the iPod alone really grabbed the market’s attention, but I believe that the true market innovation happened with the iTunes software.

iTunes was Apple’s Pivot

iTunes made it REALLY easy to get songs onto the iPod, without having to go to the store, buy a CD, bring it home and convert it to MP3.  You could download them directly from Apple to your iPod.  Another problem solved.

The Podcast Built the Community

They then built the community of rabbid fans with the invention of the Podcast.  By allowing users to syndicate their own MP3 recordings to anyone with iTunes, Apple extablished itself as the center of the internet audio consumer market.  By becoming the conduit of music and information, iTunes completely took over the MP3 market as the player-of-choice for most people.

The success of iTunes, in my opinion, is what really is keeping the iPod ahead of the competition.  iTunes has become the center of the MP3 market, and through market innovation, has grown the market from a small niche into the main stream.

Apple is still innovating with the iPod and iTunes and finding new things to sell to its consumers.  iTunes is regularly being updated and new features are added.

They now have a 75% market share of the MP3 player market, and iTunes has become the 4th largest music retailer.

So what does this mean for you?

I could go through a similar process with every current market leader & long-lived successful product.  Google, Microsoft, Wal-Mart, Lowes, the Apple Macintosh, etc.

Market Innovation is at the core of every market leader, but you don’t have to be the leader in order to start.  Nor do you have to the be market leader in order to pivot the market.  Each of these companies started small at one point, and they found the market that they could pivot.  Once you pivot the market, even if it is a small niche, you become the center of it.

At its simplest, I really see it as a 5-step process:

  1. Start by looking at a large market.
  2. Identify a Segment of that market that has a common, unfulfilled need.
  3. Pivot the Market Segment.
  4. Develop a Community of Consumers.
  5. Control and Grow your New Market.

I am putting together a video series on how you can do this in your own market, from market research to launching your product.  If you would like to get on the insider’s list and learn how to innovate and control your own market, watch the video at Submerged Solutions:

Biggest Problems Video

What are your thoughts?

-Kris

Technorati Tags: , , , ,

April 6, 2009

AdWords Confusion Lawsuit: Google’s Dismissal Overturned

Filed under: Articles, News — Tags: , , , , — Kris @ 9:51 am
Google v. Rescuecom

2d Circuit: Rescuecom Defeats Google's Motion to Dismiss (4/3/09)

When I first started watching these paid search lawsuits, I personally thought that they were non-issues.  In several cases of companies suing the search engines for running competitor’s adds on the search engine results pages for a trademarked term, the search engines had won.   A precedent had already been set from these cases, right?  At least I thought so.

Now, that leads to this article that was published on Friday: Google Loses Round in AdWords Lawsuit.

To boil down the article to the sticky residue that remains, the 2nd Circuit federal appellate court overturned Google’s motion to dismiss the case for allowing the trademark “rescuecom” to trigger paid ads.

While this doesn’t mean that Google will lose the case, it is an interesting reversal since the case was originally dismissed by the district court on the grounds that allowing the keyword “rescuecom” to trigger paid advertisements did not violate trademark law because it wasn’t a use in commerce.

(more… >>)

Technorati Tags: , , , ,

March 28, 2009

Paid Search Lawsuit: Did Amazon Infringe on “Video Professor” Trademark?

Filed under: Articles, News — Tags: , , , , — Kris @ 8:25 pm

Amazon.com is in another lawsuit, this time being sued by Video Professor over trademark infringement from Amazon’s ads through Google AdWords.

If you are not familiar with Video Professor, it is an education company that sells instructional videos and information on popular computer software.

The complaint alleges that Amazon violated the trademark right of Video Professor by running ads with Google that appeared when a user searched with the query “video professor”.  Video Professor argues  that:

(more… >>)

Technorati Tags: , , , ,

March 26, 2009

YouTube to Open Access to Insight Analytics

Filed under: Articles, News — Tags: , , — Kris @ 6:42 am

One weak point with YouTube is that their viewer analytics are very poor.  Especially since the videos can be embedded in any other site, having a good grasp of who views your videos will allow you to target your message directly to them.  With poor analytics, it requires a lot of guessing and intuition.  However, with a good analytics package, you have data that can help guide your decisions.

A good analytics package for video needs to show you:

  • Where your viewers are from
  • Their demographic information
  • What site they were on when they watched your video
  • Any interaction they had with your video
  • How long they watched the video
  • If they watched your video from the “Related Videos” field, you also should know what video they came from and what video they went to.
  • What searches the user did to get to your video (whether that search was in YouTube or Google, etc.)
  • Integrate with your other analytics packages, such as Google Analytics
YouTube Insight Screenshot

YouTube Insight Screenshot

Some of this information is already in YouTube Insight, which is YouTube’s tightly held analytics system.  However, some of the most valuable information (such as search results and related videos) are not in place yet.

Also, integration with Google Analytics or other analytics packages is not yet available.

Here’s the good news:

It looks like YouTube is beginning to take their analytics tool seriously and has started to improve it:

“One of the things we’re looking to do going forward is to provide people Insight information where and how they want it,” said Tracy Chan, a YouTube product manager, in an interview.

“Right now you have to log into YouTube to get the information, but we’re working on servicing that need of getting the information where and when you want it. That’s something we’ve heard loud and clear from our users,” he added.

One of the improvements that YouTube has recently made was adding the Community tab to Insight.  This allows you to see, at-a-glance, the number of ratings, comments, and other interaction with your videos.

YouTube is sitting on a gold-mine of analytics data.  This data will do nothing but help marketers and video publishers best position their videos, and help them deliver content specific for the people that are watching their videos.

Keep a close eye on what YouTube does with Insight.  I know that I will be.

-Kris

Technorati Tags: , ,

Older Posts »

Powered by WordPress