Friday, December 24, 2010

India Trip Inventory

Inventory of the items to be brought in preparation for two people to travel to the subcontinent. This is not even the full list suggested by the CDC

  • 2 bottles of 30 doses Malarone - Anti-malarial
  • 2 bottles of 3 doses IC Azithromycin - anti-biotic for severe stomach illness
  • 1 bottle of 6 doses IC Zolpidem Tartrate ( Ambien ) - for jet lag
  • 2 tubes of Ultrathon™ Insect Repellent - 34% DEET (2 oz.)
  • 1 tube AfterBite® Outdoor - insect bite and itch relief. (0.7 oz.)
  • 1 bottle Pepto Bismol - 40 caplets
  • 10 fl. oz. total of Purell® Instant Hand Sanitizer - 65% alcohol, 2 bottles
  • 1 Adventure Medical Kits Hand Sanitizer + Lotion, alcohol free spray bottle.
  • 1 tube 100 SPF Sunblock (3.0 oz)
  • 1 tube Cortizone-10® itch relief gel (1 oz.)
  • 6 boxes of Ben's® Tick & Insect Repellent Wipes - 12 individually wrapped packs, 30% DEET
  • 6 packs of Wet Ones Antibacterial wipes, Travel Pack
  • 2 US to India electrical adapters
  • 2 Dr. Fresh Dailies Travel Kit - incl. Toothbrush, toothpaste and brush case
  • 1 schedule book/expenses record/travel diary
  • 2 boxes Pedialyte® Oral Electrolyte Maintenence Powder - help prevent dehydration
  • 1 shaving kit with razor, blades, shaving gel
  • Gauze bandages, band-aids, neosporin, ibuprofen tablets
Next up to pack.

Thursday, December 2, 2010

Helpful Gmail Labs Reviews

I have recently tried out several Gmail Labs features that are pretty good.
  • Mark as Read Button
  • Default 'Reply to all'
  • Authentication icon for verified senders
Mark as Read Button by "Mark K"
If you're tired of digging into the "More actions" menu every time you want to mark unread messages as read, just turn on this Labs feature to add a "Mark as read" button to the top of your inbox.


Very useful, I was missing this for some time. The button blends in well with the other default buttons at the top of your inbox. I found it saves a lot of time as I compulsively read every other email otherwise, I don't really like the "More actions" menu, so this was a time saver, and more direct way to get this function. I did notice it is not 100% production ready.
If you check a already read email, the Mark as Read button remains enabled and you may click it, which gives the erroneos message "The conversation has been marked as read. Undo". Clicking the misleading provided "Undo" link in the message also does nothing. I submitted this feedback to Gmail Labs support.

Default 'Reply to all' by Mark K
When we're working on features for Gmail, the email etiquette on the team is to reply all so everyone involved is kept in the loop. Mark was an intern here this past summer who got frustrated when he'd reply to an email only to realize that he forgot to reply all and had to resend the message. Thus, this Labs feature, which makes reply all your default selection.


Thank you Mark, I had the exact same experience multiple times with Gmail. Often when multiple recipients are copied on an email, among my social group the convention is to include all in your reply to include everyone in the conversation, almost like an ad-hoc forum. This works very well with Gmail's threading of email chains. This is a useful Lab feature, didn't find any issues since I enabled it.

Authentication icon for verified senders by "E R"
Turn on "Authentication icon for verified senders" from the Labs tab under Settings, and you'll see a key icon next to verified emails that are super-trustworthy.
...
It's a bit of work for senders to make their email super-trustworthy, which is why this feature is limited to just eBay and PayPal right now. We hope to add more senders in the future, and when we do, you'll know because you'll see the super-trustworthy key icon magically appear by those senders too. Give it a whirl and let us know what you think.


Seems like a good feature to just have that extra bit of security that you aren't being phished. I verified that it w for a advertisement-type newsletter email from PayPal. It would require more participation from other 3rd parties to be useful as now most companies I receive email from aren't on that list. Top on my priority would be Amazon.com and other "Large Financials"

If you aren't aware you may enable these Gmail Lab features in Gmail.
Click on Gmail menu bar > Settings > Labs (or the little green chemistry beaker icon next to Settings).
In the list of "Available Labs" click Enable radio button for the labs you want.
Click Save Changes button at the top when done.
The Send Feedback link under each individual lab lets you send specific feedback to the Gmail team either to report problems, give praise or make suggestions. This is a great feature in of itself. Wish there was something equivalent for all Google products.

Thursday, November 25, 2010

Blame WorldWind

Happy Thanksgiving!

As I've written about before, I have basically given up on being a contributor to the World Wind .NET OpenSource project. I haven't really touched any WorldWind related code in months. But on my laptop where I kept all of my development files I left everything there for now, in case I do want to resume and make some contributions.

For the longest time I have had very odd behavior from this machine. Essentially on start up my system would grind to a halt, with my hard disk at near 100% utilization, for 10 minutes or more. This also happened when resuming Windows from sleep. All in all, very annoying. For a while I thought the problem might be antivirus related, maybe too much scanning on start up. So I switched from one anti-virus program to another, but the problem more or less continued. My computer is relatively new, it is Vista (64-bit) version, with sufficient memory and processor, the hard disk like most laptops isn't particularly fast, but my work laptop and my wife's laptop don't even experience behavior like mine.

