Live data from Hacker News

Visualizing YouTube with my home-made JavaScript graph drawing library

yasiv.com

11–20 of 30 posts

Re: Visualizing YouTube with my home-made JavaScript graph drawing library

#12
It looks like you're using Raphael. How has the performance been? Are you having to limit the number of nodes to prevent performance degradation? Also, do you happen to have any tips for improving SVG performance?

I can see the YouTube graph being useful for discovering artists and songs. I wonder if you could do something similar for Pandora, or LinkedIn? Generating playlists? Visualizing and ranking recipes?

Re: Visualizing YouTube with my home-made JavaScript graph drawing library

#13
Nice! Seems like the performance drops substantially when I zoom out all the way though (using latest Safari/Lion).

Goes to show that YouTube could really work on their relevance scoring. Does anyone know what's taken into account? It'd be sensible to relate to stuff that's mentioned in the comments, but then again, this takes control over scope away from the author.

Re: Visualizing YouTube with my home-made JavaScript graph drawing library

#16
post #2

The source code for the library is here: https://github.com/anvaka/VivaGraphJS The site itself - you can paste URLs from YouTube to visualize particular video :)

It's such a pleasure to read well organized, well commented code. I'm a total JS n00b, but I feel like I could learn the language very quickly with examples like yours to follow.

Cool library, too. :)

Re: Visualizing YouTube with my home-made JavaScript graph drawing library

#17

It looks like you're using Raphael. How has the performance been? Are you having to limit the number of nodes to prevent performance degradation? Also, do you happen to have any tips for improving SVG performance? I can see the YouTube graph being useful for discovering artists and songs. I wonder if you could do something similar for Pandora, or LinkedIn? Generating playlists? Visualizing and ranking recipes?

Always wanted to do something useful with LinkedIn api/graph. Can you elaborate on what that "something" you mentioned could be?

Re: Visualizing YouTube with my home-made JavaScript graph drawing library

#18

Really nice work. The drag and drop functionality makes it really fun. However, I'm a little unsure as to the usefulness of the app? I wrote a 3D run-time object visualiser for object-orientated code whilst at Uni ("Visualising Memory Graphs in Java3D"). It was interesting, and kind of useful for debugging, really good for an overview of your running program's object structure, but not useful enough to be considered…

Is this the paper: http://www.cs.ox.ac.uk/files/2217/2008_Bradbury%20D.pdf?

I'm looking forward to reading it tonight. I've been experimenting with a module that profiles Django applications and reports on slow or unused methods. Part of the challenge has been coming up with a decent way of presenting the information, and I've been playing with basic graphing APIs.

Has anyone heard of tools that do this? Does it seem like a decent idea?

Re: Visualizing YouTube with my home-made JavaScript graph drawing library

#20
post #18

Really nice work. The drag and drop functionality makes it really fun. However, I'm a little unsure as to the usefulness of the app? I wrote a 3D run-time object visualiser for object-orientated code whilst at Uni ("Visualising Memory Graphs in Java3D"). It was interesting, and kind of useful for debugging, really good for an overview of your running program's object structure, but not useful enough to be considered…

Is this the paper: http://www.cs.ox.ac.uk/files/2217/2008_Bradbury%20D.pdf ? I'm looking forward to reading it tonight. I've been experimenting with a module that profiles Django applications and reports on slow or unused methods. Part of the challenge has been coming up with a decent way of presenting the information, and I've been playing with basic graphing APIs. Has anyone heard of tools that do this? Does it see…

That's the one! It appears to be a scan though, email me if you want the original. There is an accompanying paper describing the process of obtaining and analysing the memory graph (written by a friend and classmate of mine), if your interested am sure I could dig it out.

Regarding your django profiler, I would take a look at some current profilers to see what the standard is. Am on my phone at the moment so don't have much info at hand, but visual studio does it out of the box, and redgate have a decent tool (these are .Net geared - but the principle is the same). Am sure others exist.

I'm not sure how well 3D memory graphs translate to speed profiling visualization, but I hope you find the paper interesting nevertheless.

Post reply on HN