<div dir="ltr"><div><br></div><div>Mark,</div><div><br></div><div>I think it highly likely that only I would notice and lament it's passing in my application (but I can't guarantee it ;-)</div><div><br></div><div>Doug<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Tue, Aug 27, 2019 at 1:27 PM Mark Taylor <<a href="mailto:M.B.Taylor@bristol.ac.uk">M.B.Taylor@bristol.ac.uk</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">thanks Doug, that's certainly an interesting data point.<br>
I don't think that kind of usage could be made to work under the<br>
helper-application model.<br>
<br>
On Tue, 27 Aug 2019, Burke, Douglas wrote:<br>
<br>
> Mark,<br>
> <br>
> I use (well, support) the coord.pointAt.sky mtype (both send and receive),<br>
> and have had thoughts about table.highlight.row/table (although probably<br>
> firmly in the never-going-to-get-to-it category).<br>
> <br>
> Doug<br>
> <br>
> On Tue, Aug 27, 2019 at 4:37 AM Mark Taylor <<a href="mailto:M.B.Taylor@bristol.ac.uk" target="_blank">M.B.Taylor@bristol.ac.uk</a>><br>
> wrote:<br>
> <br>
> > Jean-Michel,<br>
> ><br>
> > good to hear that we're looking at similar (possible) solutions.<br>
> ><br>
> > I hadn't thought about the possibilities of extending this with<br>
> > SAMP-specific VOTable content or filename conventions,<br>
> > it's an interesting thought, though it would require a bit more<br>
> > standardisation effort.<br>
> ><br>
> > Encoding information in the filename or URL is problematic;<br>
> > by the time the helper application gets to see the file,<br>
> > it has typically been downloaded to a local temporary file by<br>
> > the browser, so the filename may not match what was written<br>
> > in the original HTML.<br>
> ><br>
> > One relevant question: what Web SAMP capabilities do<br>
> > data providers actually want or need that go beyond simply<br>
> > sending a table/image from a web page to a local application?<br>
> > I haven't come across these use cases, so if ASOV have<br>
> > examples I'd be very interested to hear.<br>
> ><br>
> > Mark<br>
> ><br>
> > On Sat, 24 Aug 2019, Jean-Michel GLORIAN wrote:<br>
> ><br>
> > > Hi Mark and the SAMP users,<br>
> > ><br>
> > > we had talked about this solution in the ASOV french meeting<br>
> > > with all the difficulty that you mention.<br>
> > > Thank you to have implementde a prototype helper application to test<br>
> > that.<br>
> > ><br>
> > ><br>
> > > If people wants to add SAMP parameters in addition of the file ,<br>
> > > maybe they could add them on the begin of the name of file<br>
> > > using a convention and the helper application could parse the name.<br>
> > > But yes it is quiet limited.<br>
> > ><br>
> > > Or maybe we could use a Votable file with a SAMP data model<br>
> > > with all the addition parameters and a link to the data fits file.<br>
> > > The link would be static, dynamic and with or not a limited access time<br>
> > ><br>
> > > JMG<br>
> > ><br>
> > > Le 22/08/2019 à 18:10, Mark Taylor a écrit :<br>
> > > > Hi Doug,<br>
> > > ><br>
> > > > thanks for registering an interest. Any input on the topic welcome.<br>
> > > > I guess the question I'd put related to the approach I'm suggesting<br>
> > > > here is, how easy/hard would you expect it to be to encourage<br>
> > > > WWT/CSC users to download and configure or use a helper application<br>
> > > > along these lines?<br>
> > > ><br>
> > > > My only other comment at this stage is it shouldn't make any difference<br>
> > > > whether the URL points at a fixed file or represents a dynamic query.<br>
> > > ><br>
> > > > Mark<br>
> > > ><br>
> > > > On Thu, 22 Aug 2019, Burke, Douglas wrote:<br>
> > > ><br>
> > > > > Mark,<br>
> > > > ><br>
> > > > > I've been using your WebSAMP JS library [1] with our WWT interface<br>
> > to the<br>
> > > > > Chandra Source Catalog - <a href="http://cxc.harvard.edu/csc2/wwt.html" rel="noreferrer" target="_blank">http://cxc.harvard.edu/csc2/wwt.html</a> - to<br>
> > send<br>
> > > > > URLs that return a votable or fits file when retrieved (ie the URL is<br>
> > > > > actually a query and not to a file [2]). We are moving to https<br>
> > "soon" so<br>
> > > > > I<br>
> > > > > am interested in any possible solution (once the WWT client is moved<br>
> > over<br>
> > > > > to https, that is).<br>
> > > > ><br>
> > > > > Ta,<br>
> > > > > Doug<br>
> > > > ><br>
> > > > > [1] so thanks for that<br>
> > > > > [2] thanks to a confluence of influences that aren't relevant here<br>
> > > > ><br>
> > > > ><br>
> > > > > On Thu, Aug 22, 2019 at 9:05 AM Mark Taylor <<br>
> > <a href="mailto:M.B.Taylor@bristol.ac.uk" target="_blank">M.B.Taylor@bristol.ac.uk</a>><br>
> > > > > wrote:<br>
> > > > ><br>
> > > > > > Dear SAMP users,<br>
> > > > > ><br>
> > > > > > the problem of Web SAMP and HTTPS has been under discussion<br>
> > > > > > for a while now - basically the Web Profile works fine with HTTP<br>
> > > > > > but won't work from pages served using HTTPS. A possible<br>
> > HTTPS-capable<br>
> > > > > > profile has been prototyped, but it's pretty nasty. There is much<br>
> > > > > > more information on the topic here:<br>
> > > > > ><br>
> > > > > > <a href="http://andromeda.star.bristol.ac.uk/websamp/" rel="noreferrer" target="_blank">http://andromeda.star.bristol.ac.uk/websamp/</a><br>
> > > > > ><br>
> > > > > > As an alternative to the HTTPS profile, I'm thinking about more<br>
> > > > > > lightweight workarounds. One is just to provide a simple helper<br>
> > > > > > application that takes a suitable filename on the command line<br>
> > > > > > (VOTable table or FITS image) and sends it to a running SAMP<br>
> > > > > > client. Such an application could be associated in the<br>
> > > > > > browser with suitable MIME types (application/x-votable+xml,<br>
> > > > > > image/fits), or you could just choose it when the browser<br>
> > > > > > asks you what application you want to open a downloaded file with.<br>
> > > > > ><br>
> > > > > > This is much less flexible than allowing the web page (web<br>
> > application)<br>
> > > > > > to interact with the SAMP hub itself, which is what you can do<br>
> > > > > > with SAMP+Web Profile. However, in practice, nearly(?) all Web<br>
> > SAMP<br>
> > > > > > pages that I'm aware of just use Web SAMP to allow the user to<br>
> > > > > > send a samp.load.votable or image.load.fits message, and that's<br>
> > > > > > done nearly as well by the helper application. It works with<br>
> > > > > > rather than against normal browser operations, which makes it<br>
> > > > > > much less painful to implement than the HTTPS profile;<br>
> > > > > > it works equally with HTTPS or HTTP, and no additional<br>
> > > > > > infrastructure is required. The main downside is that the user has<br>
> > > > > > to configure it somehow (install script, tell browser to use it<br>
> > > > > > to handle relevant files).<br>
> > > > > ><br>
> > > > > > I have written such a helper application, and I'd be interested<br>
> > > > > > to know if anyone wants to try it out: especially data providers<br>
> > > > > > who are using HTTPS and want to allow users to load tables/images<br>
> > > > > > using SAMP. Would this be an acceptable solution?<br>
> > > > > ><br>
> > > > > > You can find the application here:<br>
> > > > > ><br>
> > > > > > <a href="http://andromeda.star.bris.ac.uk/websamp/sampload.jar" rel="noreferrer" target="_blank">http://andromeda.star.bris.ac.uk/websamp/sampload.jar</a><br>
> > > > > ><br>
> > > > > > If you run, e.g. "java -jar sampload.jar /tmp/tmpfile.vot"<br>
> > > > > > then it will pop up a window asking which VOTable-capable<br>
> > > > > > SAMP client you want to send tmpfile.vot to.<br>
> > > > > > (It works out what kind of file it is by looking at the content).<br>
> > > > > ><br>
> > > > > > Unless your OS/browser can execute jar files directly, to use it<br>
> > with<br>
> > > > > > a browser you'll need to accompany it with a small shell script or<br>
> > > > > > equivalent like<br>
> > > > > ><br>
> > > > > > #!/bin/sh<br>
> > > > > > java -jar /path/to/sampload.jar "$@"<br>
> > > > > ><br>
> > > > > > Any feedback, comments, ideas welcome.<br>
> > > > > ><br>
> > > > > > Mark<br>
> > > > > ><br>
> > > > > > --<br>
> > > > > > Mark Taylor Astronomical Programmer Physics, Bristol<br>
> > University, UK<br>
> > > > > > <a href="mailto:m.b.taylor@bris.ac.uk" target="_blank">m.b.taylor@bris.ac.uk</a> +44-117-9288776<br>
> > <a href="http://www.star.bris.ac.uk/~mbt/" rel="noreferrer" target="_blank">http://www.star.bris.ac.uk/~mbt/</a><br>
> > > > > ><br>
> > > > --<br>
> > > > Mark Taylor Astronomical Programmer Physics, Bristol University, UK<br>
> > > > <a href="mailto:m.b.taylor@bris.ac.uk" target="_blank">m.b.taylor@bris.ac.uk</a> +44-117-9288776<br>
> > <a href="http://www.star.bris.ac.uk/~mbt/" rel="noreferrer" target="_blank">http://www.star.bris.ac.uk/~mbt/</a><br>
> > ><br>
> > ><br>
> > > --<br>
> > ><br>
> > ><br>
> > > ********************************<br>
> > > <a href="mailto:Jean-Michel.Glorian@irap.omp.eu" target="_blank">Jean-Michel.Glorian@irap.omp.eu</a><br>
> > > Jean-Michel Glorian - Responsable technique OV-GSO - Chef de projet<br>
> > CASSIS<br>
> > ><br>
> > > IRAP - Institut de Recherche en Astrophysique et Planétologie,<br>
> > > 9, avenue du Colonel Roche, BP 44346,<br>
> > > 31028 Toulouse cedex 4<br>
> > > (+33) 5 61 55 77 79<br>
> > > <a href="http://cassis.irap.omp.eu" rel="noreferrer" target="_blank">http://cassis.irap.omp.eu</a><br>
> > ><br>
> > > IRAP, Université de Toulouse, CNRS, CNES, UPS, (Toulouse), France<br>
> > > ********************************<br>
> > ><br>
> > ><br>
> ><br>
> > --<br>
> > Mark Taylor Astronomical Programmer Physics, Bristol University, UK<br>
> > <a href="mailto:m.b.taylor@bris.ac.uk" target="_blank">m.b.taylor@bris.ac.uk</a> +44-117-9288776 <a href="http://www.star.bris.ac.uk/~mbt/" rel="noreferrer" target="_blank">http://www.star.bris.ac.uk/~mbt/</a><br>
> <br>
<br>
--<br>
Mark Taylor Astronomical Programmer Physics, Bristol University, UK<br>
<a href="mailto:m.b.taylor@bris.ac.uk" target="_blank">m.b.taylor@bris.ac.uk</a> +44-117-9288776 <a href="http://www.star.bris.ac.uk/~mbt/" rel="noreferrer" target="_blank">http://www.star.bris.ac.uk/~mbt/</a></blockquote></div>