17:10 08 Aug 2010
I like it when I think that an app should exist and then find that it does. That’s what happened when I realized that a) I couldn’t use my phone’s GPS capabilities with its native (Google Maps) map application without a data connection and b) that it should be possible to download maps that work with GPS but no data connection.
The answer: MapDroyd. It does precisely that, letting you download vector maps to your phone and see where you are on them. I’ve used it a little bit over the last three days, and it’s been pretty good. There have been a few odd bits on the maps—a major street in central Manchester appeared to be missing, for example—but overall it’s been great, and the utility of having maps of more or less everywhere that can point to where you are on them should not be underestimated.
23:52 28 May 2010
The current interface upheaval is centered on touchscreens. I think this is an important step, and one which may allow for some significantly different interaction paradigms to emerge. I wonder how long touchscreens will remain dominant, however, even though the interfaces they help spawn may stick around for a long time.
[more...]
23:36 16 May 2010
After a highly enjoyable, productive, and extended period, it’s time for me to return to the world of paid work.
I’m quite happy with the things I’ve done during my time off. Many of them are important only to me, but then, it’s been my time off.
[more...]
Permalink 3 Comments [
coding,
CrossFit,
diet,
document formats,
exercise,
food,
games,
goals,
personal,
python,
reStructuredText,
roleplaying,
software,
sports,
T,
tech,
tennis,
text editing,
version-control,
Vim,
WordPress,
writing]
13:33 29 Apr 2010
This post could be summarized as “regular expressions are a lot faster than naive for loops”.
I’ve been working on improving the script I use for live wordcount in Vim, partly for performance and partly so that I can package it up as a plugin and share it with other people. Along the way I’ve improved the speed of the script rather significantly, and will go through the key part of that change here.
[more...]
14:43 02 Apr 2010
I use a notification system for OS X called Growl, which provides a single channel for various applications to use when they have something to tell me. I mainly use it for IM and email. I’m fairly happy with it, but one issue that irked me was dealing with clearing a bunch of the notifications off the screen.
[more...]
12:24 12 Mar 2010.
Updated: 19:06 14 Mar 2010
It’s possible to get Thunderbird to use Vim as an external editor for email, and while it’s a little clunky, it works.
[more...]
11:58 09 Mar 2010
I’ve been falling behind somewhat in keeping track of my tasks. That’s not to say I haven’t been productive, it’s just that most of my productivity has been focused in things I’ve been working on obsessively, like preparation for the roleplaying campaign I started running last week, Vim customization, and Python workflow coding.
It would be good to track other things better than how I’m doing it right now, but somehow returning to TiddlyWiki for my task management wasn’t appealing. I used it for quite a while, but a bare install of it doesn’t seem to quite work for task management, even though it’s still really good for keeping notes about things in general. I’m going to try d-cubed, a TiddlyWiki-based tool, instead.
[more...]
12:09 08 Mar 2010
I’ve been using the vector graphics editor Inkscape a fair bit over the last few days, and in the last few months have given it something of a workout. It’s been quite impressive. I was never a really heavy Illustrator user, but Inkscape seems to compare to it much more favorably than, say, GIMP compares to Photoshop. It’s a later-generation product, so perhaps that’s not being fair, but regardless it just feels a lot better to use. Maybe there are killer features that Illustrator has that Inkscape doesn’t, but since I don’t know what they are, I don’t miss them…
I’ve mainly been using it for map-making (related to this), and for that it’s been really good, and I’m rather glad it exists, because doing the same kind of work in a bitmap editor would probably be incredibly frustrating. I haven’t read through the documentation, but whenever I’ve needed to find out how to do something I’ve been able to without much trouble, so it seems that they’re doing a good job on that as well.
13:24 22 Feb 2010
I remain rather happy with Vim, and it’s already been worth the effort of switching over to it. I’ve encountered some annoyances along the way; here are a couple of them and some solutions.
The first is that I quickly found myself wanting to exit Insert mode very frequently and not liking the stretch from my typical hand position to the Esc key. I know that some people insist that the only way to deal with this is to remap CapsLock to Esc, while others remap CapsLock to Ctrl and use Ctrl-C instead of Esc to get to Normal mode. Neither of these approaches appealed to me. Seth reminded me about another approach, one I thought would be too awkward: mapping jj to Esc within Vim.
[more...]
23:50 16 Feb 2010.
Updated: 00:57 17 Feb 2010
As a result of my porting over jEdit (Jython) macros to Vim, I now have a fair amount of (Python) Vim scripts, and have learned some things about how to set up those scripts. I’ll go through some of that below, and hopefully other people writing Python scripts for Vim will find it useful.
[more...]
20:05 14 Feb 2010
Over the last couple of weeks I’ve been hacking away on scripts to customize Vim, replicating the scripts I made for jEdit. I’m more or less done, and this blog post is being written in MacVim. This hopefully means that when I’m done with it I’ll be able to publish it from within Vim, the same as with jEdit.
[more...]
23:40 17 Jan 2010
I’m currently trying out Vim (again), and have made more progress this time, mainly due to Seth’s help. The key things that have made it better:
- :set hidden. Absolutely critical, this. Stops Vim from complaining when you try to switch buffers and your current buffer has unsaved changes.
- bufexplorer. Makes switching buffers a lot easier.
- A better Python syntax file. I didn’t like the defaults.
- My own indentation and syntax files for reStructuredText.
Really, though, the key first one was :set hidden. Before that I felt that I had completely misunderstood Vim’s file management model.
[more...]
17:43 29 Dec 2009
I had eight goals for 2009, and all of them that I’m going to get done I’ve already completed. Time to review.
[more...]
23:54 26 Nov 2009.
Updated: 03:56 27 Nov 2009
It’s traditional on Thanksgiving to list things you’re thankful for. It struck me today that I should be extremely thankful for the existence of free software, and the contributions of thousands and thousands of programmers who have made their work freely available for others to use.
[more...]
12:05 24 Sep 2009.
Updated: 14:19 06 Oct 2009
It took me a while to get there, but I now have a working toolchain to automate going from an RTF file (or a Word document) to reStructuredText. The final link took the longest to find, and turned out to have been right there all along (no, I’m not going to turn this into a retelling of The Alchemist). But if you’re interested in how to get from Word to a sane format (like reStructuredText), this post will interest you.
[more...]
23:48 02 Aug 2009.
Updated: 11:33 06 Apr 2010
I find in my use of Subversion that I often want to see a side-by-side list of files that aren’t under version control and files that have some other status. I also want these lists to be sorted alphabetically. Naturally, I ended up writing a Python script for this.
[more...]
23:15 28 Jul 2009
Last week I posted about my setup for going from reStructuredText to WordPress. It involved a shell script, some Python scripts, and the pbpaste and pbcopy commands. It worked, but it was a little on the convoluted side.
Now I have a slightly better process, and one that I will have used to publish this post.
[more...]
22:33 19 Jul 2009
I tend to care about word count in my writing. I’ve never been paid by the word, but nevertheless, it matters to me. From time to time I write fiction where I set the word count in advance, and then I try to hit it precisely. Even when that’s not the case, I just like to know how many words there are in a piece I’m writing. For this reason, a "word count" function is completely critical to me for whatever word processor or text editor I’m using to write.
jEdit has such a feature. It’s more or less the same as the one that I’ve been using in AbiWord, and in various word processors before that. But for quite some time I’ve wanted a better word counter. Since jEdit is now my application for all writing and I can script for it in Python, it was time to make the word counter I wanted.
[more...]
22:57 14 Jul 2009.
Updated: 23:13 28 Jul 2009
I wrote about moving my writing over to reStructuredText on Sunday, and since then I’ve moved both my morning pages and my blog writing to it. The latter proved more complicated, primarily because I wanted to make the process almost as easy as writing pseudo-HTML (which is more or less WordPress’ native format, and kind of mine, too, for the last several years). With some hacky wrangling, I’ve managed to set that up.
[more...]