Jan. 26th, 2017

dennisgorelik: (Default)
Normally, in case of invalid input Uri() code throws UriFormatException. But with really weird input Uri(baseUri, Url) overload can produce NullReferenceException:
[TestMethod]
[ExpectedException(typeof(NullReferenceException))]
public void UriFailureTest()
{
    new Uri(
        new Uri("https://jobs.web.cern.ch/content/cern-jobs-insight/what-are-we-doing-while-you%E2%80%99re-waiting"),
        "https:/jobs.web.cern.ch/content/cern-jobs-insight/what-are-we-doing-while-you%E2%80%99re-waiting");
}
dennisgorelik: (Default)
Donald Trump suggested to pay for the wall from the new 20% tax on Mexican imports. Lawmakers refused to cooperate. So Trump changed his mind.
http://www.cnn.com/2017/01/26/politics/donald-trump-mexico-import-tax-border-wall/index.html

That made me think if Trump understands what he is going to do with the economy.
But the thing is that economy is not the only Trump's consideration. More importantly, he has to comply with public opinion. Unfortunately that public opinion is self-destructive on multiple issues.
So balancing public opinion vs practical economic goals is hard.

I believe that in order to increase our economic benefits - we should reduce government regulations ~5x (or, at least, 2x for starters).
Which means that government should work mostly on reducing regulations, not on introducing new ones.

However that thing with reducing government regulations is actually not that simple.
Complex government regulations could serve an important role of circumventing popular (but dumb) public opinion.
For example:
1) Complex tax code (such as tax deductions) allows to effectively reduce taxes without offending popular public opinion that we should tax rich people a lot.
2) Introducing legal minimum wage allows to discriminate against low skill people and keep them away from affluent neighborhoods.
Etc.

Politics is really complex and hard to grasp.

Profile

dennisgorelik: (Default)
Dennis Gorelik

September 2017

S M T W T F S
      12
34567 8 9
1011 12131415 16
17181920212223
24252627282930

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 21st, 2017 08:48 am
Powered by Dreamwidth Studios