The ravens are looking a bit sluggish. Tell Malcolm they need new batteries.

Monday, May 28

Geek

Right, Now I Need To Set Up...

Oh.  I already did that, like, ten years ago, and it still works?

Huh.

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

Saturday, May 26

Geek

System Updates

Made good progress on the HTTPS cutover today.

Two main problems:
  1. We need a wildcard certificate, because the rate limits for free certificates would take decades to secure all the blogs.
  2. Forms have to be explicitly HTTPS; implicit form actions are HTTP (unencrypted), and browsers don't permit HTTP form actions from an HTTPS page.
I've updated Minx to produce a [http.base] field that you can simply stick in front of any relative path that will automatically update for the HTTPS switch (and also if you change your blog address).

There were a couple of glitches while this was going on, but mostly it was confined to my blog.

Update: DNS changes have propagated, and I've set this blog to always use HTTPS.  All forms across all blogs should be updated in the system now to switch to HTTPS as it becomes available (this caused me the most pain).

Will continue testing on this blog before switching everyone else across.

Update 2: Bugger, got one of the DNS updates wrong.  Sites will load slowly for the next hour or so because they're waiting for a script to load from an IP that's blocked by our hosting provider (long story).  I could try to fix that, but it would take an hour to make and test the changes.  Some of the fancy features might not work while we wait for that DNS change to propagate.

Update 3: That's fixed now.

Update 4: Broke mee.im, which was depending on the old mee.nu DNS servers.  Fixed that too.

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

Geek

Pest Toast 2

Post post post....

Post more.

Post post post post.....

Foof!

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

Friday, May 18

Geek

Glitch In The Matrix

Sorry, the backup script froze the database for a few minutes.  It's not supposed to do that, but it did.

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

Thursday, May 10

Cool

And Now Its Time For Name! That! Moon!

Our earlier game of Name! That! Planet! found a winner perhaps a little too quickly, so this time we're going for something slightly trickier.

https://ai.mee.nu/images/Planets.jpg?size=720x&q=95

Answers should include a stamped, self-addressed envelope and twenty bucks.  Or just have at it in the comments.  Neatest correct entry wins.

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

Saturday, May 05

Geek

Zoom Zoom

2000 users registered in 21.079s, avg 10.5ms
20000 friends added in 19.551s, avg 1.0ms
20000 idiots muted in 15.948s, avg 0.8ms
2000 lists added in 3.497s, avg 1.7ms
20000 members added to 2000 lists in 54.352s, avg 2.7ms
2000 channels added in 4.420s, avg 2.2ms
2000 mixes added in 9.542s, avg 4.8ms
2000 messages posted in 15.774s, avg 7.9ms
2000 stacks added in 3.227s, avg 1.6ms
20000 slots added to 2000 stacks in 63.906s, avg 3.2ms
[more messages posted...]
39867 messages viewed in 2000 requests in 17.310s, avg request 8.7ms 49595 bytes 5873 bytes gz

 

Doing some refactoring, and running the test suite repeatedly to check that nothing has blown up.  (Which it did earlier this evening.)  Performance is on a single-core Vultr VPS with 2GB RAM.  Production is a 6-core/12-thread Xeon 2620 v2 with 64GB RAM, so throughput will be quite a bit faster.

That's without any caching, too.
more...

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

Friday, May 04

Geek

The Return Of The Database

Sorry, got impatient while doing the changes and pushed the server too hard broke things.  Only broke them a little bit, but once it's broken at all it takes 45 minutes to check the indexes and bring the database back online.

There's something not quite right with the storage on these KVM servers I'm using.  I'm probably going to switch back to bare metal servers for the databases.  VPSes are fine for apps and files, but databases need consistency.

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

Thursday, May 03

Geek

The Return Of Recent Comments And Search Thingy

Um, they're back.

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

Geek

Pest Toast

Poast poast poast...

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

Tuesday, May 01

Geek

New Toy: Arale

It's a Xeon E5-2620 v2 with 64GB of RAM and a RAID-6 array of SSDs.

It's very cheap because it's a 2013 system - not quite 5 years old - and they're small SSDs.  But it will do nicely to replace a couple of our other servers that are running with single SSDs.

It will be the main server for the new platform.  I was worried until the weekend that I'd need more CPU power than that, but the 5x performance gains I got from two days of intense optimisation mean that this little server will run like the wind.  In Kansas.  In May.

The 64GB RAM is nice too; the other server I got recently only has 16GB, which is adequate but not spacious.  I had been considering Digital Ocean because of the ease of use, but it would cost nearly 5x as much if I wanted that much RAM in one place.

...

And I have that stupid boot loader problem with this one too.  Digital Ocean does not suffer from boot loader problems.

Update: Well, that was weird.  Five-year-old hardware but a two-year-old operating system won't boot.  But a week-old operating system does.

Well, Ubuntu 18.04 here we go, I guess.  While fiddling around I turned it into a RAID-1 for boot and a RAID-5 for storage.  I'll probably keep that.

https://ai.mee.nu/images/Arale-top.png?size=600x&q=95


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

<< Page 1 of 1 >>
65kb generated in CPU 0.0254, elapsed 0.2112 seconds.
55 queries taking 0.1984 seconds, 387 records returned.
Powered by Minx 1.1.6c-pink.
Using http / http://ai.mee.nu / 385