Automatic iTunes Folder Playlist in Javascript and F#

The other day, I was struggling with my playlist on itunes. As you may know iTunes doesn’t have the notion of the folder structure of your mp3s. So if you do organise your music in folders you won’t have them in iTunes. I decided to write a script using the iTunes COM SDK for doing […]

Happy New Year

Happy new year to everyone! 2007 has been a great year for me. 2008 didn’t start bad either, I hope to start a new project in a week or so which I’m really excited about it.
I wish you a great new year with lots of fun and happiness. I hope a lot more positive […]

Redirect a System Process into Java Application for Windows and Linux

The output or input redirection is often used by the command line script guys. The output redirection (”>”) is usually to the file instead of the standard output. The input redirection (”<”) is to have a file as input instead of the standard input. It is sometimes needed in the programs too.
Interoperability with other […]

LINQ and XLINQ with Visual Basic Literals

I really liked the XML expressiveness of Visual Basic, let’s build a very simple MSN History Search Engine using LINQ and XML Literals in Visual Basic.
The best thing is those literals could be used in LINQ expressions. Remember the simple XML file that MSN stores as a history.

.@AttributeName : Accesses the attribute element in XML
.<ElementName> […]

C# 3.0 vs. VB 9.0 and XML in the Language

Here is the summary of new language features as mentioned on the “What’s new on ORCAS

C# 3.0 Language Support: This CTP implements all of the C#3.0 language features from the May LINQ CTP including:

Query Expressions

Object and Collection Initializers

Extension Methods

Local Variable Type Inference and Anonymous Types

Lambdas bound to Delegates and Expression trees

Complete design-time support: Intellisense, Formatting, […]

JSON Tools for .NET

JSON (JavaScript Object Notation) is a lightweight data-interchange format. JSON is an object notation in text format that Javacript engine fully understands and there is no need to parse for it.
The library contains some basic types that Javascript requires. IJSONObject, JSONElement, JSONNumber<T>, JSONString, JSONBoolean, JSONCollection, JSONArray and JSONObject.

JSONObject : Represents JSON objects beginning and […]

F# Productization and Visual Studio 2008

It has been a long time since I haven’t blogged. Lots of things have happened on my side and on the development world. After finishing the internship at Microsoft Research Cambridge and submitting my thesis, I started to work at European Product Development Center in Dublin. I am very excited to work at Microsoft again. […]

Almost Finished,What’s Next,.NET Source Code

What a nice morning after everything… It has been more than a week since I finished my coursework which means that I unofficially finished my masters. Things are started to change now, I really didn’t understand how this month has passed and couldn’t believe it’s just finished. Well the truth is I enjoyed every […]

Parallelism on October’s MSDN Magazine

Although I am extremely busy this month, I can’t stop reading those wonderful articles about parallelism on October’s MSDN Magazine. Here are the articles, a very first gentle introduction to PLINQ (Parallel LINQ) by Joe Duffy,Ed Essey, Parallel Performance using System.Concurrency namespace and a ThreadPool article. Apparently in the near future we will have some […]

Simple but Elegant, Creating a class from String

Creating a class from a string might be crucial for some very dynamic projects. It’s a single line of code that I wanted to share but I think it has a lot of power.

Simply get the executing assembly and call the GetType method. If your assembly is one of the linked assembly or even a […]