translations, please!

iris: “ploot!” “i just plooted.” “you did a ploot!”

(ploot is an onomatopoeic word for passing gas; this was superseded by ’scuse, as “in i just ’scused!”, and more recently by fart)

iris: “soof! hahahaha!” “i did a soof on the couch.”

(soof is an onomatopoeic word for jumping onto something or someone)

iris: “would you like some linten?“ ”have some linten, ok?” “yum! that was good linten!”

(linten is an imaginary delicacy)

iris: “’s ok! ’s ok! ’s ok!”

(said while she’s doing something she suspects we don’t like, or when someone is unhappy with something she’s done)

iris: “can you bounce me up and down with my ribs?”

(she’s asking to be tossed up in the air and caught. “ribs” is where she’d like you to hold her just before she’s airborne, and how she’d like to be caught afterward. in practice, catching an inch or two of air is completely sufficient for her and causes gleeful laughter.)

iris: “what did i say? what did i say?”

(why she says this is unclear, but it might just be an attempt to start a conversation.)

iris: “i ’n know” (sounds a lot like “i know”)

(means ”i don’t know” and is a generic response to all sorts of questions, including many to which she does know the answer. getting a real answer often requires deviously asking whether the answer is something ridiculous so that she will disagree and include the right answer in her disagreeing statement.)

also, she and Z (jilflirt’s son) played really well together for the first time yesterday, and it was lovely to see.
  • Current Mood
    happy happy
  • Tags

single-track gray codes with evenly spaced heads

Gray codes (so-called, despite having been used by Émile Baudot in the original Baudot code and its evolution, the International Telegraph Alphabet No. 1, many decades prior to Gray's patent) are good for many encoding applications because any two adjacent positions differ by exactly one bit, and the encoder wheels are trivial to construct by binary reflection. However, you can do better — by using a specially chosen sensor arrangement one can use a single encoder wheel which is sensed simultaneously at several points and decodes to a Gray code. The particular case where all the heads are evenly radially spaced is is called a single-track Gray code with evenly spaced heads — see Moshe Schwartz and Tuvi Etzion's The Structure of Single-Track Gray Codes for a good discussion and definition of this term.

Anyhow, I became curious about these codes yesterday, and wrote and refined a Python program to find them. Collapse )

(Yes, I have written about Gray codes previously.)

edit: updated the program with a further heuristic and added results for 36 and 48 positions; also, the Gray code page at quirkfactory includes a 7-head, 126-position single-track Gray code.

edit: updated with an even better heuristic; results can now be computed even for 126-position single-track Gray codes in reasonable time.



I recently wrote a conversion script and PHP wrapper so that the data from the Perl "last-chance transliterator" Text::Unidecode by Sean M. Burke can be used from PHP: unidecode_php-0.3.tar.gz. To use this you'll need to install the Perl Text::Unidecode module and then run the script inside the unidecode_php package.

Example PHP usage:

print htmlspecialchars(unidecode("中文", "utf-8"));
Zhong Wen

This allows very basic conversion of lots of Unicode to plain ASCII. It works pretty well for some scripts and languages, is somewhat usable for several more, and fails utterly in some. Here are some examples excerpted from the Emacs-MULE HELLO file, along with their ASCII transliterations: Collapse )

update: version 0.2 adds a couple examples.

update: version 0.3 is better at finding the datafiles when included from another directory.


Yay!, Bee, See.

I wrote some software using DHTML (JavaScript, HTML and CSS.) It's to help learn letters and numbers, and is intended to be used with adult supervision and involvement.

The software is very, very, very simple — it just echoes typed letters and numbers in a large, colorful font and shows a somewhat-relevant background image for each one. Collapse )