Posts tagged with ruby gems
Yesterday I moved two of my ruby gems, journald-native and journald-logger, to
theforemanGitHub namepace. Developing them further is out of my current professional interest and hopefully the Foreman project will be a good home for them.
As you may know, CommonMark is a project aiming to create unified and unambiguous Markdown syntax specification. So, I’m in. I want to spread the word and even use it in my own blog.
That’s about string types in C and Ruby. As you may know, C uses null-terminated strings while Ruby uses more sophisticated string type, therefore C strings cannot contain null byte while Ruby strings can. Many Ruby gems are written in C but what happens when you convert Ruby string to the C string?
There is already a nice gem called
systemd-journal, why another one? Well, because there are some edge cases that it does not cover. I had a trouble with one.