Golden Award for Molybdenum 2019 Challenge

It’s been a while since I took my last challenge on Codility and this was the first one I did in 2019. I felt a little bit rusty but it was a great weekend algorithm challenge. I managed to do 100% points on correctness and performance which is awarded with a Golden Award.

Molybdenum2019GoldenAward.png

The challenge was marked as hard but personally I didn’t felt like it was on the level of the hardest challenges on Codility.Read More »

Advertisements

2018 Codility Challenges Summary

This year I found myself to be very much interested into algorithm challenges and the format of Codility seemed most suitable for me. I did total of nine challenges this year and got nine Golden Awards.

CodilitySummary.png

Here are all of them listed and you can check all the solutions, certificates and blog articles. Feel free to ask me questions if you need additional explanation about some of the solutions.Read More »

Those who can’t farm – make farmland fields algorithms

Farming is something that I want to do in the future, farming with using technology and robots and… but I’ll write about that in some other occasion. One of the latest Codility challenges¬† was farmland sprinklers arrangement problem and finding an optimal way to do that. Besides that I got algorithm mind challenge this time I got inspiration and made me daydream about the possibilities in farming with using technology.

SprinklersArrangement.png

So here is what you need to do in order to help Joe the Farmer.
Joe the Farmer owns a square plot of farmland whose sides are of length N. The land is split into N rows and N columns of equal size, so that there are N2¬†identical square fields within the farmland. Read More »

How to automatically add base class to table mapped classes and data context in LINQ to SQL

I always tend to use LINQ to SQL (L2S) in smaller projects rather than Entity Framework (EF), it’s more lightweight and provides faster development for projects of this scope. Of course, for more robust system I would go with EF because of the better control and the relations between the context objects. If you like to go more into details on this read this topic: L2S vs Ef.

single-table-inheritance-in-linq-to-sql.jpg

Inheritance is much easier to implement in EF but it can also be done in L2S although in a not very clean way, at least not that I know of. Here I’ll show you how can you add a base class to the L2S entities that can be used for auditing, creating domain events or whatever behavior that you want to achieve across all entities.Read More »

A story about a real struggle with an algorithm

I don’t have that much of a free time but from the one I have I try to make the most of it, and I think that is very important to have quality hobbies. For some people that is crossword puzzles, for some is reading books, for me that is running and from this year I’m taking participation in Codility Coding Challenges as well.

pcthinking.jpg
In this post I would like to share my experience with the latest Codility challenge – Cuprum 2018. Read More »

Migrating SignalR from ASP.NET Web API 2 to Self Hosted Server (Part 3)

This is the last one of the series I’ve planned about SignalR, this time I’ll demonstrate how can we migrate the SignalR system that we previously created to a self hosted server and in that way have a very light weight server application that will have all the functionalities that we need and nothing more than that. The point is to get the exact same behavior of the server as we had it when we build it with WebAPI2.

SelfHostedSignalR.png
Photo Credit Code Project 

In a case you missed the first two posts please review them here
Part1: SignalR, what is happening under the hood
Part 2: How to build chat server and client with SignalR and ASP.NET WebAPI 2Read More »