Thursday, December 29, 2011

JavaScript as I know it

I really like a JavaScript language. But I am concerned about all the buzz around frameworks like node.js, knockoutjs or spinejs. My worries concentrate on a language and a knowledge of it. Who knows what does ++[[]][+[]]+[+[]] do? What about problem described in this article. There are so many pitfalls, and it's so hard to pass thru without stepping on a mine. There is not a single tool that I know that allowed writing a code in a JavaScript just like in a C# or Java - with a good warning, suggestion support, strong typing (I am willing to give up dynamic power in a JavaScript just to check for problems during compilation), or abbreviation support. I don't feel after reading books like JavaScript: The Good Parts, JavaScript Patterns, Pro JavaScript Techniques or JQuery Cookbook that I feel safer. I'm really curious what will happen in the future with the language, tools, and ideas of writing business logic or more control on a JavaScript side.

Wednesday, December 21, 2011

Temporary asp.net files

Visual studio, when it builds, runs, tends to create and use temporary asp.net files. Some compilation, and runetime errors, even when fixed are throwed/showed, because the cashed version of a logic is used, a code that does not exist any more in a project. Each time when I face this problem, I search a web, and it takes me some time to find this path:
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files
Delete it all.

Tuesday, December 6, 2011

Excellent article abut BK-Trees

I love when ideas are presented in a simple way. BK-Trees are well known structures, but in a normal work as a typical programmer, when I need to implement a more advanced search that MS SQL or SOLR.NET (lucene) allows, I tend to do it in a simple way - by result combination of some sub queries. This approach makes me forget about some not often used data structures in a "day time" job. And when I find an article that is easy to follow, light in a form, and cool in a subjects that it touches, I simple love it.