Details matter

on February 19, 2018. in Blablabla. A 2 minute read.

Last week on Thursday the lovely people from Zagreb PHP had me over for a talk. I presented my new talk called “All aboard the Service Bus”. I gave this talk once before at the PHP Srbija meetup in January. I’ve reused the slides, made some minor adjustments based on the feedback I received in Belgrade, and of course updated the footer.

Continue reading Details matter...

Docker nginx host not found in upstream error

on January 30, 2018. in Development, Software. A 3 minute read.

I’ve been toying around with Docker for the past couple of days, mostly to learn more about it, to understand it better. I just didn’t bother with it until now.

Mockery partial mocks

on January 28, 2018. in Programming, Development. A 3 minute read.

In dealing with legacy code I often come across some class that extends a big base abstract class, and the methods of that class call methods on that big base abstract class that do an awful lot of things. I myself have written such classes and methods in the past. Live and learn.

Continue reading Mockery partial mocks...

Build and run Golang projects in VS Code

on January 24, 2018. in Programming, Software, Development. A 3 minute read.

I’ve been using VS Code for my Golang development needs for a few months now. Minor kinks here and there, nothing serious, and the development experience gets better with every update. I have also tried out IntelliJ Idea as the editor, and one feature that I’m missing in Code from Idea is the build-run-reload process. I thought to myself, that’s such a basic feature, it should be possible to have that.

Static web pages in Hugo

on January 24, 2018. in Blablabla, Software. A 2 minute read.

Last week I created a page on this site that holds all the talks I have prepared for meetups and conferences. As this site is powered by Hugo, the process wasn’t that straightforward. I want to write down the steps I did to make it easier in the future.

Continue reading Static web pages in Hugo...

Free the Geek interview

on January 12, 2018. in Blablabla. A 1 minute read.

Last year (feels weird to say “last year”, when it was less than a month ago) Matthew asked me if I’d be willing to appear as a guest on his Free the Geek podcast. To have a short chat about running my own software consultancy, freelancing, public speaking, and whatever else pops up.

Continue reading Free the Geek interview...

Buffered vs. unbuffered channels in Golang

on December 25, 2017. in Programming, Development. A 10 minute read.

As any newcomer to Golang and it’s ecosystem, I was eager to find out what is this hubbub about these things called goroutines and channels. I read the documentation and blog posts, watched videos, tried out some of the “hello world” examples and even wasted a couple of days trying to solve the puzzles for day 18 from Advent of Code 2017 using goroutines and failed spectacularly.

Mockery return values based on arguments

on December 12, 2017. in Programming, Software, Development. A 3 minute read.

Sometimes when working with Mockery mock objects, we want to tell a mocked method to return different values for different arguments. It is a rare occasion when I need this feature, but every time I need it, I’m happy it’s there.

Five days of Advent of Gode

on December 06, 2017. in Programming, Development, Blablabla. A 5 minute read.

A week or so ago, Luka mentioned this Advent of Code thing. I’ve been doing coding challenges and examples before, but never have I tried the AoC (this is the third year it’s running).

Continue reading Five days of Advent of Gode...

CLI command to whitelist Composer packages

on December 04, 2017. in Development, Software. A 3 minute read.

James asked this question the other day on Twitter: