A quick update of where I'm at with regard to cpanvote, and what should
happen this week-end.
First, last week-end I installed Postgres on www.metacpan.org, which
went fairly well (except for the little problem that it didn't create
the default cluster as it was supposed to, silly thing). I've also
installed App::cpanminus globally and installed all requirements for
cpanvote locally under ~cpanvote/perl5. So, by now, the machine is
pretty much ready to run the app. Yay!
On GitHub, I split my original cpanvote repo into 'cpanvote-db' and
'cpanvote-catalyst', which I also forked under the cpan-api umbrella.
For this week-end, I want to add the vote timestamps to the database
backend, and then unleash a first version of the app. Most of it should
happen tomorrow, so... stay tuned. :-)
Joy,
`/anick
Aaaand... it all came to pass. cpanvote is now running (as
cpanvote_server.pl) on http://www.metacpan.org:3000. Ultimately, we
probably want to have nginx proxy it from cpanvote.metacpan.org, but for
the time being, it's at least up and running for us to experiment with.
And today I began to play with the Greasemonkey stuff to make the
interface a little prettier. I'm not exactly a star designer, but I
think I managed to come up with cute buttons for the yea/nay/meh votes:
http://babyl.ca/misc/votes.png The icons are the updated GMscript are
not pushed to GitHub yet, but they should be tomorrow.
Joy,
`/anick
great work! It would be awesome if you could set up a friendfeed and push new votes to it as they happen. This way we can hook anything we want to the friendfeed and get real-time updates of new votes.
Net::FriendFeed might help.
Cheers,
Moritz
Thanks! :-)
>It would be awesome if you could set up a friendfeed and push new
votes to it as they happen.
>This way we can hook anything we want to the friendfeed and get
real-time updates of new votes.
I like the idea of having a way to get the latest votes, and added
'/votes/latest' to my local version of the code (it's going to be on the
www.metacpan.org instance at its next upgrade). Adding the FriendFeed
bridge will be easy, but... wouldn't that generate a too noisy stream?
Joy,
`/anick
Hi Yanick,
Is this where the updated GMscript is? https://github.com/CPAN-API/cpanvote-server/raw/master/contrib/cpan_vote.user.js It's currently not working for me, but I'm guessing what's in the repo is not yet the latest version.
Best,
Olaf
It was the latest version, but it was pointing to my machine rather
than metacpan. I've corrected the booboo (it's pointing to
metacpan.org:3000 for now). Is it okay if I add a cpanvote.metacpan.org
configuration to nginx so that I can instance cpanvote as a fastcgi
server? I expect that I'll have to restart nginx which will impact all
services on the box. Unless Nginx can manage hot configuration reloads?
But, most of all, I hope that everything is going perfectly on your
side, baby wise. And you'll have to send pictures of the wee one once
it'll be possible. :-)
Joy,
`/anick
I know that things are busy (and exciting) on Olaf's side, but if I
could get the blessing of anyone to perform the change to ngnix's
config, it'd be awesome. I just don't want to do it blindly, and
potentially mess up any of the other services running on the machine --
something that wouldn't buy me a lot of good karma points. :-)
Joy,
`/anick
# service nginx reload
does a soft reload of the configuration files. Shouldn't break anything.
<voice type="Mr Burns">Excellent</voice>
Thanks! Expect cpanvote to have a first production version up before
the end of the day.
Joy,
`/anick
Hi Yanick,
Sorry, I'm just starting to come back to life over here. :) Please go ahead and make your changes. I don't think a restart should cause any problems. Generally nginx is proxying scripts which are running in screen sessions (while we're in beta mode), so a restart is pretty harmless either way. Having said that, I'm OK with stuff being broken too. This is a good time to break things!
I'm going to go over the other list email this weekend. I was reading it as I was wearing my "scrubs" in the hospital, but I didn't have time to respond at the time. ;)
Best,
Olaf
Exciting!!!
No problem at all. As you already warned us about the upcoming events,
I wasn't worried. I was just poking on the off-chance somebody else
could give me the green flag. And, lo and behold, it happened! :-)
> Please go ahead and make your changes.
Done. As of 1 hour ago, cpanvote.metacpan.org is alive. The companion
blog entry will be out before the end of the day.
> I don't think a restart should cause any problems. Generally nginx
> is
> proxying scripts which are running in screen sessions (while we're in
> beta mode), so a restart is pretty harmless either way. Having said
> that, I'm OK with stuff being broken too. This is a good time to break
> things!
Very true. I'm probably way more paranoid than I should be. Which is
not a bad thing, mind you, when you are invited on a box that is not
yours. ;-)
> I'm going to go over the other list email this weekend. I was
> reading it as I was wearing my "scrubs" in the hospital, but I didn't
> have time to respond at the time.;)
Excellent. But take your time, there is no rush. And something tells me
you'll need to enjoy every downtime you can catch for a little while.
Oh, incidentally, may I congrats the new dad and the new mom? I hope
everything went well, and that the new wee one is healthy, and
well-behaved. :-)
Joy,
`/anick
Beyond what articulated words can express. :-) Blog entry about it
written and sent as well:
http://babyl.dyndns.org/techblog/entry/cpanvote-is-live
Joy,
`/anick
>> I'm going to go over the other list email this weekend. I was
>> reading it as I was wearing my "scrubs" in the hospital, but I didn't
>> have time to respond at the time.;)
>
> Excellent. But take your time, there is no rush. And something tells me you'll need to enjoy every downtime you can catch for a little while.
>
> Oh, incidentally, may I congrats the new dad and the new mom? I hope everything went well, and that the new wee one is healthy, and well-behaved. :-)
Thanks very much! Things actually went pretty well. Little Celia was pretty mellow for the first couple of weeks, but she found an extra gear about 5 days ago and she has officially given up sleeping at night. Here's a recent shot of her taking a nap -- that's always an enjoyable time of the day. :)
http://dl.dropbox.com/u/1521117/celia_napper.jpg
Best,
Olaf
Excellent post! I'm glad you put in a note explaining how people can get involved. The more committers we have, the easier this will be. At some point we'll need to create a road map in the Wiki for how we plan to go forward. I think that will help new coders to find a good place to get started.
Best,
Olaf
> On 11-03-06 12:32 AM, Olaf Alders wrote:
>>> http://babyl.dyndns.org/techblog/entry/cpanvote-is-live
>> Excellent post! I'm glad you put in a note explaining how people can get involved.
>
> Thanks. I thought that including a recruiting spiel wouldn't hurt. :-)
>
> Btw, I've updated the GMscript at
>
> http://cpanvote.metacpan.org/static/cpan_vote.user.js
>
> to fix a bug with the way recommendations where handled. The form for that still hasn't proper feedback, but at least it should be working, now. :-)
Excellent. I update my installed version. As far as cpanvote itself goes, is there anything built into the API which would give us a summary of how many modules have been rated, how many users are in the system etc?
Best,
Olaf
Not yet, but I can add in a '/stats' uri giving you that on the
iteration.
This being said, I've peeked at the db, and it seems that, so far,
only you, ioncache and me registered. Boo. Obviously, this means that I
have to crank the setting of my blog gun up a notch. ;-)
Joy,
`/anick
:) I think it will help once ioncache gets this integrated with search.metacpan.org Also, once I get the mobile stuff figured out, I'm sure we can get some ratings out of iCPAN. It is, I believe, beyond 1,000 downloads at this point, so there's a user base there that we could tap into as well.
Olaf