Thoughts From Eric Archive

BlogAid

Published 21 years, 5 months past

As Andy Budd says:

You can help the victims of this terrible natural disaster by pledging the proceeds of any advertising or affiliate schemes you have on your site for the month of January to your country’s Tsunami Earthquake appeal.

For the first time, I find myself wishing that I had an affiliate account or advertising arrangement, but I’ve always avoided such things.  So while I can’t participte in BlogAid by pledging my blog revenue (I don’t have any), if you’re someone who can take part, please seriously consider doing so.

I also want to remind folks that my friend Dave is still taking donations for his triathlon run in March 2005.  It may seem like his cause pales in comparison to that of tsunami relief.  Perhaps it does– but his cause needs support, just as the survivors of the tsunami need support.  If you can support both, as Kat and I intend to, then please do.  If you have to choose, then make the choice your heart directs.


Helping Hands

Published 21 years, 5 months past

Here’s a list, copied from CNN by way of Mac OS X Hints, of organizations that are accepting donations for the purpose of assisting the survivors of the Indian Ocean catastrophe.

The words of sympathy and links to aid societies that now comprise the bulk of the Apple home page make me prouder than ever to have worked with them.  I can’t say exactly why it’s important to me to mention that while in the shadow of such overwhelming tragedy, but it is.


A Request For Assistance

Published 21 years, 5 months past

When someone you love is suffering from a serious illness, it’s a horrible helpless feeling.  You can’t do anything concrete to fight the threat, and you can’t give them some of your health in order to improve theirs.  You can support them, you can do what they need, you can be there for them, but there’s still a vast and pervasive feeling of impotence.  At the very moment all your protective instincts are screaming to fight back, there’s nothing to attack.  I’ve faced it, as have so many people, and now my best friend Dave has been facing it too.

Earlier this year, Dave told me his fianceé Kim had been diagnosed with Stage II Hodgkin’s lymphoma, just half a year before they were to be married.  When they got the diagnosis and an idea of the treatment timeline, Dave and Kim cancelled their November wedding and ran off to Las Vegas to get married right away.  Their intention was and is to fight this situation as husband and wife, and to have a wedding ceremony for friends and family after the treatments are done and Kim is back in good health.  Also, I assume, when they’ve both had a chance to grow back some hair: Dave shaved off his hair when Kim had to shave off hers.

That is of course a wonderful gesture, but Dave’s decided to do something more: he’s training for the Strawberry Fields Triathlon to be held March 12, 2005, in Oxnard Shores, CA.  His intent is to raise as much money as he can to help the search for better and faster treatments for Hodgkin’s disease, and thus do something concrete.  Given that he’s traditionally been about as averse to physical exertion as I am, this is a massive undertaking.  He’s been training for biking, running, and open-water swimming all at once.

For a variety of reasons (none of them involve court injunctions) I don’t talk a lot about my pre-Web years.  I won’t suddenly go into a ton of detail here, so suffice to say that Dave helped me not only get through junior high and high school with some semblance of sanity, but helped me survive some very difficult times that came shortly after graduating from college.  If you look in the acknowledgments on the first edition of CSS:TDG, Dave’s name is in there.  When I got the news that Mom had died, he was the first person I called.  When his and Kim’s wedding ceremony does finally take place, I will be proud and honored to stand beside them as best man.

If you could, please, support Dave in his run.  His goal is to raise $10,000, and as of this writing he’s already up to $7,299.  Personally, I think we could blow the doors off this thing with just a little effort.  If just a small fraction of you donated an average of $20 each, he could still easily double his goal.  If everyone who regularly stops by meyerweb.com pledged five dollars, Dave could raise a lot more than that.

If you doubt me, just look at what’s happened with Child’s Play ($250,000 raised last year, a good deal more this year), or the time that Randy Milholland ranted that if people wanted his webcomic to improve, they should donate enough money for him to be able to quit his job for a year and concentrate on the comic full time—and they did.  It’s always nice to have a single large contributor, but you can go just as far (if not farther) with a lot of small contributors.  Dave’s working hard to make sure he can swim most of a kilometer of ocean, run 5 kilometers, and bike 15 kilometers.  It takes hardly any work at all to donate just a little bit to support his effort, and the cause of the Leukemia & Lymphoma Society.  So, if you can, please do.  Kat, Carolyn, and I certainly will.

My deepest gratitude for anything you can contribute, or anything else you can do (such as spreading the word by linking to his training page) to support Dave.  It will mean a lot to him and his wife, and to me as well.


