Recommendations for Voice to Text (speech recognition) in .Net

2013-06-17 Thread Michael O'Dea-Jones
Hi,

I'm looking for some recommendations on how to do voice to text (speech 
recognition) in a .Net application. I have been asked to put together a demo 
application that extracts the spoken words from a sound file. Accuracy and 
performance would be great however it's not that important right now. The 
chosen language is English. Handling duplex conversations would be even better.

Regards,

Michael O'Dea-Jones



RE: Application Interface Options for Integration

2012-05-15 Thread Michael O'Dea-Jones
Hi Greg,

I hadn't considered it until you suggested it. I had a quick look and it's an 
option. Thanks for the opinion.

Regards,

Michael O'Dea-Jones

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Greg Low (GregLow.com)
Sent: Tuesday, 15 May 2012 9:49 AM
To: 'ozDotNet'
Subject: RE: Application Interface Options for Integration

Hi Michael,

Have you considered SQL Server Service Broker? It would provide you with a 
transacted queue between the SQL Server databases.

Regards,

Greg

Dr Greg Low

1300SQLSQL (1300 775 775) office | +61 419201410 mobile│ +61 3 8676 4913 fax
SQL Down Under | Web: www.sqldownunder.comhttp://www.sqldownunder.com/

From: ozdotnet-boun...@ozdotnet.commailto:ozdotnet-boun...@ozdotnet.com 
[mailto:ozdotnet-boun...@ozdotnet.com]mailto:[mailto:ozdotnet-boun...@ozdotnet.com]
 On Behalf Of Michael O'Dea-Jones
Sent: Monday, 14 May 2012 1:21 PM
To: ozDotNet (ozdotnet@ozdotnet.commailto:ozdotnet@ozdotnet.com)
Subject: Application Interface Options for Integration

Hi all,

Scenario:


1.   Two systems need to be able to communicate via middleware

2.   Source System is ASP.Net 4.0 web application

a.   Has SQL Server Database

b.  Exports via Export tables in SQL database

3.   Destination System is not a .Net application

a.   Has SQL Server Database

b.  Imports via control tables in SQL database

4.   Middleware is .Net 4.0 system with WCF services

a.   Customised .Net plug-ins will be written to ETL from source to 
destination systems

Current ETL is via SSIS packages and there are issues with sequencing, 
performance and lack of business rules, logging and alerting. Source System 
Vendor is happy to implement WCF services to push data to middleware though 
they need time to upskill.

Could I have an opinion on this idea:

Developer supply Source System Vendor with .Net library which they integrate 
into the source system. Library has a couple of method calls that submit 
messages from source system to middleware via WCF. A provider pattern could be 
implemented in the class library so other clients could supply their own 
export providers.

Pros:

Easy for source system vendor to implement as they don't have to research and 
develop WCF solution
Costs client less because fewer changes are required to the source system
Client gets update quicker
Client has the flexibility to update Export Provider any time they like
Other Clients could implement non-WCF Export

Cons:

Architecturally it might be better to implement WCF from the start
Might reduce operational calls and issue complexity for the Vendor if there is 
only one way to export data


Regards,

Michael O'Dea-Jones



Application Interface Options for Integration

2012-05-13 Thread Michael O'Dea-Jones
Hi all,

Scenario:


1.   Two systems need to be able to communicate via middleware

2.   Source System is ASP.Net 4.0 web application

a.   Has SQL Server Database

b.  Exports via Export tables in SQL database

3.   Destination System is not a .Net application

a.   Has SQL Server Database

b.  Imports via control tables in SQL database

4.   Middleware is .Net 4.0 system with WCF services

a.   Customised .Net plug-ins will be written to ETL from source to 
destination systems

Current ETL is via SSIS packages and there are issues with sequencing, 
performance and lack of business rules, logging and alerting. Source System 
Vendor is happy to implement WCF services to push data to middleware though 
they need time to upskill.

Could I have an opinion on this idea:

Developer supply Source System Vendor with .Net library which they integrate 
into the source system. Library has a couple of method calls that submit 
messages from source system to middleware via WCF. A provider pattern could be 
implemented in the class library so other clients could supply their own 
export providers.

Pros:

Easy for source system vendor to implement as they don't have to research and 
develop WCF solution
Costs client less because fewer changes are required to the source system
Client gets update quicker
Client has the flexibility to update Export Provider any time they like
Other Clients could implement non-WCF Export

Cons:

Architecturally it might be better to implement WCF from the start
Might reduce operational calls and issue complexity for the Vendor if there is 
only one way to export data


