Since switching to vcsh I’ve been writing more personal scripts since they’re pretty easy to ship around to each machine. Plus more things have REST APIs and python’s slumber makes it dead easy to talk to them. However I then have to make sure modules like slumber are installed since it’s not in the python standard library. This adds a level of awkwardness to the scripts in my ~/bin. While looking for something else I came across this answer on stackoverflow and it fit what I wanted to do.
I wrote the following in a comment on a discussion about the
[protests in Charlottesville]. Some people felt that protesters
on “both sides” were “thugs.”
I went to school in Kansas. And if you go into the Kansas State
Capitol in Topeka you’ll see an imposing mural of a thug: [John
Brown] He was an abolitionist who (sadly [unusually] for the
time) actually believed in equality - and he walked his talk.
A few months back I upgraded my vim configuration to use pathogen for managing my vim plugins. Since adding plugins was now a doddle I found a few lists of “super-duper useful vim plugins you must have” and just installed them blindly. Along the way I also configured how various plugins and the like were configured. This included a one-line change to associate .md files with markdown (by default they associate Modula-2 which I haven’t written code in for 20+ years).
Leo Sherlock’s apology leaves
something to be desired. It’s an image which I think he believes is hard
to search for (sorry, search engines do OCR on images) and printed so
it’s hard to read.
To help rectify this and offer links to his apology and those
affected, I wrote this up. Do feel free to copy and paste all of
this and post it far and wide.
This is just a simple thing, but it makes working in Go’s source tree way easier. Particularly since I use repos from three different sites that start with “git.” In zsh there’s a thing called cdpath with zsh will use to complete a cd command. For the longest time mine was set to cdpath=(~ ~/src) so if I typed cd foo and there wasn’t a foo in the current directory zsh would go look in ~ and then in ~/src.
Step one was to stop sending money to Team Past. So got rid of Sky and will be working on reducing spending on some other utilities. But on a more positive note, I tried to figure out how to spend money on Team Future - people, organisations and companies who support good journalism, civil rights organisations, research, education and entertainment. Private Eye does good investigative journalism in the UK. (subscribe) The Sunday Business Post is one of the remaining indpendent media orgs in Ireland.
I hadn’t heard about Jackie before I noticed it in the list of films at the cinema. I had been looking to see if Loving was out and came across this. This review won’t really be spoilery, but obviously if you want to go into the film completely blank I’d skip out now. Just know it’s a really well done film on a tough topic. The film is disconcerting at first because Natalie Portman’s acting is so artificial.
For a number of projects I work on I pull in third party tools. Sometimes they’re straight copies - that’s what I inherited in some PHP projects I work on. But in others I use git subtree to pull them in. However there’s a problem. I need a way to remind myself to check for updates. And generally I like things related to a project to live in the project. For my home projects I use Gitlab and their CI system.
I’m doing a bit more open source development and some projects insist on updating code bases on mailing lists with patches. And they generally react badly to html email. Using mutt works best with them. And that’s fine, it’s not too hard to get mutt working with gmail. And you can use pass to pull in the password in your .muttrc like so: password=`pass gmail/acct/mutt` So no need to keep a password resting in cleartext in your homedir.
Modifying low level authentication is a worrisome thing. If you do it wrong the fear is that you can’t log back in to fix it. So unlike some other guides out there I’ll point out the danger points here and some ideas on how to address them. This is kind of long so a high level overview is this: install client software, install server software, activate server software, generate key, done!