Press "Enter" to skip to content

Posts tagged as “Webworks”

Before the dawn of time…

centaur 1
...there was my ORIGINAL home page at the Georgia Institute of Technology: Amazing, yes, the frames, the under construction sign, the 'bouncer look' photo, etc. What amazes me even more? It's still up, as of 2010-07-16. Wow. But wait! This just in ... according to the Wayback Machine, this wasn't even the first version of the page; this is the first version of my home page: Actually I can tell this isn't the actual first version of my page - there are some links missing from it that were in the very earliest version of the page, and it has frames, which I don't think were in the very first page I put up - but this is the oldest recorded version, from almost 14 years ago. Aeons in Internet time ... especially considering the very first web page was only six years earlier, about 20 years ago: How things have changed in two short decades. -the Centaur

Trying Again and Again is not Sisyphean

centaur 0
Loosely transcribed from a letter to a friend. Names have been variablized to protect the innocent: Dude, it's been over a year since you applied at The Search Engine That Starts With a G and since then you've created, all by yourself, a brand new, polished web site with no doubt N users and X,Y and Z impressive features. Time to update the resume and apply again? I know you're frustrated that this venture didn't make it, but successful entrepreneurs are ones that try, try and try again. During my time at The Search Engine That Started With an E, we were exposed to a variety of advisors who had started successful businesses. Most of these had started several, only a few of which caught off. The ones that did made them millionaires. My uncle B is the same way: he's worked on many businesses; many failed, the others did quite well. Come to think of it, when the dot-com bubble burst, the lead founder of The Search Engine That Started With an E didn't let its stumble stop him - he's started several other ventures since then. One of them will catch fire and make him a millionaire too. I also had another thought. Stay with me here. In the essay The Myth of Sisyphus, Albert Camus argues that just because the Greek hero Sisyphus is condemned for eternity to push a rock up a hill, only to watch it roll down again, that doesn't mean that his life is actually devoid of hope. Camus argues that even though Sisyphus's task is meaningless, and the moment the rock falls down is heartwrenching, he nonetheless can be happy because he's engaged in a constant struggle ... "and that struggle is enough to fill a man's heart." In the book How to Be an Existentialist, author Gary Cox expands on Camus' argument: to an existentialist, everyone's life can be considered to be meaningless, and it's the constant struggle to exercise our freedom itself that brings meaning to life. In other words, the struggle has intrinsic value, just to us, whether we succeed or not. But I am not an existentialist, and in the objective world we share, our tasks do not endlessly repeat. It does look like we live in a world where the rock will always roll back down - time and entropy conquer all - but sometimes the rocks stay at the top of the hill, a long, long time. Longer than the allotted time we have to push rocks up the hill, sometimes; sometimes the rock stays up, even when we're the ones that slip and fall away. It is, in short, possible to succeed. It's possible to build something that lasts ... but what if we don't? Well, even if we don't, I am still not an existentialist, and in the objective world we share, our burdens are not unique to ourselves. There are many other people pushing rocks, and it brings comfort to know others are struggling. There are many other hills - sometimes, they even look like the same hill - and it can ease other's paths to know which parts of the slope are better. That is, not only does the struggle have intrinsic value, above and beyond the possibility of leading to a reward, our reports about the struggle also has extrinsic value, value to others who are fighting the same struggle ourselves. Keeping our struggle to ourselves is noble; sharing it with others is valuable. Perhaps, even, something that could lead to a reward. What if ... I know it is too late for this for the work you did over the last year, but imagine ... what if you had a blog, and every week blogged about your experience finding and overcoming development / product / business challenges for Company X? Yes, I know there are millions of blogs, and yes, I know most of them are drek. But they're not what I'm talking about: I'm talking about your blog, your experiences, your wisdom. Imagine, if you'd been doing that from the ground up, talking about your experiences, passing on your wisdom, it might start to build a name that you could turn into a career. At the very least, it would be another point of reference for your resume. Seriously, I've learned from you about how to use technology X to design web sites and benefited from development platform Y that you pointed out to me. And I've been doing this for years. If I could learn from you, don't you think other people could to? Everything you're doing might be a building block in the next big thing. I know it's trite to say that many great companies have started in garages ... but how much copy has been written sharing those stories? How much have you benefited from learning how others have done things? How much can other people learn from you? How big can you think? -the Centaur

