Node.js articles

October 2, 2011

Articles on node.js.



Visual Studio 2010 – 2013 Dark Theme

August 20, 2011

Visual Studio 2010 – 2013 Dark Theme TextMate style, with ReSharper and Razor support.

Download   More themes   Create theme

Patterns and idioms in functional languages

June 15, 2011

General reference in fp patterns and idioms.


Category Theory for the Java Programmer

June 13, 2011

Very good presentation of Category Theory for Java.


The Algebra of Data, and the Calculus of Mutation

June 4, 2011

Very nice explanation of algebraic data type.


Generics extention for getting 3.5 EF object with Data Services

May 9, 2011

In my latest project implemented with EF 3.5 and ADO.NET Data Services, there was the constant need of getting entity objects from DB by ID(…). This generics routine retrieves an object (of the generated DataServiceContext types) by its respective Id of int, double, decimal, or Guid:

public static T GetById<T,U>(this DataServiceContext ctx,   U id)
  where T: INotifyPropertyChanged
  where U: struct
  var atts = typeof(T).GetCustomAttributes(false);

  var entitySet = (atts.First(a=>a is EntitySetAttribute)
    as EntitySetAttribute).EntitySet;

  var key = (atts.First(a=> a is DataServiceKeyAttribute)
    as DataServiceKeyAttribute).KeyNames.First();

  var query = string.Format(new[]
    new {Query = "{0} eq guid'{1}'", Expr = id is Guid},
    new {Query = "{0} eq {1}",
     Expr = id is double || id is decimal || id is int}
   .First(q=> q.Expr).Query, key, id);

  return ctx.CreateQuery(entitySet)
    .AddQueryOption("$filter", query).First();

A co-Relational Model of Data for Large Shared Data Banks

April 8, 2011

Fueled by their promise to solve the problem of distilling valuable information and business insight from big data in a scalable and programmer-friendly way, noSQL databases have been one of the hottest topics in our field recently.


HTML 5 and CSS 3 Cheat Sheets

March 29, 2011

HTML 5 cheat sheet lists all currently supported HTML 5 tags, their descriptions, their attributes and their support in HTML 4.

more (requires Windows Live id)

Paging with jQuery Templates

March 8, 2011


WP7 Push notifications

March 6, 2011

There are plenty of opportunities from the fact your connection is always on and this is the reason the team behind Windows Phone 7 decided to implement a Push Notification protocol embedded in the operation system