-
Gut and Psychology Syndrome (GAPS)
In last year I kinda became obsessed with healthy foods. I decided to eliminate sugar (not counting fruit) and processed food and instead incorporate more healing foods into my diet. Examples include green tea, kefir, bone broths and other other inflammatory food. I also became acquainted with so-called healing diets, namely Specific-Carbohydrate diet (SCD diet)…
-
Milk and bread back on the table
For the most part of the year 2017 I was on a diet without milk and bread because I found out I feel more comfortable without these two foods (apparently I have mild lactose intolerance and sensitivity to gluten). But after educating myself about fermented food and than preparing some of it at home, I’ve…
-
Error handling in concurrent programs in Golang
Error handling in concurrent programs in Go consists of little more work than if err != nil { return err } because the return value doesn’t reach intended receiver (for example in parent function where function was fired as a goroutine using go keyword). Just as we use channel for sending resulting data, we must…
-
My first sourdough bread
This week I baked my first bread. It’s a special type of bread, called sourdough bread. It’s made from no industrial yeast, but from sourdough starter. Sourdough starter is a mixture of flour and water that has been left for some time on the counter and on warm, preferably more than 22 °C. During that…
-
Input validation with Folktale
In this post I’ll show a way to do input validation in JavaScript using Folktale which is a library for functional programming. The beauty of this approach is having validation rules (is required, is email, is confirmed, etc) specified as a callbacks so they can be reused across different forms and also the absence of…