Notes about making my own calendar for 2018

My current small calendar is far from perfect, but has immense potential and I’ve been using it for almost a year. Next year (or month?) I will print out (on very think paper) a custom-designed one.

  • It will have the holidays important for me, birthdays important for me
  • Numbered days, weeks
  • Highlighted Sat/Sun
  • Some place over the months columns for ideas and more abstract plans
  • Probably basic contact information and basic phone numbers.
    • Ha, I can print it on A3 with fold-outs and just cut it out and fold it to А4?
  • I have time to think what else.

Solutions I found in 20 minutes of Googling:

  1. Time and Date has a very customizable generator – but not customizable enough for me (ha, what a surprise.)
    1. It takes care of all the math and basic holidays
    2. I can set most colours
    3. Can’t remove ()s in day numbers
    4. I’d need to treat it as image when leaving spaces etc etc
  2. This excellent LaTeX template, with most of what I could want but not full-full-full customization
    1. Holidays, Birthdays, other events defined in separate files
      1. I can see quite a lot of opportunities to use this
    2. Colours defined during generation, but some of them hard-coded in the class file (black border colour)
    3. Class file editable — after learning some Tikz I should be able to fit it to my needs perfectly.
    4. Colours:
    5. Would need some more math and care to make it start from another month — but do I need this?
  3. Doing it via one of the two variants above, then manually editing
The LaTeX template

Should take a couple of hours, but the result will be worth it. Leaving it like this for now, but in September will take care of this.

I can also envision different calendars for different purposes, if I will need them, and this would mean the possibility to create a “backup” calendar in case I lose my main on.

We’ll see.


Updated left-hand Dvorak Mirroboard keyboard layout! (Now with pictures!)

Now playing: Don’t stop believing by Journey

I updated my left-hand Dvorak Mirrorboard layout!

You might remember my last post on the topic, with the basic use cases and reasons why I bother.

This is an updated version of the layout, which I’m using now, with a couple of changes from the previous version:

  1. Different number keys
  2. Dead diaeresis/umlaut (öäëüï) on Shift+Mod+Tab (I need to type German from time to time, strictly for personal use).
  3. Fixed bug with []{} near the “real” backspace key, now they work!


How to read the image above:





The image of the layout was done with the absolutely excellent

Raw JSON of the layout:

Later on, when I will have time / will get inspired, I will write a general outline of my heavily modified keyboard layout, with a couple additional modifier keys, a couple of remapped keys, and how it al plays nicely with the i3 windows manager.

Up next, sometime, I should do a right-hand version. A bit less useful (still have to learn to eat with my left hand), but much more flexible in terms of functionality. I can reach much more keys with my right hand.

Over and out!


Plans for the summer + state of my projects

Now playing: Эй, ухнем!

This summer I would like to finish a couple of projects, or at least to bring them to some level where I can leave them alone. С глаз долой – из сердца вон, в общем. See what I can do with the others.



  1. Reasons for living
    1. I don’t think that the website as envisioned at the beginning would add value; keep it as random images/text pairings and nothing more
    2. Cleaner code, cleaner system for quotes (still textfile-based, but maybe with tags; or at least two textfiles, sfw-positive and nsfw-random?)
    3. Review the quotes and images
    4. Credit the persons who wrote the glitch scripts I use in the glitch version for images and text.
    5. Find as many sources for the quotes and the images
    6. Use-case: тупо залипать, Господи.
    7. Add there the current “take me somewhere interesting” thing from
    8. All this before the end of the summer
    1. Get back the domain
    2. Use as many scripts from SS as possible
    3. Generate names using various methods
    4. Check domains
    5. Not a priority
  3. Mirrorboard ☑ Here:
    1. Fix []s ☑
    2. Add arrow keys
      1. Or add a right-hand version where there are more keys available to the right



