anarres: (Default)
Hmmm. It seems like it isn't possible on a Dreamhack to access a module in the ~/dw/cgi-bin/DW/Controller folder. This:


use lib "$ENV{LJHOME}/cgi-bin";
use DW::Controller::Nav;

produces this:

Name "Template::Filters::BASEARGS" used only once: possible typo at /usr/lib/perl5/Template/ line 49.
Name "Template::Context::BASEARGS" used only once: possible typo at /usr/lib/perl5/Template/ line 49.
Name "Template::BASEARGS" used only once: possible typo at /usr/lib/perl5/Template/ line 49.
Name "Template::Service::BASEARGS" used only once: possible typo at /usr/lib/perl5/Template/ line 49.
Name "Template::Provider::BASEARGS" used only once: possible typo at /usr/lib/perl5/Template/ line 49.
Name "Template::Plugins::BASEARGS" used only once: possible typo at /usr/lib/perl5/Template/ line 49.

and you get the same message if Nav is replaced with any other Controller module.

I could try to figure this out, or I could just work around it... I think I'm going to work around it :-)


Jul. 6th, 2010 06:43 pm
anarres: (Default)
Don't you hate it when your thoughts are all running together and you end up writing a blog entry about three different things instead of having separate posts?

I make electronic music as a hobby. Um... 'music' is almost too grandiose a word for what I do. I make electronic noises as a hobby. For a couple of years I had been generating sounds with AmSynth, and then one day I updated Ubuntu and, oops, AmSynth broke. So I spent some time in forums trying to find a way to fix it and, long story short, couldn't find a reasonably easy solution, and so gave up. I started using ZynSubAddFX, which I viewed as being OK, but not quite as good as AmSynth. So fast forward to a few days ago, I upgraded to the latest version of Ubuntu and, hey, AmSynth works again, yay!

Except, I played with it a bit and... I found that I actually prefer ZynSubAddFX now.

I've been having trouble getting the statistics pages /stats/site and /admin/stats to work on my Dreamhack, and after trouble-shooting it turned out that the Dreamhack server was simply too overloaded to deal with those pages, the solution was to get a shiny new Dreamhack on a different server, it works great, joy :-)

And I went on an epic quest to buy sandals today. Because it is around 30 degrees here most days and I am in the beautiful city of Berlin and I like walking around a lot, and the old sandals were not really comfortable for walking any distance. I wanted the kind that are basically like hiking shoes, but sandals. I went into 4 or 5 different shops (which was hard, shopping is my least favourite thing ever) and was thoroughly disgruntled by the fact that most of the comfortable, practical sandals are only available in men's sizes, while the women's section has rows and rows of useless flimsy things. Really, about 70% of the women's you can buy border on being torture devices, they do look very pretty but you wouldn't want to wear them. Maybe we should re-classify high heels as being ornaments rather than clothing? Then people would put the high heeled shoes on their coffee table as art and wear shoes that don't shorten their achilles tendons.

Anyway. I got some good sandals, the brand is Ecco and they are pretty comfy. They cost more than I have ever spent on sandals before but my feet tell me it was worth it.
anarres: (Default)
Gearman and Schwartz are both for running server scripts that will take more than a couple of seconds. Gearman does things at a precise time and Schwartz gets them done at some not-precisely-determined time. Workers use the Schwartz.

Check on how the Schwartz is doing by going to ~/dw/bin and doing this: $ perl schwartzmon --help

/admin/stats displays only if logged in as a user with 'payments' priviledges.

The stats system only works if bin/worker/stats-collection was run within the past 24 hours. This can either be done by a worker or run manually.

Both /admin/stats and /stats/site on dreamhack sometimes show only a blank page, but they sometimes work if you close all other tabs, or log out and then log in again.


anarres: (Default)

July 2012

151617 18192021
222324 25262728


RSS Atom

Most Popular Tags

Style Credit

Expand Cut Tags

No cut tags
Page generated Sep. 20th, 2017 06:16 pm
Powered by Dreamwidth Studios