Sunday, December 8, 2013

Odd and even numbers in Chinese

I don't often need to know the words for odd and even in Chinese, but I finally decided to try to commit them to memory. It took me a bit of effort to find a mnemonic that would help me remember which was which:
  • odd number 奇數 jī shù
  • even number 偶數 ǒu shù

First I was hoping that the Pinyin letters, e.g., that the number of letters in one (ideally in "odd") would actually be odd and the other even. No such luck there, since they're both two letters.

Then I hoped that the Pinyin tone would be odd (ideally in "odd") would be an odd number and the other even. Again, no such luck, since they're first and third.

Finally I realized that the character for odd (referring to number) is also the character for strange/odd (which is, however, pronounced differently, as qí), and I had my mnemonic.

Saturday, November 9, 2013

Converting Notespark data to Simplenote

Notespark app users like myself face the scheduled 12/31/13 closure of the Notespark service. I am currently converting to other apps and services, but my commentary may help others with their own choices. When I was able to grab chunks of time, I painstakingly converted the majority (over 1000) of my Notespark data (notes and tags) manually via copy-and-paste into Simplenote clients using the Simplenote service. During that work, I unexpectedly stumbled upon this prescient 6/8/13 Notespark note to myself: "Simplenote might be a viable substitute (which actually may have a superior search capability) if Notespark server ever disappears".

I have also already bulk-converted a mutually exclusive subset of my Notespark data (about 400 notes) into a paired PlainText WriteRoom app + Dropbox app and service solution, about which I hope to write in a future blog entry. Those notes are understandably not connected to my Simplenote data, so cannot share tags (or the quasi-equivalent). There are issues with using Chinese vocabulary notes (I had bulk-converted over 200) in this solution, but there seem to be some viable workarounds; hopefully I won't later have to switch them to Simplenote via manual copy-and-paste.

This blog entry, moreso than any others here, will likely be subject to frequent updates, at least until 12/31/13. I'll try to add immediately below, in reverse chronological order, dated summaries of materially significant updates, if I don't incorporate them into a more suitable place further below.
11/21/13: Changed my other solution mentioned above from PlainText to WriteRoom from the same developer. The latter was serendipitously temporarily free during my investigations, and it has more features (and no ads!). (11/17/14: I discovered rather late that in a 1/6/14 blog entry, the developer announced that he would stop selling both of those iOS apps, mentioning PlainText 2 by 433 Labs as a replacement for both. That is likely to be my solution at whatever point I can no longer use [probably due to an iOS upgrade] my 3.3.5 version of Simplenote.)
11/18/13: Described my workaround for keeping the contents of Trash (and device-local notes) in sync across iPod and iPad.
11/16/13: Recently finished this data conversion. Updating and adding various details (including, among other things, starting my promised list of web client issues, and further discussing ResophNotes), and expect to continue doing so for a while yet.
11/9/13: This blog entry first posted. Due to time constraints, I'm leaving out a number of already-known details, but hope to add them later.

Particulars about my situation

For the "Your Mileage May Vary" department.

