Monday, December 17, 2007

Seattle Startup Weekend

The next Startup Weekend has been announced and it's in Seattle. I've been somewhat involved in helping to get things going and am really excited to see how it turns out. The event will be Jan 25-27th. More details to follow.

You can register for the event or read up on what startup weekend is at the Seattle Weekend Announcement. It will likely fill up quickly.

Saturday, December 15, 2007

You know the fun Restart Now/Restart Later Windows pop-up that shows up when you have updates that you need to install? The one where if you click later it will just pop up again in a few minutes? I'm term serv'ed into a server that I don't have administrator rights on and it popped up. Only since I don't have shutdown/restart rights the restart button is grayed out. Since I have no choice in the matter why does the freakin thing even show up?

So I just drag the little window off to the edge of the screen where it will sit quietly and not bother anyone anymore.

Thursday, December 13, 2007

Creating Something Beautiful

I was catching up Joel Spolsky's blog earlier and he had a series of posts containing the transcription of a talk he gave at Yale (part 1, part 2, and part 3). The posts are long but I thought they were worth reading. In particular there were two things he touched on that I thought were interesting.

Testing
In part 1 he talks about testing and the fact that there's no realistic way you could have automated tests cover everything. He argues that at the very core the only thing you can do is check to ensure that one program behaves like another or according to a set of tests. Those tests however can't possibly cover everything that needs testing.

He gives an example of the move at Microsoft to more of an automated test process and the rumored laying off of testers who don't know how to code to bring in SDETs who can program those automated tests. He points out that those tests can't test a number of things that require someone actually look at the product such as whether thing were laid out in an orderly and logical fashion and whether the product has a feeling of continuity.

You can test a lot of things through automated testing but there's always going to be a need for someone with a sharp eye to go through and make sure everything is ship shape.

In-House Programming
In part 2 he writes about why an in-house programmer sucks. He gave three reasons and they are all very good but the one that really struck me was the second:

"So, the number two reason product work is better than in-house work is that you get to make beautiful things."

Numbers 1 and 3 are that you never get to do things the right way and that at a software company your business is software so there's more incentive for the company to treat developers like rock stars (and who doesn't want to be treated like a rock star now and again).

Number 2 stood out to me because it struck a chord somewhere and reminded me why I started getting interested in programming. I wanted to create something cool and useful and beautiful.

I played guitar for a long time and I didn't do it to pick up chicks (though I may have used it in that way a time or two), I did it because I wanted to create something. I wanted to write something that would touch someone or cause someone to open up their eyes to a new perspective or challenge an existing perspective. I wanted to create something beautiful. I used to sit and play for hours, now I only play around on the guitar here and there when my son (who is 18 months old on Saturday) points to it and either wants to watch me play and dance a bit here and there or wants to sit in the case after I've pulled the guitar out.

Currently I'm working on various small (on a scale of all development undertakings) projects. Some of them are pretty cool (like the one I'm working on now that I'll post about once it launches) and some of them aren't as cool (like forms). Though I can still work towards creating flexible and elegant solutions. In the grand scheme of things they may not be groundbreaking or hugely significant but they're still opportunities for elegance.

Someday I'd like to create something beautiful and significant. And I will.
I'm still so SO super busy. That said there's some sql stuff I wanted to post.

Copying One Table To Another
Want to copy all the data including the structure (with the exceptions of the constraints) to a new database?

Insert Into NewDatabaseName
Select * From OldDatabaseName

Want to just copy the structure without the rows?

Insert Into NewDatabaseName
Select * From OldDatabaseName
Where 1 = 2

What could be easier.

Unions
Unions are pretty cool. That said if you're using text, ntext, or image types you need to use a Union All. If you don't you'll get an ugly error like this:

Server: Msg 8163, Level 16, State 4, Line 1
The text, ntext, or image data type cannot be selected as DISTINCT.

Stored Procedure Output Parameters
If you're running a stored procedure that returns a data set you'll need to call SqlCommand.ExecuteReader(). If you also have an output parameter specified in the procedure you might be tempted to do something like this:

sqlDataReader = command.ExecuteReader();

string outputParam = command.Parameters["foo"].Value;

while (reader.Read()) {
//read your rows
}

