[Perldl] perldlrc Documentation

2009-06-16 Thread David Mertens
I would really appreciate if whoever controls the documentation for perldl would say something to the effect of this: If you use your own rc file, you should use PDL/default.perldlrc as a template or at least be sure to use PDL or use PDL::Lite. If you don't include one of these two modules,

[Perldl] NiceSlice deprecations for pdl and perldl

2009-06-16 Thread David Mertens
I encountered something that left me scrathing my head. It's not a problem, really, just something odd. When I run 'perldl', every single command first responds with PDL::NiceSlice::perldlpp -- got deprecated one-argument form, from main; /usr/bin/perldl; 189... and then does what I want it to

Re: [Perldl] Alter the print statement output format?

2009-06-29 Thread David Mertens
$indent\{ . join(, , list $pdl) . \} if($pdl-ndims==1); return $indent\{\n . join(,\n, map { pdlstr( $_, $indent ) } $pdl-dog ) . \n . $indent\}; } On Jun 26, 2009, at 8:36 AM, David Mertens wrote: Hey folks - I am pretty new to PDL but I'm having a lot of fun

[Perldl] pdls and Boolean Logicals

2009-07-01 Thread David Mertens
It says in the FAQ (question 6.11) that logical operators simply don't work. Why? As is somewhat common practice, I have set up some of my scripts to get user info through a hash, which allows for nicely compact ways of setting variable defaults, like: my $yLabel = ( $opts{yLabel} or

Re: [Perldl] (no subject)

2009-07-07 Thread David Mertens
Hi Nick - I think you'll need to use grandom, and then spread/shift it. Try this: $stdev = 2; $mean = 5; $randMatr = grand(5,5) * $stdev + $mean; David On Tue, Jul 7, 2009 at 11:21 AM, Nicholas Wright nwri...@head.cfa.harvard.edu wrote: Hi This may be a simple question, but I'm a PDL

Re: [Perldl] Numerical Regexp: Call for Ideas and Use Cases

2009-08-19 Thread David Mertens
Hi Cliff, thanks for your questions. Many of the ideas I'm throwing out there borrow heavily from standard Perl regexp ideas (and some math ideas, too), so if I use one that doesn't make sense, let me know. Also, I've put a bit more work into the notation and changed a few things,

Re: [Perldl] Preferred Wiki?

2009-08-24 Thread David Mertens
, 2009 at 11:49 PM, David Mertens dcmert...@gmail.com wrote: Hello everybody - I noticed recently that we have two wikis, one on sourceforge, reachable by going to pdl.perl.org, and a second one at http://wiki.jach.hawaii.edu/pdl_wiki-bin/wiki/SiteMap, a location you can find by checking

Re: [Perldl] Preferred Wiki?

2009-08-25 Thread David Mertens
On Tue, Aug 25, 2009 at 9:53 AM, Derek Lamb de...@boulder.swri.edu wrote: If you are logged in to your sourceforge account and click on the Lambd link in the first paragraph, it should bring up a form to send me an email. This part is what threw me for a loop. I went to the Mediawiki Admin

[Perldl] Question for the Wiki: Installing PDL from source

2009-09-22 Thread David Mertens
Hey folks - The wiki has a few rather dated looking pages about installing PDL on various OSes, but nothing about installing PDL for a system without a PDL package. I've decided there needs to be a page on the wiki for this and I am soliciting your help in getting the most accurate info into the

Re: [Perldl] Question for the Wiki: Installing PDL from source

2009-09-23 Thread David Mertens
Thanks Chris and Henning for your ideas, clarification, and feedback. I looked into the dependencies on my Ubuntu machine via synaptic and found some strange entries. Of course, the DEPENDENCIES file from the tarball contains everything I need, so I'll start off working with that. The wiki is

Re: [Perldl] PDL Testing trouble

2009-09-25 Thread David Mertens
A little slim on the debugging info :-) (see BUGS in the PDL source for info on what is useful for problem reports) but you might want to check that you don't have more than one PDL installation in your path. Well, I'm sorry for clogging the mailing list with that one. I had the debian

Re: [Perldl] PDL beginner's questions

2009-10-01 Thread David Mertens
About a week ago I made some modifications to the fastraw code. In doing so, I realized that an excellent place to look for simple examples is the test file for the associated module. I actually learned to use mapfraw by figuring out what the test code was doing. For some of the functions that

Re: [Perldl] PP help

2009-10-05 Thread David Mertens
Adithya - I'm still beginning to learn how to use PP myself, but I have found Inline::Pdlpp to be much friendlier to use than PDL::PP since it handles all the compilation, etc, for you. You'll need to install the Inline module from CPAN; the Inline::Pdlpp stuff is already included with a