Note data

  1. More than 1500 Notespark notes, most of which I want to keep.
  2. About 60 Notespark tags; many notes have multiple tags.
  3. Used + (plus character) in some tag names, including as the final character. With hindsight, using + was a bad choice, which also led to some (rare) inconsistent behavior in Notespark. When converting, I would have done better to switch to some other "regular" character when I created the analogous Simplenote tag; I had to deal with tag fallout from not having done so. I found it difficult/impossible (had to do it more than once, and I don't remember all details) to delete such a tag (and also, later, my test tag [zz上面z] which contained Chinese characters) from the iOS app unless I first changed its name to have only "regular" characters (e.g., from "A+" to "Aplus").

Hardware and software

    1. iPod 4th generation (primary iOS device for note usage)
    2. iPad 2
    3. Older, weaker PC running Windows XP is my primary computer. With Firefox/Chome/Opera browsers, that seemed to be unable to effectively use the Simplenote web client after I had loaded several hundred notes. Although I've only done a small number of tests, ResophNotes looks promising as an alternate client; I'm using the portable 1.5.7 version. When editing a larger note, I sometimes find it helpful to write it, or at least part of it, separately in a text editor (e.g., an older version of EmEditor Free or Notepad++) to avoid the lag that comes with syncing to the Simplenote server; I did the same thing with respect to the Notespark server. When I'm finished, I copy the new text into ResophNotes (or Notespark's web interface previously). The ResophNotes programmer welcomes donations to support future development; it's already been very useful to me and I'm convinced it will continue to be, so I contributed.

      Related comments: http://help.simplenote.com/customer/portal/questions/1479733-simplenote-on-www-and-resophnote-unusable-slow
    4. Staying with iOS 5.1.1 because of particular functionality which is lost in iOS 6 (and presumably iOS 7 as well).
    5. As a consequence of (4), using the older 3.3.5 version of the Simplenote app (the newest version which runs under iOS 5).
    6. Using the older 1.3.2 version of the Notespark app. I seemed to have better results with it than with 1.4, the latest version (although all versions have been removed from the Apple App Store in anticipation of the closure of the Notespark service).

    Note management functionality important to me

    Having a clear idea of what's important can help you decide where you're willing to accept compromises, which may include handling some of your note needs in other ways (e.g., using other software and/or services). I probably left out some note management functionality which is sufficiently basic that any "self-respecting" note management app would have it. My need/desire for the following functionality is what makes manually copying and pasting what may ultimately be more than 1000 notes worth doing.
    1. iOS app with fast, efficient note management, limited to text only. Extra features like text formatting (bold, italic, etc.) would probably impede my own note usage.
    2. Ability to sync data from iPod/iPad to a "master" data copy on a server over wifi; that master data copy serves as an ongoing backup.
    3. Ongoing consistent data across different client software.
    4. Ability to view notes grouped by tag.
    5. Ability to apply multiple tags to a single note (traditional folder-type grouping of notes is not ideal).
    6. Ability to search through notes, ideally either as a tagged group or all notes, for one or more text strings.
    7. Web client which enables copying text into and out of any note in the master data copy on the server.
    8. Ability to bulk-export a local backup of data from either the master data copy on the server or from iPod/iPad. The Notespark service is closing; one must be prepared for a future similar occurrence which would force you to again find a replacement solution.
    9. Ability to handle French (ideally Spanish as well), Chinese characters, and Chinese "Pinyin-toned" vowels (e.g., the ā and ē in kāfēi), which presumably means Unicode.
    10. Avoid the need for notes to be created as operating system files. Such files require assignment/maintenance of a file name for each note, which is unnecessary and counterproductive for the way I use notes.

    Some issues I encountered with the above:

      Re: (2) above:
      • When I copy-pasted 30 or so notes from Notespark to Simplenote without wifi, then later connected to wifi, I got 30 or so blank notes in Simplenote after that automatic sync. Now I try to avoid adding larger amounts of data when I lack a wifi connection, in hopes of minimizing such problems.
      Re: (3) above, I unexpectedly found myself willing to accept shortcomings in ongoing data (note/tag) consistency.
      • Fresh reloads of data from scratch often failed to load hundreds of notes. Perhaps their server load (and/or changing server configurations?) was a factor, but I sometimes saw, e.g., 89 total notes when hundreds more should have been loaded. After about a dozen or 20 fresh reloads, I finally got the proper, matching number of notes loaded onto my iPod and iPad. One tag was out of order on the iPad (11/15/13: and more have gotten out of order since), which I could live with (unfortunately, more got out of order later). I'm hoping to avoid needing fresh reloads as long as I can (perhaps until device hardware failure). The (beta) export capability (http://simplenote-export.appspot.com) may confirm that the service "knows" the correct number of notes, even if you can't get them to the iOS client reliably during fresh reloads. I haven't yet investigated http://ziptest-dot-simple-note.appspot.com, which is mentioned on the Simplenote blog here.
      • Tag order often inconsistent across software clients. Simplenote allows you to order your tags (instead of alphabetically ordering them, as Notespark does), but Simplenote clients don't reliably order tags as they are ordered on the Simplenote server (at least I imagine the server has some defined order of tags). Each client might show tags in a different order.
      • Tag duplicates sometimes showed up after I changed tag names and/or tag order.
      • Blank tags sometimes appeared in the tag list.
      • Sometimes, a note deleted while using a client other than the iPad (definitely at least using the iPod) had to be subsequently deleted on the iPad as well, although I believed it would/should have been deleted there by the automatic sync.

        11/18/13: To reduce (maybe even eliminate) chances of mismatched deleted notes on 2 (or more) iOS devices, create a special tag (e.g., ToDelete) and attach it to notes to be deleted on any device (or a combination thereof). Then, only when both devices are connected to the Internet and are both running Simplenote in the foreground, delete all those notes from each device as needed: I've experienced the full gamut of sync consistency. Once, it was sufficient to delete them from only one device, and they were properly deleted from the other device as well. On another occasion, all those notes needed to be deleted from both devices. On yet another occasion, deleting them all from one device deleted all but one of them from the other device. Finally, tap the Empty button in the Trash (which should only need to be done on one device, and the other[s] should automatically update).
      • For note usage, the iPod is my primary device, so I make some effort to make note changes on it instead of on the iPad when I have a choice. My idea is that whenever note/tag inconsistency is introduced, it would be better to occur on my secondary note usage device, the iPad.

      General user interface issues observed in the iOS app

      1. On the iPod (though not less so on the iPad), impossible must be very fast and precise (much more so than in Notespark) to use the two-finger tap to select a line -- neither of your fingers should be moving appreciably up or down (or probably even side-to-side) when they contact the screen, and they can't linger on the screen, either (contact the screen and get off FAST). You can alternately use rapid quadruple tap to select a line. Possibly due to the automatic syncing and device sensitivity.
      2. When creating a new note or editing an existing one, the "Tag:" input area is sometimes inaccessible, so it is impossible to assign any additional tags to a note. The solution that has worked for me is to quit the app, expel it from RAM, then restart it. I'm already used to using that workaround for recurring problems with Apple's Calendar app and other third party app(s), so doing so is second nature to me.
      3. On the iPod, when pasting 5 lines of text into an existing note which had been accessed via a tag "folder", the note's single tag was lost. As in (2), the "Tag:" input area was blank and inaccessible, though I'm not sure if that occurred when the note was opened, or perhaps after the pasting in of text. Check your note's tag situation after you are done editing if you need to confirm its tag(s).

        11/16/13: Having at this point seen similar behavior on numerous occasions, I believe that when starting (or perhaps switching to) the app and opening a note, I believe the "Tag:" input area functionality can fail for any write operations (note/tag/pin). The reason for this might be that the device is running low on usable RAM. As long as you do not edit the note/its tags/its pinned status, the note will not lose its pre-existing tag(s), so there should be no need to fear tag loss if you are only reading the note. The fix is exactly as described for (2) immediately above.
      4. On the iPod, I pasted text into a new tagged note (tagged by virtue of my having been in that tag's "folder" when I created the note), tapped the end of the first line, typed in a two word parenthesized phrase and was surprised to see Simplenote remove(!) the two word phrase. Amusingly, it was "(didn't happen)". This happened to me on another occasion, and I think the issue is that you should not do further edits if you see the rotating "throbber" reflecting ongoing syncing activity.
      5. I wish they had put the Settings button in the upper right corner (which is empty) instead of in the upper left, and for that screen had left the upper left corner as a no-operation zone. The upper left corner is the same place shared by the Back button (on a preceding screen). The Back button doesn't necessarily effect a prompt change in the app (and after being tapped, the button's visible appearance changes only a modest amount), leading me to sometimes tap that area twice, wondering if I actually made a proper first tap. The app's delayed response often enough means that I land in Settings instead of simply back one level. Notespark's equivalent tap-functionality was better designed: the Note*spark and the All Notes/Starred/Tags/Shared/Trash buttons occupied the upper left corner, but Settings was in the upper right corner. Notespark's speed of response when tapping those buttons was also normally/always immediate, which meant I would never tap such buttons twice just to make sure that the app had registered a tap.
      6. On the iPad, when using landscape orientation, you can't always get to the lower ones if you have a larger number of tags. The fix that worked for me was to temporarily switch the iPad's orientation to portrait, then switch back to landscape.
      (More issues to be filled in later. This list is intended to be separate from issues with data consistency, which I should have listed earlier in this blog entry.)

      General user interface issues observed in the web app

      1. If a tag contains Chinese characters, when you create a new note while inside that tag "folder", everything from the first Chinese character on in the tag is inserted into the note.

        Aside: if you name such tags with an ASCII character[s] at the beginning, e.g., zz上面z [ZZ Top, ha ha], you will be able to add such tags even from a browser where you lack access to enter Chinese characters. I added the trailing z to zz上面z to test if that would change the above-mentioned behavior, but it didn't.
      (More to be filled in later. This list is intended to be separate from issues with data consistency, which I should have listed earlier in this blog entry.)

      Miscellaneous comments

      1. No way to see all notes lacking a tag (unlike Notespark's untagged "pseudo-tag"). This is more of a problem because of both item (2) above in General user interface issues observed in the iOS app, which can lead to your inadvertently making a note without a tag (though not for lack of trying to add such a tag), and also because my belief is that more than one of my notes has seemingly lost a tag for no obvious reason. The ResophNotes Windows client mentioned above has a "No-Tag Notes" pseudo-tag through which you can see such notes, which is helpful. (6/4/14: Per http://help.simplenote.com/customer/portal/questions/5820090-can-we-have-a-no-tag-filter-, tag:untagged works on the website.)
      2. Note-pinning capability, which keeps notes at the top of all others, can be more useful to me than Notespark's note-starring capability, e.g., to keep a frequently modified grocery shopping list near the top of All Notes. As part of my conversion from Notespark, I discovered I had starred so many notes that the star had become largely meaningless for some (primarily older notes, which had aged out of my usual "radar screen" of notes -- out of sight, out of mind). Pinning does change the Modified date of notes, which can affect you if you are using that characteristic for ordering of notes (Notespark starring did not affect the By date sort order).
      3. Unlike Notespark, has in-note search, which has unfortunately proven rather buggy in my experience (1/13/14: It appears that if a note is "long" [not sure what the character count threshold for "long" is], the in-note search fails to highlight occurrences of the search string in it, although Simplenote should correctly have returned the list of notes that do have the search string in them. If all your notes were "long", the functionality would be no more than what is in Notespark). My using "more-rarely-used" ASCII characters and/or Chinese characters in my notes might be causing or contributing to this problem. (Evernote highlights all occurrences of the search string within a note).
      4. Functionality differs between iOS client and web client; sometimes one can fix an issue that the other cannot.

      Other recommendations

      Make yourself one or more Simplenote accounts and do your own testing with a subset of the data you intend to import to better gauge how well it might work for you. I did preliminary testing that way, which guided my subsequent real conversion efforts. Simplenote's account deletion process seems to be quite thorough and complete; I think I made and deleted the same test account (defined to be associated with an e-mail address) about half a dozen times. Regrettably, my preliminary testing did not reveal all of the issues I would eventually face.

      If you're manually converting hundreds of notes, it's probably most reasonable to convert them in groups (tagged groups, presumably). If you want to preserve at least the chronological order of last update from Notespark, copy and paste the notes into Simplenote from oldest to newest; when doing so on iOS, take advantage of Notespark's left/up triangle button to go to the previous note (presuming you sort your notes By date).

      If you're keeping notes about the conversion during the conversion, keep them in Notespark instead of in Simplenote. That presumes that you're satisfied with Notespark to date and that Simplenote is new to you. I did not think of this aspect when I started my conversion, and to some extent regretted keeping some such notes in Simplenote, where I was bitten on multiple occasions by unexpected, sometimes inconsistent, behavior.

      Browse their Support Center at http://help.simplenote.com; you might find (or provide!) some useful information.

      Friday, November 1, 2013

      Less frequently encountered Pinyin combinations

      There are indubitably charts detailing all possible Pinyin combinations (ignoring tones). Having a fair amount of experience with Chinese, I'm interested when in everyday usage I encounter combinations of which I haven't previously known. It's sort of like when you first learn that there's a country called Qatar, and you realize that the letter q isn't always followed by the letter u.

      jiong:
      I saw this in an e-mail message as part of someone's name, and although the Chinese character wasn't included, I imagine it was 炯 (jiǒng; bright, shining)

      miu:
      荒謬 (huāngmiù; absurd)

      Sunday, October 6, 2013

      Dried meat

      There are (at least) two kinds of dried meat which are common in Chinese society. The one I've typically encountered in restaurants, usually as part of more authentic fare only, is:

      肉松 (ròusōng; dried meat flakes)

      The chewy kind that I prefer ("pork fu"), which I don't remember being used in restaurant dishes although it's sold in Chinese supermarkets, is:

      肉脯 (ròufǔ; dried meat in threads or slices)

      Sunday, September 15, 2013

      Common Chinese homophones having two or more syllables

      Certainly there are many, many Chinese homophones. Here I will largely or entirely be including only ones I have happened upon in the course of everyday life.

      I expect I will keep adding to this list over time. Sorted by Pinyin, then by English meaning. Some character(s) may be shared between (or potentially among) homophones.

      gōngkè
      • 公克 gram
      • 功課 homework
      shuǐpíng
      • 水平 level (noun)
      • 水瓶 water bottle

      I try to put similarly common homophones resulting from tone sandhi in this other blog entry.

      Saturday, August 31, 2013

      Soir, rasoir

      This time around (see here for last time), soir is the French combination of letters not necessarily pronounced the same way in all words.

      I discovered this difference in an old http://www.dailyfrenchpod.com video podcast episode (one of my favored French podcasts). Being familiar with the sound of the commonly used word soir (evening), in which the s is pronounced like the English s, I was surprised to discover that in rasoir (razor), the s is pronounced more like an English z, which I confirmed with my Larousse English/French dictionary app.

      Not that my having pronounced it incorrectly in Paris over 30 years ago prevented the saleswoman from understanding my request:
      Vendez-vous les rasoirs jetables?
      (Do you sell disposable razors?)

      4/1/14: I had forgotten the word besoin (need), whose s is also pronounced more like an English z than an English s! The s in soin (care) is, just like the s in soir, pronounced like the English s.

      Tuesday, July 23, 2013

      The verb "to return" in Chinese

      The transitive verb "to return" is rendered in at least the following two ways in Chinese. It can be particularly nuanced when the object is a book.

      To return a book to a library, use the verb 還 (huán; this character is also pronounced hái, for which it has an entirely different meaning):

      I'd like to return this book. 我要這本書. (Wǒ yào huán zhèi běn shū.)

      To return a purchase (including a book!) to a store, use the verb 退還 (tuìhuán):

      I'd like to return this book. 我要退還這本書. (Wǒ yào tuìhuán zhèi běn shū.)

      Saturday, June 15, 2013

      Origin of the Chinese word for "organic" for produce, etc.?

      Ever since learning that the word 有機 (yǒujī) means "organic" with respect to produce, I had difficulty coming up with a satisfactory reason why it should.  The two characters just don't make any sense (well, to me, anyway) for such a meaning, and multiple native Chinese speakers have not been able to explain the origin of / rationale behind 有機 to me, either.

      I finally came up with a possible reason: the French word for organic is biologique, the middle part of which bears a decent phonetic similarity to 有機.

      This may not be as far-fetched as it might initially seem. The Chinese word for latte is 拿鐵 (nátiě), which is a purely phonetic conversion. Perhaps something similar occurred for "organic", from the French word for it?

      Update 1:
      Alternately, the definition of 機關 (jīguān) is "organ",  but that is in the sense of an organization/office, so it's not related to this meaning of organic, but perhaps whoever came up with 有機 mistakenly thought it did?

      Update 2:
      A native Cantonese speaker suggested that 有機 in Cantonese was chosen as being a decent phonetic match with "organic", further pointing out that Hong Kong would have been a natural place where Chinese language equivalents were created for foreign words. This idea seems to be the most reasonable explanation.

      Monday, May 27, 2013

      Different forms of "or" in Chinese

      One of the difficulties ("nuances") about learning Chinese is that there are multiple ways to express "or". A specific one of those (還是; háishi) indicates a question or implies a questioning stance, while a different word(s) express(es) "or" as a statement (for that I normally use 或者 (huòzhě), but there are other(s)). I periodically catch myself in mid-sentence correcting the Chinese word I'm using for "or", which is at least better than unknowingly using the wrong one!

      Do you usually buy two or three? (a question seeking an answer; Do you usually buy two, or do you usually buy three?)
      你通常買兩個還是三個?
      (Nǐ tōngcháng mǎi liǎngge háishi sānge?)

      You usually buy two or three. (a statement, not a question; I know that you usually buy two or three.)
      你通常買兩個或(者)三個.
      (Nǐ tōngcháng mǎi liǎngge huò(zhě) sānge.)
      I am told by a native Chinese speaker that it could be more natural to omit the 者; time will tell if I can get used to doing so.

      I don't know if you usually buy two or three. (a questioning stance; I don't know if you usually buy two or if you usually buy three.)
      我不知道你通常買兩個還是三個.
      (Wǒ bù zhīdao nǐ tōngcháng mǎi liǎngge háishi sānge.)

      Tuesday, April 23, 2013

      A Chinese character not pronounced in any of the standard tones

      Chinese characters are normally pronounced in one of four standard tones (five, counting the neutral tone).

      There is, however, at least one character which is commonly pronounced in a style which differs from any of those four (five) tones. I've heard it often enough in (melo-)dramatic moments in movies or TV programs. If you've seen your share of those, you might have heard it as well.

      The mystery character?
      (formally āi)
      It's a sighing sound, and is often pronounced in a slowly falling tone, typically accompanied by the exhalation of breath commonly associated with a sigh.

      One of my dictionaries gives "(an interjection of regret or disgust) alas"; my feeling is that it is more frequently a sigh of regret than of disgust.

      Another of my dictionaries gives the fixed phrase 唉聲嘆氣 (āishēngtànqì) to sigh with distress; to moan and groan. In a context like that, where it is not someone's actual sigh, it would be pronounced in its formal first tone.

      Saturday, April 13, 2013

      Tutoyer, vouvoyer

      In the late 1980's, I had a French conversation with an American friend who had a wonderful French accent (she had married a Frenchman and had lived in France for some time). At one point she cut in to tell me, "Tu peux me tutoyer." ("You can use tu with me."), introducing me to an infrequently used, but still quite useful verb.

      Tu is the familiar form of "you", while vous is the formal form. My belief is that it is fairly natural in an initial French conversation between two speakers, at least one of whom is an adult, that the younger (or perhaps somehow "newer") person would use vous to address the other person. I hadn't previously imagined that there were verbs dedicated to usage of tu (tutoyer) and vous (vouvoyer [not "vousvoyer"]; subsequently realized this sounds the same as Vous voyez ["You see"]).

      More than a decade later, I was giving a 2-hour ride to a polite young Frenchwoman (from Martinique, actually), who began by using vous to address me, and switched to tu after I took what may be my only opportunity in this lifetime to legitimately remark "Tu peux me tutoyer.". That car ride was a wonderful, unexpected chance for me to have some French conversation practice.

      I suspect tutoyer is used rather more commonly in spoken conversation than vouvoyer, since it strikes me that one would more commonly tell another person that "You don't have to be so formal with me." than the reverse.

      Sunday, March 17, 2013

      Two forms of the character for "inside"

      When I first learned the character for inside, I was taught the form 裏, which I will refer to as the "tall" form. In Taiwan, I eventually discovered it had another form (from TV program subtitles, I think), 裡, which I will refer to as the "wide" form.

      Someone taught me that the components of the wide form were equivalent to the components of the tall form. Starting with the tall form:



      Take away from its middle the 里 (lǐ) component:



      Join the two remaining components (the "lid" and the bottom part), and you get 衣 (yī), the character for clothing:



      Thus, the first form has both 衣 and 里.


      The wide form:



      has, on the left, the radical for 衣 (the way it is written when it is the left component of a multi-component character), and on the right, 里. So the wide form also has both 衣 and 里.


      My handwritten wide form tends to look less awkward than my tall form, and I've been using it almost exclusively for many years. That may make my usage a bit safer, because I know of one case where the wide form seems preferred over the tall from (or perhaps only the wide form is correct). The wide form can be used to mean the lining of clothing, and the inner lining would be 內裡 (nèilǐ), wherein 裡 isn't actually used to mean inside.

      Saturday, March 2, 2013

      Recalcitrant iPod Home button and AssistiveTouch

      The Home button on my 4th generation iPod Touch running iOS 5.1.1 has gotten inconsistently responsive over time. It no longer consistently registers a single press, or a double press, typically necessitating repeated presses beyond what the number which should be normal. At times I press it once, but that registers as a double press. completely failed. The degradation of response is no surprise to me. The device is a replacement remanufactured one, which I got from Apple at no charge near the end of the one year warranty period from my original 4th generation iPod Touch purchase. At that time, after confirming that it had not been immersed in water (there's an internal indicator for that), the Apple Store employees agreed that its Home button response had degraded badly enough to merit a hardware replacement. The replacement's Home button worked great for several months, but apparently the honeymoon (and, more significantly, the 90-day free replacement period) is over. (Interestingly, I don't remember noticing this problem with my 3rd generation iPod Touch, which I had also used under iOS 5.1.1.)

      I stopped into an Apple Store and asked a floor employee (I didn't have a Genius Bar appointment) about possible remedies. The fellow I spoke with introduced me to iOS 5's AssistiveTouch, of which I was only dimly aware, if at all (It is documented in the iPod touch User Guide For iOS 5.0 Software, and probably elsewhere as well). It can be set in:
      Settings > General > Accessibility > Physical & Motor > Assistive Touch
      I also activated Triple-click Home > Toggle AssistiveTouch. (After the Home Button completely stopped working, I changed this to Triple click Home > Off since I needed the AssistiveTouch button all the time.)

      AssistiveTouch wasn't intended as a fix for a recalcitrant Home button, but it works pretty well for that. When it's active, the AssistiveTouch button appears in one of 8 positions for the pre-5th generation iPod Touch: 4 along each of the left or right edges of the screen. The longer screen of the 5th generation iPod touch may add 2 more positions. Drag the AssistiveTouch button (even part of the distance) to change its position; it will jump to the new position.

      It will likely be helpful to have a usual position for the AssistiveTouch button, so your finger automatically knows where to go. For portrait mode, which I use far more often than landscape mode, the 4 positions in the lower half of the screen are a poor choice, since they can interfere with keyboard input. When using the iPod with one hand, the 2nd position down on the left was a comfortable position for my left thumb. You might, as I did, rearrange apps and app groups on your various Home Screens to work better with the AssistiveTouch button's normal positioning. You can still open an app which is obscured by the AssistiveTouch button, but you will have to be more precise with your tap.

      The concentric circles in the AssistiveTouch button are opaque white when it's first activated. After a short time, those circles and their square background become translucent, allowing easier identification of the area of the screen behind. The AssistiveTouch button is thus normally always present on the screen, either opaque or translucent -- you might want to turn it off before, e.g., watching a video. Screenshots are regrettably heavily obscured by AssistiveTouch, although some options supposedly exist for getting around that obscurement if you jailbreak your device.

      Tap the AssistiveTouch button to bring up the options, one of which is a software version of the Home button. Tap that once or twice as desired, just like you would the hardware Home button. With AssistiveTouch I could make one additional tap (to bring up the options) and then do a single or double tap of its Home button, or I could make some unpredictable (because I never really know how any given tap will register) number of taps of the hardware Home button to do the same thing. I use the hardware and software Home buttons at different times, and am pretty happy doing so.

      Depending on usage, I sometimes drag the AssistiveTouch button elsewhere (because I need access to the area of the screen where it had been sitting), but much of the time it's fine on top of the position of the app (or app group) sitting in the second row and first column of a Home Screen. When drafting this revision in Notespark, it was useful to move the AssistiveTouch button to the upper left corner, the lone position out of the 8 possible which would not interfere at all with my text editing.

      The software Home button is additionally quieter than the hardware Home button. It's also more gentle/discreet to, from the AssistiveTouch options, tap Device > Shake, instead of physically shaking the device (e.g., to Undo Typing).

      Sunday, February 10, 2013

      Appearance like a (Tic-tac-toe) grid


      With the passage of Snowstorm Nemo in New England comes the opportunity to note how a character's general appearance is similar to something else. In order to break up ice or snow that is frozen to the pavement, you often have to hit it with the edge of the shovel. The grid-like pattern resulting from a number of perpendicular whacks can be seen in the shadow cast by the shovel.

      井字形 jǐngzì xíng

      井 (jǐng) means a (water) well; the character resembles a Tic-tac-toe grid
      字 (zì) means a (Chinese) character
      形 (xíng) means shape

      Monday, January 21, 2013

      Street intersections in Chinese

      Two Chinese characters are commonly used to describe street intersections (路口; lùkǒu) on account of their shapes: 十 (shí; 10) and 丁 (dīng; one meaning is fourth in a series, e.g., company "D" when discussing 4 or more companies). When the character 字 (zì; character) is appended to each, their meanings become cross-shaped and T-shaped, respectively. We thus get:

      • 十字路口 (shízì lùkǒu) A 4-way intersection (the normal American assumption for such being that the streets meet at 90 degree intervals).
      • 丁字路口 (dīngzì lùkǒu) A T-shaped intersection, although in my experience Americans don't necessarily describe them as such, or as a "T intersection" (unlike "4-way intersection", which is common parlance). For directions, it seems more common to say or hear, "Drive down street 1 until it ends, then turn left (or right) on street 2." or possibly "Drive down street 1, which ends in a T. Go left (or right) on street 2."

      I've never heard of the character 丫(yā; girl/servant girl) being used to describe forks in the road, even if it seems well suited for such. In truth, the typical fork in the road is more like the shape of a divining rod than the shape of a typical fork. Hmm, I guess sometimes people describe such as a Y-intersection, but fork is more common by far. Of course, the 丫 character, a divining rod, and the capital letter Y are all similar in shape.

      Sunday, January 20, 2013

      Photo Mage app

      The (free) Photo Mage app (version 1.0.2) is wonderfully efficient for cookie-cutter, square-shaped editing of screenshots, which happens to be perfect for my occasional chess blogging.

      My starting point is a screenshot (Hold down the power button, then press the Home button to save a screenshot to the Photos app) from a chess game in the tChess Pro app:


      Within Photo Mage, tap Camera Roll:


      Choose the image from the built-in Photos app's Camera Roll album:


      Each time, I need to crop out everything except the board, plus the letters and numbers along its edges. The default shape that the Photo Mage app offers is a square (faint white outline in the image below), which only needs the screen moved a bit vertically for proper positioning, after which tap Choose:


      Click Save, and the final image is saved into the Camera Roll album of the Photos app:


      The final image:



      A caption can be added as well, although I wouldn't use such on chessboard images. The portion of caption text ultimately visible is limited to one line, even though more text can be entered.


      The projected caption display superimposed on the image is visible as you type:


      A caption would be more useful on other types of images:



      The native iOS Photos app also allows cropping, but it crashes reproducibly on a tChess Pro screenshot I have saved. It also starts with the more flexible rectangle shape, which is actually a disadvantage for my desired square-shaped final result.