reader.Close();
command.Connection.Close();

The above code will compile fine but you'll get strange exceptions on the line where you're reading out the param value. If you investigate you'll find that even though command.Parameters["foo"] isn't null command.Parameters["foo"].Value is. That's because when you're using a sql reader you need to close the reader before you can read the output param(s):

sqlDataReader = command.ExecuteReader();

while (reader.Read()) {
//read your rows
}

reader.Close();
string outputParam = command.Parameters["foo"].Value;
command.Connection.Close();

Now you know. And knowing is half the battle.

Friday, November 16, 2007

I've been crazy busy lately. I'm still crazy busy but I've decided to make a post here. I'm going to start posting little snippets of code that I've found useful or problems that I've resolved that I want to keep the solution to around.

Log story short I needed a TreeView to postback when the checkbox associated with an element changed. This search led me to This Post. The solution proposed there works great however there's one issue that took me a long time to hunt down. The last post on the page lists some script to spit out after you've created your object:

<script type=\"text/javascript\">
if (document.all) {
document.getElementById(YOURIDHERE).onclick = foo;
}
</script>

This code works great in IE but doesn't in Firefox. It took me a long time to figure out why but it's due to the document.all like. Firefox doesn't support document.all. If you see that somewhere and like supporting firefox users then don't use it. That's all for now.

Monday, October 22, 2007

On Prefix and Postfix Increment Operators

For those familiar with increment operators and their prefix and postfix usage skip down to just below the pseudo-code.

When you have a number and you want to increment it while stepping through a collection or something you can use the increment operator ("++"). That will add one to whatever number you pair with the operator. When using increment operators there are prefix and postfix forms. The prefix form is when you put the operator before the variable containing the number and the postfix is afterwards (++i vs. i++). Functionally these the placement results in very different functionality, if you use the prefix form then the number is incremented before it is evaluated whereas if you use postfix then it is evaluated after it's value is used. In other words (this is really simplified pseudo-code):

variable n = 0;
print n;
print n;

Will print the number 00.

variable n = 0;
print ++n;
print n;

Will print 11.

variable n = 0;
print n++;
print n;

Will print 01.

Awesome, let's continue.

The issue I have with this is that I can only use one at a time. I just came across a scenario where I actually got kind of excited about a line of code I had just written (which doesn't happen very often). The scenario was that I had a string containing tokens I needed however each token I needed was surrounded on both sides by tokens that I don't need. So I had something like:

;junk;ValueICareAbout;junk;junk;ValueICareAbout;junk;

This led me to writing the following lines of code:

for (int i = 0; i < tokens.Length; i++) {
  string token = tokens[++i++];
  Trace("Found Token: " + token);
}


Sadly the compiler informed me that what I had done is totally not allowed. Which made me sad. Because ++i++ looks awesome. And yes, I do realize that I'm a huge dork.

Tuesday, October 16, 2007

Freelance Finances

While I'm waiting for a 175mb SDK to download I thought I'd update since it's been a while.

Last month I brought in about a third of what I was bringing in at my former real job. This month is looking like it'll be a little more but it might not be by much. While I can have a month or two like this I don't know that I can have 3 months in a row like this. Savings can certainly help support us but that's not their intended usage. There are several things that I think I've learned or that have been reinforced by the current lack of extra funding:

Save In Times Of Plenty
I'm really good at spending money. REALLY good at it. It's really easy to look at your bank account balance and justify some purchase or another since you have the money when in reality you're not going to get a whole lot of use out of something. Having money saved away will help get through the sparse times.

Lower Your Standards
One thing I struggle with is pride. Especially when it comes to the things I have. This is especially true of the car that I drive. We have a Mini Cooper that we recently paid off. It's nice having it paid off (and certainly helps for months when I'm not bringing in a whole lot) but we're still paying more on insurance and it's expensive to maintain since it's more or less a BMW. My car has been a source of pride since I finished college and got a shiny new Subaru WRX.

All that said I don't need it. I don't need to spend money on every shiny object that catches my eye.

