Gallery2 Rocks

2005-12-17 23:55:33 PST

Tags: ,

I added rss links for each tag. Now you can follow parts of mindstab if you so wish.

Also, I upgraded to the very sexy Gallery2. The install is amazing. Very simple, it does most things for you, it’s quick, and it gives you good feed back about how it’s progressing. I’m very impressed. It’s a solid amazing webapp. Good use of AJAX for feed back. Feels very real app like.

The one down side is that F-Spot currently doesn’t seem to support Gallery2. But that should be changing soon. There’s already a patch floating around.

I figure I’ve got to get as much done around this site as I can before school stars again and I’m too busy too. But I think I’ve got this site in good shape for the first few months of 2006.

Updates all over

2005-12-16 02:41:49 PST


Because of popular demand, I put my Cabin trip 2002 pics up in the Gallery. It took a bit. Then I found out F-Spot theoretically has Gallery export. So I’m installing that and will try it out with more pictures soon. Yeah? I hope.

The I updated the Wiki. I finally put up info on my VM experiment from 2004.

Finally, the comments in the wordpress skin are pretty in sync with the posts. Good enough for now.

I’m not really tired but just a bunch more lame grunt work to be done. I think I’ll sleep. Still, lots of good work done today. Oh yeah, and google’s toolbar’s spell check rocks.

UPDATE: Wow does F-Spot gallery export ever work, and rock due to its incredible ease. Definitely my new favourite piece of code for the day.

Mindstab 3.1

2005-12-15 20:08:37 PST

Tags: , ,

Well, now that school’s over I’m getting some tasks of my task list. The first was to finish writing a user quota monitoring and “billing” system. I finally finished that after a few months of staggered work. Now I’ve revamped and cleaned up the Mindstab wordpress skin. I think the layout is a bit cleaner, and it works well so far in IE as well. The front page is done, but the comments page needs some work. Then some slight tag restructuring and hopefully I’ll be content with this for a bit and I can more on to my next project.

As for my GP2X, I now have Quake1, Starcon 2 (UQM), NES (mario 1-3), SNES (Killer Instinct, Kirby, Chrono Trigger), and Sega (Sonic) all working on it. Some of them are unoptimized demos so far, but they all work. This device is still pre-official release and it rocks. I love it to bits.

Rails + FastCGI + mpm_peruser = no go

2005-10-24 09:24:18 PST

Tags: ,

So I blew what free time I had this weekend for coding and server work on trying to get Rails, or more specifically FastCGI working on Kvasir, which employs mpm_peruser. Seems it’s a no go. FastCGI is a daemon and hasa socket which is creates mod 700 owned by apache:apache, and this particular rails install was under a peruser processor of dan:dan. So the server couldn’t talk to the FastCGI daemon and so no go. Even if I tweek Apache, Rails won’t work for other users, and it’s a poor plan. So i think I’ll just fall back and do this project in PHP. I at least learned the basics of Rails running through a todo list tuorial on my laptop. Waste of time though.

Let me know if something exploded

2005-10-22 12:25:28 PST


Upgraded server kernel to 2.6.11-hardened-r15. Updraded a few system utilities. No casualties have apeared.

DNS fuck up in my favour

2005-09-30 21:58:18 PST


So I’ve been setting up Webalizer and I got it all working with my virtual hosts, and was looking through the results and noticed that was getting a lot of referals from places like I was confused so I went to the site. And it was my site. So…

haplo@nika ~/src/apps/ww2d $  dig

; <<>> DiG 9.3.1 <<>>
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 4044
;; flags: qr rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 2, ADDITIONAL: 2

;         IN      A

;; ANSWER SECTION:  43200   IN      A

;; AUTHORITY SECTION:      86400   IN      NS      86400   IN      NS

;; ADDITIONAL SECTION:      64772   IN      A      66831   IN      A

;; Query time: 115 msec
;; WHEN: Fri Sep 30 23:01:03 2005
;; MSG SIZE  rcvd: 136

Thats right. Their domain now resolves to me. And we can thank our colocation company in common, Netnation, for this. And according to my logs its been going on at least this whole month. I also have and

Lucky me.

Apache Peruser and Pound

2005-09-29 08:38:43 PST


I upgraded Apache using Gentoo’s new ebuild which have MPM support. I selected the somewhat experimental MPM Peruser because it’s a good solution for security. Each vhost can have it’s own user/group settings. The Gentoo Ebuild even has a patch that the core peruser patch doesn’t have which allows it to not crash during CGI operations on Apache 2.0.54. Very nice. Anyways, due to the way peruser works, it doesn’t work with mod_ssl. So as recommended, I’ve dropped pound on in front of port 443. Pound is a reverse proxy which amoung other things, can do https. So everything seems to be coming back into place. I also upgraded PHP, Wodpress, Mediawiki, and Gallery.

Endless configuring

2005-07-27 12:46:20 PST

Tags: ,

A note to myself for the future as much as anyone. The ident protocol sucks. Its old, insecure, and no one uses it, and yet all server programs seem to check with it, which blows with firewalls because it usually times out slowing everything down. Anyways, for proftpd:

IdentLookups off

SPF + Qmail

2005-07-01 13:39:48 PST

Tags: ,

Well, with the news that Hotmail will soon be enforcing SPF I decided to get around to working around the Telus firewall that blocks all outgoing smtp traffic except to their spamhole. So I used iptables to route port 8025 to 25. So far so good. I got smtp auth working, but qmail only accepts it if you are using SSL. Ok. Well, everything is in place, lets give it a test. Unfortunately it seems to take 5 minutes for each message to be sent with evolution. I’ve tried a few things (turn off any qmail and tcpserver reverse lookups) but nothing seems to work. Then I added SPF info to my dns configs. So I have slow outgoing, but it’s SPF certified. I blame the Telus firewall somehow. I need to get my hands on a rogers internet connection.

End of an era

2005-05-27 01:07:55 PST


Frost is officially offline for the first time since september 2002. A good long run (2.5 years). I dropped Janus in tonight as the replacement (133mhz:80mb to 166mhz:128mb). Which probably doesn’t mean too much to any of you since the whole site and such has been moved to kvasir already, how ever frost was still providing limited public services in the form of a secondary dns for And my personal firewall. That is all at an end tonight though. Janus has assumed all the responsibilities and seems to be working well so far. I’ll play around with frost in the next little while to see if I can resurrect it as a menial spare firewall, but in the last month since the last power failure frost’s been painfully slow, and I’m blaming it’s harddrive (and hopefully that’s all):

root@frost ~ # hdparm -tT /dev/hda

 Timing buffer-cache reads:     8 MB in  2.74 seconds =   2.92 MB/sec
 Timing buffered disk reads:    4 MB in  4.81 seconds = 851.56 kB/sec
Valid XHTML 1.0!
Valid CSS! is proudly powered by WordPress
Entries (RSS) and Comments (RSS).
19 queries. 0.540 seconds.