Press "Enter" to skip to content

Posts tagged as “Development”

Renewing the Library

centaur 1

Recently I started to notice that the design of the Library is getting long in the tooth.  One friend who was a web designer commented that it looked very "old Internet".  I've watched another friend innovate on his blog design while mine was staying still.  Work on my wife's web site made me revisit some of my choices, adding a description and picture but making few other changes.  I know the site needs a redesign because I have a lot more material coming out soon, but the final trigger was when I couldn't attend a talk and looked up one of the authors to learn more about their work - I think it was Oren Etzioni - and I was struck by his straightforward site design which enabled me to quickly find out what he was working on.

SO, I'm redesigning the Library.

I'm an artist in addition to an author and researcher, so simply gutting the site and making it simpler wasn't my goal: I have specific ideas about what I want the site to look like, and I started designing a new one.  Partway through that redesign, I noticed that I was doing a fair amount of research work - examining other blogs that I admired, investigating blog widgets, investigating CSS and HTML advances, researching color theory and design principles - but not blogging any of it.  In fact, come to think of it, typically when people redesign their sites they put all their work under a bushel, trying to hide their planned change until the last possible moment, possibly exposing it to a few trusted users in beta or with an alternate link prior to springing it on the world as if freshly formed and fully new.

Well, phooey on that.  The thought process that a web designer goes through producing a web site is interesting (well, to other web site designers, anyway) and provides a valuable resource to other designers doing their work.  I wished that other people had blogged the process that they went through and the alternatives they explored, as it would help me make my own choices - but you know what?  I don't control other people.  I only control me.  And if someone else hasn't filled the gap, then it's my own responsibility to come up with something to meet my needs. 

SO, I'm going to blog the redesign of my blog.  How "meta".

