Showing posts with label computers. Show all posts
Showing posts with label computers. Show all posts

A drawback to writing your own word-processor

No comments:
So I wanted to write a word-processor whose native format was plaintext or close to it. This was to support version control, portability, and tool unification. I hacked something together in an evening and have used it for a couple of stories. To get a PDF you do this:
  1. Write the story in Textile. Eclipse has an almost nice WYSIWYG editor for this.
  2. Load the story into my Viewer, which is a simple Ajax application that renders textile, applies CSS and generally gets it ready for printing.
  3. Print to PDF
This is actually not as bad as it sounds, and I have to say it's really nice to format a story (or any printed document really) using CSS. It's also really nice to write a story using the same tools I use to code. Code folding and syntax-highlighting is useful in stories, too! (Would be nice to define a "Convert to first person" refactoring?)

The big drawback is that, after printing, it's almost impossible to integrate edits made in pen back into the plaintext. It's a drawback I just didn't expect, which makes it interesting! With an ordinary word-processor you have 1-1 page correspondence, and you locate the edit spatially. This is totally lost with my method, and it's a deal breaker.

The only way is to scan the text for the nearest heading and then for paragraph breaks and then keywords. It's slow and difficult.

Interestingly, this is also something of a problem with Google Docs, which also does not render page breaks.

One work-around is to render the textile text in the same shape as the printed page. I haven't tried this and I don't want to talk myself out of it as a solution, but it seems like this would be pretty difficult to do correctly. Another work-around would be to actually do the editing within the browser. Of course, there the problem is that I'm no longer using friendly tools.

For now the roll-your-own open technology wordprocessor for stories is on the backburner. But who knows? I might resurrect it.

A writers printer

2 comments:
Brother HL-2140orororHP LaserJet Pro P1100 Printer series - Black and White Laser PrintersorHP OfficeJet H470WBT  Mobile Color Inkjet  Printer with BatteryorCanon PIXMA™Compact iP100 Portable Photo Printer

These are all small, monochrome laser printers, around the $150 mark, with the exception of the last two which is $330 and battery powered, and $230 without a battery, but very small. (I love the idea of taking a printer with me to the coffee shop!)

A great upgrade

No comments:
Seagate Momentus XT 500GB 2.5" SATA 3.0Gb/s with NCQ Solid State Hybrid Drive -Bare DriveI'm super happy about an upgrade I did last night, and encourage everyone out there to consider it. I installed a Seagate Momentus X25 hybrid SSD drive ($145 incl tax from NewEgg) into my uni-body Mac Book. It was slightly more involved (and expensive) than I expected, but I am so pleased with the result.

My first attempt at upgrading involved a no-name USB to SATA cable thing. It didn't work - the drive would mount for a few minutes then forcibly unmount, with or without the external powersupply. I wasted a few hours with this approach.

Western Digital My Passport SE 1TB 2.5" USB 2.0 Ultra-portable External Hard Drive for MacThe right way to do the upgrade is with a backup-restore. Which requires a third hard-drive. For this I purchased a "Western Digital My Passport SE 1TB 2.5" USB 2.0 Ultra-portable External Hard Drive for Mac Model WDBABW0010BSL-NESN" (say that 10x fast!). It was not cheap at $200 from Best Buy (including tax). But it's a small, pretty little device that doesn't need an external power supply. I then used Time Machine to do a complete backup, which took 7 hours for 230GB of data.

Physical installation was tougher than most laptops, but not by much. You need a tiny philips head and a torx T-6 tool. It's pretty straightforward and took about 10 minutes.

To restore you need your startup disk. This is a critical piece and I bet lack of it will stymie many would-be upgraders. Select Utilities|Restore from Time Machine Backup, and wait. I was a bit freaked out by the extended white screen on boot, but apparently that's normal. Restore took about 5 hours.

This drive is freakin' fast. My whole machine is noticeably snappier. I didn't want to buy the external USB drive, but I'm kinda glad I did: it's a nice bit of insurance. (I was slightly tempted to get a Time Capsule, which includes an 802.11n router with a 1TB drive, but decided against because of the $340 price tag, and the almost certainly slower performance.)

Kinda tempted to build a gaming computer

No comments:

9693859 Angle Large

A cheap, good gaming PC for $430. Really, just to play Portal 2, Counter Strike:Source, and maybe some old stand-by's like Supreme Commander and Ultima III in the Apple IIe emulator. (It may be a $60 card but it will drive my 30" Cinema at full resolution.)PNY GeForce GT 240 VCGGT2405G5XEB Video Card