Coffee and Code

The Life and Times of Jeff Woodman

First Previous 1 2 3 4 5  ... Next Last  Displaying 1 - 5 of 97 entries.

Still Alive

Posted: 07/19/2018 02:42 PM from Santa Fe, New Mexico | permaLink | Comment on this entry!

Tags: personal

This weblog has been inactive for quite a while. 1,579 days (or 4.326 years), to be exact-ish! I'm honestly very surprised that it's been that long, because it feels like much less time has passed.

I am still very much alive. I have made some career transitions from developer to web manager to full-on, non-technical management for my day-to-day work. Lately, I've missed application development and web design as a hobby... so, I got on the phone with my web hosts and got this blog working properly again. I hope to post updates of a personal nature in the future, but know better than to fully commit to it right now.

More to come!


Announcing jeff woodman dot com

Posted: 03/23/2014 02:44 PM | permaLink

Tags: web-design personal,

Hello, World!

Today marks a milestone, as I publish my first log entry on my new public website – To be correct, the website is not officially “live” yet. I still need to perform a number of tweaks and optimizations to the current design – but I’m very happy with the overall theme.

I’ve maintained some form of personal website since the late nineties. I do this purely for the love of internet tech, and have used my personal sites to make any money. In 2005, I created my first personal domain, Around this time, I was heavily into web standards and web 2.0, and wanted to cut my teeth with object-oriented programming techniques. I found designing and building the site and its related applications to be highly educational and valuable.

Nine years later, is still online.  :-(  I’m honestly going to be a little sad when it finally goes dark, but nothing on the ‘net ever really dies…

- Jeff Woodman – SFNM|USA

Erstwhile in New Mexico

Posted: 08/23/2013 10:27 AM | permaLink

Tags: personal camping new-mexico

Just a quick note to let you know that I am still alive and well here in sunny Santa Fe, New Mexico. The past two years of my life have been an absolute whirlwind. Ups and downs, strikes and gutters (as the Dude says).

Suffice to say, I'm happily re-employed at the New Mexico Department of Transportation, and even though I was away from the agency for 5.5 years, it feels as if I've never left. I am very lucky to work with a group of fine people that will literally do anything for friends, and we have a lot of fun as well. Tonight, several of us will camp in the Pecos wilderness now that parts of the forest have been re-opened.


ASP.Net - Supporting Currency Input

Posted: 05/13/2011 01:23 PM | permaLink

Tags: development regex

I have an ASP.Net application that allows users to enter currency amounts, which are stored in the SQL Server database with the type money. How can I support input of USD currency values, including the dollar sign and thousands separators, within the context of ASP.Net databound controls such as ListView, and declarative data access controls such as SqlDataSource?

There are a few little tricks you need to know to support currency input in this scenario.

1. The most important, magical trick I've found is to simply declare your parameter with no Type or DbType attribute.
Example: <asp:parameter name="TuitionPerCredit" />

2. Use a RegularExpressionValidator control with a really solid, well tested expression for validating the currency input The expression I've been using is applicable to US currency, so if you're coding for another culture, the advice in #1 still applies but you'll need a regex that applies to your specific currency format

The currency regex I use is below:


The regex above will validate entries like: $3, $3.00, $3,000, and $3000.00 It's not perfect, because it will validate something like $3000[.] (a digit at the end without the following two digits). However, I've found that SQL Server ignores the trailing period, so it's not a serious issue. The regex was posted on by the user JohnM, at the following link:

Finally, one additional word of advice: If you application has many areas where currency values can be entered or edited, centralize your Regex pattern inside of a resource file. That way, whenever you need to apply a RegularExpressionValidator control, you can obtain the pattern for use in the ValidationExpression property like so:

   ErrorMessage="The value entered in the 'Tuition' field is not a valid USD currency value."
   ValidationExpression="<%$ Resources:CommonValidation, Currency %>"
   runat="server" />

I am counting down to a full week off work beginning Friday, May 13th at 5:00 PM sharp. Oh yeah!

Ode to Pilates - A Haiku

Posted: 03/18/2011 03:13 PM | permaLink | Comment on this entry!

Tags: personal humor exercise

I am now quite sure

Joe Pilates is Satan.

Damn, my stomach hurts!