20 random bookmarks
Тут будут ссылки на всё-всё, что я найду интересным
Тут будут ссылки на всё-всё, что я найду интересным
One solution is to try and care the exact right amount: be invested in work a bit, but also have hobbies and a family and whatever else gives you perspective about your work problems. If you have a rich and healthy personal life, it’s hard to find yourself yelling at somebody about React state management. However, this is a tricky balance to maintain over time.
Меня просто нечеловечески бесит, когда разработчики оправдывают собственную некомпетентность мантрой «бизнесу надо». Если программист любой степени квалификации, от стажёра — до принципала — использует в качестве аргумента в любой дискуссии фразу «бизнесу надо» — знайте, перед вами тупой самозванец, гоните его в шею.
Experiment 5
Goal: Go 21 straight days without complaining or uttering non-constructive criticism. (If I catch myself doing it, I must start again at day zero.)
This was inspired by Will Bowen’s book A Complaint Free World, in which he claims that if you stop pronouncing your negative thoughts, you stop having those kinds of thoughts, and that if everyone did this the world would change completely.
What happened: It took 55 days to get 21 complaint-free days in a row, but I did it. This experiment really does teach you not to complain, and I think everyone should do it once in their lives. But it didn’t create much of an inner change. My negative thoughts were unaffected, I just got more polite about whether to pass them on to others. Complaining can even be a worthwhile form of bonding, as I learned while I was working a painful manual labor job with new friends, and could never join in on the lighthearted griping. Still, it’s better to never complain than to complain freely.
Where I am with it today: Even though the exercise didn’t eliminate internal negativity like the book promised, the experiment left me much more conscious about expressing needless negativity, and I am pretty good at keeping it to myself most of the time. I’m also more patient with others when they’re complaining. This is one experiment I would recommend to almost anybody.
About consumption speed
This is the first result to break the O(m+ n log n) time bound of Dijkstra’s algorithm on sparse graphs, showing that Dijkstra’s algorithm is not optimal for SSSP.
We all know that naming things in programming is hard. If you’ve read this entire post it just got a little bit harder.
Something like make, but magefiles are written in Go instead. Pretty funny.
A Git client for simultaneous branches on top of your existing workflow.
Виртуальные ветки !!! (Теперь, если нашёл внезапный баг, не относящийся к текущей задаче, его исправление можно сразу же переместить в новую ветку, не теряя текущие изменения)
Отмена действий, сквоши, смена коммитов местами перетаскиванием!
Для всех желающих срочно захватить Украину до самого Львова у меня есть несколько убойных аргументов, почему делать этого не стоит. Не нужны нам ни Харьков, ни Одесса, а Киев не нужен тем более. Империализм должен быть эффективным — обратимся к цифрам и фактам.
from bouncepaw:
Alex tells us that, for him, baking and cooking are easier than programming and soldering, because the errors there average out. As for me, this is completely inverse.
In programming, an error never fixes itself. You can observe it and fix it, you can write tests. You can run the program multiple times. It's you who fixes it, and you can understand how it's done. It's measurable!
Meanwhile, cooking is a nightmare. Burning something is routine for me. Is that too much or too little oil? For how long do I fry? What do I do with these spices? Do they really affect the taste? And to observe something, I can't rely on symbolic things like text. No, I have to look (is this color good? No idea!), smell (as if I know the difference) and taste (nothing more inaccurate).
I'm happy when something can be cooked with a timer. 15 min for buckwheat? I'm in. I'm more happy when the time is short. 4 min for this thin kind of spaghetti? Already boiling water!
I mean, even boiling water is not simple. My parents told me to wait until the correct bubbles appear. I'm waiting for the scary ones. Also, salt is supposed to make it boil faster. How much salt do I add?
And I didn't even talk about plants, which Alex also considers easy. They're not 😭
Totally agree!
Количественным числительным наращение не положено, но все его упорно пихают, меняя смысл.
The author doesn't like how modern UI:s are designed. Gives good examples.
— О чем вы подумали, впервые открыв секретный архив ГУЛАГа и узнав, что число репрессированных значительно меньше, чем считалось и говорилось?
Земсков о репрессиях
Minimizing your keyboard layout is a slippery slope.
34-keys has been reasonably comfortable to use, for both prose and program. My palms do not move across the desk at all, as I reach for keys. I mostly write Rust and Bash, and my layout has evolved to accomodate special characters from their grammars (angled brackets and hyphens, specifically). If you are on a similar journey, I would suggest focusing on accuracy and comfort over speed. Speed comes with time.
When I’ve listened the most effectively to people, it’s because I was intensely curious—I was trying to build a detailed, precise understanding of what was going on in their head.
This site contains writings on the topic of reducing suffering, including the suffering of non-human animals and far-future beings. Most content is by Brian Tomasik, though a few pieces are written by others.
Иллюстратор, художник из России Ольга Шевченко
Рассказ о том, почему мат классный, но нужно держать его в узде.
Бесконечно-зумный арт