Re: checking your CPAN modules are up to date?

2001-06-17 Thread Dave Hodgkinson

Elaine -HFB- Ashton <[EMAIL PROTECTED]> writes:

> Dave Hodgkinson [[EMAIL PROTECTED]] quoth:
> *>
> *>I can't find the incantation! Help!
> 
> CPAN.pm has an autobundle feature that comes in handy for this. Make an
> autobundle then use it to update all the modules you like. 
> 
> http://www.cpan.org/misc/cpan-faq.html#How_installed_modules show the use
> of ExtUtils::Installed which I use quite a lot for such things and the
> question following it also shows how to use autobundle.

Nope. It was much easier than that. It just iterated down the
installed modules and checked them.

-- 
Dave Hodgkinson, http://www.hodgkinson.org
Editor-in-chief, The Highway Star   http://www.deep-purple.com
  Interim CTO, web server farms, technical strategy
   



Re: www.gateway.gov.uk

2001-06-17 Thread Mark Hynes

On Jun 09, David Cantrell wrote:
> 
> So yes, the only reason for not allowing me to use it is incompetence on
> the part of whichever civil 'servants' were in charge of implementing it.

Out of interest, does anyone know if it's done "in-house" or contracted out?
(I strongly suspect the latter)

> This incompetence is further manifested in their choice of platform.
> even if I *could* use it, I wouldn't use it anyway, as I do not have
> sufficient confidence in the integrity of the server for such important
> information as my (eg) medical and tax data.

Err, why? What do you know about its implementation as opposed to any other
government website?

-- 
| Mark Hynes  [EMAIL PROTECTED] | 
| "What are you trying to incinerate?" |



Re: www.gateway.gov.uk

2001-06-17 Thread David Cantrell

On Sun, Jun 17, 2001 at 12:49:50PM +0100, Mark Hynes wrote:
> On Jun 09, David Cantrell wrote:
> > 
> > So yes, the only reason for not allowing me to use it is incompetence on
> > the part of whichever civil 'servants' were in charge of implementing it.
> 
> Out of interest, does anyone know if it's done "in-house" or contracted out?
> (I strongly suspect the latter)

The latter.  Via EDS and Microsoft, I believe.

> > This incompetence is further manifested in their choice of platform.
> > even if I *could* use it, I wouldn't use it anyway, as I do not have
> > sufficient confidence in the integrity of the server for such important
> > information as my (eg) medical and tax data.
> 
> Err, why? What do you know about its implementation as opposed to any other
> government website?

david@lapdog:~$ HEAD http://www.gateway.gov.uk|grep ^Server
Server: Microsoft-IIS/5.0

That, and EDS and Microsoft being involved.

Note that whilst other government sites may suffer from the same problems,
they are only sources of information and not places where I would submit
any information which I need to have kept confidential.

-- 
David Cantrell | [EMAIL PROTECTED] | http://www.cantrell.org.uk/david/

  Good advice is always certain to be ignored,
  but that's no reason not to give it-- Agatha Christie



Re: (Open|Net)BSD local root exploit

2001-06-17 Thread Chris Devers

On Sat, 16 Jun 2001, David Cantrell wrote:

> As there's plenty of BSDers here, and I expect that at least some of you
> don't subscribe to Bugtraq and friends ...
> 
> http://www.securityfocus.com/vdb/?id=2873
 
Does this count as the end of [Net?]BSD's $years of having no exploits?  

 

--
Chris Devers [EMAIL PROTECTED]
webmaster work: 781.221.5372
Skillcheckcell: 617.365.0585




Re: (Open|Net)BSD local root exploit

2001-06-17 Thread Niklas Nordebo

On Sun, Jun 17, 2001 at 10:46:21AM -0400, Chris Devers wrote:
> Does this count as the end of [Net?]BSD's $years of having no exploits?  

OpenBSD still claims 4 years without a remote hole in the default install.

ISTR they had a couple of years without a local hole too, but that they
found some other hole a less than a year ago so it was reset quite recently
anyway. But I might just have hallucinated that.

-- 
Niklas Nordebo -><- [EMAIL PROTECTED] -><- +447966251290
 "The day is seven hours and fifteen minutes old, and already it's
crippled with the weight of my evasions, deceit, and downright lies"



YAPC::Europe: flights, hotels and minigolf.

2001-06-17 Thread Leo Lapworth

Well, I'm now 'official' all the way, flights and hotel.

Easyjey seem to have worked it out and have put up the flight
costs by a couple of quid (£71 inc card charg of 3 quid)!

Oh, Grep, I'm up for that AD & D one evening, though haven't
played for years.

Leo

On Fri, Jun 15, 2001 at 02:41:23PM +0100, Greg McCarroll wrote:
> I also believe others are flying on this flight, so it looks like we have
> the official flight for London.pm ;-) and thanks to Jouke we can claim
> to have an official London.pm hotel - with minibars and minigolf



