Blogs

Interview questions about Docker

Be pragmatic

I’m currently looking for a job and I found a weird pattern about Docker questions. Once I confirmed I had worked with Docker, no more questions were asked… Lucky me you may think, but that made me wonder why is that. Working with Docker is failry easy. Docker simplified the process of working with isolated resources providing a high-level API to run processes in isolation, but does it not deserve to a little chat about it during an interview? …I will let you know if “be careful what you wish for” will utter the loud in my head on my next interview :) </br/>

Continue reading

JavaScript frameworks as browser add-ons

Performance and modularity

The general tendency in the web development world is to increase reusibility of completed web projects which eventually leads into a faster delivery of new products, updates, etc. That’s what’s always been obvious to experienced programmers when desiging software (modularity, loosly coupled classes, etc) is being supported from every possible angle (tooling, frameworks, repositories, even project planning) these days. Well, it’s good :) The second important feature of web frameworks which has always been and always will be in a focus of attension is performance. There’s plenty of techniques used to improve performance and it will matter even more in coming years (companies tend to replace native mobile apps with html5 apps).

Continue reading

Running Go on Android

Running indirectly…

The Go Mobile project is marked as “experimental” and I guess it will take a couple of years until we’ll get some stable version. The way I’m going to show you how to run Go programs on Android is a bit tricky as it actually uses Termux which is an Android terminal emulator and Linux environment app. Technically we could install and run there many other languages, but let’s see how it’s getting on with Go. What makes Termux really interesting is the API we can use to access the Android API. For instance we can check our battery status, take a photo or check our device GPS location. Before we continue, install these two apps on your Android phone:

Continue reading

WebSockets Servers 101

Let’s start listening…

listening for incoming socket connections. This is the very first thing that every server should do and to avoid potential problems with firewalls/proxies, let’s use the standard port 80.

So, what else should our WebSocket server be able to do?

WebSockets clients 101

Forget about frameworks for now…

There’s a lot of frameworks that support WebSockets, but the purpose of every framework is to speed up the process of building products by hiding all low level details underneath, the details which I believe are important to know (=understand).

You probably know that WebSockets allow you to establish real time communication between a webserver and its clients and what’s cool about it, is you can get a response without a need to request it (explicitly). If your app primarily broadcasts information to its clients (like weather forecasts) and there’s not much interactivity, then there are better options out there but if you need a bidirectional communication that happen simultaneously, it’s the way to go.

Continue reading

Is remote working secure for employers?

Does the place matter?

Unless there’s a security guard asking you to empty your pockets, leave your mobile phone at the reception, the place does not really matter.

Ask yourself these two simple questions:

  • do you really know what other people do in the office? If you’re a manager you’re probably have your own office and if even if you don’t you probably would not stare at someone’s monitor (they will minimize the window very quickly anyway ;) ) Having your staff in the office gives you only an illusion of controlling their work..

    Continue reading

Welcome to my blog

Why am I blogging?

I just want to share my ideas, knowledge and experience with you and I hope you’ll find it interesting.

I’m a pragmatist, so I will do my best to make my posts useful but I will also touch very theoretical topics.

I don’t like very long posts myself (I think most of us just scroll down to get to the point :)), so I will try to keep them short. If I try to teach you something new I will make sure you will get a solid understanding of foundations, gradually moving towards more advanced parts of the topic.

Continue reading