From 1ff71086fe337a47cc5242328f42dd1cc0e9fbd4 Mon Sep 17 00:00:00 2001 From: Franck Cuny Date: Wed, 5 Feb 2014 21:00:30 -0800 Subject: Update some drafts. --- _drafts/looking-at-chronos.md | 56 +++++++++++++++++++++++++++++++++++++++++++ _drafts/on-trust.md | 11 +++++++++ 2 files changed, 67 insertions(+) create mode 100644 _drafts/looking-at-chronos.md create mode 100644 _drafts/on-trust.md diff --git a/_drafts/looking-at-chronos.md b/_drafts/looking-at-chronos.md new file mode 100644 index 0000000..9c27259 --- /dev/null +++ b/_drafts/looking-at-chronos.md @@ -0,0 +1,56 @@ +--- +layout: post +title: Looking at Chronos +summary: In which I take a look at Chronos +--- + +# Looking at Chronos + +I've decided to look at Chronos, a cron replacement running on Mesos. + +Mesos + +## Getting an environment + +First I need to get an environment to play with it. Let's do that quickly with Vagrant and Ansible: + +```ruby +Vagrant.configure("2") do |config| + config.ssh.forward_agent = true + + config.vm.provision :ansible, :playbook => 'playbook.yml' + + config.vm.provider :virtualbox do |vb, override| + override.vm.box = "precise64" + override.vm.box_url = "http://files.vagrantup.com/precise64.box" + end + +end +``` + +And the playbook for Ansible: + +```yaml + - hosts: all + sudo: yes + tasks: + - name: Install a bunch of packages + apt: pkg={{ item }} state=installed + with_items: + - autoconf + - make + - gcc + - cpp + - patch + - python-dev + - git + - libtool + - default-jdk + - default-jre + - gzip + - libghc-zlib-dev + - libcurl4-openssl-dev + +``` + +Now I can run `vagrant up` and wait to get the VM build with everything I need. diff --git a/_drafts/on-trust.md b/_drafts/on-trust.md new file mode 100644 index 0000000..c2ae066 --- /dev/null +++ b/_drafts/on-trust.md @@ -0,0 +1,11 @@ +--- +title: On trust +layout: post +summary: In which I talk about trust +--- + +I've a problem: most people I know (friends, co-worker, my mum) don't trust me. Most of the time they second guess, doubt what I say. To be honest I find that really irritating. I'm sure it tells more about myself more than anything else, since trust is something you earn, but anyway. + +A few weeks ago I was watching Russ Olsen's talk "(To The Moon)[http://www.youtube.com/watch?v=4Sso4HtvJsw]". Take one hour to watch it, it's one of the most inspiring talk I've seen. Toward the end of the presentation, he tells the story of Neil Armstrong, and how he had to take a quick decision to make the capsule fly toward instead of down, to avoid landing in a crater. It would have been a perfect time for all the engineers in the command center to say "Hey Neil, you shouldn't do that" or "You should do it that way". But no, no one said anything, they trusted the person who was in charge. + +Still, I'm lucky to have a great co-worker who trust me. When we work on something, he trusts that if I don't know or understand something, I'll ask him. This is definitely a better way to work. -- cgit v1.2.3