You are viewing bsittler

Benjamin C. Wiley Sittler [entries|archive|friends|userinfo]
Benjamin C. Wiley Sittler

[ website | bsittler ]
[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

Sensible Toddler Observation [Dec. 31st, 2009|11:52 am]
[Tags|, ]

“She's the doughnut fairy. She gives doughnuts to everyone.” -Iris, age 3
link2 comments|post comment

is this thing on? [Aug. 10th, 2009|08:22 am]
[mood |sleepysleepy]

an apology: i pretty much stopped reading and posting to lj back when i started work on my new job (or maybe the job before that? or even the one before that?), and i still don't read nearly enough. anyhow, i will attempt to follow updates but at this point i probably won't be able to assimilate the backlog.

fortunately rebbyribs keeps the new baby twin pics coming :) (thanks!)
linkpost comment

translations, please! [Jul. 23rd, 2009|08:31 am]
[Tags|]
[mood |happyhappy]

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.
link4 comments|post comment

single-track gray codes with evenly spaced heads [Jan. 3rd, 2009|10:52 am]
[Tags|, , ]

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. Here are some of the codes I foundCollapse )

(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.

link6 comments|post comment

iris speaks [Dec. 21st, 2008|06:24 pm]
[Tags|]

rebbyribs to iris: “Are you feeling sleepy?”

iris: “A little bit sleepy, actually.”

i thought this was very cute. clearly my brain has turned to goo!
linkpost comment

unidecode_php-0.3.tar.gz [Dec. 18th, 2008|11:39 pm]
[Tags|, , ]

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 udec2bin.pl script inside the unidecode_php package.

Example PHP usage:

<?php
require("unidecode.php");
print htmlspecialchars(unidecode("中文", "utf-8"));
?>
produces
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: (long)Collapse )

update: version 0.2 adds a couple examples.

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

link2 comments|post comment

Yay!, Bee, See. [Nov. 22nd, 2008|09:52 pm]
[Tags|, , , ]

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. Read more...Collapse )
link3 comments|post comment

now married, and hoping the club i just joined does not become more exclusive any time soon! [Oct. 15th, 2008|06:10 pm]
rebbyribs and i got married today.
link22 comments|post comment

ǝsnqɐ ǝpoɔıun [Jan. 25th, 2008|11:51 am]
[Tags|, , , ]

(ɥo‾uı‾uosılɐ ɯoɹɟ) ɐɔɐɔqıl ʎq pǝsn sʇɔǝɟɟǝ ǝɥʇ ɟo ǝɯos ɟo ǝɯ spuıɯǝɹ lɯʇɥ˙dılɟ/ɯoɔ˙pɐɟʌǝɹ˙ʍʍʍ//:dʇʇɥ

link15 comments|post comment

steps! [Jan. 12th, 2008|02:51 pm]
[Tags|, , , ]

iris walks! she was moving sideways across the floor on two feet while not holding anything. rebbyribs and i squeed, at which point iris sat down and gave us a very puzzled look.
link10 comments|post comment

navigation
[ viewing | most recent entries ]
[ go | earlier ]