Re: sshd on port 443

2003-02-13 Thread Newton, Philip
Peter Sergeant wrote:
  Nifty. However, the window change thing doesn't seem to 
  work when the job is started in the background
 
 I found that too, the work around is to specify the options 
 explicitly:
 
 ./spinner -s /-\| 0.5 

Just tried that; no dice. Resizing the window doesn't change the position
where the twirling baton is displayed.

Not a problem unless you like to resize your windows often (and can't be
bothered to stop and re-start the background process).

Cheers,
Philip
[email copies appreciated, since I read the digest]
-- 
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.




YAPC::Europe War

2003-02-13 Thread Leon Brocard
This email got sent to the YAPC::Europe committee mailing list. I
thought I'd share it all with you. It's slightly worrying that USians
are taking it personally.

FWIW my reply was YAPC is a non-political organisation and run by
volunteers.

Subject: [yapc-comm] Meeting Location
To: [EMAIL PROTECTED]
Date: Thu, 13 Feb 2003 04:18:44 -0500

It's a shame that YAPC will exclude many potential attendees by being held 
in a country that has so soon forgotten how the western allies went to war 
to free THEM from tyranny and oppression in WW II, and now flaunts itself 
against those very allies when they are attempting to disarm yet another 
ruthless tyrant.

I would dare say not ONE French citizen would have opposed western 
involvement when THEIR country was being overrun by Hitler's armies. Could 
it just _possibly_ be that France and its cohorts are more afraid of losing 
lucrative business interests than in seeing justice done?

It's such a shame!

[NAME SNIPPED] -- Don't look for me -- I'm staying in the land of the free.

Leon

PS Please don't turn this into too much of a political flame war
-- 
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/

... Computational Physicist and all around nice guy




Re: sshd on port 443

2003-02-13 Thread Mark Fowler
On Wed, 12 Feb 2003, Peter Sergeant wrote:

 ./spinner -s /-\| 0.5 

If sending null bytes doesn't work, maybe you could send escape codes to
change the title of your xterm.

perl -e '$|=1; while(1) { print \e]2;.localtime().\a; sleep 60 }'

I'm not entirely sure what will happen if something else is printing at
the same time as that script tries to print - it shouldn't be a problem,
but I guess it depends on your implementation.

Mark.

-- 
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};




Re: YAPC::Europe War

2003-02-13 Thread Mark Fowler
On Thu, 13 Feb 2003, Leon Brocard wrote:

 Someone unamed wrote:
  It's a shame that YAPC will exclude many potential attendees...

It's a troll.  YAPC doesn't exclude people.  If they did I think you'd
rapidly find that the perl community en-mass would boycotte them.

Ironically, I'm a little concerned about going to the states due to their
really scary laws (DMCA, laws reguarding importing and exporting
cryto[1].)  But, as it's mainly politics, I'll probably go anyway.

Mark.

([1] I'll be carrying my laptop, which has openssh et al on it)

-- 
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};




Re: YAPC::Europe War

2003-02-13 Thread Jason Clifford
On Thu, 13 Feb 2003, Mark Fowler wrote:

 Ironically, I'm a little concerned about going to the states due to their
 really scary laws (DMCA, laws reguarding importing and exporting
 cryto[1].)  But, as it's mainly politics, I'll probably go anyway.
 
 ([1] I'll be carrying my laptop, which has openssh et al on it)

Just make sure you don't have any copies of dvdcss on it.

Jaosn Clifford
-- 
UKFSN.ORG   Finance Free Software while you surf the 'net
http://www.ukfsn.org/   Sign Up Now





Re: sshd on port 443

2003-02-13 Thread CyberTiger

Ok... A few things.


The http header:
Connection: KeepAlive;

Almost certainly will do nothing, as this normally applies to allowing
multiple requests to the web proxy, and does not have anything to do with
the duration of a single connection.

In case you still wish to try this, send the following to the proxy:

CONNECT host:port HTTP/1.0\r\nConnection: KeepAlive;\r\n\r\n

You'll need to read the http response from the web proxy, and junk it.

The response should look something like:

HTTP/1.0 200 junk txt message\r\n\r\n

TCP KeepAlives are also unlikely to work, unless your web proxy is really
really dumb.

TCP KeepAlives basically work by sending an empty TCP packet (i.e. no
data), which causes a response from the remote end, only very very poor
proxy software would actually forward empty packets on, because this
should be transparent at the OS level, which is where the web proxy should
(tm) be running, of course, this will work correctly, if your web proxy is
outside of the firewall that's doing the timing out of connections, but
not if it's inside.

(Sidenote: because some OS's don't respond to empty tcp packets, some
operating systems send a TCP packet, which contains 1 byte of data, which
has already been received, causing a response).

The best idea so far, seems to be to print control codes with no side
effects from a background process. Or even control codes which will be
ignored, as they're invalid. (I loved the clock in the title bar one)

-Antony





Re: Undefining END block ?

2003-02-13 Thread Dave Hinton at home
On Wednesday 12 February 2003 5:21pm, Rhys Hopkins wrote:
 /lurk

 Is there a way to undefine your END block once it has been defined?


No.

You need your code to do something like this:


my $session;

#...

$session = open_session();  # or however you create the session

# do stuff with session... 
# close down the session...

undef $session;  # now our cleanup code knows it isn't needed

#...

END {
if ($session) {  # only do this if the session is still open
close_session ($session); # or however you close the session
}
}


Hope this helps,
-- 
\|/GET| Dave Hinton
-/SOME| Battersea, London, England 
/SLEEP| http://thereaction.co.uk/dah




Re: YAPC::Europe War

2003-02-13 Thread Lusercop
On Thu, Feb 13, 2003 at 11:41:45AM +, Simon Wilcox wrote:
 Not to worry, we'll all have been melted down in a nuclear conflagration
 by the summer anyway.

I doubt it will have been melted down, more likely instantly vapourised,
I suspect. And it will probably be friendly-fire that bombs london by the
USAF, because they got their maps upside-down, too.

Dooom.

-- 
Lusercop.net - LARTing Lusers everywhere since 2002




Re: YAPC::Europe War

2003-02-13 Thread Tim Sweetman
Lusercop wrote:
 I doubt it will have been melted down, more likely instantly vapourised,
 I suspect. And it will probably be friendly-fire that bombs london by the
 USAF, because they got their maps upside-down, too.
 
 Dooom.

It's the war elephants with the amphibious assualt capabilities and
cruise missiles that worry me. And the dragons.

But that's what I get for playing CivIII with the crack-fueled
anachronisms option switched on.

PS. This is not the Cold War. Please adjust your strategy.

Cheers

--
Ti'




RE: Undefining END block ?

2003-02-13 Thread Rhys Hopkins
 Hope this helps,


Yep, this is great - much tidier than my solution,

Thanks,

Rhys.


lurk

...




***
Visit us at http://www.culver-tec.com

DISCLAIMER  CONFIDENTIALITY NOTICE

This email and any files transmitted with it are confidential and intended solely for 
the use
of the individual or entity to whom they are addressed.  This communication may contain
privileged material.  If you are not the intended recipient or the person responsible 
for 
delivering the email to the intended recipient, please be advised that you have 
received
this email in error and that any use, dissemination, forwarding, printing or copying 
of this
email is strictly prohibited.

The content of this email and any files transmitted with it may not reflect the views 
and
opinions of the originating company.  If you have received this email in error, please 
telephone +44 (020) 7456 1300 immediately.
The contents of this email are subject to the terms and conditions of use of our 
Websites.
No inappropriate content of any sort in this email is approved by us.
If you have any queries or complaints, please forward this email to 
[EMAIL PROTECTED]
***





Re: YAPC::Europe War

2003-02-13 Thread Mark Fowler
On Thu, 13 Feb 2003, Simon Wilcox wrote:

 Not to worry, we'll all have been melted down in a nuclear conflagration
 by the summer anyway.

This is no excuse not to at least to attempt to organise the trip to
YAPC::Europe young man ;-)

