Random Geekery

2014

Started working with interesting Perl people, so started finding fun Perl (and Emacs) things to write about. Also went through maybe a half-dozen site generation tools.

year → 2014

2015 2013
  • Finding and Removing Duplicate Files

    Dec 13, 2014

    Programming · perl ·

    I had a clever idea a couple months ago: to write a blog post detailing how to find recursively find duplicate files in a folder. My technique was good enough: track file sizes, find files that had the same file size and MD5 hash, and display the resulting list. It wasn’t foolproof, but it showed some thought. After spending a little too much time on the post, I realized I had never checked CPAN. Of course there is already a module to handle that exact task.

  • Blog Writing in Org Mode

    Oct 21, 2014

    Tools · emacs · org · jekyll ·

    An experiment with using Org mode to write Jekyll blog posts. Table of Contents 1 Introduction 2 Organize Directories 3 Front Matter 4 Configure HTML Export 5 Publishing A Post 6 Followup Introduction Much of what I've read about Org mode has focused on its utility as a task management tool. That's great. I wouldn't mind spending some time on that aspect. Mostly I've been focused on its usefulness for note-taking and writing.
  • chocolatey

    Oct 4, 2014

    Tools · windows ·

    I don’t know about you, but I had a pleasant Saturday. It started with an hour or so of the Coursera Programming Languages videos. I learned a little bit about SML, and have been trying to remember the instructor’s caution about comparing what’s learned in class to other languages. It’s supposed to be a fresh perspective on programming.

  • Starting The Coursera Programming Languages Course

    Oct 3, 2014

    Marginalia · personal ·

    I signed up for the Programming Languages course by Coursera. I may even complete it. See, I signed up for a Scala course earlier this year, but did not get past the first video. That made me sad. Scala is one of those things that I would like to learn.

  • Counting Words in Blog Posts

    Oct 2, 2014

    Programming · ruby ·

    I want to write at least 250 words per day. This is not a 30 day challenge. It is just something I want to do. I write more than 250 words daily when you count social network posts and chat text. Wouldn’t it be nice if some of those words were organized around a single idea?

  • My Ubuntu Setup

    Sep 17, 2014

    Tools · linux ·

    I installed Ubuntu 14.04 on a partition of my laptop today. This is not a novelty. What is unusual is the fact that today I decided to track what I installed before I felt like I had a “Minimum Viable Linux.” Turns out there was quite a bit.

  • .replyrc And reply -Mojo

    .replyrc And reply -Mojo

    Aug 19, 2014

    Tools · perl · reply · mojolicious ·

    It has been a few days since I started playing with Reply, and I still enjoy it. Command history features from the ReadLine plugin became available once I installed GNU ReadLine and Term::ReadLine::Gnu.

  • REPL In Perl With Reply

    REPL In Perl With Reply

    Aug 14, 2014 (Updated Apr 10, 2017)

    Tools · perl · reply · mojolicious ·

    Time for a quick post about Reply, a new Perl toy from Jesse Luers. There will not be much for me to say, because I have only been playing with it for about twenty minutes.

  • Connect To MongoDB on a Vagrant box from the host

    Aug 6, 2014

    Tools · vagrant · mongodb ·

    Yesterday I finished a little project to set up a reusable Vagrant box for MongoDB and Perl Mojolicious experiments. That project is okay as it is right now, but I would like to get at MongoDB from the host system.

  • Trusty Mongo Mojo Box

    Aug 5, 2014

    Tools · virtualization · vagrant · perl · mongodb · mojolicious ·

    TL;DR Install Vagrant & VirtualBox. mkdir my-box && cd my-box && vagrant init brianwisti/trusty-mongo-mojo. Be aware that this is my first packaged Vagrant box, and it is probably not great.

  • Welcome to Jekyll!

    Jul 26, 2014

    Programming · site · jekyll · ruby ·

    Just don’t even ask. I am in a highly fickle phase with the Web site.

  • Python3 and pyvenv

    Jul 4, 2014

    Tools · python ·

    I have been spending much of my coding time in Python recently. This site is built in Pelican. Many lines of Python have been written for work. I have even been poking at Google App Engine in what spare time is available. The only disappointment is that all of these have been in Python 2. I would prefer to be using Python 3. There is a little free time today, so I will set up a nice Python 3 workspace.

  • Perl 5.20 Signatures in Subroutine References

    Jun 25, 2014

    Programming · perl ·

    Perl 5.20 has experimental support for function signatures. That’s good news. I just thought to check if signatures can be used in subroutine references. They can.

  • And now, Pelican!

    Jun 23, 2014

    Marginalia · pelican · site ·

    I know. I’m fickle. Maybe this one will stick for a while. Edit: Nope.

  • What is build-essentials for openSUSE

    Jun 22, 2014

    Tools · suse ·

    TL;DR devel_basis

  • Pretty Recursive Grep

    Jun 18, 2014

    Tools · shell ·

    TL;DR Set GREP_OPTIONS='-RI --color=auto'. Or install ack.

  • Start Using Emacsclient

    Jun 2, 2014 (Updated Jul 6, 2017)

    Tools · emacs ·

    I have been curious about the Emacs Client for a long time. Because Emacs can have a long startup time, it can be made to run in a persistent mode. All buffers are handled by a central process. Your editor interface connects to that central process rather than managing its own buffers. Thinking about the Emacs client is what started me down the path of studying Emacs as a client/server Lisp environment. Anyways, I looked up some blog posts to tell me what to do.

  • Pulling a Remote Branch In Git

    May 31, 2014

    Tools · git · shell ·

    TL;DR? git branch -r to list remote branches. git checkout --track -b <local-branch> <remote>/<branch> to check your branch out.

  • I Learned GitHub Has Interesting Links

    May 30, 2014

    Tools · github ·

    Today I got to take part in a User Experience Research interview with some fine folks from GitHub. It was straightforward. We chatted for about half an hour, mostly discussing GitHub. Makes sense. They learned how I used it. Since there is so little of GitHub that I use, they got to show me some nifty things.

  • Elisp Functions Described in the Emacs Tutorial

    May 27, 2014

    Tools · emacs · elisp · tutorial ·

    The other day I talked some sort of nonsense about organizing my notes into some sort of coherent blog post. Heck with that. Life is too short. Instead I will just dump them here and hope somebody finds them useful. Maybe later I can do something with it. For now it’s just supplemental material for the official Emacs tutorial

  • The Emacs Tutorial as ELisp Tour

    May 24, 2014

    Tools · emacs · elisp · tutorial ·

    I am trying to really learn how to use GNU Emacs. One thing that strikes me is how the Emacs user interface can be thought of as a client application to an Emacs Lisp API. This is not a revolutionary thought, but it really stuck in my head. I reread the official tutorial, focusing on the functions rather than the keybindings that invoke them.

  • Hey look over there!

    May 21, 2014

    Marginalia · site ·

    I’m not using Wordpress at the moment. Unless and until I change my mind, you should probably look here for the newest content.
  • Exporting From Org to Markdown

    May 16, 2014

    Tools · emacs · org · markdown ·

    TL;DR? C-h v org-export-backends to ensure that Markdown export is available. C-c C-e m m invokes org-md-export-to-markdown. You may need to update Org Mode, which could be a fussy process.

  • My New New (New) Site

    May 15, 2014

    Marginalia · site · emacs · org ·

    I have been exploring GNU Emacs recently. As part of that exploration, I decided to use o-blog. Why? Well. I want to blog more. I want to use Emacs more. I got tired of my WordPress blog. o-blog sits on top of Org mode, which is the Killer App of Emacs for me. Org mode is amazing. o-blog is nifty, and relatively easy to get started with. I have fiddled with the o-blog templates to suit my tastes. I replaced browser-side Less CSS with a bit of Sass at build time. Eventually I’ll port the Wordpress posts to o-blog and maybe the old static pages to something involving org-mode.

  • Fantastic Foods' Sloppy Joe French Bread Pizza Recipe

    Apr 12, 2014

    Marginalia · food ·

    Sloppy joe french bread pizza
    Sloppy joe french bread pizza

    About ten years ago, my wife got me to start experimenting with vegetarian food. I started with what I knew best: boxed things. Fantastic Foods has a few tasty boxes such as mixes for sloppy joes and tacos.

  • EmberScript

    Mar 26, 2014

    Tools · coffeescript · javascript ·

    Ember.js is an impressive piece of work. It can also be painfully verbose. A little syntactic sugar would make that go down easier. EmberScript is CoffeeScript with fine-tuning specifically for Ember.js. Fine-tuning includes bits like replacing class and extends with Ember.class and Ember.extends.

  • Blogroll because what the heck

    Mar 20, 2014

    Marginalia · site ·

    John Davidson asked me to link to his Rails Tutorial pages. Seems reasonable enough. Exit links are just in a sidebar menu for now. I may give them their own page when I have a half-dozen or so.