Tuesday, September 16, 2014

"The Martian", Chapters 6-21.

Nice day on the beach yesterday, so I read a lot. Several new characters as we switch POV back to Earth. Some more Science, some joy as communications are established, plans are hatched, foreign intrigues are schemed, and CNN reports. And the inevitable mistakes are made. But so far our plucky hero, who now has a last name as well as a first, is still alive and really getting tired of disco.

Monday, September 15, 2014

"The Martian", Chapters 3-5.

In chapters 3, 4, and 5, we do science. All with the goal of surviving until some sort of rescue. There's botany, as the Martian (whom we learn is named Mark) figures out how to grow food, and chemistry, as Mark figures out how to water the plants he's growing. A few harrowing moments as we remember he's living in a closed system.

Preview of chapter 6: a new character shows up!

Sunday, September 14, 2014

"The Martian", Chapters 1-2.

I've read the first two chapters now, in which our so far unnamed protagonist finds himself stuck on Mars without a way to get home. No spoiler alert because that's really pretty much what the book's about - you knew that, right?

In the beginning Weir is mostly focused on giving us the background about the Mars program, plus some technical details about the equipment he has available. Then there's some info about what he needs to survive - food, water, air, shelter, etc. That's pretty much the story of the first two chapters. Onward!

Saturday, September 13, 2014

Blogging "The Martian".

I got an email from Blogging for Books asking if I wanted to receive free books. Of course I said yes! The only catch is that I have to review them. So what I plan to do is to review the books they send me right here on my blog. Inspired a bit by David Plotz's Blogging the Bible, I'm going to blog as I read.

The first book is The Martian by Andy Weir. I'm starting tonight. 

Tuesday, April 15, 2014

On Waste.

Reading the New York Times "Room for Debate" on the fate of bookstores, I was struck by this comment by Naveen Srivatsav:
Consider the fuel consumption alone behind the production of paper, the printing of books and the transporting of these books to bookstores worldwide. If the cloud infrastructures we're building and the digital screens we're inventing can alleviate the need for paper, that alone is reason enough to cease and desist.
I realize that a lot has been written about the carbon footprint of cloud computing, but this direct statement in the context of the publishing industry makes me wonder if the single-sourcing of carbon footprint alone makes it worthwhile changing media from physical to virtual.

Let me be more clear about that question.

I'm sure there have been numerous studies of the relative carbon footprints of printed vs electronic books (like this paper, with some interesting [ab]use of the English language) but what I'm interested in here is the benefit of moving your carbon footprint from a multitude of sources down to a single source (i.e., electric generation to power everything in the cloud). I tend to believe that a single source of waste is better than multiple sources, since it's easier to eliminate waste from a single, well-known source than it is to track down and optimize multiple, smaller sources.

As Srivatsav states, there are a number of different places in the production and delivery of books that each introduce their own waste: paper production, printing, binding, shipping, heating and air conditioning physical bookstores. Each of those steps potentially has its own unique externalities (paper pulp, ink disposal, binding glues, exhaust from delivery trucks, etc.). In the cloud, we have massive data centers, increasingly powered by renewable energy sources. And where they are not green, they can more easily be made green because of consolidation.

Or maybe we should all just change our fonts?


Thursday, March 20, 2014

More Evernote.

I recently wrote about my new note-taking scheme. Today, I want to give a progress report and add some details about additional ways I'm now using Evernote to supplement my brain.

