Keeping hold of digital memories

12:16, Thursday June 22nd, 2006 • feeling resigned • no comments

Boing Boing, mobile blogger Russell Buckley and community evangelist Tomi Ahonen picked up the TextAmerica announcement and placed it the context of an ongoing debate about the importance of being good custodians of digital memories.

Boing Boing's post features some pretty horrible scary stories. TA user Noah Lockwood says this:

"My friends and I all have TextAmerica blogs so we can chronicle our trips and get-togethers - they're mainly for each other, though they're technically public, and our experience has generally been pretty good with Textamerica.

"Not anymore. After sharing our outrage with TA via email amongst ourselves, some of my friends added posts to their moblogs protesting the decision, changed their profile images to protest images, and linked to the Boing Boing post. The posts were removed, and now their moblogs are GONE."

From "TextAmerica - Responsible Curators of Digital Memories?" on MobHappy:

"So the problem here is that their service has a deep emotional meaning to their customers. They’re not announcing that car part 357 will be replaced with 457 next month. Or that a bank’s interest rate will be reduced by .25%. They’re announcing that they’re going to delete people’s digital memories that are stored on their system."

Tomi Ahonen is kind of insensed:

This is HORRIBLE. Even in an analogue world this is very bad. First inviting customers to join and deposit their memories onto this service with the promise to become the depository for those digital memories, then to even CONTEMPLATE deleting them. Why could they not archive these for their customers? Storage is not that expensive today?

A Vim in TextMate clothing

14:46, Monday June 19th, 2006 • feeling enthusiastic • 2 comments

