Subscribe: Daniel Morgan
Added By: Feedage Forager Feedage Grade B rated
Language: English
csharp>  data  dual  gstreamer sdk  linux  mono  net  sdk  select  server  sql server  sql  system data  system  tcp  windows 
Rate this Feed
Rate this feedRate this feedRate this feedRate this feedRate this feed
Rate this feed 1 starRate this feed 2 starRate this feed 3 starRate this feed 4 starRate this feed 5 star

Comments (0)

Feed Details and Statistics Feed Statistics
Preview: Daniel Morgan

Daniel Morgan

Published: Sun, 13 Jan 2013 21:09:59 -0500

Last Build Date: Sun, 13 Jan 2013 14:03:09 -0500

Copyright: Copyright 2013

Time to dump Mozilla Firefox for Google Chrome

Sun, 13 Jan 2013 14:03:09

Firefox is only interested in dictating to their users what they can and cannot use.

I was required to access a government web page today. I could not do what I needed to do because Firefox refused to run Java. Firefox says I needed to upgrade Java. Yet, I was already running the latest java 7 update 10.

I dumped Firefox and am using Chrome now. At least Google gives me the option to run java if I absolutely have to.

By the way, Mozilla, did you notice I said "REQUIRED" to use java to do what I had to do. Yet, you are DICTATING what other users can or cannot use. You do not give me the CHOICE to DECIDE if it is okay to use or not.

Thanks for nothing Mozilla! Thanks a lot Google.

Mozilla has been catching up to other browsers or the past few years anyways. I should have jumped the ship when the cool kids moved to Chrome.

UPDATEOracle has Java 7 Update 11 out now.

Good thing there is Linux

Mon, 10 Sep 2012 10:00:32

I needed to get some pictures off a Kodak EasyShare camera. I thought the best way would be to hook up it to by laptop using a USB cable. I thought for sure Windows 7 64-bit would work with it. Nope. Neither Kodak nor Microsoft care to support this old camera. Dual-boot into Ubuntu Linux 12.04 LTS 64-bit. Shotwell popped up and I was able to retrieve my pictures. Granted, I would have preferred a Gnome or Xfce desktop over Unity, but it worked.

In the future, what will you use to open old documents, PDF files, music files, videos in the future when the Microsofts and Apples of the world no longer support these old formats / devices?

Just an un-related side-note. I consider Linux to be like the printing press in 1700s or earlier. To understand what this means, you have to consider the printing press was huge in educating the masses about freedom. Think of Thomas Paine's Common Sense.

So, despite all the problems we have with the Linux desktop today, we need it today and for the future. Other platforms like Windows 8, Mac, and iOS are locking down their platforms. Maybe the Linux desktop will be the only thing which helps us keep our freedom. Because we have to keep trying to keep our freedom; otherwise, it will be slowly taken away.

Gstreamer SDK on Windows

Thu, 19 Jul 2012 19:26:14

I thought I would download the Gstreamer SDK from They have binary releases for Linux, Mac, and Windows.

I download the Gstreamer SDK for Windows 64-bit. I read the tutorial that said tutorial projects should build out-of-the-box. It didn't work for me. I eventually did figure out to get it to build out-of-the-box.

The tutorial says to set/use the environment variable GSTREAMER_SDK_ROOT_X86_64 for 64-bits and set/use GSTREAMER_SDK_ROOT_X86 for 32-bits. Also, make sure to set the solution platform configuration to x64. The default is x86.

I got errors about missing gst.h header file. The GSTREAMER_SDK_ROOT_X86_64 was set by the installer. Plus, I didn't start Visual Studio until after I installed the Gstreamer runtime and SDK. Turns out, the the properties files were looking for the 32-bit environment variable. The choice was either update these properties files (.prop file extension) to use the 64-bit environment variable or just set the environment variable for 32-bit to point to my 64-bit gstreamer SDK installation and then restart Visual Studio. I chose the later.

Well, it does build and run out-of-the-box for me now. Very nice.

Mono's 10 Year Birthday

Tue, 14 Jun 2011 16:40:44

According to the History of Mono, Mono was announced on June 30, 2011. So, this means Mono will be 10 years old. Mono has come a long way.

Fully Managed SQLite ADO.NET Provider

Tue, 16 Feb 2010 23:43:27

No native library needed anymore.

