Secure Programming Cookbook
O'Reilly have published Secure Programming Cookbook for C and C++ recently, would anyone like to volunteer to review it? http://www.oreilly.com/catalog/secureprgckbk/ -- David Cantrell | Reality Engineer, Ministry of Information The problem with cruel and unusual punishment is that you have to keep being creative. For example, some may call it cruel and unusual to turn a spammer into spam, but by the time you feed the hundredth into the woodchipper it's become quite usual -- Anthony de Boer in the Monastery
Re: Online payment providers
On Sun, 14 Sep 2003, nemesis wrote: Netbanx: http://www.netinvest.co.uk/ncr/netbanx/ Of the ones listed these are the only ones I would specifically avoid. On the few occassions I've had to pay via their service it's been impossible as their site only seemed to work with a browser from a certain company in Redmond. Worldpay: http://www.worldpay.co.uk/ I am using Worldpay and their service works really well for me. If you subscribe to their Select Junior service you can use the perl module I've written to handle the transactions and callbacks from WorldPay. Jason Clifford -- UKFSN.ORG Finance Free Software while you surf the 'net http://www.ukfsn.org/ ADSL Broadband available now
perl on Solaris vs Linux
I have a perl script that works perfectly on my Gentoo Linux distro but fails on my Solaris 2.8 box. I am running v5.8.0 on both platforms and I have absolutely no clue on how to get it working on solaris. Its actually a collection of scripts that use the following CPAN modules... IPC::Shareable Net::Pcap NetPacket::Ethernet NetPacket::IP Net::RawIP The error I have is the following... p is not of type pcap_tPtr at ./icmp_sniffer line 67. Line 67 68 of icmp_sniffer is ... die unable to compile $pktfilter\n if (Net::Pcap::compile($pcap_t ,\$compprog,$pktfilter,0,$netmask)) ; This script works perfectly on my Linux box but not Solaris. Anyone offering some useful/helpful pointers would be much appreciated Thanks Andy
Perl reference book
Can anyone suggest a good Perl reference book, something equivalent to the Kernigan and Richie C book would be great Thanks Andy
Re: Perl reference book
On Mon, Sep 15, 2003 at 12:10:53PM +0100, Andy Ford wrote: Can anyone suggest a good Perl reference book, something equivalent to the Kernigan and Richie C book would be great KR isn't just a reference, it's a tutorial too. If you need the tutorial, get the Llama book (Learning Perl). For the reference and for more advanced tutorial goodness, get the Camel book (Programming Perl). There are several other books which you may find useful too, in particular Effective Perl Programming and Mastering Regular Expressions. -- David Cantrell | Reality Engineer, Ministry of Information We are all atheists about most of the gods that humanity has ever believed in. Some of us just go one god further. -- Richard Dawkins
Re: perl on Solaris vs Linux
On Mon, Sep 15, 2003 at 12:04:21PM +0100, Andy Ford wrote: I have a perl script that works perfectly on my Gentoo Linux distro but fails on my Solaris 2.8 box. I am running v5.8.0 on both platforms and I have absolutely no clue on how to get it working on solaris. Its actually a collection of scripts that use the following CPAN modules... IPC::Shareable Net::Pcap NetPacket::Ethernet NetPacket::IP Net::RawIP The error I have is the following... p is not of type pcap_tPtr at ./icmp_sniffer line 67. Line 67 68 of icmp_sniffer is ... die unable to compile $pktfilter\n if (Net::Pcap::compile($pcap_t ,\$compprog,$pktfilter,0,$netmask)) ; This script works perfectly on my Linux box but not Solaris. Anyone offering some useful/helpful pointers would be much appreciated Thanks Andy From the Net::RawIP Readme :- NOTE: Ethernet related methods currently implemented only on Linux and *BSD! Help with port eth.c to other platforms is very appreciated. This would not be related would it? Paddy
back to the 80's
A strange request, perhaps, but: Does anyone happen to have a collection of old computers like BBC micros, Commodore 64, ZX Spectrum, ZX 81, etc? My g/f wants to photograph them for a book being published for the Reader's Digest as well as an annual price guide for lunatics that collect things. You won't get any money for it, but you would get your very own copy of the books with pictures of your collection in it, and possibly some beer. And she's a Buffy fan, although she thinks Faith is best. Being somewhere reasonably close to the Angel (the place, not the pub) would be a distinct advantage.
Re: back to the 80's
Je 2003-09-15 21:15:39 +0100, Steve Keay skribis: Does anyone happen to have a collection of old computers like BBC micros, Commodore 64, ZX Spectrum, ZX 81, etc? My g/f wants to photograph them for a book being published for the Reader's Digest as How about photographs that already exist? I have photos of my Jupiter Ace, and Sharp MZ-80K she's welcome to. (They're pics for ebay as they're about to be sold.) Paul -- Paul Makepeace ... http://paulm.com/ What is enogh to drink? Well if you don't know by now, then I'll not tell you. -- http://paulm.com/toys/surrealism/
Re: back to the 80's
On Mon, Sep 15, 2003 at 09:43:51PM +0100, Paul Makepeace wrote: How about photographs that already exist? I have photos of my Jupiter Ace, and Sharp MZ-80K she's welcome to. (They're pics for ebay as they're about to be sold.) Apparently that's great so long as they're excellent quality, at least 300dpi, lit from the left with no harsh shadows and against a white background. And probably lots of other stuff - apparently they're quite fussy. She'll take a look though...
Re: back to the 80's
On Mon, 15 Sep 2003, Steve Keay wrote: A strange request, perhaps, but: Does anyone happen to have a collection of old computers like BBC micros, Commodore 64, ZX Spectrum, ZX 81, etc? My g/f wants to photograph them for a book being published for the Reader's Digest as well as an annual price guide for lunatics that collect things. I have quite a collection but they're in Bath. This includes most of the Sinclairs including two unique modded QLs (1983, 32 bit, 1Mb+ of RAM, wahey), a C64, a YD8100 (the only one still existing, I think, but it's 1970 so predates your target), Apple II, an Electron, some incomplete Apple III stuff, an Atari, some Amigas, a CPC6128, and if I get my finger out, Dragons, BBCs, a 380Z, Arcs, etc. I also have an EISA system, some Suns, HPs, an RS6K, and probably access to a Dec3k, an Indy, and erm. Some NCD stuff and if I'm lucky some random 68Ks. It might be worth a trip. But it is a considerable distance from the Angel. You'd also have to give me a bit of notice so I can make sure everything can be arranged for you. I am also interested in acquiring further computers for my collection; if anyone offers any, please let me know. All my machines are kept in good working order, and I daresay you can play on any of them if you want to, if I can find appropriate monitors, etc. I offer a loving and caring home to all old (and new) machinery. There are various parts I need in order to repair some of the collection. e.g. I need a couple of genuine 720K floppy drives. 1.4Mb drives are not sufficiently backwards compatible for one of the systems. Some miscellaneous power supplies, etc. Spare microdrives, etc always accepted. Other random amusements include a PC with nearly 250 CD-ROMs. *snigger* It's kind of rackmounted... S. -- Shevekhttp://www.anarres.org/ I am the Borg. http://www.gothnicity.org/
Re: back to the 80's
On Mon, Sep 15, 2003 at 09:15:39PM +0100, Steve Keay wrote: A strange request, perhaps, but: Does anyone happen to have a collection of old computers like BBC micros, Commodore 64, ZX Spectrum, ZX 81, etc? My g/f wants to photograph them for a book being published for the Reader's Digest as well as an annual price guide for lunatics that collect things. Richard Atkinson, aka Vortexion (or rga24, if you're a cambridge person) is a compsci type with special interests in 8-bit computers (and specifically the 8bit fm synthesis audio hardware they had) and old reel-to-reel tape machines. I'm pretty sure his website has a load of photos of his kit on them. You won't get any money for it, but you would get your very own copy of the books with pictures of your collection in it, and possibly some beer. And she's a Buffy fan, although she thinks Faith is best. I think Richard might like the book. You're welcome to buy me beer, though. Being somewhere reasonably close to the Angel (the place, not the pub) would be a distinct advantage. Well, y'see, there's this club round the corner, right...? Nope, never set foot in the Angel ;) /joel
[ot] doubtless silly perl question
I have a problem with some code which I'm trying to debug. I'm not certain, but I think perhaps I'm doing something wrong in the following line - perhaps inadvertently creating an array slice? what do you understand by the line: my $foo=( split ',' = $line )[7]; ? i'm trying to get the split to return an array, of which I then get the 7th element (and assign to $foo). /joel
Re: [ot] doubtless silly perl question
On Tue, 16 Sep 2003, Joel Bernstein wrote: I have a problem with some code which I'm trying to debug. I'm not certain, but I think perhaps I'm doing something wrong in the following line - perhaps inadvertently creating an array slice? what do you understand by the line: my $foo=( split ',' = $line )[7]; ? I understand that you should have used two lines. Why not do so? my @tmp = split /,/, $line; my $foo = $tmp[7]; S. i'm trying to get the split to return an array, of which I then get the 7th element (and assign to $foo). /joel -- Shevekhttp://www.anarres.org/ I am the Borg. http://www.gothnicity.org/
Re: [ot] doubtless silly perl question
Tue, Sep 16, 2003 at 01:39:26AM +0100, oel Bernstein sait: I have a problem with some code which I'm trying to debug. I'm not certain, but I think perhaps I'm doing something wrong in the following line - perhaps inadvertently creating an array slice? what do you understand by the line: my $foo=( split ',' = $line )[7]; ? i'm trying to get the split to return an array, of which I then get the 7th element (and assign to $foo). 7th element implies index 6: $line=1,2,3,4,5,6,7,8; $foo=( split ',' = $line )[6]; print $foo\n -- stef /joel
Re: [ot] doubtless silly perl question
On Tue, 16 Sep 2003, Shevek wrote: On Tue, 16 Sep 2003, Joel Bernstein wrote: I have a problem with some code which I'm trying to debug. I'm not certain, but I think perhaps I'm doing something wrong in the following line - perhaps inadvertently creating an array slice? what do you understand by the line: my $foo=( split ',' = $line )[7]; ? I understand that you should have used two lines. Why not do so? my @tmp = split /,/, $line; my $foo = $tmp[7]; Fair enough, but what's a good, non-obfuscated-Perl one liner for this? Would this work? my ( ,,$foo ) = ... No, that's ugly brittle at best, and hopeless at worst. Nevermind. I am curious about good idioms for doing an array slice like this though. -- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080/blog/ np: 'Mast Aankon Ki Kasam' by Nusrat Fateh Ali Khan from 'The Supreme Collection, Vol 1 (Disc 1)'
Re: [ot] doubtless silly perl question
On Mon, Sep 15, 2003 at 10:43:06PM -0400, Chris Devers wrote: On Tue, 16 Sep 2003, Shevek wrote: On Tue, 16 Sep 2003, Joel Bernstein wrote: I have a problem with some code which I'm trying to debug. I'm not certain, but I think perhaps I'm doing something wrong in the following line - perhaps inadvertently creating an array slice? what do you understand by the line: my $foo=( split ',' = $line )[7]; ? I understand that you should have used two lines. Why not do so? my @tmp = split /,/, $line; my $foo = $tmp[7]; Fair enough, but what's a good, non-obfuscated-Perl one liner for this? Would this work? my ( ,,$foo ) = ... In the same line of thought, the following code does work: my (undef,undef,undef,undef,undef,undef, $foo) = split ',', '1,2,3,4,5,6,7,8'; print $foo\n I don't say it is pretty. -- stef No, that's ugly brittle at best, and hopeless at worst. Nevermind. I am curious about good idioms for doing an array slice like this though. -- Chris Devers [EMAIL PROTECTED] http://devers.homeip.net:8080/blog/ np: 'Mast Aankon Ki Kasam' by Nusrat Fateh Ali Khan from 'The Supreme Collection, Vol 1 (Disc 1)'