Reblogging

centaur 0
Way back in the dawn of time, the Library of Dresan looked very different. And I didn't just write all the articles ... I formatted all the HTML by hand. Now, thank goodness, publishing to my blog is easier than I ever imagined, back in the day (and no, I'm not going to snark about Blogger having as many problems then as now, it served me well for many years before it, well, finally stopped serving me well). SO ANYWAY, I'm reblogging all of the old articles of the Library, tagged now as, um, Reblogging. I will of course leave the original Articles up for historical interest and my eternal embarrassment. I mean, adding banner ads to my own site ... pointing to my own site! What was I thinking? Really, next I'll get so self-referential I'll be critiquing myself as I'm writing this! -the Centaur

The Wayback Machine

centaur 0
No, not the WABAC machine ... the Wayback Machine! As clever as Mr. Peabody's invention is, what we're talking about here is the Internet Archive's tool for looking at what the Web looked like long ago. It's located at www.archive.org and is a great tool for inspecting, for example, how your own web sites have evolved. Let's take a look at what the Library of Dresan looked like, long long ago. Set the Wayback Machine to December 3, 2001, Sherman! (If you're following along at home, you might want to play the theme music for Jeopardy while the page loads ... this may take a while, the Internet Archive is stored on stone tablets). Alright, so the page looked like this: *shudder* In case you don't "get" the many problems with this version of the site, let me point out (beyond the background which makes it nearly unreadable) that the site is "dedicated" to something (universal peace and harmony) different from what it was actually dedicated to (my random thoughts and musings) and then with that in mind I went and wrote a post called "Dedication" which appears right under that dedication? Need I go on? Well, we can't expect perfection right off the bat, can we? (Or ever. Shut up, voice of reason! I'm just sayin'. Shut up!) At least I haven't done something dumb like, I dunno, making my site logo with Papyrus. That would be just too embarrassing for words. -the Centaur

Checking out something with the theme…

