# Sunday, November 20, 2016

Recently, I sat down with Charles Wright and Ian Easton of ADATA to talk about how their company migrates and integrates data across platforms. That interview is now available on channel 9. Click here or view it below.

Sunday, November 20, 2016 9:08:00 AM (GMT Standard Time, UTC+00:00)
# Saturday, November 19, 2016

The Conquering Sword of Conan is the third and final volume of the complete Conan stories by Robert E. Howard.

I felt a feeling of accomplishment by completing these stories - finally experiencing the source material of this iconic pulp character after a lifetime of awareness.

Most of this volume consists of the final 5 short stories published by Howard. Much of the action takes place in Africa. Conquering Sword also includes a number of story synopses and first drafts, giving an insight into Howard's writing process. Howard wrote for pulp magazines (primarily Weird Tales) and struggled to make a living during the great depression, so he would often rewrite rejected stories and change the characters and/or locations before re-submitting them.

In the 5 completed stories Conan continues his travels around the world of the Hyborian Age, hunting for treasure and battling bad guys, sorcerers, and monsters. In Beyond the Black River and The Black Stranger, Conan has his first encounter with Native Americans (known as "Picts"), who sail to Africa from a set of islands that would eventually rise into the continent of North America after the destruction of Atlantis.

The stories do not lack for adventure and many contain a moral lesson in contrasting Conan's barbarian code of ethics and chivalry with the hypocrisy and treachery of more civilized men.

Still, there are elements of Howard's writing with which I am uncomfortable. He routinely portrays women as the spoils of war, often hypersexualizing them. Worse, there is often a direct correlation between darkness of skin and savagery.  The brown-skinned people of Conan's world tend to be the most superstitious, the least intelligence, and - in some cases - cannibals.

I'm willing to take into account that Robert Howard grew up in the American south over a century ago and that his prejudices were almost certainly influenced by his environment and his peers. Given our country's current racial division and polarizing political rhetoric, this seems a timely and relevant question to ask ourselves. Can we separate art from the artist? Can we forgive him his prejudices if he grew up in a place and time where those prejudices were the norm among his peers.
Do we vilify Thomas Jefferson because he owned slaves? Or do we forgive him because he grew up in an era when every gentleman farmer owned slaves?  Personally, I am willing to forgive Howard, acknowledging how the artist he was likely socialized. Still, I fully acknowledge my views are filtered through the lens of the life of a white male and I welcome comments of others - particularly women and people of color who have read these stories.

If you are willing to look past or forgive Howard for his racism and misogyny, the Conan stories will entertain you.

Saturday, November 19, 2016 8:30:00 AM (GMT Standard Time, UTC+00:00)
# Friday, November 18, 2016

This week, Microsoft hosted the keynote event in New York City. Although attendees could travel to New York to attend in person, most who watched the keynote (including me) watched a live stream or recording of the keynote and breakout sessions online.

There were a number of important announcements, including Microsoft joining the Linux Foundation; the upcoming Visual Studio 2017; and Visual Studio on a Mac.

Here are the notes I took during the keynote:

    Support for multiple languages
    Intellisense support for hundreds of npm modules
    Docker extension (constainerize app)
Azure App Service now supports running on Linux

    Cloud-scale document database
    Global replication
        Click on data center in map
    Configure API to be MongoDB API compatible
    Most active contributor on GitHub
    Microsoft joins Linux foundation as a Platinum member
    Visual Studio for Mac preview now available
    Free with MSDN
    Community Edition will be free to everyone
    .NET Core Support
    Visual Preview of Xamarin.Forms XAML
    Visual Studio integration
            Create container
            Publish (dialog is specfic to containers)
            Debug in container
            Release Management / Continuous Deliver supports Containers

    Write code that runs in response to events in Azure (or outside Azure)
    Languages PHP, Python, Powershell, C#, etc. supported
    Write Functions in Visual Studio
        1-click publish
    Available today
    Gartner: SQL Server is least vulnerable database (past 6 years)
    In-memory advanced analytics
        R Language support
    SQL Server 2016 SP1 released today
    SQL Server on Linux (public preview available today)
    Advanced security
    Advanced compression
    Conversational app
    Built on Azure Functions
    Integrate with Slack, Facebook, etc.
    Install, uninstall faster
    Icons in code margin indicate failing tests, passing tests, and uncovered code
    New Exception Helper
    Style Rules enforced in editor
    Indent Guides (dotted vertical lines) match beginning & ending brackets
    Helpers at bottom of dropdowns
        Filters results in list
        CTRL+T search to activate
    Tuples: Allow you to return multiple values

WinApp Driver
    UI Testing of Windows apps
    Doesn't care what language app is writtenin
.NET Core
    60% of contributions from Community
    .NET Foundation
        Many repositories
        .NET Core on Tizen OS (courtesy of Samsung)

Friday, November 18, 2016 10:58:00 PM (GMT Standard Time, UTC+00:00)
# Monday, November 14, 2016
Monday, November 14, 2016 11:22:00 AM (GMT Standard Time, UTC+00:00)
# Monday, November 7, 2016
Monday, November 7, 2016 9:12:00 AM (GMT Standard Time, UTC+00:00)
# Sunday, November 6, 2016

Today I am grateful for dinner last night with Randy and Emilija.

Today I am grateful for lunch yesterday with Aalap.

Today I am grateful that I recovered a keyboard that I left weeks ago in a Starbucks 140 miles from my home.

Today I am grateful to sip scotch and watch baseball last night with J.

Today I am grateful for a 7-game World Series.

Today I am grateful for a quiet corner table I a restaurant to unwind while traveling.

Today I am grateful for open and honest debate, free of ad hominem attacks and untruths. I do wish they were more common.

