Having a baby is...

"...a bit like sitting in the airport waiting for a plane. It's a bit scary, a bit boring, a lot can go wrong, and in reality you have little control over the situation" [anon.]


(And no. I'm not having a baby.)



"fact patterns" - is that new, or did I miss the birth of that phrase? (draft)

From reddit (regarding mandatory sentencing in the US):
As a lawyer I'll say that when it comes to the legal (criminal or civil), honesty is not always the best policy. But silence usually is.

People unfamiliar with the system often mistake truthful statements, arguments of honest mistake or justification, acceptance of responsibility, etc., as doing the "right thing" and pay dearly for doing it.

This issue is especially troubling in instances where the legal system has set up a no-tolerance rule, mandatory reporting, or otherwise deprive responders of "discretion." This happens a lot on the criminal side: domestic abuse (i.e., mandatory arrest), some sex and gun crimes, vehicle-alcohol laws, etc. The domestic abuse one in particular, while well-intentioned, can result in some very bizarre fact patterns for police.

It appears that this guy/gal is a lawyer-speaking, but using the phrase to
mean "sequence of events", or more likely a kind of predictable cascade of institutional response to... (well the fact that I can't define it, suggests it has utility, because I certainly know what they are getting at)

they continue...
For a great many otherwise honest, good people, the first run-in with the legal system, they learn that trying to be helpful, doing the right thing, etc. is some times the wrong thing for them personally.

 The closest definition I am thinking of, is that it functions in a much more precise way as does "story" in something like "it was the same [familiar] story"






ginger steps on venus.

So this joke showed up in my google+ feed at Funny Jokes+ and was reposted at Remo malash+, Haley Falconite+ and others. My first thought was why is Blondie getting all the abuse. I doubt ginger would last long on the surface of venus!



Given that the surface pressure on Venus is ~92x of the Earth, and that spacesuits are designed for low pressure environments. I think something like a deep sea submersible would be required to survive, making it difficult for "ginger to walk on venus" without being squished.

Chef: ERROR: RuntimeError: Please set EDITOR environment variable

I've just setup a workstation on windows, and I'm getting the following error when I try to edit a data bag;

$ knife data bag edit tomhodder tomhodder
ERROR: RuntimeError: Please set EDITOR environment variable

tldr; SOLUTION: use a text editor that understands windows paths ("C:/Users/whatever/file"), rather than unix ("/C/Users/whatever/file"), e.g. export EDITOR=notepad

Is the brain's "embarrassment" architecture single register in working memory?

At various points in my life I am plagued by what could be described as persistent unwanted thoughts. Basically something comes to mind, and is difficult to dislodge maybe for an hour or so, but sometimes much longer. I have strategies I like to use to deal with this, such as to actively get up and do something else to trigger a frame change.

A similar recollection-of-cringe-worthy incident occurred just now, but something slightly unique took place which I thought I would throw out for discussions.
 

Chef web app developer training - Part 7 continued even more... checks/real life (draft)


The purpose of this series of tutorials is to take web app developers through the basic knowledge necessary to create and maintain the cookbooks used to deploy web applications.

Here I demonstrate that searches on data bags are applicable to other indexes and lists of objects in the chef server architecture.


Chef web app developer training - Part 7 continued even more (draft)


here are some checks that you have setup the data bag correctly;


Chef web app developer training - Part 7 continued (draft)


The purpose of this series of tutorials is to take web app developers through the basic knowledge necessary to create and maintain the cookbooks used to deploy web applications.

Here we are going to create a data bag which we will shortly be consuming in a cookbook recipe.

We are going to create a databag on class01 named for your favourite sports team and add some players to it.


Chef web app developer training - Part 7 (draft)


The purpose of this series of tutorials is to take web app developers through the basic knowledge necessary to create and maintain the cookbooks used to deploy web applications.

The prerequisites for Part 7 are to have a working setcloud configuration for "class01" and your own hosted chef organization e.g. "tomhodder". ("knife cookbook list" etc, should work)

The purpose of Part 7 is to cover "data bags", what they are and how they work.


Chef developer training - Part 6 continued (draft)

Here we run some checks to ensure the settings are correct

Chef developer training - Part 6 (draft)

The prerequisites for Part 6 are to complete part 5


Chef web app developer tutorial - Part 5 continued (draft)

Check that the environment variables are correctly loaded

 

Chef developer training - Part 5 (draft)

The purpose of this series of tutorials is to take web app developers through the basic knowledge necessary to create and maintain the cookbooks used to deploy web applications.

The prerequisites for Part 5 are to complete part 4, and to have available the configuration values for both "class01" and your own organization e.g. "tomsorg".

The purpose of this part of the tutorial is to make it super easy to switch between different chef-servers, and organizations. The developer workflow will be to typically have a dev or test organization, and some other production target chef-server.

Chef web app developer training - roundup of parts 1-4

These are the requirements to complete for each part of the session; (replace tomhodder with your opscode username where appropriate)


Chef developer training - Part 4 (draft)


The prerequisites for Part 4 are to complete part 3, and to have a username associated with opscode.



Chef developer training (Part 3 steps)


Right now you should have an opscode username, like "tomhodder".

If you are following the tutorials and wish to access the finished versions of the cookbooks, please send your opscode username to me, and I will add you to the "class01" organization.

If you are not following the tutorials, and do not wish to share your opscode username, then please use your alternative organization instead of the "class01" where relevant.

Chef web app developer training - Part 2 (draft)

The purpose of this series of tutorials is to take web app developers through the basic knowledge necessary to create and maintain the cookbooks used to deploy web applications.

Here we create a opscode.com host chef account, which provides a username and organization that we can use for the later tutorial steps. Once you have created the username at opscode, if you send it to me, I will enable it for access to the "class01" organization that contains the cookbooks for this tutorial.

This part of the tutorial is basically to complete the "Using a Chef Repo" tutorial from the learnchef.com getting started series. However it will serve as a basis for the next parts in this series.


Chef developer training - Part 1 continued (draft)

Once you have completed the the Part 1 steps, you should step through the checks below, ensuring that you are able to replicate the commands and actions.

Chef web app developer training - Part 1 steps (draft)

The purpose of this series of tutorials is to take web app developers through the basic knowledge necessary to create and maintain the cookbooks used to deploy web applications.

Here I am using the stack CentOS, Oracle java and tomcat7, but they are generally applicable to the other app stacks.



This part of the tutorial is based off the learnchef.com Chef Workstation Setup getting started article. I'm skipping the Vagrant and VirtualBox installation part until later.