Regards,

Michael O'Dea-Jones



Code Obfuscation tool

2011-01-08 Thread Michael O'Dea-Jones
Hi all,

Can anyone recommend a good code obfuscation tool for .Net?

Regards,

Michael O'Dea-Jones



RE: Setting CMD-window title

2010-11-29 Thread Michael O'Dea-Jones
Hi Ian,

I'm interested too. However what I want is to change the description that 
appears in Task Manager as I have a number of Processes with the same name e.g. 
pluginloader.exe. As a work around I have added the Command Line Column to 
Task Manager which allows me to differentiate between the processes because it 
shows the Command Line Arguments e.g. pluginloader.exe 1 logger.

If you can't change the path, then maybe you can change the Command Window 
Background Colour?

Regards,

Michael O'Dea-Jones

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Ian Thomas
Sent: Tuesday, 30 November 2010 9:12 AM
To: 'ozDotNet'
Subject: Setting CMD-window title

From .NET, I am starting a Win32 application with process.start -
   process.StartInfo.FileName = var1
   process.StartInfo.Arguments = var2
   process.Start()
   process.WaitForExit(
The CMD window shows the path and executable name (var1), but I would like to 
change the title display text from .NET (since I run multiple instances of the 
same application with different args).
So far, I can't discover how I can do that with a Win32 call. Any ideas?


Ian Thomas
Victoria Park, Western Australia


RE: Mixing development software versions

2010-08-03 Thread Michael O'Dea-Jones
Hi Greg,

Another thought:

I have been using Sun Virtual Box (now Oracle Virtual Box) for all my 
development without any problems all year. All host PCs\Laptops are Win 7 64 
bit. I can create 32 or 64 bit VM's. I can even create a 64 bit VM and run it 
inside a 32 bit host. The best part is that it's free!

Regards,

Michael O'Dea-Jones

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Greg Keogh
Sent: Wednesday, 4 August 2010 9:20 AM
To: 'ozDotNet'
Subject: Mixing development software versions

Folks, I'm preparing for the big migration of all of my projects to VS2010, 
Framework 4 and Silverlight 4. I built a Win7 in WMWare with the latest 
software development installed so I could rebuild and test everything in 
parallel with my real work. Unfortunately, problems with the mouse and stalls 
in VM are ruining my plans.

Win7 has a terribly jittery mouse in the VM which requires the VMWare drivers 
be installed to correct the problem. However, the installation of these drivers 
causes the VM to freeze dead randomly every 5-10 minutes. It seems to freeze 
when I am manipulating opening and closing tree control nodes in Windows 
Explorer and the VS2010 solution pane. I spent hours researching this problem 
and found that if I only install the mouse and video drivers then the problem 
only happens every 20-30 minutes. This is still unacceptable.

I continue to search for a way of making the Win7 VM stable, but no luck so 
far. This isn't a .NET related problem, but I'd love to hear from anyone else 
who has suffered from this problem and solved it.

My other option is to not us a VM and install VS2010, Framework 4 and 
Silverlight 4 and all of the supporting kits on my work machine alongside their 
previous versions. Cramming everything together gives me a creepy feeling. 
Before I consider doing this, I just wanted to ask if this is acceptable in 
theory and in practise. Has anyone got everything installed side-by-side and 
can report success or side effects.  I don't want to destroy the machine I use 
to make a living.

Greg


RE: Native code references

2010-08-02 Thread Michael O'Dea-Jones
Hi Stephen,

I am working on a C# project using VS2008 and have COM objects. I have added 
the DLL's as references and they are being copied to the Unit Test project. If 
you slick the DLL under references and press F4 you will see the references 
properties. For my DLL's Copy Local is set to True. I hope this helps.

Regards, 
Michael O'Dea-Jones 

-Original Message-
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Stephen Price
Sent: Tuesday, 3 August 2010 11:36 AM
To: ozDotNet
Subject: Native code references

hey all,

I find myself delving into the world of COM and Native code (ie C++) and 
calling it from managed code. Something I've been tripped up by is missing 
dll's. I was wondering if there's an easy way I've missed that someone could 
share.

I'm writing some unit tests for code that wraps calls to these native dll's but 
I've found adding references to the supplied C# wrapper classes does not 
automagically copy the required dll's along with it.
I've had to resort to Post build copies of the required native dll's and their 
dependencies, which once I've done works fine.

Is that the best practice, or have i missed something? I've managed to avoid 
this until now (and to be honest am having fun with it. I feel like a REAL 
programmer. lol)

cheers,
Stephen


RE: Native code references

2010-08-02 Thread Michael O'Dea-Jones
Hi Stephen,

Ah, I see. Try this. Add the unreferenced DLL's to your project, but not as 
references, much like you would add a jpg or gif file. Then click the file and 
press F4 to bring up the files properties. Set the Copy to Output Directory to 
Copy always or Copy if Newer. That way the files will be copied to the bin 
folder.

Regards, 
Michael O'Dea-Jones 

-Original Message-
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Stephen Price
Sent: Tuesday, 3 August 2010 1:13 PM
To: ozDotNet
Subject: Re: Native code references

Hi Michael,

I'm doing that part, but the dependencies of the dll's being referenced are not 
copied. It won't let me add the native code dll's as a reference, it gives an 
error telling me to check the file is accessible, that it is a valid assembly 
or COM component.

I used depends.exe (Dependency Walker) to figure out what dll's it was looking 
for in the third party dlls. ie the c# wrapper dll is called hoops1811_cs90.dll 
(which I can add as a reference) but the hoops1811_vc90.dll file won't add (but 
manually copying or copying via Post build) gets the unit test running.