Borderline IT + Soft sciences

  1. Sparksara
    1. I still would like to make a creativity and divergent thinking tools website out of it
    2. Implement basic tools to help me learn some front-end scripting
      1. Research creativity
      2. Design that stimulates creativity (colors, sounds, combinations, …)
      3. Find existing methods, formalize them, and implement them
        1. Linking to the literature and studies supporting it all
        2. Be mindful of copyright?
        3. Tools like these, or like these.
        4. Examples of what exists:
          1. This
      4. Link to relevant resources and get links from relevant resources
    3. Think really well about the structure
    4. Not-so-basic tools and auth for possible monetization sometime later
    5. Have a niche blog about what I learn to learn to write and learn to make niche websites with ads.
    6. Before the end of the summer at least make a review of existing literature and a sketch of what exactly will make sense to implement
  2. WriteLikeLennon
    1. Would make sense only in VK as experiment
    2. Not too interesting technically and done before
    3. Kill it prolly?
  3. Gesturehand
    1. I can imagine it as a developed standard? Or a specification. Think RSS 1.0. Used as a semi-common language for gestures in many different contexts. Like there are certain expectations
    2. Think about ideating / writing a generalized system
    3. Probably the thing I’ll me concentrating on the most, and the one needing the most work
    4. Excuse to learn AI and ML?
    5. Try to at least get a shorthand system out of it.
  4. My shorthand system
    1. Create a name for it
    2. A small writeup on how it works and basics
    3. Intersections with Ithkuil
    4. Again have it as a version.
    5. It’s own /project page on
    6. All before the end of the summer


Soft sciences

  1. Pentachronological.
    1. I really have no idea.
    2. I could frame it as excuse to learn CSS3/frontent, to use my medium as much as possible, to express my creativity, whatever.
    3. Before the end of the summer see if I want to keep it up, if yes — definitely think about a plot and at least a direction.




Don’t forget all the many small ideas I get.

And when thinking what to do exactly, think more along the lines of “is it interesting personally for me” and “what is the potential for learning” more than “does it have an audience” and “will it earn money”?

And lastly, don’t work on too much at the same time. Priorities atm are Gesturehand and Sparksara.

Also think about that colored font for small screens.

Если ты сядешь, бабушка тебе Гешихте расскажет!

// нашел у себя в черновиках, написано около месяца тому.

В автобусе, потихоньку приближаемся к немецко-польской границе. Делаю все, чтоб писать диплом. Тошнит ужасно. Интернет советует, что если тошнит, то нельзя читать. Ха.

Очень радует мальчик, который сидит за мной. Лет 6. Моя полная копия в этом возрасте. Очаровательнейший немецко-русский суржик, у него и родителей, бабушки. Она пытается его развлекать, рисует картиночки, потом все угадывают, что это такое.

Это так классно, Господи.

— Будешь Айер?

У мамы явно муж прям немецкий немец, часто ему звонит, спрашивает, начал ли он уже о ней скучать.

Около-эмиграция это серьезно самый простой способ РЕЗКО сделать себе жизнь интереснее, навсегда. По моим наблюдениям и беседами с людьми, обычно это немного поломанные люди. Билингвизм и смена культур очень обогащает, но мне кажется, что гармония, которую дает относительно целостная социокультурная оболочка/матрица, тоже невероятно важна. Не буду излишне сильно уходить в эволюционную психологию и все такое, но излишне много путешествовать и сталкиваться с разными культурами человечество стало относительно недавно (шестое столетие до нашей эры?). Я могу себе представить что четкое ощущение ingroups/outgroups и принадлежания-чему-то-там нам немного более важны, чем плюшки, которые дает обрывание корней и сталкивания с совершенно другими реалиями.

НО это не относится к путешествиям! Как мы помним,

“Travel is fatal to prejudice, bigotry, and narrow-mindedness, and many of our people need it sorely on these accounts. Broad, wholesome, charitable views of men and things cannot be acquired by vegetating in one little corner of the earth all one’s lifetime.” (Twain)

Формула для счастья и успеха по жизни, в моем мире, это были бы периодические путешествия на пару месяцев-полгода, с целью максимум понаблюдать/понять, но в то же время с четким осознанием, что дом у тебя где-то есть, и что тебе есть, куда возвращаться

Vim, empty and blank lines, executing commands on regexes, ^M

It’s been quite a while since I wrote something in the Bits and Pieces category. I’m forgetting that the goal of this blog was partly documenting my own knowledge for my own use.Definitely need to hide this category from the front page and use it often. Or even better, make it a category on the wiki.

