Sunday, January 30, 2022

on the ux of popcorn nutrition facts

I know I've griped about this before, and too tired to make a "funny" meme, but Stop N Shop "Nature's Promise Organic Microwave Popcorn".  Nutrition Facts sends me. "About 7 servings per container". Referring to... the 3 damn bags in there. You know, for that excellent 2 1/3 serving per bag - perfect for.... you and your partner and 1/3 of a friend, I guess?

I just despise this obfuscating horeseshit.  "130 Calories Per Tbsp. Unpopped. 30 Calories Per 1 Cup Popped" Thanks for using 2 columns for semi-relevant nonsense. Maybe I should start eating unpopped? Is that a thing?

Start with the assumption that someone will eat a whole bag, or if they are splitting (and actually give a damn) can calculate what fraction of the bag they are wolfing down. Not this "2 1/3 Servings" Malarky. Jeezie Petes.

 

Thursday, January 27, 2022

cute css trick for formatting footnotes

One challenge when you have content loaded from JSON translation files - in React, there might not be a graceful way of allowing <em> and <b> and other purely stylistic markup; you either have to hack something to wrangle the structure or you use dangerouslySetInnerHTML and hope that your code is never used with unsanitized user data.

A late addition to the design was footnotes; because the footnote also needed to be separate markup (for coloring purposes) my code (with asterisk as a boolean was like

    <headercardfooter href="{url}">
      {asterisk &amp;&amp; <asterisk>*&nbsp;</asterisk>}
      {text}
    </headercardfooter>

which along with some coloring for asterisk (we're using styled components) got me to:


But that's not great. But the trick was as simple as changing the headercardfooter from display:block; to display:flex; - all the defaults for flexbox are such that you get 

practically for free!

Thursday, January 20, 2022

interview with wordle creator and thoughts on its ux

 If you're on social media there's a good chance you've seen people the telltales of people playing Wordle:

Here is an interview with its creator Josh Wardle.

I adore the UX of this thing:

  1. The limit of one word a day turns it into a social event - everyone is talking about the same challenge, and it's not out to encourage endless bing playing. It's a satisfying little mind snack on the daily
  2. The interview talks about the sharing widget - it's so lovely that it doesn't have a link and so doesn't generate one of those obnoxious link badges (I think the backlash against these would be even stronger if they were more direct linkage and less enigmatic.)
  3. With that widget, you can read the tale of a victory... and if you've succeeded on the day's yourself, you can have fun trying to guess what people's first word might have been
  4. The keyboard that lights up with what letters are left and which ones are in use is great
  5. The one-letter-at-a-time reveal is well-done... just a tad bit of suspense tension-and-release about where you are in the game after you've made a good guess..
There is some backlash to the ubiquitous shares of it, and understandably so. I don't make any posts about my success or challenges, but I do comment on others'.

Tuesday, January 18, 2022

note to self: technology to look at

I want to look at remix and preact. Oh and I've had some previous success with parcel for bundling stuff up...

Monday, January 17, 2022

todo triage: hot tasks, the daily routine, the long term

Quote of mine from a decade ago:

My Todo app is blocked with some dumb old tasks I really need to get around to. I call this condition "procrastipation".

I had forgotten that term, but the struggle continues! It's so bad when the todo list is so full that you avoid looking at it. 

So I wrote about the Palm PDA the other day, my first (more or less) digital tool for wrangling this stuff,  because I was curious if it even had Todo items with due dates. (Answer: nope, though it had a great datebook.) And so if it didn't have "due dates", it wouldn't make sense for it to have "recurring items", since it wouldn't know when to put the item back on the list. And frankly, it's that "Pete+Repeat" section that was the problem with my use of the 2Do app: the dozen or so tasks I like to make sure I do every day made up a big block interfering with my view of other tasks. 

By chance my friend Sophie mentioned her New Year's resolution of using a spreadsheet she to keep progress with her daily routines:


and that made me realize I should rethink my own approach to the daily grind. I'm mildly allergic to spreadsheets, but I do love making UIs, so I came up with this:
("Toofs" is more about flossing than anything... I generally don't have a problem remembering to brush my teeth.)

So Sophie's color code got me to make the checkbox item itself go green, and damn is it satisfying! It has the same kind of energy as Apple's Fitness Watch "complete the rings"... and thinking about it, that kind of structured building up (with the items always in the same arrangement, roughly chronological in the course of a day) feels so much better than just clicking a todo item so it goes and hides until the next day.  My new system has a sense of positive progress vs just the absence of nagging of my old system.

I also made an abstract "month" view underneath to build a sense of continued maintenance - you can absolutely tell this was designed in the time of Wordle and its infamous emoji (and, super-clever, and delightfully not-a-URL) shareable game descriptions:

(I used this css-tricks page for notes on the PHP to construct the calendar - but I really do need to get some javascript engines working on my server...)

So I think the next step might be to offload the long-term Todo items into external lists. Luckily 2Do has support for multiple lists (on a single scrollable panel) so they're not really interfering with my more urgent material, but I think it would be nice to have an app just for the stuff demanding more immediate attention, and less of the longer term project stuff. 

But yeah, I think my mistake was looking for one app to rule them all... new/urgent tasks, daily repeating items, and long term projects all have a bit of a different feel. And actually using different apps for them helps engage "muscle memory" in different ways.

FOLLOWUP: After building this and using it for a week, I realized I should have looked in the App Store for something similar. And indeed, there's stuff like Habit that looks pretty good, has nice Widgets even. But playing with it, I think it's more complicated than I want to deal with, and I like that my solution works well on my phone and on a browser on my laptop. 

Sunday, January 16, 2022

lotus agenda

Just a note to my future self, because I feel like I might be on the verge of forgetting... an old collaborator Len was a big fan of Lotus Agenda - its free form data entry and tagging was apparently way ahead of its time, and fans of it struggle to find its equal.

the zen of palm, a browser-based palmos emulator, and the handspring

I've previously expressed my love for the mid-90s PalmPilot. Having a gadget to offload details from my brain was just amazing - I kept a precursor to my blog on it and really fell in love with its Date Book and To Do app. 

Cloudpilot is a fun, browser-based emulator for it. You have to download its ROM from PalmDB but then it is ready to go. It is amazing what they got into a 160x160 square - admittedly around the resolution of the gameboy (that was already about 7 years old by then) but with the stylus-based character recognition and ability to synch with your desktop, it was a serious information tool that improved my quality of life. 


You can dig up a copy of Zen of Palm on the Internet Wayback Machine - it's a brisk read about how to make great user experiences on such constrained devices. Some of what it says how people use handhelds is now outdated - back then things were optimized for utilitarian quick-hits of information, while now too often the drive seems to be "how do we get people using this for hours and hours" - but many of the core ideas of distilling to the essence of the usecase still apply (Q: How do you fit a mountain in a tea cup? A: Extract the diamonds and leave the rest.) One interesting nugget I hadn't heard before: 

Iterative user testing was a critical factor for the success of the original Palm Powered handheld. The software designers actually did several prototypes of the entire user interface in HyperCard before writing code.

I do wish I had run into HyperCard when it was a going concern. 

Finally, making the rounds is Springboard: the secret history of the first real smartphone, an excellent way to spend half an hour (or less if you watching things sped up...)

(FWIW, which isn't a lot, while I respect how Handspring moved the market, that first Visor seems so ugly to me - that very of the moment iMac-ish transluscent plastic didn't actually show you much of interest, and the square design with those unpleasant side ridges... bleh!)

Anyway, The Talk Show of Daring Fireball had an episode talking with the maker of the documentary