Work from January, 2008

Browse archive...

← Back to Homepage

Key based authentication

Another good reason to use ssh keys? My key is still on the server of a group I haven't worked with in three years. I have no idea where I'd start looking for a password, but when the called me in a panic because their site had been "oWneD bY ...

View Key based authentication

There are no stupid questions

My brother and I had a brief exchange recently that went about like this. He's having trouble with Firefox on Ubuntu not loading external style sheets and images when he's viewing a local file. I've never actually seen that behavior, but at this point I don't do a whole lot with local HTML files. I serve everything over local domains because I'm using PHP or server side includes or (shudder) both. I suggested that he define some .local domains (a thing I picked up from OSX), but he didn't jump on that one: That's intriguing but seems like a little pain in the posterior since all I need to do on my Windows machine is open the HTML document from where ever it may be and it works like it is supposed to. Does running Apache also allow you to run PHP and MySQL or will that take special servers in addition to the local web server? Apache is a daemon. So is MySQL[1]. PHP is a language that Apache can interpret if you tell Apache to interpret it. Apache can also talk to MySQL if it is configured to do so, though you need a language, like PHP or Perl to carry messages back and forth. It might be more accurate to say that PHP can talk to MySQL. You can't do much besides command line php (which is cool, but not very useful web-wise) unless you're running it in conjunction with Apache or another web server. (if anyone wants to grammar check that paragraph, please do!)

View There are no stupid questions

Just wondering

Was the mustache game fun? (tell me I didn't miss anything). Will they who come after recognize that these little text files named "meep" and "feh" came from me? Is this my footprint? Why does grep think that text files aren't? 25 Binary file ./suggests/insert.php matches 26 Binary file ./suggests/insertcat.php matches Is it grep what thinks that? Similarly, is there a batch operation that will let me fix the file formats of thousands of files with ^M where they mean to have line breaks?

View Just wondering

Comment Policy

Sometimes I delete comments that I don't like. Sometimes I delete whole posts while I think through comments I didn't like. That is just me being fickle, and if I actually know you, like if you live upstairs or just off Nostrand or whatever, I'll call you to tell you ...

View Comment Policy

Following the Corn Syrup

Two things I learned from Following the Bloom: One, migratory beekeepers aren't particularly new. Two, honey bees are routinely fed corn syrup.

View Following the Corn Syrup

Mumbling about the Frankenserver

This is just plain weird, from my error logs for a site that about five people ought to be accessing: [Wed Jan 16 14:48:39 2008] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed Jan 16 14:48:39 2008] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed Jan 16 14:48:40 2008] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed Jan 16 14:48:40 2008] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed Jan 16 14:48:41 2008] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed Jan 16 14:48:41 2008] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed Jan 16 14:48:42 2008] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed Jan 16 14:48:42 2008] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed Jan 16 14:48:43 2008] [info] (32)Broken pipe: core_output_filter: writing data to the network [Wed Jan 16 14:48:43 2008] [info] (32)Broken pipe: core_output_filter: writing data to the network Apache has a helpfile on this particular error, but I wouldn't call it the most illuminating manuscript out there: Invalid argument: core_output_filter: writing data to the network Apache uses the sendfile syscall on platforms where it is available in order to speed sending of responses. Unfortunately, on some systems, Apache will detect the presence of sendfile at compile-time, even when it does not work properly. This happens most frequently when using network or other non-standard file-system. Symptoms of this problem include the above message in the error log and zero-length responses to non-zero-sized files. The problem generally occurs only for static files, since dynamic content usually does not make use of sendfile. To fix this problem, simply use the EnableSendfile directive to disable sendfile for all or part of your server. Also see the EnableMMAP, which can help with similar problems. I'm using ext3, which I don't think qualifies as a "network or other non-standard file-system." So what gives? I don't know where to start.

View Mumbling about the Frankenserver

We Live in Public (a circle)

I've edited this since the morning, ever so very slightly. So, I'm mildly addicted to a few blogs about design and getting dressed in the morning. Bits and Bobbins is one of them. Tricia is pregnant, which is one of those personal things you can know about total ...

View We Live in Public (a circle)

We Live in Public

It is eating at me, to be sniped at on my own blog. Later, maybe I'll repost but for now I need to stop thinking of zippy comebacks, and I can't do that with. That wasn't even the point, is all I can really say.

View We Live in Public

Tuning mySQL

I'm going to get back to ye olde Postfix puzzle eventually. But first I'm looking at mysql again.

View Tuning mySQL

Just in time for Christmas!

Oh wait, it is too late to give it to everyone on your list. Whatever. an atlas of radical cartography is out finally. Go buy ten copies.

View Just in time for Christmas!

← Older

FolioGrid - a Premium Wordpress Theme by FrogsThemes.com