The READIN Family Album
Sylvia's on the back (October 2005)

READIN

Jeremy's journal

One never stops reading, though books come to an end, just as one never stops living, even though death is a certainty.

Roberto Bolaño


(This is a page from my archives)
Front page
More recent posts
Older posts

Archives index
Subscribe to RSS

This page renders best in Firefox (or Safari, or Chrome)

Sunday, February 20th, 2005

🦋 Dream blogging

Been a while since I did one of these...

In my dream last night, there was a small fad amongst the educated bloggers, to come up with words with a high number and variety of shades of meaning, and then to write a snarky post exploiting the variance... I think this stemmed from the debate between Katherine and Rilkefan at Obsidian Wings, over whether the Bush administration's lies merit the term "lies" or not. Anyways, I was reading a post on one of the language mavens' blogs, introducing a new twist -- his idea was to pick a word with many shades of meaning, and write rhyming definitions for all of those meanings. (He cheated a bit by ending all of his definitions with a participle, naturally they all rhymed.) He also used some interesting invented words in the definitions but I am not sure whether this was part of the game or part of the dream-reality.

Meanwhile Tom Tomorrow was writing a narrative comic strip about his being given a mansion by the widow of a wealthy industrialist -- the mansion was in the town of Tomorrow, California, in the Sierra foothills. I entered into the strip's reality and added a storyline in which my mother was ballooning in the foothills and landed by the Tomorrow mansion. Scooby-doo-esque adventures ensued (with a bit of a darker edge) but I don't remember any of the details.

posted morning of February 20th, 2005: Respond
➳ More posts about Dreams

Friday, February 18th, 2005

The Phantom Tollbooth -- tonight we read Chapter 11, "Dynne and Dischord", or rather we read about half of it and Sylvia fell asleep. Funny that Juster worked in two consecutive "Fantasia" references -- the end of Chapter 10 referred (so think I) to the Toccata and Fugue in D Minor segment of the film, and the beginning of Chapter 11 referred (less arguably) to the The Sorcerer's Apprentice segment.

posted evening of February 18th, 2005: Respond
➳ More posts about The Phantom Tollbooth

Thursday, February 17th, 2005

The Phantom Tollbooth -- we read Chapter 10 tonight, "The Symphony of Color". It has nice resonances with two other books, "The Philharmonic Gets Dressed", which we read for bedtime story fairly often, and "Zin Zin Zin! A Violin!", which we read less frequently; and with Fantasia, which we watched a few weeks ago -- this last I suspect may have been Juster's source for the chapter, some of his imagery reminded me very strongly of the film.

posted evening of February 17th, 2005: Respond
➳ More posts about Norton Juster

🦋 User Interface feature

When you have a list box that gets items added to it on a continuing basis over the course of a program, it is nice for the list box to scroll downwards as items are added, so the most recent one is always visible. Except when the user is involved in reading some older items -- then this behavior is very annoying. Here is a solution, as implemented in an MFC application -- pretty easy to translate to C/C++* -- other languages, you're on your own:

int GetVisibleCount(CListBox &lb)
{
    CRect rct;
    lb.GetWindowRect(&rct);
    int iHgt = lb.GetItemHeight(0);
    return (rct.bottom - rct.top) / iHgt;
}

    // handler for a custom "Add Item" message
LRESULT CMyDlg::OnAddItem(WPARAM wp, LPARAM lp)
{
    const char *msg   = (const char *) lp;

    int iTop = m_lbRealtimeStatus.GetTopIndex();

    m_lbStatus.AddString(msg);
        // "static" because I am never resizing the 
        // lb -- if you are you will need to calc 
        // this every time.
    static visibleCount = GetVisibleCount(m_lbStatus);
		
    if (iTop == m_lbStatus.GetCount() - 1 - visibleCount)
        m_lbStatus.SetTopIndex(iTop + 1);
    return 0L;
}