That said:

Vim digraphs

^M is how vim shows the 0xD character, which in Windows is a newline character. A more complete list of such characters is here:

One way to insert such characters would be: ^M is entered by holding down Ctrl and typing v followed by m, and then releasing Ctrl. 1

Interestingly enough, the keys above are represented via the <kbd> tag, which apparently is a thing:2

The HTML <kbd> element represents user input and produces an inline element displayed in the browser’s default monospace font.

Vim removing empty lines & executing a command on lines matching a regex

:g will execute a command on lines which match a regex. The regex is ‘blank line’ and the command is :d (delete) 3

Also interesting is the distinction between blank lines and empty lines. They could be defined as just '\n' and as a line with various spaces, but on visible content.

Footnotes   [ + ]


A translation of “Переведіть мене через майдан”/”Переведи меня через майдан”

Please, would you help me crossing the Maidan?

the last wish of the old kobzar1Blind street musicians playing the Kobza, a Ukrainian folk music instrument, for our purposes kobzar=lirnyk=banduryst

“Please, would you help me crossing the Maidan3For now “city square”; More about the connotations of this word, as I see them, further down
To the far side, there is a field,  I reckon
The bees hum quietly, a little piece of heaven
Please, would you help me crossing the Maidan

Please, would you help me crossing the Maidan
Where there’s laughter, fighting, feasts and food on shelves 2“shelves” almost makes me cry, but the third line is perfect, haven’t found any other normal rhyme….
Where no one hears, neither me nor themselves
Please, would you help me crossing the Maidan

Please, would you help me crossing the Maidan
There cries a woman; in the past we were together 4 Formerly “we’ve been together” but this would imply they are /still/ together
Now I’ll walk past, won’t even recognize her
Please, would you help me crossing the Maidan

Please, would you help me crossing the Maidan
With pain, regrets and love, still not forgotten
Here I’ve been brave, and here I have been rotten 5 sounds too much like passive and therefore weird, but whatever
Please, would you help me crossing the Maidan

Please, would you help me crossing the Maidan
The drunken clouds, they seem to touch my arm 6Adding meaning that was not there, but “Maidan” is hard to rhyme with anything. I also can see something like “Where drunken clouds are floating in the trees”
Now it’s my son who sings on the Maidan
Please, would you help me crossing the Maidan 7 Four identical rhymes – it’s a feature! increasing the DRAMA and stuff

Please, help…” The Maidan took him in
and led him by the hand,  and he kept walking
As he fell dead, right in the Maidan center
Not knowing there was no field anymore

Continue reading “A translation of “Переведіть мене через майдан”/”Переведи меня через майдан””

Footnotes   [ + ]

1. Blind street musicians playing the Kobza, a Ukrainian folk music instrument, for our purposes kobzar=lirnyk=banduryst
2. “shelves” almost makes me cry, but the third line is perfect, haven’t found any other normal rhyme….
3. For now “city square”; More about the connotations of this word, as I see them, further down
4. Formerly “we’ve been together” but this would imply they are /still/ together
5. sounds too much like passive and therefore weird, but whatever
6. Adding meaning that was not there, but “Maidan” is hard to rhyme with anything. I also can see something like “Where drunken clouds are floating in the trees”
7. Four identical rhymes – it’s a feature! increasing the DRAMA and stuff

Da chto vy /voobsche/ znajete pro metamodernism?


Laaaadies and gentlemen,
дамы и господа

Someday this may become something useful. It actually started as something useful. Like a website where you go and find positivity and stuff

I’m surprised that I’m surprised that given my current state it descended into post-meta-modernistic madness pretty fast

Anyway, it’s random images from L.’s “saved images” and random quotes from my quotes file (a bit sanitized, I admit).

Ты не доживешь до тридцати

Oh, and as a bonus to the readers of this blog, here’s the old design, with the pictures and text absolutely separated.

Залипаю уже минут 20



2017-03-26-233353_686x662_scrot 2017-03-26-233851_923x773_scrot 2017-03-26-234000_631x658_scrot

O, да, если уже началась такая пьянка,

Тупо тырит ссылки с моей вики, у которых оценка >=6, рендомно выводит.