My host at London::YAPC (Dave Mee)

2001-06-17 Thread Mindaugas Genutis

Hello,

I had a kind host at London::YAPC (Dave Mee). I can't reach him via his old
e-mail. Dave, if you're still on this mailing list, give me a message. Maybe
someone from here has his e-mail?

What I wanted to ask you is if you're going to Amsterdam::YAPC in August.

Best,

--
Mindaugas Genutis
Department of Communication Technology
Aalborg University of Technology





Re: YAPC::Europe: flights, hotels and minigolf.

2001-06-17 Thread Greg McCarroll

* Leo Lapworth ([EMAIL PROTECTED]) wrote:
> Well, I'm now 'official' all the way, flights and hotel.
> 
> Easyjey seem to have worked it out and have put up the flight
> costs by a couple of quid (£71 inc card charg of 3 quid)!
> 

still thats not bad

what i think they do is start cheap then slowly raise the price
as seats get booked up

i'm wondering how many London.pm are going to be on this flight

shit i just had a thought, do easy jet serve drinks? do they?
please say they do? *panic starts to set in* ;-)

> Oh, Grep, I'm up for that AD & D one evening, though haven't
> played for years.
> 

Sounds good, i'll pencil in your name and contact you closer
to the time about your character. I've already thought
up some of what the adventure will be about and It won't
be for the faint hearted! 

-- 
Greg McCarrollhttp://217.34.97.146/~gem/



Re: YAPC::Europe: flights, hotels and minigolf.

2001-06-17 Thread Tony Bowden

On Sun, Jun 17, 2001 at 04:51:24PM +0100, Greg McCarroll wrote:
> shit i just had a thought, do easy jet serve drinks? do they?
> please say they do? *panic starts to set in* ;-)

Yes ... but they charge for them ...

Tony
-- 
--
 Tony Bowden | [EMAIL PROTECTED] | http://www.tmtm.com/
   numb and confused battered and bruised counter of cost and star-crossed
--

 PGP signature


Re: YAPC::Europe: flights, hotels and minigolf.

2001-06-17 Thread Greg McCarroll

* Tony Bowden ([EMAIL PROTECTED]) wrote:
> On Sun, Jun 17, 2001 at 04:51:24PM +0100, Greg McCarroll wrote:
> > shit i just had a thought, do easy jet serve drinks? do they?
> > please say they do? *panic starts to set in* ;-)
> 
> Yes ... but they charge for them ...
> 

Excellent, i'll bring my jar of pennies 

-- 
Greg McCarrollhttp://217.34.97.146/~gem/



Maths Problem

2001-06-17 Thread Greg McCarroll


I was working on my talk for YAPC::Europe and I got a little distracted,
with the following problem and I also thought some of you might like to 
think about it.

First of all, consider the problem of distributing N points around the
origin evenly in 2D, so they are all the same distance from the origin.

Now this is quite easy, you can simply imagine a circle and the points
placed around the circle, each 360/N degrees apart in terms of projections
from the origin.

Simple huh?

Ok, now how can you distribute N points around the origin in _3_ dimensions,
again all of them at the same distance from the origin? Obviously
there will be an imaginary sphere again, but where do you put the points.

Thoughts are welcome, i'm currently trying to solve it and having
lots of gotchas. However if you have a complete solution please put
in some *spoiler* space.  

Greg

-- 
Greg McCarrollhttp://217.34.97.146/~gem/



Re: Maths Problem

2001-06-17 Thread Roger Burton West

On Sun, Jun 17, 2001 at 06:52:04PM +0100, Greg McCarroll wrote:

>Ok, now how can you distribute N points around the origin in _3_ dimensions,
>again all of them at the same distance from the origin? Obviously
>there will be an imaginary sphere again, but where do you put the points.

Best general treatment of this I've seen is at
http://www.math.niu.edu/~rusin/known-math/index/spheres.html

which has the summary:

* "uniformly distributed" has more than one meaning;
* for most n there is no answer which is particularly elegant;
* quick-and-dirty approximations are easy.

R



Re: early peek at a bit of fun

2001-06-17 Thread Elaine -HFB- Ashton