A while ago I started using ifttt to automate some tasks that would otherwise take too many steps to bother with. For example, I use it to track updates to certain websites (via their RSS feeds) and automatically save new articles to Pocket (I also use Pocket to save articles for later reading from Feedly, Twitter, and Facebook, among other tools. Sometimes I use Yahoo! Pipes as an intermediate step to filter a feed by a certain keyword or author, or to do other more complex operations that ifttt can't do by itself).

Ifttt has a number of channels that I am using to create new notes in Evernote. For example, I can call up ifttt on my phone and record a message, which will be posted as an audio file to Evernote, as well as being run through a text-to-speech processor. (I'm not quite sure whose text-to-speech processor is being used for this. If you know, please fill me in!)

For another example, I have started trying a new trick to automatically create notes related to any travel that I take. I take my RSS activity feed from TripIt, filter it through a Yahoo! Pipe to only show those entries that indicate I am leaving on a trip, and then have ifttt create a new note for me to enter any notes I may want to take about the trip. I've just set this up so I don't know how well it will work yet, but I'm enthusiastic about the possibility of automating yet another aspect of my life.

What kind of automation tricks are you using? Let me know!

Thursday, January 2, 2014

Evernote + Moleskine.

I'm sure this is not a new thing, but I tend to be a bit of a late adopter of things that cost money. However, since my boss gave me one of these fancy Evernote Smart Notebooks for Christmas, I'm going to give it a try.

My current workflow for taking notes is a bit kludgy. I am very fond of taking handwritten notes (typically with my Levenger True Writer fountain pen on a No. 18 Rhodia pad), but I want to make sure my notes are available to me whether I'm in the office, in my home office. or traveling. So I gather up my notes every week or so and run them through my scanner, name the files with the date of the notes on that page, then put the scanned files in my Google Drive. Works well enough, I suppose, but this process means that if I want to search for something specific I have to remember more or less when I wrote that note, then look in the notes for that date.

At some point I had experimented with putting those scanned notes into Evernote, but the results were far from perfect, as the attached scans appeared as linked documents, not embedded into the note itself. (I see now that that has changed, so the scanned pages appear in the body of the note itself. I think I will be transferring those scans into Evernote now.)

In addition, I sometimes use Evernote to take notes on the fly or to save some notes that someone has emailed to me. So that adds a second place to look for notes (or really a third place, for those notes that I forget to copy from email).

So here's the new thing: with the Evernote Smart Notebook, I can jot my notes as always, in a specially designed Moleskine notebook with a special grid pattern. Then I can use my smartphone to take a picture of each page, and it will not only automatically create a note in Evernote, it will do an OCR scan of the page so that I can search it from within Evernote on any device. It also has some neat tagging functionality using these little stickers that come with the notebook. It comes with a 3 month premium Evernote subscription - note sure what the benefit of that will be for me.

I think I'll try this thing out for a bit and see how it improves my note taking process.

Update:
It seems that the OCR feature is not specific to the special notebook; it works on any PNG, GIF, or JPG document, as well as any PDF that contains mostly bitmaps. That's handy! But it does make me question whether the notebook is worth it? The only thing it seems to add is the tagging - which, by the way, is limited to a set of six customizable tags, there is no ability to write a tag on the document that gets scanned.

Wednesday, April 13, 2011

New things afoot.

I tweeted recently that I felt as though a fortune cookie was coming true, though not a specific fortune that I had actually received at a Chinese restaurant. What I meant was that several things had seemingly fallen into my lap, though they were things that I hadn't really planned on, and in at least one case, wasn't sure I really wanted. That last one I don't think I will ever be able to speak publicly about, but another one I hope I will be able to blog about by the end of the week. Stay tuned!

Monday, September 27, 2010

I hear there's a new twitter.com.

The tweetosphere has been deluged with talk about the new twitter.com. Out of curiosity I went and looked today, and, yes, I have it. A couple weeks ago it was all about Google live search. Nice, sure, fantastic technology.

But I don't ever go to twitter.com or google.com in my web browser. Both services have exposed their functionality via APIs, and I use tools that access them via their APIs. So I really don't think fancy new skins for Google or Twitter will affect me at all, besides forcing me to ignore commentary about how great they are or how someone doesn't have the new new yet.

In this regard, I guess I have to agree with Wired: the web is dead.

Wednesday, April 28, 2010

Stop stealing my IP address!

I have had sporadic network problems at my client site.  On certain days, it seemed like my network connection would partially drop every 10 to 15 minutes. By "partially", I mean that some connections would stay up with no problem (like to an IRC channel, or connections to Google), but everything else would disappear, both locally and on the internet

My laptop worked fine on other networks, but it didn't work on any port at the client.  But this was only on certain days.  For a while it seemed like it was just on Tuesdays.  The only way I could get it to come back was to either restart NetworkManager or physically unplug and replug the ethernet cable.

With a little help from a number of online friends, I figured out the problem was an IP address conflict.  Switching to traditional ifup/ifdown, the log showed me exactly what was happening... the address DHCP was handing out to me was already taken by someone else.  (00:08:02:8a:1b:04, I'm lookin' at you. Stop hard-coding your ip in the DHCP range!)


Thanks to advice from the enterprising Matt Hunt, I used GNU Mac Changer to change my MAC address so that DHCP would hand me a different IP address, and everything now works fine.

Wednesday, February 24, 2010

IT FAIL

I'm not normally the kind of guy to complain about tech support, since I have worked in that business and know it's not easy. But the corporate IT process is just fundamentally broken.  Let me describe.

My laptop started freezing shortly after login time. Sounds like bad RAM to me, so I boot up the wonderful memtest86+ to see what it says.  Sure enough, bad RAM,  So I contact our helpdesk and start the process.

A very nice person in the Philippines picked up the other end of my IM session.  I explained the situation, and he said "Ok" a lot. When I described how I had run memtest86+ and discovered the bad RAM, his inscrutable response was "I can check that for you." I wonder how he's going to do that, exactly. Anyway, he issued me a ticket number and would have ended it there if I had not asked him what to expect next (a call from someone more local, apparently).

I got a call from someone at least in the same country with me, who told me I had to call Lenovo, since they have the warranty on this particular laptop. I'm not sure why I have to call them, since they're supposed to be the IT department around here, but sure, I'm game.

So I called up Lenovo, who helpfully looked up my laptop and told me I must have some third-party RAM since it only shipped with 2 gigs and I now have 4. So back to my IT guy, who told me to open up the laptop and pull out the third-party RAM and see if that solves the problem.

Now, I've opened up a laptop before (an old iBook, and boy was that scary), and I've seen a ThinkPad splayed open before, and I have to say that scared me too.  But it turns out it was fairly easy, since it's just RAM and not a whole motherboard, which I had replaced twice on my old ThinkPad.

Anyway, I pulled out the Kingston RAM and re-ran memtest86+, proving that the Kingston RAM was bad. Back on the phone with IT, he told me I had to call the reseller who put that RAM into it originally. Again, I'm not sure why I have to call, I don't have a relationship with the vendor; that's why we have an IT department, right?

Now I think I will have a new 2 gig Kingston RAM stick coming to me in the mail, and then I have to ship the original stick back to Kingston. Again, I'm not sure why I have to ship the thing, since I haven't ever bought anything from Kingston, but I'll do anything at this point.

What should have happened? I don't really have a complaint about the guy in Manila, there's not much he can do from the other side of the planet, and besides I still feel a little guilty about what we did to them a century ago. But local IT guy should have looked up my laptop in his asset management system and seen that I have some third-party RAM, told me that either one of them could be bad, so I could check which one was wrong to start with. After I determined that the Kingston one was bad, he should have called up the reseller himself and then called me back to tell me he was having new RAM shipped to me with a return shipping envelope for the old one.

I mean, really. This is why we have IT, isn't it?  What if I didn't know anything about computers?

Tuesday, January 19, 2010

The Problem with Zone 2

For the last couple of months I've been commuting weekly from my home near Atlanta to Dallas. I pretty much always take the same two flights -- I'm even starting to recognize some of my fellow passengers.

On each of these more than a dozen flights so far, exactly the same thing has happened: more than half the passengers are listed for an upgrade. The planes on this route typically seat about 140 passengers, and the upgrade list always has at least 75, sometimes more, passengers on it.

For those of you who are not familiar with Delta's upgrade policies, that means that 75 or more passengers on the flight are SkyMiles or SkyTeam Elite members (Silver, Gold, Platinum, or the new Diamond). The lucky one or two who get the upgrade get to board in zone 1; the rest get to board in zone 2.

To the business traveler, being able to board in zone 2 is important. It means that you have a chance of getting your roll-aboard bag into an overhead bin. Usually, you have a really good chance, because there are only some 25 of you. The seven zones of passengers behind you are the occasional travelers who won't be too bothered if they have to check their bags.

This all works fairly well on the typical flight. Zone 1 boards, gets their free drinks and hangs up their coats. Zone 2 boards and puts their bags in the overheads. Zones 3 through 9 get on board and try to find an empty bin for their stuff.

Do you see the problem? With 75 or more people in Zone 2, quite a few of them aren't going to find room in the overhead bins. So, to help increase the odds, all of them try and get to the front of the line when zone 2 is called. Once, just once, I had a gate agent call zone 2 by rows, which was a decent way to handle the traffic jam.

But there needs to be a better solution, because this does not account for different levels of elite status within zone 2. Remember how Silver, Gold, Platinum, and Diamond members all board in the same zone? So it turns out a lowly Silver could get a bin for his bag while an exalted Diamond has to check his.

My hack for this problem is to check my bags and board some time well after zone 2. It's liberating to sit out the medallion crush, and just stroll on sans bag. Sure, I have to wait for my bag to show up, but it's just not worth the hassle of trying to carry it on.

Wednesday, January 13, 2010

On the road again, again.

In an unexpected turn of events, as of mid-November of last year I find myself back in consulting and immediately back on the road at a major client for a long-term project. It's been interesting to find myself back in place that I never expected to be again: commuting by air and living in a hotel for weeks on end.

I will try to find something interesting and relevant to blog about in this space.

Friday, July 24, 2009

Product feedback FAIL

I got the following spammy email today. All bold emphasis is in the original, and all names have been redacted.

Subject: company name redacted invites you to contep-test [sic] new company name redacted products

Dear niel,

The uncanny ability of company name redacted traders to predict the future is legendary ;-) That's why the folks at the company name redacted company, creators of the world-famous product name redacted, are eager for your feedback on some of their new product concepts.

company name redacted is offering $2,400 to be shared by those of you who will offer the most insightful feedback on 15 of its new product ideas. Only 200 of you will be selected to participate, so your chance of sharing the prize is pretty good! By participating, you will also have an exclusive preview of some new food products that might soon be on America's shelves, and which you'll have helped refine and optimize with your feedback!

The innovative collaboration platform we've developed for this purpose allows you to comment and rate product ideas, and also rate each other's feedback! The exercise is divided into four phases over 2 weeks starting next monday July 27th, but each stage offers its own set of prizes and is designed to require just a few minutes of your precious time: Commenting on the product concepts, rating the best ones, rating other people's feedback, and taking a short survey.

If you are interested in participating to this cutting-edge research effort on concepts for a share of the $2,400 reward, please register now at URL redacted. It will be fun!

Best regards,

company name redacted Team

Let me enumerate the FAILs.
  1. The subject line contains a typo. What is a "contept-test"? My phish-filter tingled immediately.
  2. A smiley in a commercial solicitation? Another phish indicator. If you want to be taken seriously, be serious.
  3. Ooh, $2400, an arbitrary monetary payout! Oh wait, that amount is to be shared. Among the 200 of us who share the most insightful feedback. So that means 200 arbitrarily selected participants will each get $12. Hooray, I can finally get my mom that operation. Hey, giant corporation, you're offering only $12 for valuable insight? You're off by an order of magnitude.
The URL seems valid, though I did not click on it. The organization running the survey is a real organization, though not one that has previously done commercial product research as far as I know. The organization on whose behalf they are performing this research is also a real food manufacturer.

Forgive me if I don't participate.

UPDATE:

I had an email conversation with the CEO of the organization running this survey, and I'd like to make a few additional points.

First, I did not mean to imply that this message was a spam or phish, only that its content made my spidey-sense tingle in ways that spam and phish usually does. I am a registered member (although non-active) of the organization, but I do not recall having previously received any emails of this type from them.

Second, it seems I misinterpreted some of the terms. The $2400 is not to be divided 200 ways; rather, only 200 people will be selected to participate, and the reward will be divided among the top entries. So while the actual payout per winner is indeed higher than $12, I believe that statistically the expected payout is still $12 per person.

Finally, speaking as a product manager, I would never offer this kind of payout for product feedback. It's been a while since I reviewed the literature on this, but I believe that you would get better feedback either by offering no cash, or by offering a donation to the participant's preferred charity. Psychologically, by offering a cash reward you change the feedback profile, and you actually would get a lower participation rate.

Wednesday, July 22, 2009

Location data on your.flowingdata

Yesterday I posted about how I am using your.flowingdata to track my email statistics. Today, I will go into the details of how I am tracking my location using Google Latitude and YFD.

The first step was to enable Google Latitude on my BlackBerry, which I did quite some time ago. Latitude is an option in the mobile version of Google Maps that reports your location back to Google, and tells you the location of other members of your social network. A Google search told me that there is an API that lets you access this location information in KML or JSON format. I decided to use the JSON version, since Python has a couple of different JSON libraries. I picked simplejson.

So, what I wanted was to tell YFD where I am, at least as far as Latitude knows. Here's how I did it:

#!/usr/bin/python

import twitter, simplejson, urllib

# set some options
options = {}
options['twitteruser'] = 'my Twitter username'
options['twitterpass'] = 'my Twitter password'
options['latitudeid'] = 'my Google Latitude ID'

# in case you don't want to hard code your password in the script
if options['twitterpass'] == None or options['twitterpass'] == '':
options['twitterpass'] = getpass.getpass('Twitter password:')

# get your location from Google Latitude
url = 'http://www.google.com/latitude/apps/badge/api?type=json&user=' +
options['latitudeid']
result = simplejson.load(urllib.urlopen(url))
coordinates = result['features'][0]['geometry']['coordinates']
lon = coordinates[0]
lat = coordinates[1]
location = result['features'][0]['properties']['reverseGeocode']

# connect to twitter and post a message to @yfd
api = twitter.Api(options['twitteruser'],options['twitterpass'])
status = api.PostDirectMessage('yfd','location %f,%f (%s)' % (lon, lat, location))
A nice optimization I should add would be to cache the location and only tweet it if it has changed.

Shortly after I tweeted about this script, Nathan tweeted back the following:
@niel great! working location i.e. maps into YFD is in the works

So hopefully I will be able to generate maps from my data natively in YFD. In the meantime, of course, there are ways to access the data and mash it up with Google Maps myself.

Next: telephone data via Google Voice, and, if possible, Vonage. (Getting an API to access AT&T Wireless call data seems very unlikely.)

Tuesday, July 21, 2009

Experiments with Flowing Data

I have been reading Nathan Yau's Flowing Data for some time now, and was intrigued by the announcement of Your Flowing Data, a data collection service that accepts input via Twitter. About the same time, I read Nat's blog post about personal data logging. Also, today, a post from Ed Murphy about visualization, with a back-cite to yours truly. Herewith, a report on my first experiments recording my personal data with the YFD service.

I decided to start by tracking things automatically. Traditionally, if I am required to perform some periodic action -- in this case, sending a tweet -- I will forget about it. So, I thought about what kind of data could be tracked without manual intervention, and I decided to start with email statistics: the size of my inbox and the number of unread messages in my inbox.

I decided to write some Python to get this task done. The first thing to do was figure out how to post to Twitter from Python, and that turned out to be easy: Google told me about Mike Verdone's Python Twitter Tools (PTT), which turned out to be very easy to install and use.

The next task was to access my IMAP mailbox from Python, and that turned out to be easy as well: Python has a built-in IMAP library. The size of my inbox was easy enough, but a little more research was needed to figure out the number of unread messages. It turns out there is an IMAP search term ("UNSEEN") that gave me exactly what I wanted.

Anyway, to make a not-so-long story somewhat shorter, here is the script (edited to hide personal data) that I ended up running twice a day:

#!/usr/bin/python

import twitter, getpass, imaplib, string

# set some options
options = {}
options['imapserver'] = 'my IMAP server'
options['imapuser'] = 'my IMAP username'
options['twitteruser'] = 'my Twitter username'
options['imappass'] = 'my IMAP password'
options['twitterpass'] = 'my Twitter password'

# in case you don't want to hard code your passwords in the script
if options['imappass'] == None or options['imappass'] == '':
options['imappass'] = getpass.getpass('IMAP password:')

if options['twitterpass'] == None or options['twitterpass'] == '':
options['twitterpass'] = getpass.getpass('Twitter password:')

# connect to mail server and get the data
imap = imaplib.IMAP4_SSL(options['imapserver'])
imap.login(options['imapuser'],options['imappass'])
inbox = imap.select()[1][0]
unread = len(string.split(imap.search(None, 'UNSEEN')[1][0]))
imap.close()
imap.logout()

# connect to twitter and post a message to @yfd
api = twitter.Api(options['twitteruser'],options['twitterpass'])
status = api.PostDirectMessage('yfd','inbox ' + inbox)
status = api.PostDirectMessage('yfd','unread %d' % unread)

Obviously there are some changes I could (and indeed, should) make, such as reading the options from command line or file, but this is the basic script, implemented quickly for personal use.

In the next day or two I will post about my second experiment, using Google Latitude to track my location data.

Wednesday, January 21, 2009

My first unconference

Last night I attended CloudCamp Atlanta, part of the CloudCamp series. CloudCamp is an unconference, which is a less-structured way of holding a conference. In the pure unconference model, there is no pre-set agenda; attendees collaborate to schedule talks at the beginning of the conference. In a very real way, the attendees take ownership of the content; if you don't have a good experience at an unconference, it's your own fault.

That's in theory, of course. Last night's event was fairly good, but because of the limited time available -- four hours, on a workday evening -- some sessions were pre-filled, including an expert unpanel. John Willis did a good job of arranging these sessions, but it seemed to me the sessions were a mixed bag.

In addition to the unpanel, I attended sessions on "what is a cloud?", using Puppet to manage cloud computing and Microsoft Windows Azure. The "what is a cloud?" session, led by Ben Charian, ended up going in an unpredicted direction, due to some specific questions about end-user applications in the cloud. The audience was mostly business-oriented, as opposed to technical, which means the conversation ended up rather high-level, but it was still interesting, overall.

The Puppet session, which I came to late, was led by Luke Kanies of Reductive Labs. It was a more technical session, which was great, but the direct applicability to cloud computing seemed tangential. Still, very interesting stuff, and good information to know.

The final session on Windows Azure, led by Chad Brooks of Microsoft, was also a mixed bag for me. The subject was perfectly suited for the unconference's charter, but I really chose the session as the lesser of several "evils" (not imply any of them were actually evil per se).

All in all, it was a good evening, but I can't help thinking that it might have turned out differently if more of the open spaces had not been filled beforehand. I did have several good conversations with other attendees, which is the main purpose of any conference, and learned of the existence of AWsome, the Amazon Web Services user group.

Friday, January 16, 2009

Product Management is Hard.

Every time I think I know what I'm doing, it turns out there's a whole bunch of stuff I forgot. Then the scope starts ballooning, so I have to tamp it back down, then it balloons up again, so I have to keep tamping, but it never stays in quite the same shape it was before.

I have to keep reminding myself, "stick to your core competencies", but what do you do when you're trying to expand into a different market?

Monday, January 5, 2009

Things I learned inadvertently

Over the holidays I've been doing a little bit of reading, and I inadvertently learned a couple of things that I am going to apply to my work.

The first, which I read in the book Dreaming In Code, which is about the Chandler project, is actually from the 37 Signals book, Getting Real. The exact quote is "build half a product, not a half-ass product." It's a reminder to think small, at least at first, or the thing you build won't do anything well. I can't tell you for how many projects I've been involved with this has been a problem. We always try to build the ultimate tool that will do all things for all people, and as a result it is full of holes and bugs. Instead, we should be striving to focus on the key features that will make our product the killer in its market, and then worry about adding other features only as necessary. This jives really well with other agile principles like YAGNI.

The second thing I learned was from an article in the Harvard Business Review (my father-in-law got a subscription with his soon-to-expire frequent flier miles and hasn't read a word of it) titled "Nudge Your Customers Toward Better Choices." This article provides some detail around how to provide default options (for software configuration, for example, or for add-on packages to another product). The article is not available online unless you pay the big bucks, but I'm sure you can find it in your local newsstand or library (my county library provides online access to most periodicals, and I'm sure yours does too -- that's a service of which too few adults take advantage).

These may be general knowledge in the product management field, but I'm new so they are worth mentioning.