Slashdot Mirror


Open Source Speech Recognition - With Source

Paul Lamere writes " This story on ZD-Net and this recent story on Slashdot describes the recent open sourcing of IBM's voice recognition software. This release, unfortunately, doesn't include any source for the actual speech recognition engine. Olaf Schmidt, a developer on the KDE Accessibility Project , is quoted as saying 'There is no speech-recognition system available for Linux, which is a big gap.' In an attempt to close this gap, we have just released Sphinx-4, a state-of-the-art, speaker-independent, continuous speech recognition system written entirely in the Java programming language. It was created by researchers and engineers from Sun, CMU, MERL, HP, MIT and UCSC. Despite (or because of) being written in the Java programming language, Sphinx-4 performs as well as similar systems written in C. Here are the release notes and some performance data."

404 comments

  1. Aim You Sing Ate Write How by Anonymous Coward · · Score: 5, Funny

    Ate lurks barry wall.

    1. Re:Aim You Sing Ate Write How by BarryJacobsen · · Score: 5, Funny

      Ate lurks barry wall.

      Who ate my wall?

    2. Re:Aim You Sing Ate Write How by Anonymous Coward · · Score: 0

      What this story needs is another plug for a KDE project -- every story on slashdot should contain at least two gratuitous links to KDE vapourware projects.

    3. Re:Aim You Sing Ate Write How by Tore+S+B · · Score: 1

      Not to mention the famous Apple T-shirt given out to its speech recog employees:
      "I helped Apple wreck a nice beach" :)

      --
      toresbe
    4. Re:Aim You Sing Ate Write How by patp · · Score: 1

      The ZipCity test app works well if you put on an american accent. Otherwise, no luck.

    5. Re:Aim You Sing Ate Write How by Anonymous Coward · · Score: 0

      When they can translate this, I'll start using them.

      One-one was a racehourse.
      Tutu was one too.
      Tutu won one race
      One-one won one too.

    6. Re:Aim You Sing Ate Write How by Dr.+Cody · · Score: 1

      I think he's working on a dadaist version of NetHack

    7. Re:Aim You Sing Ate Write How by Anonymous Coward · · Score: 0

      Try it again after you get over your cold, Scottie.

  2. Java!?! by Anonymous Coward · · Score: 3, Funny

    Quick someone port this to C.

    1. Re:Java!?! by Anonymous Coward · · Score: 0

      LOL, that's what I thought. Is this thing going to have a stuttering problem being written in Java?

    2. Re:Java!?! by kaffiene · · Score: 0

      the typical slashbot brain at work. well done.

    3. Re:Java!?! by Anonymous Coward · · Score: 0

      Yes please! We can't write buffer-overflow viruses for Java programs!

    4. Re:Java!?! by darkonc · · Score: 4, Funny
      Quick someone port this to C.

      Just be glad it wasn't written in Lisp.

      --
      Sometimes boldness is in fashion. Sometimes only the brave will be bold.
    5. Re:Java!?! by GuyWithLag · · Score: 1

      If it was written in Lisp, it would be at least compilable to an executable, whereas with Java you need a 25+Megs runtime....

    6. Re:Java!?! by Anonymous Coward · · Score: 0

      I'm proud to announce I'm working on the Brainfuck port. Glad it can't understand my cursing yet. (Why yes, the Brainfuck version will not only recognize but also understand. It's a feature of the language. Why not learn it if you don't believe!)

    7. Re:Java!?! by Lumpy · · Score: 2, Informative

      there are problems with it being in java.

      Embedded sysrtems can not use it without huge overhead. if it was in C then it could really give a boost to the embedded linux market.

      Sigh, it's still a huge gap to what I do, No room for a Java VM in the embedded systems until I double all my costs on the hardware.

      on another note, it just might help fill in the other huge gap in linux. There is no Navigation software to use with map data and a GPS.

      and no kiddies, GPSdrive is NOT navigation.

      --
      Do not look at laser with remaining good eye.
    8. Re:Java!?! by Glock27 · · Score: 2, Informative
      Embedded sysrtems can not use it without huge overhead. if it was in C then it could really give a boost to the embedded linux market.

      Check out gcj. One of it's primary uses is targeting embedded systems. It's quite lean and mean for a Java runtime.

      HTH.

      --
      Galileo: "The Earth revolves around the Sun!"
      Score: -1 100% Flamebait
    9. Re:Java!?! by leinhos · · Score: 4, Informative

      Can't gcc compile java code directly to native binary code?

      Does this mean that one could make a shared library out of the java code for C-programmers to use?

    10. Re:Java!?! by Anonymous Coward · · Score: 0

      A Speech Recognition Program in Lisp isn't as funny as a Speech Synthesizer Program written in Lisp.

    11. Re:Java!?! by Anonymous Coward · · Score: 0
      Sphinx 4 is the port. Sphinx 3.x is written in C. Both systems use the same acoustic models.

      Incidentally, Sphinx 3 development has resumed recently and is up to Sphinx 3.4 now. Performance and accuracy are much improved over version 3.3, to the tune of 1.0-1.5x real time instead of 3.0-4.0x real time. It blows Sphinx 2 and 3.3 (and 4) out of the water.

    12. Re:Java!?! by GooberToo · · Score: 1

      Depends on the code and because jgc (IIR the name correctly), doesn't currently optimize very well at all. Generally, last I heard, the generated code is often much slower than the JAVA JVM instance and much slower than a C-port.

  3. withOUT source surely? by RobertTaylor · · Score: 3, Funny

    "Open Source Speech Recognition - With Source"

    "This release, unfortunately, doesn't include any source for the actual speech recognition engine."

    1. Re:withOUT source surely? by sploo22 · · Score: 2, Interesting

      That's for the IBM one, dummy. Let me guess - you saw that sentence and had an instant knee-jerk reaction without reading the rest of the summary to find out what it's talking about.

      --
      Karma: Segmentation fault (tried to dereference a null post)
    2. Re:withOUT source surely? by Wescotte · · Score: 1

      Yup, I didn't RTFA either but I did completely read the summary.. Well, maybe just more of it than you :)

      In an attempt to close this gap, we have just released Sphinx-4, a state-of-the-art, speaker-independent, continuous speech recognition system written entirely in the Java programming language.

    3. Re:withOUT source surely? by ilikejam · · Score: 1

      Welcome to Slashdot.

      --
      C-x C-s C-x k
    4. Re:withOUT source surely? by Anonymous Coward · · Score: 0

      This takes not reading TFA to a whole new level...

    5. Re:withOUT source surely? by ratpack91 · · Score: 0, Flamebait
      Yup I'm sincerely sorry about the mods around here. Your parent gets +1 Informative and +1 insightful while you get flamebait!!!???

      What is happening to this place? Has the price of crack fallen or something. Anyway I here you.

    6. Re:withOUT source surely? by Anonymous Coward · · Score: 0

      Any chance you are German?

      (lack of sense of humour...!)

    7. Re:withOUT source surely? by Anonymous Coward · · Score: 1, Insightful

      I here you?

      I HEAR you you ignorant fucker.

    8. Re:withOUT source surely? by ColaMan · · Score: 1

      It just reminds me of that Simpson's episode about the Stonecutters with Patrick Stewart - where he says "And now, the final ordeal: the 'paddling of the swollen ass' - with paddles!"

      --

      You are in a twisty maze of processor lines, all alike.
      There is a lot of hype here.
    9. Re:withOUT source surely? by Anonymous Coward · · Score: 0

      He's probably still using Sphinx2!

    10. Re:withOUT source surely? by jrockway · · Score: 1

      C-x C-s C-k ENTER M-x tetris, you mean, right :)

      --
      My other car is first.
    11. Re:withOUT source surely? by Anonymous Coward · · Score: 0

      what's odd is that sphinx 2 had all the source code available. maybe that was just the carnegie melon folks and not all these vendors. maybe after the lawyers take a look at what the other lawyers drew up, they can discuss it and then look at more papers. and then maybe release the source.

    12. Re:withOUT source surely? by Baseclass · · Score: 1
      Apparently several others thought the same thing because it got modded Funny.

      Unless it's funny because they're laughing at him.

      --
      ^^vv<><>BA
  4. voice objects by ohzero · · Score: 1

    These guys have built a java based middleware portion of their application suite that handles speech regognition and t2s: www.voiceobjects.com Seems like the VCs have this week's "big thing" keyed up.

    --
    -- http://www.criticalassets.com
  5. Some moderator didn't get the joke by Anonymous Coward · · Score: 0

    Say it out loud and imagine bad speech recognition.

  6. Java comment by Aragorn992 · · Score: 3, Insightful

    Despite (or because of) being written in the Java programming language, Sphinx-4 performs as well as similar systems written in C.

    Im sick of these comments. Anyone that needs to know about the performance of Java knows its very fast. Why bother commenting about it anymore?

    Its like saying "... and because it was written in C, its very fast...", as if we didn't know already.

    1. Re:Java comment by Taladar · · Score: 4, Insightful

      Java might be as fast as C in Code Execution but if you want to build a library that Open Source Applications outside the Java-Developer-niche use you have to write it in C. C is still THE No. 1 language for libraries for use in programs written in lots of different programming languages.

    2. Re:Java comment by Anonymous Coward · · Score: 0

      You had me there until you said "how they can get into .NET"....

    3. Re:Java comment by Zebra_X · · Score: 1

      Funny, as an end user of those applications I ... feel... like ... I ... am ... constantly... WAITING, FOR SOMETHING, a screen refresh, button click, tree menu to expand, what I'm really waiting for is a reasonably performing java app. Floating point operations, interger math, and benchmarks may say java is fast, but as an end user, it's Slow.

    4. Re:Java comment by Anonymous Coward · · Score: 0

      Then whoever wrote your application did a piss poor job of threading the interface. It's awfully easy to write a very responsive graphical Java program.

    5. Re:Java comment by IgnoramusMaximus · · Score: 1
      WAITING, FOR SOMETHING,

      I am with you, brother. I think "Waiting For Something To Happen" is the Java motto. In my long experience with oodles of java (cr)apps which the Banks, IBM and various other "fad-of-the-week" pointy hair boss infected places make us use, I did not see a single, I repeat, single Java app that had interactivity even remotely approaching that of any other language.

      For Pete's sake, we have VB apps that smoke Java any minute! I mean that must be some kind of a truly cosmic insult.

    6. Re:Java comment by Megaslow · · Score: 1
      In my long experience with oodles of java (cr)apps

      I thought of two apps off the top of my head that are very responsive: jEdit and jDiskReport. Try one or both of them out, I'm sure you'll be surprised.

      On a tangentially related note, check out these pictures of a whiteboarded Java timeline at the 2004 JavaOne conference, there's some neat memories and comments in there. One of the attendees called it "a real life wiki".

    7. Re:Java comment by IgnoramusMaximus · · Score: 1
      I thought of two apps off the top of my head that are very responsive: jEdit and jDiskReport. Try one or both of them out, I'm sure you'll be surprised.

      I am sure one could create some small applets which after being carefully optimized would run well but jEdit and jDiskReport are nowhere near anything like SQL Database Administration tools and Enterpise Online Banking applications. And that is what I deal with daily. And at those levels of complexity, frankly, Java sucks donkey balls.

      Oh and even jEdit and jDiskReport requre the monstrous ~64MB per instance memory footprint on a Win2K Terminal Services machine for example (thats what Java VM does). You run 10 of these (in 10 user sessions) and it takes more memory then 10 instances of Outlook (they share the DLL's) and this is indeed nothing to brag about.

    8. Re:Java comment by Anonymous Coward · · Score: 0

      You have to write the interface in C.

      This is trivial in C (obviously) and C++, and difficulty varies for other languages.

    9. Re:Java comment by GuyWithLag · · Score: 1

      Interesting. Last time I've used jEdit, the memory used was indicated in the bottom right of the window, and it didn't rise over 6 megs. Admittedly, there should be move overhead that that and from the people that I know that use JEdit I have the smallest collection of plugins, still...

    10. Re:Java comment by IgnoramusMaximus · · Score: 1
      Interesting. Last time I've used jEdit, the memory used was indicated in the bottom right of the window, and it didn't rise over 6 megs.

      I was being facetious. The actual requirements for jEdit are probably less then 64MB, note however that jEdit is tiny compared to the apps we must use, the memory usage it shows does not include the VM itself (look at the tasklist instead of what jEdit tells you, windows heap analysis tools are also helpful in this) and unlike regular Windows apps, the OS does not understand .jar libraries and thus does not share them among tasks. DLL's are normally only loaded once and shared among tasks/users (while being in a CPU-protected read-only memory area). It appears (at least from our experience) that each instance of a Java VM's tends to allocate copious amounts of memory for these libraries. Therefore with increasing number of instances, any serious Java app will quickly outpace native one in memory usage due to the needles duplication of these areas. Also jEdit is being showcased as a model of a well-written Java app, something I find nearly as elusive as the Iraqi WMDs.

    11. Re:Java comment by GuyWithLag · · Score: 1

      Actually, on my system jEdit takes about 30 megs of virtual memory.

      Oh, I agree with you on all points - I'm a Java developer in this life. Java will never be mainstream on the desktop for this exactly reason - a single application is too heavyweight.

    12. Re:Java comment by Arthur+Dent · · Score: 1

      Uh, you're being facetitous right?
      Try Eclipse.

    13. Re:Java comment by mollymoo · · Score: 1
      Floating point operations, interger math, and benchmarks may say java is fast, but as an end user, it's Slow.

      I guess they shouldn't have written this voice-recognition app using drop-down menus instead of arrays and checkboxes instead boolean variables then.

      Oh, hang on...

      --
      Chernobyl 'not a wildlife haven' - BBC News
    14. Re:Java comment by Anonymous Coward · · Score: 0

      It's awfully easy to write a very responsive graphical Java program.

      If it is so easy, why do so many graphical Java applications suck?

    15. Re:Java comment by Anonymous Coward · · Score: 0

      really? so it's easy to use that JAVA app on my Alpha based embedded platform with 64 meg of ram and 8 meg of storage?

      Java is great for big fast desktops. It's useless for everywhere else.

      and it IS slower, no matter how you try and spin it it is still an interpeted language and is not as fast as a natively compiled app.

    16. Re:Java comment by gbjbaanb · · Score: 1

      I bet he wasn't being facetious - he was using AWT or Swing.

      Its a pity (well, a design 'feature' of Java) that to get good desktop performance out of Java, one has to use a library that ... doesn't use Java (ie use Eclipse, that uses native widgets).

    17. Re:Java comment by dnoyeb · · Score: 1

      Thats probably why many JVMs are written in C...

    18. Re:Java comment by Taladar · · Score: 1

      Not to mention that it is worthless to have exactly one responsive Java App which is itself a Java Development Tool.

    19. Re:Java comment by Taladar · · Score: 1

      The point is that you can not use Java Library from any other Programming Language than Java so to use this Library you have to write your App in Java as well where it suffers from this problems

    20. Re:Java comment by Just+Some+Guy · · Score: 1
      C is still THE No. 1 language for libraries for use in programs written in lots of different programming languages.

      That's why it's particularly nice to see projects breaking away from the "everything in C!" mindset in favor of languages more suited to large-system development. Sure, you can build an entire system on pure C, but you could say the same of any Turing-complete language with an IO library. The question is whether C is the best choice, and it's becoming increasingly clear that the answer is no.

      Go Sphinx-4! Don't forget to write Python bindings, OK?

      --
      Dewey, what part of this looks like authorities should be involved?
    21. Re:Java comment by IgnoramusMaximus · · Score: 1
      Try Eclipse.

      No I wasnt kidding. And I am not at liberty of trying any toolkits, I do not develop these apps, I merely am in the unfortunate position of being forced to use them. So no toolkits or what not are going to help here.

    22. Re:Java comment by Anonymous Coward · · Score: 0
      You Know what i Don't Get? why People like you Capitalize random Words in the Middle of the sentence.

      Capitalization is for Proper Names and Words at the Beginning of Sentences, not just for whatever Words you feel are Important That Day.

    23. Re:Java comment by Zebra_X · · Score: 1

      threading the interface

      threading is usually a last resort for poorly performing applications.

      Easy to write != Threading.

  7. But what about text to speech? by Anonymous Coward · · Score: 5, Interesting

    When are we going to get GOOD text to speech, that uses modeled parameters of human vocal tracts rather than stitching together a bunch of pre-recorded phonemes?

    1. Re:But what about text to speech? by QuantumG · · Score: 4, Informative

      By we I assume you mean "the open source community" and the answer is "when you get off your ass and code it". If by "we" you mean the world at large then go and look at AT&T's Natural Voices project.

      --
      How we know is more important than what we know.
    2. Re:But what about text to speech? by DAldredge · · Score: 3, Interesting

      It still doesn't sound natural, this text sounds like a female Kirk read it.

      We would like to know if something does not sound quite right. After entering some text and listening to it, please fill out a feedback form and tell us what was mispronounced. And please note that no language translation is done so, for example, if you choose a French voice you should submit French text.)

      (That text is from the same page.)

    3. Re:But what about text to speech? by Sheetrock · · Score: 5, Funny

      Given that there is already a rudimentary text-to-speech package available for Linux, and now a speech-to-text package, perhaps the secret is to pipe one to the other in a closed loop until one learns how to enunciate and the other how to listen?

      --

      Try not. Do or do not, there is no try.
      -- Dr. Spock, stardate 2822-3.




    4. Re:But what about text to speech? by QuantumG · · Score: 1

      Yep, you're right. The voice is fine, it's the pronounciation and the complete lack of feeling that sux. I think what they need to do is get recordings of people reading a passage. Then make a speech synth that produces a similar sounding voice. Get it to read the same passage and then train it to produce identical output to the natural speaker. Repeat this with a few hundred passages and you'll capture a single person's reading style.

      --
      How we know is more important than what we know.
    5. Re:But what about text to speech? by MarcoAtWork · · Score: 2, Funny

      I think it's more likely that this will degenerate into some sort of c3po 'language' after a few passes: beep BOOP beep beep blip

      --
      -- the cake is a lie
    6. Re:But what about text to speech? by Anonymous Coward · · Score: 0

      If I comment on your sig, I'm not going to become a statistic in some TrollBack report, am I?

    7. Re:But what about text to speech? by Dr+Reducto · · Score: 1

      That would be a pretty fucked up way of playing "telephone".

    8. Re:But what about text to speech? by Zork+the+Almighty · · Score: 1

      Garbage in, garbage out.

      --

      In Soviet America the banks rob you!
    9. Re:But what about text to speech? by OneDeeTenTee · · Score: 2, Funny

      But I like my text-to-speech output when it sounds like a Berserker. -Goodlife

      --
      Stop the world; I need to get off.
    10. Re:But what about text to speech? by cheezit · · Score: 3, Interesting

      I'm thinking it might be a bit more complicated than that...the human voice is unfortunately far too expressive.

      Have the same person read the same passage ten times the same way and you will get ten very different results. Ask them to change tones/emotions and it will be even different.

      --
      Premature optimization is the root of all evil
    11. Re:But what about text to speech? by NichG · · Score: 1

      There's a program called Praat that does this. However, you need a medical degree, or at least working knowledge of the muscles of the human vocal tract and what positions the must be in to produce certain sounds, in order to get any use out of it. After about 5 hours of playing with the parameters, I got it to say 'e'.

      Now, if someone were to make a program that generated coordinates for the muscles that corresponded to going between different uterances, we'd be in business.

    12. Re:But what about text to speech? by mevans · · Score: 3, Interesting

      I was sitting in English class one day, and working on a paper - a friend was editing, and I was looking to make a copy of the paper. Having no disks and a finnicky network, we decided to run text-to-speech on my machine and speech-to-text on hers. Needless to say, my paper on the Medicare Reform Bill of last year became garbage. - Evidence of a lossless transfer!

    13. Re:But what about text to speech? by Chris+Oz · · Score: 3, Funny

      More creatively why not pioneer IP over voice. Then you could do IP over Voice over Voice over IP ... :)

      In fact I suspect it sounds like a good RFC that could be released early next April. It would have to be an improvement over IP over Avain Carrier.

    14. Re:But what about text to speech? by merdark · · Score: 1

      You cannot achieve what you want without the reader understanding context. Since computers can't yet understand context, we can't yet build such a system.

      The counterpart to this, is of course the inference of context and meaning from text, which computers are poor at. The only attempt at doing this, and indeed tying it to synth or recognistion of voice, is the Cyc people.

    15. Re:But what about text to speech? by LnxAddct · · Score: 2, Informative

      Look around at the shpinx project and freetts. Alot of really good voice stuff going on. FreeTTS is excellent, and if you've got time, you can even model your own voice:) Anyway... I forget which of the two sites I got to it from (think it was sphinx) and its got a whole scenario with an airport calling program, its very very nice and sounds great.
      Regards,
      Steve

    16. Re:But what about text to speech? by merdark · · Score: 0, Flamebait

      By we I assume you mean "the open source community" and the answer is "when you get off your ass and code it".

      This comment is great. The arrogance of many open source people astounds me.

      Non-programmer: Hey, I switch to this open source stuff which you say is better. It's cool, but it really needs feature X.

      Arrogant-open-source-programmer: That's the beuty of open source. You can get off your ass and code it yourself!

      Outcome: Non-programmer can't code it. Arrogant-open-source-programmer continues to scratch his itch. As a result, we have 10 thousand poor ass themes and numerous barely functional programs for each task. But what would be best is at least ONE good, working, application for each task.

      So to you a "community" is a bunch of people who only do things which they themselves want and never help each other? Weird.

    17. Re:But what about text to speech? by IgnoramusMaximus · · Score: 2, Insightful
      So to you a "community" is a bunch of people who only do things which they themselves want and never help each other? Weird

      Like any community we get all kinds. There are those who do as you say. But there are also those who care for non-programmers and try to accommodate them. It all depends. In the case of a hard-core problem like speech recognition/synthesis (which is nowhere near acceptable level of scientific understanding) you are likely to get more of the "go code it yourself" kind because this area is prone to be inhabited by people who are arrogant "know-it-alls" but also unable to do anything about it. On the other hand, sometimes the questions asked by the "non-programmers" are also arrogant and of "Gimme now! Free! Now! Or I will hold my breath!" variety of attitude, which will be dealt with accordingly.

    18. Re:But what about text to speech? by winterlens · · Score: 4, Insightful

      Probably because speaking is incredibly complicated, and providing realistic speech from unmarked text is an intractable problem.

      When you write something down, you don't provide a pronunciation guide. Rather, the reader is guided by context. For instance, if I write the word "import", how do you pronounce it? If we're talking about trade deficits, you probably know that the stress is on the second syllable; but if we're discussing meaning, the stress is on the first.

      How do we expect computers that have a difficult time with context to make a pronunciation decision? This is a serious barrier to "good" text to speech (whatever "good" means).

      If you mean that you want the voice to sound more natural, even if it's pronouncing words incorrectly, you still have a lot of hard problems. For instance, the muscles in the tongue and lips move differently based on how phonemes are grouped. Coarticulation models are difficult to construct, and when you try to account for a convincing number of muscles and vibrations, the problem may quickly become intractable.

      Not only do we have to pay attention to the physics of speaking, but also the physics of hearing. The amount of signal processing involved can be pretty staggering if you're going to implement a complete system. Thierry Dutoit has a really good book on the subject called An Introduction to Text-to-Speech Synthesis. You should check it out if you want a somewhat more exhaustive answer to your question.

    19. Re:But what about text to speech? by misleb · · Score: 2, Insightful
      Exactly how is it arrogant to suggest someone make something themselves if they want it so bad? It may not be productive or helpful, but it certainly isn't "arrogant." Perhaps the non-programmer should have considered that what is better to a programmer is not necessarily better to everyone else. I mean, I don't go making my car buying decisions based on the suggestion of a truck driver. Otherwise I might end up with a Mack tractor and nothing to haul...

      Non-programmer can't code it. Arrogant-open-source-programmer continues to scratch his itch. As a result, we have 10 thousand poor ass themes and numerous barely functional programs for each task. But what would be best is at least ONE good, working, application for each task.

      Why not just be grateful for what you *can* get out of open-source software? It is free, isn't it? Quit whining.

      So to you a "community" is a bunch of people who only do things which they themselves want and never help each other? Weird.

      Never help each other? Are you kidding me? Most open source projects depend on many libraries and much code written by others. Just putting your code into the public domain is helping others. And it isn't uncommon for programmers on one project to contribute to another. Where in the world do you get the idea that open-source developers don't help each other?

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    20. Re:But what about text to speech? by Fred_A · · Score: 1

      A side effect of compression surely. You do realize the savings in bandwidths though (as compared to retyping). ;)

      --

      May contain traces of nut.
      Made from the freshest electrons.
    21. Re:But what about text to speech? by silentbozo · · Score: 1

      Given that there is already a rudimentary text-to-speech package available for Linux, and now a speech-to-text package, perhaps the secret is to pipe one to the other in a closed loop until one learns how to enunciate and the other how to listen?

      Actually, that's not a bad idea. Using such a feedback system (where output from one system is used in conjunction with a training set to score and modify the other system) you can iteratively attempt to train the output system to reproduce someone's vocal patterns (assuming that there are enough parameters that can be varied.)

    22. Re:But what about text to speech? by logicnazi · · Score: 1

      This isn't going to do us much good. We already have text to speech programs that are better than someone trying to read in a computery voice with the wrong pauses. The problem is mimicking our pronunciation not merely making sounds within the human vocal capability.

      --

      If you liked this thought maybe you would find my blog nice too:

    23. Re:But what about text to speech? by silentbozo · · Score: 2, Insightful

      You cannot achieve what you want without the reader understanding context. Since computers can't yet understand context, we can't yet build such a system.

      I disagree. If computers can't understand context, then don't use the computer to provide the context. Instead, use humans to annotate text using emotional markers, in the same way that composers and conductors add accents and other notations to sheet music. Although you can sort of do this now by explicity indicating phonemes, a better system would allow you to "markup" plain text with emotional cues that would be interpreted by whatever speech engine is being used.

      Something like what MIDI programs do that allow you to manipulate sequences and add attacks, change insturments, etc. This would allow you to still "perform" a text-to-speech, using the computer-synthesized voice as the instrument. A more advanced system would couple a speech recognition and pitch analysis system to automatically manipulate a speech output program, so an actor could perform a line using their own voice, but be able to "puppet" the line into someone else's voice.

    24. Re:But what about text to speech? by zerblat · · Score: 1
      But why? If you need a human to mark up prosody/intonation/stress/etc, it's not really automatic speech synthesis, is it? So, why not just record the person reading the text, instead of making them learn some complicated mark-up language?

      Besides, for most real world applications of speech synthesis, making it natural sounding isn't really that important. Intelligibility is more important (and the most natural sounding speech synthesizers aren't necessarily the most intelligible).

      --
      Please alter my pants as fashion dictates.
    25. Re:But what about text to speech? by Anonymous Coward · · Score: 0
      Mechanistically-correct text-to-speech would be interesting. You would not simply need vocal chords - you would have to do something analogous to ray-tracing (only for longitudinal waves) to transfer the sounds generated through the system and out the mouth.


      To represent a phoneme, then, you would have to not only minic the sound generation, you'd also have to model how the mouth altered that sound, which means that you've got to understand facial expressions and how they relate to speech.


      The problem is definitely non-trivial.


      Speech recognition, mechanistically done, would be almost as bad. You'd really need to sample at the highest frequency for which the specific frequencies the ear is built to listen to the best are all denominators.


      In addition, there's really not much evidence that the brain "recombines" those frequencies. On that basis, a mechanistically-correct speech recognition system would need to take those frequencies in in parallel. The ear is sensitive to a great many frequencies, so you'd need more than a single stereo ADC chip to handle this.


      Because the brain isn't terribly well understood, it might be best to pass the signals through a neural net of some kind, with equal numbers of inputs and outputs. The recognition software could then program the neural net to mix and merge the individual streams as needed to produce a clearer signal to process.


      The ear doesn't just process sound, though. It also processes balance. There are studies which show that sound "encoded" in such a way that it contains the characteristics and textures of the sound actually reseived by the two human ears ALSO includes information on balance. Where the recording device tilts sharply, thus changing the "metadata" for the audio (if you like to think of it that way), a person listening is likely to lose balance (at least partially) at that same point.


      I am going to argue that one interpretation of this is that the various functions of the brain are inter-related. That trying to mimic one in isolation may be a mistake, and that the correct solution may be to copy the system in its entirity.

    26. Re:But what about text to speech? by Olivier+Galibert · · Score: 1

      Nobody knows how to actually do it at that point, open source or not.

      OG.

    27. Re:But what about text to speech? by Bertie · · Score: 1

      Clearly you don't know what goes into making a text-to-speech voice. The process involves taking a poor unsuspecting voice artist, putting them in a studio and getting them to recite enormous amounts of carefully chosen text. I'm talking many dozens of hours of recordings here. Then these recordings are used to build a model of that person's voice, the idea being that there's sufficient data to capture just about every nuance of how that person speaks. There are some very good systems out there - just yesterday I was listnening to a Spanish voice from Loquendo and I really was quite hard pressed to tell it from a human being - when I overheard it coming out of my colleague's speakers, I thought he was listening to the news. Rhetorical make some of the best English TTS voices. Have a play with them. You might be surprised how good they actually are.

    28. Re:But what about text to speech? by Baseclass · · Score: 1
      Try not. Do or do not, there is no try.
      -- Dr. Spock, stardate 2822.3.

      "Do, or do not. There is no 'try.'"
      -- Jedi Master Yoda, a long time ago.

      --
      ^^vv<><>BA
    29. Re:But what about text to speech? by merdark · · Score: 1

      Exactly how is it arrogant to suggest someone make something themselves if they want it so bad? It may not be productive or helpful, but it certainly isn't "arrogant."

      It is arrogant in the following sense. Many people in the open source community go on and on about the wonders of open source and how much better it is than closed source software. It is often these same people who go and yell at end users to "quit whining and do it themselves". Hence it's arrogant. If these elements of the community only want open source software to exist, then they will have to cater to the end users who can't program but need certain features. In the real world, people need all sorts of software, much of it is not "fun" to code.

      Why not just be grateful for what you *can* get out of open-source software? It is free, isn't it? Quit whining.

      I'm not whining. I can program. I use proprietary software when appropriate, and open source if it's avaliable and works. I'm only pointing out something that annoys me terribly about the open source community.

      If the community is going to keep telling people to ditch windows and go completely open source with Linux, then they these same people should be willing to provide the missing pieces. It's kind of like a group of people telling a blue collar worker, "hey, come with us, we have this awsome community where you don't have to kiss your bosses ass and have no life", then turning around when that person DOES come, and saying "you want a HOUSE? HA, get off your ass you lazy shit and go build it yourself. We're not helping."

      Never help each other? Are you kidding me? Most open source projects depend on many libraries and much code written by others. Just putting your code into the public domain is helping others. And it isn't uncommon for programmers on one project to contribute to another. Where in the world do you get the idea that open-source developers don't help each other?

      So you are saying open source software is only for programmers? What about non-programmers? They should just use windows and mac? Fine. But they don't go telling them to switch!

    30. Re:But what about text to speech? by misleb · · Score: 1
      It is arrogant in the following sense. Many people in the open source community go on and on about the wonders of open source and how much better it is than closed source software. It is often these same people who go and yell at end users to "quit whining and do it themselves". Hence it's arrogant. If these elements of the community only want open source software to exist, then they will have to cater to the end users who can't program but need certain features. In the real world, people need all sorts of software, much of it is not "fun" to code.

      That isn't arrogance. It is simple zealotry. Arrogance implies a sense of superiority. In this case, it is quite opposite of arrogance as the open-source zealot is assuming others are capable (or willing) of something they are not.

      I'm not whining. I can program. I use proprietary software when appropriate, and open source if it's avaliable and works. I'm only pointing out something that annoys me terribly about the open source community.

      You were whining about how open-source doesn't deliever good applications to solve every problem.

      If the community is going to keep telling people to ditch windows and go completely open source with Linux, then they these same people should be willing to provide the missing pieces.

      If they are talking to the management of whatever company they work for, yes. Otherwise, they are under no obligation to provide anything for you personally. Quit whining.

      It's kind of like a group of people telling a blue collar worker, "hey, come with us, we have this awsome community where you don't have to kiss your bosses ass and have no life", then turning around when that person DOES come, and saying "you want a HOUSE? HA, get off your ass you lazy shit and go build it yourself. We're not helping."

      If I understand you correctly, this is some allusion to communism. As an analogy to open-source it doesn't quite work because the open-source community IS helping. They provide a significant amount of help in the form of an operating system, many utilities, applications, and the corresponding source code. If there is something lackign that you need, you should consider building it youself. That is just how the community works. It doesn't work well if filled with too many freeloaders expecting everything to be done for them... just like communism (or any system for that matter).

      Never help each other? Are you kidding me? Most open source projects depend on many libraries and much code written by others. Just putting your code into the public domain is helping others. And it isn't uncommon for programmers on one project to contribute to another. Where in the world do you get the idea that open-source developers don't help each other?

      So you are saying open source software is only for programmers? What about non-programmers?

      It is for anybody willing to participate in the community. Whether it is helping others or programming. Personally, I don't do much programming, but I do get on IRC or mailinglists or web forums and help others use open-source software. And if others want to just use open-source software without participating, that is fine too, but they shouldn't expect to get help if they don't give it.

      They should just use windows and mac? Fine. But they don't go telling them to switch!

      If Microsoft doesn't fulfill my needs, should I go complain to the FCC to get Microsft to stop telling me to switch? No, that would be stupid whining.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
    31. Re:But what about text to speech? by merdark · · Score: 1

      Arrogance implies a sense of superiority.

      I'd say that a large majority of open source proponents think they are superior because they use and promote open source software.

      You were whining about how open-source doesn't deliever good applications to solve every problem.

      Pointing out faults in your development model of choice does not constitute whining. Stop trying to gloss over the issue by throwing insults.

      If they are talking to the management of whatever company they work for, yes. Otherwise, they are under no obligation to provide anything for you personally. Quit whining.

      Again, pointing out faults of open source software does not constitute whining. Did I ever once say that people should make software for me personally? No. I said that if people are going to try to "take over the desktop" and attract end users to open source, then they should follow through and support these users. Otherwise they should not be proposing that 'community support' is a good substitution corporate support. And that is exactly what many open source advocates expouse.

      If I understand you correctly, this is some allusion to communism. As an analogy to open-source it doesn't quite work because the open-source community IS helping. They provide a significant amount of help in the form of an operating system, many utilities, applications, and the corresponding source code. If there is something lackign that you need, you should consider building it youself. That is just how the community works. It doesn't work well if filled with too many freeloaders expecting everything to be done for them... just like communism (or any system for that matter).

      So first you say that open source is not like communism. Then you conclude that open source is just like communism. Make up your mind. And consider that the 'idea' of communism is not nesserily bad, but the historical implmentations of it certainly were.

      If Microsoft doesn't fulfill my needs, should I go complain to the FCC to get Microsft to stop telling me to switch? No, that would be stupid whining.

      If Microsoft made claims that they did not back up, then yes, you could complain to the appropriate government agency. Truth in advertising may be dying, but last I checked it is still law.

      I am getting the impression that you think open source software is only for those capable of filling in the gaps. You don't seem to think it is appropriate for end-users who don't *want* to help, but still need functional software. Yes, Redhat and friends partially fill this role, but there are thousands of open source programs for which payed support is not avaliable.

    32. Re:But what about text to speech? by misleb · · Score: 1
      I'd say that a large majority of open source proponents think they are superior because they use and promote open source software.

      Maybe, maybe not. I don't see how this arrogance is demonstrated by your rather exagerated restatement of their sentiments/claims.

      Pointing out faults in your development model of choice does not constitute whining. Stop trying to gloss over the issue by throwing insults.

      Pointing out the whininess in your tone of choice doesn't constitute an insult. So there are some people out there who REALLY like open-source software and would like to see more people using open-source software, big deal! Get over it.

      Again, pointing out faults of open source software does not constitute whining. Did I ever once say that people should make software for me personally? No. I said that if people are going to try to "take over the desktop" and attract end users to open source, then they should follow through and support these users.

      They do support those end users. THere are thousands of forums out there and millions of people volunteering support. I'm sorry that it doesn't live up to your personal expectations which were apparently created by some overzealous advocates. How many times has a commercial entity advertise "world class support" just to find out that "world class" just means they use call centers overseas?

      So first you say that open source is not like communism.Then you conclude that open source is just like communism. Make up your mind. And consider that the 'idea' of communism is not nesserily bad, but the historical implmentations of it certainly were.

      I didn't say open source is a lot like communism, you implied it through your allusion. Unfortunately, both your allusion and analogy were faulty because both communism and open-source offer help. Pehaps not the kind and magnitude of help you desire, but help nontheless.

      I am getting the impression that you think open source software is only for those capable of filling in the gaps. You don't seem to think it is appropriate for end-users who don't *want* to help, but still need functional software. Yes, Redhat and friends partially fill this role, but there are thousands of open source programs for which payed support is not avaliable.

      I offer paid (and sometimes free) support for open-source software on a daily basis. I don't know what you are talking about. No, it isn't as convenient and rewarding as dialing a call center in India, but it is paid support nontheless.

      -matthew

      --
      "THERE IS NO JUSTICE, THERE IS ONLY ME." -Death
  8. Re:Speech Recognition is a Mature Technology. by Anonymous Coward · · Score: 2, Insightful

    Yeah i'm sure it's just that easy... you dumb f*ck

  9. IBM gave me speech recognition a decade ago by Anonymous Coward · · Score: 2, Interesting

    In OS/2. Really, it was just about a decade ago. It worked pretty well, especially when you take into account the computer power of the time.

    1. Re:IBM gave me speech recognition a decade ago by Lisandro · · Score: 1

      IBM also had a very decent speech recognition software for Windows 3.1 - i can't recall it's name, but on a 486 it managed to recognize speech with surprising accuracy. It needed a lot of training and time to process that data though.
      I think it was the same software that was ported to OS/2 (WebSphere?).

      Anyway, IBM knows it's stuff in this field.

    2. Re:IBM gave me speech recognition a decade ago by Anonymous Coward · · Score: 0

      IBM knows it's stuff

      "its".

  10. How about open source word spotting by Anonymous Coward · · Score: 2, Interesting

    Old and busted = voice recognition

    New hotness = word spotting

    When are we going to see software for Linux that allow us to search keywords in audio or video files like Dragon MediaIndexer does?

    1. Re:How about open source word spotting by Taladar · · Score: 1

      Nice idea. Perhaps this speech recognition is good for something useful. Neither dictating text nor commanding my PC via voice seem to be very useful to me (except for people missing the arms/hands to do it the traditional way). Both are slower than typing/mouse and more errorprone. Even if they could develop a 110% accurate Speech Recognition I wouldn't use it to replace typing because of the slowness of speech.

    2. Re:How about open source word spotting by leonmergen · · Score: 1

      I am working on an open-source research project that does just that right now. Be patient, it's coming...

      --
      - Leon Mergen
      http://www.solatis.com
    3. Re:How about open source word spotting by jubei · · Score: 1

      Even if they could develop a 110% accurate Speech Recognition I wouldn't use it to replace typing because of the slowness of speech.

      This is just wrong. The average rate of speech is way above even the fastest typists.

  11. Virtual Machine Syndrome by nihilogos · · Score: 5, Funny

    Colloquially known as "pointer-envy", this condition may affect all programmers, but is especially prevalent in java and C# developers. It is most easily recognized in a release announcement, where for no reason whatsoever the afflicted developer suddenly interjects a statement like "and it's just as fast as C", to the bewilderment of the audience.

    Treat suspected cases with caution, and under no condition contradict the patient. There is no known cure.

    --
    :wq
    1. Re:Virtual Machine Syndrome by Xeger · · Score: 5, Funny

      KNOWN CAUSES: Recent research results from information-theoretic psychoanalysts shows that Virtual Machine Syndrome is most likely a pre-emptive defensive discourse strategy. VMS sufferers typically become symptomatic after months or years of constant haranguing at the hands of colleagues, friends and professional contacts that anything they write, regardless of its execution environment or portability requirements, could have been done "better and faster in C." Oftentimes, such criticism is levied against VMS sufferers even when the application in question is I/O-bound and spends 80% or more of its time suspended, waiting for network or disk I/O to complete.

      TREATMENT: Implement reliable and efficient systems using virtual machine of choice, regardless of criticisms. Apply free-market therapy judiciously, allowing adopters of Virtual Machine technology to thrive and become prosperous if warranted. VMS symptoms typically disappear when sufferer's stock options are valued at 300% of their strike price. Symptoms may also be temporarily relieved through just-in-time compilation.

      RELATED SYNDROMES: Ossified Self-Important Myopia (OSIM), which is the tendency to assume that one's favorite programming paradigm, language, or OS is unconditionally and unreservedly the best choice for any software project. Characterised by the inability to understand that the only way to guarantee maximum efficiency is to write everything in assembly language, with complete and perfect knowledge of all quirks of the specific target instruction set.

    2. Re:Virtual Machine Syndrome by Reality+Master+101 · · Score: 0, Troll
      And, as usual, they give no actual NUMBERS to support this claim.

      I call bullshit.

      Yes, in small, isolated benchmarks, occasionally Java can compare to C. But in large applications, it's dreadfully slow.

      --
      Sometimes it's best to just let stupid people be stupid.
    3. Re:Virtual Machine Syndrome by Anonymous Coward · · Score: 0

      now that's what i call "garbage collection"

    4. Re:Virtual Machine Syndrome by pslam · · Score: 5, Informative
      It is most easily recognized in a release announcement, where for no reason whatsoever the afflicted developer suddenly interjects a statement like "and it's just as fast as C", to the bewilderment of the audience.

      An expecially odd statement considering much of speech recognition can be broken down into great big vector operations, which are perfect for hand coding in C. Bet I could quadruple the speed of it in a couple of hours with some hand coded SIMD ops in x86 assembler.

      It's funny because Java is fantastic at JIT compiling code with lots of non-local behaviour (e.g complex UIs) because it can take into account global behaviour at runtime. But it sucks at tight, heavy computation loop. DSP is a fantastic example of something Java is going to get creamed at when pitched against non-virtual machines.

      Of course, if you have some cross-platform standard API calls for those vector DSP ops, then it's a different argument...

    5. Re:Virtual Machine Syndrome by Brandybuck · · Score: 4, Funny

      Try my new text editor, it's written in Java!

      Why should I?

      Because it's written in Java!

      How is it better than what I'm currently using?

      It's written in Java!

      I'm already using vi, emacs, kate and gedit, why should I use yours as well?

      Because it's written in Java!

      Does it have a spell checker, syntax highlighting, and auto-indent?

      Who cares? It's written in Java!

      Name two benefits to your text editor?

      That's easy! First, it's written in Java. Second, it's uh... uh... hang on, uh... it's written in Java! Yeah, that's it, it's written in Java!

      --
      Don't blame me, I didn't vote for either of them!
    6. Re:Virtual Machine Syndrome by deanj · · Score: 3, Insightful

      Heh...you could substitute "uses Linux" for "written in Java", and you'd have the same thing.

      Seriously though, Sphinx-4 is really worth looking at. That group at Sun does great work.

    7. Re:Virtual Machine Syndrome by Anonymous Coward · · Score: 0

      "I call bullshit."

      Fuck is that phrase overused on this forum. It's stupid as well.

    8. Re:Virtual Machine Syndrome by dr2chase · · Score: 0

      That's not funny, that's stupid. Stuff written in Java is better than stuff written in C or C++ because there are no frapping buffer overflows in Java code (though, sadly, there may be in the native libraries that they sometimes call). I would have thought that people would be aware of this, given recent PNG and JPEG-related vulnerabilities. By writing Sphinx in Java, we can be sure that run-on sentences will not accidentally overflow a buffer and install a worm.

    9. Re:Virtual Machine Syndrome by don.g · · Score: 1

      Often seen in the alternate, and even sillier form: "I call shenanigans", this phrase seems to have appeared on Slashdot in the last couple of months. Does anyone have any idea where it came from? Some television show that I don't watch?

      It's almost as bad as "As I recently wrote in my blog...". It invites the response "WhoTF are you, and why should I care about your opinion?"

      --
      Pretend that something especially witty is here. Thanks.
    10. Re:Virtual Machine Syndrome by don.g · · Score: 2, Funny

      And may I just add,

      "In Soviet Russia... bullshit calls you!"

      --
      Pretend that something especially witty is here. Thanks.
    11. Re:Virtual Machine Syndrome by strider44 · · Score: 1

      I'm already using vi, emacs, kate and gedit, why should I use yours as well? Because it uses Linux!

    12. Re:Virtual Machine Syndrome by mingot · · Score: 1

      Southpark.

    13. Re:Virtual Machine Syndrome by strider44 · · Score: 1

      South Park Episode S2E3: "Cow Days". In the episode they go to a rodeo and there's a game there where you have to get the ball through Jennifer Love Hewitt's mouth. Unfortunately the hole isn't big enough and Kyle yells "I call shenanigans!" bringing the police over.

      In the end the shenanigans is enacted and everyone gets a broom (for some reason) and wrecks the rodeo.

    14. Re:Virtual Machine Syndrome by cehbab · · Score: 1

      those frapping? buffer overflows would be because of bad/incorrect coding.

      written correctly, your argument no longer stands.

    15. Re:Virtual Machine Syndrome by IgnoramusMaximus · · Score: 5, Insightful
      Stuff written in Java is better than stuff written in C or C++ because there are no frapping buffer overflows in Java code

      True, instead there are a thousand "super-efficient" .jar libraries required by a "Hello World" app, which use the "Object Oriented Programing and Long Lasting Cure All and Testicular Itch Relief Paradigm(tm)" to such extremes that it takes 12 objects instantiated in 4 containers to flip a bit in a byte. Additionally, there is the substitution of native performance of compiled code to code compiled "Just Too Late" combined with exceptional memory usage that entails. If it were not enough, as a bonus, we get the garbage collector which is scientifically fine-tuned to run just when user is expected to interact with the application in most time sensitive manner. As an icing on the cake we also are treated to multiple, insideously incompatible with each other, versions of the so-called "universal" VM, resulting in one app demanding that SunVM is used and the other that MS VM is used thus resulting in total impossibility of using both at the same time. Yes I do speak from looong and utterly infuriorating experience with Java apps.

      At one point I considered printing a sign warning of Java advocates being shot on sight, I could probably make some serious money selling it, given similiar amount of grief my other colleagues are going through.

      Ahem, and yes, the greatest offenders in me experience are... err... frigging IBM Java apps. We actually abandoned DB2 8.x release because noone could deal with the havoc the DB2 admin tools were causing with various other retarded banking related Java apps.

    16. Re:Virtual Machine Syndrome by dr2chase · · Score: 1

      Big if, that "written correctly". Do you dare to certify that any non-trivial piece of C code is free of buffer overflows? I would never make that bet, but it is true of (pure) Java.

    17. Re:Virtual Machine Syndrome by Deliveranc3 · · Score: 1

      Do we have benchmarks to back this up?

      How does it compare with Dragon Naturally Speaking and the Microsoft thing?

      Sigh this technology is 10 years behind where it should be.

    18. Re:Virtual Machine Syndrome by dr2chase · · Score: 4, Insightful
      Great story, but basically wrong and misleading. You can trowel on the layers in any language, and you can write fast Java programs. The speech engine is proof of that.

      Garbage collection, in particular, is coming along nicely. Check out "Metronome" by David Bacon, of IBM. You set the knobs, it tells you how much memory you will need, and it gives you GC with real time performance. No pauses.

      Or, consider the machine that Azul is working on (good luck getting details now that they are in some sort of a quiet period). It has hardware support for read and write barriers, plus a good story for stack caches. Chances are good its GC pauses will be tiny (1-10 ms).

      I can also tell you that the market very much prefers JIT compilation. I worked on an ahead-of-time-compiling JVM, and there were a couple of others built by other companies. I don't work on that JVM any more, and the other AOT JVM companies have either failed or gone into other lines of business.

      So, great story, but not exactly correlated with reality.

      On the other hand, consider all the buggy apps that we (who sometimes administer Windows machines) have needed to patch over and over again over the years. If I am unwilling to run an application in the first place because of its poor security, does it really matter how little memory it uses, how fast it runs, or how well it gets along with the other worm-friendly apps?

    19. Re:Virtual Machine Syndrome by Unknown+Lamer · · Score: 2, Insightful

      You could always code the easily vectorizable stuff in C with inline assembly and call it from Java using your preffered runtime's FFI.

      --

      HAL 7000, fewer features than the HAL 9000, but just as homicidal!
    20. Re:Virtual Machine Syndrome by IgnoramusMaximus · · Score: 4, Funny
      Check out "Metronome"

      I dont give a damn about Metronomes and speech recognition of questionable usefulnes. None of those are Java apps I deal with. And of those I deal with all suck.

      worm-friendly apps?

      Speaking of security, most Java apps are deployed in places that need them not in the first place, as a kludge for an E-Commerce site or electronic banking interface which can be done with a bit of thinking in plain HTML. Others, like IBMs for example, are mainly administrative tools which have no communication abilities outside of their narrow scope. These, if made in any other language would not be any more prone to worms. As a matter of fact, the use of Java on some of these electronic commerce sites introduces unneeded complexity and results in code executing on customer's computers whereby they become prone to being abused by spoofed/buggy VM's etc.

      So, great story, but not exactly correlated with reality.

      Reality? Oh dear. Listen dude, I am telling you as a user of your wonderful computer science masturbation effort otherwise known as Java: No. Nada. Niet. It aint a go. No can do. The bank we deal with is rewriting their apps to be java-free because of the amount of flaq they are getting (and no they are not going to that other aberration known as C# either). IBM DB2 is banned in many companies we deal with. Etc etc. We, the users, not you, Mr. Java Wanker, have the final word on this. Trust me.

    21. Re:Virtual Machine Syndrome by Brandybuck · · Score: 1

      Garbage collection, in particular, is coming along nicely.

      Coming along nicely! Did you hear you correctly?

      A freaking decade ago I was being harassed by the Java disciples because of garbage collection, and now you're telling me it's "coming along nicely"? It's been ten freaking years and you're still not done?!?! Wake me up when you're finally finished...

      --
      Don't blame me, I didn't vote for either of them!
    22. Re:Virtual Machine Syndrome by Anonymous Coward · · Score: 0

      What, you mean like JEdit? ...cause its written in Java!

      http://www.jedit.org

    23. Re:Virtual Machine Syndrome by Brandybuck · · Score: 1

      Stuff written in Java is better than stuff written in C or C++ because there are no frapping buffer overflows in Java code

      Come back when you've reached perfection and no longer write bugs. Until then it doesn't matter if Java doesn't have buffer overflows because you're still going to be writing stupid brownbag bugs. I don't get buffer overflows with C++'s string and vector either, but you don't see me strutting around like I'm using God's own language!

      Saying Java prevents buffer overflows is like saying a nailgun prevents you from hitting your thumb with a hammer. While technically true, it still doesn't prevent you from nailing your thumb to the wall.

      --
      Don't blame me, I didn't vote for either of them!
    24. Re:Virtual Machine Syndrome by jamesh · · Score: 2, Informative

      In theory, it's all compiled down to assembly in the end anyway so it has equal chance of being just as fast. For some types of code, JIT can be faster.

      Some of the advantages of byte-code are:
      . branch prediction and other speculative optimisations can be done based on observing the flow at runtime rather than guessing at compile time.
      . it's not necessarily tied to a specific architecture
      . if code optimisation technology improves, you don't need to recompile anything. the new JIT engine can do it all for you.
      . as above but for bugs in the optimiser.

      I'm sure someone else will point out some of the disadvantages.

    25. Re:Virtual Machine Syndrome by nihilogos · · Score: 1

      (though, sadly, there may be in the native libraries that they sometimes call)

      Such as libjpeg?

      --
      :wq
    26. Re:Virtual Machine Syndrome by IgnoramusMaximus · · Score: 2, Insightful
      but you don't see me strutting around like I'm using God's own language!

      I think there is something specially weird about these Java priests. I have seen people exhibiting unhealthy attachment to some tools or languages, but nothing even approaching the amount of zealotry Java seems to produce. Well maybe except the Emacs/Vi war but that at least had some comedic elements. Java worshippers on the other hand are indeed appearing to believe they somehow discovered some secret source of mojo and the Ultimate And Final Way You Shalt Speaketh To Yer Computer. They seem completely oblivious to the fact that like any other computer language, Java has major shortcomings. Additionally, because it was hyped and targetted at a particular class of applications where (in my and other users experience) it performed abysmally, it has become a dirty word along with other "revolutionary" ideas like Lotus Notes, Object-Oriented Databases, etc. All promising to be magical fairies who will cure all your computing problems with a wave of a wand, and instead turning out to be beer-bellied, hygiene deficient, ugliest-ever men in drag wielding an axe.

    27. Re:Virtual Machine Syndrome by Anonymous Coward · · Score: 0

      And in so shit on the point of java ... which is ... shit, what was the point of java? Oh, yeah, portability. Shitt on that.

    28. Re:Virtual Machine Syndrome by renoX · · Score: 1

      > the greatest offenders in me experience are... err... frigging IBM Java apps

      That's because you didn't try Sun management console Java app, it "integrates" several old management tools which had non-consistent but useful GUI inside one with a consistent but worthless and slow as hell (sigh Java..) GUI tool.

      It is so painful to use that I learned the command-line tools to avoid the @#$%^ GUI!
      Now maybe this is Sun's goal?

    29. Re:Virtual Machine Syndrome by Anonymous Coward · · Score: 0

      Great story, but basically wrong and misleading.

      That post is clearly written by someone with personal experience of the problems he describes. How the fuck can ones personal experience be "wrong"?!

      Why is it that so many Slashdot poster have such difficulty in seperating hard facts from ones own personal experiences?

    30. Re:Virtual Machine Syndrome by Tore+S+B · · Score: 1

      I shall bring out the Atari/Amiga wars which STILL ARE RAGING.

      --
      toresbe
    31. Re:Virtual Machine Syndrome by ynohoo · · Score: 1

      Hey, dont go comparing "beer-bellied, hygiene deficient, ugliest-ever men in drag wielding an axe" to Java!

      You're giving beer-bellied, hygiene deficient, ugliest-ever men in drag wielding an axe a bad name!

    32. Re:Virtual Machine Syndrome by gbjbaanb · · Score: 1

      who-hoo. You've obviously 'been there' with Java apps. I added you as a friend for that rant :)

      Incidentally, did you spot the poster's home URL? I think some things are quite telling.

    33. Re:Virtual Machine Syndrome by Rich0 · · Score: 1

      You haven't truly experienced java until you've tried to get it working on 64-bit linux...

      All the aforementioned issues are of course still there (we wouldn't want to take anything away from the Java experience). However, you now have the benefit that any app bigger than hello world has a 75% chance of segfaulting before it even displays its first window. Of course, switching VMs can sometimes help a little (depending on the application).

      I've pretty much given up on it anymore - even applets don't run in 64-bit browsers (I have to fire up a 32-bit one with a 32-bit java and everything works just fine). I had one or two java apps that occasionally worked 64-bit, but I had to launch them and then clean up lock files about 10 times before it would actually display a GUI.

      Don't get me wrong - I like the java concept, cross-platform compatibility, lack of buffer overflows, etc. The problem is that the implementation just isn't there yet. On 32-bit windows maybe things are starting to mature and users like IgnoramusMaximus only want to bash their heads in once a week. On other platforms (well perhaps except Solaris) I'm guessing that things are still a little more spotty...

    34. Re:Virtual Machine Syndrome by dr2chase · · Score: 1

      I was not that Java disciple. Back then, the joke was tht the GC should just print "NFS server not responding, still trying" and everything would be ok. Now, it needs to print "47 out of 50 images loaded ..."

    35. Re:Virtual Machine Syndrome by Taladar · · Score: 1

      And how do you guarantee there are no buffer overflows in the massive amounts of C Code in you JVM and Libraries?

      In related news: There are Programming Languages without the Overhead of the JVM and without Pointers.

    36. Re:Virtual Machine Syndrome by radtea · · Score: 1


      "coming along" ... "working on" ... "chances are good".

      All of these equal "not real" if you're a real developer working on real code that needs to run real fast and ship real soon.

      As well as being a very easy language to write very slow code in, Java is a terrible language for product support. My company has a product that has a Java front-end, including some blazingly fast graphics stuff (much faster than supposedly leading-edge stuff from IBM, as it happens.) For the first year after product release nearly all of our support calls were due to older or oddball JRE versions on customer machines. We moved to shipping our own JRE (increasing our disk footprint by 25 MB) and all the problems went away.

      On top of this, there are major memory managment issues--we are often pushing up against the full 2G limit on Win32, and the wheels come off Java's ability to do anything intelligent with memory management well before that. You can deal with it by being extremely clever, but I'd rather see that cleverness spent on solving real domain problems, not language-related issues.

      And don't get me started on the stuff you have to do to seamlessly mix lightweight and heavyweight components.

      The developers on my team did a brilliant job of dealing with Java's inadequacies, so brilliant that many people don't believe the front end is written in Java when they first see it. Think about that for a second: a customer sees a clean, responsive UI with standard behavior and no weirdness, and says, "So this is all written in C++, right?"

      --Tom

      --
      Blasphemy is a human right. Blasphemophobia kills.
    37. Re:Virtual Machine Syndrome by dr2chase · · Score: 1
      I realize your question was rhetorical, but this is something I've actually had to worry about, so here's an answer anyhow.

      First, you write as much as possible of the VM in a safe language. (e.g., Java). This minimizes the amount of code for step two. Ideally, the non-safe portions of the VM are doing things like mapping and unmapping memory for the GC, and allocating, starting, and stopping threads -- and that's all. In the JVM that I worked on, there is ONE INSTANCE of each Windows system call (i.e., socket read, socket write, file read, file write, etc).

      Second, you read the code; ideally, all I/O is in the form of system calls reading blocks of data. In the case of the VM I worked on, that means you need to understand very well exactly what that single instance of each useful system call is doing. Only let your best people work on this code, and then check their work anyhow. Ideally, write proofs and get automated checkers to verify them (this is all a static type system is, after all).

      Third, all other I/O layers are written in the safe language. If something goes wrong there, it gets caught by bounds checking.

      There's been other work to guard against "adversaries" that might exploit type flaws in your VM, but ultimately it all boils down to desk checking, and minimizing the amount of code that must be checked in that way. I saw a talk by Andrew Appel explaining how, for an ML compiler, this required checking the 5000 lines of assembly language that gcc produced compiling their theorem checker (because how do you know that gcc is a correct compiler?)

      Sadly, practice diverges from theory at times. Various JVMs depend on native code that they don't really need to, and thus have increased their vulnerability to buffer overflow attacks. For example, I think that most JVMs call zlib as a DLL -- and zlib recently had a buffer overflow in it. They call native code to manipulate JPEG and PNG images -- and both of those recently were discovered (on various platforms) to have buffer overflow problems. So, in practice there are still risks, but the way to reduce those risks is to rewrite the risky code in a safe language, not write more code in the risky language. We can rarely afford to desk check 250,000 lines of code, and it's irresponsible to assume that it contains no holes merely because none have been found yet.

      A safe language implementation of things like zlib and jpeg is not necessarily slower, though by default it will do more checking. If you can prove by hand that the bounds checks aren't necessary, then there's a good chance that the compiler will too (and if you cannot prove it, what business do you have not using the safe language?) One way to improve the performance of code in a safe language is to make the proof-of-unnecessary-checking more obvious, so that the compiler will get it. For example, you might do all the bounds checking up front before entering a loop. If no exception is thrown, then the fact of the correct bounds is established for all the following code. Better, you end up with a piece of code that does not get halfway into whatever side effects it was planning to do, then throw an exception leaving things in an uncertain state.

      Java also makes multithreading easier and more portable, so in those cases where a problem could be attacked in parallel, you just might do it. This is much less true of C.

    38. Re:Virtual Machine Syndrome by Anonymous Coward · · Score: 0

      Yes, but would it still be portable? Or would you have to write the assembly portion based on whichever processor it's to be compiled on?

    39. Re:Virtual Machine Syndrome by IgnoramusMaximus · · Score: 1
      I like the java concept,

      The concept was indeed very promising but like most very promising concepts it soon became apparent that the devil is in the details. And what a long-horned and evil this one turned out to be!

      On 32-bit windows maybe things are starting to mature and users like IgnoramusMaximus only want to bash their heads in once a week.

      Unfortunately things seem not to improve in the Windows world either. As soon as one company wisens up and abandons the Java thing (after trying several iterations of faster but even more difficult to keep stable and properly deployed native widgets/accelleration/whatnot toolkits) another seem to be visited by the wandering Java snake-oil salesmen. I literally cringe every time some industrial e-comerce web site my customers deal with, suddenly announces cheerfuly that after 2 years of development their "new and impoved" e-commerce "experience" is just about ready to be deployed! Panic sets in every time because chances are that a new cycle of gnashing teeth and cries for mercy is going to play again.

    40. Re:Virtual Machine Syndrome by IgnoramusMaximus · · Score: 1
      We moved to shipping our own JRE (increasing our disk footprint by 25 MB) and all the problems went away.

      You and everybody else, the catch being that the one and only JRE version your app works with happens to be not the same one all the other apps work with. Each one of them of course demanding (and helpfully shipping) their own one and only "certified" version. Now go and explain to a poor sod like me how is that Purchase Order clerk supposed to use this crap in her web browser when she has to access yours, the bank's, the trucking company's and the overseas shipping agencies' all at the same time!

      I feel a sudden inexplicable urge to strangle a Java advocate or two coming on...

    41. Re:Virtual Machine Syndrome by tomhudson · · Score: 1
      It runs on the VMS Operating System? http://www.levitte.org/~ava/index.htmlx- Ouch - just joking :-)

      One of my friends http://slashdot.org/~js7a/journal/85222 makes the following points:

      Speech recognition, consisting of a small (cpu time-wise) DSP front end, vector quantization(s), and in the majority a Viterbi beam search algorithm, is not an I/O bound process. The viterbi beam search is dereference-intensive, has a very wide memory access pattern, and otherwise involves only multiplication, addition, and a few other basic math operations.

      I note that the Sphinx-4 performance statistics page lists only word error rates, not execution times or memory utilization.

      I think Java is a very poor choice for Viterbi beam search, unless perhaps they call C operations to perform the inner loop(s.)
      While I don't have anything against java for certain tasks, in many cases its still "not fast enough". Mind you, "fast enough" is a moving target (Thank you, Mr. Moore).
    42. Re:Virtual Machine Syndrome by Xeger · · Score: 1

      Oh, I didn't mean to imply that Java was the best choice for implementating a speech recognition engine. I wasn't aware of specifics (and thank you for them), but I had an inkling that speech recognition is pretty computationally intensive.

      I was just trying to point out, in a humorous way, that virtual machine-based languages such as Java can be just as fast as compiled languages in some circumstances. And I wanted to make the corollary point that there is no "one true language" -- there is only the right language for the job, and that varies depending on the nature of the job.

    43. Re:Virtual Machine Syndrome by tomhudson · · Score: 1

      Definitely, a well-written java prog will run faster than a badly-written c prog. Now what would be nice is if someone could get java to be what it was originally - a language designed to run directly on hardware (a java chip) instead of through a vm.

    44. Re:Virtual Machine Syndrome by Xeger · · Score: 1

      I've often wondered about that myself. The technology is certainly there -- witness the successful deployment of Java Cards in various markets. IIRC, those use Java bytecodes as their native instruction set (I can't imagine there would be room for a translator, much less a general-purpose kernel, memory management, etc on those tiny wafers of silicon.)

      I guess Java was embraced too soon by the business apps crowd and the web design crowd, and its APIs quickly grew humongous to accomodate the varied uses to which people were putting it ... and so, all to soon, it became known as a huge bloated toolbox of write-once-run-anywhere goodness. Not a reputation the embedded systems people would look kindly upon.

    45. Re:Virtual Machine Syndrome by radtea · · Score: 1


      We install our JRE such that it's only used by our application. Wasteful, but at least we play nicely with others.

      Strangling Java advocates is completely explicable, in my view.

      --
      Blasphemy is a human right. Blasphemophobia kills.
    46. Re:Virtual Machine Syndrome by IgnoramusMaximus · · Score: 1
      We install our JRE such that it's only used by our application.

      This works fine and dandy if you are actually shipping an app to run stand-alone, most are however expected to function within a web browser and are downloaded piece-meal as you go from the site of the geniuses deploying them. This clearly precludes any fun with multiple JRE's (at least to my knowledge). By "shipping" JRE's I mean that they insist that we download and install their "annointed" version from their site (usually several revisions behind to whats on Sun's site). Not to mention a number of total retards using the MS JRE making the whole mess more painful. Now when I think about it the only truly stand-alone apps (not launched by the web browser) we ever run into were the DB2 ones.

    47. Re:Virtual Machine Syndrome by Unknown+Lamer · · Score: 1

      So you write a portable version in Java and use the optimized version wherever you can.

      That way it's still portable but will run faster on architectures which have optimized cores written for them.

      --

      HAL 7000, fewer features than the HAL 9000, but just as homicidal!
    48. Re:Virtual Machine Syndrome by laird · · Score: 1

      "We install our JRE such that it's only used by our application.

      This works fine and dandy if you are actually shipping an app to run stand-alone, most are however expected to function within a web browser"

      Not true. It's easy to write your web pages with object tags for the applets that will cause the appropriate JVM to be used, or trigger the install (as an ActiveX control, etc.) if necessary. This solves both the versioning problem and the deployment problem, which is mighty cool.

      But you're right -- if you want to write software that runs perfectly across any JVM in any browser in any OS, it's a lot of work. If it's any consolation, it's less work than writing software that runs properly in any OS without the JVM. :-) And don't get me started on what it takes to get any complex JavaScript to work properly across all versions of all browsers on all operating systems. Creating a runtime environment that looks great on all OS's is very hard, and no truly cross-platform app will look as good as a native app, but (IMO) Java is closer than any other truly cross-platform approach.

      The more I use Java app's, the less I think it's Java that makes most of them suck -- I think it's Swing and ATW. SWT works great -- look at Eclipse! It gives you nice, native widgets used naturally from Java app's.

    49. Re:Virtual Machine Syndrome by IgnoramusMaximus · · Score: 1
      It's easy to write your web pages with object tags for the applets that will cause the appropriate JVM to be used, or trigger the install

      Oh brother, This is just what I need, a 25 meg monster JRE multiplied by the number of e-commerce sites one has to visit. How about growing some brains and changing the site so it does not depend on any client-side code? Hmm? Some clever state-driven transaction process? Like many excellent sites seem to use? I do not see any advantage in even more ridiculous "plug-ins", "JRE's", "Eclipse widget kits" and all sort of assorted crap to keep track of on that Admin Clerk's computer! You of course have no idea what sort of greef this shit causes in secure thin client environments where every dude in shipping is not allowed to install JRE's (or Active X applets) willy-nilly everytime he goes to some new fandangled site. This whole Java thing is a solution looking for a problem. No, I take it back, actually it is a problem looking for a bigger yet problem to cause.

    50. Re:Virtual Machine Syndrome by Anonymous Coward · · Score: 0

      Christ, you people are idiots.

      What MOST people do, at least on this side of the pond, is make everything server-side. Then, all you see in your browser is flat HTML and JavaScript. This is why most large American companies use Java extensively, but don't have any problems with it. The only client-side java I've seen on the web has been related to chat sites.

      Fucking British. When you pull your heads out of your asses, drop me a line. I'll tell you how loud the "pop" was.

    51. Re:Virtual Machine Syndrome by Anonymous Coward · · Score: 0

      Hmmm... Running 64-bit SuSE 9.1 with x86_64 JRE here. Using Azureus (java-based) P2P client every day (all night) - great experience and stability.
      Azureus is application, that can be example of how elegant and powerful Java application can be. Having developed in Java before, can agree partially on some moments, more disappointing, than handful of other languages, where one is in greater control over computer and less within preset environment of classes/objects. True, object world all around, thus heavier. Also, rather dynamic environment - growth of Java was impressive and fast, it expanded a lot. Therefore certain backward compatibility problems can be experienced. Still, think, that server-side Java (like JSP) with web interface is quite simple to programm and use, making good application platform (while PHP is great for smaller scales). Java, as language appearance for developing was quality increase, overall - it is very reasonable, looking from inside. Annoying occasional details, feeling of immature product - yes, managed to persist. Never was in love with applets, though. Also MS JVM had not the best service for Java world, true. But it is not MS product, so part of critics seems quite justified.

    52. Re:Virtual Machine Syndrome by Rich0 · · Score: 1

      Alas, x86_64 java hasn't gone well for me.

      What JRE are we talking about here? Sun or Blackdown? And what version for that matter?

      I've had mixed results with all of them. Perhaps I'll download azureus just to see if it runs...

    53. Re:Virtual Machine Syndrome by inof8r · · Score: 1

      can be done with a bit of thinking in plain HTML

      Sounds like your problem is your architecture. Why the h#ll did you go with a client heavy app instead of a struts server side app ?

      BTW - DB-P00 SUCKS ! What kind of RDBMS deadlocks on inserts ! ? escalating table locks my #ss

    54. Re:Virtual Machine Syndrome by IgnoramusMaximus · · Score: 1
      Sounds like your problem is your architecture. Why the h#ll did you go with a client heavy app instead of a struts server side app ?

      Why do *I* go with it? Tell it kindly to the Java priests infecting our suppliers and banks who push this crap on me. Or better yet, tell them not-so-kindly as I do since I am loosing patience fast.

    55. Re:Virtual Machine Syndrome by Anonymous Coward · · Score: 0

      Actually, Sun are currently putting *NO* money into trying to make Java run faster on Solaris, all their money is being put into improving the performance of Java on a Win32 platform.

      I heard this information first hand from a representative at Sun, but unfortunately, it was over the phone, not on some form of digital media which I could copy and paste into this forum.

      I've racked my brains trying to understand Sun's motives for improving the performance of Java for the competition but not themselves, but I still can't think of a satisfactory explanation. They've lost the plot. Totally.

      It's a shame really, Sun used to be a damn good company. Then they decided to concentrate all of their marketing, development, documentation, and support resources into a product they give away for free, and which performs better on the competitions platforms.

    56. Re:Virtual Machine Syndrome by Heretik · · Score: 1
      Not true. It's easy to write your web pages with object tags for the applets that will cause the appropriate JVM to be used, or trigger the install (as an ActiveX control, etc.) if necessary. This solves both the versioning problem and the deployment problem, which is mighty cool.


      I am literally amazed that you're pointing this out in defense of java.. wow.

      Your definition of "mighty cool" seems to correspond pretty well with my definition of "disgusting kludge"
    57. Re:Virtual Machine Syndrome by Anonymous Coward · · Score: 0

      The "Java is the future" had that coming for a long time.

    58. Re:Virtual Machine Syndrome by Anonymous Coward · · Score: 0

      Let's not forget about finalizers that execute nondeterminalistically, static class initializers that can potentially execute in any of hundreds of
      unmarked locations (turning any static memory reference into a potential procedure call), the unsettled Java memory model that defies analysis, the replacement of compile-time checks with run-time checks due to dynamic binding, etc, etc.

    59. Re:Virtual Machine Syndrome by Anonymous Coward · · Score: 0

      You're all making this way to complicated when it is really very simple.

      Java: Designed by tossers for tossers

    60. Re:Virtual Machine Syndrome by steve_streeting · · Score: 1

      I sympathise with your position - indeed, managing client-side Java apps / plugins can be a total nightmare when people mess with different versions of the JRE and various optional addons.

      However, I think it's unjustified to point this frustration at Java itself. It's the people who write the applications that way that are at fault - basically they've given no thought to the operational practicality of what their developing (a scarily common trait - I've been in both operations and development so I can see both sides).

      Java, IMHO, is a very good solution for web-driven server-side applications. In these cases, your servers are configured one way, with one container (WebSphere / WebLogic / JBoss etc), and hence one JRE. The client doesn't need to know any of that - there is absolutely no reason why an ecommerce site needs to download anything at all to the client. I will gleefully jump up and down on anyone who thinks that making an applet (or ActiveX control for that matter) or downloadable client component part of a web application is somehow a good idea. Thin, configuration agnostic client access is the point of a web system, for christ sakes. Just because you _can_ download fat components, doesn't mean it's a good idea.

      If your 'Java advocates' are promoting the extensive use of client Java components, then your urge to shoot them can be well understood. I think the problem is that you've been lumbered with the wrong Java advocates. Java, like any tool, is great when used in the right ways. Fat client assemblies is not Java's strong point - large server-side apps certainly are. It's a shame you've had your opinion of what can be a very powerful and practical technology (when used right) tainted by some uninformed people.

    61. Re:Virtual Machine Syndrome by steve_streeting · · Score: 1

      Oh - and no, I don't think all things are better in Java; the OP is certainly wrong on that front. I use Java for large server-side systems, C++ for native performance apps, sometimes Perl for small web tools. Horses for courses - sweeping generalisations are for the ignorant.

    62. Re:Virtual Machine Syndrome by IgnoramusMaximus · · Score: 1
      However, I think it's unjustified to point this frustration at Java itself. It's the people who write the applications that way that are at fault

      I am not really targetting Java itself, rather I aim for its deluded disciples. Java is like any other computer language of the last 6 decades of computing: newer in design, lofty in goals, heady in promise and when push comes to shove it turns out to be merely different. Old problems swapped for new problems. The Princess in the photo turns out to be an aging house-wife skilled in using Photoshop. That does not mean that Java is useless, I am sure it has places where it can be the best tool for the job but they are far fewer then the Roaming Caffeinated Monks would like us to believe

      I think the problem is that you've been lumbered with the wrong Java advocates

      Well not really. Simply I was around long enough to remember when "downloadable applets" advocates were the only advocates, Sun included. People who are doing this evil to me now are merely victims themselves, they were bamboozled into developing the java-based e-commerce with the downloadable components but it took them 4-9 years of development to get to the point where they are deploying this stuff. Remember, big companies move very slowly and banks in particular move slower and more carefully yet. So I am basically a victim of a bomb made by the Frappucino Friars set to blow up in my face 9 years after being planted.

    63. Re:Virtual Machine Syndrome by strider44 · · Score: 1

      The expression "I call shinanigans" comes from South Park. I wasn't talking about the word shinanigans!

  12. Interesting side note by 2forshow · · Score: 0, Troll

    Kind of interesting side note I have a professor who worked for IBM about 30+ years ago where he designed circuits to filter out frequencies above the third or fourth harmonic. It is somewhat difficult because the voice has no repeating patterns (like a complex sinusoidal wave) within a given word. So the engineers had to decide when it is appropriate to filter out the higher frequencies and still have the voice sounce clear. The found that anything above the fifth harmonic didn't make a big difference so for most cases they used the third or fourth harmonic. Do you want a free Sony 27" flatscreen TV or maybe a 17" flatscreen monitor? From those who brought you free Ipods comes Free Flatscreens. http://www.FreeFlatScreens.com/default.aspx?refere r=9534369

    --
    Free Ipods it's for real check out Wired then go to: http://www.freeiPods.com/default.aspx?referer=8533
    1. Re:Interesting side note by Anonymous Coward · · Score: 2, Funny

      Unfortunately, your professors didn't teach you a thing about scams. Stop promoting a pyramid scheme!

    2. Re:Interesting side note by papercrane · · Score: 0, Flamebait

      Cheap, cheap link there. Did you read the terms?

      1. Receipt of Product
      (a) Gratis Internet does not guarantee receipt of any product regardless of offers completed or referrals accumulated.

    3. Re:Interesting side note by 2forshow · · Score: 0

      It means that although you ordered your product they will not absolutely guarantee that it gets into your hands. I.E. it got lost in the mail. I know a bunch of people who have received their products from Gratis Internet. One person in particular had troubles getting his but was able to contact the company and get things straighten out so that he could receive his product. Is this a legitimate site? Yes. Is it a cheap link? No. If you don't buy into it don't sign up for it.

      --
      Free Ipods it's for real check out Wired then go to: http://www.freeiPods.com/default.aspx?referer=8533
    4. Re:Interesting side note by Anonymous Coward · · Score: 0

      no-no, you have it backwards! it's "stop promoting someone else's pyramid scheme and run your own!"

  13. Free C++ alternative from Mississippi State Univ. by j.leidner · · Score: 4, Interesting
    Another open source system, but implemented in C++ (like all industrial systems I know of) can be found at here (a vision statement is here.

    --
    Try Nuggets , the mobile search engine. We answer your questions via SMS, across the UK.

  14. Cool... by j_cavera · · Score: 3, Funny

    Now my linux box can wreck a nice beach!

    --
    #include "humorous_pop_culture_reference.h"
    1. Re:Cool... by Tablizer · · Score: 1

      For those not familiar with the example:

      wreck a nice beach ==> recognize speach

  15. Open Source - With Source! by NSash · · Score: 4, Funny

    From dept-of-redundancy-department?

    I'm not one to be picky about titles, but sheesh...

    1. Re:Open Source - With Source! by Anonymous Coward · · Score: 0

      you didn't even read the summary before posting did you?

    2. Re:Open Source - With Source! by VoidWraith · · Score: 1

      Its open source minus source, according to the summary. The title is misleading.

    3. Re:Open Source - With Source! by FuzzyBad-Mofo · · Score: 1

      Yeah, but is it Free-as-in-Speech?

    4. Re:Open Source - With Source! by mAineAc · · Score: 1

      no according to the summary they said that unlike another past story that hadno source this does. I have already downloaded and compiled it. You have to use apache ant to compile it.

  16. Re:Free C++ alternative from Mississippi State Uni by Anonymous Coward · · Score: 2, Funny

    Eef ya uses thees one ya'lls gonna hafta talks like dis heers.

  17. Build Instructions by Anonymous Coward · · Score: 2, Insightful

    Given those build instructions, you are better off writing your own engine. This is exactly what is wrong with Linux today, and I dont see *any* solution to it. A maze of hidden dependencies and incompatabilities. No thanks.

    1. Re:Build Instructions by Anonymous Coward · · Score: 0

      Just wait for a Gentoo or Debian package for it, it'll be fine.

      What's that you say? You're using a RPM-based distro? Oh, sucks for you then!

      The problem is not "Linux." The problem is the "popular" is not always the same as "good"

    2. Re:Build Instructions by BubbleNOP · · Score: 1

      If you use Eclipse, you already have built-in Ant and CVS support, so you can just check it out as a CVS project directly, and the only thing you need to get is JSAPI, which involves running 1 binary. How is that complicated?

    3. Re:Build Instructions by dspfreak · · Score: 3, Funny
      While you're looking out for the hidden dependencies and incompatibilities, could you keep an eye out for the Markov model?

      --
      "Tolerance is the virtue of the man without convictions." -- G. K. Chesterton
    4. Re:Build Instructions by Anonymous Coward · · Score: 0

      You Gentoy fanboys just get more clueless by the day don't you? Those of using a Linux Standards Base compliant distribution just need to wait for someone to write a .spec file.

      I really shouldn't be surprised when a Gentoy kiddie displays his total ignorance.

  18. Translation for those who still don't get it... by CaptainPinko · · Score: 4, Informative

    Title: I'm(Aim) using(You Sing) it(Ate) right(Write) now(How)
    Body: It(Ate) works(lurks) very(barry) well(wall).

    --
    Your CPU is not doing anything else, at least do something.
    1. Re:Translation for those who still don't get it... by Epsillon · · Score: 2, Insightful

      Don't you feel that the joke loses its appeal when you have to explain it? This is Slashdot. If anyone failed to get it, they probably shouldn't be here ;o)

      --
      Resistance is futile. Reactance buggers it up.
    2. Re:Translation for those who still don't get it... by aled · · Score: 1

      why? oh, wait...

      --

      "I think this line is mostly filler"
    3. Re:Translation for those who still don't get it... by Anonymous Coward · · Score: 3, Funny

      You need review what you post when you hit "Preview." It should read: "This is Slashdot. If anyone got it, they probably shouldn't be here ;o)"

    4. Re:Translation for those who still don't get it... by azuretek · · Score: 1

      I understood the joke but had no clue what he was saying :( guess I'm not worthy.

    5. Re:Translation for those who still don't get it... by ThatsNotFunny · · Score: 1

      Funny, I translated "Ate lurks barry wall" as "It works terrible".

      --
      "Was it a millionaire who said 'Imagine No Posessions?'" -- Elvis Costello
    6. Re:Translation for those who still don't get it... by Anonymous Coward · · Score: 3, Insightful

      I disagree. Many of us are not native English speakers. What may be obvious to you phonetically doesn't have to be obvious to the rest of us. :)

      This being said, yes, that the explanation of the joke would be modded up is a bit sad, alright. ;)

    7. Re:Translation for those who still don't get it... by darkonc · · Score: 3, Insightful
      Don't you feel that the joke loses its appeal when you have to explain it?

      It takes at least 3 people to make for a really good joke:

      1. One person to tell it
      2. One person to get it
      3. One perdon to laugh at for just missing the whole point.
      #3 is a little bit less obvious when the joke telling is online.
      --
      Sometimes boldness is in fashion. Sometimes only the brave will be bold.
    8. Re:Translation for those who still don't get it... by maxwell+demon · · Score: 1
      There are of course those people who laugh three times about the same joke:
      1. When they hear it.
      2. When they tell it.
      3. When they get it.

      --
      The Tao of math: The numbers you can count are not the real numbers.
    9. Re:Translation for those who still don't get it... by SEWilco · · Score: 1
      This being said, yes, that the explanation of the joke would be modded up is a bit sad, alright.

      That only reflects upon the current batch of moderators, not the entire readership.

    10. Re:Translation for those who still don't get it... by CaptainPinko · · Score: 1
      That only reflects upon the current batch of moderators, not the entire readership.

      who are a fairly random sample of regular /. readers.

      --
      Your CPU is not doing anything else, at least do something.
  19. Not a viable program by Anonymous Coward · · Score: 0

    Personally, I find the genre interesting. However, it's useless as it's implemented in the Java proprietary language and if I understand correctly (didn't bother to look thoroughly), depending on closed-source libraries. Therefore it is no real free software. Have you noticed the .exe and .jar files in the CVS?

  20. Telephony by Anonymous Coward · · Score: 2, Interesting

    So how long before this is integrated with Asterix for voice activated linux telephone apps?

    Michael

    1. Re:Telephony by dalabrat · · Score: 3, Informative

      December 2003 http://www.voip-info.org/wiki-Sphinx

    2. Re:Telephony by Anonymous Coward · · Score: 0

      "So how long before this is integrated with Asterix for voice activated linux telephone apps?"

      Depends on when MS releases it so they can copy it.

    3. Re:Telephony by mollymoo · · Score: 1
      So how long before this is integrated with Asterix for voice activated linux telephone apps?

      I understand Telephonix and Phonix are working with Getafix to make a potion to do just that.

      --
      Chernobyl 'not a wildlife haven' - BBC News
  21. Re:Speech Recognition is a Mature Technology. by Anonymous Coward · · Score: 0

    reporter, stop replying to your replys as AC. get a back bone.

  22. Not just Linux by Anonymous Coward · · Score: 0

    It looks like Sphinx-4 works on most (any?) platform that supports Java 1.1.4. So it's not just for Linux, but also MacOS, Windows, Solaris, etc.

  23. Sphinx 2 by PiGuy · · Score: 5, Informative

    "There is no speech-recognition system available for Linux, which is a big gap."

    Um, Sphinx 2 (a predecessor of Sphinx 4) has been around for quite some time now. Like Sphinx 4, it's speaker-independent. Unlike Sphinx 4, it's a C library, and is thus easily interfaced with other languages (insert shameless plug for a simple Python interface for Sphinx 2 I wrote).

    1. Re:Sphinx 2 by Ndr_Amigo · · Score: 2, Informative

      The speaker-independency of Sphinx2 is debable, I have never been able to get a single successful word recognised :)

    2. Re:Sphinx 2 by Ndr_Amigo · · Score: 1

      (even after building a Sphinx3 model and converting it back)

    3. Re:Sphinx 2 by Anonymous Coward · · Score: 0
      Oh, there have been plenty. "Ears" worked very nice, though the maintainer gave up on it about 10 years ago. I seem to remember "Abbot" was very good, too. (Abbot was another Linux speech-recognition project, but I -think- that one was closed source.)


      I've been playing with speech recognition tools for a long time. There were even a few for the BBC Micro (circa 1985) so this is definitely not some new modern marvel. About the biggest thing that would impress me is if someone were to hook together a grammar checker and some kind of context analyser, to the recognition code.


      The idea there is that, instead of picking the "first close match" or "best match, when using such-and-such a statistical test", you could parse the various probable words and weight the probability by whether the word makes any sense.


      The word that is a closest-fit to what is recorded AND is a closest-fit to a word that would make any kind of sense, given word placement in the sentance/paragraph, and the context of that sentance/paragraph, is probably the word the speaker was thinking of.


      This, however, means that you have to re-parse the processed text at the end of every sentance or paragraph. You cannot have true "real-time" processing of speech in the here-and-now, this would be batch-processing of speech in the past.


      However, I honestly cannot think of any way you'd get nearly the same accuracy by real-time methods. Even the brain isn't that good at it, and it's had a few billion years to work on a solution.

    4. Re:Sphinx 2 by Gulik · · Score: 1

      Me needer. I tink it's me sheety meecrofun.

  24. Speech recognition by CastrTroy · · Score: 4, Interesting

    Speech recognition is one of the worst means of input there is for a computer. Keyboards work so much better. Even for those who don't have full use of their hands, there are many other options for user input, all of which are better than speech recognition. Worst thing ever is someone trying to use speech input in a cubicle environment.

    --

    Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    1. Re:Speech recognition by Anonymous Coward · · Score: 0

      speech is useful for taking the *entire* stress off one's hands. like for example, i use it to switch between virtual consoles, so i don't have to alt-fkey constantly, becasue i do all my work in console (framebuffer) mode and am constantly switching between screens (write code, debug code, lynx/google open, etc.)
      it makes a huge difference!

    2. Re:Speech recognition by NanoGator · · Score: 2, Informative

      "Speech recognition is one of the worst means of input there is for a computer. Keyboards work so much better."

      This statement is far too general to be true. The keyboard is only faster if you know what the command is you're trying to enter AND how to spell it. Voice recognition, used correctly, is much more intuitive. Maybe it's not so hot for dictation, but imagine if an app you're using didn't have to have a bunch of hard-to-sift-through menus. Just say 'Italic!' or "Bold!'

      SR is much more interesting on simplified devices, though. I have a TabletPC. In Tablet mode, the kb is tucked under the screen. I have stylus buttons for copy/paste etc, but the voice recognition works better. (Although, as with your cubicle comment, my gf found that annoying.)

      It's a lot easier to find problems with something than it is to find good aspects of it. I dunno why this comment was modded 'intresting'.

      --
      "Derp de derp."
    3. Re:Speech recognition by Anonymous Coward · · Score: 0

      FUCKING PIECE OF SHIT!!! AWWWWWW Fuck Fuck FUCK FUCK!!!

      next cubicle:

      SEND!!

      Yeah. Keyboard is probably better.

    4. Re:Speech recognition by Profound · · Score: 1

      I saw some research a few years ago using brain scans that found that when talking, speech centres of the brain light up while other high level brain functions are reduced. They found it is literally true that you can't talk and think (as well) at the same time.

      When I read this I figured that would just about put an end to speech recognition apart from very simple devices humancomputer stuff like fast food drive throughs, air conditioners, TVs etc. I don't want to say "main-open-bracket.. close bracket curly brace" for instance.

    5. Re:Speech recognition by Deliveranc3 · · Score: 1

      Actually since speech can be done while doing something else (walking, making coffee driving etc.) it may become a dominant way to use computers from a mobile standpoint.

      I.E. have a headset connection to a home computer.

      Also since there is limited functionality that can be acheived through a headset (limited in variety not depth) the prediction paths and user interface will be much improved.

      Basically once this is standardized as a method of interacting with an Operating System I think you'll find it will supplement being at your computer nicely.

    6. Re:Speech recognition by mollymoo · · Score: 1
      Speech recognition is one of the worst means of input there is for a computer.

      True. However, keyboards are also one of the worst means of input there is for a computer. So are mice. So are joysticks. Sometimes a mouse is better than a keyboard. Sometimes a joystick is better than a mouse. Sometimes voice is better than a keyboard. I want all of the above and more.

      Don't let the fact that speech recognition currently sucks cloud your judgement - keyboards used to suck too (hence QWERTY).

      --
      Chernobyl 'not a wildlife haven' - BBC News
    7. Re:Speech recognition by pjt33 · · Score: 1

      It's certainly annoying, but sometimes necessary. I dictated part of my dissertation to ViaVoice because serious RSI prevented my from typing it. Dictating LaTeX to ViaVoice is slow, but not as slow as dictating it to a typical person.

    8. Re:Speech recognition by Olivier+Galibert · · Score: 1

      ASR is just a tool. ASR as itself isn't interesting, and indeed "computer, switch to bold, type xyzzy, back to normal, type ..." sucks.

      But now, what do you think about "computer, what is the latitude of Tokyo" and have it google it for you. Or "computer, take the file xyzzy.txt on the memory stick I just plugged in and show me a distribution graph of the first column of values". That's just mount, find, awk and gnuplot in practice, we have all the tools already.

      You simply don't do the same things with speech than with a keyboard.

      OG.

    9. Re:Speech recognition by Taladar · · Score: 1

      Funny you mention that.

      You can use the exact same argument the other way round. Speech can not be done while doing something else. I can not use the telephone or speak to someone in RL while at the same time using my voice to command my computer while keyboard and mouse work just fine.

      I imagine telephone support to be an even greater mess than it is now when speech recognition is used by the client (the person in need for help).

    10. Re:Speech recognition by Taladar · · Score: 1

      But with speech recognition there are things better technology can not overcome, speed and parallel use of the voice for other things like telephone or RL-talking being the of the biggest concerns that are simply not solvable by better speech recognition technology

    11. Re:Speech recognition by Deliveranc3 · · Score: 1

      That's because you are used to crappy speech recognition programs which have no cues for when you are talking to the computer and have terrible accuracy.

      Which is sad, it's like saying computers suck because my 286 can't run Doom 3.

      Technologies need to mature this one is just being born.

    12. Re:Speech recognition by Baseclass · · Score: 1
      Although various input devices may excel in different circumstances, the keyboard is by far the most versatile.

      True, the QWERTY wasn't exactly designed with ergenomics in mind (rather to prevent the keys from jamming on early typewriters), unlike the Dvorak layout. I actually used a Dvorak for a short period and taught myself to type on one (albeit slowly) it eventually proved far too annoying being the only guy in the known universe to be using one of these.

      --
      ^^vv<><>BA
    13. Re:Speech recognition by Gregg+Williams · · Score: 1

      I beg to differ. I have been diagnosed as being 43 percent "partially permanently disabled" in both hands from tendinitis, and I could not use a computer at all if it were not for voice-recognition software (I use Dragon NaturallySpeaking). What's more, voice-recognition software is not and cannot be the whole story--it is best suited for typing English sentences and does not do well with non-English text (control keys and source code, for example), moving the cursor, or pressing mouse buttons.

      For people who are struggling with such issues, here is a short list of additional products that I find useful (most of them, alas, for the Windows platform only):

      http://www.naturalpoint.com/ (SmartNav no-hands pointing device)

      http://www.fingerworks.com/ (TouchStream keyboard)

      http://www.xrayz.co.uk/ (ClipCache)

      http://www.cesoft.com/ (QuicKeys)

      http://www.cirque.com/products/cons-prod.html (Cirque Cruise Cat touchpad)

      http://www.wacom.com/graphire/index.cfm (Graphire3 graphics tablet)

      I hope this information helps someone who needs it.

  25. Obligatory Commercial Break by Noksagt · · Score: 5, Funny

    Woman: [dictating into cell phone] To: Mike. I had fun last night.
    Cell Phone: To: Mike. I have lip fungus.
    Woman: [into cell phone, angrily] I had FUN, not lip fungus!
    Cell Phone: I have fungus, not lip fungus.
    Woman: I DON'T HAVE LIP FUNGUS!!!

  26. Ding dong, the troll has returned by Anonymous Coward · · Score: 0

    ahhh, the troll has finally returned. and nice to see you puting some hate on Sun as usual. just like old times.

  27. Another alternative: HTK by j.leidner · · Score: 2, Informative
    Dear anonymous,

    Maybe you like the Cambridge HTK better, then ;-)

    --
    Try Nuggets , the mobile search engine. We answer your questions via SMS, across the UK.

    1. Re:Another alternative: HTK by Anonymous Coward · · Score: 0

      Well, my dear chap, I am afraid I would have to colour my speech thusly if I were to use this.

    2. Re:Another alternative: HTK by pjt33 · · Score: 1

      Cambridge, not Oxford.

  28. Never a huge fan... by ImaLamer · · Score: 3, Insightful

    I've used a few packages for speech recognition but none really got me too excited. Well, Dragon Naturally Speaking did have me read a few chapters of Dave Berry to it. I bet it didn't work because of all the laughing, I was in tears.

    I must say though that speech recognition is something that the whole computer community needs to work on. Now, we can finally do that. All the "open source community" needs is source that works a little. In a year or so, I bet this works better then most options available today.

    Now, I know that isn't the rule but this is the type of thing that computer/math engineers could sit down to and contribute where others can't. It seems to be the rule that the really smart ones tend to work with open source software...

    Really the cool thing is that this could get people involved who otherwise wouldn't because they don't know where to start.

    1. Re:Never a huge fan... by jwsd · · Score: 3, Insightful

      It seems to be the rule that the really smart ones tend to work with open source software...

      Or it seems to be the rule that those who work with open source software tend to think they are the really smart ones...

    2. Re:Never a huge fan... by Anonymous Coward · · Score: 0

      Don't worry, you'll get excited when Clippy will start whispering in your ear something like "Hey handsome! looks like you're starting to work - wanna do it better?"

    3. Re:Never a huge fan... by mollymoo · · Score: 2, Insightful
      It seems to be the rule that the really smart ones tend to work with open source software...

      Or it seems to be the rule that those who work with open source software tend to think they are the really smart ones...

      Or it seems to be the rule that it's only the open-source developers we hear from directly, without being filtered through a bunch of marketroids.

      --
      Chernobyl 'not a wildlife haven' - BBC News
    4. Re:Never a huge fan... by Olivier+Galibert · · Score: 1

      The "open source community" also needs data. And it isn't available.

      Did you notice that you don't have the data to rebuild the models they use in sphinx 4? That means you can't add all the missing parts in it you need if you want to really be state of the art, like VTLN, MMIE/MPE, SAT, or even a lattice rescoring using 4-grams. Kinda kills the whole "other people can make it better" idea...

      OG.

    5. Re:Never a huge fan... by jwsd · · Score: 1

      Or it seems to be the rule that it's only the open-source developers we hear from directly, without being filtered through a bunch of marketroids. I don't know about you but I have worked for companies where engineers are encouraged to talk to customers directly. By the way, talking to developers doesn't necessarily mean you always get honest answers. Most developers are biased toward their own products. Actually, I noticed that many developers have the illusion that they are indeed the smartest people working on the thing and they honestly believe that their products are the best. This illusion is typcially reenforced by their mostly associating with the people in their own circles. I am afraid OSS developers are no exception.

  29. Know hair oil, thank Hugh by Anonymous Coward · · Score: 0

    I have already eaten lunch

  30. Re:Free C++ alternative from Mississippi State Uni by Anonymous Coward · · Score: 0

    It's called humor jackass...

    Think really hard about this one...

    Mississippi == Southerners
    Southerners == Southern Accent

    -wow, I'm not being a troll

  31. Serious Question: Real-Time Acoustic Scores? by Anonymous Coward · · Score: 1, Interesting

    Does this incarnation of Sphinx or any of the other open-source speech recognition systems allow us to process acoustic scores and potential phonemes while the user is still talking?

    In other words, can we access a time stream of phone-probabilities as it is being updated?

    Thanks!
    AC

  32. OT Star Wars Nitpick by Anonymous Coward · · Score: 5, Informative

    Hey moron, it's R2D2 that beep-booped. C3PO was fluent in over 6 million forms of communication. ;-)

    1. Re:OT Star Wars Nitpick by Anonymous Coward · · Score: 0

      Which meant that C3PO could speak in R2's "language" if he wanted to :)

      Problem solved. Everyone's right! Woohoo for us!

  33. Re:Speech Recognition is a Mature Technology. by lawpoop · · Score: 3, Funny
    Because it's hard to get a computer to wreck a nice beach

    Ba-dum-dum ding!

    --
    Computers are useless. They can only give you answers.
    -- Pablo Picasso
  34. This just sucks by Anonymous Coward · · Score: 1, Funny

    You know, when I was growing up, we had to do all this hand-writing practice and public-speaking stuff, and we had to write letters and use the phone for everything. Then came PCs and the internet and everything was done using computer forms, spreadsheets and email. So naturally, I forgot all my skills in handwriting and speaking in favor of typing and clicking.

    Now, years later, I'm given Palmpilots that I must scribble on and PCs that I must talk to, and everything is in multimedia streaming audio and video, including emails... Would you people make up your minds already?! Do I learn to type and fill out forms, or do I learn to write, speak and listen?? Please, please, please pick one mode or the other and stick with it... Sheesh!

    1. Re:This just sucks by Fred_A · · Score: 1

      Next you'll also have to keep your speech interesting or your computer will doze off or go play on IRC in the background...

      A good speech recognition system could make use of webcam input to complete audio input with lip reading. Although it's probably a bit heavy on the computing side it would certainly eliminate a number of erroneous inputs. I know it works for me.

      Maybe in, um, someday.

      --

      May contain traces of nut.
      Made from the freshest electrons.
  35. The Myth Must Die by GroundBounce · · Score: 1, Offtopic

    "Despite (or because of) being written in the Java programming language, Sphinx-4 performs as well as similar systems written in C"

    It's amazing that the myth of Java being slow is so persistant. In fact, for computational tasks, many benchmarks have shown that a modern optimized JVM with JIT compilation is roughly equivalent with most implementations of C++, with some benchmarks being better for Java and some being better for C++.

    Java *used* to be slow, in the days before optimized JIT JVMs. IMHO, another reason the myth persists is because Swing *is* slower than most UI toolkits in many cases, and it's easy to associate GUI slowness with overall slowness.

    In my own case, for ease of cross-platform operation, I've ported several computationally intensive image processing programs from C to Java and have experienced a speed degradation of perhaps 10-15%. The Swing GUI, of course, feels more than 10-15% slower.

    1. Re:The Myth Must Die by nihilogos · · Score: 4, Funny

      many benchmarks have shown that a modern optimized JVM with JIT compilation is roughly equivalent with most implementations of C++, with some benchmarks being better for Java and some being better for C++.

      And many studies have shown that going with Microsoft software is cheaper than going with open sourced software.

      --
      :wq
    2. Re:The Myth Must Die by Anonymous Coward · · Score: 0

      Too bad the benchmarks you point to include no sourcecode. Without, the benchmarks are meaningless.

    3. Re:The Myth Must Die by Anonymous Coward · · Score: 0

      Hey, great! from now on all my programs that repeat the same operation 10 million times will e written exclusively in all-portable java! There's no point doing that floating-point division in horendous, buffer-overflow-prone C anymore! Thank you sooo much for this information!!!

      Now please excuse me, I'm off helping a friend with recoding all his MonteCarlo code in java. He said that if we finish it by November, he could have the data for his next article in about 4 years.

    4. Re:The Myth Must Die by Brandybuck · · Score: 1

      It's amazing the myth that Java is fast just because it can optimize some benchmarks and computationally intensive loops. In my real world with a real world computer running real world applications, Java still runs slower C.

      I've ported several computationally intensive image processing programs from C to Java and have experienced a speed degradation of perhaps 10-15%

      Aha! Even you admit it!

      --
      Don't blame me, I didn't vote for either of them!
    5. Re:The Myth Must Die by Anonymous Coward · · Score: 0

      The larger the program, the more time it takes the optimizer to "figure it out". That's why Java is useful for server-side, where programs may run for really long time so the optimizer gets all there is to get out of them. On a desktop it's a different story.

      Anyway, best part of his link was the smaller size of java programs. ROTFL! so the VM was optimized to size zero already?

    6. Re:The Myth Must Die by Anonymous Coward · · Score: 0

      Sorry, but Java STILL eats up gobs of memory, and the VM startup time is STILL a significant overhead, in the day of Web browsers that pop up instantly. Remember: as far as desktop software components are concerned, actual benchmarked speed doesn't matter anywhere near as much as the feel of responsiveness. And Java apps still feel heavy, at startup, on the screen, in the RAM. Please don't blame people for seeing what they see.

    7. Re:The Myth Must Die by kaffiene · · Score: 1
      And many studies have shown that going with Microsoft software is cheaper than going with open sourced software.

      And when you refuse to acknowledge the numbers and chant the same old slogans, you know that language bigotry has triumphed yet again over actual fact.

      Go Slashbot! Go!

    8. Re:The Myth Must Die by pla · · Score: 1

      In fact, for computational tasks, many benchmarks have shown that a modern optimized JVM with JIT compilation is roughly equivalent with most implementations of C++, with some benchmarks being better for Java and some being better for C++.

      Funny... Yeah, exact word I wanted.

      Even funnier? Those benchmarks compare C++ (with C/C++ libs), to Java (with C/C++ libs). Woo-woo, color me simply shocked that such tests show the two as performing comparably on tasks that minimize the impact of the frontend code.

      And something else "funny"? You always see Java compared against compiler-optimized C++, a strawman if ever I've seen one. I don't claim C++ as all that much better than Java, I claim C (no ++) with hand-tuned assembler for a few tight loops as faster than Java.


      Come back to me when Java can match that, and I'll consider it merely redundant, rather than outright wasteful. Until then, take the "immune from buffer overflow exploits" with a grain of "what language did they write the JVM/JRE in?".

    9. Re:The Myth Must Die by Anonymous Coward · · Score: 0
      It's not a myth. Do it on a computer with 128MB or 64MB of RAM.


      While Java isn't the dog it used to be, it's a memory hog.

    10. Re:The Myth Must Die by GooberToo · · Score: 1

      Every study that I've read are based on piss-poor C/C++ code or corner cases which never represent real world code.

      Every Java application I've run, and I mean EVERY application, feels like I'm being punished. Simple fact is, Java has a reputation for being slow because in the real world, for most everyone that has had to, or currently has to use Java, it actually is slow.

      It's not that people are hung up in the past. It's that in daily, real world use, Java reaffirms that it's slow(er) than modern C/C++ applications, which people are used to using.

      Sure, in a test suite, which painfully ignores things like gc, and goes out of it's way to write ideal Java code, and crappy C/C++ code, Java looks great. But in reality, the world doesn't spin like that.

      Java 1.5 might be a big step if changing and improving Java, from both a developer and user's experience, but until then, there is a huge disconnection between what the Java zealots sing and the real world.

  36. Argh! by kaffiene · · Score: 2, Funny

    Resist! It's SUN trying to ruin Linux and OS again!
    It even uses Java!!!! Slashbots must fight back!

    1. Re:Argh! by jeif1k · · Score: 1

      Fortunately, the UI aspects should be small, so a port of Sphinx-4 to an OSS platform should be easy. But until that happens, it's free software that only runs on a proprietary platform (assuming it's even free software at all--what's the license and what's the patent situation?).

    2. Re:Argh! by youstupidbigot · · Score: 1

      Mod this up!

  37. Obviously by Moderation+abuser · · Score: 5, Funny

    "This data was collected on a dual CPU UltraSPARC(R)-III running at 1015 MHz with 2G of memory."

    Looking at the performance data it just blazes along on that config. Not exactly what I'd call an embedable system, though Microsoft might beg to differ.

    --
    Government of the people, by corporate executives, for corporate profits.
    1. Re:Obviously by Dr.+Cody · · Score: 1

      Looking at the performance data it just blazes along on that config. Not exactly what I'd call an embedable system, though Microsoft might beg to differ.

      After looking at the price for a full copy of XP, I feel like I just had a dual UltraSparc III imbedded in me.

  38. Re:Speech Recognition is a Mature Technology. by Anonymous Coward · · Score: 1, Insightful

    What is the problem? Speech recognition is a mature technology, and algorithms for speech recognition are well documented in the research journals. The federal government has long since stopped funding research into speech recognition.

    And by mature you mean of course immature. Speech recognition is at the Model-T stage.

    Once you get speaker-independent recognition with the same accuracy as humans for a price that's cheaper than hiring a secretary you can claim maturity.

  39. Re:Speech Recognition is a Mature Technology. by Anonymous Coward · · Score: 0

    Well struck Sir! I salute your Trolling mastery.

  40. Good Success by billdar · · Score: 2, Informative
    I've been using sphinx for about a year or so now for a linux-base home automation project. I must say that it has worked out very well for me so far.

    The speaker independant feature is the best part. Not all words were recongnized, about 70%. Probably because I slur the other 30%. It works equally well with either my wife or myself issuing commands.

    70% is more than I need for this particular project, but I'm sure this new release closes the gap even further.

    --
    I am billdar, and I approve this message.
    1. Re:Good Success by Anonymous Coward · · Score: 0

      You take the blame for the 30% the system gets wrong - it is the system's fault - not yours. The Sphinx team is responsible for that 30%, although they are not liable when your computer hears "remove all my files" instead of "move all my files" 30% of the time.

    2. Re:Good Success by Anonymous Coward · · Score: 0

      The sphinx team isn't responsible for the 30% jackass, they're responsible for the 70% it does work.

      Go fuck yourself.

  41. no more music by kongit · · Score: 3, Funny

    Guess I won't be listening to music when root anymore. In fact I am sound proofing my room to keep the noises from infiltrating my microphone and causing me to accidently delete /home

    1. Re:no more music by Anonymous Coward · · Score: 1, Interesting

      Heh, I can just see a hacker running through the halls of a crowded office screaming commands through a megaphone.

    2. Re:no more music by Anonymous Coward · · Score: 0

      Heh, I can just see a hacker running through the halls of a crowded office screaming commands through a megaphone.

      REBOOT! YES! REBOOT! YES! REBOOT!!!

    3. Re:no more music by Anonymous Coward · · Score: 1, Interesting

      Insightful?

      1)You don't have to run voice-recog, software when root or anytime.

      2)You are allowed to wear headphones when you listen to music.

      3)Your brain is a wonderful thing. So is the developer's brain. If you've thought of a possible problem, I'm pretty sure the developer has too. So - don't expect this to be a problem.

  42. The mods need to stop smoking crack by Anonymous Coward · · Score: 0

    How the F*** is this an interesting comment...funny or flamebait I'd believe...insightful isn't even much of stretch. Oh how much better this site would be if the mods didn't have so many chemcal dependencies.

  43. WTF! by Bricklets · · Score: 2

    What is the problem? Speech recognition is a mature technology, and algorithms for speech recognition are well documented in the research journals. ... If you want to code some speech recognition software for Linux, just get a good book on C# ... and photocopy some relevant papers from the IEEE Transaction journals.

    Let's apply your logic on why there isn't a good OS implementation of Java: What's the problem? Java is mature technology and its API is well documented. If you want to code some JRE or Java compiler for Linux, just get a good book on C# and download the API off of Sun's website.

    You're reasoning is all wrong. Plus I'm still scratching my head on why you recommended C# over Java on LINUX.

    --
    Little Bricklets
    1. Re:WTF! by Anonymous Coward · · Score: 0

      You're reasoning is all wrong.

      "Your".

  44. I hope they don't expect to get paid! by museumpeace · · Score: 1

    Sorry for airing reruns but its more relevant here. As I have said before:
    Re NSF blowing a measly million to put speech recognition in silicon [for which there were many interesting and informative comments posted] I said:
    Just a million? Pfft! I went down the tubes with one S.R. startup back in '92 that ate far more of some VC's money than that. Now NSF is not in it to get rich and I hope I am right in assuming that a successful chip design, if a mere $1000000 gets that far, would then be available at no fee to any foundry, or at least US foundry. OK, any foundry that wants to sell S.R. chips to the DOD. This lines up pretty well with IBM's recent give-away of its S.R. code: it is an admission that Speech Recognition is a commodity and nobody knows how to make any money with it so govt must fund further development.
    BTW, automated recognition of music [as in "what is this tune I keep humming?"] has been on the drawing board at Philips over in the Netherlands for over a year. Philips isn't saying much. But it appears you have to have a pretty accurate sample to get recognition since they want to arrest your piracy based on this recognition...no S.R. software worth its $1000000 is that fussy about sound quality.

    --
    SLASHDOT: news for people who can't concentrate on work or have no life at all and got tired of yelling back at the TV.
  45. There's more than one kind of overhead. by argent · · Score: 5, Insightful

    I could easily live with 10-15% slower, IF Java didn't have the startup overhead. I can run inetd-style fork-exec-terminate servers in C on CPUs that a cellphone would spit on, and handle hundreds of connections a second. Bringing up a JVM on the same processor would take minutes. Bringing up a JIT runtime would be out of the question.

    For applications where you can create a JVM and use it as you need it, Java's great. Webservers, sure, no problem. Desktop applications, heck, the GUI overhead's getting to be the same order of magnitude (though that HAS to change, we can't afford to depend on Moore's Law much longer unles someone comes up with a clever way to cut the power consumption of processors faster than the speed increases). Browser plugins? For content, yes, but not for navigation... if it takes 10s to start up a JVM your customer's already hit "back".

    1. Re:There's more than one kind of overhead. by Dr.Dubious+DDQ · · Score: 1
      I could easily live with 10-15% slower, IF Java didn't have the startup overhead.

      This is the reason I keep wondering about whether or not this, that, or the other Java package can be compiled to native code with GCJ. If so, that should solve the overhead issues involved in calling up a JVM...

    2. Re:There's more than one kind of overhead. by LarryRiedel · · Score: 3, Informative
      I can run inetd-style fork-exec-terminate servers in C on CPUs that a cellphone would spit on, and handle hundreds of connections a second. Bringing up a JVM on the same processor would take minutes.
      [...]
      if it takes 10s to start up a JVM your customer's already hit "back".

      I find that startup/shutdown for a simple Java program takes about 200ms at 1GHz with the vanilla Sun JDK 1.5 JVM, or 150ms using gcj (gcc), and an equivalent C program takes about 2ms.

      Browser plugins? For content, yes, but not for navigation.

      The overhead of starting a JVM should be incurred only once per browsing session.

      Larry

    3. Re:There's more than one kind of overhead. by Anonymous Coward · · Score: 1, Interesting

      Argh. Why does everyone insist on using VMs? /Natively compile/ your Java (I used Excelsior JET) and it will in fact run at C++ speed but with a lot less hassle and security risk. I used to prototype in Java and port to C for optimisation, but with native compilation I no longer have to bother.

    4. Re:There's more than one kind of overhead. by argent · · Score: 2, Insightful

      I find that startup/shutdown for a simple Java program takes about 200ms at 1GHz with the vanilla Sun JDK 1.5 JVM, or 150ms using gcj (gcc), and an equivalent C program takes about 2ms.

      A factor of 100 difference in the overhead is a bit better than I've seen. I assume that I've never tried it on a sufficiently simple Java program, or you're talking about a dynamically linked C program. Still, a factor of 100 difference in the startup overhead is hardly a negligable consideration.

      The overhead of starting a JVM should be incurred only once per browsing session.

      I would hope that it didn't re-use the same JVM for applets from separate websites! I'm less than enthused about the Java applet security model as it is (OK, it's a couple of decimal orders of magnitude better than ActiveX, but that's hardly a rousing endorsement), and expecting it to run multiple security domains in the same JVM entirely fails to be my cup of tea.

    5. Re:There's more than one kind of overhead. by Mithrandir · · Score: 1

      Go do some research on the Dynamo project from HP. Running native code inside a VM results in a 20-30% faster running application. Runtime optimisations for the actual code paths used will always result in faster execution than static optimisation.

      --
      Life is complete only for brief intervals in between toys or projects -- John Dalton
    6. Re:There's more than one kind of overhead. by Anonymous Coward · · Score: 0

      because I click on a link, or a type in the name of the executable? Wait, no, that doesn't seem to work. Because I click on a link.

    7. Re:There's more than one kind of overhead. by Tim+C · · Score: 1

      Still, a factor of 100 difference in the startup overhead is hardly a negligable consideration.

      That really depends on the application in question. If we're talking about startup times and user perception, 2ms v 200ms doen't really matter - the latter will be noticeably slower, but still damn fast. If we're talking about things where performance is critical then of course it's a different story.

    8. Re:There's more than one kind of overhead. by Anonymous Coward · · Score: 0

      Have you tried Java 1.5 (or is it 5.0, whatever)?

      There's a nice feature which caches already compiles stuff resulting in much lower startup overhead. A project I'm working on, a sequencer (a jar sized about 1 megabyte, 200k of icons and the rest is code), takes 10-15 seconds to start up the first time. Subsequent executions however take less than a second to start up.

    9. Re:There's more than one kind of overhead. by argent · · Score: 1

      I suspect almost any realistic program would end up having to start up a full-blown JVM:

      Compiled applications are linked with the GCJ runtime, libgcj, which provides the core class libraries, a garbage collector, and a bytecode interpreter. libgcj can dynamically load and interpret class files, resulting in mixed compiled/interpreted applications.

    10. Re:There's more than one kind of overhead. by argent · · Score: 1

      If we're talking about startup times and user perception, 2ms v 200ms doen't really matter - the latter will be noticeably slower, but still damn fast.

      Don't forget, that's a best case scenario on a 1 GHz processor, and performance is critical more often than you think. Consider a script that loops over all the files in a directory and runs a small program (a simple Java or C program) over each of them. Small directory, 50 files. Now the C version is losing 0.1s to the startup (maybe less, since the second and subsequent runs won't need a disk read, but let's say 0.1s). The Java version's taking 10s right there.

      I have a C program I run from tcpserver where I significantly improved throughput by removing three open() - read() - close() sequences from the common case and replacing them by a stat(). There's been an enormous amount of effort spent on improving the performance of fork() - exec() over the years, getting that overhead down to the point where a program like qmail can go through a chain of 4 or 5 exec()s and still have decent performance on my crummy old P/266.

      You wouldn't use Java that way? Well, no, that's my point, isn't it? The UNIX pile/filter shell script still provides an immensely productive environment... I haven't found a better one for what I do... and Java is just plain out of the question here. There's lots of other environments this overhead is a killer, too. If you can do things the Java way, that's fine. If you can't, well, you have to use another language.

    11. Re:There's more than one kind of overhead. by Taladar · · Score: 1
      For content, yes, but not for navigation... if it takes 10s to start up a JVM your customer's already hit "back".
      I could live with 10s waiting but the chance of 50% to get an "Applet crashed","Invalid Bytecode" or similar response are quite annoying with Java.
  46. Choice of "language"? by Thinkit4 · · Score: 1

    English, that is. Homophones make the language a mess. Spanish might be better. Lojban would be quite cool, as that seems to be going along nice. All our languages will seem silly post-singularity.

    --
    -I am an elective eunuch.
    1. Re:Choice of "language"? by Anonymous Coward · · Score: 0

      Nah. If you understand speech then homophones aren't such a terrible problem. The reason our languages will seem silly post-singularity is because they are inefficient. Even that might not be a problem with sufficient compute power vs communications latency.

      Michael

  47. Can it do transcription? by argent · · Score: 1

    That's what I want, not SR. I tryed using the voice recorder feature on my PDA but it's not something I can use without a secretary to transcribe my voice into text. It's bad enough taking or leaving voice mail... it's just not my medium.

    But if I could take those wave files from my PDA and convert them to text notes... even in the background offline after I sync, then they'd be useful. But you need accurate transcription for that. Is that in there?

  48. Sounds like someone by Anonymous Coward · · Score: 0

    needs an introduction to Jython.

  49. Telus and Voice Recognition by kai.chan · · Score: 1

    Speaking of speech recognition, I recently called Telus and was surprised that I was directed to a service by a voice recognition system rather than the monotonous number inputs. As I've heard, Telus spent a lot of money on the system, and they don't want to scrap the project. Perhaps they can make use of IBM's technology.

    1. Re:Telus and Voice Recognition by Fancia · · Score: 1

      I remember finding that on Sierra's lines in about 1996 or so... I can't recall how well it worked, although since they just had you speak numbers instead of dialing them it wasn't very sophisticated.

      --

      Bít, zabít, jen proto, ze su liska!
  50. with with source source by dhart · · Score: 2, Funny



    Open Source Speech Recognition - With Source

    Does it come "with au jus sauce" ?

    Would that make it "with with source source" ?

  51. Re:Speech Recognition is a Mature Technology. by Anonymous Coward · · Score: 0

    "The grandparent post is intended for someone who actually understands digital signal processing and Fourier transforms."

    hahahahaha. this is funny. You think you know anything about speach recognition because you know how to use Fourier transforms in DSP? Dear god, get a life. Speach regognition is EXTREMELY complicated. This is why no free programs for it exist.

  52. And lo, the point was missed... by DarkMan · · Score: 4, Insightful

    You are, of course, perfectly correct in everything you said.

    There are a number of HCI aspects where speech recognition is not a good solution.

    However, let me enumerate a number of other ones, where it's superior:

    Minutes of meetings, or similar. Imagine having a verbatim record of a discussion there by the time you get back to your desk.

    Someone who cannot type - e.g. no hands. Rare, granted, but still a viable use.

    Someone whose hands are busy. The cannonical example here is a pathologist doing an autopsy, where they dictate everything. Speech recogition saves time in transcription (and money for the audio typist).

    I'd love to be able to issue voice commands to a computer, for a few, isolated cases. For example, diagnosing hardware. Bring up a doc, and be able to get the computer to flip pages, without having to remove the probes from the hardware. Re locating them is a pain, and sucks time.

    Moreover, I'm certain that there are others, some of which will only be realised when it's common and cheap enough to be widely available.

    It's like a mouse. It's one of the worst general purpose input devices for a computer [0], but it's excels at indicating a single element on a display. The mouse and keyboard complement each other, and there are a bunch of other, more specifc input devices, such as the graphics tablet. I have no doubt that if speech recognition was as accurate and reliable as a graphics tablet, it would get a similar amount of use.

    [0] Try inputing a block of prose with only a mouse. Even specilist software makes it only suck marginally less.

    1. Re:And lo, the point was missed... by Anonymous Coward · · Score: 0

      like most input devices, i think the really potentially exciting use of speech recognition is when it is used in conjunction with other forms of input. for example a computer that listens to you and can make certain assumtions about what you want from things you say or even noises you make. combined with typing and using the mouse, it could just become another tool to get stuff done quicker, without constantly having to talk to the computer (which is clearly not the way to go).

      also, i don't think anyone can deny that speech recognition has revoltuionized the looking up movie time and flight information industries :)

  53. Um...I don't want to get out of my bed! by MacFury · · Score: 1
    If I didn't have speech recognition on my powerbook...I couldn't tell it to turn the lights on or off. Jesus...are you saying I should get off my lazy ass and actually hit a light switch?

    I love x10 :-)

  54. Rolling your own speech recognition isn't so easy by belmolis · · Score: 4, Informative

    Speech recognition is not really a solved problem. For some applications it works adequately, but if you take a look at the error rates for the Sphinx system to which the post links, you'll see that the Word Error Rate for large vocabulary is over 18%. Even for 5,000 words it is 7%. For many applications that is unacceptable.

    A second factor is that these statistical speech recognition systems require extensive data for their language model. Building such a system requires recording real speech, segmenting it and creating a set of examples from which to compute the probabilities, which requires some knowledge of acoustic phonetics, and doing the computation for the model. This is time-consuming.

    Speech recognition technology isn't a dark secret, but it isn't trivial to create a system with good performance either.

  55. OS != Speech Recognition by Anonymous Coward · · Score: 0
    Your analogy fails because writing an OS and writing signal processing code are two different beasts. The hard part of signal processing code (like speech recognition) is determining the algorithm. The mathematics is quite complicated.

    Once the algorithm is determined, the coding part is easy.

    For the OS, the theory is simple, but the coding is very hard.

    Stop acting like a Korean bigot.

  56. nifty desktop control with sphinx and festival by Danny+Rathjens · · Score: 4, Interesting
    http://perlbox.sourceforge.net/

    The very small vocabulary needed for desktop control makes the speech recognition much more accurate and usable.

  57. Ok by cubicledrone · · Score: 1

    Speech recognition seems similar to VRML. It would be really cool if it worked. But it never quite seems to work.

    --
    Business isn't willing to pay for products, innovation and careers, so we get brands, mortgage commercials and layoffs.
    1. Re:Ok by Anonymous Coward · · Score: 0

      A few months ago i saw great working, stunningly fast Java+VRML stuff.

  58. I used to work for MacSpeech, doing UI work by notthepainter · · Score: 5, Insightful
    And before that, I worked for Articulate Systems, also doing UI work.

    With that said, you can probably guess I have a lot to say about Speech Recognition. (Not Voice Recognition, that's different, that would be able to distinguish Ben from Charlie for example.)

    A good SR engine is, of course, essential. And I've not read the details on the two recent giveaways, but I suspect that they are only the engine.

    The SR engine is just a begining. There is a ton of UI work that needs to be done. Sit and think about spacing around punctuation marks and then think about capitalization around puncuation marks. Yeah, it is all pretty cut and dried and known but the details really need to be sweated to get it right. This is very time consuming.

    Next you have to worry about exactly where you are editing. Is that into Microsoft Word (or Open Office), or emacs, or where? It can make a huge difference when you want to go back and correct misrecognitions. You just don't want to send N delete characters and retype it, that results in a lousy user experience. So just exactly where is the input cursor at all times? This is not an impossible problem, but one where the details must be sweated.

    Next is command and control. Just how are you going to let the user grab the text of all the menus and all the text in the dialog box buttons. Again, not impossble, but more of those pesky details.

    Finally, is your SR engine good enough? Maybe, maybe not. Let just say that 98% accuracy might look good on paper, but that is one in 50 words wrong. Unless your correction mechanism is smooth, an error rate that high greatly slow you down.

    Is Open Source SR a good thing? Oh yes sir, yes! But lets not forget the details. One thing the Open Source community has been accused of, perhaps justly, perhaps, unjustly, is not sweating the details.

    Speech Recognition has an awful lot of details.

    1. Re:I used to work for MacSpeech, doing UI work by Anonymous Coward · · Score: 0

      Do you have some time to devote to the project, even if just on a "consulting" basis? I'm sure the group could really use somebody with your experience!

    2. Re:I used to work for MacSpeech, doing UI work by notthepainter · · Score: 1

      I certainly couldn't contribute by looking at code, but I'm sure it is ok to advise people who are coding. That couldn't possibly compromise any proprietary material that I have locked away in my head, could it?

  59. Why speech recognition on Linux will kill Windows by MarsF · · Score: 5, Insightful

    I was thinking about this the other day, and was wondering if this is a huge gap in the Windows user interaction model.

    Think about how you input info using windows. You click on a few locations using the mouse, perhaps use some keyboard input, click some more. The output from these inputs is arbitrary: it may result in anything from a 'File/Save' dialog to a custom error dialog box. There is no linear path for inputting commands, or for mapping inputs to results.

    Compare this to the command line. You enter a few distinct atomic commands, and view the results in the same medium. You then enter more commands, refining your actions. The key here is that you already have a linear model for input that produces well defined expected results, all in a common medium that is conceptually simple, visible to the user, and easily processed by machines. Extending this model to accept voice input or output is trivial.

    How is one supposed to quantify basic tasks and turn them into equivelant voice commands without a baseline framework or paradigm to extend from? How do you automate, simplify, or extend existing tasks without a common input or output medium? GUIs provide no such medium or framework; that same framework is at the heart of the command line interface!

    Perhaps this is why we never saw voice recognition technology take off on Windows. It's blinking impossible to script actions for an arbitrary task, let alone process the arbitrary results!

    On a similar note we may see voice recognition on Linux take off like a rocket. Anybody can add voice recognition to perform almost any command because the actions are all scriptable throught the CLI already. If you can type it, you can get your computer to do it when you say 'computer, foo!'

    Mars

    P.S. It would be greatly appreciated if someone could please clarify my point. It's buried in there somewhere...



  60. TV Remotes by DarkMan · · Score: 1

    Replying to myself, because I just had one of those silly ideas, that Might Just Work (tm).

    You know how the TV remote gets lost from time to time? And it's always a pain to find. Or that the remote is the other side of the room, so you have to walk away from the TV, pick it up, and end up moving further than to the TV itself?

    Put a microphone on the set top box, and use voice recognition instead / as well as a remote.

    Sonic contamination is easily solved, by subrtracting out of the picked up audio the TV stream.

    Use a keyword, then a simple set of commands (chanel up / down, jump to channel, volume up / down, mute, maybe some menu/PVR functions).

    For those that use MythTV boxes, this should be straightforward to set up, although subtracting out the final audio stream might be tricky. Might not be needed, depends on the room geometry.

    That's the power of open source - no need to wait for someone else to implement it. I'm off to see if I can persuade mplayer and Sphinx to comunicate...

    1. Re:TV Remotes by Baseclass · · Score: 1
      Damnit! That's my idea, but I was gonna keep quiet until I could prove it viable.

      I was just thinking of building a MythTV module to allow this software to interface with .XModmap or something to emulate keyboard commands.

      --
      ^^vv<><>BA
    2. Re:TV Remotes by Baseclass · · Score: 1

      Not such an original idea after all.

      --
      ^^vv<><>BA
  61. Re:Why speech recognition on Linux will kill Windo by bugeye1959 · · Score: 2, Interesting

    Yea, we will all speak BASH. Seriously, the real problem is not speech recognition, it is in the area of speech understanding. A good example from an SR book from my college days.. "Please plant some more tulips." or was it... "Please plan sum ore two lips." It is not a trivial computer problem to resolve this. In fact, I would venture to say that once you have an algorythm to resolve the above then you probably also have a "sentient" computer that can pass the Turing test. That would be pretty sweet as you will have solved many of other problems in the world.

  62. The issue is Javas footprint and integration by Ndr_Amigo · · Score: 4, Insightful

    While I've been waiting for Sphinx to mature into something useful for a long time now, the move to Java makes the whole package pretty useless to me.

    Java is a memory hog, and it's certainly not going to be on any device I would want speech recognition on. Heck, I don't have Java installed on any of my machines, mostly because of the absolutely ridiculous footprint on disk as well as when running in ram.

    And integrating Java applications into other applications is very difficult. Now, Java is good for certain things, but a speech recognition engine in Java sounds like the worst abuse possible :)

    That and I still can't train it to recognise my slight australian accent, unlike every other bit of SR software I've used on Win32 :P

    Whether or not Sphinx-4 works, and whether or not Java is 'fast' enough to do speech recognition processing, its of no use to me.

    1. Re:The issue is Javas footprint and integration by Anonymous Coward · · Score: 0

      Java: it's the new Lisp. Big, slow, hard to integrate, inappropriate for whatever task it is used for, and just plain wrong.

      --tim

    2. Re:The issue is Javas footprint and integration by gbjbaanb · · Score: 1

      Java: it's the new Lisp.

      Don't you go bad-mouthing Lisp like that, some things are just too insulting :)

    3. Re:The issue is Javas footprint and integration by jhh09 · · Score: 1

      Two devices that can benefit the most from a good speech recognition engine are pdas and cell phones. Being that java is quickly becoming a standard part of both cellphones and pdas, the use of java for this project makes sense to me.

  63. Useful but not extremely useful by TheLink · · Score: 1

    Speech recognition has its uses but it's often overrated.

    Thought-macro recognition has greater promise of revolutionizing things. Already animals are able to control devices and play games just with sensors hooked up to their brains.

    Scenario: you're looking at something e.g. noticeboard or something, your SuperPDA's camera sees the image as well (in fact it's continuously recording so you can choose to permanently record stuff that has occured X seconds of buffer time ago (e.g. what happened?) ).

    You then mentally mark the top left and bottom right corners of the area you want to capture, and then mentally think "Capture". All using predefined "thought macros".

    The captured image is immediately processed - text content converted to text, keywords weighted by context (with tweaks done mentally) and stored in an object database for future reference/retrieval.

    Same for audio - you'll have a continuous recording going on all buffered. So you can capture at anytime. That's where the speech recognition could come in. But it has to recognize different voices etc. Maybe you need to record in stereo to make it easier.

    --
  64. Whatever happened by Kurayamino-X · · Score: 1

    to This?
    you know, the speech recognition system that worked with a whole 11 virtual neurons and could distinguish between individual speakers perfectly over the roar of a jet engine?

    --
    ...I got nothing.
  65. Reporter, stop replying as AC by Bricklets · · Score: 1

    korean bigot??? what??? reporter, is that you? why don't you reply with your login instead of hiding behind an AC name. sheesh, what a troll...

    --
    Little Bricklets
  66. Re:Why speech recognition on Linux will kill Windo by Eric+Smith · · Score: 1

    For a fictional example of serious problems resulting from exactly this sort of speech recognition ambiguity, read the book "Sewer, Gas and Electric" by Matt Ruff.

  67. Re:Rolling your own speech recognition isn't so ea by starm_ · · Score: 2, Informative

    Thats true. It is an underestimated problem. People assume that we can recognise a word by using just the sound of it. That is simply not true. When speaking at a reasonable speed humans do not utter words clearly. This is not a problem to us because we can guess the words by using context and semantics.

    In order to have a good speech recognition system, the computer would have to actually understand the meaning of the sentences and put it in context. There are different levels of analysis necessary to do this. The system has to analyse sound, morphology, syntax, semantics and pragmatics. Each level contains ambiguity but when two levels are combined together some ambiguity is resolved and you get another piece of the puzzle. When everything is combined the ambiguous parts all converge towards the right meaning, the right syntax, the right morphology and in the case of speech to text, the right choice of word and spelling.

    Now to do all that you ideally need sophisticated knowledge representation based on cognitive science and the way we think. Although, there exists tricks and shortcuts that can mimic the important parts of the cognitive system, there isn't any complete system that integrate everything well.

    Anyways if you want a summary of the field read the textbook: "SPEECH AND LANGUAGE PROCESSING" from Daniel Jurafsky & James H. Martin

    And search on google for "computational linguistics" "word grammar" "open mind common sense" "cyc" "Ray Jackendoff"

  68. Re:Why speech recognition on Linux will kill Windo by fireboy1919 · · Score: 1

    Yeah, that'll work great until someone says
    "R M forward slash R F enter"

    There was a UserFriendly comic about that...

    --
    Mod me down and I will become more powerful than you can possibly imagine!
  69. You forgot the P.S. by Anonymous Coward · · Score: 0

    P.S. There are too many states nowadays. Please eliminate three. I am not a crackpot!

  70. Re:Rolling your own speech recognition isn't so ea by mewphobia · · Score: 1
    the Word Error Rate for large vocabulary is over 18%. Even for 5,000 words it is 7%. For many applications that is unacceptable.

    A lot of a person's speech recognition ability comes from context. And we still make plenty of mistakes - and we've been recognising speech all our lives. I think the next big breackthrough in speech recognition will come with better language analysis - not seperating sounds into words but seperating them into sentences, and then into words from there.

    Sure, speech recognition is far from a done deal. No it's not easy - if it was then i'm sure we'd see a lot more of it in our everyday lives. But it's quite an exciting field.

  71. Reason by Creepy+Crawler · · Score: 1

    ---The U.S. Navy, which listens for the sounds of submarines in the hubbub of the open seas, is another possible user.---

    Possible? I'd snatch that up and slap a classified sticker on that FAST.

    --
    1. Re:Reason by Anonymous Coward · · Score: 0

      Yeah, I would have thought it's either been classified or is the current subject of some intense research to bring it closer to a commercial application.

  72. Re:Why speech recognition on Linux will kill Windo by Jonti · · Score: 1
    P.S. It would be greatly appreciated if someone could please clarify my point. It's buried in there somewhere...

    Quite a while back, I wrote a piece called The Talking Penguin", which I think might do what you ask. It starts ...

    There is nothing inherently visual about computing. Digital processors read their instructions from files or streams of binary text. They report back to the outside world in the same telegraphic language, translated into character sets and painted onto a matrix of glowing (or light absorbing) pixels. The video graphics array, who needs it? Talking Tux needs the phonetic intonation string, then these missives could as easily be spoken.

    ...

    Most developers expect to read the results of their efforts off of a screen; and the core of the system expects to issue streams of text that are displayed and not spoken. That is, the kernel is written to interface with hardware that writes, not hardware that speaks.

    Interfaces on the kernel need to be handled with care. Linus Thorvald's paper in Linux World is worth reading in this context. The objection to extra interfaces on the kernel is that they are "fixed in stone". Once defined, interfaces must be preserved through all future releases of the kernel - or the new release will break existing code based on the old interface definition.

    A talking kernel (strictly, a speech interface on the kernel) gives a system that can talk as it boots. This is much more useable and useful for non visual use than a system that only finds its voice once it has been successfully started and has then loaded the appropriate speech application software. Practically, this means the kernel must interface with some canonical or idealised generic speech device, the simpler the better. This means deciding how phonetic intonation strings should be written ...

  73. Java Trap by advocate_one · · Score: 1

    this falls precisely into the Java trap. Please see RMS for details. This project while being "open source" requires a non-compatible runtime to be present.

    --
    Donald 'Duck' Dunn: We had a band powerful enough to turn goat piss into gasoline.
    1. Re:Java Trap by maxwell+demon · · Score: 1

      The correct link is here

      --
      The Tao of math: The numbers you can count are not the real numbers.
    2. Re:Java Trap by mollymoo · · Score: 1

      Is it really so hard to try a link before you post?

      --
      Chernobyl 'not a wildlife haven' - BBC News
  74. You do realize ... by Anonymous Coward · · Score: 0

    ... that C3PO's communications code HAD to have been open-source?

    I mean, think about it. Where the heck is a slave kid on some remote desert planet going to get a library module with 6 million languages unless it's freely available for anyone to use? ;-)

  75. Benchmarks are TIGHT LOOPS with no GC !! by Gopal.V · · Score: 3, Interesting

    > It's amazing that the myth of Java being slow is so persistant

    Before you mod me down as a Troll , I work on a virtual machine as a hobby.

    The problems with Java being slow have little to do with the "execution of code" part. The part that takes a hit are the Garbage Collector and the Class Loader. The latter causes a HUGE hit in the start up. The former is responsible for those strange Swing freezes I've been seeing when I switch into a Java app.

    Unicode also brings its own set of junk , for example "Hello World" in dotgnu's JIT does 7302 hastable inserts, 6000+ StringBuffer operations to initialize the Unicode encoder/decoder. And that is the standard way of decoding unicode (mono uses the same code).

    Lastly , C/C++ commonly uses a lot of fields while Java brings in get/set methods for these. A method calls for a get or set is a LOT more expensive than a pointer read . Design has a lot to do with why Java is slow.

    The enterprise apps where Java is popular are essentially backend applications which run for long periods of time (so have all the classes looked up and loaded) with a HUGE heap (256 MB or more) where occasional GC freeze won't destroy the entire experience (as it is often JSP/Web based interfaces).

    Java *is* fast, if you don't count the slow parts.

    1. Re:Benchmarks are TIGHT LOOPS with no GC !! by GooberToo · · Score: 1

      Java *is* fast, if you don't count the slow parts.

      Nail. Head. You.

      You better run before the Java zealots start trying to hunt you down. According to their 3 second tests, Java is faster in every case. Please don't be bothered with facts that they tested absolete ideal corner cases for JIT and that they used horrible C/C++ code for comparison. Please ignore the fact that they don't care about GC, which effects real applications, or the huge memory foot print which is required. Happily ignore the fact that you can suprisingly exhaust the JVM of memory, at times you would never expect to do so.

      Shesh. Just stay quiet and run. ;)

  76. Re:Why speech recognition on Linux will kill Windo by oneandoneis2 · · Score: 1
    Yeah, that'll work great until someone says

    "R M forward slash R F enter"

    (Pedant mode)

    Actually, it's "R M space minus R F space forward slash enter"

    Your command would attempt to delete the "rf" file in the root directory.

    (/Pedant mode)

    --
    So.. it has come to this
  77. .. similar systems written in C?? LOL! by Anonymous Coward · · Score: 0

    > Despite (or because of) being written in the Java programming language, Sphinx-4 performs as well as similar systems written in C.

    Hahahaha!! LOL!! X-DDDDDDDD
    X-DDDDDDDDDDDDDDDDD x''-DDDDDDDD

    Subliminal information rules.. LOL!!

  78. Ghoti by Anonymous Coward · · Score: 0
    Speech recognition/synthesis can be fun to torture. Personally, I'd love it if someone set up a "council" of linguists, philologists and anyone else studying the structure of speech and/or sound, where the "council" could certify the level of competence the software had reached.


    Personally, I suspect that very few would rate much better than "2nd grade". :)

  79. You are my hero. by Anonymous Coward · · Score: 0

    To programmers, bite the bullet and learn to program vs program lite. I know it's work, but that's what getting paid is for. This may be trouble for those of you who played Everquest for the four years in college though. Darn.

  80. If I may interject a note of sanity here ... by Anonymous Coward · · Score: 0

    You're both nazis.

    --
    Godwin

  81. Native Compilers ? by Anonymous Coward · · Score: 0

    Isn't there a Linux too (gcj, ???) that allows you to compile a Java application into a native standalone executable ?

    There was something I read a while ago about some smart people compiling the Eclipse IDE as a native Linux application from the Java bytecode.

    Wouldn't that work with this ???

  82. 110% accurate? by gbjbaanb · · Score: 1

    110% accurate? how would that work?

    "you appear to have said 'errorprone' which I do not detect as good grammar, shall I correct this to 'prone to errors'" ?

    It'd be like Clippy for voice recognition.. lets just stick to getting 100% accurate please.

  83. Convert to C easily with ALMA by samjam · · Score: 3, Informative

    Alma.

    It can read several high level languages and build an internal representation and the convert that to other high level languages.

    It is a great tool to help port this software to C for example.

    Unfortunately the site seems to have gone, although I have used this software in the past.

    See the google cache though: http://66.102.9.104/search?q=cache:Dbw7OX6Tco4J:ww w.memoire.com/guillaume-desnoix/alma/+&hl=en

  84. Opensource speech synthesis/recognition in Java by Anonymous Coward · · Score: 0

    good match :)

    FreeTTS
    http://freetts.sourceforge.net/
    synthe sis system by Sun, based on a state-of-the-art Flite/Festival system (CMU, Edinburgh)

    Sphinx-4
    http://cmusphinx.sourceforge.net/sphin x4/
    as introduced in the topic

    both available in opensource license,
    and both written in Java.

  85. I am sick of these "Java sucks" comments by janoc · · Score: 3, Insightful
    Hello, did actually any of you Java bashers actually try the Sphinx4 engine ? I tried it and it is pretty good. Actually a lot better (faster and more accurate) than the older Sphinx2 engine which was written in *gasp* C! Or are we bashing a project just because it is written in "slow and bloated" Java ?

    I think some people should open their eyes, otherwise the world will leave you behind while you are happily consoling each other how Java is slow and unusable. Wake up, folks!

    To people which argument about hand writing C and assembly - well, you obviously didn't try to implement any of the algorithms (like hidden Markov models or the statistical searches) used in speech recognition. It is pain in the butt to do it even in Java, but at least you do not have the pointer mess you would have in C/C++. The engine has a good performance already, I am not sure what you would gain by rewriting it, except of bugs (the older Sphinx2 was for sure buggy as hell).

    Something about the memory footprint. Java can have a large memory footprint, however with speech recognition, you will always have it. Just the accoustic models for one language can be easily in the order of several hundreds of megabytes. Memory footprint of Java is completely irrelevant here.

    And before somebody compares Sphinx with speech "recognition" on you mobile phone or in your car - be aware, that you are comparing scateboard with a Concorde here. Sphinx family of engines are intended for recognition of continuous, large vocabuly speech and to be speaker independent. Your phone/car is small vocabulary, single words and speaker dependent - i.e. completely different problem. You cannot think about Sphinx as something "to have on some device". It is more intended to act as a speech recognition server on a dedicated machine e.g. for a large call center or ticket reservation system. I guess it could be used also in KDE for the KAccessibility purposes, but it is a bit heavy for that (especially with the large datasets).

    So next time, before you start spouting BS about Java and applications written in it, at least check the facts. People will not see you as a complete idiot.

    1. Re:I am sick of these "Java sucks" comments by GooberToo · · Score: 1

      Hello, did actually any of you Java bashers actually try the Sphinx4 engine ?

      I've not tried it out, but I plan to. I'm curious about it.

      Actually a lot better (faster and more accurate) than the older Sphinx2 engine which was written in *gasp* C!

      Which probably has zero to do with its speed. But, I will get back to why being java is dumb.

      It is pain in the butt to do it even in Java, but at least you do not have the pointer mess you would have in C/C++. The engine has a good performance already, I am not sure what you would gain by rewriting it, except of bugs (the older Sphinx2 was for sure buggy as hell).

      You don't make any sense at all. Writing something in Java does not make it bug free. We know for a fact that Java is bloated and generally slow(er) when compared to well writen C or C++ code. You climbed a pole and left a note to be sure we cut the pole down.

      The biggest reason to write it in C (ideally) or C++ is so that it can actually be used. No one wants to have to use a JVM in their C, C++, Pascal, Python, Perl, etc., project to use this code. In effect, they greatly reduced the value of this package to world by coding it in Java. If they had coded it in C++ or especially C, just about every language, including Java, would benefit. Not to mention, performance would probably be better and there is little doubt, the memory footprint would be much, much, much smaller.

      Something about the memory footprint. Java can have a large memory footprint, however with speech recognition, you will always have it. Just the accoustic models for one language can be easily in the order of several hundreds of megabytes. Memory footprint of Java is completely irrelevant here.

      I see, so fat people should go out of their way to make themselves fatter. After all, they are already fat. That makes no sense at all.

      So next time, before you start spouting BS about Java and applications written in it, at least check the facts. People will not see you as a complete idiot.

      Well, I don't know about all that, but the simple facts and common sense seem to be pushing you hard, from your seemingly illogical position.

    2. Re:I am sick of these "Java sucks" comments by janoc · · Score: 1
      Actually a lot better (faster and more accurate) than the older Sphinx2 engine which was written in *gasp* C!
      Which probably has zero to do with its speed. But, I will get back to why being java is dumb.
      It has a lot do with C, in fact. I had the "pleasure" to modify the original Sphinx2 engine, it was written in quite old C in very messy style, pointers pointing everywhere. Really ugly stuff. Java doesn't make it so easy to make such mess.
      You don't make any sense at all. Writing something in Java does not make it bug free. We know for a fact that Java is bloated and generally slow(er) when compared to well writen C or C++ code. You climbed a pole and left a note to be sure we cut the pole down.
      Dare to give some solid numbers ? Or is it just general handwawing in the sense "everybody knows that ...". There was an article on Slashdot not so long time ago proving just the opposite. Sphinx is *not* a GUI application with the horrible SWING library. It is intended to be used as a server, not so much for embedding - again you do not know what you are talking about. If you tried the engine and were familiar with the task, you will not talk about "using" it in the sense of some library you want to link with. It is just not designed that way - try to embed something that loads data in hundreds of megabytes (and not because of Java - the C version was the same, it is the fundamental way how it works).
      The biggest reason to write it in C (ideally) or C++ is so that it can actually be used. No one wants to have to use a JVM in their C, C++, Pascal, Python, Perl, etc., project to use this code. In effect, they greatly reduced the value of this package to world by coding it in Java. If they had coded it in C++ or especially C, just about every language, including Java, would benefit. Not to mention, performance would probably be better and there is little doubt, the memory footprint would be much, much, much smaller.
      Nonsense. Why many games use embedded scripting engines ? Perl, Python, Guille, Lisp even Java (!!!) are used in this way, because the to code high-level algorithms (think AI) in C/C++ is pain. It just makes sense and people do not have problems with embedding VMs. Almost all recent games include some kind of scripting language (and VM).

      And again, you obviously do not know what are you talking about - Sphinx is intended as background (server) task, not a library. You can talk to it using C/C++/whatever code via socket and it is platform independent to boot. And speed is really not an issue, you should test/profile it before you make over-general statements about something having to be slow just because it is Java (or Lisp or whatever high-level language). If you need a small, embeddable speech rec. engine, Sphinx is not for you. If you need it for what it was intended for, Java is completely irrelevant or even an advantage (think platform independence - these things are deployed not only on Linux/Windows desktops).

      I see, so fat people should go out of their way to make themselves fatter. After all, they are already fat. That makes no sense at all.
      No, it is about that, that I am not going to swim over Atlantic just because it is cool, I will rather take a boat or a plane. The size of the JVM is negligible compared to the data the engine processes. The advantage of writing it in Java are simply larger than saving 10MB of memory used , when the running engine routinely needs 256MB+ of heap for the data.
      Well, I don't know about all that, but the simple facts and common sense seem to be pushing you hard, from your seemingly illogical position.
      If you tried to measure and familiarize yourself with technology you are bashing first, then the "illogical" position would be perfectly understandable. That is also common sense.
    3. Re:I am sick of these "Java sucks" comments by GooberToo · · Score: 1

      It has a lot do with C, in fact. I had the "pleasure" to modify the original Sphinx2 engine, it was written in quite old C in very messy style, pointers pointing everywhere. Really ugly stuff. Java doesn't make it so easy to make such mess.

      Bad code is bad code. Period. No language protects you from bad code. Until you face this fact, you're simply blowing smoke. You can write ugly code in Java, just as you can in Python, C, C++, Perl, php, and the list goes on. You can hide your head from reality all you want, but the rest of us are still here.

      Dare to give some solid numbers ?

      Wow, you drugs must be really good. You claim that all java code is bug free and then challenge ME to PROVE otherwise. When you come down from your pipe smoking high, please both to show even one study that hints at supporting your absolute BS that you're trying to push. Simple fact is, Java does not make coding bug free. Period. End of story. You even try to debate it, you immediately establish your self as an absolute idiot. Period.

      Nonsense. Why many games use embedded scripting engines ? Perl, Python, Guille, Lisp even Java (!!!) are used in this way, because the to code high-level algorithms (think AI) in C/C++ is pain. It just makes sense and people do not have problems with embedding VMs. Almost all recent games include some kind of scripting language (and VM).

      Wow. You really do function in an altered state of reality. Are you this out of touch or do I really need to explain to you why the above comments make you sound like an idiot?

      And again, you obviously do not know what are you talking about - Sphinx is intended as background (server) task, not a library.

      Yet again you highlight your poor logistical skills. Why would anyone want to make a pig ofa Java application a requirement for their application? It doesn't matter one bit that it's a library or an atomic process.

      I think you've been sniffing Java glue too often.

      And speed is really not an issue, you should test/profile it before you make over-general statements about something having to be slow just because it is Java (or Lisp or whatever high-level language).

      Wow. You missed again. It's not a matter of profiling. It's a reasonable gimme. Java implementation is going to be slower than a C or C++ implementation. That's what I said. A better question s, why wouldn't you want the slimmest, fastest means of accomplishing a goal, which is traditionally both CPU and memory hungry. That's right, in other words, Java certainly would not be a first pick for any reasonable person looking for the best tool for a job. Not here, anyways.

      If you need it for what it was intended for, Java is completely irrelevant

      LOL! LOL....lol....Java is completely irrelevent? LOL. That's pretty funny. Sure, why would bloating and application and requiring more CPU not be irrelevant. Oh, that's right, because ignoring common sense makes Java look more appealing. I'm sorry, I lost my self for a second.

      The advantage of writing it in Java are simply larger than saving 10MB of memory used

      I would be amazed if the numbers were truly that small. More than likely, it's a difference of something like 20M, just for starters. Even still, 10M, even in today's environment, isn't exactly something that I'd be in a hurry to toss away. But that's right, fatter is better than fat, in your opinion, so I can see why you don't care. Which, explains you're die hard devotion to Java. Go figure.

      If you tried to measure and familiarize yourself with technology you are bashing first, then the "illogical" position would be perfectly understandable. That is also common sense.

      I have. That's why is common sense that you're argument is 100% illogical.

      LOL.

      Funny stuff though...

    4. Re:I am sick of these "Java sucks" comments by narcc · · Score: 1

      I was enjoying this discussion until you posted this load of seemingly random flames. It wasn't even worth reading.

      Heres an example:
      Wow. You really do function in an altered state of reality. Are you this out of touch or do I really need to explain to you why the above comments make you sound like an idiot?

      Yes, you do need to explain yourself. Thats the whole point of discussion!

      Could you reply to the post again without the flames and nonsense?

    5. Re:I am sick of these "Java sucks" comments by GooberToo · · Score: 1

      Based on your unrealistic position and assertion that I must disprove the impossible, it seems the flames are a fitting response.

      Based on your unrealistic and unreasonable position, I can't see that there is a need to continue to the thread. Your position indicates that logic, reason, and especially facts are ignored because they offend your holy grail of Java sensibilities.

      I'm sorry, but offended or not, Java is not the be-all, end-all of programming languages. Java is not ideal for every project. Period. Frankly, I'm not aware of any language which is ideal for every project. Java comes with some seriously heavy baggage. Period. When people complain about the baggage, be forthcoming and simply say, "yep", versus the impossible possition of trying to deny reality.

    6. Re:I am sick of these "Java sucks" comments by GooberToo · · Score: 1

      Opps. I just realized that we changed people here. Sorry.

      His position is, that Java should also be a requisite. That's insane. He also assumed that we're talking about games. For whatever reason, I can't fathom. At any rate, if I have a scripting language embedded into my project, let's say, python, why would I then want to require yet another language. I wind up with a C++ project, which uses python for scripting and Java for speech. That's insane and bluntly, stupid. If I wanted Java to be a requisite of my project, I would of used Java as my embedded scripting language. Worse, I now have to pay the cost of two VM's (java & python), plus the C++ runtime. That makes a fat application a pig. Like I said, only an idiot would suggest that this is an ideal solution.

      On the other hand, if it had been implemented in C or C++, as I suggested would be more ideal, we could make use of it as both a library and/or atomic process. Best of all, I would only require a single vm (python), and would not impose additional CPU and memory overhead, beyond what is actually required. AND, people in just about every language could then use it as a library, without imposing addition overhead or mandating the use of a VM, which is a pig (Java). In otherwords, as I originally stated, it would of been a win for everyone. Instead, I got hooked by a Java zealot that thinks Java is ideal for every project on earth. It's not. I don't have a problem with people using Java. Just stop being so defensive and come back to planet Earth. Like it or not, Java has lots of baggage, is generally slower than well crafted C or C++ (and that's given a mediocre optimizing compiler like g++).

      Pointing people to bogus benchmark after bogus benchmark and then insisting that Java is fast, only further invalidates Java in other developer's eyes. Stop it. The reality of it is, Java is NOT a good general purpose tool and it's not ideal for many situations. The fact that you can do projects like this in Java, is admittedly impressive, but that hardly means that Java was an ideal pick for this project. When it's trivial to come with an arm's length list of reasons why a language is a poor choice for x-project, guess what, it's probably a poor choice. That doesn't mean that it's impossible to do the project with such a choice, it just means it's not a good choice. I can put screws into wood with a hammer, but that doesn't mean I should be doing it. I can, but that hardly validates a hammer as a good screw driver.

    7. Re:I am sick of these "Java sucks" comments by narcc · · Score: 1

      The problem with zealotry (either for or against somthing) is that no matter what your position, you're still wrong.

      As you mentioned in your reply (thank you, BTW) A hammer isn't a good screw driver. Neither is a screw driver a good hammer (though you can get hammered drinking screwdrivers...)

      I use java when its the best tool for the job. I use C or C++ when either is the better tool. Sometimes I use Python, PHP, Delphi, etc. Hell, even VB has its place as "The right tool" once in a while. (VB has its zealots too, but at least they know their wrong most of the time.)

      Perhaps we'd all be better off if we'd realize that no matter how fancy our swiss army knife may be, sometimes you just need to use somthing else to get the job done right.

      Thanks again for the reply.

    8. Re:I am sick of these "Java sucks" comments by GooberToo · · Score: 1

      Great reply.

      I agree with everything you said.

      Cheers!

  86. CMU and SPINX obsession by otisg · · Score: 1

    It is interesting to note that there is/was another CMU project that carries a similar name: WebSPINX (http://www.cs.cmu.edu/~rcm/websphinx/). It is also written in Java, but is not related to speech recognition - it's a small web crawler. Does anyone know why CMU projects like to use SPINX for their names?

    --
    Simpy
  87. The REAL state of the art on hub4 by Olivier+Galibert · · Score: 1

    Also know as "broadcast news" is 8.6% WER at 10xRT and 11.8% WER at 1xRT. 18.7% at 4xRT is so last millenium...

    OG.

  88. I hear that it mixes up then and than by nomadicGeek · · Score: 1

    Just like many on Slashdot.

    Oh well, I suppose it is better then nothing. :)

  89. Frustrated Java detractors... by patniemeyer · · Score: 2, Interesting

    Every year the Java naysayers get more and more frustrated and more desperate to find a reason that Java just won't do. For years it was that Java was too slow... that one was true for about 18 months in 1995. Well, maybe now that we can do crypto in Java, play DOOM in Java, and do speech recognition in Java we can finally put it to rest.

    Next up - Java's footprint and startup time is too slow... Take a look at what they're doing in Java 1.5 to memory map and share core classes and pre-bind read only classes. Also think about the fact that all that work the HotSpot engine does to optimize things at runtime just gets thrown away every time the VM restarts and ask - why?

    Pat Niemeyer
    Author of Learning Java, O'Reilly & Associates

    1. Re:Frustrated Java detractors... by amorsen · · Score: 0
      I have really really tried to love Java. I mean seriously tried. It is a quite convenient language to write in, for sure. However, it is just too much of a pain to actually use whatever you develop. Deployment is a mess at least on Linux and having to fix up CLASSPATH or use shell scripts for invocation of the application is just not acceptable. Then there is the slowness and bloat which people claim is gone. Except it isn't gone. Sure, tight little loops run just as fast in Java as in C, but the rest of the program kills you on cache misses and paging. The only acceptable way to run Java is to compile it to native code with gcj. Unfortunately libgcj is still the weak point there, although it is certainly improving rapidly. Sometimes you can work around that issue by using libraries from Sun's Java with gcj, but the licensing issues of doing that seem rather daunting.

      Besides, the whole "Run Anywhere" thing is a failure. The only platforms where you have a decent chance that an end user might have Java installed is Windows and Solaris, and I am not sure about the latter -- I no longer know anyone who uses Solaris on the desktop. This basically leaves Windows, and if you're targeting just Windows there are certainly better options than Java. Besides, if you use gcj, you're already compiling specifically for each target platform -- but running for sure on one platform is better than not running at all.

      Yes, I am bitter.

      --
      Finally! A year of moderation! Ready for 2019?
    2. Re:Frustrated Java detractors... by pdbaby · · Score: 1
      Every year the Java naysayers get more and more frustrated and more desperate to find a reason that Java just won't do. For years it was that Java was too slow... that one was true for about 18 months in 1995. Well, maybe now that we can do crypto in Java, play DOOM in Java, and do speech recognition in Java we can finally put it to rest.
      Yep, we'll just have to move onto the "Java's core classes are buggy" or "generics are syntactic sugar" or "Java doesn't have operator overloading" or "I have to wrap around a load of different classes to write a file" or ...

      Since I've moved to C# I've found all these problems vanished. Yeah, .NET may be a Java ripoff but it's a well designed ripoff that has addressed near all problems I had with Java.

      Btw, nice book :)
      --
      Global symbol "$deity" requires explicit package name at line 2. - If only $scripture started "use strict;"
    3. Re:Frustrated Java detractors... by GooberToo · · Score: 1

      Every year the Java naysayers get more and more frustrated and more desperate to find a reason that Java just won't do.

      LOL! Ya, how dare a programmer want to use the best tool for the job. what a horrible haysayer we are.

      I can put screws into wood with a hammer, but it doesn't mean questioning that practice is a bad idea.

      Sounds like you have too much invested in Java to look at the greater picture.

    4. Re:Frustrated Java detractors... by GooberToo · · Score: 1

      Well said. I'm amazed at the level of frustration that originates from the Java zealot camp, when they insist the world is flat. Which, completely ignores the fact that every picture from orbit shows it to be blue and green, and spherical in shape.

      Sure, for their little, unrealistic benchmark, Java does make the world look flat, but it ignores every other fact of the world. It ignores that the small patch of land their looking at, isn't the whole world.

  90. Someone please write UK REGIONAL variants! by Anonymous Coward · · Score: 0

    Or at least something that doesn't require me to say "enner" when I mean "enter". This is not a joke: ViaVoice on the iPAQ, used for navigating Outlook.

    THIS is a joke.
    Q: What do Americans call their dentists?
    A: Dennis

  91. Google, schmoogle, there are better ways! by leonbrooks · · Score: 2, Informative

    WayBack has it.

    I've also mirrored the source Just In Case (that's an ADSL link, you'd be better off downloading it directly from WayBack).

    --
    Got time? Spend some of it coding or testing
    1. Re:Google, schmoogle, there are better ways! by samjam · · Score: 1

      Top one! Well done.
      And thank goodness for wayback.

      Sam

  92. gnome integration by gr8_phk · · Score: 1
    When GNome adopts a speech synth and an API, people will start to use it. When people start to use it, people will demand better quality. Then someone will improve it.

    Now for a great idea (someone will patent it I'm sure):
    Have your RSS feed reader queue up headlines or even sysnopis. Have your music player monitor the news queue and when there is enough stuff, wait for the current song to end and read the headlines as a news report. This would be easy with a nice integrated text to speech API. Get your tunes and news without interrupting your work.

    Then I'd optionally want a virtual person (torso) in a small window with lip-sync to do the job. Combine speech recognition with gnome-storage and you'd have an office assistant thats worth having - so long as s/he's hot (i.e. not a paperclip).

    Aim high and integrate what's already out there. It's not perfect, but it needs to be integrated with other stuff before people will really want to improve it a lot.

  93. Re:Why speech recognition on Linux will kill Windo by perky · · Score: 1
    It won't. Speech recognition will never be big on the desktop except as an accessibility feature or for niche dictation circumstances such as medical examination or autopsy. (Incidentally, the recognition accuracy for these special applications is better than standard text due to the prevalence of long, obscure words - think legalese). The fundamental reason for this is that where a keyboard and mouse is available, they offer a better control method than speech.


    Speech reco *will* become pervasive in applications where it is not possible to use a standard keyboard/mouseinterface, for example telephone services or on small form factor devices such as telephones and PDAs. However no one is going to make a great deal of money on this.

    --
    "The new wave is not value-added; it's garbage-subtracted" - Esther Dyson, Dec 1994
  94. Part of Galaxy Communicator by mattr · · Score: 2, Informative
    Wow that is great that Sphinx-4 is open! A-And guess what, Galaxy Communicator also has snuck onto sourceforge too, quietly, a year ago. A year or so ago I had written one of the partners to try to get a copy with no reply.. but some googling found it. Most slashdotters probably don't know Galaxy but it is the same partners - CMU, MITRE, DARPA etc. It is the plug and play hub for related technologies. This stuff has been used to make voice-recognizing automated telephone information services for weather and flight info I believe. Well what I found on sourceforge is 2002-2003 version (when grant ran out?) and has a list of modules which could use some updating i.e. about how Sphinx-4 is available. So can we expect a new Galaxy Communicator distro? I always had trouble finding out about it because each participating institution had their own site, their own distro, some focusing on different things, etc. I remember looking at CMU and I think Colorado U., anyway.

    Note in the 2002 version that the dialog server is not included, this would be great to have too. MIT also has some very cool technologies in this area - SUMMIT, TINA, GENESIS, ... - which I do not believe are public, they just show little bits and pieces of PR about them, but include natural language parsing, question answering, sentence generation, etc. It would be cool if someone on the inside could document just what things are available, what works with what, what is definitely ready for prime time, etc. There must be some people who hacked on this in the past few years and are still developing things, it would be cool if some of their experimentation was available to the open source community so people could get an idea of what things are possible. When I did my survey just about 1 year ago, Communicator was daunting, intriguing, and it looked like you could do tons of stuff if you had some secret decoder docs and a spare year to hack. Maybe now's the time to dig into it hip deep?

  95. Re:Rolling your own speech recognition isn't so ea by perky · · Score: 1

    A lot of a person's speech recognition ability comes from context

    That is also true for a reco system. Typically a Large vocabulary continuous reco system will use a tri-gram language model in order to take into account contextual information. This means that likelyhood of the candidate words is looked up based on the previous three words, which has been shown to provide a sufficient degree of contextual information to distinguish between most commonly encountered homophones.

    --
    "The new wave is not value-added; it's garbage-subtracted" - Esther Dyson, Dec 1994
  96. Re:Rolling your own speech recognition isn't so ea by perky · · Score: 1

    A second factor is that these statistical speech recognition systems require extensive data for their language model. Building such a system requires recording real speech, segmenting it and creating a set of examples from which to compute the probabilities, which requires some knowledge of acoustic phonetics, and doing the computation for the model.

    A Language model is typically built from available text sources such as newspaper text. It does not require that you have recorded speech. Generating an acoustic model, on the other hand, does require accurately transcribed, recorded speech, and lots of it.

    This is time-consuming.
    Yes. Very.

    --
    "The new wave is not value-added; it's garbage-subtracted" - Esther Dyson, Dec 1994
  97. Right tool for the right job by Ndr_Amigo · · Score: 1

    And every year the Java yaysayers use the exaggerations of being 'ready-to-run' or 'cross-platform', which become less and less true every year as more different VM versions are deployed everywhere :)

    Sure, Java can do X, Y and Z, but if your actually attempting to become a programmer the very FIRST question must be -should- you USE Java for X, Y, and Z?

    For most cases of the above variables, the answer is no. Sure, you CAN, but you shouldn't. It's a matter of the right tool for the right job, and as somebody posted above Java is becoming the new Lisp in terms of being used for things which are just silly. Java is not the swiss-army knife of programming languages by any means :)

    1. Re:Right tool for the right job by Glock27 · · Score: 0
      Java is becoming the new Lisp in terms of being used for things which are just silly.

      If anything, you should have written "becoming the new C++" rather than "becoming the new Lisp". C++ was and is an inappropriate language for most large-scale software development, unlike Java.

      Java, as the first somewhat sane replacement for C++, won over plenty of converts easily. It isn't the best language ever, but it is constantly improving. Personally, I hope there's a numerics extension soon, including lightweight types, operator overloading, etc.

      In a world of 512+ MB RAM, 2+ GHz processor desktops (and single-tasking humans), Java is a perfectly suitable desktop development language, especially when coupled with SWT.

      Sorry if that conflicts with your prejudices, but Eclipse is an existence proof.

      --
      Galileo: "The Earth revolves around the Sun!"
      Score: -1 100% Flamebait
    2. Re:Right tool for the right job by Ndr_Amigo · · Score: 1

      Ignoring the impending language debate, the merits of Java as a desktop development language are completely different from developing a speech recognition in it :) So while Joe Blog User may be lucky enough to have a top-specced desktop. My main system is 800mhz x86, and a system doing speech recognition is going to be specced similarly at best. Neither I nor most of the companies in this part of the world have the money to waste on needless hardware. We reuse a lot, and very few companies in Australia buy into the 6-monthy hardware purges.

    3. Re:Right tool for the right job by Glock27 · · Score: 1

      Why do you view this as a problem? Assuming (and it is an assumption at this point) that you can compile Sphinx with gcj, I expect it will run fine on 800 MHz. hardware (if it would have in C that is). Another question is whether your boxes have enough RAM, speech recognition software (regardless if Java or not) will likely need plenty of RAM.

      --
      Galileo: "The Earth revolves around the Sun!"
      Score: -1 100% Flamebait
    4. Re:Right tool for the right job by Anonymous Coward · · Score: 0
      Nice use of a mod point..."Overrated", eh?

      Try presenting an argument next time instead of waving the intellectual white flag.

    5. Re:Right tool for the right job by GooberToo · · Score: 1

      I have to disagree with most of your statements.

      C++ was and is an inappropriate language for most large-scale software development, unlike Java.

      I've heard this a lot, but it has never been true on any large project I've worked on. In fact, I think C++ is inappropriate for small projects, because the required planning and design. I personally find it's too easy to screwup a small project with C++. To make a small project work well, you have to plan and design too much, thusly, making a small project larger than it should be. Likewise, a well planned and designed project, has always worked well for me and my projects. I should offer, in both of my small and large projects above, multiple people are still involved.

      Java, as the first somewhat sane replacement for C++, won over plenty of converts easily.

      Again, I completley disagree here. Java found adopters, IMO, from people that thought C++ was too hard. Therefore, it found takers from wanna-be C++ guys. Granted, I'm sure some qualified guys dropped C++ for java, but from my own experience, the number is very small. Accordingly, I witnessed MANY VB migrants. In fact, I find it hard to shake a stick in a room full of Java guys, that didn't start as a V programmer.

      In a world of 512+ MB RAM, 2+ GHz processor desktops (and single-tasking humans), Java is a perfectly suitable desktop development language, especially when coupled with SWT.

      Well, that greatly depends on the nature of the application. Beyond that, it also assumes that few to no other applications are run at the same time. I'm also assuming an OS like XP is in place. If you have to run more than one non-trivial Java app on your desktop, with 512MB RAM, on XP, you're probably going to be unhappy. Especially if that user expects to keep running something like Outlook and maybe an IM client in the background too.

      Hopefully Java 1.5 will greatly help the multiple application footprint problem. Make no mistake about it, it's a significant problem, begging for a solution. Hopefully it's now a problem of the past. :)

  98. DB2? by PCM2 · · Score: 1
    IBM DB2 is banned in many companies we deal with. Etc etc
    And the relationship of DB2 to Java is what, now? If I remember correctly, the first company to embed a JVM into a relational database and encourage writing stored procedures in Java was Oracle, not IBM.
    --
    Breakfast served all day!
    1. Re:DB2? by IgnoramusMaximus · · Score: 1
      And the relationship of DB2 to Java is what, now?

      You obviously never had the "pleasure" of using DB2 8.x. All of its GUI administration tools (needed for things like monitoring of the database status by non-gearheads) are Java monstrosities. And the Java stored procedures/bindings/etc are all there, luckily the application we use does not depend on that insanity so we could use its proprietary DB instead.

    2. Re:DB2? by PCM2 · · Score: 1

      Ah. I see what you mean now. Yeah, I once had the "pleasure" of attending a training class at some company's corporate headquarters to learn how to use their e-commerce package. At the beginning of one day's training session they were touting all their awesome, easy-to-use Java-based modeling tools that would allow you to visually design product hierarchies in no time at all. That day, the other guy from my team and I were the first ones to complete all the training exercises. The instructor, impressed with how fast we caught on, came over and asked us what steps we took. "It was easy," I said. "We quit out of that garbage applet, reverse-engineered the format for the config files and edited them in Notepad. It's a lot faster."

      No troll; the honest truth. Still, as a counter-example, Azureus works pretty well for me.

      --
      Breakfast served all day!
    3. Re:DB2? by pebs · · Score: 1

      You obviously never had the "pleasure" of using DB2 8.x. All of its GUI administration tools (needed for things like monitoring of the database status by non-gearheads) are Java monstrosities.

      Oracle has the same problem with its Java-based installer and some of the other tools.

      But in any case, that's not Java fault someone wrote a shitty app using the wrong tool for the job. There's shitty apps written in all languages.

      --
      #!/
    4. Re:DB2? by IgnoramusMaximus · · Score: 1
      not Java fault someone wrote a shitty app using the wrong tool for the job

      Technically true but how you do explain all the other shit I described with Java apps running off the web browser. Anynone barely alive in the 90's can recall chimpazee screams of Java advocates about web applets etc. This was supposed to be where Java shines and yet it is where it sucks just as bad as it does for the DB2 (and from other posts it appears Sun, Oracle etc) admin tools. Finding a non-shitty Java app seems to be like hunting for an original Picasso in one's attic.

    5. Re:DB2? by richever · · Score: 1

      That's funny because the company I work for uses an applet through which nearly 1/2 billion dollars of its yealy revenue flows. Obviously this applet, and its server component, play a very important role in my company. It is well written, works like champ, has been in use for about three years (with feature enhancements), AND uses DB2 (running on AS/400), so I'm not sure I can relate to your plight. As a previous poster mentioned you sound like a victim of poorly written code - a problem with software written in any language.

    6. Re:DB2? by IgnoramusMaximus · · Score: 1
      That's funny because the company I work for uses an applet through which nearly 1/2 billion dollars of its yealy revenue flows. It is well written, works like champ

      Good for you. I hope that your users share that opinion instead of just the developers. If your organization is anything like the ones I work with, you might be suprised what management/developers believe "works as a champ" versus what the word (usually a 4-letter one) on the subject in the trenches is...

    7. Re:DB2? by Anonymous Coward · · Score: 0

      Technically true but how you do explain all the other shit I described with Java apps running off the web browser. Anynone barely alive in the 90's can recall chimpazee screams of Java advocates about web applets etc.

      I've seen some nice Java applets before that work just as good as Flash. Applets don't always have to suck.

  99. Strangle me, I guess by HeaththeGreat · · Score: 2, Insightful

    I built a few client apps that were deployed on a few different VM versions, though most were Win32 (1.3, 1.4, 1.4.2). I deployed to Macs without a problem.

    Development was a snap, I got the whole application off the ground with relatively little problems because of the usefulness of Java's built-in API. Of course, when performance tuning I did rewrite the functionality of some of those API classes, but I'm sure you have to do that in any language.

    Yes, the MS JVM is total crap, but that's what Sun got a huge settlement for. It was put in place by Microsoft in an attempt to shut down Java with a crappy install base.

    Java is all about following standards. As long as you do that, your apps run pretty well.

    This app that I wrote required a lot of Swing specialization and user interaction, displayed custom images, etc. It wasn't a trivial application.

    So, I guess my question is, do you guys just not follow the standards? What is it that you're doing to break your apps so much?

    Someone was talking about using lightweight components with heavyweight components, which I know from experience is a real beast to get working, but other than that, what is it exactly that's breaking all the time?

    I'm talking about client-side apps here. I haven't used an applet in forever. Most applications on the web are jsp apps, so you are totally shielded from its Javaness.

    1. Re:Strangle me, I guess by narcc · · Score: 1

      So, I guess my question is, do you guys just not follow the standards? What is it that you're doing to break your apps so much?


      If I had mod points today, this post would get an insightful.

      I often wondered the same thing. I'm no Java advocate -- I use it only when its the right tool for the job. I've never had a problem running a java app I've written on multiple platforms.

      Now *other* java apps I've used, tend to break, are buggy/slow don't run on win32/Mac/linux/etc.

      Blame the developer? There's lots of *really* bad VB code out in the world, but mostly because there are a lot or *really bad* developers out there writing code in VB. ( OT: Torvalds & VB)

      There's a quote (I can't find online for some reason) from a fellow who says that he can program in fortran (or was it cobol?) no matter what language he was using. Perhaps the reason we has so many very poor java developers isn't because java is a poor language, or the developers are second rate, but because they refuse to change their style or methodology. Java isn't C. You shouldn't code as though it were.

      I haven't used an applet in forever.

      It's sad, Java was really ahead of its time on this one. Applets were a really good idea. "Wow , a way to safely run apps on the client machine!" It's too bad that the implementation was so poor early on.

      Java still suffers from this bad rep, dispite the incredible advances its made.

    2. Re:Strangle me, I guess by IgnoramusMaximus · · Score: 1
      Java is all about following standards. As long as you do that, your apps run pretty well.

      My, and many many many other peoples' experience with Java is quite contrary. By the way if you had read my posts you would know I dont write Java apps, I am merely made to use the fruits of labour of various banks, shipping companies, e-comerce sites etc. Accusing me of being a bad non-standard-following programmer is not going to advance this argument.

      So, I guess my question is, do you guys just not follow the standards? What is it that you're doing to break your apps so much?

      I follow 1 easy step: "click here to enter our e-commerce site".

      In short you come here telling me about how you can (supposedly) write a single Java app that works and I am on the other hand telling you about my experience with literally tens of them from various major sources. This would lead to a simple logical conclusion (at least for me): while it is possible to write a major Java app that works (so you say) it takes some sort of Java uber-god because noone else seems to be able to do it anywhere where it counts. Which leads to the second conclusion which I described already: Java sucks for all practical purposes.

    3. Re:Strangle me, I guess by Anonymous Coward · · Score: 0

      By the way if you had read my posts you would know I dont write Java apps, I am merely made to use the fruits of labour of various banks, shipping companies, e-comerce sites etc

      ...So, in other words, you're an end user. Probably on a windows box. Probably crawling with viruses, worms, trojans, and all the other devils inflicted regularly on noobs like you.

      What a moron. Go back to your living room, your television is lonely.

    4. Re:Strangle me, I guess by HeaththeGreat · · Score: 1

      It's sad, Java was really ahead of its time on this one. Applets were a really good idea. "Wow , a way to safely run apps on the client machine!" It's too bad that the implementation was so poor early on.

      Java did it right the second time around, but everyone seems to have missed it. Java Web Start is a much better way of creating limited Mini-Apps.

    5. Re:Strangle me, I guess by IgnoramusMaximus · · Score: 1
      .So, in other words, you're an end user.

      Yes I am. Meaning I am the person who pays the bills that make your dicking around with Java possible

      Probably on a windows box

      Mostly on win2k servers in thin-client corporate environments

      Probably crawling with viruses, worms, trojans, and all the other devils inflicted regularly

      Err... no. There is no trojans, virii and any other sort of malware on these servers, primarilly because I prevent users from installing things like... Java JRE's de-jeur and ActiveX infectware.

      on noobs like you.

      I am afraid you werent born when I was a "noob" in computing. As a matter of fact the word "noob" wasnt coined yet.

      What a moron. Go back to your living room, your television is lonely.

      And this my friend precisely sums up the wisdom and maturity of most vocal of Java advocates. It also quite clearly highlights which one of us is serous and which one hacks "1337 uBeR jaVa ApPz" on mom's PC.

  100. By the way by Featureless · · Score: 1

    A story about Java links to your post. I took the opportunity to respond to your post in that story. Would love to hear your comments.

  101. Not your fault, then. by HeaththeGreat · · Score: 2, Insightful

    Though I responded to your thread, it was more of a question to the general populace.

    If you didn't design the app, then its not your fault, is it?

    The solution to your problem is to call the developer and complain. If they don't do anything about it, then your solution is to switch applications.

    The reason that Java is perceived as a bad platform compared to Windows is that Sun's engineers don't go through all of the major applications written in Java and re-engineer the platform to behave as each application expected.

    That is, if you write an app that inadvertantly depends on non-standard behavior in SP1, and it becomes really popular, MS will generally make it so that SP2 behaves the same way that SP1 did for your application. This is because users will largely blame MS for the app's problems and not the developer that didn't follow standards in the first place.

    There was a story about this practice a while ago and how it might be changing with Longhorn.

    Anyways, the point is that if you don't follow the standards Sun isn't going to save you. That might be detrimental to their image, but its not really their fault. Its users like you that don't know any better that perpetuate this misconception.

  102. One link to shut you up by Anonymous Coward · · Score: 0

    http://jist.ece.cornell.edu/index.html

    A poor tradesman blames his tools.

  103. fairynuff - but not sure that makes java suck by inof8r · · Score: 1

    OK - so you're a customer, then what qualifies you to identify your suppliers as "Java Priests" ? personally they sound behind the curve.

    Client side executables in multi-tier apps were dead when I started work 9 years ago, and they have no place in my java religion.

    In fact Swing is largely irrelevant (only 10% of java jobs require swing knowledge) in the Java world today -except- and here's the kicker for you - in the banking sector *LOL*, which seems slow to keep with other IT sectors.

    For example have a look on jobserve.com which places over 80% of IT jobs in the UK (it was a profitable dot.com even before 2k) Note that a search for (java AND j2ee) AND NOT (swing) turns up 939 results vs 131 for (java and swing)

    I agree that there are still plenty of horrible swing app interfaces out there (Oracle 9i installer, SunOne app-server admin app, WAS 4 app-server admin app, etc...) but the message seems to be getting through. I mean WebLogic has been leading the way since forever, and IBM's WAS 5 admin application is now web-based.

    1. Re:fairynuff - but not sure that makes java suck by IgnoramusMaximus · · Score: 1
      OK - so you're a customer, then what qualifies you to identify your suppliers as "Java Priests" ? personally they sound behind the curve.

      This might shock the other dude (Featureless) I am having a flame war with here but I dont mind people using Java server-side in such a way that I only end up with plain HTML on my end. What the bank uses on the server is really their business. I still think Java is a questionable choice because in that configuration it does not bring to the table anything that Python, PHP or Perl would, but that is not my worry.

      What pisses me off to no end though is someone who insists that I must use Java apps because they fit into some insane strategy of easing someone-elses developement costs (which I find highly doubtful). Or worse yet, some SOAP based rental software models. Those are the "Priests" I speak of. People who make applications in some language they feel is good for them but keep in mind the headeaches that attempts to force others to use the same system regardless of merit would cause, are not "Priests" but just "developers".

    2. Re:fairynuff - but not sure that makes java suck by Anonymous Coward · · Score: 0

      now you're letting your emotion get the better of you :

      I still think Java is a questionable choice because in that configuration it does not bring to the table anything that Python, PHP or Perl would

      that's a really unsubtle troll - this java priest is bowing out.

    3. Re:fairynuff - but not sure that makes java suck by diewarzau · · Score: 1

      I still think Java is a questionable choice because in that configuration it does not bring to the table anything that Python, PHP or Perl would, but that is not my worry. It's funny that most of the complaints I hear from naive users of Java programs tend to be for GUI applications. Some VMs still don't run GUI (swing and so forth) properly, and I have seen huge differences in perceived "quality" of an applications just by upgrading VMs. You guys are blaming the shortcomings of a VM implementation on a language. And yes, VM technology for GUI apps has lagged a couple years behind server side apps, and with good reason...most application software is still written in C/C++, largely because it's based on some legacy code. Anyway I'll give you the benefit of the doubt that your remark was not a troll, because server side apps is where Java unequavocally shines. Anyone who says Perl, PHP, or Python (i.e., 2-tier CGI type) architectures can hang with the likes of J2EE is instantly labelling themselves as someone who's done exactly zero server side development for anything but the most trivial of web applications. So back away from the server side commentary before you lose what little credibility was left after I read your nick :) But don't denounce the language or the environment. Rather, we should demand better VM support for GUI applications as well. I do 95% of my professional development in C++ and even though a lot of code is more concise and "pretty" in C++ than Java, C++ (particularly in embedded applications) is horribly costly and difficult to debug due to its lack of any sort of runtime environment. And yes you pay some bloat for the runtime environment, but it's already gotten to the point in server apps where processor power is cheaper than developer time, and it's headed that way in the embedded space as well.

    4. Re:fairynuff - but not sure that makes java suck by IgnoramusMaximus · · Score: 1
      Anyone who says Perl, PHP, or Python (i.e., 2-tier CGI type) architectures can hang with the likes of J2EE is instantly labelling themselves as someone who's done exactly zero server side development for anything but the most trivial of web applications... credibility..

      I did my share of Perl and PHP custom apps, some quite extensive. I never found a need for J2EE but then again, none of my customers run massive e-commerce themselves, so I am willing to let others who did Fortune 100 e-commerce apps with 100 million transactions-per-second speak to such things. For small scale apps I will stand my ground, PHP in particular is quite useful and Perl can be made to work, heck, Slashdot is a Perl application and I dont think it can exactly be qualified as "small-scale" or "trivial".

      Rather, we should demand better VM support for GUI applications as well

      Not really. At least not in the context I am having to run them. Web-browser launched apps are an abomination from support, mainenance and security perspective. I simply do not want any such abominations, be they made in Java, ActiveX, C# or some other way.

      C++ (particularly in embedded applications) is horribly costly and difficult to debug due to its lack of any sort of runtime environment.

      I am willing to concede that in some proprietary embedded systems where the whole thing (machine code, memory architecture etc) is designed to support only Java VM this might work quite well. This however does not translate to be universal across all platforms and is plainly not true in traditional OS environments. Also a tear comes to my eye when I recall the way I and some friends of mine were developing software for embedded systems that were equipped with a 9600baud serial interface as the only way to communicate with the user. As I recall we had no issues. A project I was briefly involved in (OpenWRT) is an embedded Linux running in 4MB of Flash memory on a wireless router box with no hardware display and yet we have a complete environment with all sorts of debugging capabilities. I guess as they say, to a bad dancer a tutu can be a hindrance.

      And yes you pay some bloat for the runtime environment,...

      This is a classic trade-off which all slightly infatuated ( [un?]fortunately it is impossible to inhale Java-the-language or some would) with their pet toy programmers are willing to make for others. The users of apps they write in particular. I have a Newsflash from the user front for you: "Errr.. No. We are not willing to accept more bloat in order to make your life easier".

      where processor power is cheaper than developer time

      Particularly when it is you who pays for the development and someone else pays for the CPU power.... and the development through purchase of the product. I love Java math! (to be fair this is also the VB and any other make-life-easier-for-programmers-at-the-expense-of -users system math and it actually works as long as you are developing your own apps for internal use, then you merely shuffle costs around)

    5. Re:fairynuff - but not sure that makes java suck by IgnoramusMaximus · · Score: 1
      now you're letting your emotion get the better of you

      Its a typo. The sentence was supposed to read:

      I still think Java is a questionable choice because in that configuration it does not bring to the table anything that Python, PHP or Perl would not.

  104. Re:Why speech recognition on Linux will kill Windo by fireboy1919 · · Score: 1

    Yeah, I realized it right after I hit submit.

    It just didn't seem worth making a correction. :)

    --
    Mod me down and I will become more powerful than you can possibly imagine!