How's that going btw?

Mark.

-- 
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};




Re: YAPC::Europe War

2003-02-13 Thread Robin Berjon
Lusercop wrote:

On Thu, Feb 13, 2003 at 11:41:45AM +, Simon Wilcox wrote:

Not to worry, we'll all have been melted down in a nuclear conflagration
by the summer anyway.


I doubt it will have been melted down, more likely instantly vapourised,
I suspect. And it will probably be friendly-fire that bombs london by the
USAF, because they got their maps upside-down, too.


Nope, the truth is they'll be trying to hit the thousands of French people that, 
in pure French tradition, go hide in London and get called heroes.

--
Robin Berjon [EMAIL PROTECTED]
Research Engineer, Expwayhttp://expway.fr/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488




Re: YAPC::Europe War

2003-02-13 Thread Simon Wilcox
On Thu, 2003-02-13 at 12:45, Mark Fowler wrote:
 On Thu, 13 Feb 2003, Simon Wilcox wrote:
 
  Not to worry, we'll all have been melted down in a nuclear conflagration
  by the summer anyway.
 
 This is no excuse not to at least to attempt to organise the trip to
 YAPC::Europe young man ;-)

Dman, cover's blown :)

 How's that going btw?

The plan is to have put a couple of packages together by the end of the
month so that people can start booking once the conference registration
opens.

All things being equal there will be one recommended hotel (with a range
of accommodation, bar etc etc), a recommended outbound Eurostar and
hopefully an open return for those staying on.

The agent that is organising it will handle the bookings on an
individual basis although we may need to pair up for twin rooms before
booking.

More news as it comes in.

Simon.




Re: YAPC::Europe War

2003-02-13 Thread Simon Wilcox
On Thu, 2003-02-13 at 12:06, Tim Sweetman wrote:
 Lusercop wrote:
  I doubt it will have been melted down, more likely instantly vapourised,
  I suspect. And it will probably be friendly-fire that bombs london by the
  USAF, because they got their maps upside-down, too.

 PS. This is not the Cold War. Please adjust your strategy.

OK then, as we rot from the inside in the dust from the dirty bombs let
off around London. Better ?

S.




Re: YAPC::Europe War

2003-02-13 Thread Tim Sweetman

Simon Wilcox wrote:
 
 On Thu, 2003-02-13 at 12:06, Tim Sweetman wrote:
  Lusercop wrote:
   I doubt it will have been melted down, more likely instantly vapourised,
   I suspect. And it will probably be friendly-fire that bombs london by the
   USAF, because they got their maps upside-down, too.
 
  PS. This is not the Cold War. Please adjust your strategy.
 
 OK then, as we rot from the inside in the dust from the dirty bombs let
 off around London. Better ?

That'll do, yes ...

Cheers

Ti'




Re: YAPC::Europe War

2003-02-13 Thread Robin Berjon
Leon Brocard wrote:

This email got sent to the YAPC::Europe committee mailing list. I
thought I'd share it all with you. 