There's far too much to put into a single blog entry, so I'll start off going over the thought process that led to the design in more detail, then explain my strategy.  The first thing that I did was look at other web sites that I admire.  Earlier when working on my wife's web site I found a number of beautiful looking blogs, but when I started the redesign, I started my search over, focusing on sites of artificial intelligence researchers, bloggers, writers, and artists, trying to find ones I instinctively admired with interesting ideas, features or appearances that I could steal.  Some of these included:

  • Oren Etzioni's Home Page: Quickly Present What You Are Doing
    An "old school" (not that there's anything wrong with that) web site from an academic researcher, it has an "old style nav bar" up top that quickly tells you how to find his publications.  Below that is text which points you to his research projects and most cited publications.   From this I gleaned:
    • Organize your work into logical areas
    • Make navigation between areas easy
    • Put things people want up up front
  • Rough Type by Nicholas Carr: Put Your Content Front and Center
    Featuring a straightforward design that gets you straight to his content, Rough Type also has an author blurb and a pointer to his most famous article, "Is Google Making Us Stupid?" and his book "The Big Switch" The key points I gleaned from the site:
    • Get your content out front and center
    • Tell people who you are
    • Point them to your best work
  • Vast and Infinite by Gordon Shippey: Show the Author, Try Fun Features
    Written by an old buddy from Georgia Tech, Vast and Infinite isn't that different from Rough Type.  However, he's constantly innovating, adding a site bio and author picture, tweaking his banner, adding shared items and flickr gadgets and more, whereas my blog tends to stand still.  The lessons from this:
    • Show people your picture
    • Keep your content front and center (sound familiar?)
    • Trying out new technologies generates interest in the site
  • Home Page of Jim Davies: Show the Author, Organize Your Site Logically
    Jim Davies is another academic researcher, with a much more modern site.  Like Oren Etzioni, he has a navbar, but also a large picture, a more detailed description, and links to his art, store and blog.  Unlike Oren, each area of the site seems a little more organized, without the duplicated links to publications and the odd inclusion of news articles in his personal page.  Jim takes this further by having extra blogs just for rants and links.  My takehomes were:
    • An academic site can have a modern design
    • Showing people your picture creates interest
    • Don't be afraid to segregate content into areas
  • Marvin Minsky and John McCarthy: Tell People About Your Work, and Share It
    Two of the greats in artificial intelligence have interesting sites filled with lots of content.  Both start with a description of them and their work and then continue with many, many links to their most prominent work.  Minsky puts up chapters of his most recent book; McCarthy includes a lot of narrative that gives context.  What I like:
    • Tell people what your site is about using narrative
    • Put work you are interested in front and center
    • Fill your site with lots of content
  • Greg Egan's Home Page: Fill Your Site With Lots of Content, and Share Your Research
    Greg Egan is an author I admire primarily for his novel Permutation City and his short story Dark Integers, though I have more of his books in the queue.  His site's layout is a little harder to read than some of the others, but it is filled with pointers to all of his work, to the research that he did to create the work, and applets and essays related to his work.  The takehome from this firehose is:
    • Fill your site with lots of content
    • Share the research you did on how you p roduced your work
    • Don't be afraid to promote your work by showing it to people

There was one more site that kicked this all off, which I will hold in my pocket for a minute while I talk about opinions.

Unlike Jacob Nielsen, I don't have research backing up these conclusions: they're really just guesses about what makes these site work, or, worse, just my opinions about what it is that that I like about these sites.  What's dangerous about opinions is that recent scientific work seems to indicate that they're often post-hoc explanations of our instinctive reactions, and they're often wrong.  So, to combat this tendency, I looked at other resources that specialize in information about good design of web sites to try to get information about what I "should" do.  I don't pretend I've absorbed all the information in these sites, but am simply including them to show you the kinds of things that I looked at:

  • Jacob Nielsen's UseIt.com: Make your site fast, simple and standards based
    Jacob Nielsen's site on web site usability is so simple it hurts my eyes.  I don't like to actually look at it, but I do like the ideas.  He's got a breakdown of recent news on the right and fixed web site content on the left; the idea of the breakdown is good but seems opposed to my goal to work with Western left-to-right reading.  Jacob points out that he uses no graphics because he's not a graphic designer, and that's fair; but since his site is unpleasant for me to read I only loosely follow his recommendations.  But one cool thing about his site: if I resize the browser his content stays divided more or less the way he's put it because the structure is so simple and well designed.
  • But What Are Standards?  W3C and Webmonkey
    The W3C is the official source of standards for the web like HTML and CSS, but I've always found their standards hard to read (and I've read many, many of them over the years).  The new site redesign they're testing seems to make it easier to navigate to find things like the CSS Standard, but it is still hard to read and lacking the practical, let's get started advice that I want.  Back in the early days of the web, I used Webmonkey as a source of good tutorials, but the site seems crufty and broken - trying to narrow in on the CSS tutorials got me nothing.  I have a number of offline books, however, and am a whiz at reverse-engineering web pages, so when I get to the CSS articles I will detail what I learn and what sources I use.
  • CSS in Practice: FaceFirst.us and CSS Zen Garden
    I know the designer of FaceFirst.us, a social networking site, and in exchange for me beta testing his site he turned around and gave me a tutorial on how he uses CSS in his process to ease his site design.  In short, like Nielsen, he recommends separating the "bones" of the site from the content using CSS id's and classes.  One example he showed me was the CSS Zen Garden, which has fixed content that is modified radically just by stylesheets.
  • But What Did Your Thesis Advisors Do? Ashwin Ram and Janet Kolodner
    I also dug into what Ashwin Ram, my thesis advisor, and Janet Kolodner, a member of my thesis committee and my original advisor, did with their web pages.  Both Ashwin and Janet have profile pages back at the College of Computing, but they also have richer pages elsewhere with more detailed content.  I have no intention of slavishly copying what my thesis advisors are doing, but as far as the research part of my web is concerned they're similar people solving similar problems whose solutions are worth looking at and adapting for my own use - why, yes, my Ph.D. was in the case-based reasoning tradition, why do you ask?  On that note, it occurs to me to look at other colleagues' web sites, like Michael Cox's site.

Standards, shmandards, cool sites and web lights - all well and good.  My brain exploded, however, when I saw Warren Ellis's web site (billed as a blog for mature adults, so it's occasionally NSFW - be warned).  In my mind, Warren's site had a number of great features:

  • Show the Author's Name:
    The author's name is hugely printed across the top - so you immediately know who this is, as opposed to say my dumb blog where my name is printed in 2 point type.  And Warren's domain name is also his own name plus dot com, so that he can actually show his name and site name in the same logo.
  • Keep the Text to the Left:
    The text of all the articles is corraled to the left margin so they can be PRINTED, aligned to the top of the page so it dives into the header and is immediately visible.  Almost as if Warren's site was designed knowing that the majority of the people who read the English language read it from left to right, therefore the text should appear where their eyes go.  This pattern, plus the pattern of the rest of his design, is consistent with putting the good stuff in the F-shaped heat map that typical users eyes take when scanning your page.
  • Use the Middle of the Page:
    There is a bar of links in the MIDDLE of his page, immediately to the right of the articles, which puts it close to the golden ratio of the horizontal space of his site design (as viewed on my monitor).  This "linkbar", held in place by CSS wizardry and a black magic compact with the Old Ones,  contains permanent site features that most need to be linked - message board, mailing list, comics, his novel, his agents, and his bio inline.  Think of it as sexier version of Jacob Nielsen's "Permanent Content" box.
  • Put Sparkly Things to the Far Right:
    Beyond the linkbar are all the cool fun site features like a search bar, podcasts, images and other nonsense, which are fun to look at but less important.  On my site, some of these are on the right, or even at the very bottom of the page; on other people's sites they appear on the left, distracting Western readers from the article and possibly shoving the right ends of the articles over the printable width of the page.  Ellis' contract with Cthulhu and the hellish powers of the W3C enable him to safely corral these fun elements to the right where they belong.