Community.Data.SQLite is csharp-sqlite which is a port of the sqlite library from C to C#. This port was done by Noah Lambert.

Community.Data.SQLiteClient is the ADO.NET wrapper around Community.Data.SQLite. This wrapper was oringally based on Mono's Mono.Data.SqliteClient.

If you want to download the source and binaries, you can read this google group message for the link to download the zip file. You should also find an example on how to use it.

HTML5 Makes Flash Obsolete

Fri, 12 Feb 2010 17:14:47

I can see why Adobe is objecting to HTML5 standard - it would make Flash obsolete.


Sat, 03 Oct 2009 22:54:23

Looks nice. I'm just glad you didn't base it on the broken date type in java.

The Fist and the Finger

Tue, 15 Sep 2009 11:49:09

The GNU Project has their recursive-acronyms. Well, the Mono Project has their Fist and the Finger - they are both optical illusions.

Oh wait, they changed the logo of MonoTouch. It looks like we only have the Fist now.

Microsoft deprecates System.Data.OracleClient in .NET 4.0

Mon, 13 Jul 2009 17:22:04

I'm a month late on this news...

System.Data.OracleClient Update

So, how does this effect Mono? Hopefuly None because this is the only way to connect to oracle using Mono other than ODBC. So, I and others will try to keep maintaining it.

Oracle's own ADO.NET provider does not work on Mono, and Oracle has said they will not support Mono. To be honest, I don't think ODP.NET works that great on .NET either.
I've always preferred to use Microsoft's provider for Oracle. This is true even for ancient applications written in Visual Basic 6 - I preferred to use the ODBC and OLEDB providers for Oracle from Microsft. The Oracle database providers written by Microsoft were far more STABLE then the providers/drivers written by Oracle for their own database.

Mono's interacive C# and using System.Data

Wed, 10 Sep 2008 22:30:22

I wanted to try out the new tool called csharp which allows you to interfactively enter commmands in C# and it compiles and run them. In my case, I wanted to see it connecting to a database. Here is my results - typos and all:

danmorg@danspc:~/monosvn/monoinstall/etc/mono> csharp
Mono C# Shell, type "help;" for help

Enter statements below.
csharp> LoadAssembly("System.Data.dll");
csharp> using System.Data;
csharp> using System.Data.Common;
csharp> DbProviderFactory factory = DbProviderFactories.GetFactory("System.Data.OracleClient");
csharp> IDbConnection con = (IDbConnection) factory.CreateConnection();
csharp> con.ConnectionString = "server=testdb;user id=scott;password=tiger";
"server=testdb;user id=scott;password=tiger"
csharp> con.Open();
csharp> con.State;
csharp> IDbCommand cmd = con.CreateCommand();
csharp> cmd.CommadText = "select 'one' as num from dual union select 'two' from dual union select 'three' from dual";
(1,6): error CS1061: Type `System.Data.IDbCommand' does not contain a definition for `CommadText' and no extension method `CommadText' of type `System.Data.IDbCommand' could be found (are you missing a using directive or an assembly reference?)
csharp> cmd.CommandText = "select 'one' as num from dual union select 'two' from"select 'one' as num from dual union select 'two' from dual union select 'three' from dual"
csharp> IDataReader reader = cmd.ExecuteReader();
csharp> whlie (reader.Read())
> Console.WriteLine(reader.GetString(0));
(1,2): error CS1002: Expecting `;'
(2,8): error CS1002: Expecting `[', `)', `,', `;', or `=', got .
csharp> while (reader.Read())
> Console.WriteLine(reader.GetString(0));
csharp> reader.Close();
csharp> con.Close();
csharp> con.State;

The errors I got usually were due to typos. I didn't have to re-type everything, just clicked the up arrow to get a command in my history.

Also, here are two important commands to remember:

To get help, type: help;

To quit, type:

Go OO!

Wed, 03 Oct 2007 14:30:06

I have to agree with what Federico says today.

Love this quote "C++ is really good at making people think that you can turn it into a real language, while in fact you do nothing but put crutches to clutter the code into simulating the features of real languages". So true, so true.

I personally have found to build harder than GNOME. And, let me tell you, GNOME is not a simple task itself to build.

Maybe Sun measures their specifications in the number of pounds.

Hmmm... Your specification only weighs 30 pounds -- it needs to be 50 pounds and then I may consider it.

