Thursday, January 5, 2012

What to do when a package information is too big in Nuget

Use Out-GridView:
get-package -listavailable -filter fluent | Out-GridView

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.

Monday, October 31, 2011

On Decidability of Nominal Subtyping with Variance




Yes, I found this article about Gödel's incompleteness theorem problem in a programming languages design. I love it. I can see that one of the authors is an author of my favorite type topic books.

Friday, August 26, 2011

Typical windbg commands




Recently I debugged a lot .NET code in a native debugger. Some useful commands are listed below.


srv*c:\symbols\public*http://msdl.microsoft.com/download/symbols
.load sos
.loadby sos mscorwks


SOS commands

!eeheap -gc
!dumpstackobjects (!dso)
!clrstack
!dumpheap -stat - All classes in a memory
!dumpheap -mt message_table - First column
!dumpheap -stat - list of object for a given class
!do adress - Address of a command listed above
!gcroot adress - why it is not garbage collected
~* e clrstack - For all threats run command clrstack
!syncblk - Show all locks

Saturday, July 30, 2011

Gregs next video

I finally had a mud to watch a next video of great Greg Meredith. As many of his work, it opened my mind to different concepts of a perception of the universe. Great job Greg, I can't wait for a book of yours.