Android MVC, MVP, MVVM?

Sometimes when I apply for a freelance assignment, I am asked “do you use MVC”? I’ve found it hard to answer that question. I know what it is, I don’t use it, but when I say so, I don’t get the assignment. I have explored the issue in a little detail more recently, and now I have the answer.

MVC doesn’t really fit the Android lifecycle model, as is explained in more detail here. Model, View and Controller are hard to match to Activities, Fragments, and other Android components. My apps generally have Activities and/or Fragments, and custom Views. These have access to an intermediate layer that manages data and API access, and everything that’s in the model and data layers. Using dependency injection makes it easy to fully separate the View layer, the model/data layer and the intermediate layer. This is not the case for and MVC model where there is a coupling between all layers.

Continue reading “Android MVC, MVP, MVVM?”

Marlene Dietrich

dietrichAfter WWII, Marlene Dietrich visisted Amsterdam a couple of times. I think it was in the early fifties, she stayed in a hotel in Concertgebouwbuurt, a hotel owned by the Van Venetiƫ family.

There was a painter, Eduard de Froe. He was a friend of the van VenetiĆ«’s. He often came to the hotel, had a coffee, and one day, he saw Marlene. He asked, “can I paint you? Please?”. Marlene agreed, so De Froe painted her, in a few sessions, she was wearing a hat, looking happy. De Froe kept the painting, nobody knew it existed. Until it emerged, in the nineties. It’s a beautiful painting.

It’s not for sale.


In 2012, when I had just gotten my motorcycle drivers license, I found youtube videos of guys racing bikes in an incredible way. There weren’t going around a track at 350km/h, they were doing more like 40, on a small tarmac area, and they were making incredibly tight turns. They were all Japanese, it seemed that nowhere else in the world this sport was done. Look at this.

I posted a message on a biker forum, asking “Is this something they do in the Netherlands?”. Nobody knew, a lot of people knew the videos, people were interested, but nobody had ever seen it. People joined the discussion, someone pointed us to another topic where this type of riding was discussed.

Then I said “then lets just go do it”. Continue reading “Motogymkhana”

Therese Schwartze

Self portrait, age 37, img wiki commons

Johan Georg Schwartze was a painter, who grew up in the US, traveled to Germany, then in 1844 he arrived in Amsterdam. He managed to make a career there as a portrait painter, so he decided to stay. His daughter Therese, born December 20, 1851, had a talent for drawing and painting, so Johan Georg taught her. When Johan Georg died in 1874, started to take care of her extended family as a painter. By that time, she was already succesful painting portraits of the Amsterdam elite. By doing that,she became the first woman who maintained a family as an artist, a painter.

Her sister Georgina was a sculptor, her other sister, Clara, was not an artist. Their brother, Georg Washington Schwartze, was also a painter, the Rijksmuseum has a number of his paintings.

Deep Learning

If you want to get an introduction to building neural networks and deep learning, this online book is a good start. If you don’t know Python, I recommend to learn at least the basics of Python.

After you read the book, or most of it, you’ll want to try yourself. The book has examples, you can get them from github. But a real next step is to try Google’s Tensorflow. The Tensorflow tutorial here follows most of Michael Nielsen’s book. Have fun building your first deep learning neural network.