EDIT 1: а еще можно вот так:

Glitch + фразочки из исходника файлика, без фильтра на счет “позитивности”/”оптимистичности”/”интересности”.2017-03-27-004050_611x783_scrot

Mildly related:

AI Curriculum

Two main focus areas for this year are gonna be AI/ML and Infosec.

I hope this post won’t be just a link dump, but look like and actual curriculum.

A Step-by-Step Process to Teach Yourself Anything (in a Fraction of the Time)

and for motivation



Research Guide

Additionally, a list of textbooks:
+, again,

Research Guide

Nice places to generally read even before I fully understand what it’s about:

Generally cool things to read/learn which may or may not be tangentially or directly related to this field:

who journeyed to Amsterdam, who died in Amsterdam, who came back to Amsterdam & waited in vain

Now playing: Dans le Port d’Amsterdam (ну очевидно же.)


21 год. Господи, господи, господи.

Два лейтмотива мыслей тут: 1) А давай организовывать свою собственную жизнь по пятилеткам! 2) десятилетие с 20 по 30 это то время, когда мозги наиболее гибкие.

А еще,


“My goal is not to wake up at 40 with the bitter realization that I’ve wasted my life in a job I hate because I was forced to decide on a career in my teens” (c) самый гениальный мультик в истории человечества.

Десятилетие свободы при относительном (в моем случае — почти полном) отсутствии обязанностей.


О важности этого десятилетия отличшейше написано на Art of Manliness (ч.1 и ч.2, особенно последняя). В этом возрасте мозги делают вторую и последнюю попытку решить, что нужно для счастья и успешной жизни, убирая лишние связи в мозгах. Чтó именно есть лишним — решается на основе той жизни, которая происходит вот конкретно в этот период. Изменения потом возможны, конечно, но даются ощутимо сложнее.

Basically, what this means is that the education, experiences, and relationships you choose to pursue in your twenties will determine the course of your brain’s synaptic pruning process.1

This final development of your brain is akin to getting a wiring upgrade – after it’s completed, the prefrontal cortex will run faster and more efficiently. But what you gain in speed, you lose in flexibility.2

Соответственно критически важно положить дорогу изначально в “правильном” направлении. А еще, из оперы “неиробиология для чайников”, neurons that fire together wire together (see Neuroplasticity). Еще, оказывается, Metaplasticity тоже существует: “The idea is that the synapse’s previous history of activity determines its current plasticity”.

Your twenties are in fact the perfect time for adventure and exploration, but the experiences you choose should have an element of intentionality.3

И именно об intentionality я хочу сегодня думать. Или, еще лучше, создать (=комбинировать идеи из религии, поп-психологии, психологии, неиробиологии и теории систем) framework, который мне может в этом всем помочь, но об этом дело будет идти в отдельном длииииииннннном посте.

21-26 лет

Этот период хочу посвятить работе над:

  1. Ответственностью
  2. Силой воли
  3. Силе в общем, глобальном, широком знании этого слова. Использование данных мне ресурсов разного плана для изменения мира вокруг.

Конкретно планы на след. год:

  1. Искусственный интеллект
  2. Информ. безопасность
  3. Программирование – тупо писать код, как же я давно этого не делал, Господи.

Далі буде, over and out! (Y)

Footnotes   [ + ]

Dvorak Mirrorboard layout (Based on Randall Munroe’s Mirrorboard)

Update: New version of the layout can be found here; it has a number of improvements and visuals. History & Rationale remain in this post, though, along with installation instructions.

Now playing: Shia LaBeouf by Rob Cantor.

It all started when I was looking into options for one-hand typing, simply because it seemed like a pretty interesting thing to learn. (I love the feeling of the brain rewiring, haha.)

I stumbled upon this blog post by Randall Munroe about his Mirrorboard layout.

The key moment was when I realized that the brain command I use to type the letter ‘e’ is very similar to the one I use to type ‘i’. I found that if I held my right hand away from the keyboard and tried to type “the kitten parked the hovercraft”, it came out “tge dettev qarded gte gwvercraft” — I was doing the same motions with my left hand that I’d normally do with my right.

