Archive for the ‘Site’ Category

Random Statistic is Random

Site | Posted by Derek
Aug 28 2010

Out of curiosity, I pulled up the total combined size of all chapters posted as of today to practice some MySQL queries.

Terra Fabula: 927,649

Paradigm Shift: 386,818

Together, they’re pushing 1,314,467 bytes. Depending on if you count by 2s or by 10s, That’s 1.31MB or 1.25MiB.

219,734 of these are space characters, which (barring a minor overhead for inline formatting codes implementing a space) is also a good estimate for the total word count.

I’ve used the letter ‘e’ 122,658 times (539 occurrences of which are capital ‘E’). This is 9.3% of the total character count. As in, there’s nearly a 1 in 10 chance of a random letter pulled from the database being an ‘E’.

q, 1047 times, 32 of them as a ‘Q’. This is 0.08%.

The word ‘the’ has been uttered 16027 times. 7.2% of the total word count.

Upgrades

Site | Posted by Derek
Dec 20 2009

As expected then forgotten about, a database upgrade during a wordpress upgrade thrashed my ordering scheme. Fixing it up now.

EDIT: Fixed in a way that shouldn’t break again. For a while.

metigoshe.us

Metigoshe, Site | Posted by Derek
Dec 07 2009

My second attempt at a photoblog is getting started over at metigoshe.us. Powered by WordPress using a novel little plugin called PhotoQ.

I’m dearly going to miss cact.us, presuming the transfer ever completes…

Text-only coming shortly

Site | Posted by Derek
Nov 09 2009

I’ve found a plugin now that’ll spit out any post in plaintext, but I need to tweak it to convert back the only markup I still use (> and < since I can’t directly paste in a post with angle brackets denoting another language is in use), as well as add links somewhere in the template.

It also needs to add a little more data to the beginning of the text: Chapter title, preferably the dates during which it takes place… I’d just use WP’s “page_order” but I’m grossly abusing that and I’m expecting my little hack with that to break the next time wordpress updates the database, anyway. It’ll change the field from my preferred bigint(20) back to whatever it was at (10 or 11).

Which means I’ll have to go update all the chapters back into their correct order. Bleh. I’m forcing the pages to sort using the entire date as such: 271506010000 This allows for two two take place on the same day, at different times of day, and still be ordered properly if their names aren’t in alphabetical order.

I suppose I could trim off the last pair of 00’s on the sort order, limit it to hours… It’d fit in the int(11) then. Bleh.

A Request

Fiction, General, Site | Posted by Derek
Oct 05 2009

A story update (be it a chapter or an excuse) is due Friday.

In the meantime, if anyone has knowledge of building plugins for wordpress, I need a little help.

I don’t have the time right now to build, debug, and implement a plugin to allow for navigation within subpages. Basically, I have all the stories in an order using the “order” field based on their in-universe date (approximately). The page flipper needs to be aware of that, not the posting order or posting date. An “Up” link to return to the index (the parent page) as well as a “Next” and “Previous” link that remain in only the current sub-page are all I need.

It should take all of like an hour, but I seriously can’t allot the time at present. I can’t offer much compensation other than maybe finding a place somewhere for a cameo. Edit: Possible success! See comments.

… Which reminds me, someone at some point asked me if Tari might have any siblings. I don’t remember who asked, but the answer is ‘yes.’ She definitely has one older sister (kitsune mother, human father) who is an integral part of later chapters, and I’ve made a note in the same chapter introducing that sister that there is at least one more sibling running around out there that she met while looking over the remains of Hiroshima and Nagasaki.

The sibling was genderlessly referenced, although this universe assumes that less than 5% of kitsune are male. I’ve shied away from giving her mother the satisfaction of bearing a male offspring (status == ego and we just can’t give that bitch the lift) but if someone happens to write something about one and lets me know, I certainly don’t mind and may even work it into canon.

As far as I’m aware beyond that question, no one’s ever wanted to write anything even remotely in this universe or even referencing a character because I’m so terrible about maintaining it. I do have a mental set of rules I’m trying to personally stick to that I’ve somewhat managed to dictate into the iPod, including the full nature of why the immortals ‘are,’ but I’ve yet to translate my disassociated ramblings into a structured cheat sheet.