Stories
Slash Boxes
Comments

News for nerds, stuff that matters

Slashdot Log In

Log In

Create Account  |  Retrieve Password

Building Intelligent .NET Applications

Posted by samzenpus on Fri Dec 09, 2005 01:06 PM
from the gentlemen-we-can-build-it-we-have-the-technology dept.
Bill Ryan writes "Sarah Morgan Rea's "Building Intelligent .NET Applications" is a book for those that get easily bored with mainstream development topics. Essentially, it's an in depth discussion of 3 niche technologies that came directly out of Microsoft Research (Microsoft Speech Server, Microsoft Analysis Services and Agents). The majority of the book is comprised of discussions of the first two technologies with roughly 12 pages being dedicated to Agents. It's finished off future Microsoft technologies "Avalon" (now known as the Microsoft Presentation Framework), Indigo, WinFS and Longhorn. Fortunately, since no one really knows when Microsoft will deliver each of these and what they will ultimately look like, she spends under 10 pages on them." Read the rest of Bill's review.


One of the things that makes this book great is that each of the areas discussed receive very little discussion elsewhere. If you want to use Microsoft Speech Server, you are essentially confined to using the SDK documentation, the MSDN newsgroups or an occasional blog post out there. Analysis services has a little more documentation but if you were looking to do any serious A.S. development, you're still pretty hard pressed to find comprehensive resources on how to use it.

These two areas comprise roughly 80% of Sarah's book. The discussion on Speech Server comprises a little over 100 pages and does an excellent job showing you how to get Speech Server up and running and how to use it. She starts out slowly and walks you through the Speech SDK, then moves on to creating Grammars, creating Prompts, creating Transcriptions and Extractions, using the Telephony modules and debugging/performance tuning your applications. Another nice touch is that she spends a good bit of time discussing more agnostic elements of speech and telephony development, S.A.L.T. in particular. Within the discussion throughout, there's a good bit of attention paid to configuring Speech Server and the problems people are typically confronted with when they create speech enabled apps. However she does a pretty good job of balancing the introductory material with more advanced topics for although she does spend a lot of time on setup and configuration, she also goes as far as showing you how to use Speech Server from a PDA.

As far as speech (the topic goes), it would be helpful if the reader had some familiarity with the core concepts involved (such as SALT, Grammars etc.) but even if you didn't, this book would still help teach you a lot of what you'd want to know. The intended audience is clearly intermediate to advanced developers but newbies will definitely find quite a bit of valuable information in it.

The next section discusses Artificial intelligence in the context of Analysis services. If you aren't familiar with relational database concepts, then it's probably a little above your head, but most people buying this book aren't running into relational database theory for the first time.

Chapter 5 starts with using Data Mining to create predictions. It starts with getting things set up, moves onto building the data mart, and then finally 'training' the model. This discussion is pure gold in my humble opinion.

The next chapter moves on to applying those predictions. Not really much to say here without getting overly technical but essentially this chapter is a walk through of what you'd do after you had your data mart built and trained, essentially, how you'd maintain it and continue to refresh the information.

This is followed by a chapter titled "An Evolving Database". Again, this is pretty technical in nature so it's hard to describe without bogging you down in jargon. Suffice to say that everything about this section is cool++; .

The book then discusses Agents, which are cool but probably don't have that much applicability in most people's day to day lives. If you want to learn how to use them (as well as the Background Intelligent Transfer Service), then she provides everything you need.

Finally things wind down with a discussion of Microsoft's upcoming technologies, Microsoft Research, Artificial Intelligence in general (as well as many resources on where to learn more), a glossary, bibliography and finally the index. Discussing any one of the areas that she touches upon here (neural networks, Fuzzy logic, natural language processing, machine learning etc.) could comprise an entire book. That's where the beauty of this book comes in - instead of discussing the subjects one at a time, she creates a series of walk through examples where she creates specific scenarios and shows you how to address them using each respective technology.

If you're bored and want to dive into some really cool subject matter, this book is a must have. If you want to learn more about Speech technology in general and Microsoft's implementations of it in particular, this book is a must have. If you're interested in artificial intelligence again, you'll find this book to be superb. If you just want to learn about subject matter that's been discussed over and over again, like creating Winforms or drawing with GDI+, then this book probably isn't up your alley."


