mdlbear: (hacker glider)
mdlbear ([personal profile] mdlbear) wrote2008-04-21 12:20 pm
Entry tags:

It isn't rocket science any more...

...so could somebody please explain to me why there are still applications that allow you to lose your work due to a power glitch or a wrong keystroke?

A little history. When I was at the Stanford AI lab in 1970, there was a text editor that had a number of innovative features. One of those was the ability to automatically save your file after some number of keystrokes. The number was normally 100, but you could set it. The day that the computer was going down every 5 minutes, I set the save count down to 5 and got useful work done.

A little later I was working at Xerox PARC. There was a programming system called Interlisp that had an automatic spelling corrector and infinite undo (including both the ability to undo the spelling "corrections" that turned out to be wrong, and the ability to select which operations you wanted to undo.

That was nearly four decades ago, folks! Right now, the only editor I know of with a keystroke save-count, infinite undo, and good crash recovery is Emacs, and it's very picky about which users it's friendly with. Firefox at least lets you undo closing a tab and saves your bookmarks and configuration automatically without asking.

No app that I know of keeps track of operations and gives you fine-grained selective undo (at, say, the word or paragraph level in a text editor).

Anyone know of a widely-available, open source, cross-platform, simple text editor that at least has auto-save, infinite undo, reliable crash recovery, and is user-friendly enough that a non-geek or a kid can use it to compose email or web pages? Even better if you can actually send email with it, but cut and paste works almost well enough. It's essential that it not be part of a dedicated email program, and it would be useful if when it's used for composing HTML it's possible to flip back and forth between a WYSIWYG and plain text view. (The way you can when composing an LJ post.)

Anyone know of such an editor that understands common version control systems like CVS and Subversion, and uses them to keep track of changes between sessions without asking?

It's not like these are new ideas...

[identity profile] angharads-house.livejournal.com 2008-04-21 07:45 pm (UTC)(link)
sorry to relate that I don't have an answer for you, but surely will be interested to see what other answers other folks come up with.

have had this particular problem way too many times for my own comfort.

ext_3294: Tux (Default)

[identity profile] technoshaman.livejournal.com 2008-04-21 08:02 pm (UTC)(link)
It's not a new idea, but it's not been an itch anyone's been motivated to scratch. I just drop Emacs on any Winders box I have to use. In GUI mode, it's actually user-friendly enough; I learned to use Emacs when xemacs came out (before Stallman finally drunk the X11 kool-ade) and gave me Windows-style menus that I could use to bootstrap myself (they had the corresponding keystrokes in the rhs of the menu)...

Besides. What is this cross-platform of which you speak? Everything worth porting to runs the GNU toolset in some form or fashion, or some ancestor or variant thereof. Things that don't run it natively need to sink or swim. Preferably sink.

And frankly, most attempts at "simple" editors annoy me. Zile is the one that carries much weight at all (Zile Is Like Emacs); nano and pico annoy me because they don't have a full enough featureset and tend to wrap lines when they shouldn't.

[identity profile] angharads-house.livejournal.com 2008-04-21 08:59 pm (UTC)(link)
Mmm, good points. Small /is/ beautiful.

[identity profile] andyheninger.livejournal.com 2008-04-22 06:10 am (UTC)(link)
I'm thinking of people like Colleen, who will want something that will do native cut-and-paste and are unwilling to learn anything as complicated and confusing as emacs

Have you considered Google Docs? Probably not the sort of thing you were thinking of, but ...

widely-available
Anywhere there is FireFox or IE,

open source
No

simple text editor
Yes

has auto-save
Yes

infinite undo
Yes.

reliable crash recovery
Yes, autosave is to Google's servers

is user-friendly enough that a non-geek or a kid can use
Yes. Simple, generic wysiwyg word-processor style editing, producing html under the covers.

Compose email or web pages?
It makes normal html pages, private at first. Say "Share with others ..." and you can choose who can see or edit a doc. Say "Publish" and the world can see it.

when it's used for composing HTML it's possible to flip back and forth between a WYSIWYG and plain text view
Yes. (WYSIWYG is default)


You do need to have a gmail account to use it. You don't have to actually use gmail for anything, you just need an address as a log-in.

I have a bit of a love/hate reaction to Google docs. The UI and editing features are a bit limited, but server based docs that can be immediately accessed and edited from any machine anywhere, collaborative editing, and trivial publishing are all highly addictive.

Disclaimer - I work for Google.

-- Andy

[identity profile] andyheninger.livejournal.com 2008-04-24 05:32 am (UTC)(link)
I wasn't actually thinking of you using it, but that it might be possibility for Colleen. Even leaving aside the server based app issues, I suspect the other limitations of Google Docs would drive you crazy and do bad things to your blood pressure. I use it mainly when I want collaboration or very quick sharing.

The functionality is limited. The filing system doesn't scale but works well enough for a small number of docs, requires zero thinking and works for people who don't quite grok file systems and hierarchical directory structures (a large chunk of the world, it turns out.) The ability to go back arbitrarily in time makes for good disaster recovery.

You're also very much at the mercy of the provider.

I don't think Google is going to pull the plug on docs in the foreseeable future, but I would still never keep personal stuff that I actually cared about only on a third-party service.

The worst stories I have heard have been around defunct photo sites that advertised free storage forever. It's incomprehensible to me that people would upload their photos and not keep copies anywhere else.

Saving local copies of Google docs is supported. Choice of pdf, word, html, rtf, plain text or OpenOffice.

There's also the matter of privacy. No thanks.

Indeed.

it's impractical to have multiple accounts.

I decided to give this a try, not being at all sure what would it would do. Seems to work for Google Docs, but not for mail.

With two mail windows open, logging out and then into a different account from one gave access to both accounts, one in each window, for a few moments. Then the original window/account logged itself out, with an alert whining about risks from two mail users on the same computer.

Doing the same with Google Docs seems to work. I have no clue whether this is bug or a feature, or whether it will stay working.

How would you compose an email or a blog post on an airplane, to be sent later?

There's an offline version now. Quoting the description,
Google Docs uses Google Gears, an open source browser extension that enables web applications to run offline. When you aren't connected to the Internet, Google Docs uses information stored on your computer's hard drive rather than relying on information sent across the network. When you're offline, your edits are stored on your own computer until you re-connect, at which point your changes are synced with Google Docs' servers and made available to collaborators.


And that's probably the last I'll say on the topic.

-- Andy

[identity profile] idea-fairy.livejournal.com 2008-04-21 10:30 pm (UTC)(link)
...so could somebody please explain to me why there are still applications that allow you to lose your work due to a power glitch or a wrong keystroke?



Maybe the software industry has long been controlled by psychic vampire telepaths who live on users' anger and frustration?

New there's a new plot twist: The open-source movement is threatening the vampires' survival by forcing them out into the open.

[identity profile] chatworthy.livejournal.com 2008-04-22 12:37 am (UTC)(link)
Doesn't the XO store differing versions of your file over time? If so, it's just a small step to adding CVS capability, though I don't think I'd want to run CVS on an XO.