Tag | Programming Posts

Chad Campbell (no relation) called me out in his Meme blog post. I saw his post earlier this week, and have been waiting until I had some time, so here goes... How old were you when you first started programming? I turned my first line of code when I was a Sophomore in college in the fall of 1967, so that would make me 19 at the time. I think I got a C in the Fortran IV class because I just couldn't "get it". This was a large class and programs were done on punch cards batched overnight to some huge ...
I am going to the Tampa one this Friday: DevFish (Joe Healy) wrote: Mobility Roadshow for .NET CF - east coast usa Posted on 5/1/2008 12:13:46 PM Dani Diaz, Glen Gordon, and myself(Joe Healy) are making an East Coast run of the Mobility Roadshow. We'll be teaching about the .NET Compact Framework 3.5 and using VS2008 to develop Windows Mobile SmartClient Applications. So join us for a full day of programming for Windows Mobile. One note, lots of folks like to sign up for the classes with fake emails ...
Anyone know any good programming or game development podcasts? Lately at work I've been listening to the Insomniac Games Full Moon Show and Game Programmers in Training. Both are good but I haven't gotten any 'new' versions of the podcast so I'm constantly listening to old podcasts which sucks. I'm too lazy to hook up the iPod to my computer at home to download new ones and at work external storage devices are blocked (although I can charge it). Time to listen to more podcasts ...
Sitting here watching Adrian Wible run the eXtreme Programming Lego game. ~ 40 people have been split into 6 groups, each with a number of cards describing customer wishes and a pile of legos. Pictures at: http://geekswithblogs.net/d... Video : Process shortened for the 1.5 hr meeting. The goal is three iterations. Step 1: Estimation: 10 min - Relative difficulty Step 2: Prioritization: 5 min. - What is the most important Step 3: Signup: 5 min - What to do for the 1st iteration ...
The main concern of software cells is how business logic is distributed. But as I write "business logic" I don´t really feel comfortable. The term sounds as if software cells were just a tool to help modelling business applications - as opposed to games or compilers or infrastructure. But right to the contrary: software cells claim to be a universal meta model for software. You can model any software with them. That´s why I don´t like to use the term "business logic". I prefer the neutral and unqualified ...
· Everything You Wanted To Know About MVC and MVP But Were Afraid To Ask · Functional Programming in C# 3.0: How Map/Reduce/Filter can Rock your World · MbUnit 2.4 - Avoiding Crappy Data Resulted From The Test · Managed Extensibility Framework · IronRuby at Tech Ed 2008 · Velocity: A Distributed In-Memory Cache from Microsoft · Must See WF/WCF Influencer MSDN Webcasts · WCF Webcast Series (Old but good) · Using CSS to Fix Anything: 20+ Common Bugs and Fixes (Found by Mohamed Tayseer) · A jQuery Client ...
Attendee Registration is now open for Codestock! www.codestock.org What is Codestock? Well, it's a one day conference, full of top notch programmers talking about the latest technology. There's no marketing presentations, or in your face propaganda. Ok, so what's the deal? The bad news: CodeStock costs $25 to attend. It doesn't cover a hotel, or even gas to get the the conference. It does include a lunch, a t-shirt, and a day of amazing sessions by awesome speakers. Personally, I wouldn't pay it. ...
I wondered a while ago where the "Iron" names came from. According to a NxtGenUG interview with Michael Foord, John Lam says that IRON can be reverse-engineered to stand for "It Runs On .Net", which is cool, but I finally found the real story in an interview on the "Port 25: The Open Source Community at Microsoft" site, in which IronPython creator Jim Hugunin says: I'll give you the story, but I'll give you the short version 'cause it's not very good. At the time, I had a consulting company called ...
The good folks at SlickEdit® hooked me up with a review copy of SlickEdit 2008 Professional, and I gotta tell ya I was pretty surprised. I didn't really know what to expect. I guess I just expected a less feature-rich Visual Studio, but that's definitely not what I found. First of all, I wouldn't consider SlickEdit to be a competitor to Visual Studio. It's more of a multi-purpose polyglot programmer's editor on steroids. First, on install, it asks about your editing environment emulation. This is ...
Mike Eaton, a member of my twitter tribe, is trying to get to know his tweeps better. As part of that, he asks a few questions to get a better understanding of our background. I figured that rather than answer in his comments, I'll post it here instead. Then, I got tagged by Jeff Brand... So the pressure was on!! How old were you when you started programming? Ten years old the first time. 23 the second time. How did you get started in programming? My parents bought a Commodore Vic 20 (they couldn't ...
The basic building blocks of software when you start architecting it are... well, not classes, and no UML packets either. I believe it should be something more high level and general. Classes are too fine grained to be used as architectural modelling elements. No chip architect would start planning a new processor by arranging single transistors, and no building architect would plan a house by thinking about where to place each brick: Such a detailed view of a house might be nice for home owners ...
This time, I'm talking with Beth Massi of the Visual Basic Dev Center (http://msdn.com/vbasic/) and (http://msdn.com/vsto/) at Microsoft. You can also find Beth's blog at http://blogs.msdn.com/bethm... In case you can't see it, the beer in her hand is a Victoria Bitter (get it? VB!) 1. Where are you from? I was born in San Pedro, CA (Southern California) but moved up to Northern California for college. I’ve been living primarily in the San Francisco Bay Area ever since. 2. Who do you work for? ...
File this one under the "yet another useless error" category. I was trying to publish a form that I prevously had succesfully published to my development VPC. Every time I tried to publish it would say "the following url is not valid" when I entered the path to the sharepoint site. Doing the standard search for the error yielded several potential solutions ranging from re-installing .NET, make sure there's a site at the root "/" and make sure there's a SSP. Additional searching yielded the other ...
It's been over two weeks since my last post.. Life's been hectic... 'nuff said. As I've been researching different languages/methodologies/sof... one thing has begun to bubble up over and over again: do we NEED another Whatever Oriented Development/Design/Programm... thing? Let me just list a few of the ones I have encountered in the last month: Object Oriented Development (ok, I've been doing that for awhile, but thought I'd throw it on the list) Aspect Oriented Programming Service ...
SNOOP is a fantastic tool that provides the ability to change the value of any UI property at run time. A Request Splitting attack abuses flaws in asyncronous requests and allows to inject arbitrary headers when an Http request is built, with reference to AOP using System.Reflection.Emit. The key difference between processes and threads is that processes are fully isolated from each other while threads share (heap) memory with other threads running in the same application. A blocked thread doesn't ...
Jeff Blankenburg called me out with his Software Development Meme. It's actually a funny thing that he did because I have a much different background than much of the industry. My undergrad is actually English with a minor in Drama and a minor in Communications. When others are talking about programming outside of the box, I ask the really simple question of "What box? - nobody told me about a box..." More on my blog at Software Development Meme ...
I suppose I was naive in thinking that once I received my Microsoft MVP award, I could breathe a bit. But we've had sooo much Developer Community activity, I haven't had a chance to breathe, much less blog. I still haven't had an opportunity to blog about the MVP Summit! Needless to say, the MVP Summit was a blast (other than having a digestive track illness, where I missed the last day's keynotes). The best thing about the Summit was the ability to meet and talk directly with the product teams. ...
I am curious to know what everyone is researching into. Below is a list of items that I am actively discussing, reading, or trying to use. Immutable Objects: Trying to write an application where the domain objects are immutable Object Oriented Databases: Trying to write a small sample app with db4o Non-Relational Databases: Discussing where these might be a good fit memcached: Discussing where this tool might be a good fit TypeMock: How does this tool work, and when would I use it over Rhino.Mocks ...
That's it, InsideGamer has gotta change. Considering my personal site with my resume and portfolio gets about 10 times the number of hits my main page does, I figure I should change the main page. I'm going to try to update this blog more with what I do and some code snippets for ASP .NET web programming hopefully. So, what to expect? Feature list: Game Development Tutorials - Submit your tutorials, we'll review them and build a quiz based on the lesson. Quizzes - Take quizzes on the tutorials and ...
Imagine that every project in codeplex had to be decomposed into codeplex hosted unit tested functions which complied to some xunit standard - that would go along way towards code reuse, and move away from reinventing the wheel. worked on 2 Silverlight projects recently - see screenshots: and Last 3 months learned the following: NET Components revise – reread Yuval Loweys book – revised best mechanism for interface usage, delegates (circa .NET Framework 2.0), threading. The Interface stuff leads ...
Those who follow my post may remember that I discussed it a while ago that resource allocation, especially when time and shared resources are involved is basically a constraint satisfaction problem. In contrast, web services are the “new way” to call distributed objects remotely. Some believe that XAML carves out a new role in the software development process, one that straddles the line between designer and developer; namely an integrator. Remember that the philosophy of Rhapsody has always been ...
Hello World!!! (again; I have a Myspace blog somewhere, along with an old unmaintained LiveJournal. Interested? It is political in nature, and the Livejournal I have is from an old position I took on a lot of things: positions I would never dare think now. Let me know if you want a link.) So I start another blog, on another server, someplace on the vast universe of the World Wide Web. What for? First, a bit about me. My name is Joeseph Smith. You may be saying, "Oh no, not another one!" Actually, ...
If anything, the Agile Austin Open Space conference has reminded me that developing a software product is a leap of faith. With a new project, there are always unknowns, but with a good team that is capable of estimating with a good degree of accuracy and assesing risk well and tackling the riskiest features first, virtually anything is possible. As Agile practiioners, either from the Product Ownership ilk or the Developer ilk, we've got to trust but verify. We know that the people we work with are ...
I began the third and final day of JAOO Brisbane by arriving late. I had left my name tag at home so I had to go back for it. I was in time for Robert Martin's keynote Clean Code. Uncle Bob is well known for his enthusiastic, entertaining presentation style. I greatly enjoyed his talk, even though it was really just a back-to-basics on writing code. He did a tutorial on advanced design that I missed, but I'm sure it would have been excellent. Next was Jim Webber speaking about distributed programming ...
There's a project and it needs your input. There doesn't seem to be a "Geekus Con Livus, Agile Evangelist Reading List" and there needs to be. Also, about a year ago I had a thought for a way for a group of people to quickly and easily generate a reading list. I call it "The Reading List Game"(tm) [Tell your friends you heard it from Malcolm] Hmmmm, maybe these 2 ideas could be put together and I wouldn't have to do any real work, while at the same time, letting a ton of people show everyone else ...
The conference proper began with a faux improvised discussion about the conference. There were some attempts at humour, which I appreciate, but they struggled. Eric Meijer from Microsoft had the first keynote. His central theme was that imperative OO programming is fatally flawed and we should all embrace functional programming. His presentation was entertaining and thought provoking. The next talk I chose to attend was by Dave Thomas (not the Pragmattic Dave Thomas) on the topic of next generation ...
Our shop has been looking for a way to simplify the interaction between our domain layer and data layer. The data layer uses typed datasets for all its operations. When it retrieves data, it populates a dataset; when it stores data, it checks the DataRowState of all rows in the dataset, and calls the appropriate stored procedure to insert, update, or delete the data. The domain layer then uses dataset elements as the in-memory backing store for properties and collections. A collection typically uses ...
I wrote this series of data entry SharePoint web parts using Infragistics' UltraWebGrid in C#. Afterwards, the client proclaimed they really wanted everything in VB so I used one of those online converters and it didn't take hardly any time at all. The project was created with Ted Pattison's STSDEV available on CodePlex. (I highly recommend this tool ... thanks to my buddy Brendon Schwartz, SharePoint MVP for pointing me to it.) Unfortunately, the version of STSDEV I used only created C# projects ...
I've been trying to catch up on my reading and came across this post by Fredrik Normén where he raises the question about returning null or using the Null Object pattern. Interestingly enough, last month while I was in Seattle for the 2008 MVP Summit I had a very similar discussion. The end result of that discussion was that null objects, and nullability in general, ideally should be treated as a "first-class" citizen in the CLR. This means that if you try to execute a method on a null object you ...
Many applications need to integrate data from multiple sites into a combined answer. As discussed, the modular architecture of the IIS7 and ASP.NET integrated request processing pipeline allows you to plug your own custom feature modules into the integrated pipeline to add support for new custom processing capabilities (Cross-Cutting Phenomena). looking from a philosophical point of view, what functions are computable by a computer? Logic variables pioneered by concurrent logic and concurrent constraint ...
Hi there, people. My first post is inspired by my new experience with QNX and generally with programming processes and threads using POSIX standards. The idea is simple: it uses 3 processes, 2 anonymous pipes and a mutex; in the child processes you calculate the sum and respectively the product of the given numbers and print the results in a file, controlling the access with the mutex. So the child process 1 does 1+...+n and the child process 2 does n! Everything goes perfect except destroying the ...
Some time ago I wrote that there is a wave of HCL events sweeping through Poland. Today I'm happy to announce that we opened registration for the Code Camp in Kraków. This is the first such conference organized by the members of KGD UG for the .NET developer community. We will meet on June 7th for the chance to listen to sessions from five great speakers: The world has changed… What are the dilemmas of designing software solutions in the year 2008? - Tadeusz Golonka Reach End-Users With Next Generation ...
The solution technique for the finite-element problem is based on a domain decomposition . talking a little out of this context, equality is not always a function put a predicate of pairs of numbers i.e. a property of pairs of numbers. Technically, XAML is not a language itself but a .NET serialization and initialization language. Software Clustering has been used in the past, mainly as an aid in the reverse engineering process of software (Runtime Engine of Immutable Builders). Understanding is ...
HTTP methods are not often thought about when coding Asp.net webforms applications. Links are GETs, buttons are POSTs and it all happens automatically. With Asp.NET MVC, and other MVC frameworks like Rails, the HTTP method used is more obvious and developers are begining to care about which they use. The problem is that GET requests tell visitors to your site, including search engines, client-side web optimizers and other automatic tools, that it is safe to make the request. Which is a problem if ...
Finally! I'm back to post about finishing school and such. Finals were fine except I'm pretty sure my Calc grade is going to suck. As long as I pass... The reason I haven't been posting to this blog every 5 seconds is that....I've become addicted to WoW unfortunately. I'm going to play it during the summer but hopefully I'll also get programming things done. Related to programming things, since I have my desktop back I took Friday to organize my folders, clear up space, (un)install items, and just ...
Many BSPs include a config.bib that is configured to create an nk.bin, but not an nk.nb0. The nk.bin is handy during development, or for upgrading in the field. But it isn't so useful for programming your board using a JTAG tool. Let's look at what the difference is between the two nk files are and how to create an nk.nb0. An nk.bin is a set of records. Each record includes an address, length and data to be stored at the address. By using these records, the file size can often be reduced which makes ...
The web service limitations, along with the dynamic nature of most object graphs make the web service support provided by .NET Remoting inadequate for developing smart clients with the same capabilities as full Remoting clients. Expressions use VB.NET syntax and are technically very similar to Excel formulas. In Java, inner classes now come in two main avours, static (a term I don't particularly like) and non-static, see Object-Relational Mapping in accordance with Formal Specification. Object ...
****Please Note***********************... This is not a formal announcement, nor is this a sure thing. We are in the "gauging interest and exploring feasability" stage. Code Camp Vegas may or may not happen in 2009... or ever. Please let us know your thoughts. ***************************... After scouring the area for a .NET user group and coming up empty, a couple of cohorts and myself are attempting to organize the first ever MidWest Code ...
Here's a tip that will save you about 7 milliseconds over the course of your programming career...

In Visual Studio, if you double-click to the left of the opening quote character (between the quote and the preceding character), the IDE will select the entire string, including the opening and closing quote characters.
It is difficult to introduce both novice and experienced procedural programmers to the anthropomorphic perspective necessary for object-oriented design. Wherever possible we wish to illustrate the use of functional programming in the web domain. In this domain, expressions that involve mirrors of HTML and XML elements are the key constituents. We make new members part of the team through close training and interaction. Expressions use VB.NET syntax and are technically very similar to Excel formulas, ...
Recently, my cubie was testing one of our web apps. She got the following: She wrote up the error and submitted it. It was for a currency amount, and she had put a zero in it. The defect was returned as "works as designed" as the field should never get a zero in it, meaning that the developer decided that a user would never put a zero. He stated it should be closed. She asked me about it. I explained that: 1) A user should almost never see an ugly error like this. It is poor programming that would ...
Dan Waters , Academic Relations Manager from Microsoft Corporation, took the time out of his busy schedule to drive to Orlando today to speak to my XNA Programming Students about the new XNA Game Development Framework 3.0 that enables you to program games for the ZUNE. My students have been learning C# and XNA for this semester and are finishing up on their game development. Dan had the opportunity to answer student questions on Game State and he viewed the students games and made comments on each ...
I seen this posted on my favorite programming community </dream.in.code> and just had to post it here on my blog. So, which category do you fall into? I think Im a mix of a few of these: The Ninja, The Paratrooper, and the Vince Neal (minus the partying and hangovers) #1: Gandalf This programmer type looks like a short-list candidate to play Gandalf in The Lord of the Rings. He (or even she!) has a beard halfway to his knees, a goofy looking hat, and may wear a cape or a cloak in the winter. ...
This blog post is inspired by a project I've been working on recently. One of the project requirements is writing all the stored procedures and user-defined functions in CLR integration. Although I don't intent to give you the overview of CLR integration in this article, it's not a bad idea to go over the benefits you get from using CLR integration. Stored procedures and user-defined functions/types/aggregates authored in managed code compiles into native code prior to execution, and you can achieve ...
For the past couple of days I have been working on a new website called www.RefactorCode.com. The purpose of the website is that user's can submit their code and other users can help to improve the existing code hence, refactoring the code. Below you can read the "About" section of the RefactorCode website. Refactoring is a technique to change the existing ugly code and make it beautiful without changing the workings of the code. In short, making the code suck less! Our website RefactorCode is developed ...
HOORAY!  I got the job at this programming place for the summer!  I'll be making almost double the pay I would be making at where I normally work.  Although I do have to commute about 30 min each way to get there but it should be worth it.  I'll be working with Visual Basic .NET and I believe ASP although I'm not positive.

