Those are good questions, Jordan, and I'm not the best-qualified to
answer them. But it did occur to me that by taking this initiative I
was de-facto offering to maintain the package for you, or receipt of
update notifications. At least until you take it over yourself.

I'll let Chris speak for himself, but I can't see him being overjoyed
at the idea of automated integration between github and JAL (svn),
simply because there's a case for retaining tight control over the
latter.

Meanwhile there's no harm in adding manifest.ijs, demo.ijs and d3.ijt
to the github collection. The fewer differences the better, I'd say.
You can get the latest copies of those files by updating the
graphics/d3 Addon using Package Manager.

Take a look at:
http://www.jsoftware.com/jwiki/JAL
http://www.jsoftware.com/jwiki/Addons/Developers%20Guide
and consider getting a svn password.

On Fri, Oct 19, 2012 at 10:08 PM, Jordan Tirrell
<jordantirr...@gmail.com> wrote:
> Where do you think the github repo should go? user/d3 ?
>
> Could you add your manifest, lab, and demo to github? Do you think the
> right way to organize this is to develop in github in a separate user
> folder and then periodically upload to svn as an addon? I know a lot of J
> users share code with the Wiki but github seems easier for collaboration.
>
> This is my first time sharing something like this but hopefully not the
> last, so I'd like to have some idea of how to organize future projects. The
> D3 scripts were mostly written by my brother Justin who was a summer intern
> here at ThomasNet. Justin also worked with slickgrid for us (a javascript
> grid for big datasets) and this was part of a larger project to make a
> friendly web interface to query jd/jdb databases, display with slickgrid,
> and then select columns to plot or see d3 visualizations. The goal was to
> make a tool that's easy enough for non-J analysts to use but features an
> ijx window tempting them to learn some J.
>
>
>
> On Fri, Oct 19, 2012 at 4:04 PM, Ian Clark <earthspo...@gmail.com> wrote:
>
>> Nice demo! And convenient to study & adapt.
>>
>> IMO, ~addons/graphics/d3 -is not the right place to install this
>> package, except as an interim measure. Feel that ~addons/ should only
>> be for stuff downloaded by Package Manager.
>>
>> At risk of being called a busybody, I've taken the contents of your
>> zipfile, added a manifest.ijs (plus a stub-version Lab called d3.ijt
>> and a new script: demo.ijs) and uploaded it to svn.
>>
>> Into: demo.ijs I've put your trial sentences...
>>
>> load 'graphics/d3'
>> d3heatmap makesampledata_d3heatmap_''
>> d3boxplot makesampledata_d3boxplot_''
>> d3treeview makesampledata_d3treeview_''
>> d3treeview_dir jpath'~user'
>>
>> The upshot is, users can now use Package Manager to download a new
>> Addon (JHS only) called: 'graphics/d3' .
>>
>> Once this Addon is installed, all you have to do now is:
>>
>>    load 'graphics/d3/demo'
>>
>> for 3 new browser windows to be created, displaying your plots.
>>
>> @Bill --how do I add a new Lab to the "studio > labs" dropdown menu in
>> jijx? (The way I do it for GTK hasn't worked for JHS.)
>>
>> On Fri, Oct 19, 2012 at 8:02 PM, Jordan Tirrell <jordantirr...@gmail.com>
>> wrote:
>> > Fixed it. Changing the extension from the default .md to .txt forces
>> github
>> > to display it as plain txt.
>> >
>> >
>> > On Fri, Oct 19, 2012 at 2:57 PM, Raul Miller <rauldmil...@gmail.com>
>> wrote:
>> >
>> >> Since underscores are special in markdown, maybe they need to be
>> >> prefixed with a backslash?
>> >>
>> >> --
>> >> Raul
>> >>
>> >> On Fri, Oct 19, 2012 at 2:55 PM, Devon McCormick <devon...@gmail.com>
>> >> wrote:
>> >> > Yes - the advice is a little garbled.  It looks like it's supposed to
>> >> > read like this:
>> >> >
>> >> > load 'graphics/d3'
>> >> >
>> >> > d3heatmap makesampledata_d3heatmap_ ''
>> >> >
>> >> > d3boxplot makesampledata_d3boxplot_ ''
>> >> >
>> >> > d3treeview makesampledata_d3treeview_ ''
>> >> >
>> >> > d3treeview_dir jpath'~user'
>> >> >
>> >> > The underscores seem to have vanished from the text shown at Github.
>> >> >
>> >> > On Fri, Oct 19, 2012 at 2:27 PM, Mike Day <mike_liz....@tiscali.co.uk
>> >
>> >> wrote:
>> >> >> Jordan,
>> >> >>
>> >> >> I've had a quick try and am puzzled by the advice:
>> >> >>
>> >> >> load 'graphics/d3' d3heatmap makesampledata/d3heatmap/'' d3boxplot
>> >> >> makesampledata/d3boxplot/'' d3treeview makesampledata/d3treeview/''
>> >> >> d3treeview_dir jpath'~user'
>> >> >>
>> >> >> I think your original is all displayed at github.com in one line.
>> >> >>
>> >> >> Presumably some line-endings are missing;   I've
>> >> >> tried breaking up the rubric,  without success so far.
>> >> >>
>> >> >> Any further guidance as to how to separate the
>> >> >> components of the above would be welcome.
>> >> >>
>> >> >> Thanks for posting your code.
>> >> >>
>> >> >> Mike
>> >> >>
>> >> >>
>> >> >> On 19/10/2012 6:11 PM, Jordan Tirrell wrote:
>> >> >>>
>> >> >>> https://github.com/jordantirrell/D3-for-J
>> >> >>>
>> >> >>>
>> >> >>> On Fri, Oct 19, 2012 at 12:52 PM, Ian Clark <earthspo...@gmail.com>
>> >> wrote:
>> >> >>>
>> >> >>>> I think the problem is that, for security reasons, attachments with
>> >> >>>> ".zip" are purged from wiki pages unless you have certain rights
>> over
>> >> >>>> the page. Chris will confirm.
>> >> >>>>
>> >> >>>> Why not github? (The other code samples linked are on github.)
>> >> >>>>
>> >> >>>>
>> >> >>>>
>> >> >>>> On Fri, Oct 19, 2012 at 5:41 PM, Jordan Tirrell <
>> >> jordantirr...@gmail.com>
>> >> >>>> wrote:
>> >> >>>>>
>> >> >>>>> I put it up on the wiki
>> >> >>>>> http://www.jsoftware.com/jwiki/JordanTirrell/D3examples with the
>> >> >>>>
>> >> >>>> scripts in
>> >> >>>>>
>> >> >>>>> a zip file. The file uploads successfully, is downloadable by
>> other
>> >> >>>>
>> >> >>>> users,
>> >> >>>>>
>> >> >>>>> and then disappears within a minute or so. Any ideas?
>> >> >>>>>
>> >> >>>>> I was thinking about posting it up on github anyway, since I'd
>> like
>> >> to
>> >> >>>>> include more of the D3 library.
>> >> >>>>> .
>> >> >>>>>
>> >> >>>>> On Thu, Oct 18, 2012 at 1:50 PM, Ian Clark <earthspo...@gmail.com
>> >
>> >> >>>>
>> >> >>>> wrote:
>> >> >>>>>>
>> >> >>>>>> I for one would appreciate that.
>> >> >>>>>>
>> >> >>>>>> Not in quantity. Just one or two, for a demo. As a Lab,
>> perhaps...?
>> >> >>>>>>
>> >> >>>>>> On Wed, Oct 17, 2012 at 7:17 PM, Jordan Tirrell <
>> >> >>>>
>> >> >>>> jordantirr...@gmail.com>
>> >> >>>>>>
>> >> >>>>>> wrote:
>> >> >>>>>>>
>> >> >>>>>>> We have scripts for a few of the D3 examples (boxplot, US
>> counties
>> >> >>>>>>
>> >> >>>>>> heatmap,
>> >> >>>>>>>
>> >> >>>>>>> and tree) where you simply give it the data in jhs and the
>> >> >>>>
>> >> >>>> visualization
>> >> >>>>>>>
>> >> >>>>>>> pops open in a new window.
>> >> >>>>>>>
>> >> >>>>>>> I probably have to clean them up and untie them from our other
>> >> systems
>> >> >>>>>>
>> >> >>>>>> but
>> >> >>>>>>>
>> >> >>>>>>> I could put them up on the wiki.
>> >> >>>>>>>
>> >> >>>>>>>
>> >> >>>>>>>
>> >> >> ................................
>> >> >>
>> >> >>
>> ----------------------------------------------------------------------
>> >> >> For information about J forums see
>> http://www.jsoftware.com/forums.htm
>> >> >
>> >> >
>> >> >
>> >> > --
>> >> > Devon McCormick, CFA
>> >> > ^me^ at acm.
>> >> > org is my
>> >> > preferred e-mail
>> >> > ----------------------------------------------------------------------
>> >> > For information about J forums see
>> http://www.jsoftware.com/forums.htm
>> >> ----------------------------------------------------------------------
>> >> For information about J forums see http://www.jsoftware.com/forums.htm
>> >>
>> > ----------------------------------------------------------------------
>> > For information about J forums see http://www.jsoftware.com/forums.htm
>> ----------------------------------------------------------------------
>> For information about J forums see http://www.jsoftware.com/forums.htm
>>
> ----------------------------------------------------------------------
> For information about J forums see http://www.jsoftware.com/forums.htm
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to