Re-Evaluate Your Priorities
This whole freelancing thing didn't start out as a way to make huge amounts of money. It would be nice if it started making me huge amounts of money but that's not one of the primary goals. I need to try to remember the other benefits of freelancing and weigh those into decisions that I make about my employment. What're the other benefits? I have so SO much more freedom with my time. I'm learning a whole lot in a variety of technologies. I'm my boss, if I'm working on projects that I don't like or don't like working with a specific client I don't have to. Overall I'm more in control of my time and how I spend it.

My download is done, back to work.

Thursday, September 27, 2007

Family-Work-Life Balance

The Family & Parenting Reporter for the Seattle Post Intelligencer Paul Nyhan made an interesting post last night about Work-Family Balance: Work-Family Balance is a Joke: Embrace the Chaos

The post talks briefly about efforts towards new family leave law in Washington and then moves on to an evaluation over whether a happy Work-Family Balance is actually realistic and attainable. He concludes that it isn't and that working parents need to roll with the punches.

I'm not sure how I feel about the phrase "Work-Family balance." Typically when I hear the term Work-Something Balance it's "Work-Life Balance" that's being talked about. I've never heard anyone without kids refer to their "Work-Family Balance." Perhaps it's only once we have kids that family actually factors into the equation.

I think that the phrase for everyone should be Family-Work-Life balance. Family comes first, then work (gotta pay the bills), and then you can squeeze in some time for yourself after you taken care of your family and your work is in order. Not that this is the arrangement of my priorities all the time but it's something to shoot for. Actually, the thing to shoot for is Family-Life-Work but that's really hard to do. Focus on your family and living your life and let work be an afterthough. Work to live vs. the other way around and all that.

Finding time for yourself is definitely a challenge even as a single person with a full time job let alone as a parent. Pamela Slim (who maintains the Escape From Cubicle Nation blog) posted yesterday morning about 8 Strategies to get the most from painful or awkward life transitions. A lot of the strategies she posted definitely apply to parenting and the attempt to maintain some sort of balance. In an effort to not copy the meat and potatoes of her post into mine I'll say you should go check out her post. I'll end this with a quote from that post that I really liked:

The interesting thing is that no matter what the ultimate benefit of a change, going from "what was" to "what will be" can be very unsettling.

Saturday, September 22, 2007

The Excel Interop

I just finished up a project working on a win32 client application that is used to import data from an Excel spreadsheet into a database via a secure web service. Working with the interop was interesting and it was nice to get exposed to something new. I'll post more about web services later (as well as returning custom data types via web service methods, serializable Dictionary objects, and converting rtf to html) but I wanted to rant about the Excel Interop a bit.

Indexing
When I started working with the interop I went in and created an instance of Excel:

Microsoft.Office.Interop.Excel.Application excelObj = new Microsoft.Office.Interop.Excel.Application();


This is all well and good. After that I set visible to false and went about starting to access some of the bits and pieces in my xls file. Oh, and because we're using C# and because Open isn't overloaded:

Microsoft.Office.Interop.Excel.Workbook workbook = excelObj.Workbooks.Open(
filename,
Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value,
Missing.Value, Missing.Value, Missing.Value, Missing.Value, Missing.Value,
Missing.Value, Missing.Value, Missing.Value, Missing.Value
);

Microsoft.Office.Interop.Excel.Sheets sheets = workbook.Worksheets;
Microsoft.Office.Interop.Excel.Worksheet worksheet = (Microsoft.Office.Interop.Excel.Worksheet)sheets.get_Item(0);

Now, if you run this code you'll get an exception citing an invalid index:

System.Runtime.InteropServices.COMException (0x8002000B): Invalid index

If you're like me you'll immediately try starting your index off at 1 because I suppose it makes sense to start off your worksheets at 1. As much as this seems like VB and as much as I don't like VB I think I can live with it. So you change the sheet number to one and go on your merry way.

Then you try to access some data in your first worksheet:

string str = (string)((Microsoft.Office.Interop.Excel.Range)worksheet.Cells[0, 0]).Value2;

Running this code gives you an exception and you want to assume it's because you started your indices off at 0 but it doesn't quite make sense because it gave you a different exception:
System.Runtime.InteropServices.COMException (0x800A03EC): Exception from HRESULT

