Friday, December 30, 2011

How To Post To Blogger Via E-Mail

If you have a blogger.com hosted blog account that you want to post to via e-mail, just log into your dashboard, and click on the "Settings" tab.  Then go to the "Email & Mobile" sub-tab underneath that.  Under "Posting Options" (the third major item down) you will find "Email Posting Address."  Fill in the box, and then select whether you want e-mailed posts to be posted immediately or saved as drafts.  Voila!

Then, once you're done with that, you might want to e-mail a test posting.  Something brief, perhaps, like quick instructions on how to post via e-mail...

Monday, December 12, 2011

China Travelogue - The Great Firewall of China

As my cousin Stacy pointed out last week, I have missed my deadline.  I had set the goal of posting at least once a week here for the next year, and then only a few weeks in I missed that goal.  The cause of my shortcoming is a combination of Chinese totalitarianism and my shortsightedness.

I’ve just spent two weeks in China on a business trip.  Although I was aware of “The Great Firewall of China,” this is the first trip where it has completely thwarted my efforts.  “The Great Firewall” is the wholesale, systematic censorship of Internet access within the People’s Republic of China.  From inside China, it appears that a large number of common websites just don’t work.  Attempts to connect to them result in a “connection reset” message, or sometimes the connection simply times out with no response at all.  One of the sites so blocked is blogger.com, where I write this blog.

Reset connection to blogger.com

Timed-out connection to Facebook

There are some ways around The Great Firewall.  Virtual Private Networks or “VPNs” can be used to create an encrypted tunnel between a computer inside the PRC and a portal on the outside, through which (virtually) all network traffic can be passed.  From the user’s point of view, it is like browsing from the far end of the VPN.  There are a few problems with this solution.  The first is speed and bandwidth.  If I have a VPN connection to my home, and I request data from a website, that data has to both go into my home machine, which is limited by my home download speed, and then be sent to me out of  my home over the VPN, which is limited by my home upload speed.  There is also some delay introduced for the VPN server at my home to encrypt the data for transfer over the VPN.  All the traffic passing through the VPN has to traverse the network connection to the VPN server twice.  This can, of course, be overcome by using a fast machine with a really high bandwidth Internet connection, but it still represents a bottleneck.

There are also some more technical VPN issues.  If I’m connected to the Internet at my hotel in China, I need to make sure that the packets required to maintain that local connection to the hotel’s network aren’t shipped out over the VPN.  For example, DHCP (Dynamic Host Configuration Protocol) is used to get an IP address in most public networks.  It is also used to renew that address when it expires.  If that traffic isn’t left on the local network, then the Internet connection required for the VPN can’t be set up in the first place.

Another work-around is web proxies.  These are similar to VPNs, in that you send your request for a web-page to a server somewhere else, that that server, acting as your “proxy,” requests the web page and forwards it on to you.  That way, the routers filtering traffic from certain sites don’t know where your traffic is originating and let it through unmolested.  There are many free web proxies, but most of them don’t work terribly well, although it wasn’t clear to me if they are simply overloaded, or if China is doing a really good job of blocking them as quickly as the pop up.

To access some static web content you can use a search engine as your proxy.  Microsoft’s “Bing” works pretty well in China, and in several cases I was able to search for some content I wanted to see, and even though those pages were blocked, I could download the cached data from Bing.  This only works for web content that is relatively static, and non-interactive.  And while I could access the Bing cached pages, the Google cache did not seem to work.

It turns out that there is also a way to set up blogger to post anything mailed to a pre-arranged e-mail address.  Since I didn’t set that up ahead of time (my aforementioned shortsightedness), I couldn’t use that on this trip.

So why does China go to the expense and effort of maintaining The Great Firewall?  I think the pretense is to block “objectionable content” from the people of the People’s Republic.  It seems obvious to me that it is an effort to manage the flow of information and control the mindset and mood of the populous.  Above and beyond that, though, there also seems to be some element of supporting SOE’s (State Owned Enterprises) over their foreign competitors.  Although China apparently has a booming social networking industry, Facebook is blocked.  I would love to see the World Trade Organization, which China was so hot to join ten years ago, take a look at this aspect of it.


On future trips, I’ll know to set up more infrastructure in advance.  But for now I’m just happy to be back on the right side of the Great Firewall.