Mirrorboard is a keyboard layout that lets you type simple things on a QWERTY keyboard with only the left hand. It works by mirroring the layout between the left and right hands when you press caps lock. “asdf” becomes “;lkj” — the entire keyboard is reflected. To press a key on the right side of the board, you hold caps-lock with your pinky and then press the corresponding key on the left side.

Which is actually really fascinating and true.

After Googling around, I did not find any Dvorak version of the keyboard layout, so I decided to make one. Learning quite a lot about xkb and Linux’s handling of keystrokes in the process.

Another reason to change it a bit was because I use a pretty complex keyboard setup, with dvorak+Russian+Ukrainian, a compose key, and multiple remapped keys on my keyboard, and I wanted to integrate left-hand typing seamlessly in my workflow.

Changes made from the original Mirrorboard layout:

  1. Made it Dvorak-friendly
  2. Left-alt is used as modifier key, instead of Caps. (Which is remapped as Ctrl on my keyboard).
  3. Return is Modifier+Tilde
  4. Modifier+Tab is “/”
  5. Modifier key is a Latch-style key instead of Shift-style key. (Basically, the difference between the two is that Shift-style keys work only when pressed together with the key that’s being modified, while Latch-style keys may be pressed before the key, or at the same time, or twice to “Lock” it until the next time you press it; Here’s an excellent explanation)
  6. Adapted it to contain only the modified keys, so it can be put in /usr/share/X11/xkb/symbols/our_dvorak_mapping and later used as just another keyboard layout, say,  setxkbmap -option 'grp:rshift_toggle, compose:rctrl' dvorak,sh-mirror3,ru,ua (right shift to change keyboard layout, right Ctrl as compose key)
  7. Maybe some other things I have forgotten

Additional resources that helped me in the process have been this excellent post on how to create your own layouts and the legendary Arch linux wiki.

The layout is on Github.

To use:

  1. Fit it to your needs
  2. Copy to your key definitions folder (usually /usr/share/X11/xkb/symbols/)
  3. Either just setxkbmap sh-mirror3 or integrate it in whatever you are using (e.g. setxkbmap -option 'grp:rshift_toggle, compose:rctrl' dvorak,sh-mirror3,ru,ua)
  4. In case you want to edit it, copy it every time to a new name. The layout gets cached to the DE, and for it to read the new changes you would have to reload X, unless it’s a new file. (That’s why sh-mirror3; same number of tries as it took this person I learned this fact from). Or just during editing do xkbcomp mirrorboard.xkb $DISPLAY 2>/dev/null as recommended in the original post, maybe removing the last part to see any errors.

Then I did a couple of changes to my i3, cvim and keynav configs, to make them easier to use with just the left hand.


Keynav is an excellent little program to avoid using the mouse. I divide the screen in 16 areas, and decided to move the lower ones to my left hand, used with shift. Relevant fragment is:

On my keynav 0.20170124.0 the areas seem to be numbered vertically, not horizontally as mentioned on the page linked above.


Cvim is my favourite extension that adds vim-like keybindings to Chrome.

I added a keystroke to change the hint characters to left-hand ones and back, which conveniently was exactly the example given by the author for JavaScript mode:

All of this is definitely a work in progress, but it was really interesting.

Current left-hand typing speed is 12WPM, compared to my usual 80, I wanna see how and if it will improve. It’s really not about actual use, but because it seems something cool to do. Something like shorthand-writing, which I’ve almost learned. I wonder what comes next. Dozenal counting, perhaps?



Очень четко знаю, что сегодня буду листать отрывок “Книги Книг” Алексея Александрова про Классика, Янку и Лева, вероятно еще “Ночь перед Рождеством” Гоголя. Еще по традиции где-то там затесается “A Christmas Carol in Prose, Being a Ghost-Story of Christmas”. В этом же ассоциативном ряду “Вий” 1967 года, надо таки посмотреть его.

Нужно со всех сил не дать жизни скатиться в однообразие, нужно своими силами по-максимуму генерировать атмосферу. Религии, традиции, около-тоталитарные строи умеют это делать отлично, надо без особых комплексов оттуда черпать мысли. Сюди ж думки Костя Москальця про ритуали. (Останні три дні перечитую “Келію Чайної Троянди”, згадую мій 11 клас, повертаюсь до того стану душі. Ех.)

