screenshotxml

A quick screenshot of the XML+XSLT > HTML thingie. The actual code for the transformation is pretty short, but the results can be pretty impressive. I had to really give up on using and .svg graphics because even those browsers that have .svg capabilities cannot handle too many of them at the same time. A hundred glyphs is enough to slow things down considerably, and more will just make it hang. and large .pngs instead, though I wish Firefox had better image-resizing and antialising. Oh well. Optimized pngs are damn small, too, a two-bit (with transparency!) black and white pic of about 100×100 pixels is under half a kilobyte.

Advertisements

That was awesome

This is the first time I’ve been on a winning team in Left4Dead versus. In the finale, I got three of them, with a smoker! Heeeee heheheheheeeeee. It was Blood Harvest, so I got one at the ledge where they fall down into the field, no one could help poor Zoey. The second was, in tandem with a hunter, at the end of the field (while one of them did something else, I don’t know where), and the last one I got from the window. Though that was a kill-steal by the hunter, but it was mine cause we won there and then.

Stuff I’ve worked on: I’ve been modifying the map of Ysi Earth.
New version of Ysi Earth

So nothing much done on the script.

A possible future project

I haven’t posted a few days, mainly because I have immersed myself into studying things that I will never use, mainly C++, in preparation for the day when I may actually try to tackle a pet dream of mine.
(Over the years, I studied a number of programming languages. Then I never used them. When I was a little tyke—with nothing but GW BASIC and maybe, maybe, some PASCAL under my belt—I did a Bad Thing and used up a couple of hours of evening 56k-time to download all sorts of stuff from an IF archive FTP, mainly Inform 6. That summer I printed out, on perforated yellow and magenta pages that no one was using, the manual to that language, and read it from cover to cover, a huge undertaking at the time: Inform 6 is basically C-like syntax without all the pointy low-level bits. And I never wrote a single thing with it. Since then, I’ve studied Pascal in school, Java during my free time, Python in University, some Ruby, flirtations with LISP. But I never program anything.)
What I’d like to do is make a semantic word editor. Its concept is something like Q10 and yWriter combined, a tool for writing stories. Q10 for the interface—clean and uninterrupted, perfect for writing—and yWriter for the basic concepts behind its organisation of stories, divided into scenes and chapters, with meta-information ranging from characters to locations. There should be footnotes, and dynamic chapter and section numbering.
This word editor should have the capability to tag text semantically. As an example, it should be possible to add a tag to indicate who is the speaker of «quoted text», who takes part in a certain scene, and what point of view a certain part of the text is. There should be the possibility to go from no tagging to ridiculous amounts of tagging, like tagging a pronoun to show its referent, and it should be possible to toggle settings for the editor to request tagging information when appropriate: when the writer adds a paragraph with a quote, it should be possible for the editor to prompt the writer to add tagging information. The program should also be able to anticipate some tags: a prototypical dialogue will go in turns; thus, the program might expect that the speaker of the third line is also the speaker of the first line; or the program might parse this information from the text itself! «90% of the time,» Nae said, «it should be possible to identify the speaker of a quote from the text through simple name recognition.»
There should also be utilities to create a structure of data about the story world, where characters, locations and so forth are described and linked together. The final product would be saved as text mark-upped with *StoryXML and plain-text. And maybe there should be a system for plugins and addons in a simple scripting language to facilitate stuff like fantasy name or word creation, etc.
Yeah, it would be pretty neat.

Writing software find: Q10

Q10 homepage

Q10 is a light-weight freeware writing software meant to be used as a distractionless, full-screen writing editor, with some goodies. Included are spell-checking, auto-correction, notes and typing sounds. There are no clickable items in the program, and everything is done with keyboard commands. I haven’t actually used it yet, but it seems very promising.

Q10 Screenshot

Q10 Screenshot

Paper Texture GIMP Script

Yesterday evening I decided to learn me some GIMP scripting to make a paper texture tutorial. That was around tennish. Didn’t get sleep either, so I debugged stuff up to half-past two. Anyhow, this morning I added some widget options to the dialog and then added some other stuff, and here it is, a GIMP script to texturise an image to look like paper:

Paper Texturiser Script