Tuesday, November 22, 2011

Serving Size and Calorie Counting

When you want to lose body fat, the only way to do it is to burn more calories than you consume.  If you burn approximately 3500 calories more than you eat, your body will metabolize about 1 pound of fat to make up the difference.  Now this has some interesting implications...  Can you lose weight eating only Krispy Kreme donuts?  Well, yes.  You just need to eat less calories worth than you consume.  Of course, an all-Krispy-Kreme diet would almost certainly lead to other nutritional complications.  You would also probably be hungry most of the time because eating few enough donuts to lose weight would probably not be very satisfying.  But it could be done.

If you are keeping track of you calorie intake, it is important to know what your actual calorie count is.  Small errors add up over time.  An extra 10 calories a day, which is less than one teaspoon of sugar, adds up to 3650 calories over a year; that's more than a pound of fat!  Fortunately, there are standard nutrition facts labels on virtually all packaged foods sold in the United States, like this one on tortilla chips:


So, according to this label, the serving size is 28 grams, which is 140 calories.  The FDA has rounding rules that allow manufacturers to round to the nearest 10 calorie increment for values >50 calories, so that means the real value is somewhere between 135.0 and 144.9 calories per 28 gram serving.  Also, most people don't have or regularly use a food scale, so the label often helpfully provides a translation of the serving size into pieces.  Here that is "About 13 chips."  So when I was making nachos the other day I wondered "how close is 'about?'"  The answer was, not too close:


Counting out 13 of the most uniform chips I could find onto a scale (yes, I zeroed out the paper plate), I measured 34.7g, which is 6.7g, or 24% more than the 28g serving size.  That means that if I count out 13 chips and think I'm eating 140 calories, I would really be getting closer to 174 calories.  To get the 28g serving size, I should really eat about 10.5 chips.

To be really precise, I should note that the primary measure for the serving size is given as 1 ounce, which is really closer to 28.35 grams.  But that .35 grams is an error of only 1.25%, which is dwarfed by the 24% error above.  There is also some normal chip-to-chip variation, which I didn't measure.  And often a "chip" is actually broken and missing part.  But ultimately, if you want to confirm serving size, the best way to do it is by weighing your food.

Do you ever keep track of your calorie intake?  Leave a comment below!

Sunday, November 13, 2011

Post-A-Week Goal

A bit over a year ago, I set a goal to write a blog entry every day for a month.  I managed to carry through on it, even though it wasn't particularly easy to hold to the commitment every day.  I did not, however, take the next step from that goal, and continue making regular progress on other writing projects, or even here.  So I'm setting another blogging goal.  The goal this time is to write at least one posting here each week for the next year. If I pull it off, that means that I will write over 50 posts in the next year.  Seeing that cumulative progress is, I think, a useful step toward getting myself revved up to do other, larger scale writing projects.

Of course, one of the problems with a "Post-A-Week" is that at least one day each week I'll have to actually finish something and click the "Publish Post" button.  When I get toward the end of any given week, it then becomes a post-a-day goal, for that one day.  So I should try to make sure that I write early in the week, and not late, to keep ahead of the curve.  If my daughter ever reads this, she'll recognize this strategy from the last 5 years of me prodding her about starting her homework early.

For the purposes of this goal, I'll say that the week extends from Sunday through Saturday.  And as it is currently 12:20 AM on Sunday, November 13, 2011, this entry will fulfill my obligation for the week of the 13th - 19th!  Of course, I can write MORE than one a week if time and motivation allow, and I'll certainly try.  But at least this week I'm finishing over 167 hours ahead of my deadline!

I've got dozens of ideas jotted down, and about 25 partially written posts already stock-piled.  Time to start working through the backlog, polishing things up, and get them out into the world.  And then come up with more!

How about you?  What are you planning to do over the course of the next year?  Leave a comment below and tell me!

Friday, November 4, 2011

Wait, what?

Today a co-worker sitting next to me in the lab sent me a file on Skype.  A moment later he said, "Oops, wrong file, cancel it."  So I clicked on the "Cancel" button next to the Skype file transfer bar and was greeted with this dialog box:


That's right, to cancel the file transfer you have to click "Ok," and to NOT cancel the file transfer, you click "Cancel," which is to say, "Cancel the cancellation."