I've got it all copying and running (and passing!) now so I was just wondering 
if that's the normal thing to do (using Post build to copy
dependencies)

thanks for the reply,
Stephen

On Tue, Aug 3, 2010 at 9:41 AM, Michael O'Dea-Jones mich...@wardyit.com wrote:
 Hi Stephen,

 I am working on a C# project using VS2008 and have COM objects. I have added 
 the DLL's as references and they are being copied to the Unit Test project. 
 If you slick the DLL under references and press F4 you will see the 
 references properties. For my DLL's Copy Local is set to True. I hope this 
 helps.

 Regards,
 Michael O'Dea-Jones

 -Original Message-
 From: ozdotnet-boun...@ozdotnet.com 
 [mailto:ozdotnet-boun...@ozdotnet.com] On Behalf Of Stephen Price
 Sent: Tuesday, 3 August 2010 11:36 AM
 To: ozDotNet
 Subject: Native code references

 hey all,

 I find myself delving into the world of COM and Native code (ie C++) and 
 calling it from managed code. Something I've been tripped up by is missing 
 dll's. I was wondering if there's an easy way I've missed that someone could 
 share.

 I'm writing some unit tests for code that wraps calls to these native dll's 
 but I've found adding references to the supplied C# wrapper classes does not 
 automagically copy the required dll's along with it.
 I've had to resort to Post build copies of the required native dll's and 
 their dependencies, which once I've done works fine.

 Is that the best practice, or have i missed something? I've managed to 
 avoid this until now (and to be honest am having fun with it. I feel 
 like a REAL programmer. lol)

 cheers,
 Stephen



RE: SQL/ADO.NET Timeout Error

2010-07-27 Thread Michael O'Dea-Jones
Hi Simon,

The SqlConnection has a Connection Timeout (Default 15 sec).  The SqlCommand 
has a Command Timeout (Default 30 sec). What's important is that the client 
application could not establish a connection and execute the command within the 
default timeout periods. Check your Connection strings and Permissions.
Regards,
Michael O'Dea-Jones
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Simon Haigh
Sent: Wednesday, 28 July 2010 11:54 AM
To: ozDotNet
Subject: SQL/ADO.NET Timeout Error

Hi all.

Not strictly a DotNet question but I'm sure somebody will know the answer.

I have an SQL query that occassionally returns with a timeout error.  We know 
that the default timeout for ADO.Net is 30sec and there are no default timeouts 
set on the SQL2K5 server. So we ran a trace and discovered that the query was 
running for approximately 0.7 seconds realtime but returning a 30 second 
duration in the trace log.

Not particularly worried about the fact thatt the query is timing out but why 
the difference between realtime and the duration time reported by the SQL 
server.

So can anybody explain why the difference between realtime and SQL query 
duration time?


Thanks
Simon


This email (including all attachments) is confidential, may contain personal or 
legally privileged information and is intended solely for the named addressee. 
Confidentiality or privilege is not waived or lost because this email has been 
sent to you by mistake. If you have received it in error, please let us know by 
reply email, delete it from your system and destroy any copies.
This email is also subject to copyright. No part of it should be reproduced, 
adapted or communicated without the written consent of the copyright owner. Any 
personal information in this email must be handled in accordance with the 
Privacy Act 1988 (Cth).
Emails may be interfered with, may contain computer viruses or other defects 
and may not be successfully replicated on other systems. Pillar Administration 
makes no representations and gives no warranties in relation to these matters 
and does not accept liability for any loss or damage which may result from this 
email.
If you have any doubts about the authenticity of an email purportedly sent by 
Pillar Administration, please contact us immediately.