Hopefully at this point you immediately try Cells[1, 1] and don't spend some time trying to figure out what you did to go from a meaningful exception that made sense to a generic COM Exception. If you try 1,1 you'll find that it works and all will be right in the world.

What bothers me about this isn't the fact that I have to start the index off at 1 rather than 0. What bothers me is that when I tried to open a worksheet with an out of bounds index I got an exception telling me that it was an index issue. When I tried cells that were out of bounds I got a generic exception. The worksheet exception was actually helpful and immediately let me know what the problem was whereas the cell exception wasn't even though it was pretty much the same exact issue.

Killing Your Instance:
I'm not even going to into detail on this as it's been beaten to death already. Killing off an instance of Excel is a pain though I don't think that's really the fault of the interop. You have COM to thank for that one. Essentially you have to make sure that for each Excel COM object you create you're calling ReleaseComObject:

Marshal.ReleaseComObject(excelObj);

And then calling the Garbage Collector:

GC.GetTotalMemory(false);
GC.Collect();
GC.WaitForPendingFinalizers();
GC.Collect();
GC.GetTotalMemory(true);

I'm not really one to talk in this instance though since my client app still has a bug where when multiple instances of the Excel application are created once I close them out all of the processes go away except for the first one I created. It's really bizarre. See the references section for some links.

Hyperlinks
This isn't so much a beef with the Excel Interop as it is with Excel in general. In Excel you can't have a link within a cell. You can have the entire cell be a link to some location but you can't have the text "click HERE for pictures of my cat" and have only the text "HERE" act as a hyperlink. This ended up saving me some time on the rtf to html conversion but is kind of lame in my opinion.

References:
Here are some of the pages that I found the most helpful when working through this:
- MSDN: Excel Tasks
- Craig Murphy: Excel Interop - killing Excel.exe
- MS Help and Support: Office application does not quit after automation from Visual Studio .NET client
Excel Solutions Forum

Tuesday, September 18, 2007

Catching Up

I've found myself wanting to post fairly often lately. Typically it's about some technical aspect that's either irritating me or making me really happy. It's not very often that I'm working with something and I sit back and reflect on how much I love n technology because n technology makes my life easier or is just plain cool. I've gone through and made draft posts containing nothing more than a title and a brief description for some of them and at some point I may come back to them.

I need software that automatically extracts a topic along with my feelings towards and knowledge of that topic from my mind with minimal effort on my part. It would then take the randomness floating around in my head and structure it in a rational way, write up a few paragraphs, and post it to my blog. That way when I say to myself "wow, this is really cool" or "holy hell this is such a pain to work with" I can just hit a button and a post automagically appears on this blog (or whichever blog I choose).

Joel Spolsky

I know some people don't like Joel Spolsky and I know some people do. I'm in the latter camp and I don't care what other people think. Sure some of the things he writes and posts about aren't of a whole lot of interest to me. But then he'll post things like this and it makes up for all the posts of his that I only skim or skip over.

If you have time go read his most recent post (as of my posting this) here:
Strategy Letter VI

This article was particularly largely for the history of computing and software aspect. Being rather young in the grand scheme of things I don’t have the amount of experience and perspective that he has. Given that fact I appreciate hearing about things like the rise and fall of Lotus 1-2-3 and the changes in the business of writing software as a result of the progression of hardware. It’s even more interesting when patterns can be identified.

I'm not sure what happened to Strategy Letters 1 - 5 but I'm sure they were at the very least somewhat interesting. I may have to go dig those up at some point.

Tuesday, September 11, 2007

Restructuring

I've decided to change things up a little bit. From now on I will be trying to post a lot more often and on a larger variety of topics. I can only post about the struggles and triumphs of working from home so much. This doesn't mean I'll be posting pictures of my cat (I don't own a cat but I could always post photos of the neighbor's cat) or what I had for dinner tonight. From this point forward there will be more variety which will likely include little technical snippets, some details regarding what I'm working on, and my take on living with a kidlet.

Oh, and we're expecting kidlet #2. Good times.

Tuesday, August 21, 2007

Title Goes Here

I've been neglecting this thing lately. Almost two weeks since my last post.

