October 15, 2009
Оказывается, по правилам техники безопасности парковать машины надо всегда задним ходом, чтобы при чрезвычайно ситуации можно было быстрее свалить.
Вот ведь, элементарно, а никогда об этом не задумывался.
P.S. “б\ть” на моём птичье-переводческом языке — это “безопасность”
2 Comments |
1356 |
Permalink
Posted by Vladimir Zakharov
September 25, 2009
For those who have faced the following problem: if Unicode is enabled in Windows command prompt (chcp 65001), .BAT and .CMD files no longer run. The solution is simple: instead of “file.bat”, use “start /b file.bat”. Voila!
P.S. The BAT file run will not support Unicode though
Leave a Comment » |
1356 |
Permalink
Posted by Vladimir Zakharov
January 27, 2008
Following a discussion in Reasonable Deviations, I spend some three hours solving a (quoting) “little school-level problem” posed in a weird Russian CAPTCHA system. Not that it is extra-difficult, but some people may find it interesting to see the solution of its generalized formulation, so here it is.
Problem: we have an electric circuit as depicted in the following figure:

The task is to find the altogether resistance from A to B.
The answer is (numerator and denominator split by “-”):
(n2+n4)*(n1*y+n5*x)+(n1+n2)*n4*x
—————————————
(n1+n2)*y
, where:
x = n3*n2-n1*n4
y = (n1+n2)*(n3+n4)+(n1+n2+n3+n4)*n5
The solution is after the jump. Read the rest of this entry »
1 Comment |
Uncategorized |
Permalink
Posted by Vladimir Zakharov