Dave Cross [[EMAIL PROTECTED]] quoth:
*>> 
*>> The modules list is a bit out of date in this case (I'm at eight)...
*>
*>And, of course, not all modules on CPAN are in the module list 
*>(see, for example, Symbol::Approx::Sub).

It's not out of date. It's generated whenever there is an update to the
modlist since it is just another representation of that list. If your
modules aren't in the list then you need to submit it to Andreas.

http://theoryx5.uwinnipeg.ca/CPAN/perl/pod/perlnewmod.html#Step_by_step_Distributing_your_module

describes how this is done.

e.



Re: Maths Problem

2001-06-17 Thread Mindaugas Genutis

How about drawing a 3D shape (depending upon the value of N) with equal
distances between neighbour nodes and equal angles between the edges? All the
nodes lie on the imaginary sphere and the distance to the center is the same.
Thus you get one and only one shape for each value of N. You can rotate it
inside the sphere.

How about putting them randomly on that sphere? Or use one of the well-known
distributions (Poisson distribution for example)? (use 3 coordinate versions of
these distributions)

What about using a random/stochastic process (Markov, for instance). (use 3
coordinate version of these processes)

Greg McCarroll wrote:

> I was working on my talk for YAPC::Europe and I got a little distracted,
> with the following problem and I also thought some of you might like to
> think about it.
>
> First of all, consider the problem of distributing N points around the
> origin evenly in 2D, so they are all the same distance from the origin.
>
> Now this is quite easy, you can simply imagine a circle and the points
> placed around the circle, each 360/N degrees apart in terms of projections
> from the origin.
>
> Simple huh?
>
> Ok, now how can you distribute N points around the origin in _3_ dimensions,
> again all of them at the same distance from the origin? Obviously
> there will be an imaginary sphere again, but where do you put the points.
>
> Thoughts are welcome, i'm currently trying to solve it and having
> lots of gotchas. However if you have a complete solution please put
> in some *spoiler* space.
>
> Greg
>
> --
> Greg McCarrollhttp://217.34.97.146/~gem/

--
Mindaugas Genutis
Department of Communication Technology
Aalborg University of Technology





Re: Maths Problem

2001-06-17 Thread Chris Benson

On Sun, Jun 17, 2001 at 06:58:03PM +0100, Roger Burton West wrote:
> On Sun, Jun 17, 2001 at 06:52:04PM +0100, Greg McCarroll wrote:
> 
> >Ok, now how can you distribute N points around the origin in _3_ dimensions,
> >again all of them at the same distance from the origin? Obviously
> >there will be an imaginary sphere again, but where do you put the points.

Neat question for a Sunday evening: I've been wondering about that for a 
while.
 
> Best general treatment of this I've seen is at
> http://www.math.niu.edu/~rusin/known-math/index/spheres.html
> 

and that page also has a link to "Easy method for a fairly good point
distribution " at http://www.math.niu.edu/~rusin/known-math/97/spherefaq

An excellent site.
-- 
Chris Benson



Re: Maths Problem

2001-06-17 Thread Greg McCarroll

* Chris Benson ([EMAIL PROTECTED]) wrote:
> On Sun, Jun 17, 2001 at 06:58:03PM +0100, Roger Burton West wrote:
> > On Sun, Jun 17, 2001 at 06:52:04PM +0100, Greg McCarroll wrote:
> > 
> > >Ok, now how can you distribute N points around the origin in _3_ dimensions,
> > >again all of them at the same distance from the origin? Obviously
> > >there will be an imaginary sphere again, but where do you put the points.
> 
> Neat question for a Sunday evening: I've been wondering about that for a 
> while.

the main problem is for low values of N, i.e. the ones you can imaginine
in your head, you can figure out regular convex polyhedra whose points 
lie of the sphere and whose sides are all the same shape (i.e. a triangular
pyramid, a cube or diamond, etc. however i'm not convinced you can 
construct such shapes for all values of N

> > Best general treatment of this I've seen is at
> > http://www.math.niu.edu/~rusin/known-math/index/spheres.html
> > 
> 
> and that page also has a link to "Easy method for a fairly good point
> distribution " at http://www.math.niu.edu/~rusin/known-math/97/spherefaq

yes, but it leaves an unpleasant taste in your mouth afterwards,
or is that just me?

-- 
Greg McCarrollhttp://217.34.97.146/~gem/



Re: Maths Problem

2001-06-17 Thread Chris Benson

On Sun, Jun 17, 2001 at 08:58:35PM +0100, Greg McCarroll wrote:
> * Chris Benson ([EMAIL PROTECTED]) wrote:
> > On Sun, Jun 17, 2001 at 06:58:03PM +0100, Roger Burton West wrote:
> > > On Sun, Jun 17, 2001 at 06:52:04PM +0100, Greg McCarroll wrote:
> > > 
> the main problem is for low values of N, i.e. the ones you can imaginine
> in your head, you can figure out regular convex polyhedra whose points 
> lie of the sphere and whose sides are all the same shape (i.e. a triangular
> pyramid, a cube or diamond, etc. however i'm not convinced you can 
> construct such shapes for all values of N

_Some_ low values are OK.  I visualise an ocean covered planet with two
water lilies: one leaf grows to cover the N-hemisphere, the other S.
This works for the Platonic solids 4,6,8,... faces (assuming the leaves 
will become triangles, squares, ...) but has gaps: 3 is never going to 
look right.
 
> > and that page also has a link to "Easy method for a fairly good point
> > distribution " at http://www.math.niu.edu/~rusin/known-math/97/spherefaq
> 
> yes, but it leaves an unpleasant taste in your mouth afterwards,
> or is that just me?

I'd like to see how it works ... but I can't be bothered working out how
to plot a sphere with Perl.  It seems a complex solution for something
that *seems* simple: but I suspect anything simpler would be worse.
And nothing will make 3 points look good.

Mmmm, so if there are 3 water lilies with circular leaves, what is the
largest they can grow on the surface of a sphere without overlap?  
On a circle it's easy to see it's just less than the radius of the 
circle.  Not so easy with a sphere.
-- 
Chris Benson



Re: checking your CPAN modules are up to date?

2001-06-17 Thread Philip Newton

Dave Hodgkinson wrote:
> Nope. It was much easier than that. It just iterated down the
> installed modules and checked them.

ppm verify [--upgrade] :)

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.



Re: Maths Problem

2001-06-17 Thread Philip Newton

Chris Benson wrote:
> Mmmm, so if there are 3 water lilies with circular leaves, what
>  is the largest they can grow on the surface of a sphere without
> overlap? On a circle it's easy to see it's just less than the
> radius of the circle.  Not so easy with a sphere.

Well, first off, the circles won't be circles "as we know them" since
they're not 2D circles but have a 3D component (or they wouldn't be on the
surface of the sphere but rather cutting a slice through it).

However, I'd imagine that with three such bulgy circles, the best you can do
is space them equally around the equator.

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.



Re: Maths Problem

2001-06-17 Thread Roger Burton West

On Mon, Jun 18, 2001 at 12:01:05AM +0100, Chris Benson wrote:
>Mmmm, so if there are 3 water lilies with circular leaves, what is the
>largest they can grow on the surface of a sphere without overlap?  
>On a circle it's easy to see it's just less than the radius of the 
>circle.  Not so easy with a sphere.

Looks like evenly-spaced around the equator. With only three points,
they'll _have_ to be coplanar by definition. And, of course, a belt
of n points around the equator is "even spacing", but doesn't look good...

Roger



Re: early peek at a bit of fun

2001-06-17 Thread Philip Newton

Dave Cross wrote:
> On Fri, Jun 15, 2001 at 11:53:30PM +0200, Paul Johnson 
> ([EMAIL PROTECTED]) wrote:
> > I'll have to be an honourary member since I'm in Switzerland
> > at the moment
> 
> That's just down the road in comparison to some of the people that 
> consider themselves members of london.pm :)

