How much faith is enough?

Submitted by devin on Thu, 01/14/2016 - 21:21

I have solid faith based on rational skepticism and the axiom that 'God exists'

Atheists have the same; solid faith based on rational skepticism and the axiom that "God does not exist"

I'm fine when I read a study about religious belief leading to less altruistic behaviour, because I've already incorporated that into my worldview

I'm constantly impressed by those who have more faith than me - they do good and make good decisions! I know my rationalism is not the whole story, much as Richard Dawkins and I both wish it were

Climate Change and Malthusianism

Submitted by devin on Thu, 01/14/2016 - 21:11

"Malthusianism is a school of ideas derived from the political/economic thought of the Reverend Thomas Robert Malthus . . . which describes how unchecked population growth is exponential while the growth of the food supply was expected to be arithmetical. Malthus believed there were two types of "checks" that could then reduce the population, returning it to a more sustainable level.

gitlab-mr.sh

Submitted by devin on Sun, 01/10/2016 - 22:38

This is a script to allow quick gitlab merge requests on the cli.

If you create a new branch, commit it, and then run gitlab-mr my new merge request, then a merge request will be created on the appropriate project from the current branch into the develop branch, with title "my new merge request".

There are additional command line options to specify a markdown description, using cat and Ctrl+D to enter the input.

squash-last-commit.sh

Submitted by devin on Wed, 12/16/2015 - 22:46

Sometimes you make a git commit, but there's a typo or syntax error in there by accident. I normally use git rebase -i HEAD~2 and then through the magic of vim I'm fairly productive at squashing the two commits together.

But wouldn't it be nice if there was a way to run one command to squash your most recent commit (which probably has a useless message like "typo" anyway) into the next most recent? Lucky for you, there is now!

Make mosh print the message of the day on Ubuntu 14.04

Submitted by devin on Thu, 11/26/2015 - 22:51

I'm running mosh 1.2.4 on my Ubuntu server, and it's always annoyed me that it doesn't print the message of the day (MOTD) on startup. ssh prints helpful information when you log in, like if you need to reboot or update packages, that I miss when logging in via mosh.

So you can imagine my surprise when I found out that this issue was fixed in version 1.2 of mosh, 4 versions ago!