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

IoT: Send events to Azure Event Hub using Rust

IoT: Send events to Azure Event Hub using Rust Azure Event Hub Microsoft Azure offers a very appealing IoT service. It’s called Event Hubs (https://azure.microsoft.com/en-us/services/event-hubs/). Basically it gives you and endpoint in which you can send your events. The events are stored for a retention period and can be retrieved in a FIFO manner by consumers…. Read more

Parallel DBCC CheckDB using GOlang

Parallel DBCC CheckDB in GOlang In this post I will show you how to use the concurrent features of the GO (ie GOlang) language in order to perform some maintenance tasks in parallel. This is just a showcase of features so don’t expect a enteprise-ready functionality . The problem we address in this case is… Read more