Micropython vs Dog

Posted on nie 06 listopada 2022 in misc • Tagged with talks, pycon

Slides of my PyconPL 2022 talk is here (link)

IM diversity

Posted on nie 07 lutego 2021 in misc • Tagged with modernity

10 years ago, we had one IM to rule them all. Now, to be in touch with my friends, I need to have such kaleidoscope on the desktop.

And I forgot about Viber :)


Self contained Django, or Django like Flask

Posted on czw 14 maja 2020 in misc • Tagged with tipsNtricks, django, flask, pytest

Have you thought about spawning Django as easy as Flask?

Imagine that you have a library, which may have a feature that is usable in Django. How to test it?

99% of you would say - make a Django project, put test inside the project, and run django test.

I thought …

Continue reading

why I dropped pipenv in favor of homemade bash script?

Posted on sob 18 maja 2019 in misc

Long time ago ...

... i suffered from fact, that I'm not able to track my pip dependencies. pip freeze was not solution, because it attached lot of dependencies, which was broken in few months.

I dreamed about software, which will track my pip install commands, and will store key dependencies in …

Continue reading

Opowieść o Księciuniu

Posted on śro 20 lutego 2019 in misc

Przed Księciuniem

Pracując w pewniej firmie telekomunikacyjnej, natknąłem się na typa, o którym chciałem napisać. Dla potomnych, ale też i dla siebie. Żeby wspominając po latach, mieć dowód na to, że pamięć mnie nie zawodzi i to wszystko naprawdę miało miejsce.

Firma, o której mowa, popadła w lekki kryzys i …

Continue reading

Effective hg blame in VIM

Posted on nie 15 lipca 2018 in misc • Tagged with tipsNtricks, hg, vim

If you want to open tab in vim, which shows you file history, file blame (who changed what) and patch history, here is easy command:

    :let fname=expand("%") | tabnew | execute 'read!hg blame '.fname | vnew | execute 'read!hg glog '.fname | new | execute 'read!hg glog -p '.fname

pmount hangs on autocompletion

Posted on śro 09 maja 2018 in misc • Tagged with tips&tricks


Bash autocompletion is very good thing if works. If doesn't, becames pain in the ass. Like in Debian's pmount - when you type '/dev/sdc' hit tab and wait forever.

Problem is described in many places (eg here and here), so why shouldn't I describe it once more?


Script …

Continue reading

Vuejs, Node i różne takie JSy

Posted on pią 23 lutego 2018 in misc • Tagged with maruda

Fajne są te frameworki, React, Vuejs, Angular itd... Ale momentami mam wrażenie że ogon macha psem :).

Będąc zmęczony Angularem, postanowiłem następny prosty interfejsik wykonać w czymś innym. Padło na Vuejs, ponoć najprostsze.

Coś tam zrobiłem działającego, postanowiłem ubrać to w jakieś ikonki. W poprzednim bootstrapie były glyphicons - w najnowszym to …

Continue reading

Queryset repr trick

Posted on czw 15 lutego 2018 in misc • Tagged with tipsNtricks, python

Sometimes, when I'm debugging something using pudb (probably it affects any interactive debugger), pudb is reflecting value of variables of QuerySet type, which makes unneccesary query to database. It makes debugging slow, and sometimes it breaks debugging context because of making changes in db.

To avoid that, add following code …

Continue reading

blog is live again

Posted on nie 04 lutego 2018 in misc

And my blog is live again, this time using Pelican - static blog content generator.

UPDATE: I thougt about using Disqus for comments, but looks that they started adding ads. So, maybe static generated blog is NOT good idea?