Don’t Care About Market Share

Published 21 years, 5 months past

In a fashion vaguely reminiscent of the process by which weeds keep growing back no matter how you try to rid yourself of them, the question of browser market share has once again been rearing its foul, misshapen head.  Dan kicked off a round of it over at Simplebits, but it’s recently been popping up other places as well.  I heard discussions about market share at SES Chicago, perhaps unsurprisingly, but I’ve also been seeing the question on various mailing lists and other forums.

The only thing more frustrating than the persistent recurrence of this unnecessary question is the inappropriate gravity it seems to acquire in so many minds.

Look, I’ll make this very simple for everyone.  If you’re trying to figure out what browsers to support (or not) in terms of layout consistency on a given site, then the answer is very easy.  Whatever the site’s access logs tell you.  End.  Of.  Story!

For example, the stats for the past few days’ worth of visitors to Complex Spiral Consulting tell me the following:

User AgentPortion of hits
Firefox 43%
IE6 30.8%
Mozilla 8.8%
Safari 8.6%
Opera 2.4%

(For those who are curious, IE5.5 makes up 0.8% of hits.  Various flavors of IE5.x below IE5.5 total roughly 1.2%, but note that Windows and Mac users are lumped together there.)

Those statistics tell me quite a bit about the people who visit the CSC site, and I can use that information to decide what to do about browser support.  You know what those numbers tell you about which browsers to support (or not) in your designs for sites on which you work?  Absolutely squat.  Anyone who uses those access statistics to make decisions for their own work is a fool, and a misinformed fool at that.

In every design, we have to ask what browsers need to have a consistent experience, which ones can be given a reduced experience, and which ones get no design at all.  The user logs from another site are useless in trying to make this decision.  The “global statistics” from firms like WebSideStory are just as useless in this case.  They may be entirely accurate, but they are also entirely irrelevant when it comes to making design support decisions.  The only stats that matter are the ones that come from the site you’re designing.

In a like manner, I don’t care if you think visitors to your site or some other favorite site of yours are an accurate reflection of the overall Internet population or not: that opinion is similarly irrelevant.  It’s rather like me claiming that the people who come to our annual holiday party are an accurate reflection of partygoers in general.  Maybe they are and maybe they aren’t, but either way I don’t think you should plan your all-night rave to accomodate the kinds of people who drop by our house to have homemade bread and soup and chat about babies, politics, science-fiction movies, and the weather.  And vice versa.

(Do remember that your site’s stats may reflect its current behavior instead of your potential audience.  If your site is already broken past the point of usefulness in Safari, then you’re going to see very low Safari numbers.  Make sure that you’re comparing apples to apples, and only compare the numbers in your access logs for browsers that can already use the site.)

As for the related question of “at what percentage level do I decide a browser isn’t worth bothering about”—well, that’s really up to you, isn’t it?  I certainly can’t tell you when it’s worthwhile to stop worrying about IE5.0, or Netscape 4.7, or Mosaic 1.2.  I know what I think is appropriate for the sites I work on—and the process of finding the answer is different for every site.  It has to be, because every site is different.

Now, if you want to share your user demographics with anyone who wants a peek, hey, have fun with that.  If data exhibitionism is your thing, who am I to judge?  Just don’t pretend that the bits of data you’re exposing to the world are representative of everyone else’s, because I guarantee you that they are not.  As for anyone who happens to glance at your data: I hope they realize the same thing.


SES Chicago Report

Published 21 years, 5 months past

Due to some weather-related travel upheavals, I didn’t get to spend as much time at SES Chicago as I would have liked—I ended up flying in Tuesday afternoon, speaking before lunch Wednesday, and leaving Wednesday evening.  Still, the panel went very well, the speakers were quite gracious, and I didn’t even need a fire extinguisher.

