I'm in the future. Like hundreds of years in the future. I've been dead for centuries.
Oh, lovely, you're a cheery one aren't you?

Monday, June 11

Geek

Got It!

Finally tracked down what's going on on the production web servers.

The system automatically flushes the cache when you update a page, so people don't get old copies of the page.  That's timing out - it eventually happens, but it takes more than ten seconds, so the reverse proxy times out and returns a "System not available" error.  Since the cache flush is handled by the redirect module (which all update pages have to call), you never receive the redirect because the proxy closes the connection first.

It was particularly confusing because (a) the updates actually worked and (b) because the error was inside the redirect module and redirect logging was at the start of the redirect module, the log files showed that the redirect was happening but no browser request was following it.

And the reason for that is that (a) I didn't have a local cache running and (b) the remote cache is blocked by the firewall.  It seems that cache lookups time out immediately, but cache flushes take much longer.

Which should have been obvious.

Posted by: Pixy Misa at 12:32 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 180 words, total size 1 kb.

Sunday, June 10

Cool

How To Create Your Own Zombie Army!

Sort of.

Posted by: Pixy Misa at 07:12 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 9 words, total size 1 kb.

Saturday, June 09

Cool

Fascinating

The new servers are acting poopy: While they are working fine for the database and files, and even for delivering pages out of Minx, when you submit a form you get neither a response nor an error... But the form does in fact work.  I've misconfigured something somewhere, but because I'm not getting an error back it's slow going trying to work out what.

Meantime, this is, well, fascinating.  I'm really rather surprised it's not more harmful than described.

(via Miss Anthrope at JREF)

Posted by: Pixy Misa at 10:00 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 85 words, total size 1 kb.

Geek

Encouraging Signs

Just finishing the preparations for the launch of mee.nu.

I loaded a copy of the current beta database onto the production cluster.  By the time I could switch screens and bring up phpMyAdmin, it had already finished replicating.

Posted by: Pixy Misa at 02:44 AM | Comments (3) | Add Comment | Trackbacks (Suck)
Post contains 40 words, total size 1 kb.

Friday, June 08

Cool

Newspapers Just Might Survive

Maybe:
Hello everyone: I’m the new Buzz.mn content-wrangler. I’d say “editor,” but to me, the words “James Lileks, Editor” look like “Wile E. Coyote, Genius.”
Chances are still slim, but since the patient appeared to be DOA just a week ago, that's a hell of an improvement.

Posted by: Pixy Misa at 12:33 AM | Comments (3) | Add Comment | Trackbacks (Suck)
Post contains 49 words, total size 1 kb.

Thursday, June 07

Rant

Grr. Argh.

It's been a very tiring and frustrating week, for reasons I'm not going into right now, but which started with the bandwidth and server problems I mentioned earlier.

This is just the latest example of the herds of bleating nuisancery that flock to my inbox every day:
Effective immediately, .NU Domain has modified its policies and now permits the registration of .nu domain names using only one or two characters, including numeric characters - such as aj.nu, 92.nu or mu.nu - under our new Premium Names Service.
Hey, nice example there, given that I registered it in 1997.
The cost to register a two-character .nu Premium Name is 250 EURO (2 500 SEK) per year.
Crapsprockets.  It was 60 Euros for two years.  And yes, they've upped the renewal fee for existing domains.

Fortunately I'm already paid through to November 2011.

Update: The president of the .nu registry just apologised for that.  Seems like a nice guy, apart from the bit where he increased my renewal fees by 700%...

Posted by: Pixy Misa at 05:42 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 167 words, total size 1 kb.

Monday, June 04

Cool

An Evening With Christopher Hitchens

At FrontPage.

I have got to buy his new book, God is Not Great.  Hell, it reduced his own brother to spluttering inanities.

I don't agree with him all the time, but he's consistently entertaining and insightful.

Update: Bought. While I was browsing the atheism section, and getting irritated by books like this one, another guy came up and also picked up a copy of God is Not Great.

Posted by: Pixy Misa at 06:44 PM | Comments (9) | Add Comment | Trackbacks (Suck)
Post contains 74 words, total size 1 kb.

Geek

No Joy In Mudville

The server that ate all of mee.nu's bandwidth just corrupted its own operating system and died.

Emails have been sent, you betcha.

Update: Evil server is no more; they've done a complete system swap.  Now I just have to reinstall everything.

Posted by: Pixy Misa at 04:24 PM | Comments (4) | Add Comment | Trackbacks (Suck)
Post contains 45 words, total size 1 kb.

Geek

Bugger

I just discovered that the two mee.nu production servers, which I'm about to put to work, had a little glitch in their reverse proxies and somehow managed to exchange a terabyte or so of wasted packets in the past few days.

Over our hosting company's public network.

And since it was a terabyte in each direction, and they bill for both incoming and outgoing data, that means I just used up the entire bandwidth quota for mee.nu for the month.*

Bugger.

Fortunately, Softlayer's excess bandwidth charges are among the lowest in the business, but still... Bugger.

Filed a support ticket throwing myself on the mercy of the accounting department.  You never know.

* Excluding the beta server, but I need to take that offline, get the drive replaced, and reinstall the operating system.

Posted by: Pixy Misa at 05:04 AM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 134 words, total size 1 kb.

Saturday, June 02

Art

It Takes An Image

Well, I've uploaded Minx 1.0, so it's time I started playing with some of the new features. Let's see:

Automatic Server-Side Image Scaling and Thumbnails (ASSIST!)

Shrink to 200 pixels wide - side-by-side with a browser-scaled image for comparison:
[thumbnail=/images/Benten.jpg size=200x]
http://ai.mee.nu/images/Benten.jpg

Shrink to 200 pixels tall:
[thumbnail=/images/Benten.jpg size=x200]


Fit inside a box 100 pixels square, keeping proportions:
[thumbnail=/images/Benten.jpg size=100x100]



Resize to 100 pixels square, regardless of proportions:
[thumbnail=/images/Benten.jpg resize=100x100]


Accessing this directly from HTML:

<img src="/images/Benten.jpg?size=200x" border="0" />
benten

This is intended to make it easy to produce image galleries and photo albums where you need to produce images in multiple resolutions. Also, it will be used for user avatars: Since mee.nu users have complete control over their site layouts, there won't be a single fixed size for avatars, and resizing in the browser produces ugly images.

The advantages (apart from the improved quality) are that it makes it very easy to keep the image proportions, and it produces smaller files for fast loading times. (And less strain on your bandwidth.) Doing high-quality image processing is fairly CPU intensive, but we already have 16 CPUs at our disposal, so that is not anticipated to be a problem.

One hitch: This doesn't work for animated GIFs. Neither does the image processing function in the file module; the GIF library I'm using is lacking in several respects.

Posted by: Pixy Misa at 11:07 PM | Comments (6) | Add Comment | Trackbacks (Suck)
Post contains 220 words, total size 3 kb.

<< Page 2 of 3 >>
67kb generated in CPU 0.05, elapsed 0.3508 seconds.
55 queries taking 0.3126 seconds, 329 records returned.
Powered by Minx 1.1.6c-pink.
Using https / https://ai.mee.nu / 327