Golang for Rubyists. Part 5. How to start applying Golang to AWS Lambda

In the company I work for, we recently started using Golang for lambda functions development, to replace domination of Node.js ones and with a hope of getting better performance and development speed. I can just say that so far things run smoothly, and I will have a more thorough post about lambdas development on Go on the company blog. And here I will help you get started with it, create your first function and deploy it to the cloud.
Continue reading

Golang for Rubyists. Part 2. Go type system

Hello, my dear Golang newcomers. I feel so excited when I start writing this post! This is because I learn in the meantime. If when I’m writing about Ruby or JS I’m mostly describing my experience, probably with some additions of new findings I’ve got during the preparation, however in this particular case I’m learning together with you.
And today’s post will be about types and logical structures of Go. Let’s start!
Continue reading

JS on Backend in 2018. Tutorial. Part 3. Relationships and Sequelize ORM tuning.

Hello, my dear, today we will dive deeper into the abyss of ORM configuration.

We will add one more resource, set a relationship between this one and the one we already had after this post¬†and will cover some useful tuning options. Spoiler: we will even change a bit the old one. So, fasten your seatbelts, let’s start!

Continue reading

Developing a database. Part 1. Why may you need indexes and how does Hash index work.

I plan to write a series of posts about databases internals. In order to make it easily perceivable, I’ll be writing a NoSQL DB from scratch in Ruby. No doubts that it’s not the best fit for database development, but it’s extremely readable and will help us a lot. This one will be about why may you want to have an index and what is a Hash index.

UPD. I decided to not continue this series because it takes too much effort to investigate deep enough to explain, but it had got much fewer views and likes than more applicable ones. Probably will return to this topic once, but not now.
Continue reading

Ruby on Grapes. Why did we choose Grape and why would I choose it again

Today I gave a talk on Ruby User Group Berlin meetup, here is a recap of it in a readable format.

In my team, we are building a new and fast-evolving SPA product. We are small in terms of a number of developers and we are agile in terms of the market. We test the design of an idea, quickly implement it, test it with real users, then either keep and improve or change or remove. Quite a quick pace, so when we were choosing the web framework we wanted it to be more a helper for us rather than a box, out of which we cannot step.

Continue reading

Comparison of Ruby and Python’s Pandas for Data refinement

My main tool for every day is Ruby, but a few months ago I started using Python for playing with data. I heard a lot that Python is heavily used by Data Scientists and scientists in general, but I didn’t expect that even for not a python-experienced developer it can give so much power. So today I want to briefly introduce you Python’s library pandas.

Continue reading

Arabic numbers to Roman Kata (Ruby)

Hey guys!

I wasn’t here for a while. For those who don’t know, I closed Racoons Group and now working as a senior backend developer in a nice company in Germany.

So that’s the reason why I didn’t post anything for a long time. But now I’m ready to make a small note about a nice thing I’ve never heard before. It’s extremely old, I read about it in Uncle Martin’s book, and it’s even wasn’t invented by him. This thing is Kata. In programming term, definitely.

Continue reading