Based on what was said in the panel and the fleeting conversations I was able to have (sometimes from the podium) with Matt Bailey and Shari Thurow, here’s what I took away from the conference:

  • Semantic markup does not hurt your search engine rankings.  It may even provide a small lift.  However, the lift will be tiny, and it isn’t always a semantic consideration.  Search engines seem to use markup the same way humans do: headings and elements that cause increased presentational weight, such as <strong> and <i>, will raise slightly the weight of the content within said elements.  So even the presentational-effect elements can have an effect.  They also stated that if you’re using elements solely to increase ranking, you’re playing a loser’s game.
  • The earlier content sits in the document, the more weight it has… but again, this is a very minor effect.
  • Hyperlink title attribute and longdesc text has no effect, positive or negative, on search engine ranking.  The advice given was to have a link’s title text be the same as its content, and that anything you’d put into a longdesc should just go into the page itself.  (Remember: this advice is ruthlessly practical and specific to search-engine ranking, not based on any notions of purity.)
  • Having a valid document neither helps nor hurts ranking; validation is completely ignored.  The (paraphrased) statement from a Yahoo! representative was that validation doesn’t help find better information for the user, because good information can (and usually does) appear on non-valid pages.
  • Search engine indexers don’t care about smaller pages, although the people who run them do care about reducing bandwidth consumption, so they like smaller pages for that reason.  But not enough to make it affect rankings.
  • A lot of things that we take for granted as being good, like image-replacement techniques and Flash replacement techniques, are technologically indistinguishable from search-engine spamming techniques.  (Mostly because these things are often used for the purpose of spamming search engines.)  Things like throwing the text offscreen in order to show a background image, hiding layers of text for dynamic display, and so forth are all grouped together under the SEO-industry term “cloaking”.  As the Yahoo! guy put it, 95% of cloaking is done for the specific purpose of spamming or otherwise rigging search engine results.  So the 5% of it that isn’t… is us.  And we’re taking a tiny risk of search-engine banishment because our “make this look pretty” tools are so often used for evil.

Reading that last point, you might be wondering: how much of a risk are you taking?  Very little, as it turns out.  Search engine indexers do not try to detect cloaking and then slam you into a blacklist—at least, they don’t do that right now.  To get booted from a search engine, someone needs to have reported your site as trying to scam search engines.  If that happens, then extra detection and evaluation measures kick in.  That’s when you’re at risk of being blacklisted.  Note that it takes, in effect, a tattletale to make this even a possibility.  It’s also the case that if you find you’ve been booted and you think the booting unfair, you can appeal for a human review of your site.

So using standards will not, of itself, increase your risk of banishment from Google.  If someone claims to Google that you’re a dirty search spammer, there’s a small but nonzero chance that you’ll get booted, especially if you’re using things like hidden text.  If you do get booted and tell Google you aren’t a spammer, and they check and agree with you, you’ll be back in the index immediately.

So there’s no real reason to panic.  But it’s still a bit dismaying to realize that the very same tools we use to make the Web better are much more often used to pollute it.  I don’t suppose it’s surprising, though.

Due to my radically compressed schedule, I was unfortunately not able to ask most of the questions people suggested, and for that I’m very sorry.  There was some talk of having me present at future SES conferences, however, so hopefully I’ll have more chances in the future.  I’ll also work the e-mail contacts I developed to see what I can divine.


S5 1.1b2

Published 21 years, 5 months past

Behold: v1.1 beta 2 of S5.  This version has a few of changes, all of which are being floated as trial balloons.  Feedback on them all is appreciated.

  • Change in file structure.  Now the ui/ directory will contain only directories.  Thus, the default theme and scripts live in ui/default/.  The reason for this is so that other themes can be put in the ui/ directory without things getting too confusing.  For example, the current beta version has a v11b2/ directory (the beta’s version of ui/) that contains default/ and i18n/.  Switching between them does require manual editing of the XHTML file, as I decided to punt on dynamic theme switching for now.  This does, however, let an author carry around a single ui/ directory with a number of themes contained inside.  That way, he might have four presentations to give, each one with a different theme, but all of them sharing the same ui/ directory.

    Another advantage to changing the directory structure is that v1.0 presentations won’t be compatible with v1.1 themes.  That’s actually a good thing, since the XHTML structure changed in small but significant ways in v1.1b1.

    I thought about further splitting the default directory into “script” and “style” subdirectories, but this seemed like a bit of overkill.  However, I’m starting to wonder how to handle things like IE/Win behaviors, which I suspect will be needed before too much longer.  Why?  Look at the images in the v1.1b2 testbed: they all have flat white backgrounds.  I’d like to turn them all into PNGs with alpha channels, and I’d like to have those work as intended in IE/Win.  The only way to make that work right now is via behaviors like this one.  I’ll want to drop those behaviors into the default/ directory—my leading candidate would actually be IE7, once it gets close to being stable, mostly because it would add quite a lot to theme authors’ CSS toolkits.  But all those behavior files could clutter up the directory, for which the easiest fix is to drop them all in a subdirectory… you probably see where I’m going with this.

    That’s all for another version, though; v1.1 won’t have any behaviors packaged by default.  It’s just on my radar, and I thought I’d toss it out to see if anyone has bright ideas.

  • A “header” file for themes.  You can see an example at v11b2/i18n/00_head.txt.  Briefly, this file contains material destined for the head element of any presentation that’s going to use this theme.  In the case of i18n, the only thing that changes is the link element pointing to slides.css.  Nevertheless, the header file provides all of the link and script elements that should appear in the presentation file.  This should make it easier for an editor program to just grab each block and paste them over the existing block in the presentation file.  It will also reduce ambiguity for anyone doing a manual edit to change themes.  (Open header file, drag-select, copy; open presentation file, drag-select, paste, save, done.)

  • Changes to incremental class names.  In earlier versions, incremental-display objects were marked with a class of inc, and any list that should start out already showing the first list item got a class of psf.  I’ve changed those to incremental and show-first.  The new names require a little more typing, but they’re much less ambiguous and therefore much more author-friendly.  I’m interested to see if anyone has ideas for better names, especially for show-first.