I've fallen behind a bit as of late and as such am juggling multiple projects and running to catch up. This leads to me staying up late working after the family goes to bed (which I don't especially mind that much I just don't like worrying about not getting things done on time). Which then leads to me being rather exhausted most of the morning after our 14 month old gets us up (though huge thanks go out to my wife for letting me sleep in a little after the really late nights). I then become actually productive around 11am and the cycle continues.

It's almost 5am and I tried to go to bed around 3 but wasn't quite able to shut off my brain. Around 3:30 I decided to get back on the computer and get some work done. A little while after that I decided that drinking brain function impairing beverages (beer) was a stellar idea and a sure-fire way to get to sleep sometime soon-ish. I'm on #3 and I predict that by the time I finish this one I'll be lubricated enough to head to bed and get some sleep.

Casey's recipe for shutting your brain off when you're up way too late and can't sleep:
1 - Get beer #1 from fridge
2 - Continue to work.
3 - Get beer #2.
4 - Continue to work.
5 - Beer #3.
6 - Decide you're in no shape to work and post to your blog or go play what may very well be the most addictive and frustrating game ever or something.
7 - finish beer #3 and head to bed leaving empty bottles on desk in case anyone comes over and wonders what you do all day.

For best results the above steps should be completed inside of around 30 minutes.

On that note, I'm rounding the corner on 3 at which point I'm going to head to bed and try to sleep.

Wednesday, August 8, 2007

Work vs Home

One thing that's kind of hard about working from home is that you're never really at work and you're never really at home. I can go downstairs to my "office" but I'm still home. At the same time I can be hanging out with my family or watching a movie with them but work is only a flight of stairs away. I find myself getting distracted and feeling like I should really be working and visa versa.

When I worked a real job I tended to not work from home very often most of the time. There would be periods of time where I would have something I needed to work on from home but in general most of the time I spent working was in the office. While I still had trouble leaving the stresses of work behind when I was at home it was much easier to differentiate that time as not work time.

If I tried to keep set hours that might help somewhat but I'm not really a set hours sort of person. This morning I slept in and didn't get started until late morning (10 or 11-ish) and in the past I've tended to wake up before my family and head downstairs to work until they're up. Weekends are just times when I tend to work less but I still typically put some time in (sometimes a lot of time in). I don't even really keep a mental summary of how many hours I've been working anymore.

In this case I have work I need to get done but it'd sure be nice to go sit and read stories with my wife and son (I can hear them reading Goodnight Moon) and then head to bed. The work isn't going to do itself though.

Tuesday, August 7, 2007

Home Again

Oh man, I had a great weekend. The wedding I went to was quite a departure from the standard wedding one typically goes to and was much more of a weekend party with friends than anything else. It was a lot of fun but an exhausting weekend made worse by the exhausting trips down and back. Something about being in a car for an extended period of time, even if you aren't driving, is just plain tiring. I drove about 10 hours yesterday (SF to Washington) so that wasn't helping either. Today I feel like a bit of a zombie and am having a hell of a time actually getting any work done.

It's continually surprising to me how much I miss my wife and son when I'm away from them for more than a day or so. This whole marriage and fatherhood (married last November '05 and our son was born June '06) thing is still kind of new to me and I'm often surprised when I realize something like this even if it's something that is expected or the norm.

When I got home last night around 11pm my wife and son were still up (apparently he was just starting to go to sleep while they watched a movie) which was really nice. When they heard me come in they came down and met me and our son did his little happy full body shake thing. It's good to be home.

Friday, August 3, 2007

Crunch Time Update

Well, it's Friday morning and I'm waiting for my ride out of town to show up.
I finished the largest project of the three however it took longer than I had anticipated. The project itself is a library for the creation of images in a variety of formats with really flexible text rendering capabilities as well as some helper functions and whatnot. I think the time was worth it though as the extra time I put into it went a long way towards making it more usable and flexible.

Because of that extra time the project took I haven't been able to focus on the other two as much as I'd wanted. I'm about halfway through the larger of the other projects and should be able to finish that Monday night or Tuesday. The good news is I managed to get the target date moved out to EOD Tuesday since both me and my "boss" are going to be on the same trip and he understands that we probably won't be back until afternoon/evening on Monday and even then won't be good for a whole lot. Though when I get home it’s definitely family time as I’m going on this trip without them.

