Learning D3 – essential skills for the Javascript Programmer
Recently I’ve been experimenting with and trying to learn the D3.js library in order to create ziplines and develop some relative expertise at Free Code Camp. D3 stands for Data Driven Documents. As a former cartographer and information graphic artist in the 90s, discovering the possibilities with D3 for browser based interactive applications is like Geraldo Rivera discovering Al Capone’s vault! (except he didn’t…) While it’s seemingly straightforward for those who have climbed the learning curve, “getting it” takes some experimentation, practice and intuition. Several reasonable t...
Source: Mr. Hassle's Long Underpants - May 5, 2015 Category: Emergency Medicine Authors: Doc Shazam Tags: Computing D3 javascript Source Type: blogs

Two Months of Setbacks and Growth
This past 2 months has been a LONG two months of ups and downs, frustration & doubt and small nearly imperceptible successes on a day by day basis. I’m far far far from where I expected to be at the end of April 2015, but then again many things have happened that I didn’t plan on. Comparing where I WANT to be with where I AM is a huge source of frustration and anxiety for me. Not only physically (strength) wise, but also activity, yard work, personal projects, a book I’m co-writing, time and attention to my athletes, spring flowers, spring cleaning and the list goes on… I don’t have thi...
Source: Mr. Hassle's Long Underpants - April 26, 2015 Category: Emergency Medicine Authors: Doc Shazam Tags: Life Source Type: blogs

Two Months of Setbacks and Growth
This past 2 months has been a LONG two months of ups and downs, frustration & doubt and small nearly imperceptible successes on a day by day basis. I’m far far far from where I expected to be at the end of April 2015, but then again many things have happened that I didn’t plan on. Comparing where I WANT to be with where I AM is a huge source of frustration and anxiety for me. Not only physically (strength) wise, but also activity, yard work, personal projects, a book I’m co-writing, time and attention to my athletes, spring flowers, spring cleaning and the list goes on… I don’t have t...
Source: Mr. Hassle's Long Underpants - April 26, 2015 Category: Emergency Medicine Authors: Doc Shazam Tags: Uncategorized Source Type: blogs

Perspectives on Physical Therapy
I went to physical therapy today for an evaluation after my car accident. While I was there, I noticed a young, healthy, athletic looking woman who came in on crutches, with fresh surgical scars on her knees take…her first steps. “I can walk!” she said. I have no idea what her injury or surgery was, but the therapist was teaching her movement by movement … heel first, then the foot. Let your knee bend a little, now step forward. She was relearning how to walk, step by step. The post Perspectives on Physical Therapy appeared first on Mr. Hassle's Long Underpants. (Source: Mr. Hassle's Long Underpants)
Source: Mr. Hassle's Long Underpants - March 17, 2015 Category: Emergency Medicine Authors: Doc Shazam Tags: Life Source Type: blogs

Perspectives on Physical Therapy
I went to physical therapy today for an evaluation after my car accident. While I was there, I noticed a young, healthy, athletic looking woman who came in on crutches, with fresh surgical scars on her knees take…her first steps. “I can walk!” she said. I have no idea what her injury or surgery was, but the therapist was teaching her movement by movement … heel first, then the foot. Let your knee bend a little, now step forward. She was relearning how to walk, step by step. (Source: Mr. Hassle's Long Underpants)
Source: Mr. Hassle's Long Underpants - March 17, 2015 Category: Emergency Medicine Authors: Doc Shazam Tags: Uncategorized Source Type: blogs

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 main stack know there were results to dealt with from prior callback functions. What’s a callback function? This is one I’m still wrapping my head around, but it allows for a task to be worked on while the main...
Source: Mr. Hassle's Long Underpants - March 10, 2015 Category: Emergency Medicine Authors: Doc Shazam Tags: Computing callback functions event loop JavaScript Source Type: blogs

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 the videos, I recreated the project (a fun little gemstore) on my own computer. This was really important to me to convince myself that I understood the technology. However in the final final step of the angular.js course, and thus the final challenge of Free Code...
Source: Mr. Hassle's Long Underpants - February 5, 2015 Category: Emergency Medicine Authors: Doc Shazam Tags: Computing CodeSchool Free Code Camp JavaScript JSON Source Type: blogs

WorkFlowy to Keynote Presentation Steps
Frustrating, but I finally figured out a way to go from WorkFlowy to a powerpoint or keynote presentation.  It’s not obvious and requires a “middle man” program.   This works on my Mac, and is untested on other platforms.   First, using Workflowy to export the outline you want to make into a presentation. Then, copy all the text and open TextEdit on your mac.   TextEdit actually creates RTF files, not just plain text.  Paste your Workflowy document into Text Edit.   The outlining should all still be intact. Save this file to your harddrive. Now open Keynote and do these steps Start a new pre...
Source: Mr. Hassle's Long Underpants - December 29, 2014 Category: Emergency Medicine Authors: Doc Shazam Tags: Productivity Source Type: blogs

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 plane or currently in the air and suddenly developing symptoms. Of all of those phone calls…only one of them had recent travel in Liberia and originated from a West African airport.  All of the rest were from random passengers that vomited, or had di...
Source: Mr. Hassle's Long Underpants - October 30, 2014 Category: Emergency Medicine Authors: Doc Shazam Tags: Clinical Ebola Source Type: blogs

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 no). I told her I would draw her a photo instead. So I brought out this sketchbook that Kwin Krisadaphong sent me, and she asked for that as a gift. I showed her Kwin’s inscription and told her I couldn’t give away a gift to me. I quickly sketched out this picture with a nice sketch pen I carry with the ...
Source: Mr. Hassle's Long Underpants - September 28, 2014 Category: Emergency Medicine Authors: Doc Shazam Tags: Honduras Source Type: blogs