Making RSpec CI build green for TruffleRuby
In this blog post I will share some problems I found during the work on adding TruffleRuby support for the RSpec project.…
Advanced search/replace technique using regex and capture groups
Let's imaging you are working on some legacy Java project and stumbled upon this test class: public void test_Sum_Operator() { ... } public void test_Div_Operator() { ... } public void test_Mod_Operator() { ... } Tests are correct, but the naming convention is off here so you decided to change the method using camel…
Ruby one-liner for skipping CSV header
Ruby one-liner for skipping CSV header…
Using Vim for YAML editing
How to make Vim more friendly for yml editing…
Before you left for vacation
Write down all passwords If you are going to have a long vacation (2+ weeks), most probably you will forget all of the passwords. Don't count on your memorizing abilities and write them down Push unfinished code Otherwise, the feature you haven't finish by the vocation will be blocked by…
Catalogue your test/resources folder
Have you ever seen something similar in your current project when every resource which was used for testing was dump into the same folder called resources. The main problem with this approach is that is simply impossible to reuse those files if you are not an author of the tests…
App: Just shrink it! 2.0
Today I am launching the second version of the mobile application for image resizing “Just shrink it!”. Google Play listing The “problem” of modern smartphones is that by default they take a photo with a huge resolution which results in a big file size. So when you want to take…
Debugging a Kerberos authentication problem
Kerberos is a notorious authentication mechanism/protocol known for its complexity. I probably wouldn't exaggerate if assume that it's the first response you would get if googled the most common authentication protocol for a distributed system. Just recently I've been working on fixing the connection to Kafka secured by Kerberos…
How much do I pay to host a private blog
If you are interested in how much it will cost you to host your own private blog, here I will give you a breakdown of my expenses accompanying by tools and services I pay for to host the Amortizedcost.net site. The site is hosted on DigitalOcean and with current…
How Unsubscribe link should work
I am surprise how many websites and services don't get how Unsubscribe functionality should really work. This is the reminder: Step 1 The Finale That's it.…