I've been meaning to write all this stuff up for ages, but millions of everything got in the way. After my TextMate trial period expired, it became obvious that I could do most everything I wanted with Vim and a few more downloaded scripts. The great thing about TextMate is that it's all there for you, no months years of hacking to get things just so. The great thing about Vim though (and Emacs I'm sure) is that it grows with you.

OS X key mappings

The first thing I hacked on Vim, setting up as many Mac key bindings as I could think of. As Vim is a unix app, the Mac command key is completely unbound, a fresh keystroke namespace to frolic in. Bind Mac keys with <D-...>.

Quote/bracket matching dark evil

TextMate's bracket and quote matching magic is really nice, takes a few days before you stop typing the matching character, but it makes sense in the long run. To mimic this in Vim I simply mapped the characters to their complete equivalents in insert mode, e.g.

inoremap <buffer> <silent> " ""<Esc>i

Now this is pretty brute force. It doesn't support TextMate's nice addition of quoting/bracketing selected text. Select text in TextMate and type '(' and you'll get the selected text wrapper with brackets correctly. You can map the same in Vim, but " has a special meaning (select register). I chose to create alternate versions prefixed with _, e.g.

vnoremap <buffer> <silent> _" c""<Esc>hgpa

Some other people are playing around with similar ideas in tip #153 and tip #318 on the Vim site.

Snippets and abbreviations

TextMate's snippets are probably it's most raved about feature. They're useful and easy to user and setup. Vim has some similar ideas with mappings and abbreviations, but nothing quite as powerful. snippetsEmu is a Vim plugin which attempts to provide similar functionality. It does do the same things but it's not as slick IMHO. Your mileage may vary however. I started using it, but I've kind of stopped, possibly due to the inaccessibility of the key binding I chose :-).

Project plugin

The project tab in TextMate is quite useful but the project plugin by Aric Blumer beats it hands down. It's a wonderfully Vimmish solution to the problem. Highly recommended.

Ctags

The quick jump to file functionality is absolutely awesome, certainly the thing I miss by far the most in Vim. Whilst I'm pretty sure it would be possible to write something very similar, I haven't had a stab, nor uncovered any plugins as yet (let me know if you find any!). What I have done instead is to make the project plugin a regular part of my setup, and to use Vim's built in support for jumping to related files with the gf command and ctags files. Ctags is excellent, g<click> to go to any token either in your own code or in external references. Double-clicking a file in the project window is slower than staying on the keyboard and using TextMate's quick open, but it's certainly tolerable.

K mapping and CSS 2.1 ref

Hit K in normal mode to do a reference lookup on the keyword under the cursor. You can set what kind of lookup by modifying the keywordprg option. I have external programs that do things like invoke Google searches in Safari, often passing parameters like site:docs.python.org. You can also use :help as a valid keywordprg to look stuff up in Vim's help.

This is not just useful for hacking Vim scripts, you can get other content in Vim help format, such as this handy CSS 2.1 reference. I use this a lot. Unfortunately, the basic K/keywordprg approach does not work, as the keywords need to be rewritten before jumping into the help file. I use this mapping on CSS buffers to get around the problem:

map <buffer> <silent> K :execute "help '" . expand("<cword>:h") . "'"<CR>

Dictionaries

Vim features a powerful completion system. I find the SuperTab plugin useful to bind this all to the tab key properly. The system itself reads completion words from many locations, the first and often most useful is the set of currently open buffers. However, it's sometimes useful to have a lookup dictionary, such as languages with fairly narrow namespaces such as CSS or HTML. Tip #91 explains how to set up dictionary files and use them with Vim's completion system. It's as straightforward as:

setlocal dictionary+=~/.vim/dicts/css.txt

Where ~/.vim/dicts/css.txt is a file full of CSS keywords.

Vim 7

Vim 7 has some cool new features which I haven't really got to grips with yet. The most notable is omni-completion, a feature which pretty much invalidates the above tip :-). Omni-completion can use syntax highlighting as a source of keywords, or it can use custom functions. Vim 7 ships with functions for CSS, HTML and many others.

Vim 7 also has built-in spell-checking, with Word-style wiggly red lines, tabs (a la TextMate, Safari, Firefox, etc), browsing through Netrw, syntax highlighting for Django templates built-in and a whole tonne of other stuff which I have no idea how I'm going to make use of yet (undo branches anyone?). Here are some nice animations of some of the new features (ignore the Vim vs Emacs flame-war!). It's officially released now as well, so go get it!

The Death of TextAmerica

15:30, Tuesday June 13th, 2006 • feeling relaxed • no comments

MoblogUK rival TextAmerica will soon stop offering free accounts. Fair enough, but they're also planning to delete photos uploaded by users who won't upgrade to a subscriber account.

Update to the TA Community insiders: Due to the complicated nature of the planned upcoming move to a private paid members only community, changes will not be formally announced until sometime in August. Current 'free sites' will be suspended starting July 1 with a planned deletion scheduled for the fall 2006. DO NOT QUESTION me about these changes as NOTHING will be said in advance of the official notices. THANK YOU for your consideration in this regard.
From *Janet on June 8, 2006 2:30am

I know have a vested interested, but this is a pretty crappy thing to do. Freeze the accounts OK, offer a discount subscription rate maybe, but just killing all the free users off stinks.

If you're similarly annoyed and a TA user, you might want to consider using our MoblogImporter to move your pictures to MoblogUK. We'll be happy to have you.

Sleeptracker

10:43, Wednesday May 10th, 2006 • feeling relaxed • no comments

Sleeptracker

Louise bought me this crazy Sleeptracker watch that I had been looking at as an anniversary present. It monitors your sleep cycles and wakes you when you're sleeping most lightly within specified a window.

The technology seems to be quite simple, it uses an accelrometer to sense motion. You move when you are sleeping only lightly. The watch tracks periods of motion through the night and lets you analyse the data the next morning. The average length of a period of sleep is 30 minutes, though this is strongly skewed, it's more like 90 minutes at the start of the night.

You set the time you have to be up by, 9:30 in my case (int self employment great) and set a window length, 30 minutes for me. The watch will monitor your sleep cycle for that 30 minutes, 9:00 to 9:30, and if you look like you're quite awake, it beeps. Both mornings it's beeped less than ten minutes into the window so something must be working.

The effect is that when the alarm goes off, you're concious, you're sort of expecting it and you just turn the thing off. My problem is that I'm lazy and I then fail to bother to get out of bed. But I'm certainly awake, I lie there awake for ten or twenty minutes. That's a miracle for me, normally I drop back into sleep within seconds.

I only have a tiny amount of evidence - two mornings - so I'm avoiding making any conclusions yet, but it's looking interesting. The real test is when I need to use it to get 3 or 6 hours sleep in a deadline situation. If I can avoid that pain at the back of the eyes feeling I will be firstly amazed and second very happy. I have a huge deadline next week and then I'm off to catch a flight at 4:00 on Friday, so I'll report again on Thursday, hopefully with some conclusive data.

Leave the walled garden, increase ARPU

17:35, Sunday April 9th, 2006 • feeling relaxed • no comments

MobileCrunch reports that Opera Mini is allowing operators to increase ARPU. Users are downloading the browser in much greater numbers than Opera expected, and they're accessing content outside the walled garden. T-Mobile have seen almost 500% increase in data usage.

Duh!

Page 9 of 113

← previous page, next page →

Choose another page: 1, 2, 3, 4, 5, 6, 7, 8, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24, 25, 26, 27, 28, 29, 30, 31, 32, 33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47, 48, 49, 50, 51, 52, 53, 54, 55, 56, 57, 58, 59, 60, 61, 62, 63, 64, 65, 66, 67, 68, 69, 70, 71, 72, 73, 74, 75, 76, 77, 78, 79, 80, 81, 82, 83, 84, 85, 86, 87, 88, 89, 90, 91, 92, 93, 94, 95, 96, 97, 98, 99, 100, 101, 102, 103, 104, 105, 106, 107, 108, 109, 110, 111, 112, 113 or return to the most recent entries.

Last updated at 11:32, Wednesday June 18th, 2008. All times are shown in 24-hour clock format and are BST.

Rate my journal on bloghop.com: the best pretty good ok pretty bad the worst

aftnn.orgafternoon's journal → page 9