Kukuruku Hub


Karma: +7.66

Erlang for Beginners. Data Types, Variables, Lists and Tuples

Written by HaruAtari

Dear %username% , It’s the first article of the series. For many of you it may seem terribly trite as I’ll review the very basis of the subject. But this tutorial is going to be really useful for Erlang beginners. I’ll also dwell on some interesting things that aren’t obvious. In...

Premature Optimization is Evil

Written by Kukuruku Hub

There were no signs of trouble until we noticed a mix of 200 and 500 HTTP statuses in Kukuruku's web server logs. We were a bit confused when we started to look into it. The weird thing was that the server responded with either 200 ( OK ) or 500 ( Internal Server Error ) statuses even to requests...

Boost Concepts

Written by Vadim Androsov

I was always scared to use C++ templates due to the absence of standard mechanisms for setting parameter limits. In other words, when a developer writes the following function: template bool someFunc(T t) { if (t.someCheck()) { t.someAction(0); }...

  • 1
  • 4223

Lock-free Stack for Windows

Written by Vengo

It is common practice not to like Windows. But, as a rule, phrase: “I haven't read the book but still condemn it” describes this situation well. Despite the tendency of not like Windows, there are still some things that are implemented well. I’d like to tell you about one of them. I’ll...

  • 2
  • 9443

Haskell. Testing a Multithread Application

Written by Ankuzik

I guess it’s no secret for anyone that multithread applications writing is connected with many problems you wouldn’t face when developing single-thread programs. One of the problems lies in an application testing. We can’t control the order in which operations are performed. Therefore, we...

Ref-qualified member functions

Written by rpz

Today I’m going to tell you about a new and a little known (to my mind) C++ feature — reference-qualified member functions . I’ll tell about the rules of such functions overloading and, as an example of use, I’ll show you that with the help of ref-qualified you can try to improve the resource...

  • 2
  • 4209

Java 8, Spring, Hibernate, SSP — Let’s Play

Written by fspare

Java 8 has been recently released. So I decided to write something using its new features. Namely the new collection api , which allows to work with collections in a more functional style, and default methods in the interfaces. This article is a brief review of my experience of Java 8,...

  • 2
  • 3820

Go Language For Beginners

Written by alehano

The aim of this article is to tell about a programming language Go (Golang) to those developers, who are interested in it, but haven’t risked studying it. The story will be told on the basis of a real sentence that represents RESTful API web-service. I had a task to develop a backend to...

  • 2
  • 4687

Mocking with ScalaMock

Written by Kukuruku Hub

This article may be considered as a continuation of Introduction to Writing Tests with ScalaTest . In this post I would like to talk about ScalaMock. Mocking is a technique by which you can test code without requiring all of its dependencies in place. Java offers several frameworks for...

  • 1
  • 1531