Friday, December 21, 2018

Lying or Stupid

draft

The question is often asked, are Republicans lying or are they stupid?  Of course, lying can mean lying-to-obstruct, or lying-to-steal, or even just lying-to-confuse.  The point is that the very act of "lying" implies volition and desire.  But "stupid", thats a different thing.

I think that I would certainly prefer that they were lying.  Because accusing them of being stupid sounds so much like an ad hominem attack on their character.  Which it is, of course.

 So whats her name said the following.

President Trump’s press secretary, Sarah Sanders, remarked: “The idea that Putin is happy about this [Trump's decision to withdraw US forces from Syria] is ridiculous. It puts them at a greater risk, so I think that's just silly.”

In other words, stupid.

Amazon Tax Breaks

draft

NY has given how much money in tax breaks to Amazon?  How many billions of dollars?  Amazon is crushing businesses all over this country and putting people out of work and these companies dont get tax breaks.

Now, ask me again why I am angry.

You Dont Know Angry

draft

People ask me why I am angry and I stare at them in disbelief.  People attack me because I am angry and I laugh at them because, frankly, I think they are being worse than stupid.

A rapist on the supreme court.
A malignant narcissist as president, as corrupt as can be.
A right wing nut on the supreme court (Gorsuch).

The entire Republican party demonstrating their complete failure to have any ethics at all.

Now read this article about Zinke who just resigned as Secretary of Interior.

https://www.vox.com/science-and-health/2018/12/21/18150520/zinke-resignation-resigns

All I want is for these people to be in jail.  Is that so much to ask?

Thursday, December 20, 2018

The Death of Stalin


A fun movie about the shenanigans that occurred when First Secretary Joseph Stalin died.  It helps to have a sense of humor about mass murder.  Not too much blood on screen.

https://www.imdb.com/title/tt4686844/



Machine Learning and the So-Called Real World

Draft

A friend, who knows computer science better than I ever will, declined to comment on the usefulness and validity of machine learning to me.  Actually, I had not asked him about that, at least I didnt think I did, but maybe I did without realizing it.  Its quite possible.  Anyway, he declined comment, sensibly pointing out that he was putting his energy into areas where he felt he had some understanding and intuitive feel for what was going on and what needed to be done.

One more time, I envy my friend's lifestyle.  Out here in the so-called real world (it isnt very real, just not the world of academia) one has no choice but to have an opinion on this topic.

And speaking of the real world, I would tell anyone who wants to use "Machine Learning" in an application to be aware that you will need a lot of time and the ability to possibly fail, especially if this has to work as a useful application vs a proof of concept.
 

Wednesday, December 19, 2018

GANs That Work and GANs That Fail

draft

So after the previous "circle test". I try two more tests using the exact same GAN networks, batch size, etc.  One is a "square test", similar to the "circle test" and one is a "grid test" of 100 variations on a grid.  See examples of both below.






And here are some results from the "square test"







I think these are looking pretty good.

But now when we get to the grid test, well, not so good.







This makes me wonder if GANs can really handle anything other than very clear graphic shapes.  Or maybe a completely different type of network is required.

Dershowitz is a Right Wing Asshole

draft

Dershowitz thinks it is just groovy to put a rapist on the Supreme Court.

https://thehill.com/opinion/judiciary/417849-justice-kavanaugh-should-not-be-impeached-or-investigated

Why the Space Force is Stupid

draft

The Space Force idea is another attempt by Trump to put his rancid stink on something in an overt and stupid way. The reason for having a "space force" is to try to deal with several different problems in executing a coherent space strategy. Another service is not necessary, some sort of reorganization probably is. This is all made more complicated because so much of what we do in space is not just secret, we can not even talk about it at all. Too many fingers in the pie(s), and too many other agendas (e.g. the Air Force has a lot on its plate, how can it demand more money for space when it does not (in its opinion) get enough money for air). Its not exactly a mess. A separate service is probably not needed at this time.

Letter to Rep Carbajal (CA 24) About the Latest Kavanaugh Abomination

draft

My letter to Rep Salud Carbajal of CA 24 is as follows:

The recent dismissal of ethics complaints against Kavanaugh is an abomination. Why does our government think it can keep doing things like this and still have any credibility? I have had it with this right wing garbage dominating our government. It is time for my elected representative to speak out, loudly, now and often.

As far as I am concerned your only job in Washington is to impeach Trump, Pence and Kavanaugh (and possibly Gorsuch).

You are my representative, please speak out, now.

Thank you.
Michael Wahrman

Tuesday, December 18, 2018

Incremental Notes on GANs

draft

So there are a variety of things I have learned about GANs in the last few weeks.  

1. I am limited by my GPU memory.  The more memory you have, the more you can fit into the GPU, the larger the batch size.  A batch size of 6 may have very different results from a batch size of 2, or a batch size of 50.

2. It is only the GPU (in my case a 1080 with 8 GB memory) that makes this at all practical or possible.  I have 8/16 pretty good processors here and they can run for 10 minutes and not do a single batch, whereas the GPU can do a batch in 60 seconds or less.

3. 256 resolution is much more practical than 512 resolution.

4. It is not at all clear whether GANs can do any of the simplistic projects I wanted to do with galaxies, nebulae or march posters.

5. With the simplistic test patterns, at least 150,000 samples are required.

CBS Eye Recreated by Machine Learning

draft

Kids, dont try this at home.  These machine learning generative adversarial networks are for adults, you could hurt yourself. There are finally some decent results from a GAN on a pattern simple enough to work.  But this tells me almost nothing about what the technique can or cant do.  This test is very, very simple.

An example of the input images. 





And some of the generated images after training on about 125,000 different images.







Monday, December 17, 2018

GANs, Machine Learning & Learning on the Internet

draft

By using a simple test pattern and pushing through latest attempt at a GAN, I was able to confirm some suspicions I had about what was going on.  And through this I was able to use the right words in my Google search and come up with some posts and references to papers to help explain what was going on.

What I saw in my tests is that indeed my GAN was at various times doing a respectable job at recreating the image class.  And then it would seemingly lose its mind, or lose the thread, and go off into its own zone from which it would occassionally return.

The process has been productive and I have learned a lot, but the process is also suboptimal.  Its hard to tell from the Internet at first glance whether or not many of the posts that are thrown in your face have been written by people who actually understand what is going on.  My opinion at this point is that they do not.

In particular, what 98% of these posts about GANs did not tell me was that this very promising technique is not at all cut and dried.  That there are many questions and issues about pretty much every phase of the process, about what type of loss function, about what type of optimizer, about how to avoid "mode collapse" and many other critical issues.

So GANs are an exciting work in progress, a true research project, and unlike many other areas that someone from Computer Graphics might expect, nothing is cut and dried here.  It may work in one case but not another.

In my case, it truly makes progress towards the goal, but then it wanders off.

Here is a link to the best post I have found so far on this topic by Jonathan Hull.  He has written a dozen or so posts on GANs and so you might want to poke around and see more of what he has written.

https://medium.com/@jonathan_hui/gan-why-it-is-so-hard-to-train-generative-advisory-networks-819a86b3750b

Here is one of the input images as a reminder of what I am aiming for and then a few selected images of results that shows it is on the right track.  Remember, our GAN does not know a circle from a politician, so when you see something like a circle that is significant.




And here are some selected outputs from the GAN.










And then here are some images from when it has apparently lost its mind.






Sunday, December 16, 2018

Test Patterns for Machine Learning

draft

I am slowly reducing my test patterns for machine learning to the simplest form that will tell me something.  

When this is a little further along, I may package them all up and put it on kaggle as a lesson for the others.










I should mention that these images have been through the Tensorflow/Keras data augmentation process, and are hence smashed in a variety of ways.  Here is an example of an original image as created via Nuke.  Still not perfect, but better.  For what I am doing, it really doesnt matter.



Shut the Government Down Now

draft

I am perfectly OK if they shut the government down until Trump/Pence is gone, the rapist is off the supreme court, and so forth. I will vote against any representative of mine who permits this travesty to go on even one more day. Its the moral equivalent of the hunger strike in the face of gross injustice.

Saturday, December 15, 2018

Pence is Not an Existential Threat

draft

I have friends so terrified of a potential President Pence, that they are perfectly OK with Trump continuing in office and murdering women and children.  Thats how much they fear Pence.  I think they are out of their mind and need to get a grip.

Short of starting a nuclear war in order to encourage the end of the world and the return of Jesus the Christ child, there is nothing too bad that is likely to happen that could be any worse than Trump.  He cant get legislation passed.  He can put right wing nutty boys in the judicial system the way Trump does, but that is no worse.  Any executive order he signs that is egregious will be reviewed by non-Trump justices and can be overturned by the next administration.

And there is nearly zero chance that he can be elected president in 2020.  He has the charisma of an uninteresting rock.  He probably would not even be able to get the Republican nomination.

So yes, Pence for 1.5 years would be an embarrassment and a humiliation, but he does not represent an existential threat.

Friday, December 14, 2018

Running a More Controlled Test with Tensorflow/Keras

draft

After many interesting tests with Tensorflow/Keras, I am convinced I have no idea what is really going on.  So, I am doing what I should have done to begin with, which is to generate some test data and see how well the script i have written to implement a GAN works with known data.

I finally broke down and learned enough Nuke to be able to generate one of my standard test sequences.  512, 1K frames with two levels of noise and a 12 field chart.  

All the frames look like the one below, except of course that it animates, slowly.



Thursday, December 13, 2018

Without Use, Knowledge Decays

draft

As part of the process of cleaning data for use in machine learning, I finally broke down and I am learning Nuke, that being the preferred compositing program after the predecessors (Shake & Chalice) were destroyed by Apple out of greed. 

But the point is that with the passage of a few years, all kinds of skills and knowledge go away and I am stuck with the frustrating process of trying to remember what used to be second nature.

Let this be a warning to youth out there.  This can and will happen to you.


Wednesday, December 12, 2018

Why Impeachment is Not About Removing Trump (at least not exactly)

draft

This one of those essays that require at least a day to write, and probably several days to write, assuming one wants to do it well.  But I dont have that time so I will just have to sketch out the ideas here and hope you will be indulgent.

The question is as follows.  Is it necessary or desirable to impeach Donald Trump even if it is impossible to convict him because Republicans control the Senate and Republicans are traitors?

Some would say it is not desirable because it would piss off many good Americans who will think that the Democrats are being vindicative.  Others would say it is not desirable because it probably wont remove Trump from office, but it *might* and then we have Pence to deal with.  Still others would say it is not desirable because as far as they can tell Trump has not been "proven" to have committed a crime.

I think it is desirable, even required, and for the following reasons.

First, there are no good Americans who would be pissed off.  The only Americans who support Trump at this point (maybe not initially) are traitors who want to destroy this country, put rapists on the supreme court, etc.

Second, the only mechanisms we have to remove a madman like Trump is impeachment (or article 4 of the 25th Amendment).  If that means Pence, that means Pence.  Pence is a religious nut will try to put gay people in extermination camps, but he will fail.

Third, it is not necessary to prove Trump committed a crime to impeach him.

But the most important reason is this.

The Republicans have tried to destroy this country and we have to fight back.  Now, and forever, now or not at all.




Sunday, December 9, 2018

Machine Learning and Nebulae

draft
Damn this machine learning can be fun! The images are definitely getting better and I think it would be petty to complain that the "generated" images dont look much like the input "real/training" images. That would be the concern of small minded people and everyone here I am sure operates on a higher level. Oh yes, also, the "metric" of good vs bad (error, incorrectness, what have you) also seems to have no relationship whatsoever to the images being "judged". 

Again, we must rise above such nonsense!

Nebulae, who needs nebulae?












Noteworthy Brief from the FBI about Cohen

draft

I have not read the brief that Mueller has filed but I have read about it and seen a few excerpts that seemed so noteworthy as to bring it to the attention of my friends.  In this paragraph, the Special Council's office makes the following point about Michael Cohen, esq.

While many Americans who desired a particular outcome to the election knocked on doors, toiled at phone banks, or found any number of other legal ways to make their voices heard, Cohen sought to influence the election from the shadows. He did so by orchestrating secret and illegal payments to silence two women who otherwise would have made public their alleged extramarital affairs with Individual-1. In the process, Cohen deceived the voting public by hiding alleged facts that he believed would have had a substantial effect on the election.

Sunday, December 2, 2018

Mercury is so retrograde

I am writing this blog post from my smartphone. Retrograde is what Mercury is, like I have never seen. I am so pissed off I'm ready just to give up on the whole damn thing.

Saturday, December 1, 2018

Notes to Reviewers I (Schools)

draft

These are the schools I plan to apply to so far.

I recognize that there is work associated with each additional school (even if you are just cutting and pasting which is what I would do).  So I have tried to minimize the list and I am also completely cool with the idea that if you consent to do any of these, that you may prefer to do one or two rather than the whole list.  You will let me know, etc. 

Additional notes:  1. The goal is to get a PhD but it really doesnt bother me to get a masters first because I have a lot to catch up on and because I think it lets people get a look at me first (which may help and it may hurt).  2. There is at least one foreign school on the list, I would like others, too.  Maybe Canada?  Maybe Europe?

Computer science: Stanford (because of Pat Hanrahan), Columbia (excellent computational biology), something in Israel (TBD).

CMU?  MIT?  Illinois?  Berkeley? You tell me.  NYU is too close to home.  It would be fine otherwise.

Public Policy: Rand Graduate Institute, something at Georgetown.



How you know things are really bad

draft

When you invest vast time in describing how much someone's feelings concern you and suggest some ways to change the relationship to better take into account their feelings and they respond "YOU DONT CARE ABOUT MY FEELINGS".  

Right or wrong, this is a subtle sign of a serious disconnect.

Friday, November 30, 2018

Helped A Homeless Person (maybe) Destroyed Two Relationships (maybe)

draft

I may have helped a homeless person today.  Maybe.  It was so clear that her current dilemma / nightmare was something she had caused.  She was totally able to get that and I think it makes things worse.   I think she will face a week of very challenging adversity and then be OK.  She needs an address to get her disability card, then get an ID and then find a place to live with her disability.  Its all doable, but its all challenging when you are homeless.

But this can be hard to do even when you are not homeless.  

And two other friends may have disavowed me.  This always makes me sad.  What is funny sad is that a friend thinks that I am all rage, and he cant take that.  I try to explain to him that rage and anger is my personality (along with a few other emotions) and he should just adjust to it, but he hates me for saying this because he thinks I dont acknowledge his feelings.  

What surprises me, and which I dont know how to process, is that this is something new?  Weird.  I have been like this for two decades.

There is also some interesting, insulting material about my medical issues, but its not something that can be discussed here.  I am such an idiot sometimes.


Let Me Explain Why You Are Going to Jail

draft

You are not going to jail just because you were part of the criminal organization of Donald Trump, although, admittedly, that should be enough.

You are going to jail because when Donald Trump became president, if he did become president, he did not grow into the job, but instead worked to be the most incompetent, the most dishonest, the most racist, the most idiotic fucking nutcase that we have ever had, in conjunction with nutcases like Ryan, Nunes, Grassley and McConnel.  Racist nutcases.  Assholes like the Koch Brothers and the Mercers.  Obvious criminals like Pruitt.  

You are going to jail because Trump put a rapist on the Supreme Court and a right wing nutty boy as well.

You are going to jail because people hate that fucking son of a bitch so much that they are even willing to enforce the law, something that we normally only do to poor people, not rich people.

That is why you are going to jail.


Thursday, November 29, 2018

What the Constitution Means to Me

draft

It means that Dershowitz and Kavanaugh can borrow a private jet from one of their rich Wall Street friends and go on a rape party in Georgia secure in the knowledge that there will be no fair elections and no legal reprecusions, then fly back to Washington and laugh at videos of political refugees being teargassed and beaten.

Thats what the Constitution of the United States stands for today.

Tuesday, November 27, 2018

In Response To Comments From A Wonderful Friend

draft

What a nice person you are to care.
Pablo Picasso was never called an asshole.
Listening to the sound track of Repo Man.
And somehow it seemed appropriate.
I am not likely to suddenly become a nice guy.
I appreciate your words, your experience and your help.
But I advise you to limit your expectations.
How many psychiatrists does it take to change a lightbulb?
Only one, but the lightbulb has to sincerely want to change.

Saturday, November 24, 2018

When Some Moron Says Trump is Not Impeachable


draft

I dont have any pro-Trump friends any more, at least not on FB. I might have some friends in real life with whom I do not discuss politics who might be Trump supporters without my knowledge, and that is fine. But for those of you who have Trump supporters as friends, here is a nice concise response from the New Yorker about what to say when they say "What!? What has he done that impeachable!? Nothing!". When some idiot says that, here is at least one reply:



Over its first 20 months in office, this administration has produced what would have, heretofore, passed for a presidency-defining scandal on a near-daily basis. There is, of course, the president’s ongoing campaign to undermine the independence of federal law enforcement; his apparent use of U.S. military deployments as a campaign tool; ostensible violations of campaign-finance law; shameless profiteering off the presidency; gross violations of information-security protocols; use of mass child abuse as a tool for border enforcement; personal business relations with a Saudi government whose murder of an American resident he has enthusiastically apologized for; lackluster response to the hurricane crisis in Puerto Rico; and failure to so much as staff many key federal offices; among many, many other things. Meanwhile, just about every major Cabinet official has seemingly committed at least one major ethics offense.


From the New Yorker.


http://nymag.com/intelligencer/2018/11/house-democrats-trump-investigations-oversight-maxine-waters-moderates.html

Thursday, November 22, 2018

Real Clear Politics, Republicans and Georgia

draft

According to Real Clear Politics (a Republican news aggregator), Stacey Abrams hurt Georgia business because of "sour grapes" after a lost election.

You see, this is why Republicans are evil.  There is no thought in their twisted little minds that Kemp did not win the election, that Kemp is a racist who stole the election.

Are the Republicans really that stupid?  No.  They are just lying to steal the money, always have been, always will.

Lock him up. Lock Kemp up, period.




Things Learned On the Road to GANs (Generative Adversarial Networks)

draft

Miscellaneous things learned working with Tensorflow/Keras and machine learning to generate images.

1. Use Containers to install Tensorflow

Containers are virtual machines - lite, and it is the least annoying way to install tensorflow on Linux/Centos 7.5.  

2. For CNNs, the GPU is many times faster.

Its true what they say, at least in part.  For convolution neural networks, the GPU speeds things up by at least an order of magnitude and possibly two.  With containers, you only need to install the Nvidia driver on the base machine / OS and use a different container.

3. It is not at all clear how the CNN relates to real convolutions as we know them from image processing, but it does seem as though using larger filters as we increase resolution avoids the problem of the picture subdividing into lots of little squares.




Wednesday, November 21, 2018

Letter to My Congressman Salud Carbajal

Dear Congressman Carbajal

Congratulations on your re-election to Congress!  You're victory in these difficult times is a testament to your energy, your knowledge and your accomplishments.

I am new to your district and I am sure I will sound a little strident in this email, but I am extraordinarily unhappy with the events of the last two years as so many Americans are. 

Please do everything you can, and be as vocal as your position permits, and make it clear that (among other things) racism is any form is abhorrent to Americans, voter suppression is not acceptable, that the supreme court and federal judges must be ethically excellent individuals and not be right wing fanatics, and crime in the government must be investigated. 

Stand strong for us, sir, if you would.

Sincerely,
Michael Wahrman

The Democratic Response

draft

I want the Democrats, my party of choice, to make some clear statements.  At this time, at this place, now, not later but now.

Here is what I want them to say.

Racism is not acceptable in America, in politics, in how we treat each other, in how we vote.  Under any circumstances, it is not acceptable.  But most of all it is not acceptable in our public officials.

The people who are nominated to be a federal judge and especially the Supreme Court must be superior ethically as well in terms of their knowledge of the law and in their judgment.  They must represent all Americans, not just the extreme right wing and religious right, no matter how much they might wish it.  The abuse of this system by the Republican right has endangered our entire system.

Republicans need to learn that crime is wrong and will not be tolerated. You want to spend a year studying an email server, lets investigate racist motivated voting suppression, obstruction of justice, money laundering and treason.