I went looking around and Microsoft does indeed discourage this kind of silliness.  In an article on correct UI design here they say:


"... Never use OK and Cancel for yes or no questions.
Incorrect:
Screen shot of message with OK for yes-no question
Correct:
Screen shot of message with Yes for same question
Better:
Screen shot of message with Run for same question  "


Of course, this is made more amusing by the fact that Microsoft recently completed their acquisition of Skype.    Maybe they'll fix this in the next update.  Oops, nope, according to the release notes for the latest update it looks like they're focusing on more important issues:

"Changes:


  • Removed Google product bundling..."

So, what goofy or needlessly confusing user interface designs have you run into recently?  Leave a comment!

Wednesday, July 13, 2011

Interview Scoring

Several years ago, I was involved in a lot of interviewing for several technical positions at the company where I then worked.  Generally, a candidate would come in, and multiple engineers would interview them individually for 30 to 60 minutes each over the course of the day, and then we'd get together in a conference room to discuss their merits.  I realized that it was helpful to have a quick, common starting point for the discussion.  If everyone agreed that someone was a dud, there was no point in continuing to talk about them.  Likewise, if everyone thought they were amazing, we would be motivated to get an offer to them quickly and try to lock them in before they got another offer elsewhere.  To facilitate this discussion, I developed a simple 1 to 10 point scale for broadly rating the viability of a candidate:

  1. I will immediately tender my resignation if you offer this person a job.
  2. Extremely weak candidate.  This person is likely to be a long-term drain on resources, and may well never make the transition to being a net positive contributor.
  3. Weak candidate.  Initially, this candidate will be a net loss, requiring training, mentoring, constant guidance and close supervision.  They may grow in time, and become a net contributor, but it is not clear when (or if) this will occur.
  4. Mediocre candidate: This person demonstrated some obvious deficiencies in the course of the interview, although they were not a complete train wreck.
  5. Fair candidate:  This person showed no particular brilliance, but no glaring deficiencies either.  They will require support and assistance, but it is reasonable to expect that they will become a useful if uninspired contributor in time.
  6. Reasonable candidate: This person seems like they may become a valuable team member, after some start-up delay.
  7. Strong candidate:  This person is likely to become a valuable member of the team fairly quickly.
  8. This is an extremely strong candidate.  While not a rock star, they have an impressive breadth and depth of knowledge, and will come up to speed very quickly.  Unless there is a rock star candidate in the line-up, we should very strongly consider making this person an offer.
  9. This person is a rock star.  They will make an immediate and valuable contribution to the company, and we are unlikely to find a better fit for this job than this candidate.
  10. I will immediately tender my resignation if you do not offer this person a job.
At the start of the meeting, everyone would, without discussion, secretly write their score for the candidate on a piece of paper.  Then we would reveal the scores all at the same time.  The results were usually quite interesting.

Often, we would find that one person would rate someone wildly differently, higher or lower, than everyone else did. If the candidate was in the acceptable band to most of the interviewers, then the discussion became an exploration of the cause of the disconnect in scoring.

Engineers being engineers, they would often add precision to the scale.  Scores of 7.5 or 6.5 were common.  And once the discussion was underway, people were free to re-evaluate their initial score in light of the persuasive arguments of the other interviewers.

Depending upon the position, the rate at which a company is growing, and the level of candidate sought, the threshold for further consideration may well slide up and down.  Some people will never consider anyone below an 8.  Some jobs may be perfectly well filled with a 6, but you want to at least know that you're getting a 6 and not an 8.  I would generally dismiss out of hand anyone below a 5;  the dot com days of filling chairs with any warm bodies to boost acquisition valuations are, I hope, a thing of the distant past.

Finally, the score provided a short-hand for the relative comparison of multiple candidates, often across multiple weeks of interviewing.

This is obviously just a first pass go/no-go filter and a starting point for discussion.  In some cases though, it helped keep the wrap-up meetings VERY brief!

Tuesday, March 29, 2011

Job Search Rules

I have helped with the recruiting of new employees at a number of companies for which I have worked over the years.  Based on that experience, I would like to offer the following list of suggestions for anyone trying to get hired.  You've probably heard them all before, but I can tell you from looking at a lot of bad cover letters and resumes that many people just don't seem to take these to heart:

Your cover letter matters: it is my first impression of you, and if it is poorly written, I may not even get to your resume.  It also indicates to me that you aren't just spamming every e-mail address you can find with your resume.

Proofread your resume.  Then have someone else proofread it.  Much like your cover letter, it is how I continue to develop my first impression of you.  If you can't provide me with one perfect page of work that you had all the time in the world to do, what can I expect of you once you're under time pressure?

Provide a .PDF of your resume, not a Microsoft Word file.  I may or may not have the correct version of Word, and I generally dislike opening .doc / .docx files of unknown origin, just in case some clever new exploit is floating around in them.  Some people don't use Microsoft Office at all, especially Mac and Linux folks.  I may also not have the same fonts as you.  PDFCreator is freely available, and .PDF documents are, as the name says, portable across numerous systems.

The ONLY job of a resume is to get you an interview, and provide starting topics for that interview.  Make it good, but keep it brief.


Polite formality matters:  I want to know that you are capable of interacting in an appropriately professional manner, when needed.  If we end up working together, then the abbreviated e-mails and collegial joking can begin.  But don't jump the gun.

Sell yourself well:  I want you to succeed, because I have a job to fill, so let me know how you will meet my needs.  If we end up working together, I may, at times, spend more of my waking hours around you than I do with my family.  I want to believe that time will be well spent, and that we will work well together.

Expect to be Googled:  My goal is to find professionally relevant information about your work experience, but I'm going to see whatever comes up.  I don't care about your personal life, but if I find your blog entirely about how to sell stolen lab supplies on eBay, I'm probably not going to want to hire you.

And finally, a couple suggestions from my various job hunts:

Talk to your friends: Almost every job I've ever had has been the result of a connection made through a friend, or friend of a friend.  That's how you find out about jobs when the company is thinking of hiring, before they've even cast out their net.  It's a lot easier to stand out in a hiring pool of one than when there are dozens of resumes coming in from a Craig's List posting or Monster.com listing.

Make targeted cold calls:  If you know where you would like to work, do some research and then call them up, and ask to talk to the person likely to be your boss there.  I really loved what was being done at Leapfrog years ago, so I called their engineering R&D office and asked for the CTO, who's name I had gotten from a web search.  He was out of town, so I was referred to the VP of hardware engineering.  I asked if he had any upcoming openings.  He said he did, and asked me to send him my resume.  Two weeks later I had a job there.  This is important though: do not treat this as a "numbers game," but rather as a carefully targeted approach to somewhere you'd really like to work.  Even if they don't have any openings when you call, they might know if any are planned in the near future.  Or, if you present yourself well, they may even make some effort to find a position for you, or accelerate hiring for a planned future opening.

Have you got any good stories from either looking for a job or looking to hire someone?  Comment below!

Wednesday, March 23, 2011

Manita Guidero / Nery, Alderwood Middle School Home Ec.

I have been extremely fortunate to have had a number of excellent teachers throughout my life.  Some I have kept in touch with, others I wish I had made more of an effort.  One of the latter was my 8th Grade Home Economics teacher.  When I knew her, she was Mrs. Guidero, although I learned that in later years, she got divorced and became Ms. Nery.  She was about 40 years old and a new teacher to Alderwood Middle School when I arrived there in 7th grade. As I sat in her class on the first day of school, I was terrified of her.  She was, I thought, an unreasonably demanding battle-axe, outlining in excruciating detail during that first class exactly how we were to put the headings on our papers, how she would brook no foolishness, and all the behavioral strictures we were expected to observe in her class.  I found her so daunting that when one of the science teachers (another of my favorites) asked me to be a teaching assistant for him, I immediately dropped Home Ec.

The next year, I found myself back in her class, without the option of dropping.  I quickly learned that she expected a lot of us, because she had a lot to teach us.  I loved her class.  I learned a lot about cooking from her, and I did great.  I discovered that she recognized and respected good behavior, and was happy to give freedom to those who demonstrated they could handle it.  By the end of her class, I had so much enjoyed myself that I ended up becoming her teaching assistant the next trimester.  She taught me more about cooking, and taught me to teach, asking me to run entire cooking demonstrations in her class.  At the end of the year student awards ceremony, she gave me the Home Ec. cooking award for that year.

