The JavaScript Event loop for Emergency Physicians

If you’re a reader of my blog past or present you’ll know that I’ve long been interested in programming and am also an Emergency Medicine physician.  While studying javacript callback functions I was referred to this talk which explains them well, but it didn’t really “click” until I saw the visual “event loop” waiting for it’s opportunity to let the…

Converting a Javascript object to a readable JSON file

While working through the final challenges at FCC (Free Code Camp) I coded a live working Angular.js project alongside the hand-holding tutorials that are entirely done in side the browser. The tutorials at CodeSchool are excellent as they prompt you step by step through what initially seem like very complex tasks.  As a I worked through the tutorial and watched…

Split Decision

These days I divide my time between clinical and consulting work.   in my consulting job I work as a medical command physician for ambulances, helicopters and airlines needing advice and direction on all sorts of medical emergencies. For the past several months I have been fielding several calls a day regarding screening for *possible* Ebola patients wanting to board…

A Gift to Remember Me By

Last night at dinner, this girl, Virginia, said, I’ll see you tomorrow! It old her that I was leaving in the morning. She asked for a gift to remember her by. I told her I didn’t have much (which was true, I packed ultra light, and brought no gifts) she asked if I could give her my necklace (I said…

Extracting Riches from Time

In Houston waiting for the flight to Pittsburgh now 4 minutes late. Plane pulls up to the gate. Me: “oh good, the plan is here!” Everyone around me: ” grumble grumble late grumble grumble” Perspective people, perspective. You are all blessed with the freedom and income to travel. Unfortunately complaining and bad attitudes seem to be included. I have learned…

Lights, Stethoscope, Action!

Safely arrived in Honduras, met our transportation to the village, saw many old friends already, it almost feels like home. The Sun is setting, the breeze is cool, the kids at everywhere, the meal was great, the parrots are chirping and the strangest thing is there are lights coming on in the village. 2 years ago there was no electricity…

Getting Oauth2 to work with Python on a Mac

I am ataking a coursera course in Data Science and having trouble getting the prelim check for the first assignment to run without errors.  Here are the details  any help is appreciated! Using Mac OS 10.8.5 Which Python returns: /Library/Frameworks/Python.framework/Versions/2.7/bin/python Running the first assignment script after updating teh API calls results in this: $ python twitterstream.py > output.txt Traceback (most…