Sunday, July 29, 2007

Crunch Time

Last Wednesday I had three projects come in. The projects are all somewhat intertwined and all share a common target completion date (Aug 6th) and due date (Aug 10th). On top of that I'm going to be taking a road trip down to San Francisco for a friend's wedding from the 4th through the 6th. The 4th and the 6th are both pretty much write-off days since we'll be driving most of the day. That means I'm trying to have all three projects pretty much wrapped up and finalized by the time I leave Friday morning.

I've made really good progress on the largest project and I don't anticipate having a problem completing at least two if not all three of them by the time I leave. That said I need to make sure I can stay motivated between now and then (unlike Friday when I got fairly little done; I blame the sunshine and the fact that it was Friday) and will be putting in some long hours.

Fun times, I knew it wouldn't be easy but its worth it.

Wednesday, July 25, 2007

The Naked Truth: Followup

Last night's The Naked Truth event was fairly interesting. Most of the discussion consisted of discussion regarding the best way to get media attention for your startup. The panel consisted of:
- John Cook: Seattle Post Intelligencer
- Tricia Duryee: Seattle Times
- Michael Arrington: TechCrunch
- Fred Vogelstein: Wired
- Becky Buckman: Wall Street Journal

It was an interesting discussion though one whose content I don't have a reason to apply currently.

After the discussion there was a get together which basically meant hundreds of local entrepreneurs and other geeks drinking free beer, eating free bbq, and talking about whatever it is that they're into. I hung out with Hans Omli, met John Li from Menuism, Brian Dorsey from Noonhat (here's is a video of Brian introducing the site concept at SeattleBizJam), and some folks whose names and affiliations I can't remember.

Tuesday, July 24, 2007

Boundaries

One aspect of working from home that has been an off-and-on issue is that of a lack of uninterrupted time. I have a much easier time focusing on work and getting things done when my wife and son are out running errands, have already gone to bed, or are upstairs where I can't really hear them. If they're up on the main level above me it's really distracting. Often I can hear that my wife is trying to get something done but our son is being a hand-full which makes me feel guilty for not going up and helping. That and our son knows I'm down here so he'll go stand at the top of the stairs and call me sometimes. While endearing it's really distracting and makes it hard to work.

I'm not sure how other people have handled this but I will probably try to make a move to working more after they've gone to bed. Last night I worked late (3am) and was able to focus better and got a lot done.

Monday, July 23, 2007

Ignite Seattle - Half Baked Dot Com

Recently it was announced that at the next Ignite Seattle rather than doing a Make Contest as they've done in the past they are going to hold a Half Baked Dot Com event:

"Half-Baked Dot Com is a participatory exercise in entrepreneur improv conducted by five teams of startup addicts and judged by a crackpot panel of venture capitalists & D-list bloggers (or whomever shows up first). Faster than foreplay with jenna jameson, more creative than a VP explaining a quail hunt, and nearly as much suspense as a scheduled train wreck, Half-Baked is the latest Web 2.0 craze sweeping the unconference circuit. Show up early and bring your A-game if you want to participate, otherwise bring your [video]camera to record the heinous crime to be perpetrated on an unsuspecting audience."

In the past I've shown up for the Ignite Seattle events shortly before the talks how for this one I think I'll definitely be showing up early and possibly trying to participate. Team selection starts around 6:30 and the team presentations around 7:30. The Ignite talks will start at 8:30 as usual. They've posted a list of the talks but may be adding more. Here's the current list:


  1. Shawn Murphy - Hacking Chocolate

    Anybody can create interesting and new chocolates with some basic ingredients, imagination and a little technique.

  2. Deepak Singh - Small medicine: Nanotechnology and biology


    The start of the art in the applications of nanotechnology to healthcare and medicine

  3. Derek Gaw - uncluttring Amazon

    Amazon’s experience is often criticized for being too cluttered. I decided to see what I could do to clean it up.

  4. Elan Lee - My Clothes Tell Secrets


    Examples of storytelling and entertainment embedded in the fabric of the clothes we wear.

  5. Brian Dorsey - An embarrassment of riches - the story of Noonhat

    We live in amazing times. Individuals and small groups can build small things with big effects. Even working part time.

  6. Dave McClure - Startup Metrics for Pirates: AARRR!


    A simple 5-step model for measuring startup success: 1) Acquisition 2) Activation 3) Retention 4) Referral 5) Revenue

  7. Rob Gruhl - How to buy a new car

    Get your next new car for the best price.