Misunderstanding the General Public License

Tue, 04 Sep 2007 07:06:29

Apparently, there are developers who release their source code under the GPL without understanding what it says. Or did I misunderstand the author?

For example:

ExcelPackage is an Open Source project provided under the
GNU General Public License (GPL) as published by the Free Software Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA

The GNU General Public License can be viewed at
If you unfamiliar with this license or have questions about it, here is an

The code for this project may be used and redistributed by any means PROVIDING it is not sold for profit without the author's written consent, and providing that this notice and the author's name and all copyright notices remain intact.

Emphasis was mine.

gnome moving to subversion

Sat, 30 Dec 2006 18:28:09

Way to go GNOME with your cvs to subversion conversion!

Ximian/Novell Edition of

Mon, 04 Dec 2006 15:45:44

Novell / Ximian has had their own edition of for years. Everything they do is made as patches ready to go upstream so the patches can be merged with the mainline edition. If Novell/Ximian never did this, you would have a broken This is the same with other distributions. Ubuntu Linux does not distribute the vanilla other.

From what I have seen, it is a major pain in the ass to get sun engineers to get open patches moving along.

I do wish would stop spreading FUD. I thought they were about finding the facts. It appears not!

Riding a SLED on Windows to SQL Server

Sun, 06 Aug 2006 02:35:36

I tried the Mono-SLED VMWare image from Novell.

SLED stands for SuSe Linux Enterprise Desktop.

I wanted to try to see if I could connect to Microsoft SQL Server 2005 Express running on my Windows box from the SLED guest using a Mono application. So, I tried.

It failed -- at first.

To test to see if I could get it working on Linux, I tried first on Windows to see if I could connect via TCP/IP. On Windows, I copied sqlsharp.exe from my Mono installation bin path to somewhere outside of the mono installation. I then started a Microsoft .NET SDK Command Prompt. I started sqlsharp.exe


SQL# \provider sqlclient
The default Provider is SQLCLIENT

SQL# \connectionstring server=MYHOST\SQLEXPRESS;DATABASE=master;user id=sa;password=mypass

SQL# \open
Opening connection...
Open was successfull.

I tried the same using mono on Windows:

G:\>mono sqlsharp.exe

SQL# \open
Opening connection...
Exception Caught Opening. SQL Server does not exist or access denied.

Hmmm... How come Microsoft .NET works but Mono does not?
MSDN says dbmssocn (library which uses TCP/IP to connect to SQL Server) is the default library to use. However, I have proved this to be false.

Now, try this connection string in sqlharp on the .NET SDK. I explicitly set the network library to dbmssocn.

SQL# \connectionstring server=MYHOST\SQLEXPRESS;DATABASE=master;user id=sa;password=mypass;network library=dbmssocn

SQL# \open
Opening connection...
Exception Caught Opening. Specified SQL server not found: MYHOST\SQLEXPRESS

If you tried connecting via Mono and TCP is not enabled on SQL Server, you might have gotten:
SQL# \open
Opening connection...
Exception Caught Opening. Only TCP/IP is supported.

By default, SQL Server 2005 Express has TCP/IP disabled. So, you have to go into SQL Server Configuration Manager and enable TCP/IP for each instance you wish to connect via TCP/IP. But, you also must make sure the TCP/IP Protocol is one of the allowed client protocols. I also made sure my firewall allowed mono.exe and sqlsharp.exe to do networking. And I allowed the SQL Server Monitor UDP Port 1434 in my firewall. If this udp port is not enabled, then SqlClient running on Linux will not be able to get the TCP port to connect to based on the instance name SQLEXPRESS.

SQL Server 2005 Network Configuration
Protocols for SQLEXPRESS
enable TCP/IP
SQL Server Native Client
Client Protocols
enable TCP/IP

If SLED can't find your hostname, use the ipconfig command on Windows to get your IP Address. Ipconfig will list the IP address for your VMWare guest (SLED) as well.

Once this is done, you can connect to SQL Server 2005 from Mono running on SLED. A valid query to use is:

select * from sysdatabases;

Moreover, the Mono-SLED VMWare image provides a good way to test your .net apps to see if they will run on Mono on Linux. This is important if you want to develop applications that run on .net on windows and mono on linux on the same machine. Dual-boot will not work because SQL Server only runs on Windows.