Today I am grateful to see a Jeff Daniels play last night at the Windy City Playhouse

Today I am grateful to ride my new bike to and from work yesterday.

Today I am grateful for my new phone.

Today I am grateful for a friend who will listen to me rant when I'm feeling overwhelmed.

Today I am grateful for dinner with Manohar last night.

Today I am grateful for lunch yesterday with Jimmy in Austin.

Today I am grateful for drinks last night with Jeff and Chrissy.

Today I am grateful for college students with a passion for learning.

Today I am grateful to be part of DevUp this year.

Today I am grateful to be back in St. Louis.

Today I am grateful for dinner with Nick last night.

Today I am grateful Emilija was able to meet for a late dinner before I leave town for a week.

Today I am grateful that an old friend called me to ask for some advice.

Today I am grateful for these 2 bikes that I bought from my brother last week.

Today I am grateful for my first visit to the Milwaukee Public Market yesterday.

Today I am grateful for dinner last night with Gary, Patricia, Andrew, and Lisa.

Today I am grateful for 3 years at the best job I've ever had.

Today I am grateful for a day in Champaign, IL.

Today I am grateful to my 2,000 Twitter followers who think I'm saying something worth listening to.

Today I am grateful for:
-Great crowds at MSU and #SEMJS last night
-Lunch with Matt yesterday.
Today I am grateful that my brother, my nephew and I had a chance to visit my mother yesterday.

Today I am grateful for a weekend in Detroit.

Today I am grateful for an afternoon with my mother yesterday.

Today I am grateful for:
-Attending and speaking at #dogfoodcon for the first time
-An unexpected drink with Stuart and Michele last night.

Today I am grateful for a full room at each of my presentations yesterday.

Today I am grateful for audiobooks on a long drive.

Today I am grateful for:
-Lunch yesterday with Thad
-Dinner last night with Dan

Today I am grateful for all the people who came out to hear my presentation on a Sunday afternoon.

Sunday, November 6, 2016 10:40:43 PM (GMT Standard Time, UTC+00:00)
# Monday, October 31, 2016
Monday, October 31, 2016 6:43:55 PM (GMT Standard Time, UTC+00:00)
# Monday, October 24, 2016
Monday, October 24, 2016 9:53:00 AM (GMT Daylight Time, UTC+01:00)
# Tuesday, October 11, 2016

Microsoft Cognitive Services provides a number of APIs to take advantage of Machine Learning. One of the simplest APIs to use is Sentiment Analysis.

Sentiment Analysis examines one or more text entries and determines whether each text reflects a positive or negative sentiment. It returns a number between 0 and 1: A higher number indicates a more positive sentiment, while a lower number indicates a more negative sentiment.

To use this service, POST a JSON message to the following URL: https://westus.api.cognitive.microsoft.com/text/analytics/v2.0/sentiment

Unlike some web Cognitive Service URLs, this one takes no querystring parameters.

In the HTTP header, pass the following information: Content-Type and the Ocp-Apim-Subscription-Key.

The API is a simple REST web service located at https://api.projectoxford.ai/emotion/v1.0/recognize. POST to this service with a header that includes:

where xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx is your key.

In the Content-Type, pass "application/json".

For the Ocp-Apim-Subscription-Key, include the the Text Analytics key. You can find your key at https://www.projectoxford.ai/Subscription?popup=True

In the body, pass a JSON object that contains an array of documents. Each document contains 3 properties:

language - the Language of the text you want to analyze. Valid values are "English", "Spanish", "French", and "Portuguese".

id - A string that uniquely identifies this document. Used to match the return value to the corresponding text.

text - the text to analyze

Below is a sample JSON body:

"documents": [
"language": "English",
"id": "text01",
"text": "This is a great day."

After you POST this to the URL, you should expect a response that includes JSON. If all goes well, you will receive an HTTP 200 response and the returned JSON will include an array of documents (the same number that you passed in the Request body). Each Response document will contain

id - matching the id of the document in the Request document.

score - A value between 0 and 1. The higher the score, the more positive the sentiment of the text; The lower the score, the more negative the text sentiment.

You may also receive an array of errors. Each error contains the following properties:

id - matching the id of the document in the Request document.

message - a detailed error message.

Below is an sample response JSON body

"documents": [
"score": 0.95412,
"id": "text01"

Here is a bit of code to call this API from JavaScript. I am using jQuery's Ajax method and displaying output in a div, like the following:

<div id="OutputDiv"></div> 

var subscriptionKey = "566375db01ad43dc8f62dcc8dc3e5c1f";
var textToAnalyze = "Life is beautiful";

var webSvcUrl = "https://westus.api.cognitive.microsoft.com/text/analytics/v2.0/sentiment";

var outputDiv = $("#OutputDiv");

type: "POST",
url: webSvcUrl,
headers: { "Ocp-Apim-Subscription-Key": subscriptionKey },
contentType: "application/json",
data: '{"documents": [ { "language": "en", "id": "text01", "text": "'+ textToAnalyze + '" }]}'
}).done(function (data) {
if (data.errors.length > 0) {
outputDiv.html("Error: " + data.errors[0]);
else if (data.documents.length > 0) {
var score = data.documents[0].score;
if (score > 0.5){
outputText = "That is a Positive thing to say!";
outputText = "That is a Negative thing to say!";
else {
outputDiv.text("No text to analyze.");

}).fail(function (err) {
$("#OutputDiv").text("ERROR! " + err.responseText);

Tuesday, October 11, 2016 6:48:00 AM (GMT Daylight Time, UTC+01:00)
# Monday, October 10, 2016
Monday, October 10, 2016 5:38:20 AM (GMT Daylight Time, UTC+01:00)