-
Embarking on an indie dev journey
My 10-year professional programming career has entered a new chapter. Getting laid off not once, but twice in the first half of 2023 was a wakeup call. It made me realize that I want to be the captain of my own ship.
-
🇦🇪 Dubai
Prior to going to Dubai, I already had certain expectations. That said, I didn’t expect that my first experience would be falling for a scam. Well, kind of. You see, as a Ukrainian citizen, I can visit the UAE without a visa. However, I was dumb enough to pay some agency to provide me with a tourist visa. When I had paid them the full amount, I realised that was a mistake. When I asked for a refund (30 minutes after my payment), they refused.
-
🇵🇠Cebu. My longest journey abroad so far
Cebu City is the 2nd largest city of the Philippines. It is located on Cebu island and it’s the oldest city of the country. It’s similar to Metro Manila in a way that Cebu City is just a piece of the puzzle in the bigger picture. Many smaller cities comprise Metro Cebu and Cebu City is just one of them.
-
🇺🇦 Lviv
Lviv is probably the only place in Ukraine that I really wanted to visit. You see, I come from Eastern Ukraine where culture is influenced by Russia. The language we speak is Russian. On the other hand, Lviv is western Ukraine. It is influenced by Poland, Hungary and other western countries. People there speak Ukrainian. Lviv is also the most touristy city of Ukraine, so I had to go there…
-
🇳🇱 Amsterdam
Amsterdam feels like Asia without steroids. I didn’t realise it when I was there but it becomes more evident as I’m typing this post. Let’s analyse why that is so.
-
🇳🇱 Rotterdam
The Netherlands is a country that I had always wanted to visit. In my head it was a little paradise, where people follow the rules, nobody knows trouble and cycles all day long. Did it live up to the expectation? Rotterdam will tell.
-
🇵🇠Manila. Chrismas and my future prospects
As you might have noticed, I’ve been a frequent visitor to Manila. In fact, every year I spend more and more time in the Philippines. One might think that there’s not much to speak about anymore. Wrong. This time I’ve gotten to experience a beautiful holiday called Paskó (Christmas).
-
🇵🇠Legazpi
Legazpi is a city in the southern part of Luzon island. Its population is nearly 200,000 people, so it’s considered low for the Philippines. The reason why people go here (including me) is Mayón Volcano.
-
🇵🇠Bohol
Bohol… what a wonderful island. With each visit I get to know the Philippines better and better. It’s interesting that I’ve never managed to leave Luzon (the island where Manila is). So this trip allowed me to visit my first Philippine island (2nd out of 7641).
-
🇵🇠Cavite province
Cavite is a big province in Luzon, Philippines. During this trip I was lucky enough to visit Bacoor, Maragondon & Kawit.
-
🇵🇠Baguio
Baguio is a big city in Luzon, Philippines, which is famous for its cold weather, mountains, strawberries and… lions. Why lions? I have no idea, but they have a huge lion head somewhere (and I didn’t stumble upon it)!
-
Untangling the “love” Ruby tongue twister
I found an interesting Ruby tongue twister:
ruby -e ' %%%%%%%%%%%%%%%%%%%%%%% public def /*; self end public def _*; self end {}./{//}./$\,//./,//,$, $.._$,,%,?,,?,,$_,$?,?? //=~$/&&__=-11+_=$.+111 $><<<<-"<<<"<<<<-"<<"<< <<< << ($`<<_-3<<_<<_+7<<-~__) $<&&$><<$/&&?&&&%&&&&?& %%%%%%%%%%%%%%%%%%%%%%% ' love
-
🇵🇠Tagaytay
The main point of interest in Tagaytay, Philippines, is obviously the Taal volcano.
-
🇵🇠Manila
Manila still remains the city of contrasts. Somebody lives in expensive condominiums.
-
🇹🇠Bangkok
I’ve got a strong idea: I need to spend these winter holidays in Asia, away from the snow and cold weather. Bangkok’s capital, Thailand, was perfect for that.
-
🇵🇠Manila. First impressions. Food, life and traffic in the Philippines
Manila is truly a city of contrasts. Posh tall buildings border with shabby huts. I turn my head to the right only to see how actively the city is being built. Construction never stops, so does progress.
-
🇺🇦 Kyiv trip
Ukrainian winter. It’s really cold outside.
-
🇵🇹 Lisbon business trip
I haven’t travelled for a while. However this year is lucky for me so far: I travelled to Lisbon.
-
A bit of bacon, lettuce and tomato
While browsing the source code of the Ruby’s virtual machine I stumbled upon an easter egg.
-
Ruby's exception to message mapper
Exception to message mapper is a Ruby library bundled with the standard Ruby library distribution since Ruby 1.1 (released in the 20th century). It was written by Keiju ISHITSUKA and apparently meant to be used internally, to simplify Ruby’s stdlib source code. But since it’s available in the stdlib, it’s also available for us. You may be wondering what this library is about. Well, guess what?.. It maps messages to exceptions!
-
🇺🇸 Internship in San Francisco
During my internship at Bugsnag I took some pictures of the city. My bicycle was my companion. I cycled through many neighbourhoods of San Francisco and even managed to cycle to neighbouring towns. The quality of the photos isn’t astonishing. My second companion was my Chinese smartphone. That’s why.
-
JavaScript eval tricks
By default,
eval
evaluates code in the current context. -
Ruby eval tricks
Greetings upon thee! Let’s evaluate some code for breakfast, cousins.
eval "100 + 1\n (42 + 100)" #=> 142 eval "100 + 1\n + (42 + 100)" #=> 142
-
Various ways to count digits in a Ruby integer
The most obvious solution is to convert it to string and count characters. Boring.
-
Blocks in Ruby are always there
You probably know that even if your method doesn’t accept blocks, you still can pass them.
-
How to safely enter passwords in a terminal
Sometimes command line programs allow you to pass passwords to switches. For example, MySQL:
mysql -u user -p password
. However, if your shell records history, you’re risking to store your password in a plain text file. There’s a way to avoid this. Depending on your shell add the following line. -
How to say “I love you” in Ruby
Can you untangle this?
?===?=??===?=:?===?=??===?=:?===?=??===?=:?===?=.iloveyou!? ?===?=:?===?=??===?=:?===?=??===?=:?===?= #=> true
-
Pulling through a Ruby exception
Pry and IRB both have an interesting property. In these consoles, there’s a possibility to correctly define a method or a class and get an exception. All in the one go. I’ll be using Pry for the demonstration.
-
Difference between frozen Ruby objects across versions
Users of
Object#freeze
should know that the behaviour of this method has been changing over the Ruby versions. Let’s compare it. -
So what is “binding.pry” exactly?
The very first feature that you learn about Pry is undoubtedly “binding.pry”. You put it here, there and everywhere; you’re happier than you’ve ever been before. In simple words: “binding.pry” makes your life a lot easier. But, have you ever wondered what “binding.pry” is? It appears so simple that you don’t even think of the details. When I first started to use Pry, I simply cargo-culted it. “binding.pry” seemed to me like some mysterious sorcery. Obviously, that’s not true, but when you learn something new things always appear more mysterious than they really are. By the end of this article you should have a solid understanding of one of the oldest and most interesting features of Pry.
-
🇺🇦 How I cycled to a football match between Metalist and ETM in Vysoky
A month ago I bought a cheap used mountain bike. I’ve already cycled two times (to be more precise, three times, including the time I tested it after the purchase). Why did I buy a cheap bicycle? The thing is that I wasn’t sure if I really enjoy cycling. It turned out that I enjoy it.
-
🇺🇦 Euro 2012. Ukraine – England. My trip to Donetsk
I was lucky to visit Donetsk on the 19th of June. I went to a Euro 2012 football match between the Ukrainian and the English national football teams. I went to the match with Kyrylo (namesake), a friend of mine.
-
🇺🇦 How I went to IT Jam 2011 in Odesa
I would like to say sorry in advance for the poor quality of the photos, inadvertent canted angles and other possible bloopers. To begin with, I don’t have the skill to take good quality photos. Secondly, I haven’t had any experience with the photo camera I brought with me (as the result, I had no idea how to configure it). Thirdly, the photo camera leaves a lot to be desired. An important notice: it’s better to prepare a cup or two of your favourite drink before reading this, because it’s a long story.