RE: Custom exception?

2010-06-08 Thread Michael O'Dea-Jones
Hi Bec,

I try to approach these problems pragmatically. I'm unaware of your development 
environment, deadlines etc. So, pragmatically I say just to do the bare minimum 
to start with. For me that would be to let the caller of the class handle the 
exceptions they care about. Once you have some feedback/experience then you can 
respond to it later on.

Practically, for me that means that the caller would handle the exceptions that 
they know about and let the application fail hard and fail fast for any unknown 
exceptions. I haven't needed to create a custom exception yet. I have found 
that Microsoft have provided me with all the exceptions I need e.g. Application 
exception.

I hope this helps.

Regards,

Michael O'Dea-Jones 


-Original Message-
From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Bec Carter
Sent: Wednesday, 9 June 2010 12:00 PM
To: ozDotNet
Subject: Custom exception?

Hi!
From the more experienced programmers here, when is it appropriate to
create custom exceptions?
I am finding a mix of opinions around.

eg. I have a class which generates reports. Part of the process is to
create a directory if it does not already exist. If the create
directory  fails several types of exceptions can be thrown like
System.UnauthorizedAccessException, DirectoryNotFoundException and so
on. Should the caller of this class care about all of these or should
they just worry about catching a ReportGenerationException which tells
them exactly what went wrong?

Cheers. --Bec--


app_offline for SSRS 2008?

2010-03-16 Thread Michael O'Dea-Jones
Hi all,

Does Anyone how to get SSRS 2008 to display a custom offline message when you 
want to perform maintenance?

Scenario:

Public facing SSRS site.
When maintenance is scheduled the client would like a custom message to be 
displayed stating that the site is undergoing maintenance.

What I've already tried:

ASP.Net has a magic app_offline.htm file that causes the IIS to send back the 
contents of the app_offline.htm file. When I add the app_offline.htm file to 
the SSRS reportmanager folder he report manager site is unaffected. However, 
when I add the app_offline.htm file to the reportserver folder the 
reportmanager errors stating that  the attempt to contact the report server 
failed. Check your connection information and that the report server is a 
compatible version.

What I can try next:

I have implemented custom Forms Authentication and Authorisation extensions. 
This means that I can swap out the Logon.aspx page on the reportmanager and 
reportserver folders. This would prevent new users from logging on, but current 
users may receive errors. To stop the errors the report service would have to 
be restarted.

Anyone got any better ideas?

Regards,

Michael O'Dea-Jones



RE: [OT] Australian ALM Conference in April?

2010-03-10 Thread Michael O'Dea-Jones
Hi Shaun,

The reason I am so interested in the Australian ALM conference is the 
opportunity to see Sam Guckenheimer and Ivar Jacobson who are two luminaries of 
the industry present at the keynote.  I am especially keen to hear what Sam 
Guckenheimer has to say about the future of the Microsoft development products.

I think the real value for this event is that the event is focused on 
Application Lifecycle Management and it will provide me with the opportunity to 
see how Visual Studio 2010 will help with marrying business management to 
development.  I think that ALM is going to become increasingly important as a 
developer and I want to get ahead of the curve.

But the real reason I have registered is to try and win the motorised esky they 
are giving away :)

Michael O'Dea-Jones

From: ozdotnet-boun...@ozdotnet.com [mailto:ozdotnet-boun...@ozdotnet.com] On 
Behalf Of Baggett, Shaun
Sent: Thursday, 11 March 2010 8:27 AM
To: ozdotnet@ozdotnet.com
Subject: [OT] Australian ALM Conference in April?

Hi Listers

I am thinking about attending the ALM conference in Sydney this coming April 
(http://www.australianalm.com.au/) and am wondering about its value. 
Considering this event is essentially the official launch of Visual Studio 2010 
and TFS 2010 it's also very relevant to my work as we tend to get the latest 
and greatest as soon as we can. So there's probably some good benefits there.

Just wondering what others think of the event and whether you might be going?



---
This email, and any attachments, may be confidential and also privileged. If 
you are not the intended recipient, please notify the sender and delete all 
copies of this transmission along with any attachments immediately. You should 
not copy or use it for any purpose, nor disclose its contents to any other 
person.
---