Title photo
frugal technology, simple living and guerrilla large-appliance repair
Sat, 11 Nov 2017

Why can Ruby call Vim in read/write mode in Linux but read-only in Windows?

Why does Ruby's system call to vim allow me to write a file sometimes but not other? I can write all files in Windows with Notepad, and all files with vim in Linux.

Update: Now I seem to be having no problem using Vim for read/write. Maybe my last change (removing routine that read from a text file) fixed this bug, too.

Mon, 30 Oct 2017

IFTTT should send this post

This is not part of the /updates directory, and IFTTT should send it to Twitter.

Wed, 25 Oct 2017

Automatic social posts - the last mile

The last piece missing from the Blog Poster app is the ability to post directly to Twitter and eliminate the dependency on third-party services like dlvr.it and IFTTT. Shouldn't be too hard.

Expanding the Blog Poster app to allow for different target directories

I just coded a small feature for the Blog Poster app (a Ruby script) that allows the user to choose between two different directories when posting a "raw" update that isn't meant for the /updates/ directory that IFTTT taps for explicit social posts (using the body text instead of the title for the post). When making a "raw" post, the user can now choose the /now directory for timely posts that would be better with the traditional title-and-link style social posting that "normal" blog entries usually get when fed to social media accounts.