•••
Какая всё-таки восхитительная ирония: в шедевре не надо менять ни одного слова, ни одной ноты! Интересно, кто из создателей понимал, что именно они сотворили?..
Луч солнца золотого
Туч скрыла пелена.
И между нами снова
Вдруг выросла стена.
Ночь пройдёт, наступит утро ясное;
Знаю, счастье нас с тобой ждёт.
Ночь пройдёт, пройдёт пора ненастная,
Солнце взойдёт!
Солнце взойдёт!
Покрытие в картинках
Тесты — это хорошо. Приятно работать с кодом, который хорошо покрыт качественными тестами. Тесты дают свободу. Можно экспериментировать, не боясь что-нибудь сломать; можно рефакторить код до идеала, не опасаясь, что он перестанет работать. Люблю тесты.
Покрытие тестами — полезная метрика, если не делать из неё цели1. Дядя Боб на одной из лекций спрашивал аудиторию, к какому проценту покрытия кода тестами стоит стремиться, и, получив в ответ что-нибудь вроде «95%», с картинным удивлением вопрошал: «Выходит, вам всё равно, работают ли остальные пять процентов вашего кода? Так стоило ли их писать?!»
Не суй наши ПД во вражескую БД!
Тут вот у нас есть 152-ФЗ «О персональных данных». И в нём написано, что
персональные данные - любая информация, относящаяся к прямо или косвенно определенному или определяемому физическому лицу.
– 152-ФЗ «О персональных данных», ст. 3, ч. 1.
То есть, например, имя, фамилия и номер паспорта — это всяко персональные данные, другой трактовки никак не получается.
А ещё написано, что этот закон вполне себе применим
к обработке персональных данных граждан Российской Федерации, осуществляемой иностранными юридическими лицами […], на основании договора, стороной которого являются граждане Российской Федерации, иных соглашений между иностранными юридическими лицами […] и гражданами Российской Федерации либо на основании согласия гражданина Российской Федерации на обработку его персональных данных.
COVID-19: Had It and Survived
Trusting the Digital Assistants
There are things that are nice and interesting to do, yet there are things you’d rather not spend your time and effort doing. People are different, and my categorization may not match yours, but on average, there are a lot of things in today’s life that one would like to delegate to some extent. Hiring a person or a team for this is something very few of us can afford, but technical progress gives some hope to wide audience, too.
To the Un-Known!
Visitors of this blog might have noticed I’ve moved it from Known to Hugo recently. Doing it without losing IndieWeb features was quite a hassle, I admit, so I felt the need to document the process. Hopefully, my experience will be of use to someone, and even if not, bragging is half of the fun about blogging anyway, isn’t it?
Voice Messages
This post is about obvious things, but it looks like they aren’t that obvious to some people.
Many messengers allow to send voice messages instead of text. These messages are problematic: you can’t read them in a meeting, you can’t skim through them later to remember what the conversation was about, you can’t search the contents of these messages… The fact that the voice messages are possible to send doesn’t mean you should. You shouldn’t.
A random wall in Tel Aviv.
Leveraging IndieWeb to Avoid Storing Others' Data
Owning your own data is great. I’ve been using this website as the central IndieWeb point of my online life for over five years, and I love it. However, the joy of owning your own website comes bundled with great responsibility: as the website owner, I am responsible for what’s on my site and for what’s stored “under the hood” to make this website work.
It’s not a huge issue as long as I only post my own content on my site, but the cool thing about the IndieWeb — as opposed to “regular” Web — is its social aspect, the ability to interact with other people running other websites. To do that I usually need to put some of the data that belongs to other people onto my website. And that always makes me uncomfortable.