Re: [Boston.pm] emergency social meeting

2004-11-12 Thread Aaron Sherman
On Fri, 2004-11-12 at 10:26 -0500, Uri Guttman wrote: > > "bdf" == brian d foy <[EMAIL PROTECTED]> writes: > > bdf> I'm in Boston from Nov 15-18. > for those of you who don't know, bdf teaches for stonehenge (randal's > biz) and is the founder of perl mongers (which you are a member of!)

Re: [Boston.pm] transposing rows and columns in a CSV file

2004-11-12 Thread Aaron Sherman
On Fri, 2004-11-12 at 13:22 -0800, Ben Tilly wrote: > On Fri, 12 Nov 2004 10:05:27 -0500, Uri Guttman <[EMAIL PROTECTED]> wrote: > > > "GS" == Gyepi SAM <[EMAIL PROTECTED]> writes: > [...] > > this talk about mmap makes little sense to me. it may save some i/o and > > even some buffering but

Re: [Boston.pm] transposing rows and columns in a CSV file

2004-11-12 Thread Aaron Sherman
On Fri, 2004-11-12 at 21:47 -0500, William Ricker wrote: > > This is at best 2/3 correct. > > > First you're right that mmap has a 2 GB limit because it maps > > things into your address space, and so the size of your pointers > > limit what you can address. > (unless you have 64bit pointers of

Re: [Boston.pm] transposing rows and columns in a CSV file

2004-11-12 Thread William Ricker
> Well mmap is a Unix concept. IIRC, it's a Multics concept, that Brian and Dennis presumably took south to NJ with them; if it was original with Multics or is even older I'd have to check with the retired Multicians list or a archeobibliography. > To the best of my knowledge > it is not

Re: [Boston.pm] emergency social meeting

2004-11-12 Thread William Ricker
> i don't know how mobile or boston road aware brian is, so So the key questions for brian d foy are, where are you staying and would you like to get further afield or stay close to base? If bdf's non-mobile but would like to explore, perhaps a mobile monger can share him a camel ride. Do

[Boston.pm] new edition of book available

2004-11-12 Thread Greg London
Hey all. For those of you who were at the monger meeting, I plugged my sci-fi book "Hunger Pangs" and said a new edition was coming out this week. Well, it's out as of last night. Check out the preview (part of which is licensed CreativeCommons-NonCommercial) and buy the book if you like hard sf

Re: [Boston.pm] transposing rows and columns in a CSV file

2004-11-12 Thread Ben Tilly
On Fri, 12 Nov 2004 10:05:27 -0500, Uri Guttman <[EMAIL PROTECTED]> wrote: > > "GS" == Gyepi SAM <[EMAIL PROTECTED]> writes: [...] > this talk about mmap makes little sense to me. it may save some i/o and > even some buffering but you still need the ram and mmap still causes > disk accesses.

Re: [Boston.pm] transposing rows and columns in a CSV file

2004-11-12 Thread Ben Tilly
On Fri, 12 Nov 2004 09:01:32 -0500, Tolkin, Steve <[EMAIL PROTECTED]> wrote: > I think there may be a more restrictive limit, at least on Windows. > The OS must be able to find a contiguous block > of virtual memory, i.e. in pagefile.sys. > The paging file may not be able to grow, (depending on >

Re: [Boston.pm] transposing rows and columns in a CSV file

2004-11-12 Thread Ben Tilly
On Fri, 12 Nov 2004 07:38:57 -0500, Gyepi SAM <[EMAIL PROTECTED]> wrote: > On Fri, Nov 12, 2004 at 02:11:37AM -0500, Aaron Sherman wrote: [...] > I think mmap would be just as ideal in Perl and a lot less work too. > Rather than indexing and parsing a *large* file, you must mmap > and parse it. In

[Boston.pm] emergency social meeting

2004-11-12 Thread Uri Guttman
> "bdf" == brian d foy <[EMAIL PROTECTED]> writes: bdf> I'm in Boston from Nov 15-18. brian d foy wants to hang with boston.pm some night next week. i mentioned this a little while ago but nothing happened so it is time to get it scheduled. how is next tuesday, nov 16 at 7pm? we could

Re: [Boston.pm] transposing rows and columns in a CSV file

2004-11-12 Thread Uri Guttman
> "GS" == Gyepi SAM <[EMAIL PROTECTED]> writes: GS> On Fri, Nov 12, 2004 at 02:11:37AM -0500, Aaron Sherman wrote: >> Seriously, while mmap is ideal in C, in Perl I would just build an array >> of tell()s for each line in the file and then walk through the lines, >> storing the offset

RE: [Boston.pm] transposing rows and columns in a CSV file

2004-11-12 Thread Tolkin, Steve
I think there may be a more restrictive limit, at least on Windows. The OS must be able to find a contiguous block of virtual memory, i.e. in pagefile.sys. The paging file may not be able to grow, (depending on how it is configured) and there may not be a large enough block. I would like to

Re: [Boston.pm] transposing rows and columns in a CSV file

2004-11-12 Thread Gyepi SAM
On Fri, Nov 12, 2004 at 02:11:37AM -0500, Aaron Sherman wrote: > Seriously, while mmap is ideal in C, in Perl I would just build an array > of tell()s for each line in the file and then walk through the lines, > storing the offset of the last delimiter that I'd seen. I think mmap would be just as