Hi, I don't follow OG development but as host operator a few things are
coming up. The machine's load is gradually climbing over time and some
of that is OG.
Despite a relatively low hit rate on OG it is consuming quite a bit of
resource. If OG started taking off it would take the machine down.
First up: index.cgi requires 0.35s to perform a `perl -c` syntax check.
Any thoughts on putting OG on a mod_perl server? I have mod_perl running
here of course and we'd need to coordinate some apache.conf stuff.
Second: the supersearch.cgi gulps down CPU, often for seconds at a time.
It is a frequent resident of `top` output. This isn't really
acceptable. I'm going to request this feature be turned off unless an
effective optimisation plan or some other way to reduce its impact
here is constructed pretty soon. Sorry about this but it's encroaching
on others.
Third: I wonder if there's some way to instruct robots not to spider
parts of your wiki. This ought to speak for itself:
$ grep crawl /var/log/apache/london.openguides.org-access.log | grep 'action=edit' | wc -l
8242
$
Finally: I posted about a DoS and was wondering what the status of a
solution was. http://openguides.org/mail/openguides-dev/2004-October/000542.html
Cheers,
Paul (any overbearing tone unintentional ;-)
--
Paul Makepeace .............................. http://paulm.com/inchoate/
"If my elbow was straight, then I'll show oyu mine!"
-- http://paulm.com/toys/surrealism/
Hello. Following a discussion on #openguides, I've added hooks for
spam detection.
The way it works is that you specify the name of a local module in
your wiki.conf, and OpenGuides will check all edits against this
module before agreeing to commit them. The module should provide a
method called "looks_like_spam", which will be passed the content and
metadata of the edit, and should return true (it's spam) or false
(it's not).
An example:
----------------------------------------------------------------------
package OpenGuides::Local::KakeSpamDetector;
use strict;
sub looks_like_spam {
my ( $class, %args ) = @_;
if ( $args{content} =~ /kitten/i ) {
return 1;
}
}
----------------------------------------------------------------------
Obviously you'll want a more serious check in there :) The neat thing
about doing it like this is that your spam detector module can do
_anything_ you like, including, for example, logging.
Comments?
Kake
I am pleased to announce that there will be an OpenGuides hackfest in
Bermondsey, London, on the weekend of 9th-10th June 2007.
In brief:
When: noon-10pm Saturday 9th June,
noon-5pm Sunday 10th June
Where: Kake/Bob/doop house, near Bermondsey station
What: Bug triage and bug fixing
Who: Programmers and testers
The focus of the hackfest will be bug triage and bug fixing. Everyone
who can contribute is welcome, both programmers and testers.
The venue is Kake's and Bob's and doop's house, a couple of minutes'
walk from Bermondsey station, which is one stop east along the Jubilee
line from London Bridge station. Please contact me at kake(a)earth.li
if you don't already know the address - for those with livejournal
accounts there's a friends-locked post with address and directions at
http://nou.livejournal.com/67884.html
We'll start on the Saturday around noon with introductions and an
initial discussion (I'll provide lunch; let me know if you have a
dietary restriction that isn't covered by "vegan"). We'll continue
until people are tired (no later than 10pm), probably ordering some
form of takeaway for dinner. We'll reconvene on Sunday, again at
noon, but probably knock off a bit earlier, say 5pm-6pm.
Please feel free to come to some or all of this. Any form of
structure will be decided as we go along.
Kake
Hey all,
I'm now curating the new site WikiRDF.org. I'm planning to move the contents
of our wiki page "RDF Workshop" (
http://dev.openguides.org/cgi-bin/trac.fcgi/wiki/RDF%20Workshop) to the wiki
on the new site in order to widen up the discussion and hopefully get a new
vocab up and running quickly. I'm sure this won't pose any problem for all
of you, but I thought it'd be polite to post here first before doing the
move.
Cheers,
Earle.
--
Earle Martin
http://downlode.org/http://purl.org/net/earlemartin/
> -----Original Message-----
> From: openguides-dev-bounces(a)lists.openguides.org
> [mailto:openguides-dev-bounces@lists.openguides.org]On Behalf
> Of Kake L
> Pugh
> Sent: 25 May 2007 09:20
> To: openguides-dev(a)lists.openguides.org
> Subject: [OGDev] [domm(a)cpan.org: YAPC::Europe Hackathon]
>
>
> We have the YAPC hackathon!
>
> Yay!
Well cool!
> So who's coming to it?
ME ME ME!
Especially as I've proposed a talk on OpenGuides at the conference.
Ivor.
Hi folks,
After several months of struggling with a painful server, Birmingham
Perl Mongers have now bought hosting for our various projects. I've
started setting up the box, and now would seem to be a good time to
upgrade OpenGuides too.
However, the current installation is running 0.49 and as I'd like to use
the latest OG code, 0.60. Is there a conversion script to migrate the
database between the two? It's currently running under postgresql, and
can remain so, or move to MySQL if anyone has a conversion script for
that.
Following up Kake's post about a SpamDetection module. This closely
follows how things work on the current Birmingham site, with the hacked
version of the code I made. However, rather than one SpamDetection
module, I'd like to see the ability to have several, so that it allows
people to plug'n'play with a variety of detection modules. Much in the
same way that most email spam engines work.
In addition the Birmingham OpenGuides has a rollback feature, which
allows an admin to rollback to a specific version, rather than deleting
nodes one by one. I haven't seen this as a feature, is it something that
would be useful? I don't have the time to patch anything right now, but
I could look at this during July.
And finally, how painful is the template and CSS migration likely to be?
There looks to be a lot of new templates in the latest release!
Cheers,
Barbie.
--
Birmingham Perl Mongers - http://birmingham.pm.org
Miss Barbell Productions - http://www.missbarbell.co.uk
We have the YAPC hackathon!
Yay!
So who's coming to it?
Kake
----- Forwarded message from Thomas Klausner <domm(a)cpan.org> -----
From: Thomas Klausner <domm(a)cpan.org>
Cc: apw-orga(a)dmail.zsi.at
Date: Fri, 25 May 2007 10:01:55 +0200
To: kake(a)earth.li
Subject: YAPC::Europe Hackathon
Hi!
We just finished voting on all of the hackathon proposals for
YAPC::Europe, and we're happy to inform you that your proposal
OpenGuides
was accepted.
We now need your confirmation that you will come to Vienna and do the
hackathon. Please send a short acknowledgement to
vienna2007(a)yapceurope.org until Sunday, 27th May, 12:00 (midday)
If we do not get your acknowledgement until then, we will choose one of
the rejected hackathon proposals instead!
To get the travel and accomodation sponsoring (500 Euros) you will need
to first pay by yourself and then issue an invoice directly to the sponsor,
providing copies of your tickets/bills. We will help of course help you
to set the invoice etc.
Looking forward to see you in Vienna,
Thomas Klausner
--
#!/usr/bin/perl http://domm.plix.at
for(ref bless{},just'another'perl'hacker){s-:+-$"-g&&print$_.$/}
----- End forwarded message -----
Hello all,
After some tremendously productive sessions, the legacy of this
weekend's conference that affects OpenGuides is that Evan Prodromou of
Wikitravel and I will be working together to build a common geodata
format for wikis (old news; but we have a much better idea of what's
happening now, and we're going to hammer it out very soon, very
quickly). This is going to live at a new site, WikiRDF.org, which will
also be the new home for both my own Wiki Profile Vocabulary (which is
going to feature as a component of a new search engine, Wixee.com -
stay tuned for details), and the existing ModWiki specification for
RSS 1.0 output for wikis (currently hosted on MeatballWiki).
In other news, today I learnt of a site called WikiSpot.org, which is
aiming to be a directory of city-wikis. Perhaps our various admins
would like to add details for their Guides?
Cheers,
Earle.
--
Earle Martin
http://downlode.org/http://purl.org/net/earlemartin/
Hello. People have been asking for a while for a facility to let you
just add a small comment to the bottom of a page. I knocked one up on
Bob's test install:
http://morerandomness.org.uk/openguides/wiki.cgi?action=random
See what you think, see if you can break it. All comments welcome.
I'd like to add this to the next release.
Kake