[Perldl] PDL Namespace Query

2009-10-06 Thread David Mertens
Hello - I am working on a wrapper for the TISEAN routines, which are useful for nonlinear time series analysis. I was thinking about the namespace for these routines, and I've mostly settled on PDL::TimeSeries::Tisean. Other time series analysis routines could be added under the PDL::TimeSeries

[Perldl] PAUSE module list chapter?

2009-10-09 Thread David Mertens
Hello - I'm registering the PDL::TimeSeries::TISEAN module/namespace. I hope to have an uploadable module within the month (I'll be using it for my own work starting next week). I figured I'd register it with PAUSE now, and I was wondering what other contributors have used for their Module List

[Perldl] Announcing Graphics::Asymptote and PDL::Graphics::Asymptote

2009-10-09 Thread David Mertens
Hello everybody - I'm happy to announce my first Perl module, Graphics::Asymptote, and the accompanying PDL::Graphics::Asymptote. This is a Perl wrapper for the Asymptote vector graphics language. Asymptote is similar in spirit to TeX in that you have a script that you compile to produce a

Re: [Perldl] Mouse interaction with new TriD

2009-10-26 Thread David Mertens
Hey everybody - I've started to blog/journal about PDL at use.perl.org, and so far I've gotten some interest, which is great. I'm hoping to use these journal entries to refine some useful how-to documentation that I can add to PDL, eventually. For now, I'm just getting started, and the first

[Perldl] Ashton's Law and a PDL Smart Installer

2009-10-26 Thread David Mertens
My apologies. My previous email was supposed to start a new thread. Here it is, with a new subject line, in hopes of setting things aright: On Mon, Oct 26, 2009 at 9:07 PM, David Mertens dcmert...@gmail.com wrote: Hey everybody - I've started to blog/journal about PDL at use.perl.org

Re: [Perldl] Matlab to PDL migration help

2009-10-27 Thread David Mertens
None that I'm aware of. It would be a great contribution to the documentation, however, and I would be willing to help out if you could make it a publicly-accessible project. A great place to put such a project is on the Wiki, which you can find

[Perldl] PDL's got some 'competition'

2009-10-28 Thread David Mertens
I don't know if anybody has pointed this out before, but on Monday night I stumbled across Numeric::LL_Array. It seems to be a very new project, but in principle is very similar to PDL. I contacted the author and asked him how his package compared with PDL; he said he didn't know because he

Re: [Perldl] PDL's got some 'competition'

2009-10-30 Thread David Mertens
Sent something to Doug, meant to reply to all. On Fri, Oct 30, 2009 at 12:18 PM, Doug Hunt dh...@ucar.edu wrote: Hi all: I just installed Numeric::LL_Array. Installs fine, right from cpan, no dependencies. The man page (at a quick glance) seemed confusing and abstract. I could find no

Re: [Perldl] no RGBI in PDL::Graphics::PGPLOT with -cd3 patch

2009-11-02 Thread David Mertens
For really high quality plotting, Asymptote looks very promising, I may get converted to use it for publications. Too bad that it cannot be used for 'real time' plotting (PS-interface only). Kaj - In case you didn't see it, I've written an Asymptote interface for Perl and PDL. You can find

Re: [Perldl] PDL's got some 'competition'

2009-11-02 Thread David Mertens
On Mon, Nov 2, 2009 at 9:54 AM, Doug Hunt dh...@ucar.edu wrote: Hi all: I vote we keep PDL::Slatec out of the 'core' PDL. I'm trying to get rid of dependencies on this module in my code just to make builds easier on my systems. There's bound to be lots of discussion about what should and

[Perldl] Anyone interested in writing a PDL Padre Plugin?

2009-11-03 Thread David Mertens
Hey folks - Yes, I should go to bed. In the meantime, I thought some more about writing a PDL plugin for Padre. Padre's plugin interface is discussed here: http://search.cpan.org/~szabgab/Padre-0.49/lib/Padre/Plugin.pm I don't know about you guys, but I think it would be cool if we could get

Re: [Perldl] Build and test failures with PDL 2.4.5 on Ubuntu 9.04

2009-11-04 Thread David Mertens
On Wed, Nov 4, 2009 at 9:25 AM, Henning Glawe eartoas...@gmx.net wrote: to the topic of a separate -dev package: in the case of PDL, it does not make so much sense to split off the developent headers, as you need them for PDL::PP. I think that quite a lot of people are using it, so making

[Perldl] PDL Usage and Installation Survey

