tag:blogger.com,1999:blog-113101782024-03-15T09:30:51.978+00:00Pebbles and shells<p>wherein I explore some of the more interesting gems I find on my meanderings about the Web:</p>
<blockquote>“I don't know what I may seem to the world, but as to myself, I seem to have been only like a boy playing on the sea-shore and diverting myself in now and then finding a smoother pebble or a prettier shell than ordinary, whilst the great ocean of truth lay all undiscovered before me.” — Isaac Newton</blockquote>David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.comBlogger19125tag:blogger.com,1999:blog-11310178.post-62067714167853459352012-06-07T12:52:00.001+00:002012-06-07T12:52:32.204+00:00Word heading numberingAnyone who has used Microsoft Word for any length of time will know that the heading numbering is fundamentally broken; a fact that is unforgivable, given that WordPerfect 5.1 had it pretty much sorted in 1989.<div><br></div> <div>One bug that I've frequently struggled with is where subsections look like this:</div><div><br></div><blockquote style="margin:0 0 0 40px;border:none;padding:0px"><div>Appendix A Name of appendix</div><div><br></div> <div>A1 Sub-heading 1</div><div><br></div><div>A1.1 A paragraph.</div><div><br></div><div>A1.2 Another paragraph.</div><div><br></div><div>A1.3 A third paragraph.</div><div><br></div><div>A2 Sub-heading 2</div><div><br></div> <div>A1.4 <b>Why?</b></div></blockquote><div><br></div><div>Getting that third level heading to number correctly is nearly impossible. Ticking the "Restart list after:" tickbox in the "Define new Multilevel list" dialog doesn't work. Sometimes just typing "A2.1<Tab>Why<Enter>" provokes Word to try to be clever and format the heading as such; then it's an easy matter to update the appropriate Heading style to match the selection. Sometimes that doesn't work. Sometimes going back and defining all the relevant heading styles from scratch works.</div> <div><br></div><div>Now I've found a new way. I noticed the "Click level to modify" list in the in the "Define new Multilevel list" dialog included A1 but not A2. That inspired the following.</div> <div><br></div><div><ol><li>Format the paragraph in the same style as A2; it'll become A3.</li><li>Demote the paragraph (possibly by using Tab, but you may need to go into Outline view to be sure).</li><li>Now the numbering should include "A.2" and possibly a lot more if, like me, you're using low-level heading styles like H6ff. [Note to self: that's probably a bad idea.]</li> <li>Now you can edit the numbering in the "Define new Multilevel list" dialog.</li></ol></div><div>It shouldn't be this difficult!</div><div><br></div> David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com2tag:blogger.com,1999:blog-11310178.post-58459070970228180312011-11-17T16:32:00.001+00:002011-11-17T16:32:20.400+00:00Testing codecogs at Posterous and Blogger<a href="<a href="http://www.codecogs.com/eqnedit.php?latex=y=\sum_{i=0}">http://www.codecogs.com/eqnedit.php?latex=y=\sum_{i=0}</a>^{n}a_{i}x^{i}" target="_blank"><img src="<a href="http://latex.codecogs.com/gif.latex?y=\sum_{i=0}">http://latex.codecogs.com/gif.latex?y=\sum_{i=0}</a>^{n}a_{i}x^{i}" title="y=\sum_{i=0}^{n}a_{i}x^{i}" /></a> David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com1tag:blogger.com,1999:blog-11310178.post-13606425424663992502011-11-03T20:21:00.001+00:002011-11-03T20:21:33.301+00:00Programming books 2A while ago, I wrote about some of <a href="http://pebblesandshells.blogspot.com/2009/03/programming-books.html">my favourite programming books</a>. I was just reminded of a couple of books that deserved a special mention. I mentioned <a href="http://en.wikipedia.org/wiki/The_C%2B%2B_Programming_Language">Stroustrup</a> <span class="Apple-style-span" style="font-family: 'Trebuchet MS', Trebuchet, Verdana, sans-serif; font-size: 14px; background-color: rgb(255, 255, 255); ">last time, but what I neglected to point out was the clever and witty epigraphs that appear at the head of each chapter. The only other book I've found to compare in that respect is Hal Fulton's <a href="http://www.amazon.co.uk/Ruby-Way-Programming-Addison-Wesley-Professional/dp/0672328844"><i>The Ruby Way</i></a> - sheer genius!</span> David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0tag:blogger.com,1999:blog-11310178.post-74089948747607497942011-11-02T22:49:00.001+00:002011-11-02T22:49:16.548+00:00Recent gemsWhen I first bought Conrad Cork's <i><a href="http://jazzwise.com/conrad-cork-a-new-guide-to-harmony-with-legoar-bricks-2008-edition.html">the New Guide to Harmony with LEGO bricks</a>,</i> I was horrified to learn that I was expected to find literally hundreds of tracks. I had been dimly aware of <a href="http://www.spotify.com/uk/">Spotify</a>, but it's great.<div> <br></div><div>Yesterday, through a link in <a href="http://news.ycombinator.com/">Hacker News</a> I think, I discovered <a href="http://sciruby.com/">SciRuby</a>. That is a project that could easily eat up all my spare time. I have oddly ambivalent views towards Python and Ruby. Like <a href="http://en.wikiquote.org/wiki/Alien_(film)">Ash in <i>Alien</i></a>, <a href="http://www.youtube.com/watch?v=pOwejOpdkpg">I admire Ruby's OO purity</a>, whereas <a href="http://xkcd.com/353/">Python just works</a>, in a <a href="http://en.wikipedia.org/wiki/DWIM">DWIM</a> kind of way - it's so good, it's boring!</div> David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0tag:blogger.com,1999:blog-11310178.post-87968059090973248402011-10-15T15:03:00.001+00:002011-10-15T15:03:35.375+00:00Dennis RitchieI missed Radio 4's Last Word yesterday, but I've just looked it up on iPlayer. I particularly wanted to hear what they had to say on <a href="http://en.wikipedia.org/wiki/Dennis_Ritchie">Dennis Ritchie</a>, who <a href="http://www.zdnet.com/blog/perlow/without-dennis-ritchie-there-would-be-no-jobs/19020">died on Wednesday</a>. I was shocked to find no mention of him. The BBC certainly <a href="http://www.bbc.co.uk/news/technology-15287391">noted his death, and acknowledged his immense contribution to today's IT</a>. So why did they have nothing to say in their primary obituary programme?<div> <br></div><div>For those who don't know, Dennis Ritchie invented the <a href="http://en.wikipedia.org/wiki/C_Programming_Language">C programming language</a>. Much of Windows is written in C; some of it is written in C++, which is based on C. If you prefer Mac to Windows, Mac OS X is based on the Unix operating system, which was written in C. In fact, Dennis Ritchie wrote much of the original Unix; that's why he invented C.</div> <div><br></div><div>The importance of C cannot be over-estimated. By the <a href="http://www.tiobe.com/index.php/content/paperinfo/tpci/index.html">TIOBE Index</a>, C is, at the time of writing, the second most popular programming language in the world. But its influence spreads far and wide. Look at <a href="http://www.digibarn.com/collections/posters/tongues/tongues.jpg">family</a> <a href="http://www.levenez.com/lang/">trees</a> of computer languages; at the time of writing, of the top 10 languages in the TIOBE Index, all but Visual Basic owe some of their heritage to C.</div> <div><br></div><div>In the early days of the Web, any pages that were generated dynamically would typically be written in C or Perl. Nowadays, much of that back-end code might be written in PHP, Ruby or Java. Some major Web companies, including Google, Yahoo! and Youtube, use Python. All of these languages have to be interpreted or compiled, that is translated to machine code, before the computer can run them. With the exception of Java, the interpreters for all of these languages are generally written in C. Several Java compilers exist, typically written in C++.</div> <div><br></div><div>Ritchie's influence extends to smartphones. Apple's iOS iPhone operating system is based on BSD, a variant of Unix. Google's Android is based on Linux, which is a functional copy of Unix. iPhone apps are written in Objective-C and Android apps are written in Java, both languages based on C.</div> <div><br></div><div>I've <a href="http://pebblesandshells.blogspot.com/2009/03/programming-books.html">written before</a> about my slightly odd habit of reading computer manuals. It started with <a href="http://www.amazon.co.uk/C-Programming-Language-2nd/dp/0131103628/ref=sr_1_1?s=books&ie=UTF8&qid=1318690117&sr=1-1">Kernighan and Ritchie</a> (Yes, Ritchie - him again!) It took me about a quarter of a century to find another <a href="http://www.amazon.co.uk/Programming-Ruby-1-9-Pragmatic-Programmers/dp/1934356085/ref=sr_1_3?s=books&ie=UTF8&qid=1318690363&sr=1-3">computer manual</a> that came close in terms of readability.</div> <div><br></div><div>There has been much written in the past couple of weeks about Steve Jobs. He was an architect, not a builder. He could say what he wanted software to do, but he couldn't write it. His fame stems mainly from his being a charismatic salesman. The artisan programmers who made his vision a reality did so using tools made by Dennis Ritchie.</div> David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0tag:blogger.com,1999:blog-11310178.post-54796538360333408082010-06-28T19:21:00.001+00:002010-06-28T19:21:19.402+00:00Visualisation tools - Part I, resonance<span></span><span></span><a></a>For several years now, I've had the notion of writing a discussion of the characteristics of various musical instruments, with a particular focus on the primary resonator (string, air column, whatever) and ignoring, at least in the first instance, the effect of the modes of vibration of other bits of the structure (because that's complicated).<div> <br></div><div>I plan, as a starting point, to consider a string, pinned at both ends. This has an infinite number of potential modes and which ones are excited depends on the mode of excitation: a guitar string starts with a displacement function and zero velocity; a piano string starts with zero displacement and a velocity that I suspect can be fairly well approximated by a Dirac delta function; I don't know about a violin string.</div> <div><br></div><div>I'll then go on to discuss wind instruments, particularly flute and saxophone (because I have them lying about the house), before dealing with the most difficult of all, the humble harmonica. That's difficult because, even using the simplest Euler-Bernoulli model, you have to deal with <a href="http://coewww.rutgers.edu/~benaroya/publications/Han%20Benaroya%20and%20Wei%20JSV.pdf" target="_blank">hyperbolic functions</a>.</div> <div><br></div><div>An optional extra module will serve as a prequel to all of this - explaining Fourier analysis and synthesis.<br><div><br></div><div>I've been wondering how best to do the graphics. The two obvious candidates are <a href="http://vpython.org/" target="_blank">VPython</a> and <a href="http://www.um.es/fem/Ejs/" target="_blank">Easy Java Simulations</a> (EJS) - there's a good <a href="http://scienceblogs.com/dotphysics/2008/11/numerical-physics-vpython-vs-easy-java-simulations.php" target="_blank">comparison</a> at the brilliant <a href="http://scienceblogs.com/dotphysics/" target="_blank">Dot Physics</a>. I've been using Python a lot lately, especially with <a href="http://www.scipy.org/NumPy" target="_blank">NumPy</a>, <a href="http://www.scipy.org/SciPy" target="_blank">SciPy</a> and <a href="http://matplotlib.sourceforge.net/" target="_blank">matplotlib</a>, and with all those great libraries it gives you essentially a free MATLAB. On the other hand, the fact that Java can run on pretty much any machine (except the IPhone), means EJS wins hands-down for an online demo.</div> </div> David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0tag:blogger.com,1999:blog-11310178.post-19047410379555367312010-03-27T20:16:00.001+00:002010-03-27T20:16:06.276+00:00The origin of Sheldon?I got a delivery from Amazon last week including <i><a href="http://www.amazon.co.uk/Eternity-Here-Quest-Ultimate-Theory/dp/0525951334/ref=sr_1_8?ie=UTF8&s=books&qid=1269555296&sr=8-8" target="_blank">From Eternity to Here</a> </i>by Sean Carroll - I enjoy his <a href="http://blogs.discovermagazine.com/cosmicvariance/">blog</a>, and he gives a good <a href="http://www.themonthly.com.au/origin-universe-and-arrow-time-sean-carroll-2196">lecture</a>, so I thought I'd buy the book. I bought a few other books in the same order, so I haven't started reading it yet, but I'm looking forward to it.<div> <div> <br></div><div>I bought the book in spite of a particularly scathing review by <a href="http://www.amazon.co.uk/review/R3CZUCG0LRFAQ2/ref=cm_cr_pr_viewpnt#R3CZUCG0LRFAQ2">Luboš Mot</a>l. I had a look at Motl's other Amazon reviews. He really doesn't like Lee Smolin's <i><a href="http://www.amazon.co.uk/gp/cdp/member-reviews/A1ZDPQA6FLY8XM/ref=cm_pdp_rev_title_3?ie=UTF8&sort_by=MostRecentReview#R29XXONRDOP7JZ">The Trouble with Physics</a>,</i> but he does like Leonard Susskind's <i><a href="http://www.amazon.co.uk/gp/cdp/member-reviews/A1ZDPQA6FLY8XM/ref=cm_pdp_rev_title_2?ie=UTF8&sort_by=MostRecentReview#R27ATPKF3FEJUX">Black Hole War</a></i>. I haven't read <i>Black Hole War</i>, but I've attempted a couple of other Susskinds. <i><a href="http://www.amazon.co.uk/Introduction-Information-String-Theory-Revolution/dp/9812561315/ref=pd_sim_b_2">An Introduction to Black Holes</a></i> defeated me. Don't be misled by the title; the tensor calculus starts on page one, and he doesn't <i>say</i> that it's tensors, he just assumes that the reader recognises them. In short, that book is aimed at readers with a better grounding in physics than I have (just a 19-year-old honours degree). On the other hand, Susskind's <i><a href="http://www.amazon.co.uk/Cosmic-Landscape-String-Illusion-Intelligent/dp/0316013331/ref=ntt_at_ep_dpt_2">The Cosmic Landscape</a></i> was superb. I read that and<i> </i>Smolin's <i>The Trouble with Physics</i> back-to-back last year, and I've been meaning to send Amazon reviews of both. I'd certainly give Smolin more than Motl's two stars, but all of this made me wonder "Who is this Motl guy?"</div> <div><br></div><div>According to <a href="http://en.wikipedia.org/wiki/Lubo%C5%A1_Motl">Wikipedia</a>, Motl's a (former) string theorist who's left Harvard to return to his native Czech Republic where he writes a <a href="http://motls.blogspot.com/">blog</a>, in which he denies anthropogenic global warming, among other rants. He's also written a <a href="http://motls.blogspot.com/2008/01/lequation-bogdanov.html">book</a> (in French) commending the work of the <a href="http://en.wikipedia.org/wiki/Bogdanov_Affair">Bogdanov brothers</a>. I'll grant that Motl is better placed than I am to understand their work but I'm still convinced, <a href="http://pebblesandshells.blogspot.com/search?q=bogdanov">as I wrote back in 2007</a>, that it's nonsense. The most interesting snippet I've picked up on Motl, from an <a href="http://nige.wordpress.com/2006/08/31/assistant-professor-lubos-motls-disgraceful-attack-on-lee-smolin/">incoherent jumble</a> of a blog, is that <i>The Big Bang Theory</i>'s <a href="http://www.youtube.com/watch?v=iapcKVn7DdY">Sheldon</a> was modelled on him. Actually, I should probably point to <a href="http://www.youtube.com/watch?v=FMSmJCKaaC0&feature=player_embedded">this clip</a>; although it isn't just Sheldon, the views he espouses in it are Motl's.</div> <div><br></div><div>While looking for links for this post I stumbled across this <a href="http://blogs.discovermagazine.com/cosmicvariance/2006/03/03/crackpots-contrarians-and-the-free-market-of-ideas/">article</a>, complete with comments by all the major players I've mentioned. I haven't finished reading it yet, but Motl is as tactful as ever.</div> </div> David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0tag:blogger.com,1999:blog-11310178.post-33663378900062744102009-03-08T10:43:00.002+00:002009-03-08T10:58:49.849+00:00Programmers' resourcesI've recently been doing some Ruby coding and thinking about having a go at Python (<a href="http://vpython.org/">VPython</a> looks like fun!). I mentioned <a href="http://pleac.sourceforge.net/">PLEAC</a> in passing in my previous post, but another interesting site is <a href="http://stackoverflow.com/">Stack Overflow</a>, which cropped up in response to a Ruby question I was googling. The odd thing is that I've never really used Stack Overflow before, despite the fact that it's been created by two guys, <a href="http://www.joelonsoftware.com/">both</a> of whose <a href="http://www.codinghorror.com/blog/">blogs</a> I subscribe to. It has obviously picked up a few of the good points of <a href="http://www.perlmonks.org/">PerlMonks</a>. If it can build such a strong community, it'll be a great resource.David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0tag:blogger.com,1999:blog-11310178.post-49368967900698438382009-03-06T20:38:00.005+00:002009-03-07T21:04:36.191+00:00Programming books<p>You may think it odd, but I've read a few programming books, in various languages. Okay, I've skipped the reference chapters, and occasionally danced lightly across other bits that I found dull, but I've read the substance of them. The first was <a href="http://en.wikipedia.org/wiki/The_C_Programming_Language_%28book%29">K&R</a>, and it was a revelation. I'd done a bit of BASIC and a bit of assembler, but my ideas of programming were largely shaped by FORTRAN, specifically Data General's <a href="http://en.wikipedia.org/wiki/Fortran_5_%28programming_language%29#Fortran_5">FORTRAN 5</a>. Dynamic memory allocation was a new, and fascinating, concept.</p>I read K&R over a weekend. It helped that it was the first (pre-ANSI) edition, and quite short.<br /><p></p><p>There was a time when I tried out a variety of <a href="http://www.borland.com/">Borland</a> products. Turbo Pascal's manuals included an excellent introduction to OOP. Turbo C++'s documentation was very sparse by comparison. Borland C++'s documentation came on CD, with 10-volume dead-tree edition an option. I was never tempted to try to read it through. Borland C++ was vastly superior to Microsoft's product, but I've long since given up expecting the market to make rational choices. Borland continued to make innovative products. In a rational world Delphi should have wiped out VB. It spawned C++ Builder, which was in a class of its own, and JBuilder, which found itself up against some stiff competition.<br /></p> <p>But I digress. I read <a href="http://en.wikipedia.org/wiki/The_C%2B%2B_Programming_Language">Stroustrup</a>. It was hard work, but I got through it. It certainly didn't grab me in the same way as K&R (and it was a lot longer).<br /></p> <p>I wanted to like Eckel's <a href="http://www.mindviewinc.com/Books/"><span style="font-style: italic;">Thinking in Java</span></a>. I really did. To be fair, it's aimed at novice programmers, and covered far too much of the basics, far too thoroughly for my needs. I hadn't the patience to read it.<br /></p> <p>Next up was Perl. I read the <a href="http://en.wikipedia.org/wiki/Learning_perl">llama</a>, and learned a lot. It's hard to write three interesting chapters about regular expressions, but that book's a good introduction to the language. But it's still just a primer. For a full understanding of the language, you'd have to read the <a href="http://en.wikipedia.org/wiki/Programming_Perl">camel</a>. But I couldn't. It's a good reference, but I couldn't find the motivation to read it. At this point, I have to mention <a href="http://en.wikipedia.org/wiki/Perl_Cookbook">Perl Cookbook</a>. I haven't read that from cover to cover either, but it's an invaluable resource when writing Perl. (And while seeking a link for that last sentence I discovered <a href="http://pleac.sourceforge.net/">PLEAC</a> - I must investigate that further.)</p> <p>After Perl, there were two other languages I wanted to explore (three if you count Lisp). Ruby and Python were the major contenders. At the time I was using NetBeans for Java development and NetBeans 6 came along with Ruby support out of the box. So I read <a href="http://whytheluckystiff.net/ruby/pickaxe/">The Pickaxe</a>. Wow! This was the book I'd been looking for since K&R.</p><p>As with Eckel on Java, I really wanted to like <a href="http://corepython.com/">Core Python Programming</a>. The eight reviews on Amazon, all awarding it five stars, seemed almost too good to be true, but I felt if they were all part of a marketing exercise, somebody would have added a bad review. I'm finding it hard work.<br /></p>David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0tag:blogger.com,1999:blog-11310178.post-32547824374613754962007-11-04T10:47:00.000+00:002007-11-04T16:17:42.860+00:00Respect for FlashBack in June last year, I issued a <a href="http://pebblesandshells.blogspot.com/2006/06/quis-custodiet-ipsos-custodes.html">challenge</a>:<br /><blockquote>"And I have <em>never</em> seen a Flash movie that was worth waiting for."</blockquote> Then came <a href="http://fsk.deviantart.com/art/Line-Rider-beta-40255643">Line Rider</a>. Am I alone in thinking that the <a href="http://www.linerider.com/">latest version</a> has lost some of its charm? It's certainly lost some of its challenge. Now I've encountered <a href="http://alanbecker.deviantart.com/art/Animator-vs-Animation-34244097">Animator vs. Animation</a> and its sequel <a href="http://alanbecker.deviantart.com/art/Animator-vs-Animation-II-50891749">Animator vs.Animation II</a>. AvA is surely to Flash what <a href="http://www.luxo.com/Kunder/Luxo/MMArkiv.nsf/lupgraphics/media_7XQhhS.swf/$file/media_7XQhhS.swf">Luxo Jr.</a> was to <a href="http://en.wikipedia.org/wiki/Luxo_Jr.">rendered graphics</a> in <a href="http://www.pixar.com/shorts/ljr/">1986</a>.<br /><br />These are outstanding Flash movies, well worth seeking out for their own sake. But if I'm looking for information, Flash just gets in the way.David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0tag:blogger.com,1999:blog-11310178.post-13062475452450389522007-09-06T18:50:00.000+00:002007-09-06T21:09:47.719+00:00MIcrosoft take on the worldA few months ago, I published a <a href="http://pebblesandshells.blogspot.com/2007/02/few-words-about-words-and-word.html">rant</a> about, <span style="font-style: italic;">inter alia</span>, how many people make life difficult for themselves, and me, by their failure to understand more than the absolute basics of using a word processor. Nowadays, of course, Microsoft's dominance of the market is such that "a word processor" almost invariably means "Microsoft Word". It is all the more irritating, therefore, that Microsoft invest so much money in maintaining the user-hostility of their software. <a href="http://www.joelonsoftware.com/items/2007/08/18.html">Joel Spolsky</a> has written on the subject of Office 2007, but there's a lot more to be said, and it all comes down to Microsoft's commercial need for change for change's sake.<br /><br />In my previous article, one of my major grievances concerned people's failure to use styles. Sadly, Microsoft feel compelled to revamp the user interface to styles in every major release of Word. In Word 2003, they changed the Styles drop-down menu on the Formatting toolbar to clutter it up with “styles” generated on-the-fly as well as those formally defined. This, of course, made <span style="font-style: italic;">real</span> styles harder to find. They also relegated the modification of styles to a new pane. And even there, Modify Style… was quite well hidden.<br /><br />Numbered paragraphs in Word have always frustrated me. The fact that there is an entire <a href="http://groups.google.co.uk/group/microsoft.public.word.numbering/topics">newsgroup</a> devoted to the subject of numbering in Word suggests that the implementation is unnecessarily difficult. But one aspect had me baffled for years. I've often needed to use hierarchically numbered headings and, in Word 2003, I was often frustrated by the fact that I could rearrange hanging indents and margins in a numbered paragraph and <span style="font-style: italic;">apparently</span> change a style to match the current paragraph, but the next time I applied that style, it would revert to the previous indents and margins.<br /><br />A former colleague (Thanks Iain!) eventually worked out what was going on. In Word 2003, Modify Style | Format | Numbering | Customize brought up the Customize Outline Numbered List dialog, with its own tabs and indents that superseded those under Modify Style | Format | Paragraph.<br /><br />Now I've moved to a new employer and, just as I was beginning to understand Office 2003, I have to use Office 2007. I can’t find the Customize Outline Numbered List dialog (or equivalent) anywhere. My new employer wants reports with hierarchically numbered headers, but also wants individual conclusions and recommendations to be numbered in a way similar to H2, without actually <i>being </i>H2. In particular, it looks very silly if the complete text of the conclusions and recommendations appears in the contents. I can get around this by limiting the contents to level H1, but it’s a kludge.<br /><br />All of this is detail; the biggest change in Office 2007 is that they've done away with the menu bar. No, I'm not kidding. After years of writing guidelines about how the menu bar should include File, Edit, ... , Help, they've thrown away the book. This <span style="font-style: italic;">might</span> be an improvement for users who've never used Windows, Apple's System or any Unix/Linux desktop environment. But for anyone who's used a computer in the past decade or two, it's a pain in the butt.<br /><br />As I said at the start, Microsoft need change for change's sake; well actually it's for money's sake. They have to keep selling product; and when your product is software, you need to convince people that their current software is obsolete and needs to be replaced. A while back, I read in one of my employer's internal newsgroups somebody complaining that the version of Office we were using was obsolete, because the subsequent version was three years old. The implication was that software became useless because it was old, that it somehow wore out. I pointed out that the decision to replace, or not to replace, software was a commercial one. The cost of replacing software includes the costs of:<br /><ul><li>the software itself;</li><li>additional memory to run it;</li><li>upgrading processors to run it;</li><li>additional disk space to run it;<br /></li><li>training staff to use it;</li><li>rewriting templates;</li><li>rewriting macros;</li><li>and probably a few others I've forgotten.<br /></li></ul>Against those costs a business has to weigh up the costs of <span style="font-style: italic;">not</span> replacing the software. "The new version's three years old." has little quantitative value. "Bill Gates needs the money" may have a value, but it's negative. The need to exchange files with customers who have gone over to the other side is a valid argument, but its financial value is finite.<br /><br />Running a business is a balancing act, balancing the conflicting interests of suppliers, employees, customers and shareholders. Office 2007 is perhaps the most stark example of how the interests of the shareholders can conflict with the interests of all the other stakeholders. When the business is Microsoft, it's the shareholders against a substantial proportion of the world's population.David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com4tag:blogger.com,1999:blog-11310178.post-74215919188387749622007-03-14T12:48:00.000+00:002007-03-15T21:41:01.432+00:00Credible science<a href="http://worsethanfailure.com/">Worse Than Failure</a> has a wonderful <a href="http://worsethanfailure.com/Articles/Failing_the_Turing_Test.aspx">story</a> about "experts". Incidentally, I notice the distinction between "Expert" and "expert" in the US is almost the opposite of my experience here in the UK. This side of the pond, it's usually those who are trying to impress people with bullshit who feel compelled to use Initial Capitals. Real experts are much more modest.<br /><br />The WTF story provides a link to <a href="http://pdos.csail.mit.edu/scigen/">SCIgen</a>, where we can read of "scientific" conferences that apparently accept papers submitted without peer review. Amusing though this story is, it points to a serious issue: if practical jokers like <a href="http://pdos.csail.mit.edu/scigen/">SCIgen</a> can get papers published, so to can incompetents and frauds.<br /><br />The SCIgen site links to a <a href="http://www.cg.tuwien.ac.at/%7Ewp/videa.html">page at the Technical University of Vienna</a>, which accuses the <a href="http://www.wessex.ac.uk/">Wessex Institute of Technology</a> of a similar lack of standards. It's not perhaps surprising that WIT didn't feel obliged to respond in detail to all of the accusations, given the way they were presented, but that's unfortunate, because there was <span style="font-style: italic;">prima facie</span> evidence of a case to answer. And when WIT were making hundreds of pounds from every paper accepted for publication, they had a duty to their customers to show that their peer review process was honest.<br /><br />The accusations against WIT were over ten years ago. Even if true, the events described were perhaps an isolated incident. WIT seem to have put such events behind them, until <a href="http://www.discovery.org/scripts/viewDB/index.php?command=view&id=2181">Scott A. Minnich & Stephen C. Meyer</a> happened along. Minnich and Meyer were bright enough, and dishonest enough, to leave their silliest creationist conclusions out of their abstract. They weren't bright enough, or were dishonest enough, not to reference <a href="http://www.talkdesign.org/faqs/flagellum.html">Nicholas Matzke's paper</a> a year earlier that discredited their irreducible complexity nonsense. Matzke's explanation is neatly summarised <a href="http://www.youtube.com/watch?v=SdwTwNPyR9w">here by cdk007</a>.<br /><br />Of course, conferences' review processes are subject to ineluctable time constraints. Journals can afford to be a bit more rigorous. That's why the <a href="http://en.wikipedia.org/wiki/Sokal_Affair">Sokal affair</a> was such a shock. Alan Sokal published a <a href="http://physics.nyu.edu/faculty/sokal/transgress_v2/transgress_v2_singlefile.html">nonsense paper</a> in the journal <a href="http://www.dukeupress.edu/cgibin/forwardsql/search.cgi?template0=nomatch.htm&template2=journals/j_detail_page.htm&user_id=81522378087&Jmain.Journal_Name_option=1&Jmain.Journal_Name=Social+Text&Jmain.ISSN=0164-2472"><i>Social Text</i></a>. The same day it appeared, <a href="http://physics.nyu.edu/faculty/sokal/lingua_franca_v4/lingua_franca_v4.html">this</a> appeared in a different journal. When I first read that last, I was slightly puzzled as to why Sokal seemed to believe that he belongs to some coherent body called "the Left", some of whose members he thinks have let the side down. I've since learned, from <a href="http://www.scienceblogs.com/">ScienceBlogs</a> and elsewhere, just how one-dimensional US politics is.<br /><br />In the Sokal affair we saw how social scientists could be fooled by real scientists like us; my, how we laughed. Real scientists could never be taken in so easily. Oh yeah? The <a href="http://en.wikipedia.org/wiki/Bogdanov_Affair">Bogdanov affair</a> wiped the smiles off a few faces.<br /><br />Notice how the Wikipedia article on the Bogdanov affair has been protected against vandalism. The controversy rumbles on. One of the major supporters of the Bogdanov brothers was a Professor Yang at Hong Kong University. Unfortunately (a) the university had never heard of him and (b) his postings were traced (by IP address) to a Paris dial-up connection. The Bogdanov brothers lived in Paris at the time.<br /><br />If smart people can be awarded PhDs for fraudulent science, how much credence can we give to scientists who announce their results on the Web, on TV or in the press? At best, a rush to publication is motivated by the increasing need for academics to court funding. <a href="http://en.wikipedia.org/wiki/Cold_fusion">Fleischmann & Pons</a> might charitaby be seen in this category. At worst, it is a sign of incompetence or fraud. <a href="http://www.steorn.com/">Steorn</a> are little more than a PR agency, and are not to be taken seriously. But the world's energy problems seem to attract miracle solutions. If it's not a hitherto unknown energy source, it's pretending the problems don't exist. Martin Durkin, who has a record for "selective editing" has been <a href="http://www.badscience.net/?p=383">given airtime</a> by Channel 4 again. His allegations are debunked at <br /><a href="http://www.realclimate.org/index.php/archives/2007/03/swindled/#more-414">RealClimate</a>.David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0tag:blogger.com,1999:blog-11310178.post-38866693124814967872007-02-26T15:09:00.000+00:002007-03-14T12:43:34.964+00:00A few words about words and Word<em>diatribe - an invective harangue - Chambers</em><br /><br /><h4>Introduction</h4><p>The following are some thoughts on writing and formatting British English. Due to restrictions imposed by my employer, it assumes the use of MS Word under MS Windows. This document was mostly written some years ago, but I occasionally get irritated and feel the need to express my views on this subject. It's been cobbled together over the years, with more thought in some areas than others. </p><p>The purpose of this document is to provoke thought and debate. We may end up with a difference of opinion, but at least it will be considered, informed opinion rather than habit.<br /></p><br /><h4>Style guide</h4><br /><h5>Introduction</h5><p>This section is largely about matters of taste, rather than absolute rights and wrongs. Inevitably the boundaries are a bit blurred. Where there is no absolute right and wrong, any organisation ought to have a house style. </p><p>Gowers’ <a href="http://www.amazon.co.uk/Complete-Plain-Words-Reference-Books/dp/0140511997/sr=8-1/qid=1172502971/ref=sr_1_1/026-6104631-0221260?ie=UTF8&s=books">The Complete Plain Words</a> is essential reading for anyone writing British English. Any employer whose business whose products include reports written in British English should buy a copy for every small office and several for every open-plan area. Better still, all staff should have a copy each.<br /></p><br /><h5>Title Case (sic)</h5><p>is an American invention. You won't find it in any UK newspaper for instance. This side of the pond, it is usually recognised that spaces are enough to allow readers to distinguish words. Gowers acknowledges that book titles should be in title case, but uses "sentence case" for chapter headings.<br /></p><br /><h5>Justification</h5><p>That's an odd one. Typographers deplore it but most books and all newspapers use justified text. It generally makes the page look neat at a distance, but can lead to very ugly text when long words appear in narrow columns. It can also lead to unsightly and distracting "rivers" of whitespace running down the page, especially if there are double spaces between sentences (see below).<br /></p><br /><h5>Spaces between sentences</h5><p>The notion of typing two spaces between sentences is a typist's superstition. There is some small argument in its favour when using monospaced fonts, because the full stop can appear detached from the preceding sentence. It has no place when using proportional fonts, but those who favour it will assume they are right because they know no better. It's a bit like the superstition against split infinitives in that respect.<br /></p><br /><h5>Fonts</h5><p>Organisations should set, and their employees should conform to, standards on this. I've read a lot of views on the subject, and the consensus seems to be that large blocks of text are easier to read in serif fonts and sans-serif fonts are better for headings. However, some evidence suggests that the "easier to read" is more because it's what we're used to than because of some intrinsic quality of the font face. In any case, practically all research on this area has dealt with text on paper; on a computer screen, especially without anti-aliasing, serifs are crude and ugly. Nevertheless, we should conform to our companies' standards on this. </p><p>For emphasis and headings, italics and boldface are much easier to read than underlines and block capitals.<br /></p><br /><h4>Common spelling and punctuation errors</h4><br /><h5>Apostrophes</h5><p>If in doubt, don't. Gowers suggests using them when talking about individual letters, "mind you p's and q's". I would argue that the letters should be in quotes.<br /></p><br /><h5>Capitals</h5><p>If in doubt, don't.<br /></p><h5>-ise/-ize</h5><p>Authorities differ. <a href="http://www.amazon.co.uk/Fowlers-Modern-English-Usage-3rd/dp/0198610211/sr=1-8/qid=1172503245/ref=sr_1_8/026-6104631-0221260?ie=UTF8&s=books">Fowler</a> suggests using -ize whenever possible. Gowers is more pragmatic (and possibly more relevant because it's more modern). According to Gowers, in British English, -ise is never wrong, but -ize sometimes is. Hence it's easier to use -ise, but don't criticize (sic) others unless you know they're wrong.<br /></p><br /><h4>Using Word</h4><br /><h5>Introduction</h5><p>Back in the early 1980s, Apple introduced the world<a title="" style="" href="http://www2.blogger.com/post-create.g?blogID=11310178#_ftn1" name="_ftnref1">[1]</a> to the user-friendly drag-and-drop user interface. Corporate computer-buyers showed that they didn’t understand the most obvious economics. The price of a Macintosh out of the box was £ 1000 more than a comparable PC. The cost of training staff to use it was much less – in the medium term, the Macintosh was far cheaper than the PC. This point was beyond the myopic vision of the bean-counters. </p><p>Although it took Microsoft until 1995 to come up with an operating system anywhere near as user-friendly as Apple’s, they were quick to spot the advantages for applications, and Microsoft Office has always been easy to use. But still the bean-counters miss the obvious. The cost of training staff to use tools like Word is much less than it used to be, but it is non-zero. Pretending it is zero, and just leaving staff to get on with it, just means many more expensive hours of frustration as people reinvent the wheel, and work around Word features, because they don’t know how to make the features work for them.<br /></p><br /><h5>Styles</h5><p>This one really irritates me. It's bad enough that we reinvent the wheel with every new document, but some people reinvent the wheel with every paragraph. In a typical document, you will have a title, a hierarchy of two or three levels of heading, some body text, perhaps some bullets, and a few oddities such as references and captions. Each of these types of text should be presented in a consistent way, with a font face and size, margins, tab stops and paragraph spacing. Word provides a mechanism to define a series of styles, wherein all these features are defined. It even provides, with each document template, a series of default styles (and more factory defaults if you control-click the drop-down menu of styles). These are easily tailored to your needs (but please don't mess with your employers' templates without good reason). Please, please, PLEASE use them - they'll make your life (and mine) a lot easier. </p><p>One word of caution - I would advise against using the Normal style, because many other styles inherit its characteristics, and any changes you may make to Normal in future may have unforeseen consequences. Body Text is safer. </p><p>If anyone understands the arcane mysteries of bullets (and I would suggest bullets are only used in conjunction with styles), please explain them to me.<br /></p><br /><h5>Cross-references</h5><p>Word provides a mechanism for maintaining links to figures, tables and references in documents. It's not infallible, but it can save a lot of very tiresome editing.<br /></p><br /><h5>Track changes</h5><p>This is a useful way of putting comments and suggested changes into other people's draft documents.<br /></p><br /><h5>Fields</h5><p>These are useful for embedding boiler-plate text, such as the document title, as well as formatting things like page numbers. Right-click on a field (usually shaded with a grey background) and select "Toggle Field Code" to see the field codes - this is often useful when your page numbers are going screwy.<br /></p><br /><h5>“Keep with next”</h5><p>All heading styles should have this option set. Widow/orphan protection on body text is quite useful too.<br /></p><br /><h4>Miscellanea</h4><br /><h5>File names</h5><p>Windows, and Windows applications, are inconsistent in their handling of spaces in file names. To keep life simpler, it's best to avoid them, especially in folder names. </p><p>What's the singular of "miscellanea"? "Miscellaneum"?</p><p><a title="" style="" href="http://www2.blogger.com/post-create.g?blogID=11310178#_ftnref1" name="_ftn1">[1]</a> Yes, I know it was invented at Xerox's Palo Alto Research Center - but they did nothing with it.<br /></p>David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com1tag:blogger.com,1999:blog-11310178.post-1167415991248466002006-12-29T17:58:00.000+00:002006-12-29T18:13:11.333+00:00Picture perfectBBC NEWS has published "<a href="http://news.bbc.co.uk/1/hi/in_pictures/6194151.stm">The best pictures sent in by our readers during 2006</a>", including one by my sister. Congratulations Christine!David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0tag:blogger.com,1999:blog-11310178.post-1158762005329495732006-09-20T11:50:00.000+00:002007-03-14T12:42:02.266+00:00AjaxAjax is at the heart of a quiet revolution that is sweeping the Web. Many people have seen, and been impressed by, its effects; fewer have heard of it.<br /><br />Ajax is not a single technology; rather it is a cobbling together of several disparate tools, adapting them in ways they were not designed to work. In other words, it's a kludge, but it's one that makes dynamic Web pages look a lot more like desk-top applications than they ever did before. It will never be what Java could have been without the Sun/Microsoft <a href="http://news.com.com/2100-1001-251401.html">pissing contest</a>, but it's the best we've got for now.<br /><br />The term "Ajax" seems to have been coined by Jesse James Garrett, and one of its earliest uses was in his <a href="http://adaptivepath.com/publications/essays/archives/000385.php">February 2005</a> essay for <i>Adaptive Path</i>, where he says it "is shorthand for Asynchronous JavaScript + XML". He cites <a href="http://maps.google.com/">Google Maps</a> as one of the best-known examples of Ajax technology, and references Joel Webber's blog <a href="http://web.archive.org/web/20050331002145/jgwebber.blogspot.com/2005/02/mapping-google.html"><i>as simple as possible, but no simpler</i></a> for an explanation of how it works.<br /><br />Throughout 2005, the Web was abuzz with tales of Ajax. In September of that year, venture capitalist Dan Grossman in his blog <i>A Venture Forth</i> listed his <a href="http://www.aventureforth.com/2005/09/06/top-10-ajax-applications/">Top 10 Ajax Applications</a>, followed swiftly by his<br /><a href="http://www.aventureforth.com/2005/09/16/top-10-ajax-applications-part-2/">Top 10 Ajax Applications (Part 2)</a>.<br /><br />In 2006, the novelty wore off, but quietly in the background people have continued developing their Ajax applications. "Applications" is the appropriate word, because of the way Ajax brings the Web and the desktop closer together than ever before. When <a href="http://www.protopage.com/">Protopage</a> featured in Dan Grossman's original list , it was very close to being the Web application I had always wanted. It has been steadily refined ever since, and my own Protopage (with its public interface at <a href="http://www.protopage.com/david.mclaughlin">http://www.protopage.com/david.mclaughlin</a>) is now one of my favourite Web portals.<br /><br />People who care about accessibility may have concerns about Ajax. The most obvious one is that it relies on JavaScript, which has a different flavour for every browser on the market. Microsoft's version isn't even <em>called</em> JavaScript, but JScript. But there <em>is</em> a standard, <a href="http://www.ecma-international.org/publications/standards/Ecma-262.htm">ECMAScript</a>, which provides cross-browser compatibility for a significant subset of JavaScript and JScript.<br /><br />Another concern is that Ajax applications sometimes "break the Back button", but I fear there is an element of <a href="http://en.wikipedia.org/wiki/Cargo_cult_programming">cargo cult</a> thinking behind this taboo. When using a browser to step through a series of static pages, it is obvious what the Back button should do. When running an application within a browser, it is no longer obvious: should it go back to the previous page, or to some previous state within the current application? Ajax developers should give careful thought (and user testing) to what the back button should do in any given situation.<br /><br /><h2>Further reading</h2><br /><br /><a href="http://en.wikipedia.org/wiki/AJAX">Ajax (programming)</a> in Wikipedia<br /><a href="http://swik.net/Ajax">Ajax</a> in SWiKDavid McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0tag:blogger.com,1999:blog-11310178.post-1156937623123337452006-08-30T11:28:00.000+00:002006-08-31T18:51:48.760+00:00The wacky world of the WebThere's been a bit of a kerfuffle lately about <a href="http://www.steorn.net/frontpage/default.aspx">Steorn</a>'s perpetual motion machine. On their Web site, they proudly proclaim:<br /><br /><blockquote>"We have developed a technology that produces free, clean and constant energy.<br /><br />This means never having to recharge your phone, never having to refuel your car. A world with an infinite supply of clean energy for all.<br /><br />Our technology has been independently validated by engineers and scientists - always off the record, always proven to work."<br /></blockquote><br /><br />They're obviously doing something right, to get all of this publicity, but exceptional claims call for exceptional evidence. If you want to write off a century and a half of thermodynamics, that calls for very exceptional evidence indeed. And their evidence? "independently validated by engineers and scientists - always off the record". In other words, none at all. I won't be holding my breath.<br /><br />Reading about Steorn reminded me of another proponent of alternative energy sources, <a href="http://www.eece.ksu.edu/~gjohnson/">Gary Johnson</a>. On the face of it, he seems like a sensible chap. His book "Wind Energy Systems" (on that page) is a pretty decent text. But scroll down to the bottom of the page to find his two treatises on a whole new energy source. The evidence for its existence? The gist of the argument seems to be:<br /><br />1. All energy sources known to physics are running out.<br />2. God wouldn't let us run out of energy.<br />3. Therefore physics is incomplete.<br /><br />It's logic, Jim, but not as we know it.<br /><br />Browsing through <a href="http://thedailywtf.com">The Daily WTF</a>, I stumbled across a reference to <a href="http://alexchiu.com/">Alex Chiu</a>. Clearly an out-and-out fruitcake. Or is he? Maybe he's found some suckers to pay for his snake oil. Even a brutal <a href="http://interviews.slashdot.org/article.pl?sid=01/06/07/1421238&tid=95">interview</a> on Slashot doesn't seem to have perturbed him.<br /><br />For a real loony, how about <a href="http://www.timecube.com/">Gene Ray</a>? Or is he some experiment in artificial intelligence?<br /><br />Usenet newsgroups seem to attract their fair share of nutters. From uk.legal, there's <a href="http://www.mi5.com">Mike Corley</a> (Just how incompetent do you think MI5 are? They've been trying to kill you for fifteen years?) And from sci.military.naval, there's <a href="http://members.aol.com/alanyu5/">Alan Yu</a>, who has been persecuted for years by "invisible tiny (like small ant size)" government agents.David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0tag:blogger.com,1999:blog-11310178.post-1151694455550185812006-06-30T19:01:00.000+00:002006-07-05T07:22:10.023+00:00Quis custodiet ipsos custodesMy attention has just been drawn (thanks <a href="http://www.bbc.co.uk/dna/h2g2/U803114">Edward</a>) to <a href="http://www.designbyfire.com/">Design by Fire</a> and, in particular, its <a href="http://www.designbyfire.com/?p=4">critique</a> of Jakob Nielsen's <a href="http://www.useit.com/alertbox/20040510.html">Guidelines for Visualizing Links</a>. Well I can't pass up the opportunity to pass comment on a site passing comment on a site that passes comment on all other sites.<br /><br />First a few comments on Design by Fire itself. It looks good. Very good. Better in Firefox, but not bad in IE. But it <em>relies</em> on Javascript for navigation. Minus several million for accessibility.<br /><br />Now for their comments on Nielsen.<br /><br /><h3>Keith</h3><br /><br />XHTML? Where have you been? Try Googling in <a href="http://groups.google.co.uk/group/comp.infosystems.www.authoring.html/search?group=comp.infosystems.www.authoring.html&q=xhtml&qt_g=1&searchnow=Search+this+group">ciwah</a>. Internet Explorer is <em>broken</em>. It cannot handle XHTML without some serious hackery. As long as 90% of Web users cannot deal with XHTML <span style="font-style: italic;">qua</span> XHTML, it would be stupid (or ignorant - I've done it myself) to use it.<br /><br />HTML Strict is the <em>only</em> way to go.<br /><br />Verdana? <a href="http://groups.google.co.uk/group/comp.infosystems.www.authoring.stylesheets/search?group=comp.infosystems.www.authoring.stylesheets&q=verdana&qt_g=1&searchnow=Search+this+group">ciwas</a> is the place to Google for that. Verdana is produced by Microsoft. In an astonishing act of magnanimity, it is available for Mac as well as Windows. It is not, nor is it ever likely to be, available for Linux, FreeBSD or other systems. That's not a major problem though, is it? After all, CSS provides for graceful degradation by allowing a list of alternative fonts to be suggested. Unfortunately, Verdana lies about its size - at a given nominal size, it is taller and <em>much</em> wider than other faces. That means it is <em>impossible</em> to include Verdana in a list of fonts that will look even vaguely similar.<br /><br /><h3>Didier</h3><br /><br />Flash? There's a saying; well okay, it's not widely known, indeed I coined it myself, but I've been using it in sigs and elsewhere for some time:<br /><br /><blockquote>Flash doesn't make Web sites inaccessible; trained monkeys make Web sites inaccessible.</blockquote><br /><br />Flash isn't <em>necessarily</em> bad. And Macromedia have given serious thought to accessibility issues. But Flash attracts trained monkeys.<br /><br />The problem with Flash goes deeper than that. I'm willing to entertain the possibility that a competent designer could use Flash to enhance a Web site, but I have <em>never</em> seen an example. Pause a few moments to let that sink in.<br /><br />I usually use the Web to find information. That usually means reading text. I have <em>never</em> seen a use of Flash that allowed me to find what I was looking for more quickly or easily.<br /><br />Of course there's more to the Web than text. Occasionally, as with <a href="http://www.flickr.com/">Flickr</a>, images are central to the purpose of a page or an entire site, but a few well-chosen graphics can add life to almost any page. I'm prepared to believe that Flash offers potential benefits that go way beyond simple line graphics or photographic images. but those benefits have a cost. Even with today's broadband links, Flash takes time to download. And I have <em>never</em> seen a Flash movie that was worth waiting for.<br /><br />And yes, that's a challenge.David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0tag:blogger.com,1999:blog-11310178.post-1111912088740199432005-03-27T07:50:00.000+00:002005-03-27T16:28:00.166+00:00An old dog learns a new trickI've been tinkering with Web design since about 1996. True, I haven't designed very many sites, but I think my experience reflects, in microcosm, some aspects of the evolution of Web design itself.<br /><br />The first Web pages were exclusively textual; then came graphics. Pretty soon, it became clear that constructing Web sites could be as much a matter of graphic design as information design. <a href="http://www.dsiegel.com/index.shtml">Dave Siegel</a> was the great evangelist of this school of pixel-perfect Web design.<br /><br />I like good graphical design. I can spend hours choosing just the right font and colours, kerning, anti-aliasing and cropping. But somewhere along the line I, like many others, lost sight of what the Web was <em>for</em>. Now, I'm aware that that's a can of worms: different people have different ideas, and to say that others are wrong is to run the risk of being labelled a zealot. Well, maybe I'm a zealot.<br /><br />Presentation is all very well, but if the content is inaccessible to the target audience, it's useless. In the UK, where I am, commercial organisations are legally obliged, under the <a href="http://www.legislation.hmso.gov.uk/acts/acts1995/1995050.htm">Disability Discrimination Act 1995</a>, to address accessibility. I believe the US has similar legislation called the Americans with Disabilities Act and Section 508. But how can we assure Web sites are accessible?<br /><br />As is so often the case when you're looking for information on the Internet, the best place to look is not the Web, it's Usenet, and particularly the Google Groups (formerly DejaNews) archive. The groups in <a href="http://groups.google.co.uk/groups?hl=en&lr=&ie=UTF-8&group=comp.infosystems.www.authoring">comp.infosystems.www.authoring</a>, and in particular the <a href="http://groups.google.co.uk/groups?hl=en&lr=&ie=UTF-8&group=comp.infosystems.www.authoring.html">HTML</a>, <a href="http://groups.google.co.uk/groups?hl=en&lr=&ie=UTF-8&group=comp.infosystems.www.authoring.site-design">site design</a> and <a href="http://groups.google.co.uk/groups?hl=en&lr=&ie=UTF-8&group=comp.infosystems.www.authoring.stylesheets">stylesheets</a> groups are a good source of advice. But be careful - there's a <em>lot</em> of zeal there.<br /><br />But the Web would be a very dull place if there was <em>no</em> graphic design. <a href="http://www.useit.com/">Jakob Nielsen</a> is widely respected; indeed, it's unusual to see his name without the phrase "usability guru" nearby. But few companies would be content with a Web site as minimalist as his. <br /><br />The key to accessible Web design in 2005 is the separation of content and presentation by the use of Cascading Style Sheets (CSS). Two leading advocates of this approach are <a href="http://www.meyerweb.com/">Eric Meyer</a> and <a href="http://www.mezzoblue.com/">Dave Shea</a>. It's hard to imagine how that separation could be better demonstrated than by Dave's <a href="http://www.csszengarden.com/">CSS Zen Garden</a>.<br /><br />Which, finally, brings me to the new trick mentioned in the title of this piece. Using graphics for titles while respecting accessibility isn't just a matter of choosing good <code>alt</code> text. <a href="http://www.stopdesign.com/articles/replace_text/">Image substitution</a> is the way to go. Let me at it!David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0tag:blogger.com,1999:blog-11310178.post-1110457903265422932005-03-11T16:27:00.000+00:002005-03-11T17:26:54.403+00:00Start at the nowI've often wondered where to begin this blog. It seems there's never a natural starting point, so I'll just jump in with what's on my mind today.<br /><br />Surfing the Web is not really much of a hobby with me. I'm much more likely to while away the time lurking in newsgroups. But a few sites have recently caught my eye. <a href="http://www.asktog.com/">AskTog</a> is full of quite obviously sound advice on user interface design. Not a subject of immediate interest to a lot of people, you might think, but when it's <a href="http://www.asktog.com/columns/027InterfacesThatKill.html">a matter of life or death</a> or the <a href="http://www.asktog.com/columns/042ButterflyBallot.html">election</a> of the most powerful politician on Earth, it's surely of interest to everybody.<br /><br />While on the subject of politicians, I'd like to mention what our (UK) politicians are up to as I type this. Politics is another subject that usually isn't of much interest to me, but what's going on in Westminster today is really quite scary, and is probably the best argument in 300 years for the continued existence of the <a href="http://news.bbc.co.uk/1/hi/uk_politics/4338737.stm">House of Lords</a>. I think <a href="http://groups.google.co.uk/groups?q=g:thl1250516432d&dq=&hl=en&lr=&ie=UTF-8&selm=Py4rDgmlf1LCFwZC%40seasalter0.demon.co.uk">Richard Miller</a> in uk.legal succinctly expresses the concern of any rational person.<br /><br />And here's the original <a href="http://www.well.com/user/smalin/miller.html">seven, plus or minus two</a> paper.David McLaughlinhttp://www.blogger.com/profile/11904442395669855936noreply@blogger.com0