As for the issue of licensing, I guess I’m little further along, but not all they way yet.  The discussion did help me focus on what I want.

  • Presentation content should be under whatever license/terms the author desires.  I do not want to force all S5 presentation content to be public domain, or GPL’ed, or whatever.  If someone wants to give a highly confidential talk using S5, they should be able to put the most restrcitive license in the Universe on the content… but only on the content.

  • Themes should similarly have their licenses, or lack thereof, determined by each one’s author.  If Joe Consultant wants to create a MyCoolCo theme and release it under copyright so that anyone can use the theme for their own presentations but nobody is allowed to re-use his images/look-and-feel/whatever outside the S5 theme, there should be nothing that stops him from doing so.

  • The S5 system (JS, core CSS, and the way they’re put together) should be forever free to use by anyone who wants to do so.  It should be open for future development, in the event that I stop developing it and someone wants to keep going.  This would also allow anyone to fork off their own variant on S5 at any time, but that’s okay too.

    Here’s where it gets a little tricky: S5 should be able to be incorporated into any other project, commercial or not, without restriction.  Attribution to the original source is to be strongly encouraged, but not an absolute requirement.  But at no time, and in no way, should use of S5 in a closed environment ever cause a back-flow of restrictions to the original project.

In other words, anyone should be able to use S5 or a derivative work in their for-profit, wholly proprietary, patented software (or in any other circumstance).  They can even make modifications, if they like.  However, there should be no way for their use of it in a closed system to infect the original S5 source, and if their modifications make it into a future version of S5, the same should hold true.  I don’t even know if that’s possible, but it’s in the spirit of the Share Alike terms in the Creative Commons licenses.  You want to build S5 support into your $49.95 fully copyrighted and licensed editor?  Fine, no problem.  You want to extend S5 to do more cool stuff?  Also fine, but freely contribute the changes back to the place you got the code in the first place.  Don’t try to claim the original project has no right to the additions you made to it, or that the addition of those changes to the original project makes the whole thing yours.

(Not that I think any of you would do such a thing, but I have to think ahead to when S5 catches the interest of someone… well, let’s say less scrupulous.)

In a sense, I want to prevent major infection of licensing terms in both directions.  I’m not entirely sure where that leaves me, but I’d like to work it out before 1.1 goes final.


Unjustified Caption Text

Published 21 years, 5 months past

I just stumbled across a browser bug this evening that I thought you all might like to know about.  So we all know that IE6/Win supports text-align: justify, right?  Wrong.  Sorry, but it’s the truth: IE6 does not fully support text-align: justify.  True, it mostly supports that declaration, but if you apply said declaration to a caption element, guess what?  You get centered, non-justified text instead.  It’s very much as though, in the case of caption elements, IE6 replaces justify with center.

I just thought I’d pass this along in case it might help anyone else avoid some furious head-scratching.  And, I’m sorry to say, I don’t know of a workaround.  If anyone finds one, please leave a comment to that effect.

This is a perfect illustration of how difficult it is to do comprehensive CSS testing.  Every CSS support chart I’ve ever seen has marked down IE6 as supporting justified text; I mean, why wouldn’t they?  It clearly did so… for the specific test cases used to create that support chart.  The odds of a test page including a caption element are pretty vanishingly small, unless of course we’re talking about a test page that includes every single XHTML element in existence.  And to test every element known for every property-value combination… well, I’ve talked about that before.  No need to trample the same ground even flatter.


En Passant

Published 21 years, 5 months past

