Friday, August 31, 2012

Complexity of simple data types (link)

Sometimes the simplest of things have complex answers. In programming we like to think of simple data types, but in reality there aren’t any. While it is nice to consider things as pure data, it is possible that such things don’t actually exist.

Read more here...

Saturday, August 18, 2012

A* Pathfinding for Beginners (link)

Pathfinding or pathing refers to the plotting, by a computer application, of the shortest route between two points. It is a more practical variant on solving mazes. This field of research is based heavily on Dijkstra's algorithm for finding the shortest path on a weighted graph.
- Wikipedia

The A* (pronounced A-star) algorithm can be complicated for beginners. While there are many articles on the web that explain A*, most are written for people who understand the basics already. This article is for the true beginner.

This article does not try to be the definitive work on the subject. Instead it describes the fundamentals and prepares you to go out and read all of those other materials and understand what they are talking about. Links to some of the best are provided at the end of this article, under Further Reading.

Read here... more

Monday, August 13, 2012

A comparison of C++11 language support in VS2012, g++ 4.7 and Clang 3.1 (link)

If you need an excuse for celebration, today happens to be an anniversary! The C++11 standard was approved by ISO on 12 August last year, exactly one year ago. I decided to take a look at the state of C++11 language support one year on across three compilers: the upcoming VS11 (Visual Studio 2012), g++ 4.7 and Clang 3.1.

Please note I didn’t detail the non-language concurrency changes. Generally, support for those remains limited. Read more here

Friday, August 10, 2012

Automating JavaScript Testing with QUnit (link)

QUnit was born May 2008, out of the testrunner embedded into the jQuery core repository. It got its own name and documentation and a new home for the code. Late 2009 QUnit was refactored to be independent of jQuery, making it useful for testing all kinds of JavaScript frameworks and applications. Its assertion methods now follow the CommonJS assert specification. While QUnit can run in server-side or command line environments, it’s still most useful for testing JavaScript in the browser. This article explores how to write unit tests with QUnit, and how QUnit can help developing applications.

Read more here...

Thursday, August 9, 2012

Free JavaScript tutorials (link)

"Level up your skills with our on demand, pragmatic training solution. No signup required. No catch. No kidding." For Learning jQuery & JAVASCRIPT for free go here

Wednesday, August 8, 2012

Mastering JavaScript Console Logging (link)

The console object crops up everywhere. But what is it, and what can it do? Most people seem to use it without realising the sheer convenience it can provide. Let’s take a look at where it comes from, and how to use it correctly.

Read more here

Tuesday, August 7, 2012

My JavaScript IDE: vim + nodejs + JSLint

Recently I had chance to spend more time to work with JavaScript. So I have created custom Vim configuration for JavaScript editing. Here is link to my dofiles on GitHub.

I have mapped JSLint to 'F5'. So I can run JSLint by hitting 'F5' and JSLint output will be shown in separate window. This mode activates then I open JavaScript file.

The easiest way to install JSLint first to install nodejs and then jslint node module:

npm install jslint -g

Thursday, August 2, 2012

My new gitignore file for C# projects

I have updated my old gitignore file. The following is my new git ignore (.gitignore) file for C# projects. I use both VisualStudio and MonoDevelop as IDE's, NUnit for unit testing and also vim for quick view/edit ;)
# Build and Object Folders

# User Specific Files

# Resource Caches

# Nuget

# Vim

# Unit tests

# Upgrade Report Files

# Nuget

# Logs
You can always find the up-to-date version of this file in my GitHub repository: dotfiles

Wednesday, August 1, 2012