Francesco Cogno's blog

Where data hit programming languages. Hard. In the shin.

End-to-end WordCloud using Rust, TypeScript, AngularJS 2, and timdream’s WordCloud

Word clouds are a very attractive way of visually representing the relative importance of words. At a glance you can guess how important a word is relative to the others in the cloud. We will build two components: A text parser that will calculate the relative weight of each word in a given text (we’ll… Read more

How to render SQL Server acyclic blocking graphs using Visual Studio Code, TypeScript, NodeJS and TreantJS – Part 2

Recap In the previous blog post (you can find it here: http://bit.ly/bcts1) we’ve seen how to setup a NodeJs REST application in Visual Studio Code. We’ve also seen how easy is to debug the application without leaving the IDE. In this second part, we will see how to wire some data to a gorgeous library:… Read more

How to render SQL Server acyclic blocking graphs using Visual Studio Code, TypeScript, NodeJS and TreantJS – Part 1

Introduction SQL Server uses blocking – among other technologies – to ensure ACID transactions. There are a lot of lock types in SQL Server, ranging from Shared and Exclusive, Page and Range or even table level. You can find more about these here: [TechNet] – Lock Modes. Whenever SQL server tries to acquire a lock… Read more