I spent 4 years learning German on high school. I was pretty fluent and even did German final exam, which could be compared to a B2 certificate. Then I stopped using the language and, after a few years, no longer could speak it.

What's more fun than learning languages?

What happened? Well, little did I know back then that you don't just learn a language and remember it forever. If you don't actively use it, you lose it. That's exactly what happened with my German. …


I’ve recently become truly interested in making my lifestyle healthier. It wasn’t because of any health problems, I was just curious about habits that could help me avoid any future health issues.

The world of health advice can be a very confusing place. If you ask ten experts about a health topic, all ten of them may have completely opposite opinions. My goal was to find advice that most health experts agree on and make a guide that I wish I had found when I started exploring how to become healthier.

Disclaimer 1: I’ve put a lot of effort into…


GraphQL makes building APIs a breeze. Just define types, resolvers and mutations and GraphQL takes care of the REST 😏 ActiveRecord, the most popular Ruby ORM, is famous for its N+1 queries problem unless you correctly preload associations. Can we make ActiveRecord work with GraphQL efficiently without annoying boilerplate?

Looks familiar?

Problem

Imagine the following GraphQL schema.

module Types
class ArticleType < Types::BaseObject
field :id, GraphQL::Types::ID, null: false
field :title, String, null: false
field :description, String, null: false
# Article belongs to author so Article#author
# can resolve the field.
field :author, Types::AuthorType, null: false
# Article has many and belongs to…


I'd been a happy Ruby on Rails developer for years when I started playing around with SPAs. Server-rendered HTML with sprinkles of jQuery worked well for most of my projects, but some parts were getting too complex. That's when my React journey began.

What makes the perfect cocktail? (Rovinj, Croatia)

React with Redux was the most popular SPA combo at the time and I gave it a try. Well, the amount of boilerplate that Redux required really sucked. Having been used to Rails, everything seemed 10-times more complicated than it had to be and I couldn't see too much of added value to make up for it…


The summer had just started and I was finishing the day in my office in Bratislava (Slovakia). For a few months, I’d been working remotely on a project for an American client. We’d just launched its first version and the client was talking enthusiastically about its first users. Then he brought up an interesting question about my take on relocating to New York.

Well, I had no idea if I wanted to move to New York permanently. I was also quite used to my lifestyle back in Bratislava — friends, parties and sometimes work (just kidding, a lot of work)…


It's been almost 3 years since I graduated and I'd like to retrospect the things I learned as a student. Are you considering a university? I might motivate you. Are you a self-taught developer? I might give you some ideas on what to learn to catch up with the developers with more academic background.

Caveat: The article is highly subjective — every person, life situation and university is different, so take it with a grain of salt. It's meant to be an inspiration, not the general truth. …


I've been writing tests for Rails apps for over 5 years. I've come to a conclusion that well-written test suite makes developer more productive in the long term. The idea is to strike an optimal balance between not testing at all and writing zillions of tests. But where is this sweet spot?

More tests mean more code to write and maintain. So why do they make us more productive?

  • Tests make us more productive now. We can test a new feature in the browser by verifying combinations of input values or we can run the test suite. …


A few years ago I spent one semester as a foreign student in Madrid. The experience inspired me to travel more and after graduating I moved to Manchester. I had an ambitious plan to stay for a few months in each major European city. It was in Manchester that I realized all the European cities looked similar and it became more appealing to experience cultures around the world rather than just Europe.

So how did I come up with Nicaragua and Costa Rica? During my stay in Madrid I picked up two little hobbies of learning Spanish and dancing Salsa…


I had a chance to work on a project that used friendly_id. The gem was mostly great, but there were a few situations when it didn’t work as expected and I spent hours fixing it. I’m not a fan of reinventing the wheel either, but for my latest project I tried to implement SEO-friendly URLs just with what Rails has to offer. It turned out really easy and with many advantages over the gem.

You might not need all those gems. (Dominican Republic)

There are two common requirements for SEO-friendly URLs:

  • URL is more descriptive than just an id (e.g. /courses/123-search-engine-optimization-best-practices is better than /courses/123)
  • URL is canonical (/courses/123-old-course-title


In spite of learning English for almost half of my life, watching all movies in English and listening to English music, I had a hard time speaking with native speakers. Then I started focusing on my pronunciation and things suddenly improved.

Who doesn't like English breakfast? (Manchester, UK)

Theory

So why is English pronunciation so difficult?

  • English native speakers use 16 vowel sounds for 5 vowel letters a, e, i, o and u. On the contrary, in Spanish pronunciation 5 vowel letters correspond to 5 vowel sounds. Many Spanish speakers find English difficult, because they can't pronounce all the English sounds.
  • In Slovak, which is my native language…

Martin Lipták

I'm a software developer who loves creating applications that improve people's lives. I also enjoy travelling, learning languages and meeting people.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store