Home

  • Write yourself a Telegram bookstore bot in Haskell

    Recently Telegram rolled out their new update for Telegram Bot API that introduced payments. So now developers can build merchant bots. In this tutorial, we are going to create a simple bookstore bot that will sell these wonderful O'RLY books that teach as how to build better software.

    Read more...
  • Elasticsearch language plugin for Brainfuck scripting

    We as a programmers like some programming languages and some of them... we are not interested in at all. It hurts so badly when you don't have an option to use your lovely language when you clearly see how beautiful solution written in this language will be. Sometimes you have to resign to your fate. But not this time!

    Read more...
  • Octophoenix

    This blog was under reconstruction several months. Mostly because of a lot of things happened and I had no time to do all necessary reorganisation work related to the blog. Eventually I decided to reborn and migrate from Orchard CMS to Github Pages with Jekyll. Rise, my blog, in shape of Octophoenix!

    Read more...
  • PeerJS + ASP.NET

    Progress in Web development astonishes. We spend less time using desktop applications and more time using only browser. There are powerful web tools like Google Drive and Office Live, online dictionaries and translators, messengers, graphics editors, 3D games and even IDEs. You need just have the Internet and modern browser. More and more features constantly appear. And one of them is peer-to-peer networking between browsers. Now I’m going to show how you can add peer-2-peer interaction between clients into your ASP.NET application with using PeerJS step by step.

    Read more...
  • Fluent Builder in C#

    I like the pattern “Fluent builder”. This pattern provides an easy and transparent way to build complex objects with an hierarchical structure. If you are the developer of a builder, this pattern helps you to hide complexity of building objects, manage the subnode creation, define the order in which client should call methods of builder, where the order is important, and gives you other advantages of using “Builder” pattern, described in the book written by GoF.

    Read more...
  • GitHub + Bitbucket

    GitHub and Bitbucket are two most popular hosting services for your projects. There are a few not very important differences, for example GitHub is more social than Bitbucket, but Bitbucket has support both Git and Mercurial. Both have an issue tracking, wiki, user-friendly interface, a good integration with different services. But there is one big difference and it is pricing plans.

    Read more...
  • ASP.NET WebAPI ViewModel

    It is quite often objects, which are aimed to transfer a data between a client and a server or to represent the objects of the real world, are different from data-access layer or buisness logic objects. In this case it is recommended to use DTO. Concerning ASP.NET WebAPI that designed by MVC pattern DTO can be used as a view model in client/server interaction. There are recommendations for ASP.NET MVC to use View Model object to transfer information to View instead of Entity Framework enities for example, and for WebAPI it is more actual. For convertion Model to View Model and back it is very convenient to use AutoMapper.

    Read more...
  • Emerging from Cocoon

    This blog is still local, but there is a positive tendency. From time to time I write new posts and notes, of course not many but now it’s better in comparison with the last attempt to create a blog.

    Read more...