Jim Jackson
<p>Character Counts.<br>Do the right thing.
-
Silverlight 2 Drag and Scroll Image
This is somewhat based on Shawn Wildermuth’s blog post for drag and drop. I had two problems with his post.
-
Silverlight 2 Sys.InvalidOperationException: ImageError error #4001 in control Xaml1
I got this last night while trying to load 2,150 images into a grid. I’m working on a map tiling control for my application because the maps are very large and custom stitched for my application. Incidentally, when loaded up, my IE windows consumes 1.3 Gb of Ram. Um, probably not gonna work in production…
-
Using Linq to XML with C# to Read Gpx Files
GPX is the standardized file format for GPS file exchanges. A GPX file can contain a lot of different kinds of information. Take a look at the schema here. In general, the major things that you will work with are:
-
SQL 2008 Geography and Geometry Data Type Problems
My plan was to take my application into SQL 08 from 05 since my hosting service now has it available. I was intent on killing all of my lat/long information and storing my geospatial data in geography columns.
-
Beyond Compare 3
A substantial part of a developer’s job seems to be the logistical details of getting ‘it’ from here to there. When you run a team the problem becomes larger. Even with source control, there are documents that should be updated that aren’t and things that should be done that are missed. The two tools that I use these days are Beyond Compare from Scooter Software for files and folders and Red Gate’s SQL Compare for databases. The former is dirt cheap, the later has gotten more expensive over the years.
-
WCF Services in a Shared Hosting Environment
I’m currently using a relatively well known hosting service for my Silverlight 2 application. The problem that I’ve had in getting the app up and running is that in a shared hosting environment, I have no control over host headers and most of the other settings in IIS. So since my url is https://www.singletrax.com, the ops people also added https://singletrax.com to the host headers for my site.
-
Calculating Distances Between Latitude and Longitude – T-SQL – Haversine
I’ve got lots of lat/long information for my Silverlight 2 application and I’m now tinkering with getting the elevation view working in my spare time. The problem is that the distances are very small and the haversine formulae I’ve located on the internet are all either miles or kilometers. Not going to work when your next position is only 50 feet away. So I wrote the simple SQL function below based directly on Seth Long’s version here.
-
Looking for the Groove Again
I spent quite a bit of time working SharePoint both in an independent project and bug-fixing other people’s work over the last six or seven months. Once you get the paradigm down, it’s not too bad but not exactly a barrel of laughs either. You spend equal thirds of your time developing, debugging and tinkering with the xml files that make up the belly of the beast. I believe that after some old-school SQL work finishes up I’ll be back in that groove. Yippee… I need to noodle around with those certifications too but that’s another story.
-
Opening and Reading an XML file in a document library
So in a recent SharePoint implementation, I was required to allow users to create links in web parts that performed server side functions. Most of the functions were known quantities but they were almost all external systems. Most of the requirements were to just display security trimmed links to Oracle and other external systems. I had envisioned a single sign-on, BDC system but it turned out the client didn't have the infrastructure to support getting the external data in that way.
-
SharePoint Logs - Tracing Service lost trace events
So in the farm I'm trying to deploy to, the tracing service starting logging some "failed to write template" messages. Thousands of them. Nobody was on the machine at the time. It wasn't available to anyone so it was internal to SharePoint, whatever it was. Then it suddenly turned into the "Tracing Service lost trace events" log entries. Finally, it stopped logging altogether.