You can purchase Building Intelligent .NET Applications from bn.com. Slashdot welcomes readers' book reviews -- to see your own review here, read the book review guidelines, then visit the submission page.
+ -
story
This discussion has been archived. No new comments can be posted.
The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More
Loading... please wait.
  • by Tackhead (54550) on Friday December 09 2005, @01:14PM (#14221383)
    > Within the discussion throughout, there's a good bit of attention paid to configuring Speech Server and the problems people are typically confronted with when they create speech enabled apps.

    "Start! Run! Cee-Emm-Dee! Format! Cee-Colon Slash X, Slash, U, Slash Y! Enter!"

    And now you get to write a book on rebuilding intelligent .NET applications...

  • by Alien54 (180860) on Friday December 09 2005, @01:15PM (#14221396) Journal
    I can see patents on the concept of intelligent design in computers. After all, how many stupid computer programs and designs have you seen?

    Then the anti-evolutionaries can be sued for patent infringement.



  • as "is comprised" in the English language.

    e.g.

    A banana is composed of pieces.
    The pieces comprise the banana.

    Although there seems to be an exception for every rule in English, this is one rule with no exceptions.

    And to everyone else, don't invoke Godwin's Law on your first reply, okay?


    • Usage Note: The traditional rule states that the whole comprises the parts and the parts compose the whole. In strict usage: The Union comprises 50 states. Fifty states compose (or constitute or make up) the Union. Even though careful writers often maintain this distinction, comprise is increasingly used in place of compose, especially in the passive: The Union is comprised of 50 states. Our surveys show that opposition to this usage is abating. In the 1960s, 53 percent of the Usage Panel found this usage u
  • OK, so if I start building 'intelligent applications' (Intelligent Desgin, anyone?) using these new discoveries from Microsoft Labs will I be running the risk of a lawsuit?
  • .NET programming (Score:2, Interesting)

    IANAP, but my good friend is. He's a huge Linux guy, but unfortunately (as a lot of Slashdotters I'm sure) programs for a Windows-only firm. He's since started using .NET, and swears by it now. He says it is incredibly easy to build applications with it. I trust his judgement, because he's an incredibly talented programmer, and also programs in C/C++, Perl and is a huge database guy as well.

    It all comes down to the best tool for the job. I'm sure you wouldn't want to use .NET for a site that gets 20,000 hit
    • I'm sure you wouldn't want to use .NET for a site that gets 20,000 hits a minute, but you also wouldn't want to use C++ or Perl to integrate Windows-only applications with Active Directory, either.

      I've got to ask, what would you use for a site that gets 20K hits a minute? A LAMP setup? PHP would fall over and die. Java servlets would be understandable I suppose...but if your beef is with Windows rather than the .NET platform, then just keep in mind that ASP.NET works fine under Linux/Apache/MySQL.
      • Re:.NET programming (Score:5, Informative)

        by ThinkFr33ly (902481) on Friday December 09 2005, @03:18PM (#14222736)
        20,000 hits a minute doing what? I've created .NET sites that handled about 60 million hits a day (advertising related), with peak traffic doing 5000 requests a second. (That would be 300,000 requests a minute.)

        All this traffic was handled by two Dell servers which cost about $5000 a piece. (1.5GB of ram, 10k RPM SCSI RAID, dual 2.8 Ghz CPUs.) Neither machine ever went above 40% CPU, which means a single machine could have handled all the traffic. During peak times, we were fully utilizing a 100Mb pipe.

        Each request typically did some MSMQ operations and the occasional SQL Server DB hit if there was a cache miss, but most of it was served via the kernel mode HTTP listener and a few custom HTTP Handlers written in C#/ASP.NET.

        It all depends on what each hit is doing. If each request takes 1 second to complete there is no way you could do 20,000 hits per minute unless you had a large web farm. In our case, our TTFB (time to first byte) was very, very small. .NET performed extremely well, as did IIS 6.0 on Win2k3 Server. Very reliable too... never had downtime thanks to NLB. .NET is a fully capable platform. If the .NET application is written correctly, it can handle just as much load as a custom ATL-based application, which is typically regarded as the best performing platform. And trust me, writing an ATL app is painful for all but the best C++ developers.
          • Why would that be scary?

            We have done testing to confirm this, and in fact we had a NIC failure in one machine which resulted in the failover of all traffic to a single machine right at the beginning of our normal peak load times.

            The result? That second machine hovered around 75% to 80% CPU for the hour or so it took us to replace the NIC in the first machine.
          • Re:.NET programming (Score:4, Interesting)

            by ThinkFr33ly (902481) on Friday December 09 2005, @11:15PM (#14226421)
            The original Pentium at 200 MHz can easily handle a 100Mbit Ethernet connection with the right software.

            Ya, it's called Windows 95. Or Linux. Or NT. Or XP for that matter. What's your point?

            The original Pentium at 66 MHz can handle one million database transactions per second, with the right software.

            That's a pretty silly statement. What software would that be.

            The tcp/ip stack on FreeBSD 4.x, slightly modified to manage connections on a per port basis, can handle over one million connections per second on the original Pentium at 200 MHz.

            Interesting. There are a max of 64,000 ports. That would mean each port would need to handle over 15,000 connections per second. What useful thing could be done with so little time to do it? The memory resource required alone would almost certainly be more than any PII motherboard could hold. Even if each connection only consumed 1Kb of memory, it would take about a GIG of ram just for the connections.

            It seems like you do not have any experience with real high load software. Your setup is overkill for anything other than something developed on the Microsoft Windows platform.

            It seems like you enjoy making up stuff and then making judgements about other people's experience which you are clearly not qualified to make.

            Microsoft software is always poorly design.

            Why am I even replying to this... never mind.
      • by killjoe (766577)
        Do you have any firsthand experience with using the ASP.NET under linux (using mono I presume). Does it really work "just fine", does it work well enough to put into production on a heavy site?

        I don't know but given that java is proven to work on linux (and other unix platforms as well as windows) I don't know if any business would risk using mono on a production web site.

        Finally since MS has patents on the ASP.NET platform a company would open themselves up for a patent infringement lawsuit for deploying o
    • Step 1: Yes, get a brain. Don't use a hammer on a screw.

      A screw works very well as a nail, you insensitive clod!

      I'm sure you wouldn't want to use .NET for a site that gets 20,000 hits a minute, but you also wouldn't want to use C++ or Perl to integrate Windows-only applications with Active Directory, either.

      Of course not, Microsoft works hard for this to be hard for you (sry folks, I wrote "hard" not "hard on")

    • Re:.NET programming (Score:2, Informative)

      by ergo98 (9391)
      I'm sure you wouldn't want to use .NET for a site that gets 20,000 hits a minute

      The greatest improvement that .NET brought to the table wasn't rich apps (Winforms still are quite a few steps behind what you could achieve with Delphi 7 years ago), nor was it component integration (COM is still the pervasive component model, and .NET remoting is just finally getting the features of COM+): It was that it revolutionized web development on the Windows platform.

      Not only was the programming model a world better th
      • Re:.NET programming (Score:5, Informative)

        by ThinkFr33ly (902481) on Friday December 09 2005, @02:27PM (#14222198)
        I know of a few bugs in v1.0 of the framework, nothing too serious... mostly stupid stuff (like a property being protected when it should have been public and is therefore inaccessible to anybody using the framework), but the documentation has always been stellar.

        That's one that Microsoft does better than pretty much everybody. MSDN is an incredibly good resource. For the most part, it always has been. Can you provide examples of crappy documentation in v1.0 or v1.1 of the framework? Again, I'm aware of a few isolated areas, but they were few and far between.
        • Can you provide examples of crappy documentation in v1.0 or v1.1 of the framework?

          I don't know if the original poster can, but I sure can: BindingContext and CurrencyManager. Having written a data bound hierarchical grid in C#, I can tell you for a fact that the CurrencyManager documentation is horribly documented for control designers, the people who have the most need of good CurrencyManager documentation. As a single major flaw, take the "Note to inheritors" section of the documentation. This would be r
        • MSDN good? Oh please. I still have nightmares about searching for a Win32 API function, and ending up on WinCE pages.

          I guess it got better now though (I haven't done Microsoft development in years, save for VB6 which has its own traditional help system that doesn't end up in something else you don't care about).
  • Small nitpick (Score:4, Informative)

    by Swamii (594522) on Friday December 09 2005, @01:21PM (#14221445) Homepage
    "Avalon" (now known as the Microsoft Presentation Framework

    A very small nitpick, but for the record, it's Microsoft Presentation Foundation.

    Maybe it's just me, but "Avalon" was a much cooler name.
  • If you really want to seize an opportunity to drive some demand for your products you have to take a serious look at embedding some Business Intelligence into your product. Don't believe me?

    1. The second most important technology priority (after security) for CIO's is Business Intelligence.
    2. Not only that, but the most important business priority for them is business process improvement

    • That is the "buzzword complience" thing one needs.. but any proper CIO knows that almost all BI products are total crap. Thus there is definitely a trend of "oh your product also does BI?, bye" raising. What is needed is actually GOOD products as the current wave is largely "hype-ware", though there are actually some fairly good(if very complex) products.
  • Mono Chapter? (Score:2, Interesting)

    by ztwilight (549428)
    If they had a chapter about Mono compatibility, I might consider the book.
    • Re:Mono Chapter? (Score:3, Informative)

      by PsychicX (866028)
      The technologies are Microsoft Speech Server and Microsoft Analysis Services. I'll write the extra chapter for you:

      CHAPTER 10: Mono Compabitility: None of these technologies or any equivalents are available in Mono. You might be able to hack something together with /dev/speech, and that's about it.

      Kind of a short chapter though.
  • by PhatboySlim (862704) on Friday December 09 2005, @03:19PM (#14222747)
    Honestly, I have been developing web applications for some time and granted I use C#, but I've never been opposed to someone using Java, or PHP, or Oracle. My personal experience has been that every language has a slight edge in some regard, but they all do the same thing. There is a much greater difference in the talent of programmers than in the language being used. If you pitted Steven Hawking in an Enzo Ferrari vs. Michael Schumaker in a Ford Taurus, who would win the race? I mean honestly. Mark me flamebait or troll I don't care, but all this Windows vs. Linux high school propaganda has got me sick of Slashdot. The original post was a book review on developing .NET. It wasn't a, "Why anything except MS sucks" book review. Can we please stay on topic and get the ever-increasing in size chip off the linux community's shoulder? Thanks.
  • SOoooo. (Score:3, Funny)

    by MrCopilot (871878) on Saturday December 10 2005, @11:38AM (#14228605) Homepage Journal
    Building Intelligent .Net Applications

    S0Oo...It's Fiction then.

    • by luvirini (753157) on Friday December 09 2005, @01:13PM (#14221363)
      You would then apparently be surprised at the ammount of development going on with C#
    • C++ is good at what's it's designed to do, lower level programming, we should not compare C++ with higher level languages. Java - 90% hype that died out 5 years ago - inho. Just about every single negative aspect of the .net platform if plegues java - so I don't buy the Java > .NET argument.
    • by sfontain (842406) on Friday December 09 2005, @01:43PM (#14221691)
      The computing world has long standardized on C++/Java. Writing to a dead and platform specific technology is not very smart.

      You are just wasting time for yourself, or the people who replace you, when your stuff gets migrated to Linux.


      This is probably the most ignorant thing I have heard today. Aside from the fact that .NET is neither platform-dependent, nor dead, you have a wonderful post. Oh, except for the part about wasting time, being replacing, and Linux migration.

      My 10-man company is making millions this very minute with C#.

      Go read a book and consider trolling elsewhere. I would mod you down, however it looks like the others have beaten me to it.
      • by JebusIsLord (566856) on Friday December 09 2005, @01:57PM (#14221820) Homepage
        Absolutely true... I get various contracting request emails every day, and 90% of them want either C# or Java coders. The rest are either C,C++ or specialty jobs.

        C# and Java, btw, are two of the nicest languages I've ever used, and I've used a lot.
      • What a person needs to advertise is knowing Delphi at a deep level (component writing, ActiveX).

        The people using Delphi out there are simply desperate to find anyone else who knows anything about it to help out.

        • by mugnyte (203225) on Friday December 09 2005, @03:07PM (#14222624) Homepage Journal
          Interesting how the less-intelligent, personal-attack responses are from AC's, while the interesting contributors are not. Or not so new.

          While I'm at now (US northwest), a lot of the programming is .NET based. If you are living elsehwere and have a Java-only view of openings, then great! both are alive in well in the world. Claiming either is a the single choice for all is a sure sign of an incompetent developer. Worse yet, the AC's here trolling are probably not developers at all (sigh of relief actually).

        • Java falling behind (Score:4, Informative)

          by penguin-collective (932038) on Friday December 09 2005, @03:41PM (#14222921)
          Sorry clown, Java is the top language/platform in new engineering positions right now. And it continues to grow.

          As someone else pointed out already, ASP.NET has already overtaken Java for web development. For dynamic content, Java has been almost completely replaced by Flash and dynamic HTML. And for desktop applications, Java is non-existent in the real world.
    • Somebody should mod the parent up "moronic M$ basher". In fact, Microsoft has had an active speech research team for more than a decade. (Doubt me? Look at the Proceedings of ICASSP if you want evidence.)
    • Microsoft bought up the Lernout & Hauspie company

      Are you sure about that??? I was doing some work in voice recognition software at the time and am pretty sure Lernout & Hauspie was bought by ScanSoft (now Nuance I think). Now I guess MS may be licensing some of the Lernout & Hauspie tech from them (I've seen no evidence of this), but I'm pretty sure they didn't buy L&H.
      • Re:Speech Server (Score:3, Informative)

        Microsoft licenses TTS technology [microsoft.com] from Lernout & Hauspie. (Now Nuance, like you said.) Microsoft has their own Speech Recognition engine. However, that engine can be replaced by third parties via the SAPI. Microsoft had an 8% share [businessweek.com] in the company at one point, though I don't know how much of it they currently hold.
      • There is only one purpose to Microsoft Research: To hire off all the computer scientist before they can invent something that would compete with Microsoft. (Or make them irrelevant.)

        Of course, no way would MS want to hire smart guys to invent stuff to improve their own software, why would they want to improve their stuff, or you really want to moronically argue that they never care about improving anything and 2k was no different from nt4, xp no different from 95, whatever?

        I use a lot of open-sourc
        • Of course, no way would MS want to hire smart guys to invent stuff to improve their own software

          One would think so. But find me projects that actually ended up producing a key component for Windows, Office, or many of their other products? I used to follow Microsoft Research because it sounded like they were working on interesting stuff. Over time, however, it became clear that NONE of the projects were ever seeing the light of day. The most that was happening is that the researchers would do some work, pos
      • Re:Speech Server (Score:2, Insightful)

        by Musc (10581)
        Microsoft research publishes a great deal of research papers every year.
        These innovations are free for everybody to read and learn about.

        Whether or not microsoft actually gets around to using any of these ideas in their products is beside
        the point: research is being done and the results are being published.
    • "Free software news" ? Where the hell does it say that?

      By the way, "hacker culture" is no longer "cool". It's a pathetic group of people who can't come to grips with modern technology and simply scream (well post) from their basement about how the world misuses the world "hacker" and doesn't give their command line the respect it deserves.
        • You should read "The True Believer" by Eric Hoffer. As a zealot your merely filling the void in your life with some utopian technology beliefs and admonishing a website for not subscribing 100% to your misguided point of view. Furthermore you have a need for an enemy and therefore Gates & MS become the earthly embodiment of satan in your mind. In the long term you might be better off losing a bit of the anger and doing more productive things because even if Gates is a convicted monopolist he doesn't com
    • Many people use .NET and it's an interesting enough language to warrant a story on using it more efficiently. Slashdot is not designed to be reporting 100% on free stuff and for good reason, if you want an IT news site that doesn't report on ANYTHING that isn't free RMS style your going to have a site that will appeal to a much smaller audience though it could be a good narcotic for zealots. Most people want news on everything IT of interest irrespective of its philosophical status.
    • Yet something that needs speed the most, DirectX 9.0c has portions that are written in .NET - managed code.

      Don't believe, go look it up...

      But I'm sure 'your' tests are the definitive answer on its performance.
      • Go look it up? How about you just provide some proof.

        Don't get me wrong, I'm a huge fan of .Net and DirectX, but I'm pretty sure the only part of DirectX which runs managed is the .Net wrapper 'DirectX for Managed Code'. I've made lots of unmanaged DX9 applications which run fine without the .Net runtime.