Log in

Dennis Gorelik
Очень откровенный (и интересный) "разбор полётов":

> человеку, котрый прикоснулся к созданию прувера, уже тяжело себя заставить писать обычные Web приложения на джава-скрипте

Вот такая странная мотивация у математиков.

> мы договорились, что я ему перечисляю "на еду" (как он выразился деньги) в размере 2000 грн в неделю.

Это меньше $400/месяц.
Что делает найм энтузиастов-математиков очень привлекательным.
При условии, что есть возможность достичь практический результат.

> С начала года прошла 31 неделя и было выплачено 65,149 грн. Получается 2101,5 копеек.

$2580 - чувствительно, но не много для неудавшегося бизнес-эксперимента.

> я не получил алгоритм кодировки, который был бы понятен условному Кметту. Павел говорит, что у него он в ЖЖ

Это типичная проблема с абстрактными теоретиками. Они получают удовольствие от теоретических исследований, но не любят тратить своё время на изложение своих достижений в виде, понятном простым смертным (таким, как их работодатель).

Thanks to thedeemon and juan_gandhi
Dennis Gorelik
Of all organization men, the true executive is the one who remains most suspicious of The Organization. If there is one thing that characterizes him, it is a fierce desire to control his own destiny and, deep down, he resents yielding that control to The Organization, no matter how velvety its grip…

"Suspicious" part is about me.
Not only I do not trust my organization, I do not fully trust anybody (or trust, but verify).

Just today a developer told me that I like to test a lot (e.g. test if product documentation and my understanding of that documentation actually matches with reality). In his mind I test too much.

Now I think I do not test enough.
Consider what happens with organization if it does not have enough suspicious people:

Thanks to Дмитрий Васильев
Dennis Gorelik
16 August 2016 @ 08:58 pm
Mislead or Inform

I do not like when people lie or trick me. In particular, I do not like when people pretend that they understood me, when, in fact, they simply ignored what I said. Misunderstanding kills productive conversations.

Here come my habits.
Normally I do not allow myself to get angry during discussion. For example, I do not allow myself to get angry toward the person who disagrees with me.
But I allow myself to get angry in discussion in one particular case.
When person pretends that he understands me, but repeatedly misunderstands me - I allow myself to get angry about it.
I do not always get angry though. If I do not care much about person I talk with - I do not get angry. Instead I just start ignoring that person and do not pay attention to what they say.
So, I pretty much have that as a habit now: get angry or automatically lose interest to the person who repeatedly misunderstands me (while pretending they understand).
That trains people around me to either be open about the fact that they misunderstood me and timely ask me for clarifications ... or simply stay away from me (or at least do not speak with me on the topics when they do not understand my reasoning).
Either way it is good for me: less empty chit-chats and more insightful and productive conversations.
Dennis Gorelik
14 August 2016 @ 05:02 pm
The act of discovery was not complete for him until he had taught it to someone else.
It is a good way to test that your theories have at least some ground in reality.

Richard Feynman was relentless about testing: "It doesn't matter how beautiful your theory is, it doesn't matter how smart you are. If it doesn't agree with experiment, it's wrong."
Dennis Gorelik
10 August 2016 @ 11:11 pm
We tried to run PowerShell remotely (in order to automate build deployment).
We managed to make it work on developers' machines, but on production server it just refuses to work:
Windows PowerShell

PS C:\Windows\system32> Enable-PSRemoting -SkipNetworkProfileCheck -Force
WinRM is already set up to receive requests on this computer.
Set-WSManQuickConfig : <f:WSManFault
xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2"
Machine="localhost"><f:Message><f:ProviderFault provider="Config provider"
xmlns:f="http://schemas.microsoft.com/wbem/wsman/1/wsmanfault" Code="2"
Machine="sv7731"><f:Message>Unable to check the status of the firewall.
At line:65 char:17
+                 Set-WSManQuickConfig -force -SkipNetworkProfileCheck
+                 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   + CategoryInfo          : InvalidOperation: (:) [Set-WSManQuickConfig], InvalidOperationException
   + FullyQualifiedErrorId : WsManError,Microsoft.WSMan.Management.SetWSManQuickConfigCommand

PS C:\Windows\system32> Enter-PSSession -ComputerName localhost
Enter-PSSession : Connecting to remote server localhost failed with the
following error message : Access is denied. For more information, see the
about_Remote_Troubleshooting Help topic.
At line:1 char:1
+ Enter-PSSession -ComputerName localhost
+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
   + CategoryInfo          : InvalidArgument: (localhost:String) [Enter-PSSes
  sion], PSRemotingTransportException
   + FullyQualifiedErrorId : CreateRemoteRunspaceFailed


Note "Unable to check the status of the firewall." part of the message.
Why would Enable-PSRemoting command try to check the status of the firewall?

