And so you code...


Skąd pozyskiwać wiedzę? Zawód programista…

Mój artykuł na temat różnych sposobów poszerzania wiedzy dla każdego programisty

Functional Programming Principles in Scala

Scala is a general purpose programming language designed to express common programming patterns in a concise, elegant, and type-safe way. It smoothly integrates features of object-oriented and functional languages, enabling Java and other programmers to be more productive. Code sizes are typically reduced by a factor of two to three when compared to an equivalent Java application. (…)”

Functional programming in Scala course starts again on 25th March on . You should also enroll :)

Localised enum dictionary

I often create Dictionary<int, string> from enums, to use i.e. in dropdowns selectors. But recently client wanted to have multilanguage web application and Dictionaries with only english enums weren’t useful. I’ve googled a bit and designed my own solution to create locilised enum dictionaries : 

Mar 7

Trzy i pół roku

Studia, studia i chciałoby się rzec : “Po studiach”. Ale nie, jeszcze magister do zrobienia. By ułatwić wszytskim obecnym studentom informatyki na PWr Eka, udostępniam repozytorium, gdzie znajduje się około 90% wykonanych przeze mnie i teamona laboratoriów, projektów oraz ćwiczeń. Wszystko jest na licencji MIT i w razie czego musicie sobie sami radzić z plagiatami :). Enjoy - !!!

Runner goes Open Source

For the last two months I was trying to develop simple system to control aerobic trainings. Main goal of this project was to create my Bachelor of Engineering project. 

Firstly I’ve tried to write very clean code, which goes well with all design patterns, but later I’ve recognised that nobody cares about it, so I doubled my speed of coding and create something which works, but sn’t very pretty, especially mobile app. It was my first project on Android and I guess - last. Writing mobile apps isn’t something I like very much (Coding web is much more interesting for me), but maybe in future I will try something on WIndows 8.

Feel free to use my project in any way you want :).

Link to source code on Github :

CoffeeScript and mvc 4

Using CoffeeScript is simple and quick way of writing JavaScript code. Using mvc 4 Bundle system it’s very easy to start using CS in our web projects.

First of all we need to install CoffeeSharp package via Nuget :

Then, we have to create custom CoffeeScript compiler :

Another step is to register new bundle in BundleConfig.cs :

And finally link to scripts in i.e. _Layout.cshtml file :

Parsing HTML

Very useful library + good tutorial

EF Code First - always remember!!!

If you want to create new db model from classes using Entity Framework Code First, be sure that database isn’t created!!!