Migrating rails project to Vue with Slim templates
Update 14th of August just found out that my setup was still broken, so I had to update but now supports template compilation as well! Sometimes the most...
All of my long-form thoughts on programming, software development, and more, collected in chronological order.
Update 14th of August just found out that my setup was still broken, so I had to update but now supports template compilation as well! Sometimes the most...
It's all started doing some refactoring - I was playing with Array and Set and something tempted me do to a simple benchmark that revealed strange results....
Yesterday I was refactoring a piece of code checking if we can handle an uploaded document. Users can upload different documents which sometimes aren't well...
When I found out oh-my-zsh I felt in love with per directory history. I'm working on different projects at my machine - work related, personal, blog, Java...
I'm working on an app that relies heavily on GraphQL. Here's the talk I gave recently on TRUG about my experience so far. I know many of you speak Polish so...
@something ||= calculateit is so common in Ruby code. You use it often to store something "heavier". But many times it leads to sub optimal performance....
Today couple of links that hopefully will make specs better. Here's two in one - a nice blog post about using metadata in your specs to drive different...
I just read a wonderful article about managing your own productivity. Or more about a trap you can fall into when trying to be more productive. It's a...
I'm have mixed feelings about unless in Ruby. It's not I don't like it but sometimes I find it suboptimal. I feel that in some cases if !condition is much...
The nice thing about Active Record scopes is that you not only can specify where conditions. I recently had a need to run a query against a model to...
I had a great time in Sofia attending EuRuKo! We had great hosts as part of AirHelp's team is located there! It was a good chance to unite, drink some...
I'm working on a gem for sharing common Rails code between my apps. I just added there a first job and hit a problem - the job from the gem was using...
Microsoft Surface Studio looks great! Well designed and beautiful. But what I really love about this advertisement is that is resembles Apple commercials....
I'm working on an existing Rails application and there's one pattern I see repeating often that I hate. It's especially common in service objects. ruby...
I'm an Apple fan-boy so I had to read Why Tim Cook is Steve Ballmer and Why He Still Has His Job at Apple. It's hard to say if that's the reality but I...
I just spent couple of hours moving my blog to CloudFront. It would have been simpler if not Terraform but now I have this set up right I decided to save...
Good product owners are gold. Not only they help you deliver better products by representing business needs. But also can lift up team's morale and make...
That's a delivery pipeline. Building Boing 737 in nine fricking days! Have you every wondered why are you doing things that you are doing and what should...
Full Stack Fest was a blast. Really enjoyed being part of it. Especially for the great people I met there! But if you haven't had a chance to visit here's a...
I'm still at Full Stack Fest 2016. That's a really well organized conference. If you've never been to Barcelona and want to hear some good presentations go...
Stupid me. All those years, all those minutes wasted writing SQL! If you've been living under a rock as I were you might been making your life harder...
I love Active Record for its flexibility. Advanced SQL in Rails shows you how to use views and window functions. Good software starts with a good design....
That's a second part of the series where I present how to call multiple services at once in a different languages. It's not a production ready code but...
In over 16 years of my career as a software developer I wrote thousands of tests. Tests in C, C++, PHP, Python, Java, Ruby and not so much in JavaScript ;-)...
Your files, my files or just files? How to design user interface Running rails migrations automatically on Heroku How to write a custom RSpec matcher Your...
Imagine you are building some aggregation service of some sort. It could be a stock exchange monitor, or a news website that needs to read data from...
In many applications you generate ids that are visible to customers or used in links. Rails by default uses sequential integers for that which is fine most...
Active record validations are a wonderful thing. Combined with Rails form helpers they make it easy to create forms for modifying models. Unfortunately...
Default cards coloring based on priority isn't that useful since you have ranking. On the other hand often you want to help move cards forward. In many...
I was refactoring code recently when I found this particular glitch in Ruby (excuse me - a feature 😉). The case was simple I wanted to clean some tests and...
I have this problem that my Address Book is a mess :-( There are many entries that have an email only, no name, no anything, just a plain email. What's even...
The last thing I want to mention is how to make a call to BitBucket REST API from the server. This is something I struggled for. Seems the official...
There's only one major part missing in my app - calling back the service and storing results. I added a new model called Repo that will be used to store...
Time to add some user interface :-) I'm adding new section into views/bitbucket/descriptor.json.ejb (I ommited the rest of the file for verbosity): json {...
Time to handle authentication between the service and BitBucket itself. I'm not going to go into details about authentication as it is well described...
Time to install our plugin in BitBucket! First I need to make sure that BitBucket will be able to access our service running locally. For that I'm running...
In this part of the series I'm going to publish BitBucket Connect descriptor. This is a file that describes how you want to integrate with BitBucket. Edit...
In this series I'm going to document how to build a simple BitBucket add-on using Rails. I'm going to replicate GitHub's Star feature that I often use and...
Java Streams are great. But one thing that took me a while was figuring out how to do advanced reduce operations that result in a Map The simple reduce case...
<iframe width="560" height="315" src="https://www.youtube.com/embed/mZoP7uBitWQ" frameborder="0" allowfullscreen</iframe Short brown bag I presented in...
<iframe width="560" height="315" src="https://www.youtube.com/embed/FBhQzJNy7d0" frameborder="0" allowfullscreen</iframe A few weeks ago I presented a short...
So after I few months I finally had time to finish and release Easy sign ups! Basically the whole thing was laying on the disk almost done for weeks. But...
I was playing recently with Phoenix Trello an open source clone of Trello. I'm looking for ways to add new features to Zen as quickly as possible and with...
Recently a buddy of mine sent me a post summing up bad experiences people had with Atlassian's SourceTree. What an angry mob :-) It's not the first time the...
Stealing good ideas is a good idea. So loving the fact that every JIRA issue has a nice key I want to have exactly the same in Zen. I'm using PostgREST as a...
I decided to built new JIRA from scratch. What a stupid idea. I've been using JIRA for years. I even worked as a developer and team leader on JIRA team for...
I've been struggling with Ansible for some time. When I first got into building servers, provisioning, etc. I used chef knife solo. I enjoyed its...
I've been leading a team working on improving JIRA's performance for large customers for a few months. I think it's time to share some observations about...