Re: early peek at a bit of fun
On Mon, Jun 18, 2001 at 08:33:11AM +0200, Philip Newton wrote: Who holds the distance record? dha, presumably? Me Andy M. probably, living on the left coast. Paul
Re: early peek at a bit of fun
On Mon, Jun 18, 2001 at 05:38:02PM +0200, Philip Newton wrote: Paul Makepeace wrote: On Mon, Jun 18, 2001 at 08:33:11AM +0200, Philip Newton wrote: Who holds the distance record? dha, presumably? Me Andy M. probably, living on the left coast. You forgot Damian (as had I). I've never been able to keep track of jetsetting rockstars... Wasn't his Mayfair penthouse good enough? Paul -- Put in earplugs
Re: e-smith
On Mon, Jun 18, 2001 at 12:12:33PM +0100, Cross David - dcross wrote: I see that the new edtion of Linux Format comes with a copy of e-smith on the CD. According to the blurb, e-smith is a complete, easy to use and install server/gateway system that manages mail, firewalling, file-sharing, prinintg - everything you need from your server. Friend of mine recently launched http://www.rocksteady.com/ Paul
Re: Obnoxious sigs (was Re: www.gateway.gov.uk)
Isn't there some cough/ perl module that might allow us to rig a sig-stripper to be installed at dircon? Where sig = any trailer that has more than four un-para'ed lines. Or give these people a damn shell account. Or SOMETHING. (Actually I don't really care I just got carried away with the melodrama.) Paul
Re: www.gateway.gov.uk
On Tue, Jun 12, 2001 at 08:55:38PM +0100, Chris Benson wrote: Oh yes, I vaguely thought on reading about the floods in The South that maybe this was supposed to be a message like Repent your sins or I wash you off the face of the Earth. I think it's more along the lines of the Creator(s) saying Oh, that Global Warming thing, you might want to check into it again. By the way, the most populous city in your home state? *WHOOSH* Paul -- Balance the consistency principle with the inconsistency principle
Re: Default library paths
On Mon, Jun 11, 2001 at 10:25:32AM +0100, Dominic Mitchell wrote: You're very probably stuck. Whilst you can use a hex editor to change strings in the binary, you can't expand the length of those strings, only contract them or retain the same length. However, a solution would be to change the perl binary to use /opt/lib instead of /usr/lib and make /opt a symlink to /usr/local. There's a couple of reasonable hex editors out there, but I usually just tend to use M-x hexl-find-file in emacs. If you're a vim user, see xxd(1). Presumably if you know the string, and they're all going to be replaced (as sounds like the case) you could use perl -pi -0e 's~/usr/lib/~/opt/lib~g' in whole-file-slurp mode (is that the right switch, -0?). Paul -- Intentions -credibility of -nobility of -humility of
Re: [Possible Job] Perl, Linux
On Sat, Jun 09, 2001 at 09:56:20AM +0100, Piers Cawley wrote: Dave Hodgkinson [EMAIL PROTECTED] writes: Piers Cawley [EMAIL PROTECTED] writes: I don't know about you, but I'm *definitely* fat. Big boned. Nope. BBH, Big Beautiful Hacker? Paul -- Abandon normal instruments
Re: London.pm posting stats
On Sat, Jun 09, 2001 at 09:57:52PM +0100, Simon Cozens wrote: On Sat, Jun 09, 2001 at 09:10:53PM +0100, Dave Hodgkinson wrote: And how about a signal/noise bias? ;-) The noise *is* signal. It's signal, Jim, but not as we know it. Paul -- Destroy nothing; Destroy the most important thing
Re: London.pm List Weekly Summary 2001-06-04
On Thu, Jun 07, 2001 at 10:25:17AM +0100, Robin Szemeti wrote: I didn't get where I am today by saying 'earwig' instead of 'thank you' Might it've helped? P
London.pm posting stats
This is dated from beginning of last year, and mutt is saying that's about 13,700 messages (gasp!). Note that some people (cough/dcrosscough/) appear more than once. Not that a) they necessarily need it b) have any hope, ever, of catching Greg... Greg McCarroll: 1546 ** Dave Cross: 762 Jonathan Stowe: 729 *** Robin Szemeti: 586 ** David Cantrell: 563 ** Paul Makepeace: 504 Leon Brocard: 459 ** Piers Cawley: 378 David H. Adler: 365 *** Simon Wistow: 355 *** Philip Newton: 331 ** Jonathan Peterson: 316 ** Michael Stevens: 258 Mark Fowler: 250 David Hodgkinson: 223 *** Dave Hodgkinson: 198 ** Aaron Trevena: 192 ** Robert Shiels: 176 * Redvers Davies: 176 * Roger Burton West: 156 * Dominic Mitchell: 152 Steve Mynott: 147 Neil Ford: 144 Dean: 139 Simon Cozens: 134 Robin Houston: 128 Richard Clamp: 122 *** Elaine -HFB- Ashton: 120 *** James Powell: 118 *** Peter Corlett: 117 *** Nathan Torkington: 109 *** Struan Donald: 108 *** dcross - David Cross: 106 *** Matthew Byng-Maddick: 100 *** Tony Bowden: 97 *** Marcel Grunauer: 96 *** Paul Mison: 95 *** Cross David - dcross: 86 ** Andy Wardley: 83 ** Dean S Wilson: 82 ** Paul, *finally* not anywhere near the top. PS The ratty bit of code, should anyone wish to automate this, that produces this is: cat $* | formail +1 -x From: -ds | perl -lne 's-\\?--g;s/(\w+), ([\w\s]+\w)/$2 $1/;/^ (\w.*) / and $p{$1}++; END {printf %20s: %4d\n,$p,$n while ($p,$n) = each %p}' | sort -t : -k 2,2rn | head -40 | perl -lpe 's-(\d+)$-$1 .*x($1*($s||=50/$1))-e'
Re: Religion
On Wed, Jun 06, 2001 at 11:27:39AM +0100, Robin Szemeti wrote: because, unlike something actually useful, AV only indexes words in its dictionary. since bax (although semantically significant) is not in its dictioanary it don;t find it. pile of shit. Google is oodlsss better. if you have a part number AE1233499 and you bung it in google, if its out there, it finds it. Altavista won't. There was a Altavista project called Raging which they've now ditched by the looks of it. It was basically a complete look-n-feel-n-functionality rip-off of Google. It's a shame it's not up there any more because it was a model of brazen plagiarism. Anyhow, they have two different search engines -- the portal one and a 'text only' one which uses a different system: http://www.altavista.com/sites/search/text?raging=1 which *does* provide Bax hits... Paul -- Abandon desire
Re: Tie::Hash::Cannabinol
On Wed, Jun 06, 2001 at 05:10:43AM -0500, Richard Clyne wrote: If you request more items than are in the queue (e.g. lots of empty seats) the queue returns the items in order. If you request less items than are in the queue (Bus almost full) the largest items push through and are selected. package BusStop; sub FETCH { rand .99 ? ( $self-{$keys[rand @keys]}, $self-{$keys[rand @keys]}, $self-{$keys[rand @keys]}) : undef; } Paul -- Always the first steps
Re: M$ SQueaLServer
On Thu, Jun 07, 2001 at 02:24:35AM +1000, Ian Brayshaw wrote: Have any of you worked with SQueaLServer with a large DB (multiple terabyte level), serving high volume transactions (read write, of the order of You'd have to be more specific than that. MS's terraserver http://terraserver.homeadvisor.msn.com/default.asp is absolutely fekkin' enormous but is read-only. Consult http://www.oracle.com/ for a near-infinite, and often plausible sounding collection of propaganda. And of course there's Oracle's Million Dollar Challenge wherein they'll hand out $1m if they can't get your MS/DB2/BEA site running at least 3x faster: http://www.oracle.com/guarantee/ Ballsy, to say the least. At the end of the day, the simple fact is that Windows 2000 crashes more frequently than *n[ui]x does -- this surely is unquestioned fact. Whether that costs the company less than hiring a useful Oracle DBA is another matter... Paul -- Change specifics to ambiguities
Re: tape changes
On Tue, Jun 05, 2001 at 08:59:32PM +0100, Robin Szemeti wrote: of a 2gb monthly bandwidth allowance. Oh my lord -- I shift over a gig a day just thru' the freenet node and that's on a crappy DSL line. Remind me to whine less when Pacific [HB]ell messes with the connection... the goodness of tapes is that you can at least move em easily off site incase of damage by fire/flood/vampires/cleavage Tapes getting ravished by cleavage? Well, I guess what you lack in bandwidth gets made up in other areas... Paul, jealous -- Disciplined self-indulgence
Re: I'm orff
On Sun, Jun 03, 2001 at 11:15:39AM +0100, Aaron Trevena wrote: as some of you might already know I'm orff to the west country. Red skoi at noit, yer sheeps are aloit. Paul, from Brizzle -- Magnify the most difficult details
Re: BUFFY - SPOILERS , DO NOT READ IF YOU HAVE NOT SEEN SKY 1 LAST NIGHT
Neil Ford noted: Quick bit of digging and I've found the following; [Heat Magazine, 19-25 May 2001] The producers of Buffy, Fox TV, have offered ridiculous soundbites to justify switching TV networks in the US. The WB, home to Buffy since it's inception, did not match the passion and vision demonstrated by rival network UPN, which has secured the show for two years. The fact that UPN bid a total of $22 million more than WB wasn't mentioned by Fox. UPN sontinued to show it's vision and passion with the $50,000 gift baskets it sent eight Buffy cast regulars to welcome them to their new network - which included Cristal champagne and a Cartier watch, Sarah Michelle Gellar - who once said she'd quit Buffy if it left WB, then retracted the comments - was given a Gucci necklace. Heat may not always be the most reliable rag, but it's ususally fairly accurate on this stuff. Valley girls just like to have funds. Paul -- Twist the spine
Re: [PUB] Possible candidate
On Thu, May 31, 2001 at 08:29:19AM +0100, Robert Thompson wrote: There's The George and Dragon just south of London Bridge. Easily walkable from LB station or even the City (I used to go there a lot). [snip] And there's and extra point if you can name the SF book it's mentioned in. Well, the Silly Fairy book was _George and the Dragon_. Where's my fiver? :-) Paul -- Only one element of each kind
Slow disks under linux
I'm trying to duplicate an FS from an oldish 5,400rpm 6GB IDE drive to a new 7,200rpm 61GB IDE drive using the usual cp -ax / /mnt. But it's unbelievably slow -- vmstat 2 is reporting bi/bo around 300! Having just compared that with my main server (10K 7.2K SCSIs) that's 10x slower. The thing I noticed is that the interrupts were approaching 10K/s(!) whereas on the working box they're around 1500. CPU system is also near-pegged around 80%. Anyone know what might be going on here? (Linux 2.2.17, Debian woody. The 6GB is connected with an 80pin IDE cable -- might that do it??) Paul, who will probably end up using FreeBSD since its hardware RAID (HPT370) and video (Matrox G450 dual) is apparently better...
Re: Slow disks under linux
On Thu, May 31, 2001 at 11:19:28AM +0100, Dave Hodgkinson wrote: What does hdparm have to say? Ah yes, thanks, I remember that from 1997, the last time I used it :-) I switched DMA on both drives (hdparm -d1), and interrupts went down, transfer rate went up and all was good. Now, why do I have to do that? dmesg reports: ide0: BM-DMA at 0xc000-0xc007, BIOS settings: hda:DMA, hdb:pio ide1: BM-DMA at 0xc008-0xc00f, BIOS settings: hdc:DMA, hdd:pio i.e. both DMA, so why does hdparm -d say using_dma off (and the system generally crawl)? Paul -- How would you have done it?
Re: Slow disks under linux
On Thu, May 31, 2001 at 02:32:58PM +0100, Robin Szemeti wrote: whistles for quick HD access turned to 'off' .. I tripled the transfer rate on my slaptop by turning DMA and other stuff on ... and it didn;t explode like the manpage said it might. I caved and upgraded to 2.4.5, something I dislike doing with Debian. 2.4.x has better gfx card AGP support. Anyway, there is an option CONFIG_IDEDMA_AUTO=y and CONFIG_IDEDMA_PCI_AUTO=y which *still* don't have udma switched on with the drives. Oh well. Is there an agreed-upon place to perform the hdparm shenanigans during boot? I would imagine early on... OK, getting more esoteric now -- is anyone running dual monitors? I finally got my G450 running with KDE2 but the window manager doesn't add decoration to the windows on the 2ndary monitor, i.e. I can't move windows and they don't get mouse focus. Paul -- Slow preparation, fast execution
Re: Slow disks under linux
On Thu, May 31, 2001 at 04:26:14PM +0100, Dominic Mitchell wrote: You might need to run a 2nd copy of kwin, like this: % kwin -- display :0.1 (--display) Try that and see if it works... Yes! Thanks. Now to get it to start like that on its own... It's very weird re-learning X after nearly a decade since I last properly used it. KDE2's Konqueror browser is really, really impressive. Wow! Seems quicker and less crashy than Mozilla. Now if only it played Flash and Quicktime movies... Paul -- From nothing to more than nothing
Re: Slow disks under linux
On Thu, May 31, 2001 at 04:41:11PM +0100, Mark Fowler wrote: Are you using xinerama (i.e. so your monitors are spliced together into one display?) No, it's KDE2 which seems to split them into separate desktops. The mouse moves between them as though they're one but I can't drag windows back forth (no loss, really). The Matrox Windows drivers are much better -- graphical arbitrary relative positioning of the 2nd monitor. E (still 0.15.5...) Talking of E check out these bus modes: # hdparm -i /dev/hda | tail -1 DMA modes: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 *udma5 # Paul
Re: Slow disks under linux
On Thu, May 31, 2001 at 04:55:12PM +0100, Dominic Mitchell wrote: The monitor layout should be controllable from the XF86Config file. Somehow. I haven't tried this though. RTFM. I have, Section ServerLayout Identifier Default Layout Screen Primary Screen Secondary LeftOf Primary InputDevice Generic Keyboard InputDevice Configured Mouse EndSection What I really meant was Windows allows me to point-and-drool the 2ndary monitor around and change the res and position on the fly rather than having to restart X. Its cute graphic also shows the relative monitor sizes -- which is actually depressing because it illustrates just how much bigger better the $1600 21 monitor (2048x1536, and usable) is over a $400 21 (1280x1024, struggling to manage 80Hz) :-/ Paul
Re: Slow disks under linux
On Thu, May 31, 2001 at 05:41:45PM +0100, Mark Fowler wrote: On Thu, 31 May 2001, Paul Makepeace wrote: Section ServerLayout Identifier Default Layout Screen Primary Screen Secondary LeftOf Primary InputDevice Generic Keyboard InputDevice Configured Mouse EndSection Look, look, bad Text::Autoformat setup. I suck. Anyway.. Wait 'til you have 'X' at the end of a sentence! Or e.g. or something. It gets Microsoftly clever. And I have Section ServerLayout Identifier another layout Screen Primary Screen Secondary RightOf Primary InputDevice Mouse1 CorePointer InputDevice Keyboard1 CoreKeyboard EndSection You really only have to change LeftOf and RightOf to switch the monitors around (which I did last time I moved desk as I went from having one monitor to the left of the primary console monitor to having one monitor to the right.) You can't do that in Windows. Ha. Can too! You can have the 2nd one in any orientation at all to the 1st, 1400 pixels to the left, 1000 above, with a 1024x768 screen. *And* you can do all this without restarting your window manager.. Not that I like Windows or anything :) Paul
Re: bad greg
Well, I threatened to write one. ``PremierDNS.com -- this is really a hack: become a registrar with no DNS servers, no billing ability, no employees and not be ICANN registered. This isn't a real business idea but more an integration of existing web services with a neat front-end.'' http://www.directnic.com/ I've found pretty good for the things you're talking about. Paul On Wed, May 30, 2001 at 08:27:19AM +0100, Greg McCarroll wrote: i'm sorry about asking this, but i've purged too many old archives of london.pm to find this one - someone one once mentioned a domain name registry with a neat web based management system for handling the dns wizardry afterwards - could they please remind me of the url? -- Greg McCarroll http://www.mccarroll.uklinux.net
Re: SQL statements to DB Schema (dia ?)
On Wed, May 30, 2001 at 06:32:52AM +, Greg Cope wrote: mysqldump) - and I was wondering if there was a super thing that could translate the create table stuff into a diagram I could print, and then look at If this worked on Linux and involved perl and Dia then it would be fab. obiwanThis is not the answer you are looking for/obiwan ... but Oracle Designer does exactly this and rules in so many ways I couldn't possibly do it justice in this dial-up restricted email. I don't think it runs on Linux (although Oracle server does). Paul
Re: Grammar - Class creation
On Tue, May 29, 2001 at 10:45:59AM +0100, Leon Brocard wrote: [Of course, the reason nobody's done this before is that everyone wants a slightly different interface...] Surely it should be possible to specify the underlying *functionality* of the system and then have a perl source filter (or other component of perl's mind-addling n-tier parsing architecture) that rewrites/re-presents the interface in the API style du jour... Paul
God bless Micro$oft
http://www.theregister.co.uk/content/4/19239.html Joy. Paul
Odd idiom
Why do people say inherits from the Foo::Bar manpage and not Foo::Bar module/class? I mean, how can something inherit from a lump of documentation? Is this one of those klutz kult phenomenon or something I'm not in on? :) Paul
Re: wantarray and Tied Hashed
On Thu, May 24, 2001 at 04:35:52PM +0100, Cross David - dcross wrote: my @array = $h{two}; I bumped into this in 1997 and became convinced list contexts aren't propagated to the effective sub call. If you look at the above line, there's something very odd seeming about it anyway, and it's not necessarily clear WTF is going on :-) At that time I didn't really have resources/time to mention it to anyone and worked around it (them days of riding back to Reading at 3am or sleeping on a couch ready for a 7am start, etc -- and I were grateful!) The source for what I was working on is locked on an NT box (boo!) at work; I'll check there and see what I did (FWIW; probably not exciting). Paul
Re: London.pm List Weekly Summary 2001-05-21
On Thu, May 24, 2001 at 04:25:43PM +, Redvers Davies wrote: That is not strictly true... FMD is not a threat to animal health, the MAFF slaughters are. There was me thinking the threat to animal health was the six inch bolt that gets driven thru' their skulls and ultimately them being wrapped in polystyrene and put on a cold shelf in Sainsbury's... Paul
Re: Email Style (was: Re: Election Manifestos)
On Wed, May 23, 2001 at 06:51:26PM -0400, David H. Adler wrote: map g !G perl -MText::Autoformat -eautoformat CR map z !G perl -MText::Autoformat -e 'autoformat{ all = 1 }' CR ...shamelessly stolen, lock stock and barrel from Damian's article in the new TPJ. :-) Cool, thanks. Actually I think I saw that at TPC too. Minor problemette is, when 1.0.4 is called at the end of the file: Can't call method signature on an undefined value at /usr/local/share/perl/5.6.0/Text/Autoformat.pm line 779. Paul, having thoughts about using nvi with its embedded perl interpreter to speed that up a bit...
Re: Email Style (was: Re: Election Manifestos)
On Wed, May 23, 2001 at 12:23:49PM -0400, David H. Adler wrote: You should use Damian's Text::AutoFormat. I just used it to reformat the bit above beginning with Indeed. Lovely thing. Have you integrated into a mail server (module, procmail, whatever) so that it gets cleaned on the way in, or does your mail client do it, or have you some on-demand vi/emacs macros? Do tell! Paul
Re: Election Manifestos
On Tue, May 22, 2001 at 06:49:01PM +0100, Leon Brocard wrote: Cross David - dcross sent the following bits through the ether: [SNIP!] Please fix your mailer to do proper In-Reply-To and References headers. It's really really annoying. I *loathe* Exchange. But they fixed references in 6.0! No, wait, they just introduced a load of Thread-* headers :-( Fucking morons. Paul
Re: Election Manifestos
On Tue, May 22, 2001 at 09:14:05PM +0100, Martin Ling wrote: On Tue, May 22, 2001 at 11:11:23AM -0700, Paul Makepeace wrote: I *loathe* Exchange. But they fixed references in 6.0! No, wait, they just introduced a load of Thread-* headers :-( Fucking morons. They just innovated threading! Tell me you're joking. If I was joking I wouldn't have ignore Thread- in my .muttrc :-( Received: from 157.54.9.100 by mail3.microsoft.com (InterScan E-Mail VirusWall +NT); Thu, 10 May 2001 16:41:42 -0700 (Pacific Daylight Time) Received: from red-msg-06.redmond.corp.microsoft.com ([157.54.12.71]) by +inet-imc-03.redmond.corp.microsoft.com with Microsoft SMTPSVC(5.0.2195.2883); Thu, 10 May 2001 16:43:41 -0700 X-MimeOLE: Produced By Microsoft Exchange V6.0.4688.0 content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Message-ID: +[EMAIL PROTECTED] + X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: Subject line goes here. Thread-Index: AcDZqhhI7VsxDWt9TIyjVP5af1xC5wAANWVg X-OriginalArrivalTime: 10 May 2001 23:43:41.0352 (UTC) +FILETIME=[0AFF6A80:01C0D9AB] Paul
Re: Long shot
On Mon, May 21, 2001 at 03:19:20PM +0100, Jonathan Peterson wrote: 1. For some unknown reason it doesn't let you use mail filters on IMAP messages, thereby rendering it completely unsuited to my needs The Mac version does :) But yeah, that's a pain. 2. And this is the really evil one. If you use plain text mode it ALWAYS uses your proportional font for displaying and composing mail. If you use But it wraps it correctly when you're done/click send, so it does send it plain text and wrapped correctly. Netscape - works, can filter mail, poor interface, dreadfully slow PC-pine - works, can filter mail, dreadful interface, fast Eudora - annoying bugs, can filter mail, good interface, slow Express - works, can't filter mail, good interface, quite fast Have you tried The Bat!? http://www.ritlabs.com/the_bat/ Eudora is unquestionably more evil than OE -- unless they've hugely fixed it its MIME is appallingly wrong in many ways. Paul
Re: Long shot
On Mon, May 21, 2001 at 09:50:07PM +0100, Martin Ling wrote: ...but lacks the ability to filter POP messages by headers before downloading. Why the hell can't they get their act together on the same bloody bit of software? And they accuse *us* of forking. Not only that the Outlook and Outlook Express teams at MS are completely different, and I don't think the shared codebase for the Mac/Win is particularly big. Paul (friends in evil places)
Perlish interface to PayPal?
Anyone aware of an interface either through the web or more directly that will provide the usual paypal facilities through a perl interface? CPAN command=i /paypal/ / didn't get any hits. Paul
Re: Perlish interface to PayPal?
On Fri, May 18, 2001 at 03:44:13PM +0100, Jonathan Peterson wrote: This (non-perl unix command line tool) might be better than nothing: http://members01.chello.se/hampasfirma/ppsend/ Great, thanks, that's the ticket. Seems like it's a simple WAP/XML interface. For anyone that's curious it looks like (anyone else not curious, look away now): ==login request POST /cgi-bin/phscr?rs=9093475911 HTTP/1.0 Accept: text/vnd.wap.wml Content-length: 66 cmd=login-submit-pass[EMAIL PROTECTED]pass=blahblah ==login response HTTP/1.1 200 OK Date: Fri, 18 May 2001 15:19:59 GMT Server: Stronghold/2.4.2 Apache/1.3.6/L C2NetEU/2412 (Unix) Cache-Control: must-revalidate, proxy-revalidate, no-cache Set-Cookie: Stronghold=216.228.5.63.28091990196199609; path=/; expires=Sun, 11-May-31 15:19:59 GMT Connection: close Content-Type: text/vnd.wap.wml ?xml version=1.0? !DOCTYPE wml PUBLIC -//WAPFORUM//DTD WML 1.1//EN http://www.wapforum.org/DTD/wml_1.1.xml; wmlcard title=Main Menu newcontext=truep mode=nowrapBalance: $$386.70br/anchor*Money Requestsgo href=/cgi-bin/phscr?rs=8067080184 method=postpostfield name=cmd value=uomelog/postfield name=auth value=EaSIxjiK.cUI2dBgfUL5e7K2o2dcknyAnPLNctTPA0//go/anchorbr/anchorSend Moneygo href=/cgi-bin/phscr?rs=8067080184 method=postpostfield name=cmd value=beam/postfield name=auth value=EaSIxjiK.cUI2dBgfUL5e7K2o2dcknyAnPLNctTPA0//go/anchorbr/anchorRequest Moneygo href=/cgi-bin/phscr?rs=8067080184 method=postpostfield name=cmd value=request/postfield name=auth value=EaSIxjiK.cUI2dBgfUL5e7K2o2dcknyAnPLNctTPA0//go/anchorbr/anchorHistorygo href=/cgi-bin/phscr?rs=8067080184 method=postpostfield name=cmd value=translog/postfield name=auth value=EaSIxjiK.cUI2dBgfUL5e7K2o2dcknyAnPLNctTPA0//go/anchorbr/anchorCustomer Supportgo href=/cgi-bin/phscr?rs=8067080184 method=postpos! tfield name=cmd value=dialconfirm/postfield name=auth value=EaSIxjiK.cUI2dBgfUL5e7K2o2dcknyAnPLNctTPA0//go/anchorbr/anchorLogoutgo href=/cgi-bin/phscr?rs=8067080184 method=postpostfield name=cmd value=logout/postfield name=auth value=EaSIxjiK.cUI2dBgfUL5e7K2o2dcknyAnPLNctTPA0//go/anchorbr//p/card/wml Balance: $386.70 Paul
Re: Activestate and Debian
On Fri, May 18, 2001 at 05:04:21PM +0100, David Cantrell wrote: Has anyone tried Activestate's packaged perl 5.6 for Debian? I wouldn't normally consider them, but there's no other packaged 5.6 for Debian- stable. I'd just run -testing. That to me would be less invasive and likely to break the whole system than installing a 3rd-party perl distro, unless you can keep the two installs completely separate (I anecdotally expect that to be unlikely given the age of the potato perl). FWIW, I've been running various flavours of Debian testing and unstable on production machines with great success since '96. -stable is just too long in the tooth for doing any modern development (IMO)... Good luck, Paul
Re: TPC Quiz Team
On Thu, May 17, 2001 at 09:17:04AM +0100, Cross David - dcross wrote: I need three volunteers to join me in the london.pm team for Jon Orwant's Internet Quiz at The Perl Conference. This is our big chance to get revenge for the injustices of last year. I'll help. Mike Stok and I between managed to answer about all of them except that stoopid Buddy one. Paul, should probably get a ticket now
Re: [gnat@frii.com: Damian Conway's Exegesis 2]
On Thu, May 17, 2001 at 01:27:32AM +0100, Piers Cawley wrote: Delphi rules. Still not as good Interface Builder + Objective C + AppKit + NeXTSTEP... Having used both, I totally disagree. YMMV of course :-) Interface Builder is damn good but plenty of stupid shit in it (why am I setting properties in awakeFromNib when I could set it in IB, but they're greyed out?) Paul, can't decide to love or hate Obj-C
Re: [gnat@frii.com: Damian Conway's Exegesis 2]
On Thu, May 17, 2001 at 12:59:53PM +0200, Philip Newton wrote: Paul Makepeace wrote: The - to . conversion [...] will be a wonderful thing. To be honest, I never understood the point of that conversion. Is it an attempt to make Perl look more like VB? Or like Java? Or trying to save keystrokes? Simplify the lexer? *tokes hard* _fewer characters, man!_ - makes my right wrist click since I never got the hang of the left shift key in a general way. It just looks... nicer. /imo Paul
Re: pc components
On Thu, May 17, 2001 at 08:12:52PM +0100, Leon Brocard wrote: The same happened to me. I've given up buying things on the Internet. I do all my research on the web, and then head down to Tottenham Court Road to actually buy it. The prices are generally comparable, and you get it *there and then*. Comparable to http://www.pricewatch.com/ ? I buy stuff online because it's less hassle/takes less time than finding parking downtown :-) And besides, by the time it arrives (few days later, I'm a cheapskate Ground shipping junkie) I've usually forgotten about it so it's a nice surprise. Paul
Re: Microsoft.FUKT
On Thu, May 03, 2001 at 10:24:56PM +0200, Niklas Nordebo wrote: As usual, registration can be bypassed by replacing www with channel, ie: http://channel.nytimes.com/2001/05/03/technology/03SOFT.html On similar lines, robots.cnn.com is ad free. E.g. http://robots.cnn.com/2001/SHOWBIZ/News/05/17/niki.taylor.update/index.html `The first word spoken by the model since the April 29 crash was Coke, said her manager, Lou Taylor (no relation). Her doctor rejected the request for the soft drink, saying she was not ready yet' Er, soft drink, eh? `Taylor suffered liver and abdominal injuries in the accident, though her face was not marred.' Phew, thank Ghod for that -- for a moment I was concerned, but now I know she's still good looking; what a relief! /sarcasm http://www.theonion.com/onion3716/denominator_plummets.html Paul -- Niklas Nordebo -- [EMAIL PROTECTED] -- +447966251290
Re: [gnat@frii.com: Damian Conway's Exegesis 2]
On Wed, May 16, 2001 at 10:06:22PM +0100, Greg McCarroll wrote: And just to complete my final blasphemy, Visual Basic, may have a shit language behind it, it may have performance problems, it may be very limited and may force you to implement the guts as of any serious program you write as C/C++ DLLs but is still the most impressive implementation of a programming language/dialect that I have ever seen, You clearly haven't used Delphi. It is *streets* ahead of VB. Not only that they provide source to their components. Not only that, Object Pascal is possibly one of the best practical OO languages in existence. Their component model just rocks. And their editor is fantastic. Delphi rules. Paul
Re: Enough!
On Tue, May 15, 2001 at 05:00:28PM +0100, Robert Shiels wrote: I have worked as a telemarketer, so feel a bit sorry for them as it's a shit job, so I just say No thanks and hang up. You can buy these little devices that emit a canned request to be removed from the lists which these people are legally required to do or else face being in quite some trouble. It's quite funny, hold the keychain toy up to the mic and let it rip. Paul
Re: chocolate was Re: Monitors
On Mon, May 14, 2001 at 12:12:42PM +, Steve Mynott wrote: I have bought US Hersey (sp?) bars in the UK and thought they were Hersey make their products from the ground up bones of dead rats stuck in the wheels of NY subway trains. It's *true*! Paul
Re: Enough!
On Mon, May 14, 2001 at 03:31:07PM +, Steve Mynott wrote: Can't you just kill on politics subject? (I will try and use the subject header in my posts anyway so people can) Personally I find discussion of politics more interesting than American TV shows about vampires. Concur. I share JP's being impressed at how flame free it was. Bravo! -- 1024/D9C69DF9 steve mynott [EMAIL PROTECTED] work like you don't need the money dance like nobody's watching love like you've never been hurt. I misread that (ENOCOMMA), dance like you've been hurt, love like you need the money, and work like you're being watched :-) Paul
Re: Politics (was RE: BOFHs requiring license)
On Mon, May 14, 2001 at 06:10:12PM -0400, Piers Cawley wrote: Well, it's thinking like that that keeps the skills gap nice and wide. Hmm... can't be all bad then. Better to quietly allow immigrants across the border, put them in an immigration armlock and then turn a blind eye to them be employed for a pittance in jobs no white would ever want. And remember, they're Hispanics, not Mexicans. Paul
Re: 101 uses for an inflatable Tux
On Fri, May 11, 2001 at 06:42:40PM +0100, Martin Ling wrote: Suggestions also welcome for all of these: http://pkl.net/~martin/lonix-2001-05-10/ Does that come with a Back Orifice? Paul
BOFHs requiring license
``BOFHs will legally need licence to work'' http://www.theregister.co.uk/content/7/18866.html Absurd, laughable and bizarre. What *is* wrong with the UK? Paul
Re: Monitors
On Fri, May 11, 2001 at 04:22:04PM +0100, Dominic Mitchell wrote: How many things do you have on top of your monitor? Five CommTech Star Wars figures -- the type that have a chip with a few voice samples in their base which the reader scans plays. Some of them have defined sequences so placing one figure after another on the reader results in a conversation. Very silly! Paul, who will now drop by toy shops that are in clearance-mode more often PS My 3rd 21 monitor is in the mail, muhaha. Sony F520 for $850, hee :)
Re: Monitors
On Sat, May 12, 2001 at 12:46:11AM +0100, Simon Cozens wrote: On Fri, May 11, 2001 at 04:22:04PM +0100, Dominic Mitchell wrote: How many things do you have on top of your monitor? Nothing. If your monitor cost as much as mine, you'd keep it sacrosanct too. All this says is you don't have enough money to buy a decent monitor every few months. Ah, to be kept in the lifestyle to which one so easily becomes accustomed... Sell the gold cat! Paul
Re: Buffy? .. naah .. wait till you see this
On Thu, May 03, 2001 at 12:42:40PM +0100, Paul Mison wrote: http://shadowgirl.net/photos/NYC-apr-2001/). Those are great pictures! http://shadowgirl.net/photos/NYC-apr-2001/merkin.html I trust everyone knows what a merkin *really* is... Paul can you tell I live near SF? M
Microsoft.FUKT
``Microsoft is preparing a broad campaign countering the movement to give away and share software code, arguing that it potentially undermines the intellectual property of countries and companies. At the same time, the company is acknowledging that it is feeling pressure from the freely shared alternatives to its commercial software.'' This is great news for people who aren't huge fans of Redmond Empire -- not only is the spinfo in the article largely wrong (but superficially plausible, typical FUD) but there's nothing they can do about it! They're in trouble and they know it. http://www.nytimes.com/2001/05/03/technology/03SOFT.html user/pass london.pm/london.pm Paul
Re: cocktails
On Thu, May 03, 2001 at 09:34:56PM +0100, David Cantrell wrote: Rip, Mix, Burn, unless you're using our latest and greatest operating system which we couldn't be arsed to complete 10.0.2 shipped yesterday and fixed this, fyi... The burn CD button in iTunes is a pulsing biohazard sign just like Duke Nukem expansion pak. Too c00l. P
Re: US$ bank account
On Wed, May 02, 2001 at 12:24:13PM +0200, Philip Newton wrote: do it, why can't a global e-commerce leading-edge pioneer-type place like Amazon? The mind boggles. Because there aren't any other currencies besides the US $. amazon.co.uk actually uses dollars and so do you. Hey, do they have electricity in England yet? I heard foot n mouth is a venereal disease. The UK has nothing on the US for isolationism... Paul
Re: US$ bank account
On Mon, Apr 30, 2001 at 10:03:12AM +0100, Dave Hodgkinson wrote: Anyone know of a bank that will let non US residents have a workable US$ account with dollar credit card and check (narf) book? When you're at TPC open a bank account and ask them to have the address in the UK. I've done this before with some random bank in Illinois. Be prepared to leave at least a couple of thousand there. Forget getting a credit card in the US unless you have a credit history here (it's taken me nearly 2yrs to get a credit limit beyond something most people would laugh at). You can get debit (like Switch) cards that will behave like credit cards when you buy things, that's standard practice now. Paul
Re: US$ bank account
On Mon, Apr 30, 2001 at 10:28:00AM +0100, Dave Hodgkinson wrote: Indeed, I have one already, but they charge like fuck for banking cheques, have stupid settlement times and not hook 'em up to their online banking. How much is a lot? I'm about to dump a few thousand into a UK bank (HSBC) and maybe it's cheaper to convert here? This is a funny Flash story of a Canadian guy banking US checks: http://www.xdude.co.uk/flashed-mar2001.htm Er, cheques, whatever. Paul
OS X talk
Neil Ford wrote: A dedicated OSX list might be a good idea. tada http://www.osxphiles.com/mm/listinfo/osx-talk /tada Today I feel like a monkey that only knows one trick, monkey see, monkey set up mailing list. At least I'm not a fairy. Anyway -- feel free to forward off list. We can always split it later. Yeah, I know, the site *really* sucks. Someone ported photoshop to Cocoa yet? ;-) Paul (doesn't have Classic anymore)
London.pm@london.pm.org
Here it is, http://london.pm.org/mailman/listinfo/london.pm http://london.pm.org/pipermail/london.pm/ -- I sent a couple to seed it. So I put in the final tweaks to get exim/mailman working together. (Most of the credit for the setup is to Alex/veeg and jo.) Whether it goes from dircon to london.pm.org is up to someone else, this is really just to let you know it (the mailman system)'s werkin'. And that there are other sources of penderelesque edification, http://penderel.state51.co.uk/mailman/listinfo/arse Have fun! Paul
OS X MySQL
Anyone here have this working on OS X client? The OS X Server one didn't complaining about some pthreads error: # ./scripts/mysql_install_db dyld: ./bin/my_print_defaults can't open library: /usr/lib/libpthread.A.dylib (No such file or directory, errno = 2) I'm trying the source d/l route ATM. Google is full of pubic beta / DPx shit. How many people here use OS X? Develop for it? (Even vaguely). Recommend any small-ish clued in lists to join? The omnigroup ones are too huge. If anyone's interested, I'll host the list if nothing's out there. (I just bought a cool(ish) domain for it too, OSXphiles.com :-) Paul
DBD::*-bind_param() ?
Seems like DBD::Pg and mysql both support bind_param().. but do they really? Checking mysql API docs seems to suggest (unless I'm looking at the beginner version) there aren't any functions to prepare statements. I haven't looked at Postgres. Can anyone confirm/deny? Ah ha! (answering my own question): http://dbi.symbolstone.org/cgi/summarydump?module=Msql-Mysql-modules ? is emulated http://dbi.symbolstone.org/cgi/summarydump?module=DBD::Pg Yes, ? and :1 styles (native) Does anyone have any Real World experience with the speed-up (even hand-wavy vague anecdotes) of using bind values v. reparsing the SQL each time (for databases that support this obviously). Postgres and Oracle I'm particularly interested in. Paul
Re: MySQL - Oracle wrapper/compat. libs
On Fri, Apr 27, 2001 at 09:38:45AM +0100, Robin Szemeti wrote: but of course .. however the topic was (somewhere along the thread) related to portable methods to try and keep from having to change all the SQL between different db version. Why do this? Unless you're using the db in a toy capacity (which is fair enough: see PHP) it's like using Java when you could be using custom DSP hardware. [side note: I did just see a bizarre thread in macosx-dev where one guy claimed his FFT code was executing faster in Java than C because its interpreter used runtime info to optimize it. Search on 'informal benchmarks'] the blocking anly occurs occasionally, ... if you do it sensibly (get all the data ready .. {lock, get max, insert, release} the lock period is tiny. and not really an issue. There are enough assumptions here to make me again suggest you use a vendor-specific route :-) however I stll prefer my method (implement it as a 'library' wrapper class on DBI with the appropriate (AUTO_INCREMENT, ROWID, oid, SEQUENCE or whatevr) technique and a library::insert($sql,@args) method) and then you just have to plug in the approprate wrapper between your app and todays choice of DB and in theory the app can stay the same. If it was that simple, someone would've done it -- DBI is a very mature and competent module. Go check out Automatic Key or Sequence Generation in the DBD driver feature summaries and you'll see why it's hard to encapsulate this: they're all sooo different. Paul
Re: Buffy? .. naah .. wait till you see this
On Fri, Apr 27, 2001 at 09:39:18AM +0100, Robert Shiels wrote: Have a look at her right big toe in this, has someone doctored the photo? http://britneyspears.ac/bs/024b.jpg I read press releases that explicitly denied all rumors of any surgical enhancements to Britney's anatomy. HTH :) Paul
Re: DBD::*-bind_param() ?
On Fri, Apr 27, 2001 at 09:49:33AM +0100, Roger Burton West wrote: Oracle quite a bit - it parses the statement with placeholders and does large amounts of cacheing. Definitely worth it if you're fiddling with large dbs. For postgres it's a lot less important IME. Great, thanks! This is all in preparation for a syntax adjustment in everyone's favourite MTA... (which I'm fully expecting to get fried on) Paul
Re: Good Accountants
On Fri, Apr 27, 2001 at 02:30:20PM +0100, Jonathan Peterson wrote: I blame majordomo, when's that mailman thing getting here? Actually that's my fault I said I'd look into it about a year ago (or so it feels). I'll do it this weekend. As to whether penderel gets used for this mailing list is something someone else would decide... Paul
Re: DBD::*-bind_param() ?
On Fri, Apr 27, 2001 at 11:45:40AM +0100, Leon Brocard wrote: It helps a lot (and is also blindingly easy to benchmark yourself ;-). Clearly says someone who's hasn't installed Oracle recently! [This is after all the point of community lists is to ask questions of others who've already done it rather than rejig the wheel...] Using bind_columns also helps to speed up DBI, see: http://www.activestate.com/ASPN/Mail/msg/perl-DBI-dev%3A503109 Ah ha, great. Hmm, doesn't show bind_columns to be wildly better (although a bit). Hashref is obviously to be avoided in speed critical things. It seems as though the DBI layer is the rate limiting factor, looking at those figures. Oracle really is smokin'ly fast. Paul
Re: DBD::*-bind_param() ?
On Fri, Apr 27, 2001 at 11:31:16PM +0100, David Cantrell wrote: On Fri, Apr 27, 2001 at 12:16:32PM -0700, Paul Makepeace wrote: On Fri, Apr 27, 2001 at 11:45:40AM +0100, Leon Brocard wrote: It helps a lot (and is also blindingly easy to benchmark yourself ;-). Clearly says someone who's hasn't installed Oracle recently! Does anyone? Every time I've used Oracle, it's been installed by someone else who was supposedly an expert. Although I remain to be convinced that any of them really *was* an expert. I installed it (i.e. clicked about on the nice Java buttons) and I'm definitely not an expert. I do know not to create stuff in the SYSTEM tablespace which is more than one DBA an ex-employer of mine once hired... Paul
Re: DBD::*-bind_param() ?
On Sat, Apr 28, 2001 at 12:09:49AM +0100, Simon Cozens wrote: On Fri, Apr 27, 2001 at 12:16:32PM -0700, Paul Makepeace wrote: Clearly says someone who's hasn't installed Oracle recently! You can install Oracle now? Wow, they must have really been fixing it of late. OK, so I cheated, and copied the arsDigita instructions :-) http://www.arsdigita.com/ad-training/acs-install/oracle For those that haven't seen this, worth a read: http://philip.greenspun.com/arsdigita/litigation-story Scary stuff. Paul
Re: Good Accountants
On Thu, Apr 26, 2001 at 09:39:45AM +0100, Robin Szemeti wrote: Flemings Premier Banking 01708 713317 God help you if you put your company into dormancy however. Then they get really arsey since you're not depositing huge amounts of cash into it any more. They unilaterally decided to close my account a few months back effectively ruining my health insurance policy and delaying payments to my accountants. The only way (at least with HSBC) of setting up a new business acct is from a director or company secretary so I have had to find one of those and send form 288a flying across the atlantic. flemings--, Paul
Re: London.pm List Weekly Summary 2001-04-23
On Thu, Apr 26, 2001 at 02:17:01PM +0100, Dominic Mitchell wrote: Doh! We entirely missed this: http://www.mysql.com/news/article-57.html That's an amusing read! 'spos it legitimises us, but, but! Which links to (not sure if it's working right now): http://technet.oracle.com/tech/migration/index.htm Apparently Oracle do have a toolkit for migrating from MySQL. They indeed do! And no spritely thing is it, Omwb_13100.tar.gz (62,918,457 bytes) That's so impressively big I guess I'll have to set up a full MySQL hack just to test it :) Paul
Re: Good Accountants
On Thu, Apr 26, 2001 at 09:02:48PM +0100, David Cantrell wrote: Yeah, but only testing it on one browser, ignoring the - what, 30%? - that don't use IE - that's kinda silly. And unprofessional. Sure, the bank Anything that displays in IE will display fine in Opera. Mozilla is OK. Netscape 4.x deserves to have sites intentionally break it (ooh, tricky, miss a closing table tag!) because it is shit must die. I did go on to look at it using IE, for I know that first impressions can I share your pain. It has this utterly obnoxious browser-resize to full screen even though it's designed for a fixed size viewing area! Retards! Try http://www.hsbc.co.uk/ Paul
Re: Good Accountants
On Thu, Apr 26, 2001 at 10:04:36PM +0100, Robin Szemeti wrote: depends dunnit ... Not really, Netscape 4.x sucks. No two ways about it. and height tags) ..it doesnt care about missing /table tags, it handles tables and CSS somewhat better than 4.7 OTOH its so far from being You mean it handles them at all. CSS in Netscape is so bad as to be a joke. I mean, come on -- this is a *1996* invention!! One of the reasons the web still sucks is 'cos of f**king Netscape and no-CSS. standards compliant it must die. its bloatware taken to new levels. what is it? 75mb+ .. for a web browser .. ? No, silly, it's part of the operating system :-) But, how is it non compliant? And when was 75MB of diskspace an issue? That's about 20p. I like nutscrape for setting stuff up with because it is a bit picky ... Use a validator rather than a broken HTML parser. it does fall over on errors and thats what you want for quick 'almost right on the first pass' stuff .. then you feed it through No you don't. You want a proper validator built right into your editor (see: HomeSite) nutscrape-alike that put colored blobs or somesuch where errors were.. with hyperlinks to details of the error ... ;) See above :-) Linux beta but it had a todo list that went 'doesn't display text, or pictures. backround doesn't work yet. Can't load from network' or some equally trivial things .. that was 1 year ago .. maybe its time to revisit. It's actually usable now I hear. Opera on Windows is great! Paul
Re: Good Accountants
On Thu, Apr 26, 2001 at 10:33:36PM +0100, Robin Szemeti wrote: well .. it *does* handle them .. but ,,, errr .. sort of non cascading IYSWIM ... No it doesn't. It has almost no clue about stylesheets at all. Have you ever developed a CSS site for Netscape? And got it to work in anything like a sensible timeframe? I don't care tuppence about 75mb of disc space .. its the 'half of all your available memory and most of your processor' that does my head in. You're right, that rampant hyperbole is really convincing me :-) None of my IE sessions are consuming more than a 1% of CPU. When they do use CPU it's hardly for long. Why are people complaining about RAM CPU? It is *sooo* cheap and will get cheaper faster yet. We are talking about displaying a few words and pictures on a screen not Right, and compilers are just turn .c files into something you can run. How hard can that be? bloated. Opera proves that. I do not require my web browser to do any of the following: run active-X, Flash, any form of streaming video. it It doesn't, that's what plugins are for. It just do happens that millions of people like to watch Flash movies so they come pre-bundled. I mean, why draw the line there? Toss out images and other ghastly things like ability to work with handicapped people, etc, etc. should never, ever attempt to download anything on its own, install anything or upgrade anything. ever. at all. ever. When I hit the stop button it is because i want it to stop. dead. now. I do not want it to continue what its doing because it thinks it knows best. it must stop Hmm, IE does stop almost immediately. THe Mac version in OS X requires a couple of presses but it's pretty well behaved otherwise (when it's not crashing or preventing me from copying the address line to the clipboard, bah). I've actually had more trouble getting Netscape to stop, YMMV, etc. loading the page NOW. IE fails many if not all of those test. I'm a bit of a browser luddite im afraid. http://lynx.browser.org/ Paul
Another Komodo
http://news.cnet.com/news/0-1005-200-5729530.html Makes bizarre reading after AS's press releases. (I assume AOL's Komodo is some Mozilla repackaging? Anyone know anything about this?) Paul
Re: Another Komodo
On Fri, Apr 27, 2001 at 01:50:34AM +0100, Dean wrote: theregister.co.uk has been running stories about it being used as a possible alternative if AOL decides to stop bundling IE. No technical details though... http://www.betanews.com/article.php3?sid=988225959 has a weensy bit at the last paragraph, saying it's basically a wrapper over Gecko (yay, usable Mozilla GUI, finally). Paul
Re: perlismybitch.com
On Wed, Apr 25, 2001 at 08:34:19AM +0100, Chris Ball wrote: It's a cute domain. I haven't seen a domain expire and go to back to available in a reasonable period for quite a while, though; they're kept on as expired records for $bignum amount of time. :-) Yeah, I don't know why that is. There are even 'domain watching' services where you can be notified when the record finally disappears and then frenetically try to re-obtain it (and then get sued because the expiry was a mistake :). Anyway, if anyone wants it I can re-obtain it on the cheap. Register.com sucks. P
Re: perlismybitch.com
On Wed, Apr 25, 2001 at 05:51:59PM +0100, Chris Heathcote wrote: on 25/4/01 5:25 pm, Paul Makepeace wrote: If you read the small print they threaten to disconnect service if whois info isn't accurate. Pity you have to supply perfect info for spammers. I think that's fair, like accepting mail to postmaster@, hostmaster@, webmaster@ etc. It's not like email addresses are in short supply. What I meant, it's a pity a legitimate 'Net facility is abused for the purposes of direct marketing rather than its original aim which is to get into contact with the domain owner for some technical, billing or administrative reason. By providing my name in whois I am not declaring my interest in $29.95 Religious PhDs... NetSol have openly declared they sell to direct marketers which is particularly shameless and despicable. At least with these other guys you know you're entering a Faustian pact. Paul
MySQL - Oracle wrapper/compat. libs
Here's a perl question (OK, not really).. Is anyone aware of a compatibility/wrapper library which a developer could use to take an app using the MySQL API and with some (ideally) minimal munging turn it into Oracle OCI or Pro*C code? I'm faced with converting a couple of apps that have MySQL support to use OCI and it's, er, frightening to say the least (OCI manual is 1,054 PDF pages. It is in the best academic traditions for Intimidatingly Enormous Tomes deemed an introduction). Paul
Re: MySQL - Oracle wrapper/compat. libs
On Tue, Apr 24, 2001 at 12:28:42PM +0100, Dominic Mitchell wrote: Don't forget that even if you could automatically change the API over, you'd still have to change all the SQL in the API as well. Which is probably just as difficult a task, given how much SQL can vary from product to product... IME, the SQL only significantly varies when you're doing the kind of SQL that could earn you a serious DBA label or you're working in a bank. MySQL has fairly limited SQL capabilities which mapping onto Oracle shouldn't be hard. The reverse obviously isn't true. I have had stuff I've written on Access work on Oracle with very little effort, the only glitch is suffering Access being case-sensitive with its column names (SQL non-compliant in other words). The purpose of this is a MySQL - Oracle migration for apps that have MySQL support who want to Go Big. I don't see there being a big market for Oracle - MySQL frankly. Paul
Perl Monger spotted in the wild
Are you DJ Adams? http://www.byte.com/column/BYT20010404S0014 Good, and depressing, article. Paul
perlismybitch.com
FYI, this domain is about to expire. So if anyone wants it, snag it. I was going to transfer it to bulkregister (my preferred registrar) but simply couldn't be arsed. Paul
Re: BtVS : Best Male
On Fri, Apr 20, 2001 at 11:02:18AM +0200, Philip Newton wrote: Robin Szemeti wrote: On Thu, 19 Apr 2001, you wrote: Hey, Robin -- remember the "reply to list" feature is on; "you wrote" is not particularly clear :). (In this case, it's Jonathan Stowe, which is significant.) aol/ Yes, please attribute. Oh, and mail clients that thread properly/at all. We know who you are... Paul
Re: JOB: Anyone still looking?
On Thu, Apr 19, 2001 at 09:17:22AM +0100, dcross - David Cross wrote: Rate ca. ?22k or equivalent for contract Is that really the going rate for Perl proggers in London? Doesn't seem like much (for reasonable definitions of "progger" :-). Paul
Re: The Natives are Revolting
On Thu, Apr 19, 2001 at 11:33:53AM +0100, Piers Cawley wrote: http://www.cookwood.com/cgi-bin/lcastro/perlbbs.pl?read=4453 Shame your solution ignored the locking problem... Ha ha, we both just posted simultaneously -- I think between our posts we should have *that* problem sorted. Amazing, in retrospect, how ludicrously complex it all is. (Welcome to Unix, thanks for grep'ing, have a nice day. [WTUTFGHAND]) Paul
Re: JOB: Anyone still looking?
On Thu, Apr 19, 2001 at 12:01:10PM +0100, Leo Lapworth wrote: I'm glad to say I am now employed *cheer*. Was a rather nice birthday present to get today. "Congratulations" x 2! Leo Funny name for an Aries :-) Oh well, fire sign all the same. Paul, 10th Apr.
Re: Komodo
On Thu, Apr 19, 2001 at 01:46:03PM +0100, Piers Cawley wrote: Works with Objective C too. Which is still (for my money) the best way of messing with the NeXTSTEP object model. s/best/only/ Paul
Re: Komodo
On Tue, Apr 17, 2001 at 07:12:32PM +0100, David Cantrell wrote: Rip, Mix, Burn, unless you're using our latest and greatest operating system which we couldn't be arsed to complete You mean, "...if you choose to install an OS over the one we're actually supporting for those operations"? Besides 10.0.1 just arrived... P
Re: Komodo
On Wed, Apr 18, 2001 at 10:52:58AM +0100, David Cantrell wrote: actually supporting for those operations"? No, I mean "unless you're using our latest and greatest operating system which, despite us only supporting a limited number of systems to make it This is specious. The ad is running for an iMac, whose OS is 9.1. easier for us to write all the drivers etc, we still couldn't be arsed to complete". Who said "release early, release often". Apple are doing the right thing, IMO. P
Broadcast datagrams
Anyone hackers here sent broadcast packets? I think this is how you do it: #!/usr/bin/perl -w use strict; use Socket; my $dst = inet_aton("172.30.255.255"); socket(SOCKET, PF_INET, SOCK_DGRAM, getprotobyname("udp")) or die "socket: $!"; setsockopt(SOCKET, SOL_SOCKET, SO_BROADCAST, pack("l", 1)) or die "setsockopt: $!"; send(SOCKET, "hello", 0, sockaddr_in(6868, INADDR_BROADCAST)) #send(SOCKET, "hello", 0, sockaddr_in(6868, $dst)) or die "send: $!"; For some reason I'm getting "send: Can't assign requested address" for INADDR_BROADCAST. How can it *not* assign that? Flipping the comments over works fine (for that subnet) -- in other words, in my C code, I have to spelunk the interface list with ioctl()s and then get the sodding broadcast address. Which is a lot of work :-( FWIW (this is on the failing machine, yes different subnet), en0: flags=8963UP,BROADCAST,b6,RUNNING,PROMISC,SIMPLEX,MULTICAST mtu 1500 inet 192.168.0.1 netmask 0xff00 broadcast 192.168.0.255 ether 00:30:65:7e:d1:96 media: autoselect (none) status: inactive supported media: none autoselect 10baseT/UTP half-duplex 10baseT/UTP full-duplex 100baseTX half-duplex 100baseTX full-duplex Any ideas? Paul
Re: Komodo
On Wed, Apr 18, 2001 at 11:12:30AM +0100, Robin Szemeti wrote: if it doesn't work on a standard Perl install its dead in the water IMHO FWIW, I agree. Not only that, if it conflicts with existing distribution's package management that'd be a nightmare. Paul
Re: Komodo
On Wed, Apr 18, 2001 at 11:44:38AM +0100, David Cantrell wrote: The iMac is one of the platforms supported by OS X. One has to assume anyone installing an OS over a different is intelligent enough to read the caveats. In fact, CD burning doesn't work under OS X on *any* machine and isn't shipped pre-installed on any machine, so by your argument, it is wrong to complain about it being non-functional anywhere. You're complaining about an ad being misleading (my possibly wrong reading). It's for an OS 9.1 system! Yeah, no burning is a bummer that's definitely true. When I release early, release often, I don't expect people to pay for the privelege. That's because you haven't yet written the World's Most Advanced OS :-) I knew when OS X was originally released that it lacked CDRW support, and I didn't complain (much). However, that it *still* lacks it is inexcusable. Oh, what, four weeks later? Jesus -- hard to please some people :-) Not like there are any apps for OS X either! P
Re: Broadcast datagrams
On Wed, Apr 18, 2001 at 11:49:20AM +0100, Dominic Mitchell wrote: If you have a complete /usr/src installed, look in there for examples of how it's done in C (it looks like you have a BSD machine - so it's quite likely /usr/src is populated). The weird thing is this is even happening with Apple's own nextstep bootp client (don't ask :) in C, which is originally the language I was using. I cast the example to perl just to ask here and as a sanity check. Darn, your example works on both the Linux and FreeBSD machines I just tried it on. What machine are you using? On both machines, EADDRNOTAVAIL OS X/Darwin. Thanks for checking though -- I'll keep looking. Paul
Re: Broadcast datagrams
On Wed, Apr 18, 2001 at 12:11:45PM +0100, Dominic Mitchell wrote: You're probably going to have to grep through the kernel source to see why it's being returned in that case. And I have a sneaky suspicion that the networking stuff is quite changed from the "normal" BSDs... I've been using Rich Stevens's bible and stuff compiles copy/pasted. OK, I can't even ping 255.255.255.255 (when PPP is down, but when it's up it's OK): # ping 255.255.255.255 PING broadcasthost (255.255.255.255): 56 data bytes ping: sendto: No route to host ping: wrote broadcasthost 64 chars, ret=-1 ^C [ppp up] # ping 255.255.255.255 PING broadcasthost (255.255.255.255): 56 data bytes 64 bytes from 209.232.142.2: icmp_seq=0 ttl=255 time=163.571 ms 64 bytes from 209.232.142.2: icmp_seq=1 ttl=255 time=2954.65 ms 64 bytes from 209.232.142.2: icmp_seq=2 ttl=255 time=1968.95 ms # netstat -nr Routing tables Internet: DestinationGatewayFlags Refs Use Netif Expire default209.232.142.2 UGSc30 ppp0 127.0.0.1 127.0.0.1 UH 9 2099 lo0 192.168link#2 UC 00 en0 192.168.0.10:30:65:7e:d1:96 UHLW0 14 lo0 192.168.0.255 ff:ff:ff:ff:ff:ff UHLWb 08 en0 So for whatever reason it's not being recognized and turned into an Ethernet 48bit broadcast. Paul
Re: Broadcast datagrams
On Wed, Apr 18, 2001 at 12:41:49PM +0100, Dominic Mitchell wrote: According to the book in front of me (UNP2v1, P472): "Another question is: what does a multi-homed host do when the application sends a UDP datagram to 255.255.255.255? Some systems send a single broadcast on the primary interface (the first interface that was configured) with the destination IP address set to the subnet-directed broadcast address of that interface. Other systems send one copy of the datagram from each broadcast capable interface. Section 3.3.6 of RFC 1122 ``takes no stand'' on this issue. For portability, however, if an application needs to send a broadcast out from all broadcast capable interfaces, it should obtain the interface configuration and do one sendto for each broadcast capable interface with the destination set to that interface's broadcast address." In short, what happens is very system dependent. :-( Thanks very much! That's a great help -- if ffFFffFF doesn't work and it doesn't necessarily have to that's OK. My original code that is using ioctl(sockfd, SIOCGIFCONF, (caddr_t)ifconf_list will be pressed back into service :-) (push @{$books{Paul}}, "UNP" ;)
Re: The Natives are Revolting
On Thu, Apr 19, 2001 at 12:20:45AM +0200, Marcel Grunauer wrote: get it to work, and not just because of fonts. Or sendmail - I haven't really used it much, just to route my personal mail; I ported exim to OS X last week, it was very easy and runs fine (qmail was a dog). Give me another day or so and there'll be a shiny maildir-supporting POP daemon... Is it just me or is OS X's sendmail broken out of the box? Apr 18 16:10:03 localhost sendmail[578]: My unqualified host name (localhost) unknown; sleeping for retry Paul
Re: The Most Boring Thread Ever on London.pm : Cool Letter Heads
On Sat, Apr 14, 2001 at 08:48:10PM +1000, Damian Conway wrote: All roads lead to London.pm, 'twould seem. Welcome aboard crewmates! Paul
Re: Tie::Scalar::Decay ...
On Tue, Apr 10, 2001 at 10:41:51PM +0100, David Cantrell wrote: Whilst I thought that a radioactive-style decay was a suitable default, for the app I wrote it for, a simple decrement every time period was more appropriate. Cool Uses For Technology #497: Hmm, triggered on first access would be interesting too. That way you could put an object wrapper around the sinking platforms in Manic Miner. Paul