Tuesday, July 17, 2007

Into the 2nd Week

So I'm into the second week and thus far I've gotta say that I'm really liking this whole freelancing thing. At this point I haven't really been worried about lining up other sources of income apart from my friend's company but I should think about starting to do that at some point in the near future. Last week I finished up updating a control and thus far this week I've almost finished a resource export tool (exports from the DB Resource model my friend's company uses to Microsoft's resx model).

It feels more like I'm on a vacation than actually having a job. I'm getting things done and working a fair amount but it's completely different. I kind of dig it.

Saturday, July 14, 2007

The Naked Truth

For what it's worth a friend of mine just talked me into signing up for an event called The Naked Truth on July 24th. Here's what the wiki says:

The Naked Truth is a meet-up for entrepreneurs, journalists, and bloggers to talk about how we tell our stories.

There's a panel discussion that's limited to 200 people and an afterparty limited to 500. When I added my name to the list it was up to around 170 for each so hurry and get your name on the list if you're interested.

Also, the next Ignite Seattle event is happening on August 8th. I'm hoping to make it but we'll have to wait and see.

Tuesday, July 10, 2007

Minimizing Information Intake

A while back I read through Tim Ferris' The Four Hour Workweek and really got a lot out of it. I'd highly recommend reading through it as it is an easy read. I'll talk more about that later but I want to touch on something that Tim stressed in his book: The Low Information Diet.
In his book he (spoiler alert) challenges the reader to go on a one week media fast from news (websites, papers, magazines, television, etc...), television, and web surfing that's not required for work. Upon reading the challenge I immediately stopped my excess web surfing (reading various blogs that I kept track of just because, LiveJournal, etc...) for a week. I don't really watch television apart from movies with the family but that isn't a huge time sink for me. I found that it wasn't really that hard for me to give up reading the blogs (I've been using Bloglines along with their download-able notifier to keep track on when blogs I watch/read had been posted to) and random surfing that really didn't accomplish a whole lot. LiveJournal also wasn't terribly hard to give up however a side effect of that is that I started feeling out of touch with friends who I only really keep track of via that medium.

After the week was up I started allowing myself to keep up on the blogs and whatnot; however, I found that I didn't really care to keep up on a lot of them that are random tidbits of information with some current happenings online and in real life. I also didn't pick LiveJournal back up which is kind of a mixed blessing. As mentioned above I feel rather out of touch with the folks that I kept up on via LiveJournal however I've been able to free up a lot of time by not going back and checking my friends page frequently.

Today I went through and removed some of the most posted to blogs from the blogs I'm watching in Bloglines in order to limit the amount of time that I spend reading blog posts. I'm going to try to only check blog updates in the evening once I've finished working. I don't have a solution yet for LiveJournal and for the time being I'll just check in on specific friends' journals to catch up on them when they come to mind, or I may create a filter for friends that I'm most interested in keeping up on to limit the amount of extra stuff I'm reading through.

Fun times, back to work.

Monday, July 9, 2007

Day 1

Today is Day 1 of working from home. Thus far I haven't gotten a whole lot accomplished; however, I've done a fair amount of work setting the stage for getting things done. I haven't had a desktop computer at home for about 5 years. Currently my wife and I have one mostly functional Windows laptop (the back light died and I haven't gotten around to getting that fixed), one Apple laptop that sits at it's desktop for about 10 minutes upon booting up before it will let you do anything and is really painfully slow when it decides to let you work on it, and another Windows laptop that my son managed to kill by picking it up and dropping it a few inches. I've done my due diligence trying to fix the laptop my son killed, however as my overall troubleshooting knowledge of Mac's is little to none I haven't even tried to fix it.

