Geeks With Blogs

Bill Osuch - Random geek notes October 2011 Entries
EDI Party Resolution (& trading partners) in BizTalk 2010
In my last BizTalk post, I showed a project that routed xml messages to different parties based on the destination party name. It worked for simple xml messages, but if you want to work with EDI files you need to set up actual trading partner agreements between the parties, in order to configure the additional information needed to send an EDI X12 message (the ISA & GS segments). We'll build off the solution previously created by adding an X12 schema, mapping the xml purchase order to it, and ......

Posted On Wednesday, October 26, 2011 12:46 PM

Converting calendar date to Julian (Astronomy With Your Personal Computer)
Part 2 of converting the code in Astronomy With Your Personal Computer Astronomers frequently need to do arithmetic with dates, and rather than attempting to count the days in each month, it's far easier to simply convert the dates to Julian day numbers and just add or subtract. A while back I wrote a post on how to do this, but this method is slightly different - the subroutine in the book returns the number of days since 1900 January 0.5 (rather than the actual Julian date) due to the low-precision ......

Posted On Wednesday, October 19, 2011 1:39 PM

Basic Party Resolution in BizTalk 2010
BizTalk parties are external entities that BizTalk communicates with. You create parties in the admin console to determine how (or where) messages are routed, as well as controlling various pieces of envelope information for EDI messages. Today I'm going to walk through a very simple method of routing a message through an orchestration to any location based just on the party name. Begin by creating a new BizTalk solution. Add a schema called PurchaseOrder that looks like this: Promote the customer ......

Posted On Monday, October 17, 2011 1:29 PM

Converting decimal degrees to degrees/minutes/seconds (Astronomy With Your Personal Computer)
Part 1 of my attempt at converting the code in Astronomy With Your Personal Computer. MINSEC - converting decimal degrees/hours into degrees/hours, minutes, and seconds (and vice-versa). Most astronomy calculations are going to be expressed as degrees, minutes and seconds of arc, but computers need to work in decimal degrees. These methods will allow you to convert from one to the other and back. To convert from decimal to degrees/minutes/seconds: The whole units of degrees will remain the same (i.e. ......

Posted On Wednesday, October 5, 2011 12:52 PM

Updating the book Astronomy With Your Personal Computer
Way back in the dark ages (1985 or so) there was a book title Astronomy With Your Personal Computer by Peter Duffett-Smith. This book provided BASIC routines for various astonomical calculations: date/time conversions, planetary location, eclipse information, etc. Some of the calculations would be handy for some mobile apps I'm working on, so I decided to look into converting the code to C#. Just looking at a few lines of the sample programs in the book, it becomes quickly obvious that simply converting ......

Posted On Monday, October 3, 2011 11:06 AM

Copyright © Bill Osuch | Powered by: | Join free