Некоторые книги стоит действительно перечитывать как способ focusing on what you want to grow.

И вообще, eсли праздника нет,то без этой жизни можно обойтись.


Now playing: A fairytale of New York

“You were handsome!” “You were pretty
Queen of New York City”
When the band finished playing
They howled out for more
Sinatra was swinging
All the drunks, they were singing
We kissed on a corner
Then danced through the night

2016 был очередным невероятно интересным годом. Много чего понято, много чего пережитого (но не излишне много, далеко не такой треш как 2015), но, не особо много чего сделано. Воспринимаю его его как год около-паузы подготовки к намного более активному году.

(Любимое исполнение второй любимой рождественской песни).

А ще:

Нова радість стааа-ааа-лааа
Яка не буваа-лааа
Над вертепом зірка ясна
На весь світ засіяяяя-лаа.

І взагалі:

Але кожен по-своєму
Ми дійдем до Вифлеє-ее-мууу

Це мав бути пост про те, яким я хочу, щоб був 2017 рік, але хай це буде абстрактно-різдвяно-новорічним постом.

Вершини в снігу
Світяться навіть уночі
(Ватанабе Тацуо) 1As quoted here, my translation.

З Різдвом. Цей рік буде прекрасним.


Footnotes   [ + ]

1. As quoted here, my translation.

Підсумки 2016

Невже цьому 5 років, Боже мій…

Пишу ці рядки 31/12/2016, в Мюнхенському аеропорту за годинку до початку посадки.
UPD: Політ  Мюнхен->Варшава був дуже милим. В літаку крутять тихі джазові новорічні пісні через public announcement system, всі посміхаються, стюардеси ходять і роздають цукерки, пілот теж у явно чудовому настрої і дуже-дуже багато балакає ні про що. Чи не вперше за ці пару тижнів відчув ту саму атмосферу. До 2017 року менше ніж півдоби. Продовжую писати у аеропорту ім. Шопена у Варшаві у затишній кафешці

Now playing: “Нанэ цоха” та ця чудова пісня без відомої мені назви з “Табор уходит в небо”.

Досягнення року: почав напів-серйозно займатися здоров’ям, долаючи тонни бюрократичних перешкод
Подія року: 33C3, про це буде окремий пост!
Настрій року: Перечікування дощу, виход з мертвої петлі
Зустріч року: Я версії $дата-10 року народження
Геморой року: хай будуть ті самі бюрократичні перешкоди, а так відносно тихий рік без очевидних великих стресів
Країна року: Україна
Місто року: Фуртверк!
Слово року: Melancholy
Подорож року: Гамбург і ця надзвичайно довга дорога додому
Веб-сервіс року: (сам себе не похвалиш, …)
Колір року: #184e7b
Запах року: Арома-лампи, композиції “ясный ум” та масло ладану; приємний дим чергової інкарнації моєї воскової свічки після тушіння
Новина року: див. “Жах року”.

Оставь ее, баро, погубит она тебя и никто не сможет тебя спасти из беды, даже я не смогу. Оставь ее, баро, она же ведьма! 1 

Книга року: Die Biographie über Steve Jobs; To kill a mockingbird; Wir Kinder from Bahnhof Zoo; Sophies Welt; The autobiography of Benjamin Franklin
Фільм року: “Табор уходит в небо”
Пісня року: Крематорий – Мусорный ветер; “Табор уходит в небо” Каспийского Груза;
Жах року: Trump&Brexit
Заклад року: JB @ München + столовка у Школі
Напій року: Чай — вкотре.
Їжа року: Заморожена піца; Kinder County; заморожені булочки, які zum Fertigbacken
Транспорт року: Benz Express, рейс Київ-Лейпциг-Київ
Бренд року:
Антилюдина року: так класно, що хвилин 5 думаю над цим. Можливо таки рухаюсь у правильному напрямку у житті
МріяЦіль на наступний рік:  Закінчити КПІ, активно вчитись і вирішити, що мені потрібно в житті (в тому числі в плані магістратури). Отримувати нормальні оцінки, щоб спростити вибір магістратури. Знайти стимулюючу роботу.

