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."

241 comments

  1. listening experience by cilynx · · Score: 1

    I'm curious to know what kind of code sounds the nicest when played back over a system like this.

    1. Re:listening experience by Zelet · · Score: 1

      windows

      --
      ...And when they came for me, there was no one left to speak out for me." - Martin Niemoeller (1892-1984)
    2. Re:listening experience by jflash · · Score: 1
      I'm curious to know what kind of code sounds the nicest when played back over a system like this.

      Microsoft code will sound like a symphony orchestra!

      (Of course, my code sounds like Cage's famous 4:44 track..)

    3. Re:listening experience by Anonymous Coward · · Score: 1, Insightful

      The Linux version is almost there but lacks a certain rhythm and flow to it. All the band members have talent but its attempt to emulate the windows play style takes away from its natural talent for good crisp music. Sort of how the ford F1 was a good looking truck till dodge added a rounded front end and Ford copied it in a bad way. I sort of Like the crisp boxy UI that makes Linux feel so ... UNIX.

  2. What a novel idea! by Anonymous Coward · · Score: 0

    I wish I had that much time on my hands!

  3. 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.
    3. Re:Now by Anonymous Coward · · Score: 0

      Lucky you. I get Yoko Ono.

  4. 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 Anonymous Coward · · Score: 0

      Honestly this seems like the stupidest idea ever, on the same level as playing music to plants. Really do we want our tax payer dollars being used for THIS? There are millions of more useful research topics such as this: much more useful than singing debuggers. Seriously folks, this is a lame waste of our money. Someone needs to find these people a real research job.

    3. 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?

    4. Re:If debuggers could sing.... by Zurk · · Score: 1

      how is http://nathandial.com/mirror/globalenv/ better from a research PoV ? real research pushes the boundaries -- if we can somehow find a useful solution to eliminate bugs its prolly going to be non obvious so jumping on weird tehcniques like this may be a valid solution to eliminate bugs in the near future.
      it doesnt seem practical now of course but what if they could get bugs to soun different from the main portions of the program in some way ?

    5. 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!
  5. Does your editor have taco snotting with you? by Anonymous Coward · · Score: 0

    Yes he does. If this isn't -1 troll with in 10 seconds, then moderators are dumb.

  6. Theme Song by Anonymous Coward · · Score: 0

    Wonder what'll make it sing "2001: A Space Odyssey"

    Or even "We All Live In Recursive Subroutines"

  7. Dum, Dum, Da-Dum by death00 · · Score: 1

    I keep hearing a funeral march from my C code...

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

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

    2. Re:Dum, Dum, Da-Dum by coryboehne · · Score: 1

      Now,,, THIS actually DESERVES a +5 funny as hell, I actually laughed out loud... This man is a comedy genius.

    3. Re:Dum, Dum, Da-Dum by Anonymous Coward · · Score: 0

      Well, I wouldn't say he's a comedy genius (it was only a matter of time before someone compared MS to that other Evil Empire), but that was damn funny.

  8. someone by Anonymous Coward · · Score: 0

    needs to get laid.

  9. 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.

  10. errors by Anonymous Coward · · Score: 0

    So what happens when the compile fails? Does it start to sound like Windows?

    1. Re:errors by Anonymous Coward · · Score: 0

      LOLOL another unoriginal Microsoft joke!!! Windows 2000 is more stable than lunix could ever hope to be, shithead.

  11. If you play "Stairway to Heaven" backwards.. by Anonymous Coward · · Score: 0

    .. do you get Slashcode?

    1. Re:If you play "Stairway to Heaven" backwards.. by coryboehne · · Score: 1

      Nahhhh, just a really bad headache.

    2. Re:If you play "Stairway to Heaven" backwards.. by wrinkledshirt · · Score: 1

      Funny, I get that from the Slashcode as well.

      --

      --------
      Bleah! Heh heh heh... BLEAH BLEAH!!! Ha ha ha ha...

  12. Lets Hope.... by trevinofunk · · Score: 1

    It'll sound like BONO!! WOOHOO!!

    1. Re:Lets Hope.... by trevinofunk · · Score: 1

      Its a BeAutifuL BUUUUUG!! AaAaaAAAhh!!

    2. Re:Lets Hope.... by 8282now · · Score: 0

      Sonny or U2's ... :)

  13. I tried this... by coryboehne · · Score: 1

    But for some reason it all just sounded like Sublime.... No not really, but I do wonder what this would sound like. I guess it's possible to find a pattern in just about anything.. And this is definitive proof.

  14. 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.
  15. Windows Joke by Jupiter9 · · Score: 2, Funny

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

    --

    --
    Does anyone remember /\/\/\?
  16. 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.

    1. Re:I'm relieved by Xenographic · · Score: 1

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

      Someone needs to tell MS that... :]

    2. Re:I'm relieved by jareth780 · · Score: 1

      To quote my comput 201 prof, in his infinite "wisdom": If you need to use a debugger you don't understand your code. Real programmers don't need debuggers.

      And THAT, boys and girls, is how you talk out of your ass!

  17. 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
    1. Re:I can hear mine now by Anonymous Coward · · Score: 0

      You'll find me one day, in a gutter, mumbling to myself..."Is it ++i, or i++? Is it ++i, or i++? Is it ++i, or i++?..."...

  18. 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 Anonymous Coward · · Score: 0

      Don't let them immantize the Gershenback ^H... Gibsionian continuum!

    2. 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 :)

    3. 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

    4. Re:Dancing? by Anonymous Coward · · Score: 0

      Why not integrate PyDDR with GDB?

    5. 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....
    6. Re:Dancing? by Anonymous Coward · · Score: 0

      I believe your sig is unconstitutional. You should edit it.

    7. 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...

    8. Re:Dancing? by Dr.+A.+van+Code · · Score: 1

      Riverdance would be the most appropriate style of dance for stomping bugs, don't you think?

      --
      Good mfences make good neighbors.
    9. Re:Dancing? by si1k · · Score: 1

      Or maybe the Jitterbug? :)

  19. God the time it musta took to write this! by Anonymous Coward · · Score: 0

    Sure, this falls in the "neato" category, but how on earth does this progress science or technology?
    With the amount of time and funding these people get, SURELY they can produce something that would be a CONTRIBUTION to the science/tech field!

    1. Re:God the time it musta took to write this! by jechoe · · Score: 1
      The point of the article is that there is a whole other sense that is being far to underutilized in computing. Not just in debugging, but everywhere. I once read an article about listening to DoS attacks and other hacks as they are happening - why couldn't you listen for bugs? Once you become experienced enough, you can follow the code and know when something is out of step.


      I think it would actually be more useful if you could set auditory points - like breakpoints but with particular sounds - in the code. Another suggestion would be to group the sounds together by instrument or whatever and be able to turn parts of that orchestra off.


      My concern would be debugging a multi-threaded app - yikes! Talk about a need for thread synchronization ...


      Maybe someday we'll have tactile debuggers ;)

      --
      Push the envelope. Watch it bend.
  20. 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.

    1. Re:Ports by Anonymous Coward · · Score: 0

      He gets a Score:2 for saying "bill is god" and "linus is satan" ? proves how FULL OF BULLSHIT this place that oh yeah .. happens to be owned by parent company = OSDN. er .. O'reily ? Who happen to publish and 'sell' lots of other bullshit in the Open Source Realms. what a co-incindence. NOT. you people are dumb.

  21. Better application than music. by Telastyn · · Score: 1

    Have the program hooked up to a heartbeat monitor

    beep beep beep beep beeeeeeeeeee.....

  22. Of course... by gwernol · · Score: 1

    Of course, knowing my lug, my code would come out sounding like a fucking Britney Spears song. Arghhh...

    --
    Sailing over the event horizon
    1. Re:Of course... by gwernol · · Score: 1, Troll

      "lug", noun:

      1) Idiot who posts so fast he mis-spells "luck" as "lug".

      2) Fool who should learn to use the Preview button.

      --
      Sailing over the event horizon
    2. Re:Of course... by PissingInTheWind · · Score: 0, Flamebait

      "gwernol", noun:

      1) Arrogant bastard calling people idiot and fool.

      2) Socially misadapted person frustrated against the entire planet and its inhabitants.

      Compare: PissingInTheWind

      --

      A message from the system administrator: 'I've upped my priority. Now up yours.'
    3. Re:Of course... by Anonymous Coward · · Score: 0

      twat
      one who cares

    4. Re:Of course... by CableModemSniper · · Score: 0, Offtopic

      You realize the "people" he was calling an idiot was himself right? Ok, just checking.

      --
      Why not fork?
    5. Re:Of course... by gwernol · · Score: 0

      No, please take a moment to look at the name of the original poster too.

      Done that?

      Thank you.

      --
      Sailing over the event horizon
    6. Re:Of course... by Anonymous Coward · · Score: 0

      what more can I say?

      YHBT YHL HAND

    7. Re:Of course... by Anonymous Coward · · Score: 0

      Wow, you've got trolled, man!

      get off your high horse, and HAND

  23. different variations based on language by slycer · · Score: 1

    such as:

    C/C++ == classical sounding music
    perl == heavy metal
    php == rap
    vb == boy band

    and so on..

    1. Re:different variations based on language by nirvdrum · · Score: 1

      I like Perl quite a bit, but as music I can't help but think it'd be just a loud annoying feedback noise. Or something equally annoying, like Ska.

      --
      If there was a "-1 Not Funny", that'd be my most used mod.
    2. Re:different variations based on language by kin_korn_karn · · Score: 1

      I would think Perl would be more like Lou Reed's Metal Machine Music album.

      (I use Perl every day and I love it, but it's ugly)

    3. Re:different variations based on language by Anonymous Coward · · Score: 0

      Isn't that an old joke?
      You know, if code were music, Java would be country?

    4. 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 :)

    5. Re:different variations based on language by Anonymous Coward · · Score: 0

      No, no, C is minimalist electro, Perl is classical Indian music!

  24. 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
    1. Re:my code... by j1mmy · · Score: 0, Offtopic

      stop posting on slashdot while you're at it. you're not funny.

    2. Re:my code... by Anonymous Coward · · Score: 0

      you actually went through the effort to actually post to that?? jeez

  25. Infinite loop... by wilburdg · · Score: 1

    I can only imagine what for(;;); sounds like...

    AAARGGHH... MAKE IT STOP!!!!

    1. Re:Infinite loop... by Anonymous Coward · · Score: 0

      This is the song that never ends...It just goes on and on, my friends...

    2. Re:Infinite loop... by Anonymous Coward · · Score: 0

      Well there goes any hint of work I was doing today. Be glad you posted anonymously... else I would hunt you down with a mostly-blunt object and dig your heart out.

      I CAN'T GET IT OUT OF MY HEAD!

  26. So Does that mean..... by PerfectDark · · Score: 2, Funny

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

    1. Re:So Does that mean..... by CrazyBrett · · Score: 1

      You, sir/madam, are very creative. Please go start a research company and bring this to us :)

  27. 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.

    1. Re:Good idea, but a better place would be.... by Anonymous Coward · · Score: 0

      or you could spend $99 and stop using windows 98 you moron.

    2. Re:Good idea, but a better place would be.... by Dalcius · · Score: 1

      An interesting fact that I'd like to note:

      A Windows 98 *upgrade* box is still $89 at the Best Buy nearest me.

      --
      ~Dalcius
      Rome wasn't burnt in a day.
  28. Comment removed by account_deleted · · Score: 2

    Comment removed based on user account deletion

  29. 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!"

  30. KDE Joke by nirvdrum · · Score: 1

    So that's why I get that song every time I load up KDE.

    --
    If there was a "-1 Not Funny", that'd be my most used mod.
    1. Re:KDE Joke by Jupiter9 · · Score: 1

      So don't use KDE, there's quite a few other window managers out there for your liking.

      But, yes I do agree it was a dumb joke.

      --

      --
      Does anyone remember /\/\/\?
  31. 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
    1. Re:Ummmmm.... by Geekboy(Wizard) · · Score: 1

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

      Probably get sued by Metallica for copyright infringement. ;-)

    2. Re:Ummmmm.... by coryboehne · · Score: 1

      Turn off WinAmp? j/k actually that is pretty funny.... WAIT!!! I use VS Asshole :)

  32. 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?"
  33. Talk about way too much time on their hands. by Anonymous Coward · · Score: 0

    See subject :)

    Cheers

  34. Sing along urls by Anonymous Coward · · Score: 0, Troll

    haich tee tee pee co long slash slash double you double you double you dee oh tee gee oh eh tee ess de oh tee sea ex slash haich e el el oh de oh tee jay pee gee

    1. Re:Sing along urls by coryboehne · · Score: 1

      Try this along with DJ Mystick- Star Wars Rmx.... Odd but it works so well it's scary..... And that damned pic is disturbing....

  35. 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 nirvdrum · · Score: 1

      You had bugs in your graphics programs? Man, you're not elite at all. And I thought everyone on Slashdot was elite. I guess that's my sobering experience for the day.

      --
      If there was a "-1 Not Funny", that'd be my most used mod.
    2. 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!
  36. coming up on kazaa... by frenetic3 · · Score: 1

    "Microsoft - Windows 98 (feat Billy G) (Blue Screen Remix).mp3"

    --
    "Where are we going, and why am I in this handbasket?"
    1. Re:coming up on kazaa... by nirvdrum · · Score: 1

      What was the last bug free OS you've written? I'll make it easier, what's the last bug free OS you've used?

      I'm not saying Win98 was great, but I've had it installed on machines and had it never crash. And I've never had it trash the file system on me like I've had happen to me twice with Linux 2.4.x.

      --
      If there was a "-1 Not Funny", that'd be my most used mod.
    2. Re:coming up on kazaa... by frenetic3 · · Score: 1

      haha.

      wasn't really intended as a targeted rip on ms.

      in fact, as someone who has written linux kernel drivers (actually, real-time linux kernel drivers), i probably should have called it

      "insmod - Oops! I Panicked Again.mp3"

      --
      "Where are we going, and why am I in this handbasket?"
    3. Re:coming up on kazaa... by Zordak · · Score: 1

      Wow. You must have gotten lucky and received the 31337 bug-free version of Windows 98. The old Compaq my wife uses has the OEM 98 installed on it (so we can't blame it on drivers -- they're all on that wretched "restore" CD that just dumps an image on your drive), and it crashes all the time. I finally got so sick of fighting it, I installed Win2k on the thing (which is the one decent OS to come out of Redmond), but it was really slow on that 333 MHz processor and 64M RAM, and then the modem got fried in an electrical storm, and Win2k couldn't handle the spare ISA modem I had lying around, so I had to "restore" that crap, and now it crashes all the time again. It is so time for me to put together a replacement machine.

      --

      Today's Sesame Street was brought to you by the number e.
    4. Re:coming up on kazaa... by nirvdrum · · Score: 1

      Why can't you blame that on drivers? Just because they were on a restore CD doesn't mean they were the best most up to date stable drivers.

      --
      If there was a "-1 Not Funny", that'd be my most used mod.
    5. Re:coming up on kazaa... by Dalcius · · Score: 1

      I have to be fair - Microsoft is doing MUCH better these days, 2000 is a nice OS, even though I like Linux better.

      However, Microsoft sold an OS named Windows 98 in which you have to reboot to change network settings. I think that, along with related things, is enough reason to give it all the criticism you have breath for.

      Oh, and that virtual limit of 512 (or so) megs of RAM is fun as well. For those who don't know what I'm talking about, I just put 768 megs of RAM in my system and it would hardly work. Windows reported an "out of memory error" after just booting.

      Turns out that, as I was told by a fellow programmer, it doesn't have enough memory registers (is this the right term? I'm not an OS programmer), and when you add so much RAM, there isn't enough room for virtual memory.

      Anyway, upgrading to 2k fixed it for me and my programmer friend who had this problem as well.

      Saying 512 MB is enough for a desktop is about as stupid as saying that a 1.2 gig drive can never be filled. But that's right, if they gave their OSs longevity, then they would be able to get people to pay for upgrades.

      --
      ~Dalcius
      Rome wasn't burnt in a day.
    6. 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.
    7. Re:coming up on kazaa... by nirvdrum · · Score: 1

      I found Win95 to be a lot more stable than Win98. I still haven't had my parents upgrade from it since it works so well for them :-/

      I've had good luck with XP, but it's mostly 2k with eye candy.

      --
      If there was a "-1 Not Funny", that'd be my most used mod.
  37. I wonder how long by reshu-wan-kenobi · · Score: 0

    it'll take for RIAA to step in here. That code you wrote sounds like Hotel California! *DoS*

  38. 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
    1. Re:You know... by Anonymous Coward · · Score: 0

      But since linux dosen't support sound except for a few foreign sound cards from the early 90s you won't beable to hear it any way. Its only gay porno music anyway.

    2. Re:You know... by Anonymous Coward · · Score: 0

      Yeah, the Sound Blaster Live is a foreign sound card from the early 90s.

      Idiot. Don't you know not to troll on an anonymous medium?

  39. Novelty by Anonymous Coward · · Score: 0

    What a novelty. First of all, any auditory response is fleeting. If I print a debug message, it persists on the screen until I tell it to stop. Secondly, I can pack far more useful information into a single debug printline than you'll ever get from a sound clip. Third, the language of onscreen debugging is limited only by your reading skills, not by what sound clips you can recognize and interpret.

    It's a novelty, and probably best suited for something OTHER than debugging code.

  40. WARNING by coryboehne · · Score: 1

    If someone actually does this there will be hoardes of pissed nerds out to eliminate them from the face of this planet....

  41. I managed... by Chagatai · · Score: 2
    ... to download the output from the debugging of Office XP. Take a listen to this.

    --
    --Chag
  42. oh wow! by evilempireinc · · Score: 1

    the Windows API sounds like the imperial march!

    --
    we can rebuild this sig. we have the technology
  43. Sensory Debugging by Gudlyf · · Score: 1
    Forget sound, I want to smell a bug in the code.

    *SNIFF* "Hmm...smells like someone forgot a semicolon."

    --
    Trolls lurk everywhere. Mod them down.
  44. Insert... by eaeolian · · Score: 1

    ...obligitory "Dirk Gently's Holistic Detective Agency" reference here.

  45. Is Dirk Gently behind this? by verch · · Score: 1

    First Altavista creates babelfish.. Now the code into music that is pivotal to Dirk Gently's Holistic Detective agency is a reality. Douglas Adams, may he rest in peace, would be proud.

    1. Re:Is Dirk Gently behind this? by SadEn · · Score: 1

      Freaky; I've been listening to Dirk Gently's Holistic Detective Agency all day today. (Anthem is the product)

    2. Re:Is Dirk Gently behind this? by Anonymous Coward · · Score: 0

      Now all we need is the rotating 3D rendering of a couch, and we're all set!

  46. 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
  47. 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.

  48. Happiness by cardshark2001 · · Score: 1

    I need a fix, cause I'm goin' down
    Town to the bits that I left up-town
    I need a fix, cause I'm goin' down

    --
    WWJD? JWRTFA!
    1. Re:Happiness by bowronch · · Score: 0, Offtopic

      (dotimes (i 9)
      (jump gun mother-superior))

      --
      My Stuff: pspChess and foobar2000 plugins
  49. Douglas Adams was right! by CrystalFalcon · · Score: 1

    Now all we need is that Reason software, which was written right after that whacko wrote the program to play his company's quarterly results in D minor...

    (or was it confiscated by the Pentagon already?)

    1. Re:Douglas Adams was right! by dvanduzer · · Score: 1

      (or was it confiscated by the Pentagon already?)

      And from the book...

      ...looking at Pentagon policies over the last couple of years I think I can be fairly sure that the US Navy is using version 2.00 of the program, while the Air Force for some reason only has the beta-test version of 1.5. Odd, that.

    2. Re:Douglas Adams was right! by kisielk · · Score: 1

      Reason software? You mean like this product from Propellerheads?

    3. 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. :-)

  50. 'senseable' thing to do by oliverthered · · Score: 1

    This might be quite a handy tool,
    You could debug programms at closer to full speed and listen to the changes as your code jumps in and out of loops and functions.

    --
    thank God the internet isn't a human right.
  51. Sound and computing by SDrifter · · Score: 1

    The work may eventually give sound a bigger role in computing.

    Sound already has an important role in computing: drowning out office noise. I'd hate to stop the flow of music as I program and let in office noise, and then still try to pick out sounds from the debugger. Especially when the people in nearby cubes insist on playing god-awful pop.

    --
    --It burns! --It's loaded with wasabi.
  52. Larry Wall... by billbaggins · · Score: 1

    Larry Wall (I think... this is in the intro to the llama book...) once said something to the effect that Perl, to the trained eye, looked like line noise with a purpose and a direction in life.... so now it can sound like it too?

    --
    "The best argument against democracy is a five minute chat with the average voter."
    --Winston Churchill
  53. Microsoft must sound like a rock concert! by pstreck · · Score: 1

    With all the bugs in M$ products, there cubes must sound like a rock concert!

    --

    Later,
    Phil
    1. 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

  54. 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.

  55. MOD PARENT UP (+1, FUCKING HILARIOUS) by Anonymous Coward · · Score: 0

    Seriously...that's one of the funniest posts I've read all day.

  56. I've heard that Windows 98 by BitHive · · Score: 1
    I've heard that Windows 98 sounds a lot like "Flight of the Bumblebee"

    I know, cheap shot. Which one of you slashbots wants to reply and tell me that Win98 wasn't written in Pascal?

  57. 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
    1. Re:The Past Revisited by bbc22405 · · Score: 1

      Yeah, and we're not on the first iteration of history repeating itself, either! At a Supercomputer Debugging Workshop in 1991 at Los Alamos National Labs, there were some people who proposed (wait for it) converting the runtime behavior of programs into sounds, as an aid to debugging them.

      Their ideas didn't strike me as extremely compelling, given the rather linear nature of the medium, but then again, my eyes still mostly work.
      -- Ben Chase
      (Hey there, Richard! I should send you email.)

    2. Re:The Past Revisited by Eccles · · Score: 1

      Yeah, and we're not on the first iteration of history repeating itself, either! At a Supercomputer Debugging Workshop in 1991 at Los Alamos National Labs, there were some people who proposed (wait for it) converting the runtime behavior of programs into sounds, as an aid to debugging them.

      A few years back, Communications of the ACM also had an article about this.

      It's all just a little bit of history repeating...

      --
      Ooh, a sarcasm detector. Oh, that's a real useful invention.
  58. 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
  59. Bah! This is old-school! by Anonymous Coward · · Score: 1, Interesting

    Programming by sound was something I always used to do on my Tandy 1000 8086 machine, running at a whopping "turbo" speed of 7.16 MHz.

    I'd crank up my AM radio next to the machine, run my program, and I could hear each iteration of the loop, I/O requests, screen prints, BIOS calls, DOS calls -- they all had different rhythms and pitches.

  60. 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

  61. 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
  62. Multi threaded? by magister · · Score: 1

    Would a multi-threaded program sing 'The ants go marching two by two Hurrah Hurrah'?

    On a serious note, this is an intresting way to help with a programs flow. Kinda reminds me of when sound cards got bad interference from the CPU and you could hear the diffrent pitched hums of tight loops.

    --
    -magister-
  63. dumbest thing all day by rtphokie · · Score: 0, Offtopic

    It's going to take a lot to find something dumber and a bigger waste of time than this today.

    1. 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.
    2. 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!
  64. 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) + (&)
  65. and what do you get.... by sithlord2 · · Score: 1



    ... when you debug the debugger ?

    --
    ...You are over-qualified and under-paid. If we give you a raise, we will break the cosmic balance of the universe.
  66. Bill Joy Enjoys Listening to... by tunabomber · · Score: 3, Funny
    --

    pi = 3.141592653589793helpimtrappedinauniversefactory71 ...
  67. What we really need by CableModemSniper · · Score: 1

    Is the exact opposite. An app that turns music INTO code. Hard rock could be a shoot-em up. Elevator music would be like spreadsheets and accounting software, etc. Just think of all the time we could save.

    --
    Why not fork?
  68. lets see what it can do ... by perrin5 · · Score: 1

    With This code

    code to music rendering on obfuscated code. Mmmmm...........

    --
    hmmmm?
  69. How's that... by eaeolian · · Score: 1

    ...for synchonicity? Next thing you know, we'll both have a sofa stuck in our stairwell simultaneously.

    1. Re:How's that... by verch · · Score: 0, Offtopic

      No way, its physically impossible to get a sofa stuck in a stairwell.

    2. Re:How's that... by Anonymous Coward · · Score: 0

      I beg to differ.

      Recently while in the process of moving one such seating implement up the stairs into a new apartment I ran into just such a sticky predicament. The stairs bent back upon themselves (Some stairs -do- do that you know). We were able to -almost- get past the bend, but were foiled by about 1 inch.

      Proving once and for all, it is possible to get a couch stuck in a stairwell.

      Thank you and good night.

  70. 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? :)

  71. 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...

  72. 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
    2. Re:What would this look like in reverse? by cicatrix1 · · Score: 1

      Or really bad rewrites of classic code.

      --

      I know more than you drink.
  73. If only Dijkstra were still around... by Nightpaw · · Score: 2

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

  74. 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 ...
    1. Re:Going further... by bowronch · · Score: 1

      Assembly == Techno

      I think BASIC should sound like "Pocket Calculator" by Kraftwerk... Which is basically, I guess, like music from a $5 casio keyboard...

      --
      My Stuff: pspChess and foobar2000 plugins
  75. play it backwards! by John+Harrison · · Score: 1, Offtopic
    "Another one bites(sic) the dust" played backwards disctinctly says "It's fun to smoke marajuana."

    Try it out. If you sing it like Freddie did you can record your own voice and play it backwards and get the same result.

  76. 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...

  77. My code produced only Megadeth songs... by Michael+Ross · · Score: 0, Offtopic

    99 Ways To Die
    Addicted To Chaos
    Breakpoint
    Disconnect
    Family Tree
    High Speed Dirt
    Problems


    ...and of course...

    Wake Up Dead

  78. Comodore64 by tomcio.s · · Score: 0

    Are you all that young?
    You could do thais in the early 80's on a c64... Ever listened to a tape drive lading a game, paused it inserted code (free lives, etc) and resumed loading...

    Man I thought Slashdot was for CURRENT news ;-)

    But seriously, why? Why do something like that? ...

  79. 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.

    1. Re:Stink-A-Tron by Enrico+Pulatzo · · Score: 1

      Some of the programmers I know would never realize that their code was buggy--they obviously don't pay attention to odors...

    2. Re:Stink-A-Tron by GrandCow · · Score: 1

      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.

      Then how about the opposite? If a programmer writes a program with no bugs the smell of a womans perfume is released. With the ammount of programmers that have little to no contact with those of the fairer sex I think that could be some decent motivation. ;)

      --
      "Well kids, you tried your best, and you failed. The lesson is, never try." -Homer Simpson
    3. Re:Stink-A-Tron by mino · · Score: 1
      single programmers

      You mean 'programmers'?

  80. 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
  81. why do you think... by Hooya · · Score: 2

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

  82. And... by fizban · · Score: 1

    ...right next to your debugger spins a 3-d model of a sofa in a stairwell...

    --

    +1 Insightful, -1 Troll. What can I say, I'm an Insightful Troll.

  83. I assume by fizban · · Score: 1

    that the VS.NET debugger will play everything in C#?

    --

    +1 Insightful, -1 Troll. What can I say, I'm an Insightful Troll.

  84. 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.
  85. 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.

  86. Musical debugging back in 1953 by Anonymous Coward · · Score: 0
    The folks who put together the first swedish computer back in 1953 (BESK) connected a bit one of the registers to a loudspeaker.

    When the bit was toggled, a click was generated.

    Experienced programmers could tell what kind of computation was taking place by listening - differential equations, row reductions etc

  87. Symphonic variations by SteveAstro · · Score: 1

    Would a program that is functionally identical have similar themes executed in different languages ? Could the ears detect dissonances as bugs ? The idea that being able to listen to a program allows some of the most powerful processing algorithms in our brains to work on a problem WHILE you are working on another section is fascinating . Most people who aren't tone deaf can mentally process a tune, and can tell instantly when its wrong.

    Steve

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

    "Memory, you have used up all your Memory"

  89. 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.
  90. More Information About the Project by Nepre · · Score: 1

    For those of you who would like to read more about this, a copy of the research paper is here, and the project home page is here. Enjoy!

  91. reminds me of.... by Hitch · · Score: 1

    the first Dirk Gentley book...
    the big project was a piece of software that would take any set of numbers and convert them into a song...
    the Japanese were supposedly using it to create Anthems from their financial books.

    --
    You see, without that little doohicky, the universe stops.
    http://propheteer.org
  92. Why Pascal? by ehudokai · · Score: 0, Troll
    Why couldn't they have done this for a language that someone actually uses, like C/C++ or Java.

    I would love some help in debugging C/C++ code.

    But debugging pascal, they might as well have a dead man singing.

    --
    This is just sig!
  93. Singing bugs by hackwrench · · Score: 1

    Look... I don't want my bugs to sing... I just want them GONE!

  94. Oh, and With Linux you hear by Snork+Asaurus · · Score: 1

    "Born Free".

    --
    Sigs are bad for your health.
  95. 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".

  96. R3LA TION IS THE key to LeArNiNG!! by necro351 · · Score: 1

    As a researcher in protein folding I can tell you from experience that neural nets have a lot in common with the way humans think (sometimes) and one property they both seem to share is the more related the input data is with other things, the faster the learning rate. Many know this as associativity. These researchers are trying to associate different pitches of bugs with different structual elements, and I think that is great, because now debugging will be faster because we can relate things to pitch as WELL as text, and think in terms of bugs much faster. Now we just need a visual language where the shapes of the objects are dependant upon those objects' methods and members...

    --
    --"You are your own God"--
  97. 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.
  98. 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)
    1. Re:the first version of this I ever heard by Anonymous Coward · · Score: 0

      My God that's funny. I think I have soiled myself.

  99. 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
    2. Re:Back in the Old Days... by Dresdin1 · · Score: 1

      I get to hear all of the USB traffic off of my old Sound Blaster. :)

  100. 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
  101. Thomas Ecclestone by term8or · · Score: 1

    My compiler normally sings to me. It goes something like this

    There may be trouble ahead
    duh,dda,da,da,duh
    but while there's magic, and music, love and romance
    let's face the music and-


    FATAL ERROR 102: There is no error

    --



    "As a writer / novelist you might want to spellcheck your sig. :) " - AC
  102. An Homage to Adams? by Keighvin · · Score: 1

    Is anybody else reminded of Dirk Gently's Holistic Detective Agency (first novel)?

    --
    Any spoon would be too big.
  103. Sound is an essential element of my programming by Anonymous Coward · · Score: 0

    I'm a programmer who uses Hypercard extensively in the development of my website www.public.iastate.edu/~ntandon (cheap plug) and I use a debugger that emits high pitched noises when a bug is found. It continues until I fix the bug. This is what I call eXtreme Programming.

  104. 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.
  105. Microsoft AudioComposer by toybuilder · · Score: 2

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

  106. Practical Applications by CaptainCarrot · · Score: 0, Troll
    They even found a practical application for software debugging

    Now if only someone would find a practical application for Pascal...

    --
    And the brethren went away edified.
  107. Dancing Links? by Sunlighter · · Score: 1

    I wonder how well a musical debugger would illustrate the functionality of Don Knuth's Dancing Links.

    --
    Sunlit World Scheme. Weird and different.
  108. A few suggestions by certron · · Score: 1

    While this is pretty innovative, there are some new problems that are introduced. Written code is ... how can I explain this? The metaphor is that of a physical sheet of paper. It occupies space on the page, you can scroll up or down, etc. While it is really just a long stream of bytes, the way it is presented is visually, and 2-dimensionally.

    With music, it is more a temporal presentation. It's a little difficult to jump ahead or back by a certain amount and be sure of where you are in the code. Well, you would have to listen to it a few times, at the very least (OK, so it is no different from code you have never seen before.)

    It is a different presentation method, and so has different benefits. Personally, I think the musical phrases they use for the different language structures are far too long and complicated. I am imagining it taking 2 minutes to go through a simple program... Also, the audio should have been a compressed format... mp3 or ogg or *something* other than .wav.

    Anyway... A nifty idea overall, I guess. I'm probably jealous that I didn't come up with it first. It's basically text to speech, only not speech...

    --

    fair.org counterpunch.com truthout.com indymedia.org salon.com
    eff.org guerrilla.net debian.org gentoo.org
  109. "gdb -Rez" anyone? by ZeiramMR · · Score: 1

    This really reminds me of the video game Rez by Sega. In Rez, every sound effect folds into the background music (silence at first, but it builds as a stage progresses). Plus, in the game you play a hacker's avatar infiltrating computer networks and destroying viruses.

  110. But seriously by Anonymous Coward · · Score: 0

    I know most of the replies here have been jokes, and I know I'm gunna sound like the regular "that isn't so special" nitpicking that often goes on here, BUT!

    "Sound also offers a new paradigm for exploring data, he said. "Its ability to transmit multiple streams in parallel -- consider the different instrumental parts of the symphony -- and its ability to transmit in time-based rather than spatial domains offer us new ways of interacting with data," he said."

    The eye is the ultimate parallel processor. You distinguish many things all at once, in many different places. While sound offers a similar feature, after adding many "instruments" all you ahve is mush. And as to transmitting in time-based rather than spatial domains... hasn't this guy ever seen a movie? That is both spatial and time based! That offers an additional dimension that sound just can't match. What i want to SEE is code turned into movies, with backrounds according to loops like in this, with objects according to variables, all moving and interacting with each other and with different colors. I bet that would be far more effecient for debugging purposes.

  111. 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 smurd · · Score: 1

      Yep, still use it! I do embedded code for single chip processors. We use an AM radio to listen to the loops - You can actually hear the A/D sample loops, main loop and other stuff. Once you get used to it, you can hear if something goes south much faster then it's going to show up in the device.

    2. 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"
    3. 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.
    4. Re:Everything old is new again by Hugo+Graffiti · · Score: 1

      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.


      The first computer I ever worked on was a Marconi Myriad, a 24-bit computer that had a little speaker. The speaker made a different tone according to which instruction was executing. When our large (at least back then!) real-time air traffic control system was running correctly, it made a very complex noise. But it was a bit like listening to a car engine, you could tell immediately when something went wrong. And of course when it went into a loop there would be just a continuous tone.

      Some of the engineers had created programs to play complete Bach Fugues and the like.

      Eeeh them were days.

  112. Innovation by Flarelocke · · Score: 1

    All the complaints against simply copying proprietary software ideas are because we don't make things like this.

    This, to me, seems extremely innovative. If useful structural and/or syntactic information could be conveyed as music(I don't know how well it works), this could become useful. Even if it never becomes useful, doesn't this make an extremely interesting programming project? Doesn't the idea of coming up with some kind of code-structure parser seem like an extremely interesting project? If open source coders code because we like to code, why hasn't somebody made something like this yet?

    To be fair, there's a few comparable projects that are equally innovative; the one that comes to mind is the ASCII renderer for Quake.

    Now, who wants to make the graphical version?(the one that inputs several code files and outputs a level for Quake III) Apply the idea of music parsing to other fields? Imagine editing a saved game by changing a C to an E#. Imagine a load monitor that plays a symphony when the server is empty and nothing more than a scale on a piano when full? Even if you don't come up with such an original idea yourself, you can still take inspiration from it and apply it to your own endeavors.

  113. 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.

  114. Actually by Anonymous Coward · · Score: 0

    You hear "what a hypocritical dumbass leeching thief". hrm wait, I don't think that is actually a song.

  115. Umm by Anonymous Coward · · Score: 0

    Why does this make me think of Samuel Taylor Coleridge and Pizza?

    Twinkle

  116. 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.

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

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

  118. all the time... by Galapas · · Score: 1

    I use sound all the time to debug, I just put my code live and if I hear swearing down the hall I know theres a bug.

    -G

  119. Damn. by Anonymous Coward · · Score: 0

    You'd have thought that people smart enough to do this would be smart enough to encode low-fi monophonic music in MIDI instead of WAV, for pete's sake.

  120. Excuse me... by ThatTallGuy · · Score: 1
    They even found a practical application for software debugging.
    I must be less geekish than I thought... isn't having a running program "practical"? :)
  121. Ding! by cra · · Score: 1

    My debugger is mute, but my comuter says "Ding!" every time there is a sign of Microsoft developers NOT doing their job of debugging. . .

    --
    This message has been ROT-13 encrypted twice for higher security.
  122. Yeah, that's a known bug. by Anonymous Coward · · Score: 0

    You might try switching to Metrowork's or Borland's IDEs, as Visual Studio has been shown to cause homicidal rages in some cases.



    Oh wait, it's win32 programming that does that. Nevermind...

  123. 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.

  124. Care to hear some of this???? by Dresdin1 · · Score: 1

    I am actually doing some research on this fall. This is the LISTEN project that we are working on at Purdue University. Check out some of the music that was created. I'll be working on a port to JAVA. Pretty cool stuff. I think you can listen to a BubbleSort and a Selection sort compiled into music. http://www.cs.purdue.edu/homes/apm/listen.html I think this could be very useful determining the flow of your code. Multi-threading would be even more fun to find solutions. Whatcha' think?

    1. Re:Care to hear some of this???? by Dresdin1 · · Score: 1

      Sorry. Here's the link again.
      http://www.cs.purdue.edu/homes/apm/listen.html

  125. Dirk Gently by Anonymous Coward · · Score: 0

    Didn't Douglas Adams come up with something like this in one of his weird detective novels?

    I believe it was an musical or singing accounting package.

    Nice try folks, but Douglas Adams had you beat back in the late 80's.

  126. Windows sources? by Ratso+Baggins · · Score: 1

    I guess if the debugger gave relevant tones to the extent/severity of the bug(s), running it over the windows sources may give you the 1812 overture....

    --

    --
    "we live in a post-ideological world..." - Billy Bragg.

  127. Old Apple music by Anonymous Coward · · Score: 0

    If you have access to an old Apple ][+ try this from the Applesoft prompt:

    CALL -151
    300: AD 30 C0 E6 B8 D0 02 E6 B9 4C B7 00
    B1: 4C 00 03
    3D0G

    Then run any old BASIC program that doesn't trash that section of RAM. Or, just type in a few things at the command-line like:

    FOR I = 1 TO 5000 : NEXT

    It's an old trick to hook into the CHRGET routine in Applesoft BASIC so every time a token is fetched it tweaks the speaker. It really did help to debug things.

  128. Trying to explain this to your manager. by LeeRagans · · Score: 1

    Okay, it is hard enough for some managers to understand what we code mokeys do in the first place. Imagine trying to explain to them that something is just out of tune with the code and you need to work on it.

    Of course I would probably find myself trying to get the melody right and then having to explain that their POS system now tracks internet uage patterns because it sounded better.

    But seriously, I think it would be cool to hear your code. I don't think this would really aid in debugging, but it might give some insight into one's design patterns.

  129. Debugging into Sound by mikiN · · Score: 1

    What could it sound like?

    Try "Patterns" by Speedy J, on the Public Energy album... absolutely insane!!!

    --
    The Hacker's Guide To The Kernel: Don't panic()!