centaur 0
...if this was a real post, I'd say something substantive, like that I suspect if the top post has an image in it, it can cause the header to move up and be covered by the banner image, which is wrong. Stay tuned... -the Centaur UPDATE: No and yes. If a post has a WordPress-style image in it, it can chomp its own header, regardless of whether it is the first post.  Got a little bit of debugging to do... UPDATED UPDATE: Teh problem wasn't that the image had a theme error, the problem was the post had no title. Easily fixed: add a title, OR update the theme to write "This Post Title Unintentionally Left Blank" in the box... :-) UPDATED UPDATE POSTSCRIPT: And I award Chrome's Developer Tools (themselves based on the WebKit Inspector) the prize for helping me find this bug by giving me an easy way to navigate down to that element and see that it wasn't just squeezed out (which had happened in an earlier iteration of the theme I'd tested locally on my laptop via MAMP) but was indeed missing its content. Hm. Another fix for hte bug would be to set a minimum height on the div for the title of the post ... interesting ...

Blogging from a mobile phone, take 2 (3?)

centaur 0
Almost easy enough to do when taking a walk. Easier to use voice input. Almost. It didn't successfully read the previous sentence (or this one) but it was close. - the centaur

And so … the WordPress adventure begins.

centaur 0
Actually it was quite an adventure just getting this far, for which I've taken notes that I plan to blog.  But I thought I should make the following points:
  • Yes, I know a number of widgets on the site are broken.
  • Yes, I know a number of parts of the theme are messed up.
  • Yes, I know there are parts of the theme that are messed up, that I don't yet know are messed up. :-(
And I shudder to think how the site must appear in IE. I'm working on it, though. Trust me. More in a bit... -the Centaur UPDATE: I have indeed checked out the site in Firefox for Mac, Safari for Mac, Chrome for Mac and IE for Windows. It actually looks a bit better than it did before (IE in Windows had developed some recent error). Yaay! Now all I need to do is fix the list items, the search box, restore the twitter and flicker boxes, get the footer working right again ... sigh.

No, THIS is the Dawning of Val Mar

centaur 0
BWAH HA HAHAAHAA! Posting to the blog is LIIIIVE again. And for those that don't get it, "The Dawning of Val Mar" is a private in joke that about 3 people on Earth will get ... that was originally the "first post" on my WordPress blog before I had to delete it. The post is gone, but the in joke lives on.  Massive flurry of posts to follow, God willing. Peace out. -teh Centaur

Stopgap Publishing

centaur 0
Blogger has discontinued FTP, so I am migrating to WordPress. (No, I have zero interest in remaining with Blogger when they have discontinued the feature that made me select them, and having spoken with the team, I'd love to say I respect their reasons, but ... well, if you don't have anything good to say (and, really, I most sincerely don't) then vote with your feet.)

In the meantime, because writing novels and spending time with my wife and cats has to take precedence over Webworks, I let the deadline to migrate lapse before my WordPress installation was ready. SO I can make any necessary announcements for those who read this blog via Reader or RSS feed, I have reluctantly ported the Library of Dresan to http://blog.dresan.com/ - don't get used to this; it is going away.

Further announcements forthcoming.
-the Centaur

Anonymous Commenting Disabled

centaur 0
who gave me this dang thing

Sorry, commenters, but the signal-to-noise ratio of anonymous comments was approaching zero. :-( It was getting to the point I almost rejected some real though short comments because they were looking like the spam comments I was getting - I apologize if I dinged a real person by accident. But when you don't know who's sending a gift, you never know what's inside the wrapper.

-the Centaur

Pictured is my cousin Bryan Norman, receiving a joke gift of a mailbox at last Christmas's White Elephant gift exchange - though I dispute the Wikipedia article, I lived 38 years in the Southeastern United States and never heard it called a "Yankee swap" - always "White Elephant" or the less-politically-correct "Chinese Christmas".

The Last Hurrahs of Blogger FTP and Earthlink

centaur 1
As some of you may noticed, posting to the Library was down for a while because my FTP provider changed its configuration silently. Blogger was able to publish to the old site without errors - but that old site was no longer being published to the web. This is one of the many reasons Blogger has decided to discontinue FTP. I've talked with the team and read over their documentation, and while there are some usage patterns that I can do for many of my blogs, I'll be transferring the Library of Dresan over to a new hosting provider and blogging provider. There will be some disruption for a while all the way down to my email addresses as I get my online life a little more under control. Please be patient while this goes on ... I'll keep posting via Blogger through maybe March until I get this sorted out.

Has Blogger *ALREADY* Discontinued FTP?

centaur 1
Or is my FTP flakey, proving the need for them to discontinue FTP?

Testy Testerton from Testtown, Testania. Test. Test.

I’m very depressed…

centaur 0
... I researched the Blogger issue. Three, maybe four of the blogs I manage will work well with the new system.

This one, the one I post on the most, won't. And there's no good workaround yet, though I am looking into it.

*sigh*.

I'm pretty sure I *can* do this - keep the Library of Dresan site completely static HTML pages so that there's no software on it to hack - but the existing FTP blogging clients seem pretty niche. And using WordPress or MovableType in this mode will, as I understand it, require that I set up WordPress on my laptop or desktop and write some software to rewrite the files and FTP them up to the site. You know, the feature Blogger handled automatically for me.

*sigh*

-the Centaur

Blogger FAIL

centaur 0
Blogger is discontinuing FTP:
In evaluating the investment needed to continue supporting FTP, we have decided that we could not justify diverting further engineering resources away from building new features for all users. For that reason, we are announcing today that we will no longer support FTP publishing in Blogger after March 26, 2010. We realize that this will not necessarily be welcome news for some users, and we are committed to making the transition as seamless as possible.
Looks like it's time to find a new blogging provider.

-the Centaur

Spam comments: the new black.

centaur 0
Hey black hat guys, comments are STILL MODERATED. This is doing you no good. Cut it out.

Qumana FAIL

centaur 0
A nice blog editor, but when I tried more complex formatting in the last post it didn't display it well in preview mode, leading to errors which required heavy editing on the actual Blogger side. Still, it helped me get the essay written.

-the Centaur

Making Blogging Easier, Part I

centaur 1
chihuly art at palo alto medical foundation

So I want to blog more, ideally approaching one a day.  If I was just tossing up blog entries for filler, like I sometimes do, that wouldn't be a problem; however, I'd like to put up more substantive articles.  But I find that putting up more substantive articles takes a lot of time - so keep up the pace I need to improve my process.

I already have trained myself to use Blogger more efficiently, use tools like Qumana to make it easier to access Blogger while offline, and am experimenting with AndroBlogger in an attempt to make it easy to post while, well, anywhere I've got my Nexus One.  But there are still barriers to putting up entries.

One barrier is my process.  Note the last paragraph?  It has four links.  I like to put in links to topics I reference, so a certain amount of time is taken up finding appropriate web pages and linking them in.  There isn't much I can do about this except not go down the rabbit hole - ideally, I'd like to post a short paragraph about each link, but that's too much detail.

Another barrier are my goals.  One of my friends, Jim Davies, thinks that blog posts should have pictures - and I agree, though I can't immediately find the blog post in which he said it - perhaps that means we discussed it aloud.  So ANYWAY, there was another chunk of time wasted trying to find a link.  Where was I?  Ah.  The barriers of my goals.

If I want to blog an article with a picture, the picture needs to be on the web.  But I try to avoid linked images for copyright  reasons (and to prevent brittleness in case the target takes it down; for embedded Youtubes, which, well, there isn't a good substitute for yet).  So I need to upload the image to MY site, a chore I currently do with the Cyberduck ftp client.

And here the constraints get harder: in precisely the same way I don't let iTunes tell me where to put songs, I choose not to use Blogger's interface because I have scheme for posting images which predates Blogger and which I will continue to use after Blogger is gone: http://www.dresan.com/images/imagename.jpg, which is simple and easy to remember.

What's worse, my cameras take images at huge resolutions, so I need to shrink and resize the images to fit in the width that fits on my website.   For a variety of reasons, I go with 800x600 or 600x800, in a standard block of HTML which shrinks the image, adds a link to the source of the image, and ads some alt text.

So now I've put on myself a huge set of constraints which makes the simple task of putting up images on my website a chore - get the picture, resize it, start Cyberduck, upload it, write the two lines of HTML gloop necessary to display it, and then and only then see the preview so I can see I made a mistake.  There has to be a better way.

chihuly art at palo alto medical foundation

Enter UNIX shell scripting, Python and the ImageMagick toolkit.

The first thing that I did to make my life easier was to auto-generate the stanza of text that displays the image.  I mean, it's the same thing each time - an anchor tag pointing to the image, with alt text, then the img tag itself, with the same alt text, sizing and border information, like this:

 
some alt text
src="https://www.dresan.com/images/image.jpg" />

So why write ALL of that every time? Why not just write the changes and let the computer do it for you? SO I wrote a piece of code in Python which does just that, produces that text for me:

#!/usr/bin/python
import sys

TEXT= """
%s
"""
if len(sys.argv) < 3:
print "usage: %s image alt text" % sys.argv[0]
else:
image = "http://www.dresan.com/images/%s" % sys.argv[1]
alt = ' '.join(sys.argv[2:])
print TEXT % (image, alt, image, alt)

I'm not going to turn this into a Python tutorial, so, briefly, all this does is check to make sure I specify a filename and some alt text, stuffs it into a template, and prints it out so I can cut and paste. Here's an example of that in operation, turning chihuly.jpg and "chihuly art at palo alto medical foundation" into a stanza of HTML (spaces added for readability):

centaur@Deliverance (Wed Jan 13, 22:48:25) [520] ~/Development/Workspace/Webworks:
$ ./imagelink.py chihuly.jpg chihuly art at palo alto medical foundation



alt="chihuly art at palo alto medical foundation"
src="https://www.dresan.com/images/chihuly.jpg" />

That saves me several minutes of typing each time. This is one of the great Programmer's Virtues: laziness - making the computer do something you don't want to do for yourself.  The maybe thirty minutes I've spent tweaking that little script have paid off not just in the time that I saved typing, but in the extra blog posts that I've done because they were easier to do.

In the next installment (or two, depending), I'll write a tool to shrink the images to size with ImageMagick and upload them automatically with UNIX tools, and discuss some of the other tools and organization schemes I use which make it easier for me to collect the images and keep them organized - schemes that work even if you switch between operating systems.

-the Centaur

 chihuly art at palo alto medical foundation

The images are Chihuly glass sculptures hanging in the Mountain View campus of the Palo Alto Medical Foundation.

AndroBlog FAIL

centaur 0
First posting claimed it failed; retrying resulted in a double post. Plus it can't handle multiple blogs on one Gmail account, and capitalization of the first words in sentences is oddly broken. And it crashed while writing this post. Meh.