Cuba, why not?

In this post, I want to introduce you to Cuba. Cuba is a microframework for web development originally inspired by Rum, a tiny but powerful mapper for Rack applications. It integrates many templates via Tilt, and testing via Cutest and Capybara. Usually, when you speak to a Ruby developer, he will describe himself as a … Continue reading

Different sides of Ruby development: OpenGL

When I’m trying to take a break from web development, I like to build something new and uncommon in Ruby programming. Ruby is typically known for web services, APIs and other web-related development. But with some time, you can build many other types of software. After creating, I started researching Ruby applications that use 3D graphics. … Continue reading

Dynamically Compile Stylesheets with Rails and Sass

One of the latest challenges that I had, was to create “Custom style sheets for each user” that user can generate to style his page. This blog post will be right about how I managed it and what “underground rocks” I faced. Basic Setup First of all, we need some basic test app before we … Continue reading

A brief overview of Ruby hash

This will be a brief overview of the hash data structure, how it is implemented and how it can be manipulated in Ruby. What is a Hash? A Hash is a data structure that organizes data in key-value pairs. It is also referred to as a dictionary or associative array. These properties of a hash … Continue reading

Possible chess knights movements using minimax algorithm

While at high school, I had been assigned to make a two-person game in Artificial Intelligence studies based on chess figure – knight, where one player is human and other is a computer on 4×4 field. Also, you can’t step on the same field where you or computer has already been. At first, I had … Continue reading

Array is one of the workhorses in Ruby

In this post, I will dive into Arrays. There are several methods we use every day, methods we use sometimes and methods we don’t know they even exist. Basics It’s a boring definition, but we all need to remember it: Array indexing starts at 0. A negative index is assumed to be relative to the … Continue reading

Observer pattern in 3 languages – Ruby, C# and Elixir

The goal of this article is to show the differences in thinking that arise when you develop your application design using different languages and language paradigms. We will have a dynamic object-oriented language (Ruby), static object-oriented language (C#) and functional actor model-based dynamic language (Elixir). I may speculate that this might be interesting to people who … Continue reading

Using Neo4j with Ruby on Rails

First of all, what is Neo4j? To sum this up, Neo4j is an open-source NoSQL graph database implemented in Java and Scala. It’s development started on 2003, but it got available as an open source database only in 2007. You can see it on GitHub. Neo4j is one of the market leading graph databases, you … Continue reading

From Ruby to C#

I started my career as Ruby developer and I have not been in C++, Java (except for some Clojure) or C# land. Here at Diatom most of the people are .NET developers and I was selling them Ruby and they were selling me C#. In this post, I wanted to share how I got convinced … Continue reading