2009-11-04 Thread David Mertens
Hey folks - I've cooked up a survey that will hopefully help the developers figure out where they should concentrate their development efforts moving forward. You can find it here: http://www.surveymonkey.com/s.aspx?sm=MJKdOtMGh_2bGB5zO9ZBlFWA_3d_3d Please take it! It's a free survey, which

[Perldl] Latest Survey Results

2009-11-07 Thread David Mertens
Hey folks, the survey has been running for a few days now and we have had 46 respondents. While I expect some more people to take the survey, I don't expect the results to change too much. You can find the survey questions here

Re: [Perldl] Build and test failures with PDL 2.4.5 on Ubuntu 9.04

2009-11-09 Thread David Mertens
Gabor - Skipping build of PDL::IO::HDF (I thought the last one will be built if install libhdf5-openmpi-dev but that did not help) This is because PDL's HDF library is for HDF 4, I believe. I'm not sure what the Debian/Ubuntu dependency might be for HDF 4. A month or two ago, somebody

Re: [Perldl] A small bother.

2009-11-09 Thread David Mertens
Addy - I have written a semantic analyser in Perl using PDL (as a college project). Now I have been told to make it that it can be used in a j2ee ejb. Does anyone here have any ideas whether there is some fast way to do this or the whole code has to be rewritten in java (im not very familiar

[Perldl] Wiki Updates and the Survey Results

2009-11-09 Thread David Mertens
In an effort to stop spamming the mailing lists with the survey results, I'm going to maintain the survey response data on the wiki on this page: https://sourceforge.net/apps/mediawiki/pdl/index.php?title=Results_from_the_Fall_2009_Usage_and_Installation_Survey. If you're ever trying to locate

Re: [Perldl] Matlab overview

2009-11-09 Thread David Mertens
Gabor - I felt like many of your questions deserved their own response, so I'm going to send a few emails in a row addressing various questions you pose. First, this: Could you give use cases where a clever Matlab user would run a perl script to solve a problem more easily or faster than with

Re: [Perldl] Matlab overview

2009-11-09 Thread David Mertens
I mentioned that with PDL and Matlab, you try to replace for loops with vector operations. In PDL::PP, you specify what those vector operrations should do, using loops and all, with C-like code (it eventually gets turned into C code and gets compiled), but PDL::PP HANDLES HIGHER

Re: [Perldl] Matlab overview

2009-11-09 Thread David Mertens
Could you explain what does that Matlab IDE do? If I understand 1) on-going execution of code (REPL) 2) debugger 3) easy visualization of data (though I am not sure what does that mean) 4) creating GUI for a new application The most important thing the Matlab IDE does is it makes the

Re: [Perldl] Matlab overview

2009-11-09 Thread David Mertens
So you want a feature comparison? Obviously it would be nice if we had a chart comparing Matlab and PDL features. However, it becomes a murky discussion, because at some point Matlab starts tackling problems that are clearly outside of PDL's problem-domain, like symbolic math (but see Steffen

Re: [Perldl] The PDL website

2009-11-10 Thread David Mertens
Gabor - Who has write access to http://pdl.perl.org/ ? It looks to me like pdl.perl.org is hosted from sourceforge (the pages are identical, though, so it's hard to be sure). If it is hosted on sourceforge, and if I understand

Re: [Perldl] vertical rotate

2009-11-11 Thread David Mertens
Gabor - I've never used rotate before, but this looks right to me. I find that a lot of functions are implemented to act on one or two particular dimensions, so you have to call xchg or transpose to get it to act on your particular dimension of interest. David On Wed, Nov 11, 2009 at 7:22 AM,

Re: [Perldl] vertical rotate

2009-11-11 Thread David Mertens
Matt meant to send this to the whole list. If this isn't a really cool example of data flow, I don't know what is: On Wed, Nov 11, 2009 at 8:07 AM, Matthew Kenworthy mkenwor...@as.arizona.edu wrote: Gabor, If you want to drop one of the transpose, you could also do: $b = $a-transpose;

Re: [Perldl] PDL 2.4.5 installs now on Mac

2009-11-11 Thread David Mertens
On Wed, Nov 11, 2009 at 9:02 AM, P Kishor punk.k...@gmail.com wrote: On Wed, Nov 11, 2009 at 8:53 AM, Chris Marshall c...@alum.mit.edu wrote: P Kishor wrote: with PLPLOT and HDF turned off, and with g77 installed from http://hpc.sourceforge.net/, and OpenGL via CPAN (I got v. 0.60), PDL

Re: [Perldl] PDL 2.4.5 installs now on Mac

