-
Notifications
You must be signed in to change notification settings - Fork 4
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
PDL::Demos gallery #9
Comments
Good idea, @mohawk2. I will have a look and see what I can do. I am not very proficient in JavaScript but can probe my way forward. |
It's surprisingly easy! Please ask questions if you have them. Also, the basis of an amazing demo of several modules would be https://scientiaplusconscientia.wordpress.com/2014/08/13/mapping-snowline-temperate-glacier-otsu-optimal-thresholding/ - any chance of creating such? It would show off PDL::NetCDF (a new version is imminent) and probably PDL::Graphics::Simple. Further thinking about the gallery bit - we could make a convention of demo modules' synopsis showing |
By the way, @zmughal - any chance of a PDL demo of Devel::IPerl? That would be powerful! |
I start getting a grasp on how this works (not a JQuery master here). For example, adding:
to the file However, I believe that the page design will probably need to be adapted to make place for this section harmoniously. Is this something that should perhaps be addressed in concert with #15 and #16 ? |
I believe what Joel has in mind is that those issues will make our code, templates, etc easier to maintain / enhance. The page-design you're referring to would be such an enhancement. However, like all technical debt matters, it's a trade-off: do we feel the benefit of ripping out jQuery outweighs the cost of doing so (including the opportunity cost of not doing other things like making/improving a demo gallery)? More immediately, @dhdeangelis what does |
Sure, below is what the line produces: Search provided by MetaCPAN Found 21 hits PDL::Demos - PDL demo infrastructure PDL::Demos::PGPLOT - demonstrate PDL::Graphics::PGPLOT capabilities PDL::Demos::Gnuplot - demonstrate PDL::Graphics::Gnuplot capabilities PDL::Demos::PGPLOT_OO - demonstrate PDL::Graphics::PGPLOT OO capabilities PDL::Demos::Cartography_demo - PDL::FAQ - Frequently asked questions about PDL perldl - Simple shell for PDL (see also pdl2) PDL::Tips - Small tidbits of useful arcana. Programming tidbits and such. PDL::Transform::Cartography - Useful cartographic projections WebService::Plotly - access plot.ly programmatically PDL::Graphics - Introduction to the PDL::Graphics modules PDL::BadValues - Discussion of bad value support in PDL PDL::QuickStart - Quick introduction to PDL features. PDL::Graphics::TriD::GObject - Simple Graph Objects for TriD |
Sounds like what we'd need here, then, is an additional attribute on |
The MetaCPAN API is very nice and flexible but I do not see a way there to restrict and filter results. For example Searching for Search provided by MetaCPAN Found 2 hits PDL::Demos::Gnuplot - demonstrate PDL::Graphics::Gnuplot capabilities PDL::Graphics - Introduction to the PDL::Graphics modules |
The |
I just implemented a simple Demo gallery that works OK but looks ugly: |
How about making another link in the left bar for "PDL Demos gallery (experimental)"? That would allow us to release early, release often :-) Also, the work looks really promising! Is it possible to just add an optional |
Good idea.
I am not sure. It is not exactly a duplicate. Will have a look. |
Thank you! |
I believe the "Demos" section is now pretty good; with the PDL::Graphics::Simple ability to use an environment variable to control device and output, and a harness to run all the scripts and parse their text and output, we now have 10+ there with fairly nice-looking plots and some animations. @dhdeangelis Do you (as a second pair of eyes) agree it looks OK? |
The Demos sections looks very nice, a lot nicer than before! The simplex demo is excellent. I have not had the time to look in detail though. Excellent work @mohawk2 ! |
You're very kind! Thank you for all your work so far on the website. |
We should make a section (on the front page - @dhdeangelis fancy making this?) of a "PDL gallery" of demos. This would be a JavaScript query to the MetaCPAN API for all modules starting with
PDL::Demos::
, which is the namespace where those live. A recent PDL, where those were installed, would list them with thedemo
command.A model for this JS exists already, with the "podviewer", and also our search drop-down.
The text was updated successfully, but these errors were encountered: