I Remember Those Days (Until Christmas)

Sounds like Jeffery Snover’s daughter is eager for Christmas to arrive.  She was wanting to know how many days she had left to wait, so of course he wrote her a PowerShell function so that she could always find out.

I called my daughter over to explain what a wonderful tool PowerShell was.  I explained that if she ever wanted to get the date, all she had to do was to type “Get-Date”.  I then explained how she could cast a string containing a date into a datetime object:  [Datetime]“12/25/2011″ .  She didn’t get that one so I quickly moved on to explain that the reason why that mattered is that PowerShell is … well … powerful and that it does something called “object math”.  Object math (the ability to perform mathematical operations on any object which supports them) made everyone’s life easier because that means you can do things like:
PS> [DateTime]“12/25/2011″ – (Get-Date)

(read more)

I can picture this same conversation playing out at my house a few years back, and the solution sounds like something I would do.  The conversation would probably go something like this –

  • One of my kids [Oomk] : Hey dad, how many days until Christmas?
  • Me: I don’t know, let’s figure it out.
  • Oomk: That’s alright, I just thought you might know.
  • Me: No problem, let’s fire up PowerShell and…
  • Oomk: Dad, there’s a calendar right here…
  • Me: …and let’s see, we can do date addition…
  • Oomk: … we can just count, it will only take a minute
  • Me: Yes, but then we will have to count every time, if we take the time to write a function now…

Spell check

work chat:

Ben V 2:51 PM
weird, I just expect spellcheck now wherever I type since it’s built into browsers
Jim H 2:51 PM
you use that word a lot. i do not think it means what you think it means
Yes, i expect inline spell check EVERYWHERE
but I usually test it by typing asdfasfd
If it squigles, life is good
Ben V 2:52 PM
no squiggles
Jim H 2:52 PM
I know – sukcs dusn’t it

SIRI is no Watson

The iPhone 4S is a nice device, and I’ve had fun using the voice integration with SIRI, but it seems more like beta code than a released product.  If I were the Product Manager for SIRI, I would make several changes –

  • Open Source the answers SIRI gives so that web users and the developers could see common questions that SIRI is asked that it could not answer, and they could build the correct responses for them.
  • Make SIRI handle “No Network” issues better – it seems like some basic functions should work without network access.
  • Give more feedback on why it can’t accomplish certain tasks – why you can’t set certain alerts or launch applications.
  • Make it smarter for reading email – if you can’t handle the amount of email I have, then handle the number of emails you can handle.

Body clock.

Every day at almost exactly 1:30 pm I walk into the lunch room to refill my water and Joan is there eating her lunch and reading her book. This is not planned, but it happens like clockwork. It is almost creepy. Even though I just got back from a week vacation, I still grabbed my afternoon water right on time and Joan was sitting there eating her lunch.

Work Conversation

  • Eoff: Don’t tell me you’ve been sucked into the Twilight series
  • Me: I wouldn’t say sucked in, but they are okay reads.
  • Eoff: I know, I’m reading them two.  Have you read the second book yet?
  • Me: I’m about 2/3 of the way through it.
  • Eoff: Does she ever stop being fascinated by every mundane feature about Edward?
  • Eoff: His breath was like the ultimate perfume.
  • Eoff: He picked his nose with elegant proficiency.
  • Me: His buggers where the most fascinating sparkling shade of green…