By devin, 6 March, 2014

My two favourite CMSes and my two favourite web servers. Here are four config files for the same website. Let's assume we have a user devin with two directories in his public_html folder:

/home/devin/public_html/drupal
/home/devin/public_html/wordpress

And then has already created the following logs folders (nginx and Apache have a habit of crashing when you try to specify a non-existent logging directory):

By devin, 6 March, 2014

vsftpd is a simple and secure FTP server, I hear. I've used it to set up an FTP server quickly. Rather than fighting with TLS and FTP, I just use SFTP now - it's much simpler.

You'll need to download and install vsftpd and openssh-server at least. Also, I usually use AllowUsers in my /etc/ssh/sshd_config to whitelist  which users are allowed to ssh in like so:

By devin, 6 March, 2014

Beer is a vice, so I shouldn't feel particularly proud of drinking it. But I feel a certain kinship to those with vices. Drinking beer isn't pleasant, on first glance. It can be bitter and literally tastes like poison.

By devin, 2 March, 2014

I just saw a documentary about a sushi maker. You might think I was focussed on the sushi, but what really struck me was some of the ways Japanese culture works, and the universality of dominance with humans. We defer to leaders, time and again. I'm going to reflect on that, but the focus in my mind is not this particular sushi chef. The focus is dominant leaders and their followers.

By devin, 24 February, 2014

(I have lots more to say on this topic - even more so than other topics. But I'm going to sleep now and can't finish this :( )

1) There are a lot of crappy startups right now.

2) People are bad at choosing which businesses will take off, but think they are good. Accelerators could easily turn into a big circle jerk, but more insidiously, a place where startups that make the bosses happy get resources. Often innovative startups are frowned upon because new ideas are hard to understand; 

By devin, 22 February, 2014

I'm watching Ender's Game right now. Spoiler alert!

The book/movie plays with an interesting moral situation. The Formics come and kill a whole bunch of humans; morally reprehensible. But then from their perspective, killing little mindless ants is like cutting off fingers from the one actual mind at the centre of the Formic fleet. From ours, it's awful.

Then Mazer Rackham killed the one live Formic in the fleet - murder! Reprehensible! At least, reprehensible to the Formics. Of course, in reality the humans killed one mind, and the Formics killed thousands.

By devin, 22 February, 2014

I go to the United Church and it's a funny place. It's all about inclusiveness and political correctness in some bizarre combination. I go because it's progressive, not because of its sometimes-strange theology.

So the question is: what would it take to be excommunicated from the (a) United Church?

Of course, if you go to prison or something, you won't need to be excommunicated. So you'd need some way to be such an awful congregant without breaking any laws to prompt the elders or board of the church into actually excommunicating someone?