Why is my Emacs slow?

Emacs is amazing text editor (let’s treat it as a fact ;) ), but it can become clunky in some situations. For example one day I was working with a big JavaScript file and after a while I’ve notice that even moving a cursor down a few line was slow (to the point where I couldn’t do my work). I’ve stared wondering what is going one. Thankfully Emacs, as usually, has a solution for that. You can run profiler that measures usage of cpu and/or memory of all functions run by Emacs. To do that we can run command (M-x):

Read more

NDepend 2017

Usually once a year I get a new license for NDepend from Patrick Smacchia - its creator. I’ve written about this tool several times (here: NDepend 6, NDepend 5 and NDepend) so I won’t repeat myself about its basic usage. I also haven’t change my mind and still think that NDepend is a great tool, so instead of writing it’s full review I will focus only on functionality that I found most valuable in this new version.

Read more

DevDay 2016

It became a tradition for me that in September I go to Krakow to participate in DevDay conference. It was my 4th time there and as usual it was pleasant to be there. In comparison with the previous year there were two changes. The first one was the venue. This time the event took place in a modern cinema, with a big screen and very comfortable chairs. The second change, the more subtle one, was in the selection of speakers and subjects. I have a feeling that there is a transition from strict technical (.Net) conference into more general, personal development oriented one. I like this change a lot. The older I am, the more I want to listen about people stories and their feelings and less about another framework.

Read more

Lesser known Clojure: new string functions in Clojure 1.8

The latest version of Clojure (1.8) introduced a new set of functions operating on strings. Those functions are only a syntactic sugar. All of its functionality can be achieved with Java methods, but they make our code more idiomatic and easier to read. For clarity’s sake I will list all of them with its doc strings and some examples.

Read more

Lesser known Clojure: max-key and min-key

Some time ago Bozhidar Batsov wrote such tweet:

Read more