Absolutely nothing happened in Sector 83 by 9 by 12 today.
I repeat, nothing happened in Sector 83 by 9 by 12.

Sunday, February 05

Blog

Design Refresh

I'm doing a new design for the next version of Minx, based on the 960.gs / Skeleton / Bootstrap CSS layout libraries.*

The rounded corners are likely to go at this stage; form design will improve, and blogs will resize (at least in theory) to fit your device, but in discrete steps rather than one pixel at a time.

The idea is that you'll choose a 12- or 16-column layout, and then assign a certain number of columns to each element on the page, so you might choose 12 columns, and allocate 8 to the content and 4 to the sidebar.  But you could also have a headlines area (between the banner and the content) with three items each four columns wide.

The new base widths will be 700 pixels (for smaller devices like tablets and phones), 940 pixels (for older PCs and notebooks), and 1180 pixels (for larger screens).  All of those work out evenly whether you choose a 12- or 16-column grid.

There will be a pair of new, interactive menu bars above and below your banner image, the top one for the mee.nu system as a whole, the bottom one for your site.  The current ads (which I haven't sold any of yet anyway) will shrink down to fit in the top menu bar, rather than sitting above it, and will expand out on mouseover.  I think that's the best compromise to make them as unobtrusive as possible while still giving advertisers a useful amount of space.

Sample Images

/images/mee.nu1.21.jpg
/images/mee.nu1.22.jpg
/images/mee.nu1.22w.jpg
/images/mee.nu1.23.jpg
/images/mee.nu1.24.jpg
Update: Damn arithmetic!  One problem with the above layout is that to fit ads neatly in the sidebar you'd want it to be 240 pixels wide - the same as the ad itself.  But the maths just doesn't work out.

With a 940-pixel standard layout, you have 12 columns each 60 pixels wide, and 11 margins in between each 20 pixels wide.  12 x 60 + 11 x 20 = 940.

With 16 columns, it's 16 x 40 + 15 x 20 = 940.

This works because we're ignoring the rightmost 20-pixel margin - if we included that, the widths would be 720, 960, and 1200 pixels - all multiples of 240, with lots and lots of useful factors.

So if you have a 3 column sidebar in a 12-column layout, that's 3 x 60 + 2 x 20 = 220px.  4 columns in 16-col layout is 4 x 40 + 3 x 20 = 220px.  Either way, too narrow for the ad.  4 columns in 12-col layout is 4 x 60 + 3 x 20 = 300px; 5 columns in 16-col layout is 5 x 40 + 3 x 20 = 280px, which leaves a fair chunk of space over.

I'm not sure how bad that will be in a live design, so I'm not going to tear up the fundamental principles of mathematics just yet.  And you could force the sidebar into a 240-pixel layout within a 280/300 pixel division if need be, with a larger than normal gap between the sidebar and the main content.

Real-world testing is indicated here.

* Most likely Bootstrap; I had some issues with version 1.4, but the newly released 2.0 cleans up most of the things I didn't like and adds even more features.

Posted by: Pixy Misa at 10:04 AM | Comments (4) | Add Comment | Trackbacks (Suck)
Post contains 547 words, total size 4 kb.

Tuesday, August 30

Blog

Location, Location, Location

Okay, I've lined up reasonably-priced providers in the following locations:
  • Phoenix (2)
  • Dallas (2)
  • Atlanta
  • New Jersey
  • Chicago
  • Los Angeles
  • Fremont
I'm not sure about the company operating the Chicago and Fremont hosting - they seem to have happy customers, but they're small and operate out of Malaysia.  Mind you, I'm even smaller and operate out of my living room...

One of the providers in Phoenix - I/O Flood - is also a tiny company, but they clearly know what they are doing (very active online) and their pricing is great.  The other two providers have been in business for years and I've had servers with both of them previously, but they're the most expensive.  (But still significantly cheaper than what I'm paying now.)

Fremont, Dallas, and New Jersey would make sense from a geographical perspective, but I really like the guys in Phoenix.  Maybe Phoenix and Atlanta.

Ah, decisions, decisions. wink

Posted by: Pixy Misa at 10:08 AM | Comments (2) | Add Comment | Trackbacks (Suck)
Post contains 155 words, total size 1 kb.

Saturday, August 27

Blog

Planned Downtime

We're going to have a little downtime around 1AM CDT this Sunday to replace the failed drive.  Should only be around 15 minutes assuming all goes well.  If all goes wrong, could be a couple of hours.  I'd place the probabilities at about 60/40.

Running and double-checking backups right now.

Update: Ran a little late and a little long and a little hiccupy, but all done now.

Update to the update: And then when all was said and done, the network decided to notwork: The switch lost track of all our IP addresses and effectively null-routed the server.  Had to manually bind them directly to the network interface, then restart the virtual servers one by one.

Posted by: Pixy Misa at 02:09 PM | Comments (2) | Add Comment | Trackbacks (Suck)
Post contains 118 words, total size 1 kb.

Sunday, August 21

Blog

Sorry About That, Folks!

Had a drive failure1, which caused the system to reboot2, which caused a lengthy filesystem check because we'd been up so long3, which when circumvented allowed us to boot cleanly, which highlighted a networking glitch4, which when fixed allowed us to find the database corruption5 which we've now fixed allowing us to get back on the air.

I was supposed to be in a conference session on hosting web applications right about now...

1 Grrr Western Digital! 6
2 Grrr Adaptec! 6
3 Grrr ext3 default settings which I didn't bother to override...6
4 Grrr OpenVZ! 6
5 Grrr MySQL! 6
6 Though it must be said that we've been running on this without a hiccup for nearly 18 months.

Posted by: Pixy Misa at 09:26 AM | Comments (7) | Add Comment | Trackbacks (Suck)
Post contains 124 words, total size 1 kb.

Thursday, January 27

Blog

(Tinkery-Type Noises)

Youtube video, default size (now widescreen, 480x270 16:9 video).
[youtube=5_sfnQDr1-o]


Youtube video, custom size, including the extra 30 vertical pixels the player uses:
[youtube=5_sfnQDr1-o size=400x255]


Youtube video, custom size, not including the extra 30 vertical pixels - the BBCode engine detects if you've entered something that works out to exactly 4:3 or 16:9 and adjusts the player size appropriately:
[youtube=5_sfnQDr1-o size=400x225]


If you mess up the size it still works:
[youtube=5_sfnQDr1-o size=400x224]


Specify just the width - assumes you want 16:9:
[youtube=5_sfnQDr1-o size=540x]

Posted by: Pixy Misa at 06:38 AM | Comments (2) | Add Comment | Trackbacks (Suck)
Post contains 76 words, total size 1 kb.

Wednesday, June 09

Blog

Spring Cleaning

While in fact it's Wintertime here at Pixy Labs (and it's bloody freezing - or close to, anyway), I've just spent a couple of hours dusting off the main mee.nu site and I'm going to be posting there again.  In fact, I'm going to try posting there every day.  Even if it kills me.  Which it probably will.

Going to put up a new banner too.  I can recycle the current one next month anyway.

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

Friday, April 23

Blog

Testing Stuffs

Test test...
more...

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

Saturday, April 17

Blog

Server Migration - Sunday 18th April 8AM-9AM GMT

We'll be moving to our shiny new server this Sunday at 6PM Sydney time - 8AM GMT, 4AM EDT, 1AM PDT.  So a mostly convenient time for most people - in the evening for me, and in the middle of the night for almost everyone else.*

Downtime is expected to be 30 to 60 minutes, depending on exactly how long the network switch takes to refresh its ARP cache.  All URLs, logins, and IP address will be unchanged; it should just go offline and then come back an hour later on the new server running (up to) twice as fast.

Update: Pushed back one day and bumped.  My test migration worked perfectly, but I only got there half an hour before the real thing was scheduled to happen, so I'm putting it off until tomorrow.

* 8 o'clock on a Sunday morning counts as the middle of the night according to ISO 8833.7.

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

Friday, July 17

Blog

One Last Outage - Around 1AM CDT

Today's outage is proudly brought to you by Adaptec - "The number one name in overpriced RAID controllers with crappy firmware" - and Western Digital - "Our drives are so tough they eat other disk drives!  Also, your data."

This is to replace the insane drive and wipe and rebuild the corrupted RAID-5 volume.  Should be about 15 minutes.  Once it's done, everything should be good - we have a RAID-5 array and a RAID-1 array and an enterprise SSD for the databases.  What could possibly go wrong?

...

No, thanks, I don't want a list.

Update: DONE!

Update: And for some bizarre reason, after the maintenance was done and I'd made sure everything was working correctly, the networking went notworking.  Bleh.

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

Friday, June 19

Blog

And We're Back

I said half an hour, and half an hour it took!

Update: Except that my clever trick of redirecting the reverse proxy to minimise downtime caused the spam filter to block, um, everyone.

Most people should have picked up the DNS changes by now and won't have that problem any more.

Posted by: Pixy Misa at 08:30 PM | Comments (11) | Add Comment | Trackbacks (Suck)
Post contains 54 words, total size 1 kb.

Thursday, June 18

Blog

Really Moving

The on-again off-again mee.nu server move is on again, for this Friday at 6AM GMT.

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

Monday, June 08

Blog

Mooving

mee.nu (and the mu.nu Minx blogs) will be migrating across to its new home on Monday at 6AM GMT.

Was originally scheduled for Sunday at the same time, but I somehow slept through all of Saturday, so I'm not quite ready yet.

Downtime is expected to be about an hour.  Originally it was going to be just a few minutes, but due to recent hiccups I'm now planning to do a full database reload, so it will take a little longer.

Update: Running a bit behind schedule, bit still planning to do the move today.  I have worked out a plan to minimise the downtime, so when your blog goes blank for twenty minutes or so, that will be it.

(I should be able to put up a message saying what's happening.)

Update: Still working on it.  Tidying up the old environment now so that I can do a nice quick move.  While I'm doing that, I'll do a test run of the database load.

Update: Downtime should be only about 15 minutes.  The trial run took 3.5 minutes to dump the database, 1 minute to copy across to the new server, and 8.5 minutes to load.  That's not at all bad.

The setup is nearly ready, so I'm going to proceed and get it done before the database glitches again. frown

Update: Damn.  The database dump doesn't work correctly if there are corrupt indexes, so I'll have to do an index rebuild first, then dump.

Update: Ran into a bug.  Looks like it's not happening today after all.  I'll keep working on it and reschedule, probably to tomorrow.

Update: Doh!  I know what's going on.  Hang on...

Update: Nope, that wasn't it. sad   Weird.  I'm already running a CherryPy app in production on this server, so why won't this one start?  I can't even get a trivial sample program to run.  Same version of Python and CherryPy too.  Hmm.

Update: Foo.  Networking wasn't running correctly on the newly-created virtual server.  I restarted it, and everything is fine.  It looked like a firewall issue - with the new system, not only is the server protected from the outside world, but all the virtual servers are protected from each other, and, in fact, from themselves.  But no, it was just that the loopback interface wasn't running.

Update: Okay, looks like the application server and database are working fine now.  Just need to set up the load-balancer.  But it's nearly midnight, so I won't be doing the move today; it will be tomorrow instead.

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

Saturday, May 23

Blog

Two Removes Are Equal To One Fire

Moving mu.nu into its new home right now.

I've reached the quiet spot between frantic preparation and even more frantic bug-fixing, where the files are doing their final update.  Back to panic mode in 3... 2...

All finished!  Not too much pain involved, either.  Just waiting for the DNS changes to roll out now.

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

Saturday, February 07

Blog

1.2-alpha-c1

The new edition of Minx is working!

Okay, it's still in internal alpha testing, but after I ripped out its internals to provide for some of the major new features (scripting language, API support, safe third-party applets) it's been kind of broken for a while.

Now it's working fine, and seems to be at least close to the speed of 1.1.  I can optimise the common cases of my new tag dictionary class, which is very heavily used; that should help things along.

Hmm.

Before:
108kb generated in CPU 0.13, elapsed 0.1315 seconds.
65 queries taking 0.0324 seconds, 276 records returned.
Powered by Minx 1.1.2-beta.

After:
106kb generated in CPU 0.12, elapsed 0.1285 seconds.
70 queries taking 0.0426 seconds, 279 records returned.
Powered by Minx 1.2-alpha-c1.

But I just noticed that recent comments aren't working on 1.2.*

Based on the work I've been doing at my day job over the past year, I do have some neat ways to potentially speed up the query side of things (and reduce the number of queries).  But that's only one third the total time, so Amdahl's Law applies in spades.

* Doh!  It's that blasted cross-referencing indexy thing I implemented.  Efficient, yeah, but if the cross-reference table is empty it don't work.  And if the cross-reference table isn't accurate, it don't work right.  I'll have to find - or rewrite - the code to rebuild the index, but at least I know it's not a bug.  As such.

Posted by: Pixy Misa at 11:08 PM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 244 words, total size 2 kb.

Friday, November 14

Blog

Can You Feel Anything When I Do This?

Let's see what happens...

Well, it kind of works.  (See below.)  Say bye-bye to half my CSS settings, and at the same time, half the markup in the document itself, but other than that, it's readable enough.

That's the documentation for one active tag (albeit one of the more complex ones).  And it's pretty terse and short on examples.

As of 1.2b3, the current development version, Minx supports 1651 active tags.  (I have no idea how many data tags there are - closing on a hundred thousand, I expect.)

Of course, most of those tags are variations or combinations or or specialisations or refinements of other tags, because Minx has only about 23,000 lines of code.

But if each tag needed a paragraph of explanation, that would fill a phone book.

So I need to take what I've been writing in Word, parameterise it, and build it into a Wiki.

Fortunately, two of the features added in 1.2 are Wiki support and text macros, so I can do exactly that.

So, um, I will.

Do that.

Yes.

more...

Posted by: Pixy Misa at 12:22 AM | No Comments | Add Comment | Trackbacks (Suck)
Post contains 3117 words, total size 100 kb.

Thursday, October 09

Blog

Whoops!

Back now.  Invalid entry in my.cnf.

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

Tuesday, June 03

Blog

And Off We Go Again

Cleanup is cleaned up.  Migrator is migratoring.

Sleep time.

Have to get up early, there's a man coming round to destroy my bathroom.

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

Monday, May 12

Blog

Stampeeeede!

And the buffalo are off!

Posted by: Pixy Misa at 10:27 AM | Comments (2) | Add Comment | Trackbacks (Suck)
Post contains 6 words, total size 1 kb.

Sunday, May 11

Blog

Run! Run While You Still Can!

About to import the entirety of mu.nu into Minx.  More than 200,000 posts, more than 1,500,000 comments.

Whee!

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

Tuesday, April 15

Blog

Five Years Of Assorted Miscellanea

Today!

Huh.  It's not immediately obvious even with that link, because April 15 2003 was also a Tuesday.  But yep, five years old today.

Posted by: Pixy Misa at 08:52 PM | Comments (5) | Add Comment | Trackbacks (Suck)
Post contains 29 words, total size 1 kb.

Monday, March 31

Blog

New In 1.2: Video At Last!

Just as a reminder, this series of posts is talking about features in the new 1.2 relase coming in April. These tags aren't available on the live system just yet; I've copied the HTML produced by the test system to demonstrate their effects.

A couple more toys for you to play with, in the form of the [video] and [music] tags. I'm cheating slightly to show them working here, because while the player is installed on the server, the updated BBCode engine isn't.

To start with something simple, the tag [video=/flash/NewCuteyHoneyOp2.flv image=/flash/NewCuteyHoneyOp2.jpg theme=dark width=480 height=360] produces this:



The width and height default to 480 and 360 respectively, so if you're happy with that, you don't need to specify them. An extra 20 pixels is added to the total height for the player control bar. Two themes are currently available: dark, as shown above, and light, which is light grey with black buttons.

The image option specifies a placeholder image to be displayed until the user hits play. Or you can add an autostart option to, well, autostart. But that could get annoying - particularly if you have more than one video on the page...

Your file needs to be in FLV format at present (or SWF, but FLV is probably easier). There are a number of free tools that will convert AVI or MPEG files to FLV - Riva Encoder is one that I've tried that seems to work fairly well.

The [music] tag will display a simple player for MP3 files. The tag [music=/files/music/Eva-3-34.mp3] will produce:



You can specify a width and a theme just as with the video player.

Posted by: Pixy Misa at 03:48 AM | Comments (10) | Add Comment | Trackbacks (Suck)
Post contains 268 words, total size 3 kb.

Friday, December 21

Blog

Fixed!

That bug that was logging people out at random - the same bug that occasionally gave you someone else's name on a comments page - has been found and fixed.

It's a CherryPy bug and not a Minx bug, so I'm going to see if it's been fixed in the new beta of CherryPy, and if not, file a bug report.

The only problem is that I spent three hours looking for a bug in my code before I turned my gaze to CherryPy. neutral

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

Friday, September 21

Blog

Stampeeeede!

The migration is on. smile

Any mu.nu users want to move to Minx, just comment here or email me (andrew -at- pixymisa -dot- net), and I'll make it happen.  I've copied the post from Munuviana into the extended entry for more details.
more...

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

Friday, August 17

Blog

Popup Overload

Part one of the theme builder - the part that does fancy banners as seen above - is installed, though I haven't activated it for everyone.

Parts two and three, which handle layouts and styles respectively, will go in tomorrow.  That brings the total number of colour options available to 104.

That's not 104 different colours; that's 104 different things for which you can specify the colour.  Each with a little popup colour selector.

Also, you can spell it "color" and it still works.

Posted by: Pixy Misa at 11:18 PM | Comments (2) | Add Comment | Trackbacks (Suck)
Post contains 86 words, total size 1 kb.

Blog

Whoopsy

I was testing the new theme builder module on my test box (a good place for that sort of thing).  It seems to work well, except that the first thing it does is rename and deactivate your header, footer, and banner templates and replace them with the new standard versions.

Which I haven't actually set up yet.

One good point: Turns out the system is actually still usable with the header, footer and banner templates all missing.

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

<< Page 1 of 16 >>
119kb generated in 0.2587 seconds; 66 queries returned 294 records.
Powered by Minx 1.1.4-pink.