From scaling to VM placement strategies

Photo by Josep Castells on Unsplash

Having a solution available in public usually means you need to deploy and keep it working “somewhere”. Nowadays “somewhere” is very often a cloud environment. It is a flexible solution, where you can start small and increase the capacity as your business grows. However, despite what kind of system you own, you need to make it highly available so users can rely on it.

Cloud environments make it possible to build reliable systems, but it doesn’t mean that clouds themself are immune to failures. It doesn’t work that way. …

One time when bias is not something bad

Green neuron cell connected with other neuron cells.
Green neuron cell connected with other neuron cells.
Image by skylarvision on Pixabay

The term “bias” has a lot of pejorative connotations. When we think of it, we see unfair treatment, prejudice, discrimination, or favoring someone or something. And it’s natural. We live in a world where, unfortunately, all of these things take place. However, words have many meanings depending on the context, and surprisingly even bias can be something helpful.

Machine Learning is a domain where we can meet bias in a couple of contexts. Let’s go through these meanings and find the one which makes Neural Networks useful.

Biased data

For starters let’s discuss the most general context of bias. It’s the bias…

Unexpected results of failing at building an artificial brain when you’re 5.

It’s me! (image by Author).

Hello World!

Hello everyone! I’m Łukasz and I’m glad you took your time to read about me, thank you. If you’re wondering how to say my name it’s pronounced like “Wookash” - think of Wookie from Star Wars, that’s it! Łukasz is a Polish version of Lukas.

I’m a Software Engineer, MSc at the specialization of Artificial Intelligence and Software Engineering. I studied at the Technical University of Lodz.

How I became a Software Engineer?

I think I was always interested in experiments, learning, and figuring out how things work. I remember that as a child I tried to build an artificial brain (probably inspired by a comedy…

Lessons learned writing one article a week

Image by Gordon Johnson on Pixabay.

It’s been 3 months since I posted my first article on Medium. I’ve been wondering if it’s a good idea to start writing articles. I had a little bit of an inner struggle, but at the end of July 2020, I took a decision. I set up an account and started my journey as a Medium writer. Today I’d like to share my thoughts and tips that make me enjoy the process of writing and will help new joiners to find their place in the vast world of Medium.

How it started

I was into the idea of sharing knowledge for quite some…

Improve your health and achieve your goals

Photo by Cameron Venti on Unsplash

Running and walking are the most natural exercises. We are equipped with everything we need to walk or run. We don’t need any special machinery or a team to play with. We can do it on our own and take care of our fitness. However, we can experience a problem that very often exists in our minds. We struggle to start and keep on building a life form. Let me share tips which helped me to be consistent and meet my running goals.

Find your place

Different perspectives on obvious concepts

Two arguing foxes.
Two arguing foxes.
Photo by on Unsplash

Statefulness and statelessness seem to be quite obvious properties of applications and computer systems in general. However, if we think deeply about these properties of systems it turns out that classifying a solution as stateful or stateless is more complicated. Let’s go through different perspectives on this problem.

State, state everywhere

First of all, we need to define what we mean by using the term “state”. Imagine that someone asks you what is a state? How would you describe it using your own words?

It’s not so simple. The state is quite a primitive idea, and primitive ideas are hard to define due…

Jackson dataformat in practice

Photo by Nathan Dumlao on Unsplash

Supporting multiple formats like XML (Extensible Markup Language) and JSON (JavaScript Object Notation) usually means multiple implementations that deal with serializing and deserializing data. Fortunately, it’s possible to do it using the same code.

In this article, you’ll learn how to do it in Java by using dataformat-xmlJackson library extension in such a way that you only need to write your code once. We’ll go through the main features including model definition, custom serialization, and deserialization. Finally, I’ll share a tricky use-case where our “one to rule them all code” won’t work and explain why.

Project setup

We’ll use a…

How to make an image worth a thousand words

Four t-shirts on the floor.
Four t-shirts on the floor.
Four t-shirt logos (photo by Author).

Nowadays the definition of a product is probably the broadest ever, and it’s still expanding. We not only create and buy physical objects, products can be virtual like software, online courses, or the whole events. Behind every great product, there is an outstanding design and a vision. Something that stands out of the crowd and gets our attention.

Some time ago my friend and I had the opportunity to speak during the conference for software developers. Actually, it was a series of conferences. During such events, you usually get a funny, nerdy t-shirt as a souvenir. But this time the…

Free Matlab alternative

Octave (screenshot by Author).

GNU Octave is a free, scientific programming language. It offers a rich mathematical apparatus, concise syntax, and has built-in visualization tools [1]. The whole package is really handy. It has a graphical user interface (GUI) and command-line interface versions. It feels like a standard Integrated Development Environment (IDE) for Java or Python.

Octave can be used for solving various mathematical problems, building simulations, or working on data science projects. If you’re familiar with Matlab [2], or you’re looking for a quick way of prototyping your science-related ideas, you should definitely try Octave. …

Create a logo using Multilayer Perceptron and visualize how parameters affect your model

Batman figurine made of blocks.
Batman figurine made of blocks.
Photo by Teo Zac on Unsplash

Machine Learning is a superpower in the computer science world. We can use it to predict the future, make robots see by detecting and classifying objects, or to find products and content that fit our tastes, thanks to recommendation systems.

When more powerful Deep Learning methods were discovered, we got tools capable of achieving almost magical results. Generating artificial images looking like real ones, or transferring style to generate own versions of masterpieces sparked our imagination and creativity.

Creative ways of using Neural Networks stimulates our motivation and learning process. Even though we have advanced Generative Models, there are ways…

Łukasz Gebel

Software Engineer by day, Machine Learning enthusiast at night. Tech conferences speaker. I love to learn, share, read, play football — in no particular order.

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store