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.
Thoughts on software development
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.
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.
This very, very short blog post illustrates how to easily stop and remove all Docker containers.
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.
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.
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.
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.
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.
If you are already familiar with Maps in Java you may ask yourself why there are so many different implementations for something simple like a Key/Value store. In this post, I would like to show three of them and describe the differences.
In this post, you will learn how to tell Yesod to prefix static content with a CDN location instead of the usual /static path.
A common task in SEO optimization is adding/configure meta tags. Some of them can improve page ranking. In Yesod, this task is not supported from scratch (like setTitle is). In this post, we will talk about how to add meta tags to your Yesod web project.
To help search engine bots to crawl the content of your web page you can provide a sitemap.xml. In this tutorial you will learn how to create a dynamic sitemap.xml for small (or mid size) pages in Yesod.
The default scaffolded Yesod project already comes with built-in Google Analytics integration. But what if you would like to use the open source product Piwik? In this blog post you will learn how to add Piwik tracking to your application.
As I work more and more with Yesod (which is written in Haskell) I encounter one major problem: documentation. It costs a ton of time to figure out how to do things properly. One good example is pagination. In this post I'll describe my way from a naive approach to a final monadic solution.