# Mark Pearl

## January 2012 Entries

##### XAML Oddities – Inline C# code in a XAML file (aka UTCC approach)
Something I came across that I never knew was possible was that you can put c# code inline in a XAML file in a WPF app (I assume this would work in Silverlight as well). Not that you would ever want to do this, but sometimes you just need those geek points! Make a WPF application, in the XAML file put the following… <Grid> <Button x:Name="button1" Click="button1_click">te... <x:Code> void button1_click(object sender, RoutedEventArgs e) { button1.Content = "Inline Code ......
##### A compelling merging model for Git and other DSCS

It has been a while now since I moved over to Git. So far out of all the SCS’s that I have used, this has been the least painful and the most enjoyable. For those of you looking for a team approach for using Git, I suggest you read the following post…

http://nvie.com/posts/a-successful-git-branching-model/

##### Log4Net basics with a Console Application (c#)
If you are looking for a great introductory article on Log4Net, I would recommend reading the Log4Net tutorial by Tim Corey. Tim goes through quite a bit, I just want to cover the very bare minimum for getting log4net to work in a console application. Step 0 – Reference Log4Net Using NuGet this is really easy – but no matter how you do it, you should end up with a reference to log4net in your project. Step 1 – Add an entry to AssemblyInfo.cs Add the assembly for the log4net.config to AssemblyInfo.cs[assembly: ......
##### Number Systems – Chap 19
The Decimal & Binary System and Converting between Binary and Decimal I am assuming that a basic knowledge of binary and decimal notation is known, if you are unfamiliar with it, read up on binary and decimal The decimal system has a base or radix of 10 – this means that each digit in the number is multiplied by 10 raised to a power corresponding to that digits position. The same principles holds for decimal fractions but negative powers of 10 are used A number with both an integer and fractional ......

Posted On Monday, January 30, 2012 6:35 AM | Comments (0) |

##### Organization & Architecture UNISA Studies – Chap 1
Organization & Architecture Computer architecture – those attributes of a system visible to a programmer or, put another way, those attributes that have a direct impact on the logical execution of a program. Computer organization – the operational units and their interconnections that realize the architectural specifications Examples of computer architectural attributes include… Instruction set The number of bits used to represent various data types I/O mechanisms and techniques for addressing ......
##### ESVP Activity for Retrospectives
I have recently been reading “Agile Retrospectives – making good teams great by Esther Derby and Diana Larsen”. The book so far is a fairly easy read, and one I would recommend to anyone wanting to do retrospectives. One of the activities to set the stage for a retrospective mentioned in the book is the ESVP Activity (Explorer, Shopper, Vacationer & Prisoner).The purpose of the activity is to help people focus on the work of the retrospective and to understand people’s attitudes to the retrospective. ......
##### Computer Networks UNISA - Chap 4 – Introduction to TCP/IP
After reading this chapter you should be able to Identify and explain the functions of the core TCP/IP protocols Explain how the TCP/IP protocols correlate to layers of the OSI model Discuss addressing schemes for TCP/IP in IPv4 and IPv6 Describe the purpose and implementation of DNS and DHCP Identify the well-known ports for key TCP/IP services Describe common Application layer TCP/IP protocols Characteristics of TCP/IP (Transmission Control Protocol / Internet Protocol) TCP/IP is a suite of specialized ......

Posted On Monday, January 23, 2012 6:30 AM | Comments (0) |

##### Computer Networks UNISA - Chap 7 – WANS and Remote Connectivity
After reading this you should be able to Identify a variety of uses for WANs Explain different WAN topologies, including their advantages and disadvantages Compare the characteristics of WAN technologies, including their switching type, throughput, media, security, and reliability Describe several WAN transmission and connection methods, including PSTN, ISDN, T-carriers, DSL, broadband cable, ATM and SONET Describe multiple methods for remotely connecting to a network WAN Essentials A WAN is a network ......

Posted On Monday, January 23, 2012 6:27 AM | Comments (0) |

##### Our evolution of story cards
I thought it would be interesting to blog out the evolution of our story cards. Several months ago I began work at a new organization that was implementing a variation of scrum. The used the typical post-it notes for stories. While the post-it notes were serving their purpose, there were a few area’s that we were having issues with: Some of the issues included the following: The post-it notes did not have a great stick quality. This meant that anything older than a few weeks was falling by the wayside ......
##### Computer Networks UNISA - Chap 6 – Network Hardware
After reading this you should be able to Identify the functions of LAN connectivity hardware Install, configure, and differentiate between network devices such as NAIC’s, hubs, bridges, switches, routers, and gateways Explain the advanced features of a switch and understand popular switching techniques, including VLAN management Explain the purposes and properties of routing Describe common IPv4 and IPv6 routing protocols NICs (Network Interface Cards) Are connectivity devices that enable a workstation, ......
##### Computer Networks UNISA - Chap 5 – Topologies and Ethernet Standards
After reading this you should be able to Describe the basic and hybrid LAN physical topologies, and their uses, advantages, and disadvantages Describe the backbone structures that form the foundation for most LANs Understand the transmission methods underlying Ethernet networks Compare the different types of switching used in data transmission Simple Physical Topologies Physical topology is The physical layout or pattern of the nodes on a network It depicts a network in broad scope (does not specify ......
##### Computer Networks UNISA - Chap 3 – Transmission Basics and Networking Media
After reading this you should be able to Explain basic data transmission concepts, including full duplexing, attenuation, latency, and noise Describe the physical characteristics of coaxial cable, STP, UTP, and fiber-optic media Compare the benefits and limitations of different networking media Explain the principles behind and uses for serial connector cables Identify wiring standards and the best practices for cabling buildings and work areas Transmission Basics Transit – means to issue signals ......

Posted On Friday, January 13, 2012 6:31 AM | Comments (0) |

##### Scrum (2012) – Should I fire my testers and replace them with developers?
If you are familiar with scrum – then I recommend that you give the scrum guide a read. This documents the scrum framework and is maintained by Scrum’s creators, Ken Schwaber and Jeff Sutherland. While reading through the latest revision of it (on page 6) it has a section that specifies the characteristics of the development team. One sentence that stood out was the following “Scrum recognizes no titles for Development Team members other than Developer, regardless of the work being performed by the ......
##### Computer Networks UNISA – Chap 2 - Networking Standards and the OSI Models
After reading this chapter you should be able to Identify organizations that set standards for networking Describe the purpose of the OSI model and each of its layers Explain specific functions belonging to each OSI model layer Understand how two network nodes communicate through the OSI model Discuss the structure and purpose of data packets and frames Describe the two types of addressing covered by the OSI model Networking Standards Organizations What are standards? Standards are documented agreements ......
##### 5 of the most useful unknown Windows Shortcuts
In my quest to improve speed with developing software I have been investigating how to put as much as possible to the keyboard. This has opened a world of shortcuts. Today I thought I would blog about the top 5 shortcuts that I didn’t know about before that I have found useful. These are shortcuts that I haven’t seen to many people use, see how many you know… 1… Selects the Address Bar Alt + D Most useful when you are in a Web Browser and want to change the url address. 2… Move active window to other ......

Posted On Friday, January 6, 2012 12:41 PM | Comments (2) |

##### Why my CI server gives me a false sense of security
I live in a world of continuous integration servers, extensive unit, integration & regression tests and a whole bunch of other checks and balances to insure the quality of the systems we develop. I live in this world because I know things can go wrong and I want to have a safety net to make sure I am not going to mess things up. I didn’t always have these checks in place – I remember the cowboy days where we would click build, if it compiled we were good to go and would release to the world. ......
##### New Resharper Code Style Sharing in v6.1 Features.
I noticed this today, since I have updated Resharper to v6.1. In the past you could specify a single file for code style sharing. You are now presented with the following message. If you follow the menu options you will now see the following… From what it looks like, you can have your personal code settings, and then team settings and set the order of priorities ......
##### Start Here!™ Learn Microsoft® Visual C#® 2010 by John Paul Mueller; O'Reilly Media
I recently accepted to do a review of “The Learn Microsoft Visual C# book 2010” by John Paul Mueller. I was in two minds on whether I really wanted to read this book – in it’s description it says it is targeting fundamentals of modern programming with Visual C#, but I wasn’t sure how fundamental it would be and since I have been working with C# for a while now, I wasn’t sure if it would be worth my while. After going through a few of the chapters of the book I would say this really targets very basic ......

Posted On Monday, January 2, 2012 3:26 PM | Comments (0) |