Blog

Thoughts on software development

Posted on Jul 12, 2017 by Alexej Bondarenko

If you have bought the Matebook X (which comes with the Windows OS) and you maybe plan to install Linux, you will ask yourself how to do this. In this blog post you will learn how to enter the BIOS and the boot menu.

Posted on Jun 25, 2017 by Alexej Bondarenko

When you use Ubuntu for a while you will recognise that it is asking you for several security updates from time to time. This can be a bit annoying since they appear pretty frequently. In this blog post we will configure ubuntu to silently install those updates.

Posted on Feb 22, 2017 by Alexej Bondarenko

Yesod is a great Framework, especially in terms of RESTful designed applications. In this blog post, we will cover a more specific topic on how to create a simple CSV file and return it to the client.

Posted on Feb 18, 2017 by Alexej Bondarenko

Any reasonable web project also contains an area to upload (media) files. It can be an administration area or just for users who can upload their profile picture. In this blog post, you will learn how to upload a file and save it on the server so your application can use it and serve the file to the user.

Posted on Jan 3, 2017 by Alexej Bondarenko

The Yesod devel library already improved a lot during the last years. But still, type safety comes with a drawback sometimes. Since Yesod also secures the static files and how they are included your project, the process can slow down in compile time. We will look at this in this blog post.

Posted on Dec 27, 2016 by Alexej Bondarenko

In a previous post we already covered how to set up a local Postgres environment for development with vagrant. In this post we will use Docker to achieve the same.

Posted on Dec 22, 2016 by Alexej Bondarenko

Float and Double look very similar. But how to decide which one of them to use in Haskell? Is there a difference in performance? Let's examine this questions.

Posted on Dec 17, 2016 by Alexej Bondarenko

With Bing Webmaster Tools you can view of how well your site is performing in Bings search. Before you can start analysing your search statistics, you need to verify that you own the site you would like to analyse. If you are using Nginx to serve your sites content, you will learn in this tutorial how to verify your site by just adding a few lines in your Nginx configuration.

Posted on Dec 12, 2016 by Alexej Bondarenko

What is Object Reflection good for? In this post, we will cover where Object Reflection can be used and why this is useful to develop extendable libraries, debug your application or easily implement features which would be complex instead.

Posted on Dec 8, 2016 by Alexej Bondarenko

This very, very short blog post illustrates how to easily stop and remove all Docker containers.

Posted on Dec 3, 2016 by Alexej Bondarenko

In this blog post, you will learn how to create simple seed data for your Yesod application. Such seed data can be useful during development or if you plan to run your tests against test data.

Posted on Nov 28, 2016 by Alexej Bondarenko

In this blog post you will learn how to add a simple twitter summary card meta tags to your pages. We will discuss different content types and optional description values as well.

Posted on Nov 22, 2016 by Alexej Bondarenko

Adding, modifying and removing records in a database (like Postgres) is a very common use case. Usually we perform single actions to a single record. In this tutorial we would like to show how to perform a set of actions in one transaction, so all of them are applied or none in a case of failure.

Posted on Nov 17, 2016 by Alexej Bondarenko

In previous blog posts we already have seen how to verify a property for Google Webmaster Tools at application level (Scala, Haskell). In this very short tutorial we will see how to achieve this with Nginx with only a couple of lines of code.

Posted on Nov 12, 2016 by Alexej Bondarenko

Postgres is a fantastic database, even in times of any hyped NoSQL solutions. At Ersocon we often use Postgres as our core database and extend applications according to new needs. In this tutorial we will cover how to easily set up a Postgres database for development with Vagrant.