Who holds the distance record? dha, presumably?

(I suppose Simon Cozens had him beat while he was in Japan, but was he part
of London.pm then? I think he is now.)

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.



Re: early peek at a bit of fun

2001-06-17 Thread Philip Newton

Greg McCarroll wrote:
> I was just playing around and wrote 
> 
>   http://217.34.97.146/~gem/perl/lpm_cpan_lb.cgi

Internal Server Error

The server encountered an internal error or misconfiguration and was unable
to complete your request.

Please contact the server administrator, [EMAIL PROTECTED] and inform
them of the time the error
occurred, and anything you might have done that may have caused the error.

More information about this error may be available in the server error log.


Apache/1.3.14 Server at 217.34.97.146 Port 80


(Oh, and I don't think "[EMAIL PROTECTED]" is a valid address
according to RFC 2?822. Bad Apache.)

Cheers,
Phi "I got a '500 Server Error'. What's wrong with my script?" lip
-- 
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.



Re: early peek at a bit of fun

2001-06-17 Thread Greg McCarroll

* Philip Newton ([EMAIL PROTECTED]) wrote:
> Greg McCarroll wrote:
> > I was just playing around and wrote 
> > 
> > http://217.34.97.146/~gem/perl/lpm_cpan_lb.cgi
> 

fixed, stupid Perl didn't know that when i typed } i really
mean't ) and was just being more  stu ... errr. artistic!

thanks for pointing it out 

-- 
Greg McCarrollhttp://217.34.97.146/~gem/



Re: early peek at a bit of fun

2001-06-17 Thread Philip Newton

Greg McCarroll wrote:
> I'll cleanup/optimize/add error checking tommorow. but 
> i thought i'd let you see it tonight for fun and 
> advance warning.

And remove the trailing comma? (Perhaps use 'join' rather than 'map "$_,"'
or whatever?)

> If i haven't got your CPAN id included in the list at the
> bottom please email me off list, i just skipped through
> the who's who very quickly getting a decent list of people
> who looked london.pm-ish to test it.

Cheers,
Philip
-- 
Philip Newton <[EMAIL PROTECTED]>
All opinions are my own, not my employer's.
If you're not part of the solution, you're part of the precipitate.