Bystroushaak's blog / English section / Weekly updates / Biweekly update 2020-03-23; Sick again..

Biweekly update 2020-03-23; Sick again..

Later than usually. Sorry. I just didn't felt like writing an update last Sunday, and there wasn't that much interesting going on, except the crazy global pandemic everyone already knows about.

I was sick again, for the third time this year. Not with coronavirus, at least I hope, because I have no symptoms. But I still need to blow my nose way too often and I also sleep way too much. I've slept twelve hours today and I still feel like I could sleep more.

Object wiki update

I've greatly improved the way how it stores information, the way how it handles inputs and I also manged to convince QTextEdit to serialize inlined objects (Active widget in PyQT5 / QTextEdit to XML/HTML). It could be almost used to edit simple text wiki pages.

So far, I am mostly fighting the boring but necessary stuff (PyQt). I find it unbelievable how many things I had to solve myself, that no one solved before, especially with widgets inlined into text. But the boring phase should be over soon, at least I hope so.

PyCharm

I've bought PyCharm for another year. I've used to be a strong proponent of the "simple" text editors like vim, Sublime text, or Visual Studio Code. I used to like the idea that you can compose your own IDE exactly how you want. Then I've run into problems, that this does not really scale well. And everything is knitted together very loosely and breaks all the time.

My colleague convinced me* to try PyCharm. I've spent several weeks by tuning it, porting color scheme (🗒Sunburst for PyCharm / Idea), key shortcuts and so on. Then I've read a book (Effective pycharm). Since then, I am maybe ten times more effective than with just "editors". I have everything I had with them, but a bunch of stuff that was semi-broken now actually works, like type inference. And the whole IDE understands the code and can do all kinds of reasoning about it. The cost of refactoring is now actually almost zero, so I do it a lot and this itself made me better programmer.

Then there is a bunch of specialized stuff, like database views, and structure views and wonderful debugger integration and python specific options. Automatic dependency tracking and jumping trough code with shift+click and a lot of other stuff is just icing on cake.

Really, my only regret is that I have not decided to use PyCharm sooner. It went so far, that I am considering using some statically typed language for my future projects. Rust probably. I've learned the hard way, that more your IDE understands your code, more effective you'll be. Especially for refactoring. And quick refactoring allows quick iterations and improvements. To quote Elon Musk:

A high production rate solves many ills. If you have a high production rate, you have a high iteration rate. For pretty much any technology whatsoever, the progress is a function of how many iterations do you have, and how much progress do you make between each iteration. If you have a high production rate then you have many iterations. You can make progress from one to the next.

Book report

I didn't manage to finish any books this month so far, mostly because I've spread myself too thin, and I am reading something four books at the same time:

Also, I've picked up Anathem by Stephenson for second reading after eight years. I am enjoying it very much, but it has 937 pages by itself, so it will take me something like month to read just this single book I am reading for fun.

I find that global pandemic had a strange effect on me, and I want to re-read some books I've already read when I was a teenager. I get flashbacks to books I've almost forgotten that exists, like The Drawing of the Dark.

Writing

I've published Installation of pip packages on offline computer. I've tried to force myself into writing other blogs I am working on, but without any success.

Random stuff

There was Notion AMA: I'm the first engineering hire at Notion. AMA!

My question got nice response:


Monasteries of the Future: A Summary is an interesting article.


The sea is lovely.


Wardruna - Grá has really wonderful vocals towards the end:

(I would embed it, but it is one of those videos that can't be embedded)


This is the most beautiful CSS for a personal page I've ever seen:

I shall steal it.


💡
Yes, my English is probably horrible, but this kind of blog post doesn't qualify for (paid) grammar corrections yet (there is stuff with higher precedence in queue). If you want to change this, subscribe to my patreon. Even with a $1 / month, you can make a difference.
Become a Patron