Oh, and GTA4 still rocks.
This post was originally written in May 2008... It probably took longer to pick a title for this post than it will take to write the actual post...... This post is part of a multi-part series on developing Agile Software (see What Is Agile Software ). In this installment we will examine some of the issues that can help that class definitions are stable and reusable. Experience has repeatedly shown that two primary factors had severe negative impact in reaching this goal: Feature Creep (constantly ...
Two of my latest books just hit the market - Professional C# 2008 and Professional Visual Basic 2008, both from Wrox. The back cover of the C# book is as follows: Updated for .NET 3.5 and Visual Studio® 2008, this book is the ultimate guide to C# 2008 and its environment. Beginning with a look into the architecture and methodology of .NET, the team of superlative authors explains why the C# language cannot be viewed in isolation, but rather, must be considered in parallel with the .NET Framework. ...
Well, my advanced programming students finally have a 2d shooter game that they have almost completed. It's been fun watching the development of their games. Some students are tweaking their sprite graphic, some are adding different sounds. Dan Waters from Microsoft will be coming to speak to my students on Tuesday about the new XNA framework that will allow you to create a game for a Zune. Dan has a great blog on XNA and I used his resources during the semester. I have been experiencing deploying ...
What tech books are you currently reading? The rules: 1) Don't count books you're being compensated to read. (paid reviews) 2) Don't count books that haven't come out yet (i.e. tech editing, or writing yourself) 3) List the author (optional) so others can find it. For example, I'm reading: 1. Doing Objects in VB2005 by Deborah Kurata 2. Exploiting Online Games by Greg Hoglund & Gary McGraw 3. Programming SuDoKu by Wei-Meng Lee ...