Slashdot Mirror


Does Your Debugger Sing to You?

ZahrGnosis writes "TRN Mag Online is carrying an article titled Programming tool makes bugs sing. '[The researchers] set up software that mapped pitch and melodic contour information to structural elements in the programming language Pascal. "[We] aimed to see if information about the structure of Pascal programs could be communicated using such musical phrases".' They even found a practical application for software debugging."

79 of 241 comments (clear)

  1. Now by SpanishInquisition · · Score: 4, Funny

    I'll program so badly it'll end up sounding like Aphex Twin

    --
    Je t'aime Stéphanie
    1. Re:Now by imta11 · · Score: 2

      or Rosie O'Donell

    2. Re:Now by sharkey · · Score: 2

      Bart: "Relax, Dad. We'll be dead in 5 minutes."
      Homer: "Not fast enough!"

      --

      --
      "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
  2. If debuggers could sing.... by CaffeineAddict2001 · · Score: 4, Funny

    Bug in the program - P.U.!
    Somebody wrote it - THATS YOU!

    1. Re:If debuggers could sing.... by JohnTheFisherman · · Score: 2

      "One Ton of Errors" to the tune of Guantanamera.

      "Insects" by Oingo Boingo. Or the other song by the same name by the Kids of Widney High.

    2. Re:If debuggers could sing.... by CaffeineAddict2001 · · Score: 2

      This could possibly help visually impaired people greatly! This is not just a novelty program. Did you even read the article?

    3. Re:If debuggers could sing.... by T-Kir · · Score: 2, Funny

      Or "If I Had a Hammer' by Leonard Nimoy.

      Either it'll make you try and code better, or actually want to put a hammer to the speakers and/or computer.

      --
      Are you local? There's nothing for you here!
  3. hmmm by citroidSD · · Score: 4, Funny

    Yes, my debugger _does_ sing as it smites bugs!

    namely:
    "Another one bytes the dust. Another one bytes the dust. And another and and another bug bytes the dust."

    For those of you who need the background music, think Queen, or uh, I guess Weird Al Yankovic

    1. Re:hmmm by poot_rootbeer · · Score: 2


      You've got a syntax error in your lyrics.

  4. In the perfect world... by PDHoss · · Score: 3, Funny
    ... the debugger would sing for every language but c#. That would be funny.

    PDHoss

    --
    ======================================
    Writers get in shape by pumping irony.
  5. Windows Joke by Jupiter9 · · Score: 2, Funny

    So that's why I get that song every time I boot into windows.

    --

    --
    Does anyone remember /\/\/\?
  6. I'm relieved by Beryllium+Sphere(tm) · · Score: 5, Funny

    >They even found a practical application for software debugging

    It's good to know that software debugging has a practical application.

  7. I can hear mine now by drjoe1e6 · · Score: 3, Funny

    Ninety-nine off-by-one bugs in the code,
    Ninety-nine off-by-one bugs,
    Take one down,
    Fix it up,
    One hundred off-by-one bugs in the code!

    -Joe

    --
    Lose = not win ...... Loose = not tight
  8. Dancing? by si1k · · Score: 5, Funny

    I wonder if they could create an interface that would allow you to fix bugs by dancing?

    Gnu Debugger, the real Dance Dance Revolution?

    Haha, only parlty serious. Just as we need new ways to "view" information, it could also be helpful to be able to respond in a way that goes beyond the keyboard and mouse.

    1. Re:Dancing? by Moonshadow · · Score: 2

      I think you mean Debug Debug Revolution.

      Kinda a cross between DDR, Whack-a-mole, and coding.

      Somehow I don't see this being popular :)

    2. Re:Dancing? by scheming+daemons · · Score: 2, Funny
      I wonder if they could create an interface that would allow you to fix bugs by dancing?

      ...then white people wouldn't be able to program.

      :)

      --
      "I have as much authority as the pope, I just
      don't have as many people who believe it" - George Carlin

    3. Re:Dancing? by Scaba · · Score: 2
      I wonder if they could create an interface that would allow you to fix bugs by dancing?

      So that's what this guy is doing....
    4. Re:Dancing? by iabervon · · Score: 2

      You must be thinking of DDDR, which lets you navigate the heap of a program as it's running by steeping up, down, left, and right.

      But I hear they're working on DDDRM, which kills your program unless you only look at the data that the arrows say you can...

  9. Ports by chinton · · Score: 2

    A generalize form of this application was applied to the source for Windows XP (tm) with no startling results. However, when the resulting tune was played backwards, the listener could plainly hear "bill is god" and "linus is satan" over and over.

  10. my code... by skydude_20 · · Score: 2

    if i ran this kind of debugger, it would go thru the effort to say "stop programming!!"

    --
    Jesus saves souls and redeems them for valuable cash prizes
  11. So Does that mean..... by PerfectDark · · Score: 2, Funny

    I can re-factor my code just by re-mixing the tunes????

  12. Re:Dum, Dum, Da-Dum by Russ+Steffen · · Score: 5, Funny

    You think that's bad? The .NET code samples play The Imperial March.

  13. Good idea, but a better place would be.... by Wintermancer · · Score: 4, Funny

    The musical sound of Windows blue-screening.

    You could even have a nice menu:

    Select your musical preference:

    1) Death-metal guitars

    2) Funeral dirge

    3) Cat-in-heat-at-12:00-am

    Ohhh, the possibilities....

    It would be better than the anguished "NOOOOOO!" frequently heard around the office.

  14. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  15. No, but I know a song about a debugger! by Tackhead · · Score: 5, Interesting
    My debugger doesn't sing to me, but I know a guy who sang about a debugger I once used.

    The UPS Debugger Song: "Just One More Hack (and then I'll put it on the 'net)

    Lyrics: Just One More Hack

    Well, I've written a debugger and it suits me just fine
    it'll chase away your problems, turn your water into wine
    it's got so many features, in fact it's bloody clever
    if it can't solve your problem then your problem probably never
    can be solved
    so you might as well pack it on in,
    coz it's the best debugger that there's ever been.

    It's got everything you wanted, everything you desire
    it'll handle fancy structures, set your soul on fire
    it'll indirect through pointers, and catch a falling star
    and if you ask it nicely it'll pop off to the bar
    and tell your friends
    how to solve the problems they're in,
    coz it's the best debugger that there's ever been.

    If you've got a nasty problem and your data structure's bent
    and your pointer's in a tangle with your structure elements
    if you're losing all your memory coz your allocator leaks
    and your girl's getting nasty coz she's not seen you for weeks
    then stoke up Mark's debugger
    you know it'll win,
    coz it's the best debugger that there's ever been....

    - Burt MC Weadon (Mark Wheadon), from MUSENET '92

    (Ah, thank you Google, for the historical reference to first puclication!) UPS - The Song!"

  16. Ummmmm.... by Your_Mom · · Score: 2

    I installed it on Visual Studio and now my computer keeps singing Unforgiven by Metallica, what do I do?

    --
    Objects in the blog are closer then they ap
  17. Sure. by Kenja · · Score: 5, Funny

    My debuger sings and my IDE tells me to kill people.


    But wait..... I've said to much.

    --

    "Have you ever thought about just turning off the TV, sitting down with your kids, and hitting them?"
  18. Sound is a great debug tool! by CrazyBrett · · Score: 5, Interesting

    Back when I first started experimenting with full-screen graphics programming, I went through a phase where I could switch screen modes, but not get anything to show up. This meant that I had no way to print diagnostic messages to the screen to figure out when something went wrong. The solution was to play sounds to track the progress of the program and report error conditions.

    "Oh, the program went Boink-Ding and Bloop, but not Clunk... that must mean that palette creation failed!"

    1. Re:Sound is a great debug tool! by Luyseyal · · Score: 2

      heh, yeah, we were just lamenting the loss of good beep codes in programs the other day. there's an unofficial Linux patch that adds a pc speaker driver with full OSS compatibility. I was thinking it'd be cool to remap ASCII 7 over to some wav like "D'oh" or something. :)

      -l

      --
      Help cure AIDS, cancer, and more. Donate your unused computer time to worldcommunitygrid.org. Join Team Slashdot!
  19. You know... by Your_Mom · · Score: 3, Funny

    If I combine this with the morse code panic patch, I could have my own techno dance studio! Flashing lights and all!

    --
    Objects in the blog are closer then they ap
  20. I managed... by Chagatai · · Score: 2
    ... to download the output from the debugging of Office XP. Take a listen to this.

    --
    --Chag
  21. It can't be bad by senfman · · Score: 3, Funny

    A singing debugger can't be worse than Britney spears.

    1. Re:It can't be bad by sehryan · · Score: 2

      Except Britney is going to have way better tits.

      --
      The world moves for love. It kneels before it in awe.
    2. Re:It can't be bad by Snafoo · · Score: 3, Funny

      Oh baby baby, how was I supposed to know...
      That something wasn't right?

      Oh baby baby, I hacked on that blasted code...
      Till the morning's early light!

      Tell me, how to fix it, soothe me,
      Tell me, baby, cuz I need to know now, oh because,

      This bloody LISP, is killing me ---
      Though I test-regress, it still goes bleep!
      (Still goes bleep!)

      If it's the closures, I'll lose my mind,
      And rewrite the damned thing one more time!

      (Repeat until 3 minutes and 50 seconds is achieved.)

      --
      - undoware.ca
  22. gdb blues by jukal · · Score: 2

    actually, this sounds like an excellent idea, and this should without doubt be a basic feature of gdb for example. This also reminds me of my Spectravideo SVI-318 and lousy green, year was 1984, the combination worked at so low frequency that was able to hear and understand what I typed through radio. And it really was very helpful.

  23. That nice but... by JFMulder · · Score: 2

    ... if there is a bug in your music routine in your game, I guess this will be useless debugging tool.

  24. The Past Revisited by rawdot · · Score: 2, Interesting

    I don't have a reference to it, but I thought that Admiral Grace Hopper and her crowd had done something just like this generations ago simply by hooking up the accumulator of a Univac to a D/A converter, which in those days resulted in audible frequencies! A quick search on Google found something similar was done on a CDC 3300 (search for CDC 3300 in this page).

    Cheers,
    Richard
  25. Step into the wayback machine... by gwernol · · Score: 2

    And they used continuous tones, or drones similar to those used by bagpipes, to indicate continuous states like loops where many nested operations may take place. "The use of a continuous tone can indicate that the program is inside the loop," said Vickers.

    Interesting. Back when I first got into computing I used a BBC Micro. This was a primitive machine by today's standards, with no fan (the 2MHz 6502 CPU didn't get hot), no disk drive of any sort, basically nothing to make any noise except the CPU. In a quiet room you could hear the processor humming. It would change pitch as a program ran - you could tell when you hit an infinite loop because the pitch would change to a continuous whine. It was actually useful - and used - for debugging. Fun days,

    --
    Sailing over the event horizon
  26. I can see it now... by (trb001) · · Score: 4, Funny

    In the news, the VC++ debugger has come under fire from the RIAA for producing melodic tunes that sound very similar to several copyrighted materials.

    "Whoever wrote the code that produced these tunes, we want to find them and bring them to justice." said Hillary Rosen, of the RIAA. "Neither Microsoft, nor the developer in question, has paid royalties to the artists whose songs they have violated. Renegade debuggers must be stopped, for they pose the greatest threat to the artists' intellectual property we've ever seen!"

    <sigh> Fact is often stranger than fiction

    1. Re:I can see it now... by garett_spencley · · Score: 2

      No you're forgetting that Microsoft is a big and wealthy company so they are exempt from the law. Yes, even copyright law.

      gdb on the other hand.... well I'll sure miss it.

      --
      Garett

  27. Close Encounters by Winterblink · · Score: 2, Insightful

    Sound based debugging + gesture based computing = a future where we work with computers like that cooky french guy from Close Encounters of the Third Kind.

    --
    "I'm a leaf on the wind. Watch how I soar."
    -Hoban Washburn
  28. This is nothing new by T3kno · · Score: 2

    Britney, the BS boys, and nSync have already been doing this for years. How else can they come up with that crap they call music. The language they use is C# though, not Pascal.

    --
    (B) + (D) + (B) + (D) = (K) + (&)
  29. Bill Joy Enjoys Listening to... by tunabomber · · Score: 3, Funny
    --

    pi = 3.141592653589793helpimtrappedinauniversefactory71 ...
  30. Re:different variations based on language by CoolVibe · · Score: 2
    I smell a PHP developer....

    To me, I think PHP would sound somewhat like System of a Down. C is more like Stratovarius, and C++ should sound more like Mercyful Fate.

    Perl? uuuh... Within Temptation? Python... hmmm... Definately something like After Forever..

    Right, I guess you kinda gather from that that I like heavy rock with some pretty symphonic tendencies. It would be pretty cool if you could tune your debugger to a certain style of music.

    I somehow also think my code would sound line Tristania, or sometimes (depends on my inebriatedness) Bal Sagoth... But that's just me :)

  31. Re:dumbest thing all day by PDHoss · · Score: 2

    Well, the cycles we're all burning today to come up with clever examples is pretty close! ;)

    PDHoss

    --
    ======================================
    Writers get in shape by pumping irony.
  32. Okay, who's going to build this into emacs? by extrasolar · · Score: 2

    I've been looking through my gnu emacs sources, there's some interesting things in here already that people don't know about, like the strokes package where supposedly you just wiggle your mouse around and that will execute your command.

    Now I think gnu emacs supports sound, so who knows elisp and is curious enough to set this kind of thing up? :)

  33. Multi-format input is Good by ewanrg · · Score: 4, Interesting

    I've noticed several folks who seem to think this is silly, dumb, etc. I don't think it is. Think back to the days (if you're old enough) of monochrome displays. Even the addition of a few colors made it easier to process information by taking advantage of human sensitivity to color in our environment. To say that music, or at least sound, could be incorporated makes sense to me.

    Particularly in applications where you're trying to track status over time, having some background that varies with changes can be very helpful (I seem to recall the game Populous using this to good effect to help you get a quick idea of how you were doing overall). In the context of a debugger, having clashing noises that become more melodious as the program gets closer to completion and perhaps also asit comes closer to defined standards seems to bea good motivator.

    Just my .0001 share of Berkshire Hathaway's Class B worth...

  34. What would this look like in reverse? by jea6 · · Score: 3, Funny

    Could you run a melody through and have programming structures returned? Metaphors are sunny days.

    --

    sarchasm: The gulf between the author of sarcastic wit and the person who doesn't get it.
    1. Re:What would this look like in reverse? by Hoi+Polloi · · Score: 2

      I would guess that most rap and pop would just form infinite loops.

      --
      It is by the juice of the coffee bean that thoughts acquire speed, the teeth acquire stains. The stains become a warning
  35. If only Dijkstra were still around... by Nightpaw · · Score: 2

    Man, just 3 more days and we could have had Coda Statement Considered Harmful.

  36. Going further... by tunabomber · · Score: 2, Flamebait

    Java == glossy emo pop
    Python == British novelty songs
    LISP == modernist symphony
    BASIC == music from a casio keyboard bought for $5 at a garage sale

    --

    pi = 3.141592653589793helpimtrappedinauniversefactory71 ...
  37. Boot It! by AJWM · · Score: 3, Funny

    Well, if you're going to go posting lyrics...

    This came out years ago, I found a printout of it a couple of days back while going through some papers. Picture Weird Al Yankovich singing this to Michael Jackson's "Beat It" (this isn't a Weird Al though, he did "Eat It"):

    Boot It

    You're processing some words when your keyboard goes dead,
    Ten pages in the buffer, should have gone to bed,
    The system just crashed, but don't lose your head,
    Just BOOT IT, just BOOT IT.

    Better think fast, better do what you can,
    Read the manual or call your system man,
    Don't want to fall behind in the race with Japan,
    So BOOT IT,

    Get the sys admin to

    BOOT IT, BOOT IT,
    Even though you'd rather shoot it.
    Don't be upset, it's only some glitch.
    All that you do is flip a little switch.

    BOOT IT, BOOT IT,
    Get right down and restitute it.
    Don't get excited, all is not lost.
    CP/M, UNIX or MS-DOS
    Just BOOT IT, boot it, boot it, boot it...

    You gotta have your printout for the meeting at two,
    The system says your jobs at the head of the queue,
    Right then the thing dies but you know what to do,
    BOOT IT.

    You always get so worried when the system runs slow,
    And when it finally crashes, man you feel so low,
    But computers make mistakes (they're only human you know)
    So BOOT IT,

    Call the local guru to

    BOOT IT, BOOT IT,
    Go ahead re-institute it.
    If you're not lucky, get the book off the shelf,
    But if you are, it'll do itself.
    BOOT IT, BOOT IT,

    Then go find the guy who screwed it! Operating systems are built to bounce back,
    Whether it's a Cray or a Radio Shack.

    BOOT IT, BOOT IT, ....

    Sorry I don't know who deserves the attributes for that.

    --
    -- Alastair
    1. Re:Boot It! by Surak · · Score: 2
      Sorry I don't know who deserves the attributes for that.

      Judging by this line:


      Don't want to fall behind in the race with Japan, /blockquote

      probably a sysadmin in the automotive industry. (Which mind you was just a couple of years ago exclusively Unix, and before that was a micture of DOS and UNIX, hence the line about CP/M, UNIX, or MS-DOS)

      Of course this is entirely conjecture...

  38. Stink-A-Tron by Tablizer · · Score: 4, Funny

    (* Bug in the program - P.U.! *)

    That's it! Associate *smells* with bugs.

    Stack_overflow_error ==> Dirty_Socks_Smell

    That will encourage programmers be more careful. Then again, single programmers are probably use to all those smells anyhow.

    Nevermind.

  39. Singing back by msheppard · · Score: 3, Funny

    I sometimes sing to my debugger:
    ---
    Hello bluescreen my old friend,
    You are my program's bitter end.
    All my random poke and peeking,
    Didn't stop the memory leaking.
    And the Interrupt, I set so long a go,
    did never throw...

    My only option... is viloence.

    Slam the mouse in to the desk.
    Pound the keys and beat my chest.
    Do what I say not what I mean,
    Open the window, thow out this machine.
    And as it falls, and crashes on the street
    Debugging complete

    my only option... was violence.

    --
    Krispy Cream is people
  40. why do you think... by Hooya · · Score: 2

    ...windows makes a sound everytime you start it up, click on something, shut it down etc..?

  41. Yep by sharkey · · Score: 2

    "The worms crawl in,
    The worms crawl out.
    The bugs play pinochle
    On my shout."

    --

    --
    "Outlook not so good." That magic 8-ball knows everything! I'll ask about Exchange Server next.
  42. R2D2 by Tablizer · · Score: 2


    R2D2's voice may be due such a bug-to-tone translator. That is probably how my code would sound under the Bug-A-Phone.

    Better fix that bot.

  43. Barbara Striesand sings geek by Tablizer · · Score: 2

    "Memory, you have used up all your Memory"

  44. Actually ... by Snork+Asaurus · · Score: 4, Funny
    I hear that all releases of Windows resolve to the Pink Floyd tune "Money". The only detectable difference between them is that with each successive release, the volume is higher.

    With Palladium, I suspect that there will be more variety. Normally, it will still be "Money" at about 120db, but if you click on an mp3, you'll hear the "Dragnet" theme and sounds of wailing police sirens followed by the Monty Python ditty "There's Nothing Quite as Wonderful as Money".

    --
    Sigs are bad for your health.
  45. Re:Microsoft must sound like a rock concert! by Tablizer · · Score: 2

    I was thinking that BSOD's could play Beethoven's "death" symphony:

    Duh Duh Duh Doooooooo

    Duh Duh Duh Doooooooo

  46. Things slow in England I see by Tablizer · · Score: 2

    Researchers from the University of Northumbria in England are tapping the auditory sense by allowing programmers to listen, rather than simply look, for software bugs....

    Techie unemployement pressue seems to be doing to computer scientists what cyclitron shut-downs did to those "Higgs Boson discoverers".

  47. ObAmIdol by LittleGuy · · Score: 2

    Yes, my debugger sings, but Simon belittled its abilities as 'third-rate COBOL', so it went into a tizzy and crashed my system.

    --
    Mod Karma -1: I sed bad wurds. If I cep my mouf shut, I wud be at riyses.
  48. the first version of this I ever heard by devphil · · Score: 2


    ninety-nine little bugs in the code,
    ninety-nine little bu-u-u-gs,
    fix a bug,
    compile again,
    one hundred and one little bugs in the code!

    The next verse went from 101 to 105, then from 105 to 113, then from 113 to 129, and so forth, adding a new power of two on each loop.

    --
    You cannot apply a technological solution to a sociological problem. (Edwards' Law)
  49. Back in the Old Days... by dfung · · Score: 2, Interesting

    Hmmm...

    Well the first computer I ever had free reign of was one of those Commodore Pet computers with the little tiny calculator keyboard. Little memory, little keyboard, no disk, and I still managed to learn a little assembler to pep up my BASIC programs.

    When I came out to the Silicon Valley to go to college in 1978, I left the PET behind, but still checked out the computer shops when I had free time (anybody remember The Byte Shop in Palo Alto? Computerland in Los Altos?). One of the things that I found pretty entertaining at a Commodore shop was a guy that was debugging by putting a little AM radio next to the computer. If you tuned to the right frequency (and I'm embarassed that I don't remember it), you'd hear the sound of your code executing as static. If you had the right loop coded, you would hear a burst of static when it executed, and this guy would drop in the little flag routine as a debugging aid. By putting in a marker like that in the different long-running repetious sections,you could actually tell where your code was running, or if you were stuck in an infinite loop.

    Kind of cool back then, although I have to admit that I don't remember writing anything that ever took 2 minutes to execute. Well, intentionally anyway...

    David Fung

    1. Re:Back in the Old Days... by kreyg · · Score: 2

      I used to do this with my old Sound Blaster cards - the things were so poorly shielded and picked up so much noise from the processor (and hard drive and bus and I don't know what else) that I could tell when the program had crashed just by listening to the noise. If it was quiet, that usually meant something was very wrong. :-)

      --
      sig fault
  50. Open Source and this app by BluedemonX · · Score: 2

    Strangely enough, I developed a similar application and ran some Open Source code through it.

    The resulting melody was "Please, release me... let me go...."

    --

    --- Jump!! Fire!! Bullet time!! - Lego version of the Matrix
  51. What if- by IWantMoreSpamPlease · · Score: 2, Funny

    They could get network traffic to produce musical tones? Imagine the sounds made of a server getting Slashdotted....

    --
    So rise up, all ye lost ones, as one, we'll claw the clouds.
  52. Microsoft AudioComposer by toybuilder · · Score: 2

    This puts a new meaning to using DevStudio to put together a program composed in C#.

  53. Re:coming up on kazaa... by Zordak · · Score: 2

    That's true. On the other hand, I hear so many people blame Windows problems on drivers, like the only way to crash Windows is to install some rogue hardware with some unstable driver that you pulled off of www.warez-drivers.com, and here I had a factory-configured machine, with factory-configured drivers (nothing "rogue" until the modem got fried), and the configuration was (presumably) tested to some degree before it was sold, and it still crashed all the time. It is a rare day that we don't have to reboot the thing. The fact is, Windows 95 sucked hard, Windows 98 was little better, and Windows ME is just W98 Third Edition. I haven't tortured myself with XP yet. Windows 2000 is the only MS OS that I can use with minimal pain.

    --

    Today's Sesame Street was brought to you by the number e.
  54. Re:dumbest thing all day by ThereIsNoSporkNeo · · Score: 3, Funny

    I'll take that as a challenge.

    And now introducing:
    TASTE-BASED DEBUGGING!

    You'll never miss another semi-colon after one spoiled milk dose!
    Infinite loops will fade into myths after the first few developers get a taste of dead-fish-left-in-the-sun-for-a-week.
    And for those minor offenses such as not commenting code and choosing horrible names? A few times through with the Taste'O'Soap and you'll be cured for life!

    This project brought to you by the Federal Government. Always looking for more ways to make your life unpleasant.

    --
    With my dying breath, I curse Zoidberg!
  55. Everything old is new again by Viadd · · Score: 5, Interesting
    Back in the Apple II/Commodore/Altair days, programmers (who else was there?) used to tune a radio to a dead band and place it by the computer as a debugging aid. You can tell a lot by listening to the EMI that a computer put out. Infinite loops caused a continuous tone, different stages of processing produced different characteristics in the static, etc.

    There were also programs designed just to place music on the radio with their EMI.

    1. Re:Everything old is new again by fractaltiger · · Score: 2

      Hey Viadd, very interesting.

      Well that is not a dead practice. A few years ago I discovered that my TI calculator disrupted my FM radio, specially when I was plotting graphs or time-consuming fractals. The ENTER key produced short interference sounds as well. All this is somewhere in the 90Mhz bands. Funny because the fastest a TI processor goes is like 10Mhz, yet some interference always manages to defy logic, to us non-engineer ppl.

      CPUs used to have this same interference effect when the interference equivalent of "overtones" came out of my Pentium 1's and Pentium 2's to keep me from listening to decent homework-side music. Insightful

      --
      "Wireless : LAN :: Laptop : Desktop"
    2. Re:Everything old is new again by XNormal · · Score: 2

      I once saw an amazing demonstration on an Apple II: two 8 bit D/A converters were connected to the low and high bits of the address bus and fed to an oscilloscope in X/Y mode.

      It was easy to see loops, interrupts and other program patterns and most importantly, deviations from these patterns.

      --
      Stop worrying about the risks of nuclear power and start worrying about the risks of not using nuclear power.
  56. I've heard it all before... by martyb · · Score: 2

    This is not as strange as it sounds. (pun intended) I've seen precursors to this, and have actually experienced something similar about 25 years ago.

    • Modem speed negotiation: Here's a more recent example with which many /.'ers are familiar. I generally get the same speed over my modem, so I've grown accustomed to a certain series of boops and beeps as it is negotiating the connection. Once in a while, though, I detect a change in how sequence sounds. Sure enough, I've connected at a different speed. I'm not even trying to tell if there's a difference, it's just that I've grown so failiar with that "melody" that any deviation sticks out like a sour note.
    • Visual Precedent: The first computer I ever used (back in the early 1970's) was a Digital Equipment Corp. PDP-8. It had a front panel with two sets of lights to display the current value of the accumulator and, IIRC, the current program address. When running at normal speed, the lights flashed much too quickly to make out specific values or addresses, but overall patterns did exist. It had certain normal "rhythms". It was especially easy to detect when my program entered an infinite loop - the lights lit up almost solid and stayed that way!
    • Personal Audio Precedent: back in the late 1970's, I had a Texas Instruments programmable calculator (TI-55, IIRC). One day, I discovered that the LEDs cast out a lot of RF noise (I'd accidentally tuned my radio to the AM band instead of FM). I had a friend who also had the same model. We spent many, many hours programming those calculators to generate different "melodies".
    • Windows Sound Events: I discovered I could associate different sounds with different events in Windows. There's the "normal" alert, warning, windows start, etc. sounds. I added a sound for the "Open program" event and another sound for the "Close program" event. When my system is booting up, I can hear several background tasks launch and end. What had previously been a long stare at an unchanging screen suddenly became much more informative.

    I see this research as an interesting step that continues along that path.

    As for me, I'm much more a visual person than auditory. I'd find it much more valuable if I could "see" my program execute. Once in a while, I've messed things up with my postscript printer and the listing came out at what appeared to be 1 point sized text; at 300 DPI, that worked out to being about 5 dots high. At times it was almost possible to make out the words, but realiistically, it was too small to be legible. But it WAS sufficient to show the structure of the program, especially since I consistently use indentation. If different colors were used to denote different structural items (conditional, loop, assignment, key words, etc.) AND there was an indicator that would highlight each statement as it was executed, then I'd be able to see the actual flow of the program. I could tell what functions and subroutines were executed most often. Hmmm, this seems like such an obvious idea... does anyone know if such a tool already exists?

    On another note, It would be interesting to combine visual profiling of a program with a touch screen -- I could use different gestures to debug my program! Double-tap to zoom in/out on text; single tap to set a breakpoint on entrance/exit of a subroutine, etc.

  57. NO! by lars · · Score: 2
    I shudder at the thought of hearing Richard Stallman sing every time I load up gdb.

    And to whoever mentioned dancing, I've seen Richard Stallman dance too. Thanks for the image. Really.

  58. On Big Iron by knuth · · Score: 2

    You'd better hope your debugger doesn't start singing this ditty.

  59. Hey, I did this 10 years ago!!! by pointym5 · · Score: 2

    I hooked up the innards of the DEC Ultrix C++ debugger (then called "Ladebug" internally)to a homebrew FM synthesis toolkit to do exactly this. The debugger allowed tracepoints to be hooked to particular instruments and note values. It was cool.

  60. Re:Douglas Adams was right! by CrystalFalcon · · Score: 2

    No, I mean something else entirely. You need to read Dirk Gently's Holistic Detective Agency. :-)