Побажання собі на 2013 2014 2015 2016 2017 рік: 

Хм. По-максимуму стабілізуватись, дуже-дуже класно спати, гарно харчуватися, тримати себе в найкращій можливій формі, займатися спортом, не давати моху рости і ставати теплим і затишним. Я дуже непогано собі уявляю, що саме робити, щоб прибрати туман з голови — ну от саме це все і робити. Почати активно creating value, мутити масштабність рівня 7-9 класу. Вчитися caring about things знову, чисто вольовим зусиллям цікавитися всім, поки воно не стане більш-менш звичкою.


Footnotes   [ + ]

Пентахронология (Pentachronological) — Талмуд

(ибо назвать Библией было бы слишком неинтересно)

ДЕЙСТВУЮЩИЕ ЛИЦА (в порядке появления):

ЛУИЗА, бывший врач
ЕВГЕНИЙ, рекетир-адвокат-милиционер
ГАМЛЕТ, привидение, друг Луизы
ВАСЯ, бывший главврач
ПОЕТ, поэт-диссидент, телемит-герметик-теософ

МЕСТО ДЕЙСТВИЯ: Середина 90-х, Город, заброшенная психбольница. 1Пастернак 2 Как все начиналось Continue reading “Пентахронология (Pentachronological) — Талмуд”

Footnotes   [ + ]

Updated Fiamma “Add link” bookmarklet (now there are _two_ of them!)

Now I have a bookmarklet that gets triggered when I’m on a page I want to bookmark. It’s to the wiki page named after the page title and passes two parameters to the template: the title and the URI of the page. The template gets preloaded1More here: .

The template itself looks pretty trivial. (Note to self: Templates are case sensitive?!)

Then we get a page with an URI and a title. I fill the additional values like this:

Then I run the bookmarklet, which transform it to the following:

Then I could add something, and then save it.

The new bookmarklet now understands an unlimited number of keywords and categories.

The updated bookmarklet:


Make it check for bad characters (think “|”, which mediawiki doesn’t like in names and parameters, and everything else here:; make it do something for empty titles, so I don’t get redirected to the main page; put together all of this and upload it to github?

The final bookmarklet looks like this:

Unrelated to the above:

Apparently, after N years of studying programming and tweaking/optimizing whatever incarnation of my workspace, I’m getting it. Like, you can really solve your own problems by writing your own code?! Wow!

What happens next? I’m gonna go around writing extensions and stuff? How was the quote: “Be a man, write your own drivers!”

Regardless, this small and dead-simple bookmarklet that solves my own problems has done much more for my motivation than anything else I’ve ever tried in the last couple of years.



Footnotes   [ + ]

Pentachronological 11 | Это мне напоминает анекдот, который я слышал в Латвии в 1967 году


Continue reading “Pentachronological 11 | Это мне напоминает анекдот, который я слышал в Латвии в 1967 году”

Semantic Mediawiki for personal knowledge management, using templates and a custom userscript

Here I’ll try to document my current setup for links management, which is slowly starting to take form.

Как мы пришли к такой жизни

Since the social bookmarking site Delicious (old links page) is seriously falling apart (which is very sad, I liked it almost as much as I liked Google Reader) I started looking for other alternatives. For some time, I used WordPress LinkLibrary plugin until I felt the hard category system lacked flexibility (you can see on the “Links” page of this blog how cluttered and repetitive it is), I needed tags and more ways to organize the links and, possibly, the relationships between them.

Then for a very short time I set up a WordPress installation specifically for links. I was not the first one who attempted this ( as an example), but it did not work out well for me.

As for the existing social bookmarking services, for example or, I did not want to pay and wanted control of my data (thank God the export feature in Delicious worked more often than not, but I don’t want to risk it anymore).

As for the need to “share” it, I want to have access to it from various places and, since there’s nothing private, putting it in the cloud and putting a password on it sounds like an unneeded layer of complication. Lastly — who knows — maybe someone will actually get some use out of it.

Semantic Mediawiki

Mediawiki is the software Wikipedia runs on. Semantic Mediawiki is an open-source extension for it that adds the ability to store and query data on a whole another level.

Semantics means, basically, meaning. The difference between “60”, “60kg”, “My weight is 60kg.”

Traditionally, Mediawiki allows the pages to link to each other, but the exact nature of the connection is not clear, and you can’t use the connections much. Semantic Mediawiki allows to define additional data for every page, and allows to define relationships between pages. The data “Benjamin Franklin was born in the USA in 1706” suddenly becomes searchable, for example as “Give me the people born in America before 1800” and “Give me the list of countries where people named Ben were born”. A link “Benjamin Franklin -> Philadelphia” becomes “Benjamin Franklin was (BORN IN) Philadelphia”.

This is awesome.

After looking at it, I understood that I have immense power in my hands, and that I have no idea how to use it. As in, how to create an architecture that was both meaningful and easy to adhere to.

Seeing all this, I thought it would make sense to upgrade my “Link database” to something much more interconnected and useful, a personal knowledge management system.

And here it is.


The system

Take this page.

Every page has 5 values:

  • l: The actual URI
  • t: the title
  • c: the complexity (how easy/hard is it to read; sometimes I just don’t want to think too much), 1 to 10
  • r: the rating, also 1 to 10
  • o: If it’s a page with only one link, around which the content of the page has been built. (As opposed to “Here are 5 links about X”)

Plus, of course, any additional text.

Properties can be set:

1) In the text itself, for example like this:

