When you don’t need the whole slice file structure| katafrakt’s garden
Today I learned a valuable lesson about how a seemingly simple task can have very rough edge cases, which take hours to solve. It involved Ecto, its associations and on_replace option, and uniqueness checks in the database. Here’s the story.| katafrakt’s garden
Thoughts and learnings from the experiment with Ruby, Hanami and WASM| katafrakt’s garden
Just my website. Some Elixir, some Ruby, some more exotic languages and general thoughts on tech.| katafrakt’s garden
It’s not an uncommon notion that writing tests is more of a storytelling task than a technical one. Most recently I encountered it in The Bike Shed podcast, but you can find blog posts and conference talks about it as well. And if it is a storytelling act, perhaps we should look into narrative principles to make our tests better?| katafrakt’s garden
Don't use booleans for domain modeling or at least think twice before doing it.| katafrakt.me
In the article about using mrbgems we had a situation when ARGV constant was not defined, but referenced. As a result the code execution failed (the side-effects were not produced), however it did that completely silently. No error message was emitted. And even the exit code was zero.| katafrakt’s garden
In the last article , I took an initial look at mruby: how to install it using asdf, how to execute a simple code and how to build a standalone binary from a Ruby source. Now it’s time to try to look further and build something more complex.| katafrakt’s garden
I knew that mruby existed for a long time. I knew it’s a lightweight version of Ruby, designed mostly to be embedded in other programs. I knew that DragonRuby has some kind of relation to mruby - be it written in it or using some kind of fork of it. But that’s pretty much it.| katafrakt’s garden
Recently I found myself doing more and more things using org-mode. Not surprisingly, I also wanted to use it to write articles here. With some time on my hands this weekend, I decided to give it a try and see how hard would it be to add org support to BridgetownWhich this blog uses as an SSG.| katafrakt’s garden
Just my website. Some Elixir, some Ruby, some more exotic languages and general thoughts on tech.| katafrakt’s garden