воскресенье, 18 ноября 2018 г.

суббота, 17 февраля 2018 г.

New Project on Github: Grid.NET

Ok, this one is a long story. Frequently we need to search in a collection of objects. Typical solution is to store the collection not as List<Person> (because searching by Person.Name in a List<Person> will be O(N) operation), but as a Dictionary<string, Person> where key represents the name. Searching in this collection will be a O(log(N)) operation what is much better. The problem here is that if we want to search by name and last name we are forced to maintain 2 different Dictionary<string, Person>, one for the Name and second for the Last Name. But now there is something we can do about that.

понедельник, 14 августа 2017 г.

.NET Core interop with C#: native and Go

Because I can.

.NET interop is a wonderful feature and I was happy to know that in .NET Core it is still powerful and convenient. While consuming native libraries is pretty starightforward at least on Windows but today we'll try some weird things on Mac OS (I'm pretty sure on Linux it will be the same).
Calling native functions is pretty simple. Let's start with creating a basic .NET Core application:

среда, 26 апреля 2017 г.

Resharper Build does not build

If your Resharper Build&Run matrix is grey and some nodes say "This project it set to "Never Build" in options", go to ReSharper->Options->Build->Heuristics and examine the "Projects that should NEVER be built" window. One unlikely has a project she does not want to build.

понедельник, 18 июля 2016 г.

Scaffolding a Suave app with Yeoman for Visual Studio code

Suave is a simple web development F# library providing a lightweight web server and a set of combinators to manipulate route flow and task composition.

F# in Visual Studio Code

I'm a little bit an IDE-kid and aware of such things like Emacs and Vim however I learned a number of fancy tricks in wonderful Sublime Text and I can edit a line in Vim and then exit it without having an insult. At the same time, I see no point in choosing a text editor over an IDE in my daily works because, you know, performance matters. My performance, not my laptop's (sorry, Greg)
But sometimes you want something different.

пятница, 1 июля 2016 г.

ReSharper does not build tests on run

It took some time for me to figure out the reason, and the internet is full of advices to play with platform and framework and “run every assembly is separate app domain” settings. In my case the issue was this setting value:
Stupid thing, hard to find, impossible to trace.