2) Invisibly:

which can be used like this:

My main goal for this was that it should be fast, and fast for me. I can type the above much faster than I can multiple input boxes in a hypothetical GUI.

Then I decided to write some bad javascript to simplify it even more.

The bookmarklet/userscript

An actual bookmarklet would be definitely the next thing I’m doing, until then I’ll be adding the pages manually.

But I wrote a small script (two years since I’ve used any Javascript, haha), to minimize the text above to just this:

The (badbadbad) Javascript code is the following:

The minimized variant of the above now sits nice in my bookmarks bar, and is bound to a keypress in cvim. So I can fill just the URI, and it sets everything else to some default values and adds the Mediawiki template formatting.


  1. Getting the page title automagically (see, I’ll need a PHP backend. It would be also interesting to check from the PHP if the IP making the request is currently logged in in my wiki, and get the title only then, to prevent abuse
  2. Making a bookmarklet which populates automatically most of the fields, like my old Delicious bookmarklet (sigh.)

Searching the wiki

The search in Semantic Mediawiki is explained pretty well here. Now I can do neat things like “Give me the pages in the Category ‘To read’ with complexity < 4”. And lastly, categories can be inside other categories. If X is in category  A, which is a subcategory of B, it still shows up in searches for category B. (example) Pretty nice!

Knowledge Management

Things I want to learn or will probably need pretty often will have their own pages, like the Formulating Knowledge page. Simply because interacting with the material always helps much more than just reading it. Also I like that it will be represented in a way relevant for me, without unnecessary data and with additional material I think should be there.

For the link pages, there will be the link + very short summary (it has been working pretty well) + a couple of thoughts about it, + maybe relevant data or links to other pages.

TODO: Quotes + Move there my “To Read” / “To Listen to” lists. Also think of a better name for it.


Warum einfach, wenn es auch kompliziert geht? (A nice German phrase about avoiding the unbearable simplicity of being: “Why simple, when it can be complicated as well?”)

On a serious note, I don’t have any doubts that in the long run I’ll be thankful for this system.

Firstly, I control all of this data. Feels good. Take that, capitalist ad-ridden surveillance corporations!

Secondly, working with a lot of information has always been something I do often and enjoy immensely, and it would make sense to start accumulating everything in one place. Every day I stumble upon a lot of material on the Internet, of very different nature, and with not-obvious connections between them. I have more interests than I can count.

Organizing everything like this so far looks to me the best alternative, and I’m reasonably certain it will work out. There’s a lot that can be improved, and I think in a couple of moths it will morph into something awesome.

Finding ways to use all the accumulated data is a topic for another day.


A couple of nice relevant inspiring places:  – in Russian, a person using Mediawiki as central hub for everything.  – personal wiki, mostly design. a much more advanced version of what I’m trying to do, also using Semantic Mediawiki. I should drop him a line 🙂