Hi! My name is Michał Góral, I am software developer (currently at Nokia) and
this is my personal website. You can read more about me on a separate
page if you’re curious.
You can contact me by e-mail: dev@goral.net.pl. My PGP key
fingerprint is: 0423 DE59 98D1 2C33 E599 CDCF E3DD DA4D C45F 58CB.
I have no idea how git submodules work and I hate them wholeheartedly. They
clog the staging area of git status with information about “new commits”
even if I didn’t do anything inside git submodules. Git constantly leaves
them in a state where any git submodule command yields errors.(sidenote: error: Entry ‘foo’ would be overwritten by merge. Cannot
merge.)
. They’re constant stream of frustration. God forbid if
someone changes submodule version on the remote! I don’t know any other
system which would update dependencies on its own and would do it so badly
that I want to scream and break things.
I like git(sidenote: Stockholm syndrome.)
but clearly
something went wrong with submodules design.
For future reference, I’m leaving the spark of sanity in this land of
madness.
I just updated my running instance of GWS
to the latest version (it will be released later as 0.3.0). I made a lot of
breaking changes in this one, but hopefully, if you see this, everything
works just fine!
I have mirrored a bunch of my projects on
Codeberg. The main git instance for my projects
is still git.goral.net.pl, but I wanted to have
backup just in case and I thought that it’d be nice to have a more public
space for them, with open issue tracker.
I chose Codeberg because they match my views about FLOSS. The only real
alternative was Sourcehut, but for now I don’t want to
create another monthly subscription.
I’ll describe later how I do it (it’s git post-receive hook, but there’s more
to that).
I like Zigbee, I really do, but the number of devices which don’t conform to
the standards and thus don’t work with Home Assistant out-of-a-box is just
mind-boggling. Just yesterday I received 2 Sonoff buttons which don’t work
without some additional magic(sidenote: Using a well hidden
zha_event events. I posted
about it on Home Assistant forums)
). The thing is: I have 5 other
models of this button, bought a year ago which work flawlessly. Instead of
following the good old rule of “don’t touch things which work”, Sonoff
decided to break their devices during this year. I had a very similar story
with Aqara button earlier this month. It’s crazy.
Formatting is one of these parts of TWC which I disliked the most. This has
finally changed with release of TWC 0.9 and complete rewrite of formatting
strings syntax.
With markorapp, a script which I wrote, it's easy to create "singletons" in i3. Singletons are applications which should have only one instance, like a particular terminal.
Xsession is a default way of starting X sessions in Debian, but for some
reason it remains a mystery for many people. Here I try to shed some light on
it.
Structured Bindings is a new way to decompose values returned from functions. It's similar to some other programming languages and greatly simplifies the code.