Slashdot Mirror


Software Evolution Storylines, Inspired By XKCD

jamie tips this mind-blowing data visualization concept from (naturally) data visualization researcher Michael Ogawa, who explains that it was inspired by "this XKCD comic. It represents characters as lines that converge in time as they share scenes. Could this technique be adapted for software developers who work on the same code?"

35 of 136 comments (clear)

  1. inspiration by FuckingNickName · · Score: 3, Insightful

    A data visualisation researcher hasn't seen this method of visualising data before xkcd? Really?

    1. Re:inspiration by kyz · · Score: 4, Insightful

      I thought that too.

      The xkcd comic is itself inspired by Charles Minard's 1869 flow map of Napoleon's march to Moscow, a celebrated map in visualisation, and most recently popularised by Edward Tufte, one of the most well known data visualisation experts.

      Why would someone, who is supposed to be a data visualisation researcher, not have seen this celebrated work of his own field before he saw a knock-off cartoon?

      --
      Does my bum look big in this?
    2. Re:inspiration by Andy+Smith · · Score: 4, Funny

      knock-off cartoon

      Superbly executed knock-off cartoon, if you please.

    3. Re:inspiration by mcvos · · Score: 3, Interesting

      It reminds me a lot of the graphs that github creates, showing who committed when, who pulled from whom and merged what with what. I could stare at those graphs for hours.

    4. Re:inspiration by Exitar · · Score: 5, Insightful

      Probably he did, but citing xkcd granted him an article on /.

    5. Re:inspiration by Ponyegg · · Score: 4, Interesting

      I'd be interested in seeing XKCD's take on Being John Malkovic though.

    6. Re:inspiration by FuckingNickName · · Score: 2, Interesting

      xkcdsucks and xkcdexplained are the only reasons to read xkcd. For this comic I recall thinking, "I wonder which one will mention Minard?" But xkcdsucks went one step further, noting that comic 540 (by its "Napoleon's forces" label) almost confirms that Munroe had previously seen Minard's excellent diagram.

    7. Re:inspiration by mcvos · · Score: 4, Funny

      I think you need the surface of a Klein bottle to draw that graph.

    8. Re:inspiration by gpm · · Score: 2, Informative

      No it doesn't. There are green lines for Frodo & Bilbo and a yellow line for the Ringbearer which functions as an overlay. At the start it overlays Bilbo's line, then moves to Frodo's line. At points it overlays Sam & Gollum for short periods.

    9. Re:inspiration by Tanktalus · · Score: 5, Insightful

      Generally speak, humor is found in the unexpected. If you don't expect to see that reference in the given context, and it is made, or if it's being applied in a context that is unexpected, that is funny. At least to the observer that both gets the reference and doesn't expect it.

      That said, SQL injection attacks are not only unexpected in a child's name, but I've forwarded that comic on to a number of developers of a large commercial database product (as well as many others) as a way to teach people to USE F*CKING PLACEHOLDERS. It has been fairly successful, I might add. After spending 15 minutes trying and failing to get across to them why "SELECT * FROM MYTABLE WHERE FOO = $foo" is bad, I go look up the xkcd comic and show it to them. In 30 seconds, xkcd's author gets across what I can't in 15 minutes over the phone (perhaps I could do it in person with a whiteboard to share).

      Now, maybe a troll will come along and say that I'm not a very good teacher. Although I have plenty of experience to the contrary, let's assume this to be true. My point still stands: those comics teach against SQL injection more effectively than I can, thus it's an invaluable tool. The unexpected reference makes it funny enough for me to remember it, the pointed truth of it makes it a good teaching tool.

    10. Re:inspiration by Anonymous Coward · · Score: 2, Funny

      Hey! Give him a break, he's probably a grad student. And we, grad students, of course spend more time reading cartoons rather than actual journal publications. Now, from the researcher perspective, xkcd should be providing references to us, grad students, to avoid having "xkcd.com" in the bibliography!

    11. Re:inspiration by khallow · · Score: 2, Funny

      Why would someone, who is supposed to be a data visualisation researcher, not have seen this celebrated work of his own field before he saw a knock-off cartoon?

      An amazing act of hindsight. I would have continued to labor under the false impression that this sort of work required a great deal of creativity and effort, if it weren't for your knowledgeable insight into what the researchers should have been thinking!

    12. Re:inspiration by kyz · · Score: 2, Insightful

      Take a look at the thickness of the line in Minard's graph, ebbing away as Napoleon's troops die. That was the main purpose of the graph, to visualise how someone could leave with 422,000 men and come back with 10,000. That's why it's famous.

      Now take a look at Sauron ebbing away as he uses his power to create orcs, and how the orc armies and human armies ebb away as they're killed.

      --
      Does my bum look big in this?
    13. Re:inspiration by plcurechax · · Score: 4, Insightful

      Why would someone, who is supposed to be a data visualisation researcher, not have seen this celebrated work of his own field before he saw a knock-off cartoon?

      You're either a) new to IT / Computer Science, or b) too young to have experienced a revolutionary new paradigm that matches either anything discovered at Xerox PARC Labs or in general 20-30 years ago by professionals who are now "grey beards," but commonly referred to as old fogies when they point our that even IT / Computing and Computer Science has a history.

      Examples include Alohanet (vs. Wi-Fi / "wireless Internet"), time-sharing systems (vs. thin computing or virtualization), IM (vs talk / irc), CU-SeeMe (vs video IM, ChatRoulette), Jennifer Ringley (vs cam-girls), Xanadu (vs. iBooks, Google Books), and Nikola Tesla (vs. "wireless power" and numerous other things he invented, prototyped, or predicted).

    14. Re:inspiration by FlyMysticalDJ · · Score: 2, Funny

      I'm so glad we finally moved to a standardized sense of humor system so that we'll all think the same things are funny and no longer have awkward moments of only certain people laughing at certain things. I'm especially looking forward to the consolidation of the comedian market as we remove the unnecessary comics and just zone in to the one that tells the jokes that are in keeping with our collective sense of humor.

  2. It would be useful to see this on mature projets by Chrisq · · Score: 4, Interesting

    Very often it is difficult to see at a glance whether a project is mature and stable or just dead. It would be interesting to see whether this type of visualisation can tell you at a glance how healthy the project is. If so it would be nice to have this view on sourceforge, etc.

  3. Re:It would be useful to see this on mature projet by Errol+backfiring · · Score: 2, Funny

    Or Across projects. So you can see which developer / client / manager is the most destructive to projects. Or how projects are given to others (like the One Ring in the XKCD example) before ending up in /mnt/doom.

    --
    Nae king! Nae laird! Nae yurrupiean pressedent! We willna be fooled again!
  4. But what does it tell me? by Anonymous Coward · · Score: 3, Insightful

    The XCKD comic was a great example of visualization because after a brief time acclimatizing to the layout, I could immediately comprehend it and draw conclusions out of it. Doing the same with a software project would be interesting, but right now all I see is a bunch of tangled lines -- they don't mean anything to me.

    Anyone who has worked on this project -- do they mean anything to you? Anyone else -- what do you see in these graphs?

    1. Re:But what does it tell me? by Anonymous Coward · · Score: 2, Funny

      I see in the Python timeline that Guido van Rossum forked into "guido" (red line) and "gvanrossum" (dark green line).

  5. Timeline... by geogob · · Score: 5, Funny

    I bet the Windows timeline looks like the one for Primer.

    1. Re:Timeline... by Gunstick · · Score: 3, Interesting

      I don't have a windows timeline, but system calls are nice too

      http://mattiasgeniar.be/2008/11/09/system-calls-in-apache-linux-vs-iis-windows/

      --
      Atari rules... ermm... ruled.
  6. Could this technique be adapted for software? by pedantic+bore · · Score: 4, Funny

    Sure; we've tried every other fad that's come along, might as well try this one also.

    --
    Am I part of the core demographic for Swedish Fish?
  7. Obligatory XKCD comic by Dexter+Herbivore · · Score: 2, Funny

    Oh wait... :)

  8. Re:"researcher" by vagabond_gr · · Score: 2, Insightful

    Thankfully, SoftVis 2010 (the ACM symposium where his paper is going to be presented) does not take into account reviews from anonymous cowards on slashdot.

  9. Re:What will happen if I... by icebraining · · Score: 2, Insightful

    Must be tough browsing the web without JPEG images.

  10. Seems scary. by SharpFang · · Score: 2, Funny

    Say what you want, these graphs look like some evil worms from below, kind of parasites that prey on the Deep Ones... Scary.

    --
    45 5F E1 04 22 CA 29 C4 93 3F 95 05 2B 79 2A B2
  11. He may have been inspired by XKCD by argStyopa · · Score: 5, Informative

    ...but XKCD pretty clearly was inspired by http://en.wikipedia.org/wiki/The_Wallchart_of_World_History (first version 1890).

    It's a pretty cool visualization, illustrating in a very superficial way how each state mutates and evolves politically into its descendants.

    --
    -Styopa
  12. Re:It would be useful to see this on mature projet by m50d · · Score: 3, Insightful

    That's simply false; some programs do something, do it well, and know where responsibility is best handed off to another program. When was the last time ls needed an update?

    --
    I am trolling
  13. Re:What will happen if I... by Paua+Fritter · · Score: 4, Funny

    As I unzipped the archive, I thought I saw .jar files. File extensions beginning with that letter are not welcome where I work...

    That must be awkward ... most file extensions do begin with . after all.

  14. Re:Ehm... by Don_dumb · · Score: 4, Interesting

    Not the way I understand (or my organisation uses) swimlanes.

    As is implied by the word swimlane, the diagram shows several horizontal 'lanes', these represent individual people or organisations. Then a flowchart is overlayed onto the swimlanes. Whenever an action is performed by a organisation, the flowchart box for that action is in their lane.
    This shows for instance who is responsible for what in a process.

    I believe that if, say, LOTR was to be shown as a swimlane. You could have the characters that come into contact with The Ring as lanes across the diagram. And a line moving from one lane to the next as the ring passes ownership but going from left to right as it stays in their grasp.

    The diagrans in the article show, in many ways, the opposite. The lanes come together and separate over time showing who is in contact rather than who is doing what.

    --
    If this were really happening, what would you think?
  15. Re:It would be useful to see this on mature projet by Kjella · · Score: 2, Insightful

    Most of the time. I'd say you are right but there are exceptions. One example is Privoxy. It'a been nearly the same since the 3.0 release in 2002, but there's been constantly tiny little fixes so it's not abandoned and has had an average 175000 downloads/year not including Linux distros etc. so obviously many people find it useful.

    So they're not taking over the world. But is there any point to try to be another jack-of-all-trades software? It does one thing and it does it well, or if you'd want to do it differently you probably need to do it in the browser. Either way there's really no reason to make it part of the same application, this one is "done".

    --
    Live today, because you never know what tomorrow brings
  16. ls history by rolando2424 · · Score: 3, Informative

    According to this there are 5 files that start with "ls".

    Except for ls.c, all those files have only one entry on their history. The "initial revision" on 1993-06-16.

    On the other hand, you can check the history of ls by yourself. Ignoring a "build" commit done on 2010-09-18 (and by the same guy who did the "initial revision" ones), the last commit is from 2010-07-01 with the message header of "ls: use the POSIX date style when the locale does not specify one".

    While not extremely important, it does show that ls keeps receiving updates to this day.

    --
    Okay seriously I've just run out of pointless things to say.
  17. Re:It would be useful to see this on mature projet by leonardluen · · Score: 2, Funny

    ls is boring, they should add a feature "ls --im-feeling-lucky" to list a random directory to add some spice back into it.

  18. Re:Plug for Montessori Elementary by ceoyoyo · · Score: 2, Insightful

    We did lots of timelines in my perfectly ordinary elementary school a couple of decades ago.

  19. Re:What will happen if I... by tehcyder · · Score: 2, Informative

    What's wrong with Java? I love it, personally, I think it's elegant.

    The thing is, you're not even allowed to post on slashdot unless you've already written a far better programming language than Java before your twelfth birthday.

    --
    To have a right to do a thing is not at all the same as to be right in doing it