Another Windows WTF reported by yatur

Finally we were able to fix this remote powershell issue.
The problem was in Group Policy for IpV4Filter on our production machine.
IpV4Filter was limited to a single IP address (main address of that production machine).
I have no idea why it was setup that way.

This is how I fixed WinRM localhost access problem:
Run gpedit.msc
Local Computer Policy
Computer Configuration
Administrative Templates
Windows Components
Windows Remote Management (WinRM)
WinRM Service
Allow remote server management through WinRM

In "IPv4 filter:" change "" to "*":
IPv4 filter: *


In the end, PowerShell and Microsoft server tools leave a negative impression due to bugs and pathetic diagnostic.

Consider another PowerShell surprise:
"ls" and "dir" commands produce empty output in case when folder is empty. No headers, no message that says there are no files. Just nothing. WTF?
Dennis Gorelik
07 August 2016 @ 05:11 pm
People who are dreaming about starting companies, but do not start them - think that good idea is the most important part for business.
In reality, even though good business idea is important, idea execution by far outweighs the idea itself.

Here's what Steve Jobs said about it in his Lost Interview (1995):
One of the things that really hurt Apple was after I left, John Sculley got a very serious disease, and this disease (and I’ve seen other people get it too), it’s the disease of thinking that a really great idea is 90% of the work, and if you just tell all these other people, here’s this great idea then of course they can go off and make it happen. And the problem with that is that there is just a tremendous amount of craftsmanship in between a great idea and a great product. And as you evolve that great idea, it changes and grows, it never comes out like it starts because you learn a lot of more as you get into the subtleties of it. And you also find there is tremendous trade-offs that you have to make, I mean there are certain things that you just can’t make electrons do, there are certain things you can’t make plastic do, or glass do. Or factories do, or robots do and as you get into all these things … designing a product is keeping 5000 things in your brain, these concepts, and fitting them all together and kind-of continue to push and fit them together in new and different ways to get what you want. And every day you discover something new that is a new problem or a new opportunity to fit these things together a little differently. And it’s that process that is the magic.
Dennis Gorelik
07 August 2016 @ 04:52 am
I just re-watched "Steve Jobs: The Lost Interview" (1995).
The technology crashed and burned at Xerox. Why?
I learned more about this with John Sculley later on. What happens is, John came from Pepsico. And they—at most—would change their product once every 10 years. To them, a new product was a new sized bottle. So if you were a ‘product person’, you couldn’t change the course of that company very much.
So, who influences the success at Pepsico? The sales and marketing people. Therefore they were the ones that got promoted, and they were the ones that ran the company. Well, for Pepsico that might have been okay, but it turns out the same thing can happen at technology companies that get monopolies. Like IBM and Xerox.
If you were a ‘product person’ at IBM or Xerox: so you make a better copier or better computer. So what? When you have a monopoly market-share, the company’s not any more successful.
So the people who make the company more successful are the sales and marketing people, and they end up running the companies. And the ‘product people’ get run out of the decision-making forums. The companies forget how to make great products. The product sensibility and product genius that brought them to this monopolistic position gets rotted out by people running these companies who have no conception of a good product vs. a bad product. They have no conception of the craftsmanship that’s required to take a good idea and turn it into a good product. And they really have no feeling in their hearts about wanting to help the costumers.

Idea vs execution
Dennis Gorelik
04 August 2016 @ 01:22 am
Hasan twice offered to plead guilty, however U.S. Army rules prohibit the judge from accepting a guilty plea in a death penalty case.
In July 2012, having previously instructed Hasan to follow army regulations and shave his beard grown during the past several months, the judge found Hasan in contempt of court and fined him.
Hasan said that his beard is part of his religious beliefs. The prosecutors argued that Hasan was simply trying to delay his trial.
lead prosecutor Colonel Mike Mulligan said
[Hasan] can never be a martyr because he has nothing to give... Do not be misled; do not be confused; do not be fooled. He is not giving his life. We are taking his life. This is not his gift to God, it's his debt to society. He will not now and will not ever be a martyr.

1) Why would not US Army allow to plead guilty?

2) Why would US prosecutors care if Hasan has beard?

3) Why would US prosecutor care if Hasan was a Martyr or not?
Dennis Gorelik
03 August 2016 @ 11:31 pm
10 months ago when I took isidewith quiz, Trump was much further down.
But now he moved closer to my views and is in the second place (after Gary Johnson).
Now Trump and I share 79% of views (was 69% back in October 2015).
It looks like Trump is doing what analysts predicted he would be doing: after winning Republican primaries he changed his rhetoric to embrace some popular Democratic and Libertarian views.

Hillary Clinton was at 67% and now she is down to 64%.
It's a wrong move after winning Democratic Primaries.
It looks like she does not want to win this elections.