Tag | Programming Posts

I found a blog post by Davy Brion (one of my favorite bloggers on the ‘net) that spoke about the .NET world’s current state. He mentioned that Microsoft’s products (such as WebMatrix and LightSwitch) are mainly geared toward what he calls “low-end” developers. At the same time, Microsoft is backing off on other products that more experienced and seasoned programmers like, such as IronRuby, IronPython, and the DLR (Dynamic Language Runtime). I certainly agree with some of his points. Applications ...
This post is about using the AsyncOperationService with .NET Asynchronous Pattern. Warning: this is another article that is likely to give you a headache. Its designed to provide full details of how things work. If you don’t want the headache then, skim the article and copy’n’paste the code from the “FromAsyncPattern” box below (it assumes you already have AsyncOperationService code). Subsequent articles will outline more real world uses which may (and I say “may” very tentatively) not be so headache ...
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, ...
This is my first post here, and I’m really happy to be a part of this thriving community! I would like to use this post as an introduction to myself. I’m Ahmed Mohamed an Egyptian Mechanical Power Engineering student, and I’m really interested in programming, especially 2D games with Microsoft XNA. I’ve started programming 6 years ago using Visual Basic 6 as a hobby, then learned HTML, .NET, C# and C++. Slowly after getting a good grip of C#, I was very interested in XNA, and soon after it’s launch, ...
Hey everyone... I'm throwing a Windows Phone Garage event in conjunction with Jacksonville Code Camp!! If you're looking to learn about Making Games for Windows Phone 7 with XNA, this is the place you want to be. Here's the tentative schedule: 9am - 9:55am Intro to WP7 - includes info about the platform and very basic Silverlight & XNA content. 10am - 10:55am Getting familiar with XNA (covers differences in XNA programming model and what's in the framework) 11am - 12pm Using Phone Features w/ ...
Now that I've got a few javascript applications under my belt, I'm strating to see a pattern emerge. A javascript app for me always starts with three files. An html, a css, and of course a js file. This is the triangle that makes the base for your application to build upon. The fourth piece that I always include is a reference to jQuery. I wouldn't even try to write a javascript app without it. It's the defacto framework that makes javascript programming tolerable and should be included in any project ...
This is a very through book about Dot Net that I have completed reviewing. I commend it to all C# development teams and to individual developers with at least a year's worth of C# experiance. The only drawback is that there should be a VB.NET equivalent book for the benefit of the many programming shops that have chosen VB.NET. For further details about the book see: http://oreilly.com/catalog/... One very interesting thing I found (on page 835) was that the C# lock keyword can give rise ...
Technorati Tags: Scala,C# to Scala Introduction This post gives an overview of Scala from a C# developer’s perspective in light of efforts for a current .Net port coming closer to fruition. By closer I mean they have the compiler done but not the Visual Studio or SharpDevelop plug-in. From what I could find there is also no CLR based REPL available. You are also unable to call CLR code with generic signatures. While all of these issues are being worked on, to have a play I suggest using the JVM implementation ...
Normal 0 false false false EN-GB X-NONE X-NONE /* 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-parent:""; mso-padding-alt:0cm 5.4pt 0cm 5.4pt; mso-para-margin:0cm; mso-para-margin-bottom:.000... mso-pagination:widow-orphan; font-size:10.0pt; font-family:"Calibri","sans... mso-bidi-font-family:"Times New Roman";} There remains a lot of complacency concerning ...
So, last year I was working a large SL 4 project. Things rolled along well but… One of the devs the client forced on us was a guy who claimed to be a senior developer but was really a very junior one. Now the client had him doing all kinds of work and thought he was awesome. So one day I was debugging problems and found this. At startup of the app, we needed a bunch of lists for list boxes and validation and such. What this dev had done was make calls to WCF like so: Get list 1 Get list 2 Get list ...
As of today, the official release of Lightswitch is now available. Visit: http://www.microsoft.com/vi... or you can download from your MSDN subscription. What is Lightswitch? It is basically a simple to use application generator that can be used to build applications within minutes in many cases. If you have an existing, well structured (primary keys, relationships) SQL Server database you are just a few clicks away from an administration tool and well on the way to a full ...
Introduction One of the first things I wanted to do after installing the Azure AppFabric June CTP was to create an AppFabric application that used the Bing Map SOAP services. That was when I hit my first roadblock. There is currently no option in the AppFabric Application Designer to add a reference to an external service. After asking around in the forums I learned that I should build an external service to do this. There is currently very little documentation on creating external services for Azure ...
I recently acquired a Samsung Omni 7 with the Windows Phone 7 OS installed. With this device I have a new found desire to learn Windows Phone 7 programming and embarked on the endeavour by reading “Programming Windows Phone 7” by Charles Petzold (ISBN 978-0-7356-4335-2). I really enjoyed going through the book. While the one I was reading had a few spelling mistakes in it (not that I am one to point any fingers) I am sure they had been rectified before it went to print (I was reading the free ebook). ...
Today's $10 Deal from Apress at http://www.apress.com/97814... is Beginning F# "With Beginning F#, you have a companion that that will help you explore F# and functional programming in a .NET environment. This book is both a comprehensive introduction to all aspects of the language and an incisive guide to using F# for real-world professional development." ...
A new release of Microsoft All-In-One Code Framework is available on July 13th. We expect that its 17 new code samples would reduce developers’ efforts in solving the following typical programming tasks. Download address: http://1code.codeplex.com/r... Alternatively, you can download the code samples using Sample Browser or Sample Browser Visual Studio extension. They give you the flexibility to search samples, download samples on demand, manage the downloaded samples in a centralized ...
Functional programming and Monads are a bit complex, and took me a while to understand. Surely, they're very different than OOP. So, I'd like to recommend Mike's World-O-Programming's "Yet Another Monad Tutorial" (http://mvanier.livejournal... as one of the best explanations for Monads. The step-by-step approach allows the reader to decide where to skip because "it's clear as water", and where to re-read and digest very slowly the harder parts. And maybe each person finds a different ...
LMAX provides a .NET API for automating your financial trading strategy. sign up & download here:http://www.lmaxtrader.... If you can combine software engineering skills + numerical analysis skills + an understanding of financial markets --> the whole is greater than the sum of the parts. You can build products that make money, and you can save money by being a cross-domain expert. http://en.wikipedia.org/wik... - see here to learn more about this lucrative field. A good ...
Here are the links every developer should have handy. From time to time we all should read on basics: Visual Basic Programming Guide http://msdn.microsoft.com/e... C# Programming Guide http://msdn.microsoft.com/e... Windows User Experience Interaction Guidelines http://msdn.microsoft.com/e... N ...
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 ...
We are proud to announce the arrival of a key milestone through the All-In-One Code Framework project. With strong partnership, dedication and commitment, and big supports from the community, All-In-One Code Framework has now exceeded its Fiscal Year 2011 ? target of 1 million downloads - 10 times over our last year's download number! All-In-One Code Framework reduces the efforts of developers in solving typical programming tasks. Sample codes are made available for download; reducing the time developers ...
As I already blogged a while back, native code has been on the lips of many since TechEd 2011. Microsoft seems very committed to actually putting the language to use again after all these years of radio silence. Regarding this I urge you all guys to watch this video interview of Mohsen Agsen about C++ Today and Tomorrow http://channel9.msdn.com/Sh... on Channel 9. What I find very inspiring about this interview is that Microsoft has a number of internal ...
Well, Saturday was my presentation on Programming with Windows Azure, and it went well. Everything worked as I had wanted and I got to everything that I had planned. I did not even need my emergency backup filler. I only hope that the folks who attended got something from it. As for the whole conference, I think it was a resounding success. There were a LOT of good sessions to attend and people to meet. I had a great time, and I look forward to next year with great anticipation. Kudos to all (Lee, ...
Doing CodeKatas is all the rage lately. That´s great since widely accepted exercises are important to further the art. They provide a means of communication across platforms and allow to compare results which is part of any deliberate practice. But CodeKatas suffer from their size. They are intentionally small, so they can be done again and again. Repetition helps to build habit and to dig deeper. Over time ever new nuances of the problem or one´s approach become visible. On the other hand, though, ...
I was at the Jazoon 2011 in Zurich (Switzerland). It was a really cool event and it had many top notch speaker not only from the Microsoft universe. One of the most interesting talks was from Don Syme with the title: F# Today/F# Tomorrow. He did show how to use F# scripting to browse through open databases/, OData Web Services, Sharepoint, …interactively. It looked really easy with the help of F# Type Providers which is the next big language feature in a future F# version. The object returned by ...
Check out the Top Five most popular news at SilverlightShow for SilverlightShow Top 5 News for June 13 - 19, 2011. Here are the top 5 news on SilverlightShow for last week: Panorama "Windows 8" template for Silverlight Premature cries of Silverlight / WPF skill loss. Windows 8 supports all programming models HTML 5 & Silverlight 5 10 Silverlight 5 Demos Recording of recent SilverlightShow webinar 'Blend for Silverlight Developers' now available online Visit and bookmark SilverlightShow. Stay ...
Since the demo of Windows 8 given by Microsoft Vice President Julie Larson-Green at the recent D9 conference windows developers have been described in many articles as feeling "Horrified" "Worried" "Deeply Concerned". Why? From the demo it seems that the new Window’s 8 ‘immersive’ applications will be based on HTML5 and JavaScript – which means for experienced win devs who have invested years in learning windows development platforms, they will now have to ‘re-train’ if they want to create these ...

At http://citizen428.net/archives/434, there is a list of some 50 free programming eBooks.

At http://www.codeproject.com/... there is a hilarious list of ways to shoot yourself in the foot in various programming languages. C You shoot yourself in the foot. C++ You accidently create a dozen instances of yourself and shoot them all in the foot. Providing emergency medical assistance is impossible since you can't tell which are bitwise copies and which are just pointing at others and saying "That's me, over there." FORTRAN You shoot yourself in each toe, iteratively, ...
How do you know the programmer you are interviewing is the best of the bunch? I'm talking about natural programming talent. The best programmers will pick up new technologies fast and be using them in an innovative, imaginative and logical way. They will write clean logical code that rarely fails and is easy, even pleasing, to follow. Most interview tests can be passed by reading a textbook and having a little experience. They don't weed out the truly good programmers from the ones who learn programming ...

No matter how complementary your comments are, if the URL is not either of relevance to programming or of legitimate public interest, then your comments will be deleted.

LDAP is not Active Directory, though Active Directory is LDAP. As someone who drinks the Microsoft Kool-Aid, I found myself using LDAP for something other than Active Directory and I thought I should share what I have found. The problem domain was to connect a new MVC application to an existing Sun One LDAP Store. First off, authenticating an MVC application using forms mode authentication and the Membership providers is straight forward. Start with the ASP.NET MVC 2 Web Application Template that ...
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, ...
Welcome you are reading Ben on Software hosted by geekswithblogs.net. I would like to thank them for letting me use it. I plan to blog about programming and as a very young programmer (12 years old) to get other kids off games and help start coding. See you very soon.
So, a morning of bashing my head an a new found appreciation for .Net… Today I had to do some legacy app programming in vb6… The issue we were trying to resolve was that we had an application sending emails via the MAPIMessages library. Everything worked fine in Windows XP, but if the user ran the same program in Windows 7 you would get a Runtime error ‘32002’. After a fair amount of searching on the internet I got several conflicting reasons as to why this was “crashing”. To save those other poor ...
There are a number of other file formats that achieve similar things as PDF. Below I have listed some of them and try to explain the differences or similarities of these alternatives. These are the comparisons that are made: PDF versus XPS XPS is as yet the most serious alternative to PDF that has come to market. You can find more information about XPS here. That page also contains a comparison between both file formats. PDF versus PostScript PDF was developed by Adobe, the company that also created ...
In this Issue: Kunal Chowdhury, Roy Dallal, Jim Wightman, Kevin Hoffman, Levente Mihály, Peter Kuhn(-2-, -3-), René Schulte, WindowsPhoneGeek, Jesse Liberty(-2-), John Papa. Above the Fold: Silverlight: "Reactive Extensions–FromAsync" Jesse Liberty WP7: "Windows Phone 7 Mango - Sockets" Peter Kuhn Shoutouts: Kunal Chowdhury has a list up of all the Windows Phone 7.1 (Mango) Features From SilverlightCream.com: Windows Phone 7 Jump Start with Mango - 1 - Creating a Hello World Application Kunal Chowdhury ...

I am pleased to say that Clippy, an excellent piece of programming that used to annoy people no end, is now doing an excellent job in teaching people how to get the most of Microsoft Office!

You need the latest Micosoft Office. Download Clippy 2 from http://www.ribbonhero.com/

It is an excellent way of learning the many of features of Microsoft Office. I am looking forward to Clippy having some more adventures!

Today's OReilly Deal of the Day at http://oreilly.com/ is CLR via C# price $23.99 I am currently reading CLR via C# ISBN 978-0-7356-2704-8. Whilst quite correctly described by the publisher as a "Deep Dive", this is a book that C# developers with 6-18 months plus experiance ought to read. Certainly any serious Microsoft programming shop ought to have a copy. Even our experianced VB.NET bretheren will benefit from reading this book. When I started programming 31 years ago I went through IBM 360 Orientation ...
This blog is the first one of a series of blogs addressing programming practices and lessons learned related to cloud computing. While most developers will be familiar at least conceptually with the techniques exposed, I will provide background information and code samples in an attempt to explain why they are so critical in cloud software development. While most of the information provided will be using Windows Azure and/or SQL Azure, these concepts apply to cloud computing in general. Exponential ...
TechEd 2011 got us talking about the next Visual Studio version called vNext. The update adds multiple small and subtle performance improvements as well as major new ALM tools. These tools focus on helping developers work in the so called Virtuous Cycle, which consists of development and operation in a continuous loop. The major tools concentrate on requirements gathering, agile planning, stakeholder feedback, test coverage analysis and much much more. You can see the full session by Cameron Skinner ...
At http://radar.oreilly.com/20... there is an excellent discussion on whether Software Development has become too process orientated. Whilst not as ground-breaking as Fred Brooks "Mythical Man-Month", the article is thought proking and provoked a lot of useful discussion. For example: I have to agree that process in excess is stifling. "Make things as simple as possible, but not simpler" is the solution to most of our programming problems. What works best, depends ...
Ever since I began programming in c++ I have gotten confused with how pointers work. I understand why they are there and why they can be useful, but in my managed world I really don’t like touching them… That being said, tomorrow I am going to be tested on pointers and so I thought I would brush up.. here is a bit of sample code on some basic uses… #include <iostream> using namespace std; int main(int argc, char *argv[]) { int x = 5; int *y = &x; int *z = y; cout << "x value : " << ...
Its been a while since I blogged. Its been hard balancing blogging time, work and many other activities. Most my days and even evenings have been cluttered with a number of tasks ranging from mundial to critical. There is some which have been most interesting include very nice lessons I took from from some of the people I respect in the industry. I will try and highlight some of the things I did in below. 1) The DataObjects.NET contribution programme. From February this year I quickly responded to ...
I have been doing a rushed brush up on my contemporary concepts programming course – only to encounter more design patterns… so as revision I have listed some details below… Today I am going to briefly cover 5 design patterns… namely: Composite Pattern Observer Pattern Serializer Pattern Monostate Pattern Command Pattern What are Design Patterns? (see wiki) In programming we come across problems that are very similar, and certain approaches to solving these problems could be applied time and time ...
The second programming book I read on holiday was Growing Object Oriented Software Guided By Tests by Steve Freeman and Nat Pryce. To sum up early: its a very, very good book on TDD. When I first came across TDD, I immediately saw it as a good idea. Don't write any code without first having a test to cover it and you get automated tests to run any time which prove your system works and document how. Awesome! Getting stuck in with TDD threw up a few questions I couldn't find easy answers to, though: ...
In this Issue: David Catuhe, Andrea Boschin, Kunal Chowdhury(-2-), Colin Eberhardt, Mike Ormond, Doug Rathbone, John Garland, Jesse Liberty, Mike Taulty, and Pete Brown. Above the Fold: Silverlight: "ItemsControl from scratch to your own controls" Andrea Boschin WP7: "Metro In Motion #5 – SandwichFlow" Colin Eberhardt Shoutouts: Alan Cruz sent me a link to his Social Network site he's developed in Silverlight... this is another 'sign yourself up' thing... I did it, nothing bad happened :) ... Alan ...

Just surfed on this free book for Programming Windows Phone 7.
Its all free including sample code and an emulator.

Enjoy

If, on your holiday to Mexico, you find yourself on the beach reading programming books, you are probably officially a geek. Having accepted that, I read a couple of programming books on the beach on holiday in Mexico recently, and figured I'd review them both. This is the first. Apprenticeship Patterns isn't so much a progamming book, it's a book about being a programmer. It presents common problems and situations as patterns - in the design pattern sense - and includes suggestions and advice on ...
This has been a fantastic week of XNA activity and news. Standing ovation the the XNA Team for the interaction they’ve been having with the community as well as the new features they’ve been rolling out for Xbox LIVE Indie Game developers. Simply outstanding and I can’t wait to see what might be coming next. It’s also been a fun week to watch people’s Dream Build Play projects inch ever closer to completion. With the submission deadline coming up in June this is the crunch time for many developers. ...
Introduction I don’t do web programming… I have been programming client applications for years and consider myself a WPF/Silverlight developer. The web thing always seemed a bit scary in its stateless environment with limited functionality and cross browser headaches. That was until recently when apparently HTML5 was going to kill Silverlight and I eventually decided that I would need to get educated and up to date. Since that decision I have re-accustomed myself with HTML, CSS & JavaScript. ...