Friday, September 18, 2015

Useful info on Pre-defined Compiler Macros

Useful info on Pre-defined Compiler Macros here.

Wednesday, May 13, 2015

A Tutorial: Getting Started With Elastic Using .Net NEST Library, Part Two

In part two of this series, I’ll cover the creation of your first elastic index, CRUD operation and simple search with paging and sorting. But before that I’ll give you some more background information about Elastic. Read more.

Thursday, April 30, 2015

A Tutorial: Getting Started With Elastic Using .Net NEST Library, Part One (

In this four-part series, I will show you how to use Elastic from .NET. I will use the officially-supported Elastic client library for .NET: NEST. The first part will cover the reasons for choosing NoSQL, an explanation of Elastic, and installing and communicating with Elastic. Read more.

Thursday, March 26, 2015

Gross national product measures everything, except that which makes life worthwhile

In March 1968, Robert F. Kennedy spoke about a governing elite who had lost touch with ordinary people and judged the state of the nation by gross national product.

"Gross national product counts air pollution and cigarette advertising, and ambulances to clear our highways of carnage,” he said. “It counts special locks for our doors and the jails for the people who break them.”

“Yet the gross national product does not allow for the health of our children, the quality of their education or the joy of their play,” he continued. “It does not include the beauty of our poetry or the strength of our marriages, the intelligence of our public debate or the integrity of our public officials. It measures neither our wit nor our courage, neither our wisdom nor our learning, neither our compassion nor our devotion to our country. It measures everything, in short, except that which makes life worthwhile.”

Thursday, January 29, 2015

Quick how-to for installing nodejs and npm on Debian GNU/Linux 8.0 (jessie)

Here is quick how-to for installing nodejs and npm on Debian GNU/Linux 8.0 (jessie)

* # -> means that you should run command as root (use sudo command)
* $ -> means that you should run command as usual user (not root)

  1. Add source to apt (as root user) (
        # apt-get install curl
        # curl -sL | bash -
  2. Then install nodejs package(as root use sudo command):
        # apt-get install -y nodejs
  3. In order to be able to compile and install native addons from npm you may also need to install build tools:
        # apt-get install -y build-essential
  4. Install npm (node package manager)
        # curl | sudo sh
  5. To test your installation run the following commands as usual user (not root):
        $ node -v
        $ npm -v
  6. Done, enjoy .

Wednesday, January 28, 2015

First C# 7 Design Meeting Notes (

1. Agenda

This is the first design meeting for the version of C# coming after C# 6. We shall colloquially refer to it as C# 7. The meeting focused on setting the stage for the design process and homing in on major themes and features.

  • Design process
  • Themes
  • Features

2. Themes

    Working with data
    • pattern matching
    • tuples
    • "denotable" anonymous types
    • "records" - compact ways of describing shapes
    • working with common data structures (List/Dictionary)
    • extension members
    • slicing
    • immutability
    • structural typing/shapes?
  • Performance and reliability (and interop)
  • Componentization
  • Distribution
  • Metaprogramming
  • Null

3. Features

  • Pattern matching
  • Records
  • Array Slices
  • ref locals and ref returns
  • readonly parameters and locals
  • Lambda capture lists
  • Method contracts

Read more.

Thursday, November 13, 2014

Visual Studio Community 2013 (

Who can use Visual Studio Community?
  • Here’s how individual developers can use Visual Studio Community: Any individual developer can use Visual Studio Community to create their own free or paid apps.
  • Here’s how Visual Studio Community can be used in organizations: An unlimited number of users within an organization can use Visual Studio Community for the following scenarios: in a classroom learning environment, for academic research, or for contributing to open source projects. For all other usage scenarios: In non-enterprise organizations, up to 5 users can use Visual Studio Community. In enterprise organizations (meaning those with >250 PCs or > $1MM in annual revenue), no use is permitted beyond the open source, academic research, and classroom learning environment scenarios described above.
How does Visual Studio Community 2013 compare to other Visual Studio editions?
  • Visual Studio Community 2013 includes all the great functionality of Visual Studio Professional 2013, designed and optimized for individual developers, students, open source contributors, and small teams.