2009-11-11 Thread David Mertens
On Wed, Nov 11, 2009 at 2:07 PM, Doug Hunt dh...@ucar.edu wrote: Hi PDL List: Does anyone have PDL::Graphics::PLplot working on Darwin? I don't have a test machine for this architecture. --Doug Check CPAN Testers http://www.cpantesters.org/distro/P/PDL-Graphics-PLplot.html#0.50 That

Re: [Perldl] PDL 2.4.5 installs now on Mac

2009-11-11 Thread David Mertens
On Wed, Nov 11, 2009 at 4:15 PM, Karl Glazebrook karlglazebr...@mac.comwrote: For reference I attach my notes on 'Building SciKarl' in case it is useful to someone Karl This could be very handy. I'll take a look at it and see if some of it should be wikified. :) David

Re: [Perldl] new design for PDL web-site ?

2009-11-15 Thread David Mertens
http://www.perl.org/ Are there any plans to update the PDL web-site to a more modern look? Shall we ask for the help of Leo or Kartik ? This is a great idea, though I'll admit it's not at the top of my priority list. If anybody gets this done, you will have my sincere appreciation. David

Re: [Perldl] parsing Matlab syntax and running Matlab code

2009-11-15 Thread David Mertens
On Sun, Nov 15, 2009 at 5:33 AM, Gabor Szabo szab...@gmail.com wrote: I had an interesting chat with someone who pointed out that moving people and companies away from Matlab will be extremely difficult due to the huge amount of legacy code. So I wonder if anyone has ever experienced with

Re: [Perldl] PDL on FOSDEM and on CeBIt

2009-11-15 Thread David Mertens
On Sun, Nov 15, 2009 at 8:36 AM, Gabor Szabo szab...@gmail.com wrote: I am trying to organize Perl content to FOSDEM http://www.fosdem.org/2010/ is 6-7 February 2010 in Brussels, Belgium. and CeBIT is http://www.cebit.de/opensource_e 206 March 2010 in Hannover, Germany On FOSDEM I am

Re: [Perldl] Wiki page on an Introduction to Threading

2009-11-15 Thread David Mertens
Matt - That's a great write-up. You are clearly a wizard with threading over sub matrices. Wow. I've added a link to it in the main wiki documentation, Getting Started with PDLhttp://sourceforge.net/apps/mediawiki/pdl/index.php?title=Getting_Started_with_PDL. Generally, the Getting Started

Re: [Perldl] Wiki page on an Introduction to Threading

2009-11-15 Thread David Mertens
By the way, you mention that the short-hand NiceSlice notation for squeeze is '-' but I particularly enjoy calling this the Smiley Modifier. :-D For anybody not sure what I'm talking about, if you read up on NiceSlice, you'll eventually come to Modifiers, and the '-' modifier squeezes out any

[Perldl] OpenGL Docs

2009-11-16 Thread David Mertens
Chris and all other interested folks - I know that you put in a lot of work recently to phase out the old 3d stuff, but it's not clear to me what is old and what is new. Clearly the PDL::Graphics::TriD stuff is old, but does it now use the new OpenGL on the back end? The documentation for the

Re: [Perldl] OpenGL Docs

2009-11-16 Thread David Mertens
Chris - Thanks for your explanation. I didn't ask very precise questions, but you managed to answer them anyway. Basically my questions and your responses were this: 1. Q: Is PDL::Graphics::TriD current? A: Yes. (I think the AUTHOR section in the docs is what threw me off the most

[Perldl] PDL::PP Slicing

2009-11-17 Thread David Mertens
I have a slicing operation that's really tedious to do at the perl level. I thought to myself, It can't be that hard to write a PP'd slicing function. Then I looked at slices.pd. Holy cow. (Incidentally, if I ever get numerical regular expressions in place, the slice I need to perform at the

Re: [Perldl] PDL::PP Slicing

2009-11-17 Thread David Mertens
Er, I hope that helps. I'd be happy to try to answer any questions that come up. That actually helps a lot. I was kinda figuring things out by looking at them, but it was slow going. I'll try to figure out some simple examples and get back to you. Maybe I'll even put it up on the wiki.

Re: [Perldl] need PP code help

2009-11-18 Thread David Mertens
On Wed, Nov 18, 2009 at 4:36 AM, adithya bmadit...@gmail.com wrote: Working around this, i decided to rewrite some functions so that they can accept the original values from a PDL and process in the integer array and finally, i'll write the integer arrays into the output piddle; so the

Re: [Perldl] parsing Matlab syntax and running Matlab code

2009-11-18 Thread David Mertens
Andrew - Thanks for bringing Matrixy and parrot-linear-algebra to our attention. You've given me a couple of ideas that PDL folks might be interested in: 1. Use Matrixy to parse Matlab/Octave code into some sort of abstract tree, with which we could generate PDL code. This would allow

