CLI Command for Kids

I’ve been trying to get my daughter more interested in reading.

Here are all the exercises I can think of that get her engaged with a book:

  • She touches the words and I read what she touches
  • She’ll try and sound out words and I’ll be there as a resource

Surveillance Capitalism

I’m still struggling to absorb everything from Soshana Zuboff’s The Secrets of Surveillance Capitalism

My summary would be:

Capitalism is transitioning from providing value to customers by trading money for goods and services to trading surveillance for good and services. Because of the general public’s ignorance of the now always-connected reporting mechanisms facilitated by a global network, they are unaware of the bargains they agree to when using a service.

React and componentDidReceiveProps

Thesis: Is there a case to be made for React setting props and state earlier in the component lifecycle?

Do you have this boilerplate in your React class?

var Thing = React.createClass({
  ...
  componentDidMount() {
    this.loadUserPosts(this.props);
  },

  // Detect and react to changes in the userID prop
  componentWillReceiveProps(nextProps) {
    if (this.props.userID !== nextProps.userID) {
      this.loadUserPosts(nextProps);
    }
  },

  // Loads all posts for the current user
  loadUserPosts: function(props) {
    ... load all posts for props.userID
  }
  ...
});

If so, you are not the only one.

Marking the Moment

My daughter started piano lessons and I was struck by how the teacher began each lesson by taking a moment where they both bow to each other. When the lesson is over, and before we leave the room, they bow again.

I’m struck by how it creates a space...

Kodable and Robot Turtles is a Great Combination

As a Dad with a 5 year old, I’m trying to find ways of helping her develop a healthy interest in science and computers. When she was around two, I introduced her to the game Robot Turtles. At first, I made lots of little sounds to keep her laughing...