The linkbar was the most mindblowing thing.  It eats into the banner.  It's readily visible.  It leaves the text on the left, but it's close enough to be visible on most monitors.  The whole site is 997 pixels wide, so it will fit on a typical 2009 web screen, but if your screen is smaller, first you lose the fun sidebar, then the important linkbar, and only then do you lose the text.  Even better, since the li nkbar CSSes its way into the banner, the size of the site is controlled by the header image so it won't get wider.  So your Nielsen-style variable content is always visible on the left, and your important fixed content is always on the right, and God willing it will never get hosed by someone resizing their window.  Once I saw that, I decided I'd done enough work researching, and it was time to start redesigning.

SO my first step is to unashamedly steal Warren Ellis's linkbar.

Immediately I sent out my secret agents out to download his HTML and CSS and transport it to my secret lab so I can take it apart piece by piece until it has no secrets left.  Of course, some of Warren Ellis' choices won't work for me, so I will have to do a lot to adapt the ideas he and his team used in his site design.  And simply imitating the form of Warren's site won't be successful, any more than just making a movie just like Star Wars called Sky Battles would be immediately successful.  (Battlestar Galactica fans, take note: while I loved the show, I think it's fair to say that it took the reinvention of the show to really produce a success, which was based on making the show interesting in its own right and not copying Star Wars).

The outer form of his site is the product of his inner success - he is a popular, prolific author with a message board, mailing list and weekly online comic he uses to promote his other writing and books, which makes the prominent placement of the message board agents and books highly important in the linkbar.  Starting a message board and getting an agent won't help me.  I, in contrast, am a jack of all trades - developer, researcher, writer, artist - using this blog as a tool to force me to stop being a perfectionist, complete my work, and put it out in front of people.  So my goal is to make sure this website displays my content, prominently surfaces the areas of interest I work in, and has a few flashy features to attract attention to individual items of more permanent interest.

In upcoming articles I will detail my original constraints for the blog version of Library of Dresan and why those constraints failed as the site evolved over time, my goals for the new site design, what I think I understand about how wide to make your web pages and where to put your content (and where I got those crazy ideas) my move to the use of CSS and my attempts to make the site work well on screen, on printers and phones, my attempts to better exploit Blogger, Flickr and other web gadgets, and the work that I'm doing investigating color theory and generating the new art assets that will make up the site.

Hopefully you'll enjoy the process, and when it's done, that you'll enjoy the site more.

-the Centaur

Google Knows Everything … about Windows XP SP3

centaur 0
Well, turns out my Windows XP SP3 problem wasn't really a Windows XP SP3 problem at all, other than it happens to Windows XP Service Pack 3 when installed on Hewlett Packard AMD-based computers that were factory installed with an Intel-based image of Windows XP. A key Intel power management DLL isn't present, but it is referenced by the system configuration, and when Windows XP Service Pack 3 installs, it sees that the file should be there (according to the system config) but isn't (according to what it can see on the hard drive) so it installs it. And on the next boot ... boom, Windows gets stuck in an endless cycle of reboots every time it tries loading the Intel driver on an AMD processor.

The simple solution? Boot in safe mode and delete the offending file. There are other solutions, which I found at this blog by a Microsoft expert, which I found via this eWeek article, which I found via a Google search for [ windows xp sp3 problems ]. Now, I had tried Google searches the previous night at umptynothing in the morning, but when I sat down with my I-wuv-my-Mac laptop in front of the dead computer, logged on to the home wireless network, and banged out that new query fresh, it worked, first link, first time.

So it's true: Google Knows Everything.

-the Centaur

P.S. The previous article is my own personal opinion and does not reflect the opinions of my employers at the Search Engine That Starts With a G. Or, hell, maybe it does, but I was using that phrase even back when I worked for the Search Engine Company That Started With an E.

Have I mentioned I hate Windows XP Service Pack 3?

centaur 0
No? Ok. So mentioned: I hate Windows XP Service Pack 3, and the Automatic Update it rode in on.

In more detail, I just upgraded the hard drive on my wife's computer. It took quite a bit of doing - the original two methods I used to copy the old HD to the new HD failed, even my beloved PartitionMagic, because Windows XP would not learn to boot from the new hard drive. It's not that I haven't done this trick a half dozen times before with laptops, including my most recent Windows XP laptop, and after immense effort I could never find out what was wrong or fix it. However, eventually I found a cheap but effective program called Disk Copy and Clean by Avanquest that did the trick, and got the drive copied last night, Windows XP booting, took the old drive out, and closed up the case.

Then like an idiot I installed all the software updates that were pending.

One of those was apparently Windows XP Service Pack 3, whose main feature is locking the computer in an endless cycle of reboots. You can boot to safe mode, which means this problem is just enough different from the other similar problems I've been able to find online that I doubt any of those fixes will work. I'll try, of course, but in the end ... isn't it nice I have yesterday's hard drive, pre-Windows-XP-SP3?

I've said it before, I'll say it again: I wuv my Mac and its crappy user interface(1), because it just works.

-the Centaur
(1) No, that isn't sarcasm ... Windows has a better user interface, nyahh nyahh nyahh, all you Mac lovers --- and I switched anyway, because (a) I love the Unix command line and (b) my computer has to work. Shockingly, the Mac actually functioning reliably most of the time beats the many ways in which common user interface operations are faster and easier to use on Windows. You may feel like snarking that the Mac UI would be easier if I'd used it longer, and I'll just snark back that I've been using Macs since roughly 1990, and I've had no problems moving between the various editions of UNIX, Linux and Windows over the same time frame while the Mac has always felt like the odd man out. Ultimately, the gloss, great graphic design, and sheer reliability of the Mac OS X family outweighed any number of minor interface quirks.

One more followup on the Time Capsule

centaur 0

So back in June I purchased a Time Capsule from Apple, a one-terabyte wireless hard drive.  It's supposed to make backups painless, happening in the background over the network.   Initially I had a lot of trouble getting it to work with my wireless network, having to hard-reset it so many times I eventually recommended "don't buy it".  Sometime in September Apple updated the firmware, and I recommended that it was worth trying out.


I didn't follow up with any further recommendations because for a while, it just stopped working again.  Well, this time it was not the Time Capsule's fault: the wireless network it was connected to was having difficulties.  These were orthogonal to the earlier problems, in which the Time Capsule couldn't even see the network no matter what I did; this time, after restarting the wireless router, the Time Capsule has been working swimmingly.


So, really, now you can get yourself a Time Capsule.  Seriously.  It's already saved my butt more than once, having files backed up every hour that my laptop is on my home network; I've already used the Time Capsule to recover earlier versions of a variety of files, rather than recreate them.  (I am obsessive-compulsive about saving many versions of a file, but having it happen automatically is even better than me manually having to remember to save a file with a new version number hanging off the back end - not that I've stopped doing that.)


-the Centaur


Ok, So NOW You Can Buy a Time Capsule

centaur 0

Apple updated the drivers on the Time Capsule, and for the past ~month it has done a good job of backing up my Mac. I was waiting to tell you guys because previously if you looked at the Time Capsue funny it broke down. But it survived the acid test: I went on a trip to Atlanta, and when I came back the backups resumed with no hiccups.

It still took me a whole evening's worth of work to get it running, but it is running. So you can go get one now, if you have a Mac and want trouble-free backups happening without you even having to think about it.

-The Centaur

P.S. In the first version of this post I called it a "Time Machine" ... that's actually the backup/restore software that writes to the Time Capsule. My bad.

Do Not Buy A Time Capsule

centaur 0
I have invested immense amounts of efforts trying to get the wireless functions of this thing to work and as far as networking goes it is a 1TB brick I have to tether my laptop to in order to back things up, which precisely defeats the features I bought it for as opposed to some cheaper hard external disk solution.  Meh.

Initial Reactions…

centaur 0

MacLife magazine for July 2008 has an article on "The 30 Best Mac Apps You've Never Heard Of".  Out of these, three really stood out:



  • Witch corrects Mac OS X's crappy alt-tab behavior.  Thank the Good Lord!

  • Celtx so far looks like a fantastic scriptwriting app for comics and video and it's totally crossplatform.  Yum.

  • Twitterific is a neat way to quickly send Twitters and to visualize your friend's Twitters using Growl ... but it somehow blew me past 70 requests to Twitter just after I turned it on.  Not boding well, but this may be a startup issue thing.  Doesn't appear to have broken posting to Twitter, just the reading of what's posted via itself. Hm...


More news as I know how well these work...
-the Centaur


For the time being…

centaur 0

... we're going back to the setting that makes Qumana put in extra line breaks.

Because if I leave that setting on, apparently Blogger reformats all of my old articles, removing the line breaks.

Not good enough.  Not good enough at all.  It's easier to fix the twenty or so Qumana articles and to use shift-breaks in future to accomplish my will than reformat all 200 previous entries in my blog, so Blogger wins.


Me too me too

centaur 1

So my buddy Gordon has beat me to the punch (yet again) by finding the site FaceStat, which does wisdom-of-the-crowds rating of pictures.  His came out pretty good; I used one of my favorite pictures of myself, which turned out ... not so much.


tailless lizard


Ok, so I already knew my beloved missing cat is more attractive than me.  But did the crowds in their infinite wisdom have to put down "repulsive" for my level of attractiveness?  Sure, maybe they're referring to the prominent surgery scar on my arm.  But that doesn't explain why the crowds thought I was "definitely not to be trusted."


Stupid crowds.  I didn't want your wisdom anyway.


-the Centaur


Time Capsule One-Point-Oh’d a Little Too Early?

centaur 0

SO I'm running out of [backup] hard disk space at home now that both my wife and I are computing, and I splurged and got a Time Capsule, Apple's svelte new wireless hard drive, on the theory that I could attach it to my existing wireless network but keep the physical box in a different room so it would be less likely to be stolen if we had a break in. After all, "you can rest assured that it works with other certified 802.11n draft 2.0 products. And it’s compatible with Macs and PCs that use 802.11a, b, or g technologies."


So,what's the problem?   It doesn't work, that's the problem.  The wireless part, that is.  The Ethernet works fine, the hard drive works fine, the blinking light work fine ... except they picked amber and green as the working/not working colors! Gee, thanks, guys! I know those colors are supposed to be ok for most color blind people but really they look the same!  You obviously three bulbs behind the light (amber, green, blue) ... would it have killed you to give all three their own window?


Fume ... so ANYWAY, the Time Capsule gives you three options: take over your wireless network, join an existing wireless network, or go wired.  Well, I couldn't put it in a different room with option 1, and option 3 meant that I would physically have to be able to connect my laptop to the Time Capsule, so I went with option 2. 


And every time I set it up on the network, the Time Capsule disappears.


After repeated retries, hard resets, and careful readings-over of the manual, the PDFs (identical) and the Apple support site (containing the identical PDFs) I figured out that if I hooked the Time Capsule up via Ethernet, I could still access it and debug the problems.  And then I found that there were many problems, but that the software would not actually allow you to correct them - that is, you could change the settings of the Time Capsule in the Air Port Utility, but Air Port Utility would not actually communicate them to the Time Capsule when you tried to apply them; instead it would claim the problem was unresolved.  So there was no way to actually fix the problems ... you could only hit Ignore instead.


Upon some more digging, I found this tidbit on the Apple web site:



Time Capsule doesn't like being part of an existing network (despite what the manual and online material suggests). I've just spend ages, including 75 minutes on the phone with Apple Support to finally work out that Time Capsule simply won't join my existing Apple Extreme network.

I'm lifelong Mac user. This is the first time I've been really disappointed by a Mac product... the product ships with out of date software, does not set up easily, and simply won't do what it says it's supposed to.

If it's not too late for you... don't buy one!



Half a dozen other messages seem to confirm that this is a real problem.  Charming.  If only I had listened to Tim Bray:



I ran out and bought a 1TB Apple Time Capsule, breaking a self-imposed rule: Never buy release 1.0 of anything from Apple. Now I’m being punished.



Well ... at least it has 1 terabyte of storage, and Time Machine, the accompanying backup software, appears to run flawlessly (not that I've tried it yet, so how would I know?  But it looks pretty!) 


[fixed forced grin]


-the Centaur



No Joy of Xi

centaur 0
So I had this great article planned on my new work setup, which involved a combination of GNU Screen, XEmacs, gnuclient, and a few shell scripts, including my new favorite, xi.

The idea, you see, was to start a GNU Screen session on your workstation.  Screen is a terminal based program which lets you "attach" to a running command line prompt, so you can start Screen at work, go home and pick up right where you left off.  I used to run the editor XEmacs inside Screen, so I could go to a talk and resume my editing session on my laptop. However, this means running XEmacs in no-window mode, where it loses many features. 


The first brainflash was to use XEmacs' gnuclient utility, which also lets you "attach" to another program from the command line, this time to a running (x)Emacs.  Normally this pops up a new window, but I found a version of gnuclient for XEmacs which lets me run in no-window mode.  So I now start XEmacs, start Screen, run gnuclient, and now I can connect to the same editor anywhere.


The next step was to set up scripts that run these with the configurations I want - myscreen, myxemacs, mygnuclient; not strictly necessary but I can wrap the programs with a little sugar so they always run the right way, do the right thing, and fail with graceful error messages.  I'd done this first with myx11vnc, which has odd and weird options I can never remember.


But I digress ... and I'm still short of my real goal.  You see, other than losing features in XEmacs in command mode, one thing that was really bugging me was that I continually switch back and forth between vi and Emacs at the command line.  I prefer Emacs, but vi is faster to load and type, so I use it for quick jobs ... but it has an almost entirely different set of control keys, which can get confusing. The problem has gotten worse since I've temporarily retired the use of Eclipse at work until some bugs are worked out in a new loader system ... so now I just use XEmacs and vi, without the palate cleaner of a CUA-compatible editor ... and thus end up really confusing myself.


What I really want is an Emacs as easy and convenient as vi, so I can run it anywhere.  Gnuclient is about that fast since you don't need to open an Emacs, but typing mygnuclient is painful and can't even be done with tab completion with half a dozen my* programs sitting around in my bin directory.


But wait ... why not call mygnuclient ... 'xi'?


Well, I can, and do.  And the result is now I have a fullfeatured Emacs-compatible editor at the command line, fast to type and fast to load as vi, with the added bonus of all my Emacs macros, all my open files, and the history of whatever I was working on.  Calloo, callay, he chortled in his joy.


But a lot of the particular details of this depend on my work setup.  And I don't blog about the details of my work.  (Note no code samples.)  So I started to replicate this behavior on my new Mac OS X laptop with Aquamacs so I could show you how this is done without giving away any proprietary trade-secrety things.


But Mac OS X is not Ubuntu, and Aquamacs is not XEmacs.  Aquamacs is a version of Emacs, as it turns out; and Steve Yegge's delusions aside, Emacs is perennially just a bit behind of Emacs in all the features that matter to me.  No, Steve, I don't care what your experience is; all I know is that in my experience Emacs keeps on leaving me twisting in the wind so I've learned NOT to rely on it, not when I've got XEmacs - but Aquamacs' slick Mac OS X changed that equation.


I really like Aquamacs; it uses the Mac-only command key for all the typical Mac keyboard shortcuts, and the remaining option keys for Emacs.  It really is the best of both worlds, and I wouldn't want to give that up ... but Aquamacs isn't compatible with gnuserv.  It's version, emacsclient, does not have a no-window mode because Emacs's multiple TTY support is less well developed than XEmacs. There's a patch, but it isn't here yet, and I'm pretty sure it's only compatible with vanilla Emacs, not the Aquamacsy goodness I want.  So no 'xi,' not on my laptop yet.


None of this is unsolvable.  I'm convinced I could make it work.  But not the easy hour or so of hacking it took to make this work on the Ubuntu version, and not in the time available to me to make my "every day in May" blog posts.  So you'll have to wait a while to hear the Joy of Xi told properly, in all its grody, replicable detail.


-the Centaur


the consequence…

centaur 0

... of making things easier on Qumana was to make things harder on Blogger.  Apparently the setting I turned off on Blogger to prevent the extra carriage returns in Qumana means that Blogger posts will come out all mooshed together.  Sigh.


The great bit bucket in the sky…

centaur 0
So after my essay on intellect and will, Jim posted an interesting comment, to which I replied ... a long-ranging reply which could have been a blog post in its own right. SO I finished the reply, hit preview to check it out, and then hit view blog. Note that none of those steps involved "publish" ... so the whole essay disappeared.

AAARGH!

These browser based apps still leave something to be desired. Anyway, it was really witty and acknowledged all of Jim's good points while carefully highlighting my areas of difference in a subtle yet engaging way. You should have been there ... *sigh*. Will rewrite it (in Qumana so I don't lose it) and will post it as a new article shortly.

-the Centaur

A Blogging Bookmarklet

centaur 0
As part of making my "Blog a day through May" and "Distract Myself From Writing This Paper" tasks easier, I hunted down this Blogger bookmarklet which which enables you to select some text on a page and then with a single click get a micro-Blogger window so you can edit and send a post (like this one):
What is BlogThis! ?: "BlogThis! is an easy way to make a blog post without visiting blogger.com ... Clicking BlogThis! creates a mini-interface to Blogger prepopulated with a link to the web page you are visiting, as well as any text you have highlighted on that page. Add additional text if you wish and then publish or post from within BlogThis! ... just drag the link below to your browser's Link bar. Then, whenever the mood strikes, click BlogThis! to post to your blog:
This isn't the only bookmarklet out there. There's also one for Google Bookmarks, Steve Rubel at MicroPersuasion has his own list of key bookmarklets, and Irregular Shed shows us how to make your own. I know these work in Firefox but I suspect you can get this to work in other browsers as well.

So check out these links, and if you find yourself doing any of these common tasks in less than a click and the associated commenting/typing time, add yourself a bookmarklet and save a few minutes of your life.

-the Centaur

Extra Spaces

centaur 1

Qumana is a great blog post editor, but it has an interesting property that makes its posts appear weird on my web site.


If you hit return, it wraps the whole paragraph in a HTML "p" tag

like so

.

Which is nice, in theory it's how you're supposed to use the "p" tag, but ...


It puts huge spaces between paragraphs in my blog.


I'm not sure why this is happening.  Some CSS error in my stylesheet?  Some translation ... WHOA!


I just did "view source" on the published blog, and found extra
tags after each paragraph in the published blog!  So THAT's what is happening... now, of course, the question is WHY, since they don't show up on Qumana's Source View.
Here's seeing if switching from "Enter Starts A New Paragraph" to "Enter Starts A New Line" does the trick.
9:56pm hit return.
-the Centaur


Insignificance

centaur 2


Created via Automotivator, which I found after seeing a Livejournal post (itself found via Planet Lisp) in which its creator, Zach Beane, created a motivational poster for all the smug lisp weenies:



I may not program in Lisp much anymore - probably less than once a month or so, compared to my Top Five (currently Javascript, Java, C++, Bash and Python) - but I do now have this poster hanging in my office at the Search Engine That Starts With a G. Already it's gotten quite a few questions ... :-)


So, on the note of doing things wrong and personal insignificance ... here's some random bits about some changes in the works.  This is one of the first blog posts I've done on my new Macintosh, which replaces my beloved but fried Blue Slab of Coolness and my beloved but stolen old Powerbook.  Having used it for a month or two now, I do so wuv my my Mac and it's crappy user interface, which does just enough right to almost make me ignore its massive gaffes (like switching between two windows and the screen suddenly reshuffling the z-buffer heights of all open applications).


But it's really flipping over into usability thanks to a trick I learned combining Spaces and VMWare, letting me switch back and forth between Windows Vista and Mac OS X Leopard with ease.  (Apparently the new MacBook Pros are some of the best laptops to run Windows Vista.  Who knew?)  VMWare is slick because it lets you run Windows Vista on your Macintosh in a virtual machine - it's even smart enough to use the partition set up by Apple's Boot Camp dual-boot solution - but it really didn't get hyper useful until I learned the Spaces trick.  Spaces (a warmed over version of the virtual desktops feature popularized by the X Window System) lets you create several "virtual desktops" you can switch between via control arrows - and once you do that, you can give one of them to Vista in full screen mode.


I can't remember the blogger who recommended this trick to me (Mossberg? Some Lifehacker article?), but using Space's control-arrows to switch desktops actually has proven easier in practice than using VMWare's (admittedly hyper-slick) Unity mode.  Unity, like Parallels' Coherence mode, sounds great because it puts your Windows windows on your Macintosh desktop like any other Mac app.  However, using Spaces to put Vista on its own desktop means the Mac apps and the Windows apps get their own OS desktop features like the taskbar, destktop icons, etc.  Looking at the Lifehacker article on Parallels I linked to above, I suspect that I could make Unity work much better; but this is working well enough for me to get stuff done now.


Also this is a first post using Qumana, new blogging software which narcissistically inserts some adware which you can see here to the lower right. --->


Powered by Qumana


Qumana has been so nice to me so far (WYSIWIG mode, automatically snarfing URLs out of the keyboard when you insert links, etc., etc.) I'll leave the ad in just this one time. 


SO click on some links above and give our "sponsors" some love. :-)


-Anthony


Google News Quotes

centaur 0
Google News has a new feature where searching for a politician's name will pull up recent quotes:


Consider this election season. All along the campaign trail we have heard candidates' thoughts on the future of health care, the war in Iraq, and even each other. These debates have generated untold pages of commentary, and it's only too easy to lose track of original quotations. Unlike much of the surrounding rhetoric, these quotations cited in news articles are not conjectures but facts - transcriptions of actual words and thoughts - be they campaign promises, arguments or opinions. Wouldn't it be great if they were easily searchable?


You can search for quotes right at the top of the Google News box; it apparently just shows news if it can't find quotes. At the time of this writing, searches on John McCain, Hillary Clinton and Barack Obama all turn up with news quotes:


Hillary Clinton: "I believe the potential for life begins at conception"



Barack Obama: "You go into those small towns in Pennsylvania and, like a lot of small towns in the Midwest, the jobs have been gone for 25 years and nothing's replaced them"



John McCain: "We need to make a clean break from the worst excesses of both political parties"


I have a policy of not directly talking about my employer on my blog, so I deny all knowledge of the hard work of my cubemates in making this happen. Check it out...
-Anthony

F-sharp

centaur 0
What the heck? While I slept, Microsoft has apparently released an OCaml clone called F-Sharp.

For those not in the know, OCaml is a frighteningly efficient functional programming language that is the intellectual child of my former college nemesis, ML. (Since then ML and I have become friends, teamed up, and fought supervillains together, but that's another story for another time).

Even though I don't use functional programming all that often, it's an important way to think about programming and you can do a lot in it - so the more we do to put powerful functional programming tools in the hands of the masses, the better.

Hence the significance of Microsoft porting this to .NET. "Dot NET" a library of software for Windows platforms that includes the Common Language Runtime, Microsoft's answer to the Java Virtual Machine. The great thing about the CLR is that it's very, very easy to port new languages to, and those new languages immediately have access to lots and lots of Microsofty goodness. Note to the fruits-and-birds crowd: that was not a joke. Microsoft makes a lot of good shit, and thanks to Mono more and more of that is becoming available in the Linux world.

In short, the vast library of Microsoft tools is now at the tender mercies of functional programming devotees. Bwah hah hah haaaaa! Language geeks will rule the world!

Synergy

centaur 0
Way back when I started work at the search engine that starts with a G, I tried a number of new programs including Synergy, a program to sync the mouse and keyboard of two computers.

The claimed magic was this: you set your laptop computer next to your desktop computer and plug into your network, take your mouse from your desktop and MOVE THE POINTER OVER ONTO YOUR LAPTOP SCREEN (!) and then just start typing. When you want the keyboard to move back to the desktop, you just move the mouse pointer back and when it leaves one computer screen and reappears on the other, magic, whoosh, you're back in control of your desktop.

Well, that was the claimed magic; it didn't work so well with the versions of Linux and Windows we were using at the time, or perhaps the release of Synergy that existed then is not as good as what exists now. Regardless, I never got it to work then, but a year later, with a new Linux distro and a brand spanking new Mac laptop, I got it running like a charm in just a few minutes.

The kindly folks who run the computers at the search engine that starts with a G preinstall synergy on our Linux desktops, so all that remains to do at work is download a Synergy client like
SynergyOSX or, even better, its recommended replacement SynergyKM, install it, and set up the configuration.

I liked this so much I wanted to try this at home - but there was only one snag. At home I work in primarily PC environment. Yes, yes, I know, I should make better use of my two Macs and my Linux desktop and my Palm Pilot and my Newton and my Apple IIc, but let's stay focused here people on what I do use every day, which is the nice Windows laptop and its big brother desktop with the 24-inch LCD screen.

However, I found on the PC, in some ways Synergy is even simpler except for a typical Windows snag. All you need to do is download one Synergy binary for Windows and install it on both machines. On the server, you get a nice desktop icon for Synergy, and clicking on it gives you the option to listen to another machine's mouse and keyboard or else to share this one's. Clicking on that enables a dialog box where you can list the names of your two machines and set up "links" between screens that the mouse pointer can travel on. (Note: these links did not appear to be symmetrical, so if you specify that your laptop is to the left of your desktop, you actually need to specify the vice versa link as well or your mouse may become trapped after it crosses the border.) On the client you do a similar procedure, specifying what machine name it should listen to as it server.

However, the snag is that these are machine names, not IP addresses. At work the kindly techfolks have set up the whole infrastructure for you to resolve names to IP addresses, which Synergy depends on; at home, on a simple router, you may need to set this up yourself. Trying to specify the IP addresses causes Synergy to throw errors and not work, and ignoring the problem just means your Synergy client won't be able to find your Synergy server.

A simple way around this problem is with a hosts file, which tells Windows how to map names to IP addresses on your local network. This enables you to specify a few lines that say (for example) that the IP address 192.168.1.2 maps to "desktop" and that 192.168.1.3 maps to "laptop". I added a pair of lines to the hosts file on both my desktop and my laptop to make sure both programs could talk to each other (note: all names confabulated to protect my innocent little computers):


192.168.1.3 desktop
192.168.1.4 laptop


This gives Windows enough information to map these names to their IPs. (Note that this assumes your router or cable modem IP assignments are stable; consult your documentation on how to set this up more reliably if you have problems.) With that information, Synergy can decode these names and the client can find the server and vice versa.

And with that, it works. I move my mouse over, stuff changes on my laptop, I move my mouse back, I finish typing this essay. Not even sexay-looking enough to take a screenshot, but radically useful and easy as pie. I wish I'd done it earlier.

-the Centaur