Have you sent it to the YAPC::Paris people (supposing that yapc-comm is the 
mothership and they're not on it)? They may wish to discuss putting up a 
statement to avoid further trolling.

It's slightly worrying that USians are taking it personally.


Indeed. I knew part of the media there was going insane but I thought that it 
was clear to everyone France and Russia have a very solid option on a quarter or 
the Iraqi oil, and aren't readily prepared to surrender it to the US, which they 
don't trust for justice anyway.

I would dare say not ONE French citizen would have opposed western 
involvement when THEIR country was being overrun by Hitler's armies.

Alas, I wish that had been true.

--
Robin Berjon [EMAIL PROTECTED]
Research Engineer, Expwayhttp://expway.fr/
7FC0 6F5F D864 EFB8 08CE  8E74 58E6 D5DB 4889 2488





Re: YAPC::Europe War

2003-02-13 Thread Jason Clifford
On 13 Feb 2003, Simon Wilcox wrote:

   I doubt it will have been melted down, more likely instantly vapourised,
   I suspect. And it will probably be friendly-fire that bombs london by the
   USAF, because they got their maps upside-down, too.
 
  PS. This is not the Cold War. Please adjust your strategy.
 
 OK then, as we rot from the inside in the dust from the dirty bombs let
 off around London. Better ?

Well that's easy to avoid. Simply sell more bleach to all muslims ;)

Alternatively face the reality that we've lived with real terrorist 
threats for over 30 years and in all that time the only radioactive 
weapons used have been those we've used (ie DU shells).

Dirty bomb threats are not new. The risk has been around for a very long 
time. War against Iraq doesn't make it more so.

Jason
-- 
UKFSN.ORG   Finance Free Software while you surf the 'net
http://www.ukfsn.org/   Sign Up Now





[buffy] is leaving?

2003-02-13 Thread James Powell
to be replaced by the much fitter Eliza Dushku

http://news.bbc.co.uk/1/hi/entertainment/tv_and_radio/2756657.stm

maybe I will start watching this now instead of leaving my girlfriend
on a thursday night and escaping down the pub.


jp




Re: YAPC::Europe War

2003-02-13 Thread Tim Sweetman
Jason Clifford wrote:
 
 [On 13 Feb 2003, Simon Wilcox peered dimly into the future of asymmetric warfare]:
  OK then, as we rot from the inside in the dust from the dirty bombs let
  off around London. Better ?
 
 Well that's easy to avoid. Simply sell more bleach to all muslims ;)

*cough* all muslims *cough*... oh, a smiley.

 Alternatively face the reality that we've lived with real terrorist
 threats for over 30 years and in all that time the only radioactive
 weapons used have been those we've used (ie DU shells).

I think it would be more fun to panic, be paralysed, and let the
governments get on with running stuff corruptly. Oh, wait a moment ...

Ti'




Re: [buffy] is leaving?

2003-02-13 Thread Jason Clifford
On Thu, 13 Feb 2003, James Powell wrote:

 to be replaced by the much fitter Eliza Dushku
 
 http://news.bbc.co.uk/1/hi/entertainment/tv_and_radio/2756657.stm

I am not convinced. 

I don't think 3 episodes would be enough to set this up and Faith taking 
over the main slayer role would be too great a change to the central cast 
dynamics.

Jason
-- 
UKFSN.ORG   Finance Free Software while you surf the 'net
http://www.ukfsn.org/   Sign Up Now





Re: YAPC::Europe War

2003-02-13 Thread David Cantrell
On Thu, Feb 13, 2003 at 11:58:28AM +, Lusercop wrote:
 I doubt it will have been melted down, more likely instantly vapourised,
 I suspect. And it will probably be friendly-fire that bombs london by the
 USAF, because they got their maps upside-down, too.

I dreamt last night of WW2-stylee landing craft sailing up Regent St.

-- 
David Cantrell | Member of the Brute Squad | http://www.cantrell.org.uk/david

Usenet is a co-operative venture, backed by nasty people.
Follow the standards.
  -- Chris Rovers, in the Monastery




Re: [buffy] is leaving?

2003-02-13 Thread Chris Carline
On Thu, Feb 13, 2003 at 01:37:42PM +, Jason Clifford wrote:
  to be replaced by the much fitter Eliza Dushku
  
  http://news.bbc.co.uk/1/hi/entertainment/tv_and_radio/2756657.stm
 
 I am not convinced. 
 
 I don't think 3 episodes would be enough to set this up and Faith taking 
 over the main slayer role would be too great a change to the central cast 
 dynamics.

It's three episodes of Angel, five episodes of Buffy according to this:
http://www.bbc.co.uk/cult/news/buffy/2003/01/20/1669.shtml

Chris
-- 
Chris Carline [EMAIL PROTECTED] | http://chris.carline.org/
GnuPG: 1024D/57B5CB20 | 5E85 207A 89D8 E097 0C0F FD4C 871A CE15 57B5 CB20




Re: [buffy] is leaving?

2003-02-13 Thread Dominic Mitchell
James Powell wrote:

to be replaced by the much fitter Eliza Dushku

http://news.bbc.co.uk/1/hi/entertainment/tv_and_radio/2756657.stm


Hmmm, linked in by the fact that both have been in a mental asylum[1]?

Sod it, I don't care.  I just want more farscape.

-Dom

[1] Or whatever the PC term is these days...

--
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |




Re: [buffy] is leaving?

2003-02-13 Thread James Powell
On Thu, Feb 13, 2003 at 01:37:42PM +, Jason Clifford wrote:
 On Thu, 13 Feb 2003, James Powell wrote:
 
  to be replaced by the much fitter Eliza Dushku
  
  http://news.bbc.co.uk/1/hi/entertainment/tv_and_radio/2756657.stm
 
 I am not convinced. 
 
 I don't think 3 episodes would be enough to set this up and Faith taking 
 over the main slayer role would be too great a change to the central cast 
 dynamics.

Latest series hasn't gone down too well in the US anyway has it?

Maybe it's dying off.

 
 Jason
 -- 
 UKFSN.ORG Finance Free Software while you surf the 'net
 http://www.ukfsn.org/ Sign Up Now
 
 




Re: YAPC::Europe War

2003-02-13 Thread Dean
On Thu, Feb 13, 2003 at 01:53:28PM +, David Cantrell wrote:
 I dreamt last night of WW2-stylee landing craft sailing up Regent St.

I hope they paid the congestion charge.

  Dean
-- 
Dean Wilson http://www.unixdaemon.net
Profanity is the one language all programmers understand
   --- Anon




Re: [buffy] is leaving?

2003-02-13 Thread James Powell
On Thu, Feb 13, 2003 at 01:52:29PM +, Dominic Mitchell wrote:
 James Powell wrote:
 to be replaced by the much fitter Eliza Dushku
 
 http://news.bbc.co.uk/1/hi/entertainment/tv_and_radio/2756657.stm
 
 Hmmm, linked in by the fact that both have been in a mental asylum[1]?
 
 Sod it, I don't care.  I just want more farscape.

That's just muppets in space!

 
 -Dom
 
 [1] Or whatever the PC term is these days...
 
 -- 
 | Semantico: creators of major online resources  |
 |   URL: http://www.semantico.com/   |
 |   Tel: +44 (1273) 72   |
 |   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |
 




Re: [buffy] is leaving?

2003-02-13 Thread Dave Cross

From: James Powell [EMAIL PROTECTED]
Date: 2/13/03 1:13:33 PM

 to be replaced by the much fitter Eliza Dushku

 http://news.bbc.co.uk/1/hi/entertainment/tv_and_radio/2756657.stm

 maybe I will start watching this now instead of leaving my
 girlfriend on a thursday night and escaping down the pub.

This is the BBC reporting on a story from the Express - so I
don't know how much credence you want to give it. It's certainly
one possibility that I've heard mentioned before but there's
doesn't seem to be any official word from Mutant Enemy yet. I've
posted the link to Whedonesque so let's see what the reaction
there is.

Oh, and that BBC story contains spoilers for the last three episodes
of season 7.

Dave...

-- 
http://www.dave.org.uk

Let me see you make decisions, without your television
   - Depeche Mode (Stripped)








Re: [buffy] is leaving?

2003-02-13 Thread Andrew Wilson
On Thu, Feb 13, 2003 at 01:54:33PM +, James Powell wrote:
 On Thu, Feb 13, 2003 at 01:37:42PM +, Jason Clifford wrote:
 I am not convinced.

 I don't think 3 episodes would be enough to set this up and Faith
 taking over the main slayer role would be too great a change to the
 central cast dynamics.
 
 Latest series hasn't gone down too well in the US anyway has it?

Let's face it, season six was complete shite. This season (seven) is
vastly improved and they've only broadcast four episodes so far.

 Maybe it's dying off.

Rumours of the show's demise are greatly exaggerated.

andrew
-- 
Taurus: (April. 20 - May 20)
You thought you'd heard of all the kinky fetishes, but that was before
next week's launch of a 24-hour doll-collecting channel.



msg11129/pgp0.pgp
Description: PGP signature


Re: [buffy] is leaving?

2003-02-13 Thread Jason Clifford
On Thu, 13 Feb 2003, James Powell wrote:

  I am not convinced. 
  
  I don't think 3 episodes would be enough to set this up and Faith taking 
  over the main slayer role would be too great a change to the central cast 
  dynamics.
 
 Latest series hasn't gone down too well in the US anyway has it?
 
 Maybe it's dying off.

I don't know about the US. I've been watching the same episodes they have 
(up to S7 14 now) and it does feel like it's being drawn to a final 
conclusion.

After S7 I don't see where they can go for a big bad.

I guess they may launch another spin off series based upon Faith but I'm 
not sure there's a lot of fresh story line for Slayer II.

Jason Clifford
-- 
UKFSN.ORG   Finance Free Software while you surf the 'net
http://www.ukfsn.org/   Sign Up Now





Re: [buffy] is leaving?

2003-02-13 Thread Dave Cross

From: Andrew Wilson [EMAIL PROTECTED]
Date: 2/13/03 2:14:53 PM

[ about BtVS]

 Let's face it, season six was complete shite. This season 
 (seven) is vastly improved and they've only broadcast four
 episodes so far.

Beg to differ. I'm currently watching season 6 for the second
time on the BBC and I'm really enjoying it. Don't forget it contains
Normal Again which is by far the best episode of Buffy ever
made.

Season 7, on the other hand, is seeming distinctly average right
now - tho' I hear it gets much better.

 Maybe it's dying off.

 Rumours of the show's demise are greatly exaggerated.

Well, let's just wait and see. I suspect that if SMG does leave
at the end of season 7 then they should just let it die a natural
death.

Dave...

-- 
http://www.dave.org.uk

Let me see you make decisions, without your television
   - Depeche Mode (Stripped)








Re: YAPC::Europe War

2003-02-13 Thread Ben
On Thu, Feb 13, 2003 at 01:03:38PM +, Simon Wilcox wrote:
 
 OK then, as we rot from the inside in the dust from the dirty bombs let
 off around London. Better ?

Where does one buy an Isle-of-Wight-sized lump of DU, anyway?

Ben 




Re: [buffy] is leaving?

2003-02-13 Thread Greg McCarroll
* Jason Clifford ([EMAIL PROTECTED]) wrote:
 On Thu, 13 Feb 2003, James Powell wrote:
 
  to be replaced by the much fitter Eliza Dushku
  
  http://news.bbc.co.uk/1/hi/entertainment/tv_and_radio/2756657.stm
 
 I am not convinced. 
 
 I don't think 3 episodes would be enough to set this up and Faith taking 
 over the main slayer role would be too great a change to the central cast 
 dynamics.
 

Change the central cast dynamics yes, but there is a lot of mileage
there ...

Xander + Faith = lets just remember the hotel incidents
Willow + Faith = Willows maternal concern about Xander
Anya + Faith   = jealousy etc.
Giles + Faith  = giles hanging around to sort out this
 wet behind the ears slayers
Spike + Faith  = love/hate relationship
Dawn + Faith   = bah who knows, maybe they will drop Dawn

it will also darken BtVS a lot more, and Angel which darker is doing
a lot better this season

imho, ymmv

-- 
*** ***
***   Email address has changed to [EMAIL PROTECTED] . Please   ***
***   update your email address book.   ***
*** ***
Greg McCarroll http://www.mccarroll.org.uk/~gem/
   jabber:[EMAIL PROTECTED]




Re: YAPC::Europe War

2003-02-13 Thread Mike Jarvis
On Thu, Feb 13, 2003 at 10:21:16AM +, Leon Brocard wrote:
 This email got sent to the YAPC::Europe committee mailing list. I
 thought I'd share it all with you. It's slightly worrying that USians
 are taking it personally.
 
 FWIW my reply was YAPC is a non-political organisation and run by
 volunteers.
 
 Subject: [yapc-comm] Meeting Location
 To: [EMAIL PROTECTED]
 Date: Thu, 13 Feb 2003 04:18:44 -0500
 
 It's a shame that YAPC will exclude many potential attendees by being held 
 in a country that has so soon forgotten how the western allies went to war 
 to free THEM from tyranny and oppression in WW II, and now flaunts itself 
 against those very allies when they are attempting to disarm yet another 
 ruthless tyrant.
[more drivel snipped]

I'm amazed how many USians seem to forget the role that France played
in freeing us from evil and still want to hold WWII over them.
Shouldn't we just call it even?

I'm much more worried about our ruthless tyrant than I am about any
others.

Consider yourself lucky if the moron who wrote the above doesn't show
up. 

-- 
mike
They had fangs, they were biting people, they had this look in their eyes:
 pure arrogance. I think they were young Republicans.  BtVS - the movie




Re: YAPC::Europe War

2003-02-13 Thread Joel Bernstein
On Thu, Feb 13, 2003 at 09:39:16AM -0500, Mike Jarvis wrote:
 On Thu, Feb 13, 2003 at 10:21:16AM +, Leon Brocard wrote:
  This email got sent to the YAPC::Europe committee mailing list. I
  thought I'd share it all with you. It's slightly worrying that USians
  are taking it personally.
  
  FWIW my reply was YAPC is a non-political organisation and run by
  volunteers.
  
  Subject: [yapc-comm] Meeting Location
  To: [EMAIL PROTECTED]
  Date: Thu, 13 Feb 2003 04:18:44 -0500
  
  It's a shame that YAPC will exclude many potential attendees by being held 
  in a country that has so soon forgotten how the western allies went to war 
  to free THEM from tyranny and oppression in WW II, and now flaunts itself 
  against those very allies when they are attempting to disarm yet another 
  ruthless tyrant.
 [more drivel snipped]
 
 I'm amazed how many USians seem to forget the role that France played
 in freeing us from evil and still want to hold WWII over them.
 Shouldn't we just call it even?

I wonder how many members of Lafayette, Louisiana (for example) know
about the role certain French people played in .us's independence... I
choose them, particularly, because of /the/ Lafayette's role in such
things...


 I'm much more worried about our ruthless tyrant than I am about any
 others.

np: New Model Army - 51st State.

 
 Consider yourself lucky if the moron who wrote the above doesn't show
 up. 

Maybe he'll picket the conference and I'll have a chance to see what fun
one can have with a car battery, some jump leads, a power inverter and 
his nipples.

/joel




[buffy] spoiler policy reminder

2003-02-13 Thread Mark Fowler
Just as a reminder, the spoiler policy of this list is that no-one should
mention anything that happens in Buffy or Angel until the episode has
aired on the BBC.

Tonight's episode is Dead Things (series six, episode 12), meaning that
up till this point only events in Doublemeat Palace and earlier may be
discussed on list without spoiler space.  There's a list of episodes on
buffyguide.com:  http://www.buffyguide.com/episodes/episodes6.shtml

Now, I'm not saying anyone has broken this, but several people are
skirting close (which is okay) so I thought I'd point it out.

Mark.

-- 
#!/usr/bin/perl -T
use strict;
use warnings;
print q{Mark Fowler, [EMAIL PROTECTED], http://twoshortplanks.com/};




Re: [buffy] is leaving?

2003-02-13 Thread Jason Clifford
On Thu, 13 Feb 2003, Greg McCarroll wrote:

 Change the central cast dynamics yes, but there is a lot of mileage
 there ...
 
   Xander + Faith = lets just remember the hotel incidents
   Willow + Faith = Willows maternal concern about Xander
   Anya + Faith   = jealousy etc.
   Giles + Faith  = giles hanging around to sort out this
wet behind the ears slayers

They've all been done before though.

   Spike + Faith  = love/hate relationship

I wish I could comment.

 it will also darken BtVS a lot more, and Angel which darker is doing
 a lot better this season

S6 was dark Buffy and a lot of fans hated it.

Jason Clifford
-- 
UKFSN.ORG   Finance Free Software while you surf the 'net
http://www.ukfsn.org/   Sign Up Now





Re: YAPC::Europe War

2003-02-13 Thread Walt Mankowski
On Thu, Feb 13, 2003 at 11:08:18AM +, Mark Fowler wrote:
 Ironically, I'm a little concerned about going to the states due to their
 really scary laws (DMCA, laws reguarding importing and exporting
 cryto[1].)

Just imagine how those of us who live in the US feel these days.  BTW,
has news about Patriot Act -- The Sequel[1] made it across the pond
yet?

Walt

1. http://www.washingtonpost.com/wp-dyn/articles/A59690-2003Feb11.html




msg11139/pgp0.pgp
Description: PGP signature


Re: [buffy] spoiler policy reminder

2003-02-13 Thread Jason Clifford
On Thu, 13 Feb 2003, Mark Fowler wrote:

 Just as a reminder, the spoiler policy of this list is that no-one should
 mention anything that happens in Buffy or Angel until the episode has
 aired on the BBC.

 Now, I'm not saying anyone has broken this, but several people are
 skirting close (which is okay) so I thought I'd point it out.

I guess I prompted that.

I have tried to avoid mentioning anything that would be a spoiler and I 
shall continue to be careful.

Jason
-- 
UKFSN.ORG   Finance Free Software while you surf the 'net
http://www.ukfsn.org/   Sign Up Now





Re: YAPC::Europe War

2003-02-13 Thread Nicholas Clark
On Thu, Feb 13, 2003 at 09:52:49AM -0500, Walt Mankowski wrote:

 Just imagine how those of us who live in the US feel these days.  BTW,
 has news about Patriot Act -- The Sequel[1] made it across the pond
 yet?

No, not the details. We've got ID cards, sorry, voluntary entitlement
cards, to cope with.

 Walt
 
 1. http://www.washingtonpost.com/wp-dyn/articles/A59690-2003Feb11.html

ECLUELESSSITESETUP

(I can't get past the free registration)
It's failing to tell me why it doesn't like me.
possible reasons include cookies, javascript, java, flash, IP address,
bogus data, R in the month. (Not all are applicable)

Nicholas Clark






Simple cryto script

2003-02-13 Thread Neil Fryer
Hi All

I found this script on the net, and I am still learning, Perl, but I was
wondering, just to play around with, if this script encrypts, how would I
decrypt?

http://www.ca-osi.com/print.php?sid=127



Thanks 

Kind Regards
Neil Fryer




Re: Simple cryto script

2003-02-13 Thread Jason Clifford
On Thu, 13 Feb 2003, Neil Fryer wrote:

 I found this script on the net, and I am still learning, Perl, but I was
 wondering, just to play around with, if this script encrypts, how would I
 decrypt?

You would not. 

crypt() is a one-way function and should not be used where you need to be 
able to retreive the information in plain text.

It's use it for password verification type requirements.

There are various crypto modules available which provide tested and 
reliable two-way encruption functions.

Jason Clifford
-- 
UKFSN.ORG   Finance Free Software while you surf the 'net
http://www.ukfsn.org/   Sign Up Now





RE: Simple cryto script

2003-02-13 Thread Neil Fryer
Aha, thank you.
Really appreciate the feedback.

Neil

-Original Message-
From: Joel Bernstein [mailto:[EMAIL PROTECTED]]
Sent: Thursday, February 13, 2003 3:14 PM
To: [EMAIL PROTECTED]
Subject: Re: Simple cryto script


On Thu, Feb 13, 2003 at 03:01:35PM -, Neil Fryer wrote:
 Hi All
 
 I found this script on the net, and I am still learning, Perl, but I was
 wondering, just to play around with, if this script encrypts, how would I
 decrypt?

You wouldn't.

It's standard DES crypt(). A (not terribly secure) one-way encryption
system, typically used for passwd files. What's the point of
non-decryptable encryption systems? I hear you ask. Well, passwd works by
comparing the result of crypt(password typed by user) with the stored
crypt'ed text in the passwd file. crypt() can be relied upon to always give
the same cryptogram for a given plaintext and salt, so while it can't be
decrypted (well, apart from by bruteforce, which is of course trivial for 
DES crypt()) you can compare the original crypted string with the new
crypted string - if they match, the passwords are the same.

if crypt(passwd1) = crypy(passwd2) then passwd1=passwd2

Well, assuming the salt was the same of course.

/joel




Re: YAPC::Europe War

2003-02-13 Thread Walt Mankowski
On Thu, Feb 13, 2003 at 03:12:11PM +, Nicholas Clark wrote:
  1. http://www.washingtonpost.com/wp-dyn/articles/A59690-2003Feb11.html
 
 ECLUELESSSITESETUP
 
 (I can't get past the free registration)
 It's failing to tell me why it doesn't like me.
 possible reasons include cookies, javascript, java, flash, IP address,
 bogus data, R in the month. (Not all are applicable)

Oops!  How about this[1] link?  They're the ones who broke the news,
and their site doesn't require any registration.  It looks fine for me
in Mozilla, at any rate...

Or just search news.google.com for patriot act, and you'll find
plenty of recent commentary on it.

Walt

1. 
http://www.publicintegrity.org/dtaweb/report.asp?ReportID=502L1=10L2=10L3=0L4=0L5=0


msg11146/pgp0.pgp
Description: PGP signature


Re: Simple cryto script

2003-02-13 Thread Shevek
On Thu, 13 Feb 2003, Neil Fryer wrote:

 Hi All
 
 I found this script on the net, and I am still learning, Perl, but I was
 wondering, just to play around with, if this script encrypts, how would I
 decrypt?

No.

See attached.

S.

-- 
Shevek
I am the Borg.

sub AUTOLOAD{my$i=$AUTOLOAD;my$x=shift;$i=~s/^.*://;print$x\n;eval
qq{*$AUTOLOAD=sub{my\$x=shift;return unless \$x%$i;{$x}(\$x);};};}

foreach my $i (3..65535) { {'2'}($i); }

#!/usr/bin/perl

# Rijndael encrypt and base64 encode data.
# Usage: cmd [-e | -d] file 

use strict;
use Crypt::Rijndael;
use MIME::Base64;
use POSIX;
use IPC::Open3;
use Digest::MD5 qw(md5_hex);
use Symbol;
use IO::Handle;
use Text::Wrap;
use Data::Dumper;

my $ESUFFIX = rijndael;   # filename suffix - change if you want
my $DSUFFIX = decrypted;  # filename suffix - change if you want
my $KEYLEN = 128;   # key bits - do not change
my $REQPASS = $KEYLEN / 8;  # required password length
my $MINPASS = $REQPASS / 2; # minimum password bytes - half key

sub encrypt_rijndael {
my ($password, $data) = @_;

die Data is already encrypted if $data =~ /^XX-Encrypted/;

my $engine = new Crypt::Rijndael $password,
Crypt::Rijndael::MODE_CBC;

my @header = (
XX-Encrypted,
Algorithm: Rijndael,
Length:  . length($data),
DataMD5:  . md5_hex($data),
Notes: Use MIME::Base64 then Crypt::Rijndael to recover data,
# PasswordMD5:  . md5_hex($password),
);

my $header = join(\n, @header) . \n\n;

my $blocksize = $engine-blocksize;
my $padlen = $blocksize - (length($data) % $blocksize);
if ($padlen) {
print Padding data to blocksize $blocksize  .
with $padlen bytes.\n;
$data .=   x $padlen;
}
$data = $engine-encrypt($data);
$data = $header . encode_base64($data);

return $data;
}

sub decrypt_rijndael {
my ($password, $data) = @_;

my $engine = new Crypt::Rijndael $password,
Crypt::Rijndael::MODE_CBC;

$data =~ s/^XX-Encrypted\n//ms
or die File does not appear to be encrypted;

$data =~ /^(.*?)\n\n(.*)/ms
or die Could find separator between header and data;

my $header = $1; $data = $2;
my %header;

foreach (split(/\n/, $header)) {
$_ =~ /^([^:]*):\s*(.*)$/
or die Invalid header line '$_';
$header{$1} = $2;
}

if (exists $header{Algorithm}) {
if ($header{Algorithm} ne 'Rijndael') {
die Algorithm incorrect: only support Rijndael.;
}
}

if (exists $header{PasswordMD5}) {
if (md5_hex($password) ne $header{PasswordMD5}) {
die Password incorrect: does not match hash in header.;
}
}

my ($cipher, $length) = ($1, $2);
$data = decode_base64($data);
$data = $engine-decrypt($data);
if (exists $header{Length}) {
if (length($data)  $header{Length}) {
my $padlen = length($data) - $header{Length};
print Trimming data by $padlen bytes.\n;
$data = substr($data, 0, $header{Length});
}
}

if (exists $header{DataMD5}) {
if (md5_hex($data) ne $header{DataMD5}) {
die Data incorrect: does not match hash in header.  .
Perhaps incorrect password?;
}
}

return $data;
}

sub filter_external {
my ($data, $cmd, @args) = @_;

die External filter command '$cmd' does not exist. unless -f $cmd;
die External filter command '$cmd' not executable. unless -x $cmd;

my ($rdr, $wtr, $err);
$err = gensym;

my $childpid = open3($wtr, $rdr, $err, $cmd, @args);

print $wtr $data;
close $wtr;

my $out = $rdr;
my $errs = $err;

waitpid $childpid, 0;

die External filter command '$cmd' returned error:\n$errs
if $errs;

return $out;
}

# For good measure, let's throw in a sub.
sub readpass {
my $prompt = shift;

print $prompt;

my $termios = new POSIX::Termios;
$termios-getattr(fileno(STDIN))
or die Failed to get terminal parameters: $!;
my $lflag = $termios-getlflag;
  

RE: Simple cryto script

2003-02-13 Thread Peter Pimley


Adding to the other replies, here's some documentation on the crypt call.

http://www.perldoc.com/perl5.6/pod/func/crypt.html



-Original Message-
From: Neil Fryer [mailto:[EMAIL PROTECTED]]
Sent: 13 February 2003 15:02
To: Perl Mongers (E-mail)
Subject: Simple cryto script


Hi All

I found this script on the net, and I am still learning, Perl, but I was
wondering, just to play around with, if this script encrypts, how would I
decrypt?

http://www.ca-osi.com/print.php?sid=127



Thanks 

Kind Regards
Neil Fryer




Re: Simple cryto script

2003-02-13 Thread Joel Bernstein
On Thu, Feb 13, 2003 at 03:01:35PM -, Neil Fryer wrote:
 Hi All
 
 I found this script on the net, and I am still learning, Perl, but I was
 wondering, just to play around with, if this script encrypts, how would I
 decrypt?

You wouldn't.

It's standard DES crypt(). A (not terribly secure) one-way encryption
system, typically used for passwd files. What's the point of
non-decryptable encryption systems? I hear you ask. Well, passwd works by
comparing the result of crypt(password typed by user) with the stored
crypt'ed text in the passwd file. crypt() can be relied upon to always give
the same cryptogram for a given plaintext and salt, so while it can't be
decrypted (well, apart from by bruteforce, which is of course trivial for 
DES crypt()) you can compare the original crypted string with the new
crypted string - if they match, the passwords are the same.

if crypt(passwd1) = crypy(passwd2) then passwd1=passwd2

Well, assuming the salt was the same of course.

/joel




Re: YAPC::Europe War

2003-02-13 Thread Shevek
On Thu, 13 Feb 2003, Nicholas Clark wrote:

 On Thu, Feb 13, 2003 at 09:52:49AM -0500, Walt Mankowski wrote:
 
  Just imagine how those of us who live in the US feel these days.  BTW,
  has news about Patriot Act -- The Sequel[1] made it across the pond
  yet?
 
 No, not the details. We've got ID cards, sorry, voluntary entitlement
 cards, to cope with.
 
  Walt
  
  1. http://www.washingtonpost.com/wp-dyn/articles/A59690-2003Feb11.html
 
 ECLUELESSSITESETUP
 
 (I can't get past the free registration)
 It's failing to tell me why it doesn't like me.
 possible reasons include cookies, javascript, java, flash, IP address,
 bogus data, R in the month. (Not all are applicable)

You have to be less than a hundred years old. Living in Afghanistan is 
fine.

S.

-- 
Shevek
I am the Borg.

sub AUTOLOAD{my$i=$AUTOLOAD;my$x=shift;$i=~s/^.*://;print$x\n;eval
qq{*$AUTOLOAD=sub{my\$x=shift;return unless \$x%$i;{$x}(\$x);};};}

foreach my $i (3..65535) { {'2'}($i); }





Re: Simple cryto script

2003-02-13 Thread David Cantrell
On Thu, Feb 13, 2003 at 03:01:35PM -, Neil Fryer wrote:

 I found this script on the net, and I am still learning, Perl, but I was
 wondering, just to play around with, if this script encrypts, how would I
 decrypt?
 
 http://www.ca-osi.com/print.php?sid=127

It doesn't encrypt, and so you can't decrypt.  The crypt() function is one-
way, and is intended to let you store sensitive information like passwords
in a non-readable form.  Then, when someone provides a password for their
login, you encrypt (hash, more accurately) what they provided and compare
it with the hashed version you have stored.  If they match, then it is
assumed that the password provided matches and you allow login.

Use of crypt() for this is deprecated, nowadays you should be using MD5 or -
preferably - SHA1 for your password-hashing needs.

-- 
David Cantrell|Degenerate|http://www.cantrell.org.uk/david

 Pressure was growing last night for the global war on terror to be
 broadened to take in a wide range of other 'rogue emotions' including
 horror, shock and a general feeling of bewilderment about the state of
 the world.-- The Brains Trust




Re: [buffy] is leaving?

2003-02-13 Thread Paul Mison
On 13/02/2003 at 14:14 +, Andrew Wilson wrote:


Let's face it, season six was complete shite. This season (seven) is
vastly improved and they've only broadcast four episodes so far.


Season six was great. Already the BBC viewers have seen the beginning 
of one of the great dysfunctional relationships in TV history (Buffy 
and Spike) and there's better to come. (Spoilers are still in effect, 
remember, kids. Otherwise I'd go into more detail.)

Mind you, I'm a black-clad grumpy old bugger, so evidently I'm going 
to like it.

The two and a half out of the first four of season seven that I've 
seen so far are distinctly lacklustre in comparison.

While we're on the subject of Buffy, although you'll need to be a 
little careful, boils and burning torment is a great site. Here's 
their review of the infamous 'Willow gets hooked on magic' episode 
(on BBC2 a fortnight or so ago):

http://www.boilsandblindingtorment.com/Wrecked.htm

Also, because it's now out of spoiler territory, here's london.pm's 
archived discussion of it from when it was on Sky.

http://london.pm.org/pipermail/london.pm/Week-of-Mon-20020304/010464.html
http://dir.salon.com/sex/feature/2001/11/28/buffy/index.html # mentioned

--
:: paul
:: we're like crystal



Re: YAPC::Europe War

2003-02-13 Thread Nicholas Clark
On Thu, Feb 13, 2003 at 03:25:29PM +, Shevek wrote:
 On Thu, 13 Feb 2003, Nicholas Clark wrote:

  ECLUELESSSITESETUP
  
  (I can't get past the free registration)
  It's failing to tell me why it doesn't like me.
  possible reasons include cookies, javascript, java, flash, IP address,
  bogus data, R in the month. (Not all are applicable)
 
 You have to be less than a hundred years old. Living in Afghanistan is 
 fine.

It didn't like a whole variety of attempted mes. I suspect it was also
cookies, java or javascript. The other URL was quite scary enough.

Nicholas Clark




Re: YAPC::Europe War

2003-02-13 Thread Leon Brocard
Shevek sent the following bits through the ether:

 You have to be less than a hundred years old. Living in Afghanistan is 
 fine.

Apparently they are quite happy with their readers being one year old
too.

Leon
-- 
Leon Brocard.http://www.astray.com/
scribot.http://www.scribot.com/

... It's hard to RTFM when you can't find the FM..




Re: YAPC::Europe War

2003-02-13 Thread Nicholas Clark
On Thu, Feb 13, 2003 at 03:38:31PM +, Leon Brocard wrote:
 Shevek sent the following bits through the ether:
 
  You have to be less than a hundred years old. Living in Afghanistan is 
  fine.
 
 Apparently they are quite happy with their readers being one year old
 too.

But it didn't give me the Christmas Islands. I live in the Christmas
Islands. Or at least, that's what my e-mail address says.

Nicholas Clark




[ANNOUNCE] Croydon.pm drinks

2003-02-13 Thread David Cantrell
Just a quick reminder, you're all invited to have some beer in Croydon
this evening, at the Dog n Bull on Surrey St from 6pm-ish onwards.

http://www.streetmap.co.uk/streetmap.dll?G2M?X=532230Y=165527A=YZ=1

Nearest station is East Croydon.  Nearest tram stops are George St and
Church St.  Or get the 250 bus from Brixton and walk from West Croydon.

-- 
David Cantrell | Benevolent Dictator | http://www.cantrell.org.uk/david

   I hear you asking yourselves why?.  Hurd will be out in a
   year ...
-- Linus Torvalds, in [EMAIL PROTECTED]





Re: [buffy] is leaving?

2003-02-13 Thread Dominic Mitchell
James Powell wrote:

On Thu, Feb 13, 2003 at 01:52:29PM +, Dominic Mitchell wrote:

Sod it, I don't care.  I just want more farscape.


That's just muppets in space!


Exactly.  That's why I like it.  Far more entertaining.  I was waiting 
for the Kermit cameo, too...

-Dom

--
| Semantico: creators of major online resources  |
|   URL: http://www.semantico.com/   |
|   Tel: +44 (1273) 72   |
|   Address: 33 Bond St., Brighton, Sussex, BN1 1RD, UK. |