Around a week ago YouTube switched my homepage to their new design with very big video previews which is suitable for tablets or smartphones but totally unusable on desktop with reasonable huge screen.
So I searched a way how to disable it, but as almost always there was none. In the end I used “Feedback” function and described how unusable it is on desktop and now (at the time of writing this post) I have older homepage design.
Back in the year I bought a cheap Lenovo laptop with Intel and NVIDIA Optimus gpu. It was not great but I am unable to say it was bad, it still runs fine, so it was a good choice. Even though the Linux support for Optimus enabled gpu was kind of bad it was still manageable.
At the time I decided to use Bumblebee + bbswitch (to disable the card), it worked fine. There was a bit of drawback on CPU but it worked kind of nicely, I could run things on NVIDIA with simple command without closing current X.
After some time I once again tried to create a blog. This time with it should be nice static site with dark design and only memories.
At first I went on journey to find a nice dark theme which I would use as a base. After a bit I found tocttou/hacker-blog which is really nice. See demo.
Customization It sounds all nice and fine but it is a bit plain. I decided that categories or tags would be nice. I chose tags because it is shorter and looks better. After a bit of search I stumbled upon a nice example. In the end it required a bit more work to add all functions but the basic idea was there. I added list of tags for each post on index:
The KDevelop`s user interface (UI) suffers from required minimal width of widgets and toolviews. The “Template Preview” toolview is one such toolview. In my case it pushes part of the KDevelop window out of the screen.
After few ups and downs with file templates, the journey through source code started once again.
Based on the comment in source code, it should be possible to add tooltips for custom options in file templates.
How foolish I was to trust the comments. The option loading logic never counted with such possibility, it takes any data it can find in ’label’, ’tooltip’ and ‘whatsthis’ field and sets it as option`s label. The displayed text is the last read value of these three fields.