Anyway, I was trying to solve this problem, a bit worried my system was compromised by malware. So I was performing some scans. I noticed that the scanners seemed to get hung up on a particular set of WorldWind debug log files created under my user folder. I knew WorldWind did generate a lot of debug logs when built and run in debug mode, and it didn't do a very good job of cleaning it up. I went and and took a look.

In C:\Users\[user]\AppData\Roaming\NASA\WorldWind\1.4.0.1\ there were 72,000 + log files seemingly created by DEBUG log messages. It also seemed that whatever was logging those, was rolling over that log after 1 or 2KB, meaning it would generate tons of very small individual files. I didn't realize the massive amount of these files, also the main WorldWind.log file was around 90MB, a known issue, we planned to do something about eventually.

After deleting these log files (I am never going to go back now to look at any of them), my computer feels reborn. It now starts up normally and doesn't crazily start disk I/O for the first 20 minutes after starting up. I mainly use the laptop now for watching Netflix movies as I've shifted development more to my Linux machine.

I can't seem to reproduce creating all those log files when I try restarting WorldWind executable in Debug mode now. If I have time this weekend maybe I'll try to make a fix for this and the other logging issue as a last World Wind hurrah.

Bath, England

I recently took a business trip to Bath in Somerset, England, famous for the Roman Baths and infamous (in my mind) for Chaucer's Wife of Bath.

Wandering around the center of Bath, it was hard to miss the Roman bath tourist attraction, right near Bath Abbey.
Roman Baths Facade

I went to the William Herschel museum. I had recently read the Age of Wonder by Richard Holmes, which featured an extensive biography of Herschel and his discoveries. He was famous in the 19th century for his telescopes, discovering Uranus and numerous comets as well as for outlandish theories of cosmology. I was lucky to happen to be in the city where he did his early work. They turned his former home into a very modest museum.
Herschel museum exterior



The Abbey Church of Saint Peter and Saint Paul, Bath
Bath Abbey

Monday, November 8, 2010

GNU/Linux Application Programming book review

I completed the sections of GNU/Linux Application Programming (Programming Series) by M. Tim Jones which I have been learning from for the past three months or so.


I focused on Part I - Introduction, Part II - GNU Tools and Part III - Application Development Topics. I just skimmed through Part IV - GNU/Linux Shells and Scripting and Part V - Debugging, which I have a feeling I'll come back to.

I posted my review to Amazon which I'll reprint here:

I am an experienced software engineer but have not had much experience programming for Unix/Linux environment. I was also interested in a basic book to go into low-level C system APIs. This book provided a good introduction for me at a reasonable pace over a wide range of subjects. I focused on the C programming chapters, but there are additional chapters for things like source control, shell commands, awk, sed, Ruby, Python and debugging.

Book expects some familiarity or background with C programming language. While basic functions of the Standard C library are described, the language constructs and syntax of C are not referred to at all but are assumed familiar to the reader.

Other reviewers have mentioned that source code was available for free online so CD was not valuable. I have not found this to be the case, so in that respect the CD is useful.

Some negatives, in general code samples were often incomplete, with errors. Several of the chapters of the book contain content with mistakes or do not list all necessary prerequisites. For example, I tried to perform almost every code/script sample provided and ran into numerous issues or additional packages and tools to install that were never mentioned. Some code would execute on a 32-bit Linux system but not on a 64-bit system. Also I found the code samples provided on the CD to be lacking in completeness, for example a sample code for a Makefile example from chapter 6 did not include the source files the Make script was supposed to build. In the end it did encourage me to create my own "Hello World" type source files just to go through the same steps being described in the book. Other chapters included source but not Makefiles to compile the code, source files with no relation to the examples in the book and source files that did not compile. Generally such errors could be resolved with a few minutes of Internet research on the errors/warnings.


For my next act I'll start on Real-Time Systems and Programming Languages by Alan Burns and Andy Wellings.

Sunday, November 7, 2010

New blog template and design

As you may have noticed, I have been experimenting with the design of the blog.

For now I have settled on the "Awesome Inc." blogger template, I liked how it . For the background I am using one of the Nature backgrounds. Under Layout > Adjust Width in the designer, I expanded the width of the entire blog from 880px to 1000px (max). I reduced the total width of the right sidebar as well. This gives more space for the longer code samples in the main body of my posts.

Not totally sold on the new looks. I notice that the Awesome Inc. template incorrectly floats some of the widgets in the side bar, so I've adjusted those to the bottom of the page layout, and the code samples extend beyond the main body now and into the space of the sidebar.

It is all still a work in progress. The backgrounds can be a distraction. It is cool I can make all these changes and the content is unaffected.

Thursday, November 4, 2010

Deep Impact makes closest approach to comet Hartley 2

The NASA probe, Deep Impact, is currently making its closest approach to comet Hartley 2. It will eventually fly within 700km of the comet. During the fly-by the antenna will be not be oriented towards Earth so it will be some time before photos come out. They didn't want to fly any closer due to the risk that the comets debris 'tail' would damage the spacecraft.

http://www.space.com/scienceastronomy/comet-hartley2-poison-gas-jets-101103.html

The comet Hartley 2 is now visible from Earth as well.

http://www.skyandtelescope.com/observing/home/102632669.html


11/7/2010 - Edit Pictures came out:


http://www.jpl.nasa.gov/news/news.cfm?release=2010-371