Re: [Perldl] PDL::PP - make failing

2009-11-25 Thread David Mertens
Addy - How did you set up your PP code? Did you use pptemplate? David ___ Perldl mailing list Perldl@jach.hawaii.edu http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

Re: [Perldl] PDL::PP - make failing

2009-11-30 Thread David Mertens
Addy - I noticed you have a closing %} but no opening %{. I'll bet this is causing lots of trouble. Check if that solves your problem. You only use %{ and %} when you're using a PP loop construction ('loop' and 'threadloop'). A secondary note. Is there any reason this loop:

Re: [Perldl] PDL::PP - make failing

2009-11-30 Thread David Mertens
By the way, another useful resource for interfacing C-functions with PDL would be this cookbook entry: http://sourceforge.net/apps/mediawiki/pdl/index.php?title=How_to_call_C_functions_from_PDL ___ Perldl mailing list Perldl@jach.hawaii.edu

Re: [Perldl] PDL::PP - make failing

2009-12-01 Thread David Mertens
On Tue, Dec 1, 2009 at 2:05 AM, adithya bmadit...@gmail.com wrote: I got it to work. David, Thanks!! Glad to hear you got it working. Before you get much further from this problem, can you think of one thing that PDL::PP could do that would have made this process simpler? I'm guessing that

Re: [Perldl] Using the PDL POD

2009-12-14 Thread David Mertens
Thanks everybody for your replies. I think that Craig came the closest to what I needed. Here's what I figured out. In order to get your own perl modules to have their documentation registered with the perldl documentation database whenever you 'use' the module, simply include this line

Re: [Perldl] PDL-2.4.5_006 failed to install via ssh -X

2009-12-22 Thread David Mertens
On Tue, Dec 22, 2009 at 7:35 AM, Gabor Szabo szab...@gmail.com wrote: I was trying to install PDL-2.4.5_006 while logged in via ssh -X (X forwarding) The value of $DISPLAY is localhost:10.0 and failed this test: t/ones.t ok t/opengl.t .. 1/3 Could

Re: [Perldl] PDL+Padre usage

2010-01-04 Thread David Mertens
Chris asked a few questions about my use of Padre for PDL related stuff. Here's what I have to say about it. I'm using Ubuntu + Perl 5.10. I used to use Geany, but for reasons not clear in my own memory, I decided to switch to using Padre. I have a few nits with it but generally I have been

Re: [Perldl] PDL+Padre usage

2010-01-04 Thread David Mertens
Chris Marshall wrote: ...snip... Does Padre work ok with NiceSlice syntax? If you use the original slice syntax is it ok? Padre is a text editor, so it doesn't care. But I assume your asking about the syntax highlighter, the syntax checker, and the REPL. Happily, the syntax highlighter

[Perldl] New IO pod

2010-01-05 Thread David Mertens
Hey folks - I've uploaded a new POD file that summarizes the various IO modules available for PDL. You can read through the raw POD at http://pdl.git.sourceforge.net/git/gitweb.cgi?p=pdl/pdl;a=blob_plain;f=IO/IO.pod;hb=HEAD. Alternatively, you can update your PDL source to the most recent git

[Perldl] Another endorsement for Padre

2010-01-12 Thread David Mertens
Hey folks - I just wanted to pass along that if you haven't started working with Padre yet, you really should give it a try. I have already mentioned how enamored I am of it's Syntax Check. The syntax check actually compiles your code periodically and lets you know about any compilation

Re: [Perldl] 2.4.6 on Mac OS X 10.5.8

2010-01-15 Thread David Mertens
A few thoughts on what troubles you: I downloaded PDL 2.4.6, and following my previous install, config-ed the perldl.conf to build without PLPLOT and Karma but with HDF5. I am 99% certain that the HDF library that comes with PDL is not HDF5 but HDF4. For HDF5, I found this on

[Perldl] Combining imag2d with PLplot

2010-01-22 Thread David Mertens
Hey folks - This morning I've been hacking at getting PLplot and OpenGL to play together. The first step for me is to get PLplot and imag2d to work together, and I've finally got it. Below is an example script that should work as long as you have PDL::Graphics::PLplot installed and you have put

[Perldl] Weird/Garbled TriD Axis text

2010-02-04 Thread David Mertens
Hello everybody - I'm using PDL::Graphics::TriD to graph some data and although the actual plotting looks right, the numbers for the tic marks is garbled. Does anybody have any experience with this problem? Thanks. David ___ Perldl mailing list

Re: [Perldl] Weird/Garbled TriD Axis text

2010-02-04 Thread David Mertens
Chris - I figured that others wouldn't want to get their inboxes filled with screenshots, so I filed a bug report on the PDL bug tracker on sourceforge with the information you requested. You know how to reach me if you have other questions. :) David

Re: [Perldl] 2D plots with TriD?

2010-02-07 Thread David Mertens
Chris - I've thought a bit about what you wrote about PLplot. I agree that the 'right' solution to cross-platform 2d plotting is an interface between something and OpenGL. I advocate PLplot, but could be convinced that PGPLOT is the way forward if somebody can figure out the interface and

Re: [Perldl] 2D plots with TriD?

2010-02-08 Thread David Mertens
On Mon, Feb 8, 2010 at 12:54 AM, Craig DeForest defor...@boulder.swri.eduwrote: There are good reasons to adopt-and-fix something (be it PLPlot or, say, Gnuplot) that already does high level formatting. There are also good reasons to write a new interface layer from scratch. I should be

Re: [Perldl] PDL-2.4.6_001 developers release coming...quick checkoutneeded

2010-02-09 Thread David Mertens
Everything compiled and passed the test suite on my end. David ___ Perldl mailing list Perldl@jach.hawaii.edu http://mailman.jach.hawaii.edu/mailman/listinfo/perldl

[Perldl] New fitting module on CPAN

2010-02-12 Thread David Mertens
Hello everybody - I just finished writing and uploaded to CPAN a new PDL fitting module called PDL::Fit::Householder. It uses the Householder orthogonalization method to perform the linear fit. I am particularly happy with the interface because I think it's quite flexible and still

Re: [Perldl] [Pdl-porters] default PDLLIB for PDL::AutoLoader

2010-04-05 Thread David Mertens
Chris - I think that this is an OK idea, but I have some concerns. Putting experimental functions in Autoload makes them feel like default functions, as you would get with 'use PDL.' Since using PDL is supposed to load the most basic and important functions, this is almost putting experimental

Re: [Perldl] [Pdl-porters] default PDLLIB for PDL::AutoLoader

2010-04-05 Thread David Mertens
On Mon, Apr 5, 2010 at 4:51 PM, Karl Glazebrook karlglazebr...@mac.comwrote: Well I think use PDL::Autoloader is not the default? Right, PDL::Autoloader is not on by default. Is the idea that this might be a permanent location for these miscellaneous functions? I suppose that's fine, but then

Re: [Perldl] [Pdl-porters] default PDLLIB for PDL::AutoLoader

2010-04-06 Thread David Mertens
Hey Chris - First off, I want to apologize. I feel like I've been antagonizing you a bit, and I'm not trying to do that. I think your idea is great and I am in full support of a sandbox space for testing new PDL functionality. Matt's idea of having a special place for user contributed functions

Re: [Perldl] [Pdl-porters] default PDLLIB for PDL::AutoLoader

2010-04-06 Thread David Mertens
On Tue, Apr 6, 2010 at 2:29 AM, Karl Glazebrook karlglazebr...@mac.comwrote: Absolutely and this is in the TIMTOWTDI perl philosophy. - Karl *lightbulb* Thanks. Sorry if I'm being a bit to Pythonesque in tone. :) ___ Perldl mailing list

Re: [Perldl] [Pdl-porters] default PDLLIB for PDL::AutoLoader

2010-04-07 Thread David Mertens
Ostensibly, anybody with an idea could simply package it into a distribution, put it up on CPAN, and then email the list and say, Look at my cool module! The problems with this are (1) creating a module for release on CPAN is not trivial, (2) nobody will see or use the module unless it meets a

Re: [Perldl] [Pdl-porters] default PDLLIB for PDL::AutoLoader

2010-04-07 Thread David Mertens
Sorry, didn't quite clarify: Authors would submit their work to the experimental tree by emailing their scripts *to me*, since I am volunteering be the maintainer. Or does somebody have an email server where we could set up pdl-e...@...? Then that could go to the current experimental tree

Re: [Perldl] [Pdl-porters] default PDLLIB for PDL::AutoLoader

2010-04-08 Thread David Mertens
On Wed, Apr 7, 2010 at 8:46 AM, Chris Marshall c...@alum.mit.edu wrote: On 4/7/2010 8:22 AM, Matthew Kenworthy wrote: On Wed, Apr 7, 2010 at 1:53 PM, David Mertensdcmert...@gmail.com wrote: So, what if we (I) started a new CPAN module called PDL::Expt? It would pretty much be a place to

Re: [Perldl] [Pdl-porters] scientific coords vs pixel coords

2010-04-13 Thread David Mertens
I am not familiar with the problem at hand, but you brought to mind some thoughts I've had about PDL and OO stuff. PDLs have the hdr() function that returns a plain ol' Perl hash. It's supposed to be for FITS headers, but it's good for anything. I've used it for all kinds of things as a way to

[Perldl] When is subclassing PDL useful?

2010-04-13 Thread David Mertens
Judd - This topic is really much better split off as its own, rather than being tied to the original topic. Since it's something that I've been thinking about and meaning to discuss for some time anyway, I'll start the new thread. Eventually I'd like to put whatever thoughts we figure out into

Re: [Perldl] PDL and GD

2010-04-19 Thread David Mertens
On Mon, Apr 19, 2010 at 1:52 PM, P Kishor punk.k...@gmail.com wrote: Breaking this thread into what should have been two threads to begin with... On Mon, Apr 19, 2010 at 1:45 PM, Judd Taylor jud...@orbitalsystems.com wrote: .. As far as documentation problems, it sounds like something

Re: [Perldl] PDL and GD

2010-04-19 Thread David Mertens
On Mon, Apr 19, 2010 at 4:46 PM, P Kishor punk.k...@gmail.com wrote: Sorry, Padre is not an option for me. That's too bad. They seem to prefer working through the irc channel and they are usually quite responsive, but maybe you struck at a bad time. pdldoc, on the other hand, is an

Re: [Perldl] GD: setting pixels for an entire piddle

2010-04-20 Thread David Mertens
Puneet, I am fairly certain that your guess is correct: On Tue, Apr 20, 2010 at 12:09 AM, P Kishor punk.k...@gmail.com wrote: what is $x(pdl)? Is that a 1D pdl of all the x coords in the image, essentially a list of x coords? I have gone through the source code of your module, and I don't see

Re: [Perldl] PDL and GD

2010-04-20 Thread David Mertens
On Tue, Apr 20, 2010 at 2:58 AM, Karl Glazebrook karlglazebr...@mac.comwrote: I would imagine an ipad version with a GUI, pallettes and a plot window, Sounds like a lot of work! Karl Sounds to me like this could go the way of M$ Equation Editor unless we hired Steve Jobs to design the user

Re: [Perldl] Compiling PLplot and PDL

2010-04-20 Thread David Mertens
On Tue, Apr 20, 2010 at 7:09 AM, Matthew Kenworthy kenwor...@strw.leidenuniv.nl wrote: Hi all, So, I'm having a go at Puneet's PLplot compile problem, and I seem to have hit a circular dependency. cmake --with-double -DBUILD_TEST=ON -DENABLE_pdl=ON ../ I can't get cmake to get ENABLE_pdl

Re: [Perldl] Compiling PLplot and PDL

2010-04-20 Thread David Mertens
I can't say too much about most of the warnings, though I believe that the PLplot bindings have a few warnings that could serve to be cleaned up even when everything goes smoothly. However, I can take a stab at one of these. On Tue, Apr 20, 2010 at 7:41 AM, Matthew Kenworthy

[Perldl] Breaking an n-dimensional array into a perl array of n-1 dimensions

2010-04-20 Thread David Mertens
Hey folks - I came across an annoying problem in which I need to convert a multidimensional piddle into an array of lower dimensional piddles. namely a 2d piddle into a Perl array of 1d piddles. Here's what I came up with, but I'd appreciate any other suggestions: use PDL::NiceSlice; my

Re: [Perldl] Breaking an n-dimensional array into a perl array of n-1 dimensions

2010-04-20 Thread David Mertens
Ha! Of course! Thanks, my brain got turned off last night and I couldn't find the switch. :) On Tue, Apr 20, 2010 at 5:08 PM, Jarle Brinchmann ja...@astro.up.pt wrote: dog? ___ Perldl mailing list Perldl@jach.hawaii.edu

[Perldl] New from string, some specs

2010-04-21 Thread David Mertens
I was thinking about the new-from-string idea and came up with a number of specifications. In each case I give the string on the left and the interpreted Perl array on the right. Does anybody see any problems with any of these? Feel free to add your own specifications! David [1 +2 3] = [1, 2,

Re: [Perldl] Problems installing PDL on Windows 7 via PPM

2010-04-22 Thread David Mertens
On Thu, Apr 22, 2010 at 12:57 PM, Stefano Lazzaro talkingt...@gmail.comwrote: Hello! I'm from Italy so forget my bad English... No trouble. :) I'm trying to install PDL on Windows 7 Home Premium 64 bit. I was following the instructions written in

Re: [Perldl] Modularizing PDL

2010-05-03 Thread David Mertens
I need to sleep, but I want to quickly address the small-vs-large packaging, and throw in my most recently found pennies on the matter. PDL is slowly experiencing a shift from ExtUtils::MakeMaker to Module::Build. I hacked together an extension to Module::Build that sorta gets things done but

Re: [Perldl] Editing the Wiki

2010-05-04 Thread David Mertens
Daniel - On Tue, May 4, 2010 at 4:35 AM, Daniel Carrera dcarr...@gmail.com wrote: Derek Lamb de...@boulder.swri.edu wrote: Anyway, I think I can improve the wiki. you suggest copying several PDL docs into the wiki. I'm not sure that's a good idea right now, mostly because those

Re: [Perldl] Editing the Wiki

2010-05-05 Thread David Mertens
I think Matthew's ideas about using the wiki only for fast-changing things like installation makes sense. I also think that the documentation should all be in pod, and perhaps we could write a customized pod-to-html to make for prettier doc pages. As for the pdf files, I link to the specifically

Re: [Perldl] My first documentation proposal

2010-05-05 Thread David Mertens
On Wed, May 5, 2010 at 12:11 PM, Daniel Carrera dcarr...@gmail.com wrote: David Mertens dcmertens.p...@gmail.com wrote: http://sourceforge.net/apps/mediawiki/pdl/index.php?title=Demo_PDL This looks great! :-D Please do read the page. I tried to keep the length reasonable. Some

Re: [Perldl] big file limits to PDL

2010-05-06 Thread David Mertens
On Thu, May 6, 2010 at 6:18 AM, Matthew Kenworthy kenwor...@strw.leidenuniv.nl wrote: A separate question for pdl developers: I'm regularly hitting Gb size FITS files and PDL seems to be falling over pretty regularly. How easy/difficult would it be to include mmap support (like cfitsio)

Re: [Perldl] Documentation

2010-05-08 Thread David Mertens
Daniel - I looked over your suggested changes to PDL.pm. They look pretty good. When I pushed the Guide, I was told that in order for the HTML output to work, all links had to be doubled, as this: LPDL::Intro -- LPDL::Intro|PDL::Intro I'm not sure why, and I'm also not sure if you can use a

Re: [Perldl] [Pdl-porters] PDL-2.4.6_006 developers release on CPAN

2010-05-09 Thread David Mertens
Huh. I've got gcc 4.4.3 and it compiles fine for me. On Sat, May 8, 2010 at 8:56 AM, Chris Marshall c...@alum.mit.edu wrote: The release is testing well on CPAN Testers with the only problem being a compiler crash in gcc 4.4.3 on strawberry perl 5.12.0. Has anyone else seen build problems

Re: [Perldl] [Pdl-porters] PDL-2.4.6_006 developers release on CPAN

2010-05-09 Thread David Mertens
But, I'm on linux, so that will probably make a difference. Sorry for the quick double posting, but I thought I should clarify. On Sun, May 9, 2010 at 7:51 PM, David Mertens dcmertens.p...@gmail.comwrote: Huh. I've got gcc 4.4.3 and it compiles fine for me. On Sat, May 8, 2010 at 8:56 AM

[Perldl] Cool uses of bad values?

2010-05-09 Thread David Mertens
Hey folks - I'm updating the documentation in PDL::Bad and I would like to include some of the more interesting and useful uses of bad values in PDL. The only one of which I am aware is PDL::Graphics::PLplot's inserting a gap when it encounters a bad value, which I've already used once in a

Re: [Perldl] MATLAB Migration Guide

2010-05-12 Thread David Mertens
Daniel - Looking better each time I read it. I've made a few corrections, codified as a patch. I've also passed along the full pod for anybody who wants to take a look. It incorporates the discussion on the dev list about plotting modules and the name for the PDL data type. I've also added a few

Re: [Perldl] whereND

2010-05-13 Thread David Mertens
...@strw.leidenuniv.nl wrote: Thank you for the additions! One question - why do you have the comment of '?' for 'use strict' - is that bad practice? Matt On Thu, May 13, 2010 at 7:46 AM, David Mertens dcmertens.p...@gmail.com wrote: If you want the syntax to be in line with where's syntax, you could pop

Re: [Perldl] Fwd: [okfn-discuss] EuroScipy is finally open for registration

2010-05-14 Thread David Mertens
On Thu, May 13, 2010 at 9:39 AM, P Kishor punk.k...@gmail.com wrote: I got the following via one of my mailing lists, and that got me thinking -- 1. How big is the PDL user community? 2. How diverse (project-wise -- are they all astronomers, or other disciplines as well) is the PDL user

  1   2   3   4   5   6   >