[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [tor-talk] Shutting down the relay-search service by the end of the year
Christian,
did you make any progress on the Globe variant that doesn't require
client-side JavaScript anymore?
Thanks!
Karsten
On 1/9/14 9:53 AM, Karsten Loesing wrote:
> On 1/8/14 10:10 PM, Arlo Breault wrote:
>> On Wednesday, January 8, 2014 at 1:49 PM, Christian wrote:
>
> Hi Christian, hi Arlo,
>
> replying to both mails inline.
>
>>> On 08.01.2014 08:52, Karsten Loesing wrote:
>>>> It seems that most things in Globe could work just fine without
>>>> client-side JavaScript. The only problem might be bandwidth and weights
>>>> graphs. How does Arlo's version display graphs?
>>>
>>> As far as i know it doesn't display the graphs right now.
>> Right, theyâre currently rendered client-side to a canvas.
>> Switching to svgs, as you mention below, would be necessary.
>
> Makes sense.
>
>>>> However, I just looked at Debian's package search page, and there's no
>>>> phantomjs in wheezy nor wheezy-backports. That means we probably can't
>>>> run it on a Tor machine. :(
>>>
>>> Ok. Theoretically we could download the binary (
>>> http://phantomjs.org/download.html ) or build it ourself (
>>> http://phantomjs.org/build.html ).
>
> If we want to keep our sysadmins happy, we should only use packages in
> wheezy or wheezy-backports.
>
>>>> What's the alternative? Use Globe's current codebase and turn it into
>>>> something that runs in nodejs, which is contained in wheezy-backports?
>>>
>>> That's what I'm currently working on. As of now, only bridge details and
>>> graphs aren't completly ported.
>
> Cool!
>
>> Sounds like youâre most of the way there.
>>
>> I only suggested the phantomjs approach as a means to avoid a rewrite,
>> but since youâve pretty much gone and done it,
>> weâre probably better off focussing on that.
>
> I agree with Arlo.
>
>> Let me know if thereâs anything I can help with.
>
> Thanks, Arlo!
>
>>> If you think if it's better to use Arlos approach I can try to change
>>> the current globe to make it more useable via phantomjs.
>>>
>>> Btw because we can't provide interactive graphs without JavaScript I'm
>>> building an API that uses d3js (like atlas and earlier versions of
>>> globe), renders the graphs serverside as SVG and returns them.
>>> This way users can link and embed SVGs for specific fingerprints using a
>>> simple url ( like globe.torproject.org/relay/bandwidth/:fingerprint.svg (http://globe.torproject.org/relay/bandwidth/:fingerprint.svg)
>>> or something alike).
>
> Sounds great! Thank you!
>
> All the best,
> Karsten
>
>
--
tor-talk mailing list - tor-talk@xxxxxxxxxxxxxxxxxxxx
To unsubscribe or change other settings go to
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-talk