Mrs. Guidero, later Ms. Nery, continued to teach at Alderwood for the next 17 years, becoming, I have heard, a pillar of the school.  I suspect that she demanded, and got, the best out of a lot of students in that time.  I often thought of her, and several years ago I finally did some Googling to try to get in touch with her again.  I wanted to let her know what a positive influence I felt she had had on my life.  I was sad to discover that she had died in a freak hiking accident in Glacier National Park on June 28, 2002 at the age of 59.  I'm sad that I never got to talk to her again.  I expect I am only one of many lives that she touched in the course of her amazing career.

Tuesday, March 22, 2011

I'm Illiterate in over 160 languages!

I have been travelling to Taiwan occasionally for business, and although I've made some effort to learn Mandarin Chinese, I've not really had the time to make a serious study of it, so I know only a few phrases.  The single most useful thing I can say is "I can not speak Mandarin.  Can you speak English?"  My favorite response to that was a guy who responded in perfect, unaccented west coast American English, "Yeah, what's up?"  The reason I'd needed to speak to that particular person was because I couldn't figure out which "cycle" button to press on the coin operated washing machine I had just dumped my clothes and money into.  The operating instructions, quite helpfully, were in Chinese and English, but step four was "select cycle."  All five of the cycle buttons were labelled only in Chinese.  I can't tell "ultra gentle non-agitating non-wash" from "shred your clothes and set them on fire," so I didn't really want to just pick a button at random.  And this was only one of many experiences that has taught me how utterly terrible it is to be illiterate.

There is a LOT of good information written all around us, to the point that we take it for granted, and often don't even realize when we're absorbing data from our environment.  But when that information isn't there, you really miss it.  Ideographic Chinese is so completely unintelligible to me that it effectively isn't there.  And when I want to get something as simple as a bottle of juice at 7-11, it becomes apparent.  I don't like to drink caffeine or artificial sweeteners.  When I picked up a grape juice bottle the other day, the only thing I could read on the label was "100%," which I eventually assumed was most likely "100% juice."  But it could well have been "100% of your day's vitamin C," or "100% recycled bottle!" or "100% rocket blast wake up caffeine super energy cocktail!"  And yes, I could have started asking people around me, but then I'd also need to explain in at least some detail what I was trying to avoid.  If I had gone through that exercise, then I would always know in the future that I could buy that one item.  But still, coming from a world where I can instantly know quite a lot of details of that product just by reading the label, illiteracy is a jarring change.

Maybe that's part of the secret to how people get by without being able to read:  They always have, so they just aren't acclimatized to the huge chunk they are missing.  But when an adult learns to read late in life, do they undergo a period of realization of how much richer their experience of the world can suddenly become?  If you've taught any adult reading classes, please comment below.  I'd love to know.

And maybe I should renew my efforts to learn some written Chinese as well...

Monday, March 21, 2011

Welcome to The FUTURE!

When I was walking out of an MRT station (Metro Rail Transit - Like London's Underground) in Taipei this sign caught my eye:


Why yes, that is in fact an LED indicator board to tell you the status of the stalls in the men's room.  No more of that pesky furtive glancing under the stall wall or embarrassing rattling of locked doors.  Indeed, this was out IN THE MAIN HALL, so you didn't even need to go into the restroom to know what was available.  This truly is an amazing time in which we live.

Seriously though, this got sorted into the bin in my brain labelled "Huh?"
 - Is it useful and cool, or just kind of creepy?
 - Who created this?  It obviously took a great deal of doing.  SOMEONE has this thing on their resume.
 - Why is this the first time I've ever seen it?  Is it really new?  Or a pilot run?  Or somebody's college art project?

Anyway, I thought it was interesting, enough so to stop in a busy train station and take a photo of a restroom sign.  What do YOU think?  Have you ever seen one of these before?  Comment below.

Sunday, March 20, 2011

The New Inventors

I was in Taiwan recently, and one night while channel surfing, I ran across a show on the hotel's Australian channel called "The New Inventors."  (You can download episodes from their website!)  Imagine "American Idol" except for inventors.  And they're Australian.  It is really really really cool, and it brings popular focus to things that really matter.  I know, I know, American Idol is important too because it allows beautiful talented people under the age of 26 to sign tightly binding contracts with the producers of the show.  Or something.  But encouraging and rewarding people that are building a better future has the potential to change all our lives in ways we can't yet even imagine.