So what I am doing is, every time I add an item, I check what the current topmost visible index of the list box is -- if it is not equal to the number of items in the list box less the number of visible items, then I do not scroll. (Note that this calculation doesn't work when there are fewer items in the list box than the max number that will fit on the screen; but that does not matter because there is no need to scroll anyways in that situation.)


* That is to say, C or C++ where you are not using MFC classes.

posted afternoon of February 17th, 2005: Respond
➳ More posts about Programming

Wednesday, February 16th, 2005

The Phantom Tollbooth -- we read Chapter 9 tonight -- Sylvia is really enjoying the characters though I'm not sure how much of the plot she is getting. Details which captivate her: the sisters named Rhyme and Reason, which are not proper names like Sylvia or Emily; the dog mistakenly named Tock even though the sound he makes is tick-tick-tick; the box given by King Azaz to Milo, which contains all the words that will ever be used -- this last reminds me a bit of Borges' Library of Babel and I wonder whether Juster had that in mind.

posted evening of February 16th, 2005: Respond
➳ More posts about Readings

Friday, February 11th, 2005

The Phantom Tollbooth: Tonight we will read Chapter 6, the story of Rhyme and Reason as told by Faintly Macabre. Sylvia is maintaining interest in the story and remembers the characters and situations from day to day.

posted afternoon of February 11th, 2005: Respond
➳ More posts about Sylvia

Thursday, February 10th, 2005

🦋 Gung He Fat Choy

Happy Year of the Rooster! Here are some pictures of Sylvia with friends Sasha, Kaydi, and Samantha, at the FCC new year's party.

posted evening of February 10th, 2005: Respond

Sunday, February 6th, 2005

🦋 Chapter book

Sylvia has recently gotten interested in the idea of reading chapter books. This is good news for me because I am interested in reading chapter books with her. The first one we read, last week, was a not very well-written or thought-out book about two children who discover a magical tree-house that enables them to travel back in time, apparently part of a series, this one has them go back to prehistory and interact with dinosaurs.

On Friday I bought Norton Juster's The Phantom Tollboth, which is one of my favorite books from my own childhood. I was not sure whether Sylvia was quite ready for it but figured it was worth a try. And it seems to have been a good choice -- we have read 2 chapters so far and she is paying very close attention.

Paying attention is a major topic of the book and I am having the feeling while reading it, that I should have taken it more to heart when I read it as a boy; or that I should have reread it around the time I started to forget it, in my early twenties. Not paying sufficient attention is a big part of what I have been doing wrong in the past ten or so years. Seems like it should be easy enough to change back... Hoping my facility to pay attention has not atrophied from neglect.

posted evening of February 6th, 2005: Respond

Saturday, February 5th, 2005

A month ago I posted the story of a glue-up gone wrong. Today I glued up a second similar cabinet and thanks to input from the gang at WoodCentral, it went much better. The key difference: as advised by William Duffield, I did not put the backer boards in slots, but instead cut a rabbett and will nail them in place after the frame is dry. This means in the glue-up, I only have to worry about four boards instead of ten, much more reasonable. Also I thought through my clamping beforehand, so it was easy to get everything put together once the glue was on; and I made pinch sticks to measure the diagonals of the cabinet. I think these will be my most successful dovetails to date, which is not saying too much but is a good feeling anyways.

posted evening of February 5th, 2005: Respond
➳ More posts about Sylvia's room

🦋 Movie Night

We watched the second half of Fantasia tonight, except for A Night on Bald Mountain which Sylvia found too scary. (And she was pretty tired anyway by that point.) Weird -- I was totally sure that Peter and the Wolf was one of the songs in Fantasia, but apparently not.

posted evening of February 5th, 2005: Respond
➳ More posts about Family Movie Night

Previous posts
Archives

Drop me a line! or, sign my Guestbook.
    •
Check out Ellen's writing at Patch.com.

Where to go from here...

Friends and Family
Programming
Texts
Music
Woodworking
Comix
Blogs
South Orange