background preloader

Shiny stuff

Facebook Twitter

Your Personal PLC Tutor Site - RS232 Communications/software. Learn quickly with our PLC Training DVD Series: on sale $599.00 $379 Click here now for details!

Your Personal PLC Tutor Site - RS232 Communications/software

RS-232 Communications (software) Now that we understand the hardware part of the picture, let's dive right into the software part. We'll take a look at each part of the puzzle by defining a few of the common terms. Ever wondered what phrases like 9600-8-N-1 meant? Do you use software-handshaking or hardware-handshaking at formal parties for a greeting? ASCII is a human-readable to computer-readable translation code. The picture below shows how data leaves the serial port for the character "E" (45h 100 0101b) and Even parity. Another important thing that is sometimes used is called software handshaking (flow control). The last thing we should know about is delimiters. Sometimes an STX and ETX pair is used for transmission/reception as well. Finally, we might also come across an ACK/NAK pair. RS-232 has a lot of information to absorb, so feel free to reread it. Audit and document Security User Rights Assignment using C#

For more information on the Windows Server documentation abilities of XIA Configuration please see the following We've recently been asked about the auditing of User Rights Assignment as seen in the Local Group Policy Editor.

Audit and document Security User Rights Assignment using C#

Having looked into this issue it is apparent that this cannot be done with any high level API such as WMI and requires the use of P/Invoke and the Win32 method LsaEnumerateAccountsWithUserRight. I've seen many posts on the Internet on the topic but I haven't seen a simplified example of this in use so have writen a quick C# sample application to enumerate the various rights and privileges and display the users assigned to that right in a grouped listview as per the screenshot below. This can be downloaded from our web site in Visual Studio 2010 The sample supports the following Document and Audit User Rights Assignment with XIA.

C# - Best Practices of fault toleration and reliability for scheduled tasks or services. Building Scalable, Highly Concurrent & Fault Tolerant Systems - Less… Fault Tolerance Made Easy. Unity 3 – April 2013. Patterns & practices Developer Center April 2013 Unity is a lightweight, extensible dependency injection container with support for instance and type interception.

Unity 3 – April 2013

Overview Unity is a lightweight, extensible dependency injection container with support for constructor, property, and method call injection. It facilitates building loosely coupled applications and provides developers with the following advantages: Simplified object creation, especially for hierarchical object structures and dependencies. Unity is a general-purpose container for use in any type of Microsoft.NET Framework-based application. In addition, Unity is extensible. This release adds support for Windows Store apps as well as the registration by convention feature to ease the task of configuring Unity. Audience Requirements These reusable components and guidance are intended primarily for software developers and software architects. Contents of This Release Microsoft Unity 3 contains the following: Binaries. Ten Common Database Design Mistakes.

No list of mistakes is ever going to be exhaustive.

Ten Common Database Design Mistakes

People (myself included) do a lot of really stupid things, at times, in the name of “getting it done.” This list simply reflects the database design mistakes that are currently on my mind, or in some cases, constantly on my mind. I have done this topic two times before. If you’re interested in hearing the podcast version, visit Greg Low’s super-excellent SQL Down Under. I also presented a boiled down, ten-minute version at PASS for the Simple-Talk booth. Before I start with the list, let me be honest for a minute. So, the list: Five simple database design tips. A flawed database can affect all areas of your application, so getting the design right is of paramount importance.

Five simple database design tips

Check out Builder's five simple design tips, and share some of your own. If an enterprise’s data is its lifeblood, then the database design can be the most important part of an application. Volumes have been written on this topic, and entire college degrees have been built around it. However, as has been said time and time again here on Builder.com, there’s no teacher like experience. I’ll get the show started by listing my five favorite tips and giving a brief explanation of the rationale behind each one.

. #1: Use meaningful field namesI once worked on a project I inherited from another programmer who liked to name fields using the name of the onscreen control that displayed the data from that field. Unless you are using a system that restricts you to short field names, make them as descriptive as possible—within reason, of course. Visual C# : The Coders Lexicon. Martyr2's Mega Project Ideas List! - Share Your Project. Learn. Codecademy Labs.

Shaping up with Angular.js - Shaping up with Angular.js. AngularJS — Superheroic JavaScript MVW Framework. Bootstrap.