Last night, during a small window of down time (the first in almost a week), I fired up Freeverse‘s entirely free yet thoroughly gorgeous Big Bang Chess.  Now, it should be stated right up front that I’m not really a fan of chess.  Oh, sure, Game of Kings and all that, but generally I find it to be an almost even mixture of boredom and frustration.  The latter is particularly true because I’m just not very good at the game.  There’s too much going on, and I have to juggle too many things that might or might not happen, for it to be much fun for me.

But I was looking to keep myself occupied for a few minutes, and I have very few games installed on the laptop, so Big Bang Chess got the nod.  I immediately cranked the AI setting all the way over to the left (thus elevating fast thinking above smart thinking) and started playing.  As I blew through a few quick matches, it occurred to me that there are a few things that a computer chess game could do to make me more interested.

Human-like turn lengths for the AI.

One of the things that most often frustrates me about computer chess is that the AI will make a move within seconds of my making a move.  More often, it will do so immediately.  Then I sit there, thinking my slow organic thoughts, feeling vaguely stupid for being such a slowpoke even though I know there’s no direct comparison.  Eventually, I make a move.  Instantly, the computer makes its move.  My first reaction is, “That was awfully quick.  Was he waiting for the move I just made?  Did I just walk into a trap?  What am I missing?”  And then I go hunting around the board, not sure where to look, not sure that there’s even anything to see.

I’m aware that the computer needs only a fraction of a second to run through possible moves and pick one.  If it’s a really advanced system, it may take 20 or 30 seconds as it looks five moves ahead.  If the computer took a human amount of time before moving, say a few minutes, I’d feel more at ease.  Yes, I know that means having the computer pick a move and then do absolutely nothing for a few minutes.  I don’t care.  This is purely a matter of acting in a manner that makes me more comfortable, and therefore more likely to enjoy the entire process.  The UI could have a “go ahead and move” button tucked away in a corner for me to use if I ever got tired of waiting.

I realized this was what I wanted when I asked myself why I was setting the AI to be quick at the expense of being smart.  Aside from making it more likely that I’d win, I realized it was because I felt like if the computer was going to move at a speed that, subjectively, seemed reckless and devoid of consideration, then its moves should reflect that.  And they do.  But even if I set the AI to be as smart as possible, it’s still going to seem to me like it’s moving without putting much thought into its game.

So put up a picture of an opponent who looks around the board, holds a chin in his or her hand as if pondering deep thoughts, leans back in reflection, and generally acts like it’s still thinking even though it picked a move three minutes ago.  It will make the game more enjoyable.

An option to show all of the squares that any enemy piece can reach.

Part of my problem in chess is that I don’t have the patience to figure out whether a given square I’m considering occupying (or piece I’m thinking about taking) is already covered.  That’s largely due to all the possible ways a square can be covered.  Is there a knight within striking distance?  Can a bishop jump over from the other side of the board?  And so on.  It isn’t that I can’t manage this mental feat.  It’s just that I have little interest in doing so for every single last square that interests me, turn after turn.  So if a game tinted all enemy-reachable squares red, for example, I’d have a much better grasp of the strategic situation.

This would obviously be an option in the preferences, albeit one I’d never disable.  Having a similar “tint all squares my pieces can reach” option would be cool, too.  It would be even better if the amount of tinting of a square was based on the number of pieces that could move to it.

This kind of visualization would keep me from making stupid mistakes, and mean a lot less use of the “Undo move” option.  Who knows?  Maybe with enough play in that mode, I’d eventually reach the point where I didn’t need the help.

The ability to somehow create variant games.

Back in high school, I was a member of the chess club, mostly because a lot of my friends were members.  Also because I still bought into the idea that the really smart people played chess, and I wanted to be really smart.  We had a few variant games that I remember fondly, and it would be fun to have them reborn.  My favorite was Nuclear Chess.  In that one, any piece could instead of moving choose to self-detonate, destroying itself and any pieces in adjacent squares.  (Of course, if you did that with your King, you lost the game—unless you took out the opposing King, in which case it was a tie.)  And then there was Thermonuclear Chess, where any piece could make a normal move and then immediately detonate.

They were quick games.  Lots of fun, too.  The nature of the game changes dramatically when you have to make sure an opposing piece can’t just plow into your pawn line and immediately detonate, thus wiping out your King in the process.

Anyway, I’m not entirely sure how one could open up a chess game’s architecture to allow the creation of variants like that, but I’d love to see it happen.

Just some random thoughts on a game I don’t really like.  If you want to talk Checkers, though…


Browse the Archive

Earlier Entries

Later Entries