In order for me to be working from home I'm setting up on the bottom floor of our townhouse (we have three floors: garage and a rather large entry room, kitchen and living rooms, and 2 bedrooms on top) as my office and needed a computer. Before leaving for the beach I purchased a barebones kit and some other odds and ends from TigerDirect which was waiting at the UPS center for me when we got back from vacation. I spent a few hours over the weekend getting it mostly assembled and today I finished it up, got most of the software I'm going to need immediately installed, and started reading up on the first project I'll be working on and reviewing the code that has already been written.

That and I took a long break when my wife and son got back from the park to go out back and grill up some hamburgers and hang out with them for a little bit. What a luxury that was, being able to just stop what I was working on and take around an hour to make burgers and hang out with my family without having to think about the pointless emails in my inbox and trying to ensure I make it back in time for a meeting.

I'm off to make dinner now and then spend some time with the family and possibly squeeze in some more time getting up to speed on that project. I have no doubt tomorrow will be more productive. And I think I'll grill up some sausages.

Saturday, June 30, 2007

Getting Started

On June 29th 2007 I left my 9 - 5 wage slave programming job to take advantage of an opportunity to go freelance. This blog is intended to chronicle that transition and the challenges and issues that will inevitably come up along the way.

First, a little background. I finished school about 5 years ago and have spent that time doing software development work for a couple different companies. In that time I also got married, had a baby, and bought a house. My wife hasn't had a day job since our son was born and we don't anticipate that changing any time soon. She tends to always be working on some project or another and keeps herself busy, I don't mean to make her out to look like a slacker. Though taking care of a one year old full time is work enough if you ask me. Over the past 6 to 9 months my day job had been becoming more and more of a stressful, draining place to be and I was quickly losing motivation. I was dreading going to work and I didn't feel like I was getting anywhere in an environment where I was pushed to learn and make things better.

I've done some freelance work with my evenings for a company of a friend of mine. There's been work when I want it and have the time, however due to my having a day job (and a wife and son), I wasn't able to dedicate a great deal of time to those projects. The fact that there was enough work to keep me busy full time had come up however I had never really given it the consideration that perhaps it deserved. About a month ago a fairly large project came in and he offered me a chunk of the work if I was interested. The scope and time frame of the project wouldn't be conducive to holding down a day job AND taking on the project. In addition my friend has a fair amount of work both internal to his company and customer facing lined up at this time and more work has and will be coming in. After a fair amount of discussion with him and even more discussion with my wife the decision was made to go ahead and give it a try.

Some of the key factors that have played into this decision are flexibility, incentive, and potential:

- I'm going to be working from home for the time being however with this type of work I have the flexibility to work from pretty much anywhere I can plug a laptop in with a wireless connection. My son recently turned one and I'm really looking forward to having the chance to spend more time at home with him. Granted moving to freelance will probably mean working longer hours but for the most part I can dictate when those hours take place.

- Working on the projects I choose means I have additional incentive to take projects and bust my ass when that's called for. This will be a tremendous learning opportunity, if I want to learn a new technology then I do it and it's a marketable skill. I don't need to try to convince a group of managers that moving to some technology will greatly improve performance, lower overhead, or improve employee productivity. Because I'm working on projects (at least for the time being) and will typically be getting paid per project I can work my ass of to make a nice chunk of change in a hurry and then take a couple weeks off to go take a road trip to visit family or travel abroad. That's just not going to happen at a day job where you have a set amount of vacation and if you work extra extra hard for a period of time you might get a bonus (or a company branded clock in the case of my last company) and maybe they'll even give you extra time off but that's not the norm. If you up your output because you're working 60 hours weeks they're going to wonder what happened when you decrease to 40-ish hours a week. Working 60 hours a week just because doesn't sound that good to me.

- The simple action of leaving my day job has created a great deal of potential not only financially but also in regards to life experiences. Now that I'm no longer chained to working on making money for someone else's company I can work on creating my own if I want. The goal of an employer in most cases is not to make you rich and give you the freedom to take time off whenever you want (NOTE: If any of you want to hire me and make me rich while allowing me the freedom to take time off spur of the moment and work odd hours let me know). If you're producing well it's in your employer's best interest to provide you additional incentives to stay with their company but ultimately it's about whatever is in THEIR best interest.

I'm not sure how this will play out but I have high hopes. Stay tuned, we're off to the beach for a week but I'll be getting started July 9th.