It's Tough Times Out There

9. March 2009

"Times are tough" -- I've heard that phrase ten thousand times in the past few months.  I am so sick of hearing about the economy and how bad everything is.  I feel like much of it is a self-fulfilling prophecy -  a vicious feedback cycle that is perpetuated by how much everyone talks about it all-the-freaking-time.

Anyway, I was pulling into the parking lot at work this morning, and somebody on the radio said something to the effect of "I know times are tough, but..." and I shut the radio off right there.  STFUMF - is what I thought to myself.  Maybe a little harsh, but hey, its my thoughts and I can get as angry as I want in my head.  I am just desperately tired of hearing about the economy - especially that one phrase - "times are tough".  Are times really that tough?  My wife and I have not lived our lives any differently since the start of this recession.  We still go out to eat, go see movies, and generally do what we want to do.  I feel like I have been largely unaffected by this recession.  These were my thoughts as I got out my car and headed into work.

At 10:30, I'm walking back to my desk from the bathroom and I happen to pass my boss's office.  The HR rep for the company is in there with him.  "Chad, come see a sec."  I walk in, they close the door behind me.  Oh shit, what did I do?

"We've been forced to make budget cuts and I need to cut two salaries from IT.  I tried to fight it, but they told me who to cut."

Long story short, I ended up getting laid off along with 16 other people today (2 from IT).  My boss looked like he was getting teary-eyed as he told me the news.  He made sure to stress it had nothing to do with performance and it was simply because I made too much money.  I also learned that they are getting rid of the building I work in and consolidating everyone to one building (we had 2 buildings before).  Damn, I guess times really are tough.

They gave me a severance package and my wife and I have enough saved up to get us by for a while.  I also think I will not have too much trouble finding another job (knock on wood).  So, I am not sweating it too much.  That being said, anyone out there have any leads for a .Net developer focusing on Domain-Driven Design and Test-Driven Development?  :)

Currently rated 5.0 by 2 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Personal

Agile Software Development from a Business Perspective

1. February 2009

I just ran across this video presentation with software development advice from Jason Fried - from 37Signals.  It's not really anything I haven't heard before, it is coming from an interesting perspective though.  Here are some highlights and things that jumped out at me:

Small Iterations

He talks about one of the tenets of Agile practice, the importance of doing short iterations (rather than long month-long stints) of software releases.  But he talks about it for the purpose of keeping the excitement in a project up.  As far as the stakeholders in a project our concerned, this is a very important aspect.  It is important to keep the stakeholders in a project interested and excited about what you are doing.

Functional Specs Suck

Functional specs don't work.  They are abstractions of the software that you are actually building.  Two people can read the same spec document and have completely different ideas of how the software will work.  Focus instead on building your software - "doing more of what works, and less of what doesn't."  With the short iterations and quick feedback cycles with your stakeholders, this leads to a much better design than any functional spec could.

Red Flag Words

A lot of "red flag words" can lead to a project going awry.  "Need" is a big one.  Most of the time, the client has no idea what he actually needs (see image below).  Don't let the client/stakeholder steer you in the wrong direction.

software_development1

"Easy" is another one -- "oh just get this-and-this done, it should be easy."  Or one that I have heard myself - "Why can't you just, you know, clickity-click it and get it done?"  It leads to animosity and sets people up for failure. (I know Alanna has experienced this first-hand at her job...)

 

He goes on to talk about a lot of other things.  One of the main themes is ease of use.  Is your software easy to use?  Does it solve a problem in a way that makes people want to use it?  Overall, its a good presentation if you are writing software for any type of business capacity.  Go give it a listen.

Currently rated 4.3 by 3 people

  • Currently 4.333333/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Programming

Lightbox for YouTube Videos

29. January 2009

On one of my recent projects, I needed to embed YouTube videos on a page using a lightbox-type plugin.  Naturally, the first thing I do when confronted with something like this is to hit up Google.  I ended up finding a few different solutions.

First off was Videobox - this is exactly what I wanted -- but ehh, it uses mootools.  Nothing against mootools, its a great little framework - but the whole site where this is going is already using jQuery.

Next I found CeeBox - ahh - exactly what I want.  This guy took Videobox and ported all the best parts over to jQuery.  But, oh wait, it uses the Thickbox plugin.  I forgot to mention that the site is already using the FancyBox plugin for images in other places and I'd like to keep the interface consistent.

Ok, so what I ended up doing was doing the same thing Ceebox did except with Fancybox.  I only added support for YouTube because that is all I needed at the moment (YAGNI, right?).

I think the end result turned out really nice.  All you need to do is include a link to the original YouTube video like so:

<a href="http://www.youtube.com/watch?v=rP-2ksWFk4o" rel="fancyvideo">Pop me up</a>

Then just wire up the script to all links with rel="fancyvideo":

<script type="text/javascript">
    $(document).ready(function() {
        $("a[@rel*=fancyvideo]").fancybox({
            overlayShow: true,
            frameWidth:640,
            frameHeight:360
        });
    });
</script>

This has the great advantage of gracefully scaling down for browsers with javascript disabled and just providing a link to the video.  For those with javascript enabled, the script automatically detects the link to YouTube (via regex) and handles embedding the video into a nice little popup window.

You can see a demo of it here and get the files here.  (By the way, the video in the demo is me fighting with myself via dog weaponage.  haha - I crack myself up...)

Currently rated 4.7 by 12 people

  • Currently 4.666667/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Programming

Hello Universe

25. January 2009

Hello to you and welcome to the mythical world of Chad's mind.  You are embarking on a journey of wonderment and mystery through one of the most bizarre things you will possibly ever come across on your journey through life - the mind of a Chad.

The mind of a Chad is characterized by many things - many of which is incomprehensible to the average human intellect.  However, if you find yourself intrigued and feel like you want to peer deeper into the light, read on gentle traveler.  There is much to learn.

Currently rated 5.0 by 4 people

  • Currently 5/5 Stars.
  • 1
  • 2
  • 3
  • 4
  • 5

Personal, Personal