Monday, October 20, 2014

My first article in malayalam is up on Cybermalayalam portal - Machine Learning

It was a different experience to think about technology in my regional language. Read the article on Machine Learning here - http://cybermalayalam.com/machine-learning-basic-concepts/

മെഷിന്‍ ലേണിങ്, അടിസ്ഥാന വിവരങ്ങൾ


Please excuse the spelling error, which is mostly because of the unicode software used. Hope to improve in upcoming articles.

Tuesday, October 14, 2014

Design Pattern: Unit of Work

Entity Framework is the best example which uses Unit of Work pattern. What it does is to (1) keep the data and its changes (like add, edit, remove, delete/ CRUD) in memory and (2) transfers those modifications to the physical  database.

According to Martin Fowler, the Unit of Work pattern "maintains a list of objects affected by a business transaction and coordinates the writing out of changes and the resolution of concurrency problems."

Friday, October 10, 2014

Programmatically change Lync availability status

Below code snippet changes the status to Do Not Distrub mode forcefully. I have tested this with Lync 2013.


 LyncClient lc = LyncClient.GetClient();
if (lc.State == ClientState.SignedIn)
{
    Dictionary data 
        = new Dictionary();
    data.Add(PublishableContactInformationType.Availability, 
        ContactAvailability.DoNotDisturb);
    lc.Self.BeginPublishContactInformation(data, null, 
        new object[] { lc.Self });
}

Make sure you have Lync SDK installed and have referenced Microsoft.Lync.Model

ETW in action - a simple-sample

using System.Diagnostics;

... 

EventInstance ei = new EventInstance(100, 1, EventLogEntryType.Information);
string[] vals = { "Test Event - a very basic event logger" };
EventLog.WriteEvent("MyEventLogger", ei, vals);

There you go... check Event Viewer -> Windows Logs\Application

Thursday, October 2, 2014

Microsoft’s Sway is a platform for creating simple, well-designed projects on the Web

Microsoft is pulling back the curtain on a new service called Sway, which makes it easy for anyone to make interactive, well-designed and easily shareable projects on the Web.

 

Ref url: http://thenextweb.com/microsoft/2014/10/01/microsoft-debuts-sway-platform-creating-simple-well-designed-projects-web/

MVA: Programming Robotic Systems with Visual Studio

URL: http://www.microsoftvirtualacademy.com/training-courses/programming-robotic-systems-with-visual-studio

image

Channel 9 : Understanding the World with F#

The F# Software Foundation has been working hard to make F# the best tool for doing data science, not just on the .NET and Mono platforms. This video shows the recently announced F# libraries for interactive data analysis, for accessing data from a variety of sources including REST based services, CSV files and online data sources like WorldBank and Freebase.