Do they belong to you? Claim these comments.
Kris
Is this you? Claim Profile »
1 month ago
in CPA Exam Score Release Predictions - April/May 2009 Window - Wave 2 on CPA Exam BlogI ended up paying the fee to have them rescore it, but what a surprise I ended up with the same score. I know some people say it isn't based on a curve, but it has to be.
11 months ago
in Returning ‘null’ Considered Dishonest on Andy PalmerThe blinkNotEnoughMoneyLight() would live in the vending machine. I use it to bring up the point of how the code is intended to react to being able to give out a drink - blinking a light to the user indicating more money is needed.
There is no contract that there should always be a drink from a vending machine. There is probably a business rule that says that once the needed money has been given. The value of null would only given out when that precondition is violated, which would only happen from programmer error.
11 months ago
in Returning ‘null’ Considered Dishonest on Andy PalmerI agree with avoiding nulls in a codebase if possible, but I hesitate at saying that we should define a new exception type for each possible reason a contract is broken. It's more effort and maintenance to handle all those exception when the error condition probably should occur unless by a programmer mistake in the first place.
It's an old debate to be sure, but what's the strengths and weaknesses of:
if (weHaveEnoughMoney()) {
giveMeADrink();
} else {
blinkNotEnoughMoneyLight();
}
versus:
try {
giveMeADrink()
} catch(NotEnoughMoneyException e) {
blinkNotEnoughMoneyLight();
}
11 months ago
in Refactoring / Design: Composed Method on Andy Palmerpublic makeBase(Ingredients... ingredients) {
chef.washHandsIn(sink);
bowl.add(ingredients);
chef.mixIngredientsOf(bowl);
cake.addContents(bowl);
}
I'm not claiming this is perfect, but would be more in-line with a first phase refactoring:
1. Washing hands is a behaviour between the chef and sink. The details of which should not be exposed to the cheesecake.
2. The ingredients getting added to a bowl pushes the loop as a single operation into a single method.
3. Might as well move the construction of all the objects but allow them to be injected.
11 months ago
in Nashua Telegraph Blogs on Off TrackAmen to that, indeed! I rode my bike today to the drug store to pick up a Rx refill, and rode right up to the "drive-thru" lane! I got a surprised look from the pharmacist who waited on me, but he then took it in stride and said, "Nice day for a ride!" I couldn't agree more.
Saved gas, did an errand, burned a few calories... what's not to like?
1 year ago
in Test Drive OpenOffice 3 Beta in Ubuntu on Tombuntu1 year ago
in NO "DE FACTO" THIRD TERM FOR THE CLINTONS on Jack and Jill PoliticsThis reminds me of my college days, when the Kappa "bruhs" tried to get me to join the pledge line of their fraternity.
"You mean to tell me that I'm supposed to let you kick my ass EVERY night, get hollered at EVERY day, get humiliated in front of my classmates whenever you feel like it, and then, when I cross over, magically embrace you as my brother? Sheeeit!
The more I look at Hillary's face on the news, the more I see Bette Davis - from the snarl of her lips to the way she cuts her eyes, she has Davis's signature moves down pat. This woman doesn't need to win the nomination, she needs to win an Oscar - 'cause she sure is acting like a Class A beeyatch!
The saddest thing about this is she isn't alone - there are LOTS of people whose blood pressure is off the charts now that they have to seriously consider voting for a brown skinned man for president.
The fall is going to be hell. Be ready for the hoses! The dogs won't be far behind!
1 year ago
in John McCain’s REAL record on a MLK holiday on The REAL McCain1 year ago
in FOX Attacks Obama: The Dooce Is Loose on FOX Attacks!1 year ago
in Psst….Do Something — Join FOX Attacks! on FOX Attacks!1 year ago
in Fake letters on Fox? Kentucky doesn’t vote until May 20! on FOX Attacks!1 year ago
in OhGizmo! » Archive » Re-live The 80’s With The Cassette MP3 Player on OhGizmo!1 year ago
in OhGizmo! » Archive » Canon Hopes To Use The Photographer’s Iris For Copyright Protection on OhGizmo!1 year ago
in The Master Debaters on Tales Of The FencesitterMy gods, fence, that's pretty much the best lines I've ever read. Props to you! Just quit your day job, be a professional movie critic, and bitch-slap these FHM's so-called "writers" NOW!
1 year ago
in Obama Tops Democratic Power Rankings, Clinton Takes Third on The Iowa IndependentI just don't get it.
1 year ago
in How to Resolve Conflicts - Without Offending Anyone on CiteMan NetworkGreat Million $ Knowledgeable Points…
The Moral can be said..
ALWAYS REMAIN HONEST AND APPRECIATE THE OPPOSITE FOR GOOD WITHOUT FAIL..
*GOOD CONFLICT MANAGER*
(A Husband and Wife Relationship will be a best Example)
1 year ago
in Sky Sports’s Through The Night Gets a Makeover on EPL Talk2 years ago
in Enterprise 2.0 vs. SOA on Andrew McAfee's Blog2 years ago
in Upgrade to Wordpress Ella Complete on MusTech.Net Music, Technology, & EducationHAve a super day joe!!!!!!!!
2 years ago
in Nike+ iPod Update on Playing With Sharp ObjectsHi Ernie - Thanks for posting the changes! I was wondering why my script stopped working again… :)
2 years ago
in PHP Nike+iPod stats on Playing With Sharp ObjectsMy husband and I had a go at the code last night, and we decided to run the script as a cron job once a night (as opposed to every hour - I don’t run that often!). I also tweaked the display of the times and units a bit. (Note: metric units should be kilometers, not meters.) I also made a wizzy looking badge to display the stats based on the look of the Nike+ site. You can see it in the sidebar on my blog. My husband was also able to sniff the location of the complete run data file, so I’m hoping to update it to show the most recent run information as well. I’ll post my code once it’s finished. Thanks for the kickstart!
2 years ago
in 8 13/16 X 11 on Not To Be Trusted With KnivesWhat an amazing accomplishment, doc.