Recent posts

Phoenix liveView 0.9.1 breaking changes

on March 16, 2020

If you updated your mix dependencies to use {:phoenix_live_view, “~> 0.9.0”} you might be surprised that …the web socket connection is gone. It’s due to backwards incompatible changes: “LiveView no longer uses the default app layout” which basically means you your liveView redendered template is no longer wrapped by the default layout which (in most cases) includes app.js that makes a connection to live web socket. what’s the fix? The fix is very simple.

Continue reading

age_guard - hex package for age verification

on February 12, 2020

After having fun with building Claritas, I knew I want to publish more packages. Claritas is very simple and doing just one job (darkens or lightern colors) but looks like 79 people (at the time of writing it) were interested to download it. It’s 78 more than I expected :) (that makes me happy! :)) what is age_guard? AgeGuard verifies if a person born at a given date meets provided age requirements.

Continue reading

Claritas - my first hex package

on January 30, 2020

Yesterday I published Claritas - my first hex package! The idea for the package came when I worked on some task and needed dynamically generate a heatmap where the more intensive colour, the higher value of given scale in the heatmap. I used CSS for that, but I though that a pure solution in Elixir would make the code much cleaner. Here it is: Installation The package can be installed by adding claritas to your list of dependencies in mix.

Continue reading

Very good books I have read in 2019

on December 19, 2019

Top books I’ve read this year: Disrupted: My Misadventure in the Start-Up Bubble by Dan Lyons This one is super funny and you once you start it, you can’t stop it. A Newsweek journalist after being laid off (in his early 50s), gets a job in the marketing department of a start-up. Being the oldest (but also the most experienced and …sane) he’s trying to find himself in the world of buzzwords where experience and good ideas lose with incopetence and bumptiousness.

Continue reading