Monday, August 22, 2016

Fitbit One is the Loneliest Lost Tracker

The first one was a gift a few years ago.  It died and I couldn't revive it.  I got a discount coupon and I bought one.  Last week, like billions of dollars sent to the Iraq War effort,  I lost it.

Since then I noticed that the Fitbit One now has a sleep thingie.  Do I clip this thing on my boxer shorts?  Granted, I did see a lot of wristbands designed for the tiny Fitbit One.  The addition of a sleep thingie means the price varies anywhere from $60 to $100.   This bites.  I liked the tiny Fitbit One that I used to clip on my pant's pocket.  It kept a charge for a really long time.  Fitbit Ones and my ancient Amazon Kindle keep all their electrons!

I know how much sleep I get because I can't sleep 8 hours straight.

Tuesday, August 2, 2016

Code Test

I had a C# question a couple of weeks ago:  Print all of the even numbers in an int array.

(new[] { 1, 5, 6, 8, 33, 15, 212, 432, 244224, 131, 33225, 888, 64, 89, 101 })
.Where(x => x % 2 == 0)
.ToList()
.ForEach(x => Console.WriteLine(x));

In js it's even easier:

[1, 5, 6, 8, 33, 15, 212, 432, 244224, 131, 33225, 888, 64, 89, 101 ].filter((el) => (el % 2 == 0)).forEach(el => console.log(el))