Quote

Falling

We don’t talk much about poverty anymore. We talk about the middle class a lot. We don’t talk about the upper class or the rich anymore: instead we talk about them in terms of percentage points. And we don’t talk about the poor as much as we talk about those who are homeless. But there are still poor people in our society, and one member of that group wrote about it here: Falling.

He has a home, he was middleclass, and now he is poor. The story is sad but not exceptional.

I don’t know why we don’t talk about the poor so much any more. Perhaps we see poverty as shameful, not for the people who are poor, but shameful for people who don’t see themselves as poor. I don’t know. I think we do need to talk about it and the spectrum of financial status, and I think we need to work towards a fairer and more equitable society. First, we need to look and talk about it more clearly.

Quote

When the homeless man is your son

I have read this often and think of it frequently, especially given my current status:  First Person: When the homeless man is your son – Orange County Register.

It’s a really good piece, and something you either don’t think about or don’t want to think about as a parent. Sometimes the world chews up the thing you love and try to care for, a tornado that comes through and destroys what you love, despite your best efforts. Tornados and other tragedies know nothing of your virtues and care nothing for the love you show.

Quote

Is China’s government ever going to grow up?


I have thought a lot about this piece since I read it: Is China’s government ever going to grow up? – The Washington Post Key quote from it:

.. the sad truth is that as China rises, instead of embracing a superpower mindset and growing a thicker skin, it is becoming increasingly more sensitive to perceived slights — all while it fosters a thin-skinned, resentful nationalism among its people.

I wonder why China is so thin-skinned and taking action against any one doing the slight thing (e.g. favouring a tweet). It is the response of a weak country or a bully, not a strong one. China is a strong nation: it should act like one.

Quote

What are the most beautiful streets in New York City?


The folks at the Thrillist have a great list, here, including images such as the one above.

It would be great to go to NYC again just to visit some or all of these.

Quote

How to make your brain healthier

Easy. Follow these five tips:  ‘I’m a neurologist, and these are the 5 things I do to keep my brain healthy’ | Well+Good

Some of them are easy and obvious, some not. And some are a 2 fer: exercise your body and you help your brain, too.

 

Quote

Thinking about work (especially if you are not motivated)

If you don’t feel like working this Monday, you can at least read some pieces about work that might help you get motivated.

Quote

A trick to resolve issues with YAML files for Kubernetes

I was going through this exercise for Using Calico network policies to block traffic when I thought that instead of deploying the webserver image using this command:

kubectl run webserver --image=k8s.gcr.io/echoserver:1.10 --replicas=3

I would create a yaml file to deploy the webserver instead. Unfortunately, there was something about my yaml file that preventing things from working. That’s when I came across this trick.

  • Step 1: deploy the web server using the kubectl run command.
  • Step 2:  run the following command to get the YAML back for the deployment


kubectl get deployment webserver --output yaml > webserver.yaml

  • Step 3: edit the webserver.yaml file to remove extra lines. For me, I was able to remove:
    •  the status section
    • the annotations section
    • the strategy section
    • etc.

And just keep the following lines (note, note formatted properly):


apiVersion: extensions/v1beta1
kind: Deployment
metadata:
labels:
run: webserver
name: webserver
namespace: default
spec:
replicas: 3
selector:
matchLabels:
run: webserver
template:
metadata:
labels:
run: webserver
spec:
containers:
- image: k8s.gcr.io/echoserver:1.10
name: webserver

Now, you do not have to edit the file. But I think this is cleaner than the full version that comes back.

So you can delete the deployment that was the result of the command line and instead build future deployments using the yaml file.