Powershell: List all elements (and entities) in a schema

Problem I started working with OAGIS schemas . The schemas are very complex and many have over 1000 entities (elements, attributes, sequences, etc…) inside. Let’s say I’m doing a BizTalk map, and I want to see if the schema has a field called “RequestedDeliveryDate”. Or maybe I want to find all the dates. You can’t […]

Advanced Insights: BizTalk Error: Finding the document specification by message type “xx” failed

If you’ve been around BizTalk for a while, like me, you most certainly have gotten this error many times. The normal solutions are: 1) Make sure you schema is deployed 2) Make sure your schema is not deployed more than once 3) Set “AllowUnrecognizedMessage” to True in the XML Disassembler. 4) Make sure the file […]

Replacement for BizTalk ImportExportRulestore.exe

What if you need to import a bunch of BizTalk vocabulary rules (.xml files) into the Biztalk BRE (Business Rule Engine)? You don’t want to do it one at time using the Business Rule Deployment Wizard. The real question, is why Microsoft didn’t provide a batch version of that tool that does all the same […]

BizTalk Pipeline Framework for BizTalk 2016 (and beyond)

While the GitHub says it’s only for BizTalk 2013-R2 and lower, it’s just C# code that should work with any version of BizTalk, unless BizTalk makes some breaking changes in future releases. But it’s unlikely they would do that, as many customers have pipeline components and business rules. Visual Studio 2015 Builds To get it […]

Get directory name of “My Documents”

I’m at a client that has the users “My Documents” on a share drive, so that when you logon to any computer, you have your “My Documents” available. The question is, how to get that directory/path name? Why? You might want to write a C# program to access one of the files there, or you […]

AWS re:invent reinvent 2019 – Andy Jassy CEO AWS – My Notes

Amazon AWS re:invent reinvent 2019 – Andy Jassy CEO AWS – Notes 12/04/2019 Stats: 65,000 attendees, Public Sector Using: 10,000 Academic 25,000 Non Profits AWS NHitro Decided to design and build chips Bought Annapurna Labs (Chip Designers Builders from Israel), and design build chips themselves. Graviton ARM chip announced last year (A1 Instances) Article about […]

C# Import/Using statements for Microsoft SQL

What do you need to import with the “using” statement in C# to be able to work with SQL? For Microsoft using System.Data; using System.Data.SqlClient; System.Data includes the DataReader, DataAdapter, Connetions, Commands and so on (from ADO.NET). For Oracle using System.Data; using Oracle.ManagedDataAccess.Client; using Oracle.ManagedDataAccess.Types;

Find the compute capability of your NVIDIA Graphics Card (GPU)

Run the nvidia-smi command. Get the name/model of your NVidia card, then find it on this page: https://developer.nvidia.com/cuda-gpus So below, you can see my GeForce GTX 950 has a computer power of 5.0: The reason for checking this was from a blog on Medium regarding TensorFlow. It said: Check for compatibility of your graphics card. […]

Python code to test PyTorch for CUDA GPU (NVIDIA card) capability

PyTorch is a machine learning package for Python. This code sample will test if it access to your Graphical Processing Unit (GPU) to use “CUDA” <pre>from __future__ import print_function import torch x = torch.rand(5, 3) print(x) if not torch.cuda.is_available():    print ("Cuda is available")    device_id = torch.cuda.current_device()    gpu_properties = torch.cuda.get_device_properties(device_id)    print("Found %d […]

List Nvidia Graphic Card Capabilities and Features on Windows (From Command Prompt)

C:\Program Files\NVIDIA Corporation\NVSMI>nvidia-smi Sun Nov 24 13:35:47 2019 +—————————————————————————–+ | NVIDIA-SMI 441.22 Driver Version: 441.22 CUDA Version: 10.2 | |——————————-+———————-+———————-+ | GPU Name TCC/WDDM | Bus-Id Disp.A | Volatile Uncorr. ECC | | Fan Temp Perf Pwr:Usage/Cap| Memory-Usage | GPU-Util Compute M. | |===============================+======================+======================| | 0 GeForce GTX 950M WDDM | 00000000:01:00.0 Off | N/A […]