Tag | Design Posts

My Epiphany – Part 1 After reading Continuous Delivery, by Jez Humble and David Farley, I couldn’t help but think “wow! this is the key to becoming truly agile!”. I submit that may be a little overstated, but nonetheless by minor epiphany has grown into an outright passion for enabling rapid development AND delivery of small bite-sized pieces of applications. As we’re all well immersed into the Agile way these days (or, at least, we’re all trying!!), our common goal should be to provide customers ...
A new blog has appeared from the engineering team to have a two-way dialog with you about design choices, real-world data and usage, and new opportunities that are part of Windows 8. We showed you a preview of Windows 8 in June, demonstrating the user experience and providing an update on ARM SoC support. The next major event for Windows is our BUILD conference in September, where we will provide developers with more details about the full spectrum of tools and capabilities available to make the ...
The origin of the following is now lost in the mists of time but it bears repeating. A big party is being held to honor relational database systems & their impact on the modern society. Outside the venue, the host awaits the guests. The first limousine arrives and out steps Oracle followed by 4 people Host: Who have you brought along? Oracle: I have 4 DBA’s in tow. One to install me, one to design the databases, one to administer me and the other to justify the cost. A second limo arrives and ...
Recently i caught in a peculiar situation where i need to modify the check constraint expression to include more criteria to be validated through T-SQL. Although there is no declarative command or mechnism to modify the expression except dropping and recreating the check constraint. One exception is to use the Sql Management studio to modify it in design mode. But modifying using design mode was out of scope. The actual work was to alter or modify the defintion of a check constraint created with ...
If you want to write scalable applications with a high throughput you need to take care of good data structure design to make your application scale. If you want to read for example 200 MB data from a file and process it you can finish it in 5 or 30s. To be on the 5s side it is educational to see how fast you actually can get. To measure the raw disc performance I do read the file into a pre allocated byte array. [Test] public void ReadFile_Store_In_ByteArray() { var sw = Stopwatch.StartNew(); int ...
This post will focus upon introducing the concepts of AI algorithms, and is summerized from "Artificial Intelligence, A Modern Approach" – by Norvig and Russell - 3rd edition - http://aima.cs.berkeley.edu/ . Overview General Definition: study of agents that receive percepts from the environment and perform actions Weak AI hypothesis - assertion that software could simulate thought-like behavior - Can machines think – is considered an ill-defined question (does a submarine swim?). Strong AI hypothesis ...
Everyone has a journey. You start off young & stupid, and 2 decades later, you're closer to understanding the nature of reality. That’s one of the main goals in life, to seek knowledge (justified, true beliefs – pick any 2 J ). I must have read 5000 books in my life. From some of my readings it could be construed that reality computes itself, It from Bit. From others, it can be concluded that Entropy is decreased by increased rates of computation, and in the short span of human civilization, ...
In this Issue: Colin Eberhardt, Ollie Riches, Morten Nielsen(-2-), Mike Taulty, Den Delimarsky, Derik Whittaker, Oscar Agreda, Austin Andrews, Manas Patnaik, and Jesse Liberty(-2-). Above the Fold: Silverlight: "Conditional CellTemplete controls at Runtime in Silverlight DataGrid" Manas Patnaik WP7: "Implementing a Windows Phone 7 Conversation View Part Two" Colin Eberhardt Expression Design: "Tutorial: Creating an Icon" Austin Andrews Shoutouts: SilverlightShow has their top 5 from last week listed: ...
In this Issue: Kunal Chowdhury(-2-), Mike Talbot, Michael Washington, Davide Zordan, Pontus Wittenmark(-2-), WindowsPhoneGeek, Pete Brown, Dhananjay Kumar, Erno de Weerd, Jesse Liberty(-2-), Peter Torr, Derik Whittaker, and MIchael Crump. Above the Fold: Silverlight: "Creating a Silverlight 5 Helper for ASP.NET MVC3 Razor" Pete Brown WP7: "Page State–Step by Step" Jesse Liberty LightSwitch: "Using the Telerik Rich Text Editor In Visual Studio LightSwitch" Michael Washington Shoutouts: Laurent Bugnion ...
Just an update .... I'm currently working on the next presentation in the multi-part of a series on the Applied Design Patterns project called “AdventureWorksDesignPatterns” . It has been a busy summer both at work and home. Summer is "DIY" time at my house as I'm building a 16 by 20 foot raised deck. Work wise ..... Some of my team and I have been updating some of our "Demonstration" and "Proof Of Concept" applications to test out Microsoft's Windows Azure, SQL Azure and AppFabric. This is turning ...
Introduction One of the things that I recently had someone show me was using the “Copy Xaml” feature in Expression Design to create HTML5 SVG Path Data. I later found out that this was demoed at MIX11 in a session called HTML5 for Silverlight Developers. So with that said, I don’t take credit for discovering this, just documenting it for others to use. If you want to see the final product then click here. Go ahead and right click on the page and you will see it’s just path data (no image – just straight ...
Recently, I have found myself using Visual Studio LightSwitch more and more. And needless to say, it got me thinking about a strategy for LightSwitch in a SharePoint environment. Yes, the product positions itself as a tool to develop LOB apps in a rather fast fashion. There will be those that will deem it as a prototype tool, many RAD tools end up being that. But, LightSwitch had this “je ne sais quoi” about it. Actually, I feel I know what it is. If you are still with me, step into this thought ...
Our summer break is over and with the dog days of August we are getting back to setting up presentations of interest to Chicago area IT Architects. This month we will have Michael Kappel presenting on a topic we have been trying to get organized for a while. SOLID is an acronym for five object oriented design and development principles that everyone should know. Michael is going to give a platform agnostic discussion of these five key principles. Please join us by registering below. Register here ...
What differentiates a great developer from an average one? I've recently started a self-improvement campaign to further expand my skills as a developer and as my first task, before diving into anything new, I'm going back and making sure that I truly understand some of the basics, even though I use these things on a daily basis, I wanted to dive deeper and truly understand the "why's". One of my goals is to incorporate more organization into my solutions. One way to do this is by implementing design ...
Here is what I am currently working on, a mod called Niln for the PC game The Elder Scrolls: Oblivion. Niln is designed to be a new settlement on the outskirts of the Imperial City featuring around 10 new buildings with new NPCs all featuring brand new voice overs. Included are about 5 seperate quest lines for the player to complete. Here are some screen shots: There are two primary ways you can get information about the mod other than this blog. They are: http://nilnmod.wordpress.com http://www.moddb.com/mods/niln ...
Continuing my “From Soup to Nuts” series or sometimes referred to as “The Busy Developers Guide” series, I will take a look at the Surface 2.0 SDK recently released by Microsoft. Before you read ahead, here are the other articles in this series: The Busy Developers Guide to the Kinect SDK Beta. The Busy Developers Guide to Mango. What is it? With the Microsoft® Surface® 2.0 SDK, you can easily create applications to take advantage of the next generation Surface computing device or any Windows touch-enables ...
This blog will help you prepare for an upcoming release of SQL Azure that will offer support for Data Federation. While no date has been provided for this feature, I was able to test an early preview and compiled a few lessons learned that can be shared publicly. Note however that certain items could not be shared in this blog because they are considered NDA material; as a result, you should expect additional guidance in future posts when the public Beta will be made available. What is Data Federation? ...
Microsoft Expression Blend is a design tool that allows you to create fantastic user interfaces for such Windows based applications and Web applications. You can use Expression Blend with .NET Framework 3.0, 3.5, and 4.0 applications. What Blend can do for you One of the prime advantages of Expression Blend is its ability to separate code from design. Using Blend, designers can work independently on one set of deliverables for a project while developers can work on another. But this doesn’t mean ...
In this Issue: Colin Eberhardt, Kunal Chowdhury, WindowsPhoneGeek, Jesse Liberty(-2-), Xianzhong Zhu, John Papa, Jeff Prosise(-2-), Above the Fold: Silverlight: "Silverlight TV 78: Designing Tiles and Splash Screens for Windows Phone (Design Tips Mini Series)" John Papa WP7: "Implementing a Windows Phone 7 Conversation View" Colin Eberhardt Shoutouts: Kunal Chowdhury gave a "MVVM from Scratch using Silverlight" session at Pune User Group's (PUG) Monthly meet, and has posted his material: Recalling ...
I’ve been looking through the temp directories on my production machines and had realized some overlooked design points in a number of programs; namely the deletion of certain temp files. One situation that particularly caught my attention was some email attachments that should have been deleted. Even though the code was actively calling File.Delete() on some email attachments, they were not being deleted. An error log showed the program was throwing an exception when attempting to delete the files. ...
In this Issue: Rudi Grobler, Roy Dallal, Hannah Watkins, AfricanGeek, Kunal Chowdhury(-2-), Beth Massi, Mohamed Mosallem, Michael Crump, and Jesse Liberty. Above the Fold: Silverlight: "Communicating between two local Silverlight Applications" Michael Crump WP7: "Designing for Steam Achievements, a Windows Phone 7 app" Hannah Watkins LightSwitch: "Relating and Editing Data from Multiple Data Sources on the Same Screen" Beth Massi Shoutouts: My Friends at SilverlightShow have their top 5 posts from ...
Introduction One of the features that I’m surprised to see hardly no one talk about is “Communication Between Local Silverlight-Based Applications”. This is not new to Silverlight as it has been around since Silverlight 3. In other words, this will allow you to have two Silverlight applications running on the same PC talk to one another without using Web Services, etc. I originally was looking into this for a pet project that I was going to use with Kinect, but found this very valuable and decided ...
Design Patterns sounds like an Italian recipies. If you you tell your grand mother that you cooked Bolognese and Pasta for evening, she wouldn't ask you how, as the recipie is famous enough to make scence to everyone. She wouldn't expect a creamy pasta with chicken unless you decided to make her surprise. Same story when you coding. In fact the benefit of using Design Patterns is that when you say, for example, you have implemented Singleton, your work mate would have a picture of the code on spot ...
Ron Jeffries challenged me to show how Flow-Design and Event-Based Components can help software development. This is the problem he posed in the Software Craftsmanship discussion group: Solve bowling scoring. Here is the specification. Note that this is a simpler version than the one Bob Martin often uses. I'll take questions if you have any. Given a list of the rolls of a legal game of ten pin bowling, which you may assume are provided without error or omission, produce the total, final, score of ...
/* Style Definitions */ table.MsoNormalTable {mso-style-name:"Table Normal"; mso-tstyle-rowband-size:0; mso-tstyle-colband-size:0; mso-style-noshow:yes; mso-style-priority:99; mso-style-qformat:yes; mso-style-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin-top:0cm; mso-para-margin-right:0cm; mso-para-margin-bottom:10.0pt; mso-para-margin-left:0cm; line-height:115%; mso-pagination:widow-orphan; font-size:11.0pt; font-family:"Calibri","sans... mso-ascii-font-family:Calibri; mso-ascii-theme-font:minor-... ...
At http://content.usatoday.com... is a very disturbing article on SQL Injection Attacks and how they have been automated. This is very disturbing as it many that any public facing web site may be attacked. Anonymity is no protection (and never was). The bottom line no person or company may say that they are too insignificant to be attacked. So have you run FXCOP on your Dot net code? CA2100 catches ...
The default root bus driver, BusEnum, enumerate and active drivers one by one in synchronized manner. It is not only slowing the boot time but in the even if any of driver's init function (XXX_init) get hanged, the whole system won't boot at all. There is a sample of enhanced root bus driver, BusEnum2, on the http://msdn.microsoft.com/e... The page provides the sample code and the detail explanation of the design concept. With multi-threaded BusEnum2 on CE7 with SMP enabled ...
This is the presentation I did June 29, 2011 at PHILLYNJ.NET. It is the first in a multi-part of a series on the Applied Design Patterns. The solution files are working code with design pattern notes in the comment blocks. After the overview and higher level discussions on Enterprise Design Patterns I reviewed the low level Database Access Library of code. With walk-throughs of the the code and unint test. After that we went through the ProductPhotoConsoleTest Application that performed intergration ...
Binding file for WCF Adapter doesn't save the password no matter it is generated by "Add Generated Items..." wizard in Visual Studio or "Export Bindings..." in administration console. It is by design dut to the consideration of security, but it is very annoying especially when you import bindings which contain multiple WCF send ports. The way to aviod retyping password everytime after an import is to edit the binding file before import. Here is what needs to be done. 1. Find the following string: ...
An enterprise application is a software which fulfills 4 core quality attributes: Reliability Flexibility Reusability Maintainability Reliability is the ability of a system or component to perform its required functions under stated conditions for a specific period of time. Because there are no ways more than testing to make sure a system is reliability, we can exchange the term reliability with the term testability. Flexibility is the ability of changing a system's core features without violating ...
If you have been using Ajax control toolkits a lot (which I will skip the parts on where to download and how to configure it in Visual Studio 2010), you might have encountered some bugs or limitations of the controls, or rather, some weird behaviours. I would call them weird behaviours though. Recently, I've been working on a Ajax numeric updown control, which i remember clearly it was working fine without problems. In fact, I use 2 numeric updown control this time. So I went on to configure it to ...
I am really happy to announce that I have been accepted as a speaker at the 2011 PASS Conference in Seattle. The topic? It will be about SQL Azure scalability using shards, and the Data Federation feature of SQL Azure. I will also talk extensively about the community open-source sharding library Enzo SQL Shard (enzosqlshard.codeplex.com) and show how to make the most out of it. In general, the presentation will provide details about how to properly design an application for sharding, how to make ...
Recently, when I'm working on a ModalPopUp for my own custom alert with ModalPopUpExtender, I encountered an issue which myself can't explain. Here is what I did: First, I design a panel (pnlPopUp) with a title and message body labels, and then an OK button to close the pop up message. <asp:Panel ID="pnlPopUp" runat="server" BackColor="#FFFFCC" BorderStyle="Solid" BorderWidth="1px" CssClass="panel" Height="150px" style="position:absolute; top: 407px; left: 478px;" Width="300px"> <table class="style12" ...
Hello, my name is Alan Jackson. No, hot Him. The other guy. I am new to geekswithblogs.net, so a quick intro might be nice. I have been doing computing / IT functions for both public and private industry since my intern job of 1985. From teaching myself C/Unix in 1985 to forging a new path to VC++/VB/C# in 2005, I think that I have just about worked on every kind of software or design effort. I am passionate about making quality software, and constantly struggling to keep up. At my age, you either ...
I just have to write about design data because it makes my life so much easier. More than I could imaging before I started to use it. There are two ways for creating design data; Either you let Expression Blend do it for you or you just write your own in visual studio. Basically it is a xml file representing your model. Creating The fast way: - Right click a view (or any xaml-file) in your project and choose "Open in Expresion Blend" - Click here: - Choose "Create sample data from class" and then ...
It is no big news that whatever the architecture you plan and implement, soon or later you'll start to see some code "bad smells". In the early phase of implementation you might do some team training and explain how your developer team should write code using the planned architecture and design (patterns). Despite this effort, you cannot expect people to just follow your implementation recommendations every time. At first, you might consider using gated-checkins or CI builds with VS code analysis. ...
In the month of May we met again for the .NET Usergroup, and I presented some introductory material into software design and architecture. The talk was aimed at looking into new ways of software design and managing of complex software components by using domain driven approach. I talked about best practices, coding patterns and DDD, TDD and DataObjects.NET (http://dataobjects.net). I advocated for best practices presented by the best practices team http://msdn.microsoft.com/e... ...
I recently purchased a sewing machine from the late 90's--quite a good machine: solidly constructed, well engineered. Does everything I need it to do and then some. In addition to sewing, the machine is also capable of computerized embroidery. I didn't buy it for the embroidery features, but, hey, since it has the features, I thought, "hmmm, might be interesting to check that out". The computer on the sewing machine reads the embroidery design off a special memory card. In today's parlance, this ...
In this Issue: Michael Washington, Teppo Kotirinta, Loek van den Ouweland, Daniel Vaughan, Adam Kinney, Peter Torr, Morten Nielsen, John Garland, Jaime Rodriguez(-2-), Jesse Liberty(-2-), and Xpert360. Above the Fold: Silverlight: "Debugging Data Bindings in XAML with Silverlight 4" Xpert360 WP7: "Windows Phone 7 for Designers — Cheat Sheet" Teppo Kotirinta LightSwitch: "LightSwitch Concurrency Checking" Michael Washington Shoutouts: Timmy Kokke gave a presentation at DevDays in the Netherlands and ...
In this Issue: Kunal Chowdhury(-2-), Nitya Ravi, Beth Massi, Xpert360, Andrea Boschin, WindowsPhoneGeek, Jesse Liberty(-2-), and John Papa. Above the Fold: Silverlight: "Managing Resources with Reactive Extensions" Jesse Liberty WP7: "New Addition to Windows Phone Quickstarts- Pivot and Panorama Controls" Nitya Ravi Jesse Liberty Shoutouts: Jeremy Likness has his materials posted for his CodeStock Presentation: Silverlight 5 for Line of Business Applications Koen Zwikstra has an update to his excellent ...
I was chatting the other day with someone about adapters for connecting to LOB applications and an interesting point came up which I thought id share my thoughts on. The scenarios is that if you have a line of business application for arguments sake lets say its dynamics CRM which has a BizTalk adapter available but also has an existing web service API (or some other protocol based API). Which should you use for integration? In my opinion the answer to this is the usual "it depends" answer. I think ...
Yesterday, at the Wall Street Journal’s “All Things D” conference, Microsoft’s President of Windows and Windows Live, Steven Sinofsky, showed the world a preview of Windows 8 (officially, that’s the code name). And in a YouTube video, Jensen Harris, Director of Program Management for Windows User Experience, provides his own detailed Windows 8 demo that you can check out right now. What both men showed us was an early preview of a next next version of Windows that looks a lot like Windows Phone 7, ...
I spent some time today summarising the new features in the Windows Azure AppFabric May CTP for SolidSoft consultants. Microsoft released the CTP a couple of weeks ago and has a second CTP coming out later this month. I might as well publish this here, although it has been widely blogged on already. There is nothing that you can’t glean from reading the release documents, but hopefully it will serve as a shorter summary. The May CTP is all about the AppFabric Service Bus. The bus has been extended ...
Overview of the “AdventureWorksDesignPatterns” Project (I’ll be posting on this series here. It will be based on the presentations I’m creating for the PhillyNJ.NET user group a subgroup of PhillyDotNet) This is the start of a long series on “applied design patterns”. The intent to demonstrate design patterns in real code. I am not endorsing or “pushing” any specific methodologies. But I will be stressing various points of views many of which are part of various methodologies you may have heard of. ...
GIF is a file format that should not really be used for prepress, it is far more suited for web design or to exchange images through e-mail or newsgroups. Unfortunately, GIF images keep popping up in pages made by amateurs (not to mention books about the internet ) so it is worthwhile to know a bit about the format. You can also use this description to explain to people why GIF is not suited for prepress use. General information GIF is the abbreviation of Graphics Interchange Format. It was originally ...
DCS stands for Desktop Color Separation. It is a file format that is based on the EPS file format. In fact, you could regard DCS files as a collection of EPS files. DCS files are mainly used to exchange bitmap images between prepress applications. Occasionally DCS files are also used for vector data or text. The main advantage of DCS over its parent EPS file format is that it adds a kind of OPI-functionality to the file format. Since DCS files contain separate EPS-files for each plate, an application ...
EPS or Encapsulated PostScript is a standard graphics file format for exchanging images, drawings or even layouts of complete pages. An EPS file internally contains a description of such an object or layout using the PostScript page description language. The purpose of an EPS file is to be included in other pages. Sometimes EPS files are called EPSF files. EPSF simply stands for Encapsulated PostScript Format. EPS files have the extension .eps or .epsf. This page discusses: the basics of the EPS ...
Bleed refers to objects that extend beyond the edge of the printed page. This page tells you why bleed is needed, how much is needed and how to fix issues with bleed. For an example of the use of bleed, look at the image below. The picture of the monkey and the gray rectangle go beyond the edge of the page. They ‘bleed off’ the edge of the paper. Full bleed means that an image extends beyond the edge of the page on all four sides. Why do you need to add bleed? 1. Once a job has been printed, the ...
“Design Patterns 100? is a prerequisite for .NET Developers. (Part 5 – Excerpts from July 2010 – PhillyNJ.NET Presentation) Continuing our discussion from Part-4 we ask. What are the “Gang of Four” (GoF) Behavioral Patterns and where can we find them in the .NET Framework? Chain of Responsibility Pattern – A way of passing a request between a chain of objects Command Pattern – Encapsulate a command request as an object Interpreter Pattern – A way to include language elements in a program Iterator ...
“Design Patterns 100? is a prerequisite for .NET Developers. (Part 4 – Excerpts from July 2010 – PhillyNJ.NET Presentation) Continuing our discussion from Part-3 we ask. What are the “Gang of Four” (GoF) Structural Patterns and where can we find them in the .NET Framework? Let’s look at a list of the Strutural Patterns as defined by the GoF. Adapter Pattern – is used to match interfaces of different classes Bridge Pattern – is used to separate an object’s interface from its implementation Composite ...