Tag | Developers Posts

John and I sat down with one of the Adobe Evangelist, Terry Ryan, to talk about the shift of products from Adobe, developers, and designers. Adobe is one of those unique companies having quality products that are able to reach into developers lives and designers lives. Photoshop and illustrator are amazing tools that designers use to produce the work we enjoy. Developers can use Brackets and PhoneGap to build quality HTML for use on web sites or mobile applications to break through the barriers that ...
I recently created a DLL and I wanted to reference it from a project I was developing in Visual Studio. In previous versions of Windows, doing so was simply a matter of dropping the DLL file in the C:\Windows\assembly folder. That would add the DLL to the Global Assembly Cache (GAC) and make it accessible in Visual Studio. However, as is often the case, Window 7 is different. Even if you have Administrator privileges on your machine, you still do not have permission to drop a file in the assembly ...
For those out there that are interested… I am now one of the hosts of the Driven2Distraction podcast. Being a fan of podcasts like .Net Rocks and Hanselminutes for years now, I have always wanted to be involved in the recording of a podcast and now that time has finally come. What makes the Driven2Distraction podcast different from all the others out there is its uniquely South African flair. It’s focus is towards Software Development in the Southern Africa – and has a mix of “what happening locally” ...
One of the challenges recently thrown my way was to read an EBCDIC flat file, decode packed dates, and insert the dates into a SQL table. For those unfamiliar with packed data, it is a way to store data at the nibble level (half a byte), and was often used by mainframe programmers to conserve storage space. In the case of my input file, the dates were 2 bytes long and represented the number of days that have past since 01/01/1950. My first thought was, in the words of Scooby, Hmmmmph? But, I love ...
At http://shop.oreilly.com/cat... O'Reilly are offering a series of books on geo-location at 50% off until April 5, 2012 14:00 PT. HTML5 Geolocation Truly revolutionary: now you can write geolocation applications directly in the browser, rather than develop native apps for particular devices. This concise book demonstrates the W3C Geolocation API in action, with code and examples to help you build HTML5 apps using the "write once, deploy everywhere" model. Along the way, ...
Introduction I’m currently working on broadening the content in the Windows Azure Service Bus Developer Guide. One of the features I have been looking at over the past week is the support for transactional messaging. When using the direct programming model and the WCF interface some, but not all, messaging operations can participate in transactions. This allows developers to improve the reliability of messaging systems. There are some limitations in the transactional model, transactions can only ...
While working on a mainframe integration project, it occurred to me that some basic computer concepts are slipping into obscurity. For example, just about anyone can tell you that a 64-bit processor is faster than a 32-bit processer. A grade school child could tell you that a computer “speaks” in ‘1’s and ‘0’s. Some people can even tell you that there are 8 bits in a byte. However, I have found that even the most seasoned developers often can’t explain the theory behind those statements. That is ...
C4C (Coders 4 Charities), in Kansas City, is always a fun event. At points it gets to be a pressure cooker as you zone in trying to crank out some fantastic code in just a few hours, but it is always fun. A great challenge of your skill as a software developer and for a good cause. This year my team helped The United Cerebral Palsy of Greater Kansas City organization to add online job applications and a database for tracking internal training. I keep finding that there is one key rule to pulling ...
Hey everyone, I just discovered this great post yesterday that shows how to have msbuild build projects in parallel Basically all you need to do is… Read more at http://blog.danskingdom.com... ...
So, day 1 of DevWeek. Lots and lots of Windows 8 and WinRT, as you would expect. The keynote had some actual content in it, fleshed out some of the details of how your apps linked into the Metro infrastructure, and confirmed that there would indeed be an enterprise version of the app store available for Metro apps.) However, that's, not what I want to focus this post on. What I do want to focus on is this: Windows 8 does not make .NET developers obsolete. Phew! .NET in the New Ecosystem In all the ...
I've recently had to help a couple of splinq-challenged colleagues with some caml queries. Here are some of my favourite ways to make caml edible. Use '! Too many developers seem ignorant of the fact that xml works just as well with single apostrophes as with double. This is, of course, also true for other things, like html. Use @ and multiline Use string.Format Validate the query using a simple webpart or, much better, powershell Don't use third-party clever stuff I'm not sarcastic when I say "clever," ...
Everyone loves naming conventions and product code names :) I’ve see a few people mislead by blogs and so called “.com press” to the point of confusion about what Windows Phone 7.5 Refresh and Windows Phone SDK 7.1.1 actually are in reality. So let’s clarify: Windows Phone 7.5 Refresh – is the name of the refresh update to Windows Phone OS that allows for broad reach to new markets and languages, previously not supported in Windows Phone 7.5 OS. This update also provides support for market specific ...
For any of those in the Kansas City area, I recommend Coders For Charities as a great once-a-year event! It’s a weekend code-a-thon in which small, quickly-assembled teams of software engineers construct as much as possible for a charity in need. Contributors include anybody with relevant experience such as software developers and graphic designers. The projects seem to typically involve creating a website. I personally was only available for about half of the total event, but I contributed to a ...
The ASP.NET MVC template drops a copy of Modernizr 1.7 in your project automatically, and if you check for NuGet updates the library is brought up to the current version - 2.5.3. The NuGet package is a a great way to introduce developers to Modernizr and makes checks for updates easy. But when adding Modernizr to your projects consider two alternatives: Alternative One – Content Delivery Network: Microsoft CDN currently hosts two Modernizr versions – 1.7 and 2.0.6. By using a CDN copy you increase ...
Myth 3: The source of all bad code is inept developers and stupid people When you review code is this what you assume? Shame on you. You are probably making assumptions in your code if you are assuming so much already. Bad code can be the result of any number of causes including but not limited to: using dated techniques (like boxing when generics are available) not following standards (“look how he does the spacing between arguments!” or “did he really just name that variable ‘bln_Hello_Cats’?”) ...
This is the fourth entry in a series of descriptions & demos from the “Using HTML5 Today” user group presentation. For practical purposes, the original XHTML standard is a historical footnote, although XHTML transitional will probably live on forever in the default web page templates of old web page editors. The original XHTML spec was released in 2000, on the heels of the HTML 4.01 spec. The plan was to move web development away from HTML to the more formal, rigorous approach that XHTML offered, ...
One of the earliest lessons I was taught in Enterprise development was "always program against an interface". This was back in the VB6 days and I quickly learned that no code would be allowed to move to the QA server unless my business objects and data access objects each are defined as an interface and have a matching implementation class. Why? "It's more reusable" was one answer. "It doesn't tie you to a specific implementation" a slightly more knowing answer. And let's not forget the discussion ...
I maintain Python Koans on mirrored on both Github using git and Bitbucket using mercurial. I get pull requests from both repos but it turns out keeping the two repos in sync is pretty easy. Here is how it's done... Assuming I’m starting again on a clean laptop, first I clone both repos ~/git $ hg clone https://bitbucket.org/gregm... ~/git $ git clone git@github.com:gregmalcolm/... python_koans2 The only thing that makes a folder a git or mercurial repository is the .hg ...
I saw a tweet asking why do we educate computer scientists to get developers and compared this to structural engineers and stone masons. I believe this is a good question with a flawed premise. The flaw is in thinking that a developer’s job is as simple and limited in variations as that of a mason. Almost every problem attacked by a developer requires that they bend their tools and materials in a new way. This requires that everyone on a team communicate and at least on some level understand each ...
If you're like a lot of people I've known, worked with, and been, you have a history of either installing Visual Studio (or getting a computer from IT with Visual Studio already installed), selecting a preset option from the "what kind of development work do you do?" menu, and coding away. I spent years occasionally hearing words like "CodeRush" and "Resharper" without really knowing what these things were or giving a second thought to how a productivity tool like them could help my work. A couple ...
Today's 50% off Deal of the Day from O'Reilly is Developer's Guide to Collections in Microsoft® .NET "Put .NET collections to work—and manage issues with GUI data binding, threading, data querying, and storage. Led by a data collection expert, you'll gain task-oriented guidance, exercises, and extensive code samples to tackle common problems and improve application performance. This one-stop reference is designed for experienced Microsoft Visual Basic® and C# developers—whether you’re already using ...
The new HTML standard is part of a proliferation of challenges and opportunities that developers face today: Browser Wars v2.0 Going back 10 years ago, Internet Explorer could claim 95% of the browser market (http://en.wikipedia.org/wi... Today you have to include IE, Firefox, Chrome and Safari to get past the 95% support mark (http://marketshare.hitslin... And this only includes desktop browsers! Safari, the Android browser and Opera all have strong market shares in the mobile/tablet ...
The Little Book on CoffeeScript, by Alex MacCaw, provides a quick dive into CoffeeScript, a new scripting language which is based off of, and compiles to, JavaScript. It is a simpler form of JavaScript, with syntax and feature implementation that is inspired by both Ruby and Python. The author does a great job of explaining the differences within CoffeeScript over the JavaScript language, such as using Ruby-style string interpolation instead of JavaScript’s string addition and using Python-style ...
This is just one of those cool post which are not written as often as it should be. Hats off to Glenn Berry for stating it so clearly for all BI / database developers.http://sqlserver... read some Microsoft paper on "Fast Track Data Warehouse Architecture", and did not appreciate the benefit at the time. What a great way for developers to start with someone already figured out the licensing + cost + performance. There ...
It is an oft-repeated maxim that you shouldn't add methods to a publically-released interface in an API. Recently, I was hit hard when this wasn't followed. As part of the work on ApplicationMetrics, I've been implementing auto-reporting of MVC action methods; whenever an action was called on a controller, ApplicationMetrics would automatically report it without the developer needing to add manual ReportEvent calls. Fortunately, MVC provides easy hook when a controller is created, letting me log ...
NDepend is a Visual Studio add-in designed for intense code analysis with the goal of high code quality. NDepend uses a number of metrics and aggregates the data in pleasing static and active visual reports. My evaluation of NDepend will be broken up into several different parts.In the first part of the evaluation I looked at the installation for the add-in. In this installment I cover my first impressions resulting from the initial profiling of the solution that I use throughout my evaluation. The ...
If you have not heard the latest technical news yet, the SQL Server 2012 Virtual Launch event is today March 8, 2012! Register to not to miss this opportunity to interact with technology experts and win cool prizes! I am thrilled and excited! Why? Because like in the automotive industry, every new iteration of a vehicle is more fuel efficient, safer, more polished, looking more attractive and fun to drive. Sure, the the new version of the SQL Server is ready to take me further in what I can deliver ...
This blog post started as a simple one, but grew to be quite large and time consuming. I am splitting it, because I really want to publish the first findings already. Stay tuned for more! I am sure that you heard that Windows 8 was released last week in an early although quite stable stage called "consumer preview". Windows 8 is an interesting mix of touch-based and mouse/keyboard based system. Some aspects are a bit annoying (see my post about the "split personalities" in Win8 to see what I mean!) ...
Those hard-working developers at Jetbrains are making Resharper 7 for Visual Studio 11 Beta available by what they refer to as the Early Adopter Program (EAP).Build 7 EAP is just for Visual Studio 11 Beta and will run alongside Visual Studio 2010 / Resharper 6(.1)A given build of Resharper 7 EAP will run for 30 days using just an evaluation licence.Details are at http://blogs.jetbrains.com/... Can't code withoutIn-depth C# code ...
For those of you that missed it, Rob Conery offered a challenge a couple nights ago to build an API for Tekpub. In response to this, a few different developers took the opportunity to propose their solution to the requirements. One of those developers, John Sheehan, offered his solution entitled, Don’t build the best REST API, build the best HTTP API and tweeted that the title might be a bit linkbaitish. I understood the point he was trying to make and I think he did a fine job. Building an API should ...
In this blog post I intend to capture some thoughts on code optimization in general and on how the new version of RedGate's ANTs Performance Profiler can be used to "optimize optimization". As developer's trying first to drive business value, many latch onto the mantra "Don't optimize too early". As with many axiom's, the spirit is right on - if you allow solving the business problem to wait while you shave milliseconds off of a process that takes minutes or you have found the best memory management ...
While I am not a fan of offshoring IT development, I do understand the attraction. From a rate perspective they look very attractive, but in my experience that is the smallest part of the story when it comes to offshore resources. There are a number of hurdles you will have to deal with if you are going use developers that are half way around the world. The first obstacle is the language and cultural barrier. I am not talking about just understanding the words, but understanding the meaning behind ...
I’ve just published a web-browsalbe version of “Windows Azure Service Bus Developer Guide”. “The Developers Guide to AppFabric” has been re-branded, and has a new title of “Windows Azure Service Bus Developer Guide”. There is not that much new in the way of content, but I have made changes to the overall structure of the guide. More content will follow, along with updated PDF and CHM versions of the guide ...
This weekend I was in Boston participating in Startup Weekend. There were over 150 people participating this weekend. This was my first startup weekend and their were over 70 ideas pitched on friday night. Once the voting was in the pitches were narrowed down to 20 ideas. We formed teams and I ended up on a team with 5 business people, 2 creative people and 3 developers. I worked with 2 Microsoft Evangelist’s Scott Klein and Nathan Totten who were in from Redmond. I noticed that there were a lot ...
Stylecop 4.7.11.0 has been released at http://stylecop.codeplex.co... urge all C# developers to use StyleCop and Resharper. Can't code withoutIn-depth C# code analysis with instant errorand warning highlighting and quick-fixes ...
Contents Purpose Audience What is floating point number? Types of floating point number in C# System.Single (float) System.Double (double) System.Decimal (decimal) Caveats of floating number Comparing results of double and decimal operations. Comparing performance of binary and decimal floating number When to use decimal? 1. Purpose This article compares the pros and cons of using different floating numbers and discusses when to use what. It stresses upon the implications of using floating numbers ...
Until 1/March/2012 O'Reilly are offering at http://shop.oreilly.com/pro... The Little Book on CoffeeScript "This little book shows JavaScript developers how to build superb web applications with CoffeeScript, the remarkable little language that’s gaining considerable interest. Through example code, this guide demonstrates how CoffeeScript abstracts JavaScript, providing syntactical sugar and preventing many common errors. You’ll learn CoffeeScript’s syntax and idioms step by step, ...
In the development of line-of-business (LOB) applications, there has long been a certain tug-of-war between tools that automate development, or frameworks that accelerate it, on the one hand; and the notion of coding from scratch, perhaps with the aid of code libraries developed in-house (or by the sole developer), on the other. This is typically put under the rubric of a zero-sum game before the debate even starts. Downstream project managers, analysts and users don’t want to pay the tax of having ...
I come across this problem a lot. I often get work to fix problems that largely stem from bad interface design. Architects know how important interfaces are whether they be WSDL, C# interfaces, stored procedure parameters etc. Developers in my experience should get a grip on this stuff. Once you have some requirements spending some quality time working out what your interface is important. Developers need to hammer this into their skulls, it's pritty simple. This isn't an exhaustive post but try ...
Today's $10 Deal of the day from APress at http://www.apress.com/97814... is Design Driven Testing"Design Driven Testing brings sanity back to software development by restoring the concept of using testing to verify a design instead of pretending that unit tests are a replacement for design" This is a book that all J*** developers should read from cover to cover. I look forward to C# and VB.NET versions. There is a tendency in software development to go to extremes. This book helps to correct ...
Some Background The AdventureWorks database has been around for over a decade; a staple amongst sample databases. The first version of the AdventureWorks database appeared in time for SQL Server 2000. Microsoft has been good at keeping the AdventureWorks sample database up to date as new versions of SQL Server are released. Case-in-point: SQL Server 2012 is at RC0 and yet you can already find a version of AdventureWorks for it (albeit, it really isn’t that different from the SQL Server 2008 R2 version). ...
We’re only in February, but the rest of the 10 months left in 2012 look to be very interesting in the Microsoft space with products that Developers and IT Pros will find intriguing. Redmond Channel Partner posted a great article outlining what products we can expect to make an appearance this year and when. Some highlights: Windows 8/Windows Server 8 Well we all know this is coming, and that it will be a huge focus of Microsoft’s marketing (once their people are actually allowed to talk about it). ...
This was a big week for Windows 8 news (given the relative secrecy around the whole project). At the beginning of the week we learned that the Consumer Preview (fka the "Beta") of Windows 8 will be released at the very end of the month in concert with the Mobile World Congress conference in Barcelona (MWC). Then, just yesterday, Windows and Windows Live Division President Steven Sinofsky uploaded an 8600+ word post to the Building Windows 8 blog detailing Microsoft's plans for Windows on ARM (i.e. ...
Say you're an experience .NET developer, but you want to broaden your horizon and dive into SharePoint 2010 development? I'm giving a 8 day deep dive training in Oslo on March 14th, 2012.Topics that I'll address are:installationconfigurati... and viewscontent typeswebpartsevent receiverstimerjobsoptimizat... large listsany many moreIt's an 8 day training, so it's quite intensive. We're starting on a Wednesday, continue until Friday, have a break in the weekend and then the whole next ...
As I was working on “The Developers Guide to AppFabric” e-book I also started developing a training course on the Azure Service Bus. The first delivery of this course is scheduled for May 3-4 in Stockholm. I’m really looking forward to delivering this, it will be exciting to be working with emerging technologies. The course will be updated on regular bases to cover the new features as they pass through CTP and into release. The course details are here. If you have any questions about the course, ...
Translate this pageArabicBulgarianCatalanC... SimplifiedChinese TraditionalCzechDanishDutch... CreoleHebrewHindiHungarianI... TranslatorCheck out this page in {0} translated from {1}translated fromOriginal:Translated:Aut... translation powered by Microsoft® TranslatorStart translatingStop translatingCloseClose ...
Arrggghhhh TFS and builds! Such a love-hate relationship! So we have our TFS builds setup to both compile our C# projects as well as compile and deploy our Team Foundation (TF) Database (DB) projects. One day I started getting the following file path too long error message on our build server: $/RQ4TeamProject/Prototypes... - 1 error(s), 69 warning(s), View Log File C:\Program Files (x86)\MSBuild\Microsoft\Vis... ...
It's been exactly over three years and two months since I last logged in to this blog. The last post which I made on Dec 2008, was itself after a one year gap :). Well, now let me try if I can continue this activity. Lot of learning, lot of new cool stuffs. Technology itself has been changed quite dramatically over this period with the addition of new cool stuffs and I believe my English as well improved a little bit :). Microsoft developers finally started realizing the drawbacks of ASP.NET architecture ...
Most of us spend our time in Visual Studio writing .NET code within a Visual Studio solution. Given this situation we find it very easy to integrate with Team Foundation Server for our source control and have a well known work pattern. But what happens when you want to use TFS as source control for non-Microsoft development? The most important thing to remember is that source control should be as transparent as possible to the developer. If the particular language or product does not have an Integrated ...
Pros and Cons of NOLOCKI have seen some developers use WITH (NOLOCK) when querying in SQL Server and wonder why they use. Now i explored it and found that its useful to improve the performance in executing the query. However there is a disadvantage in using it. The disadvantage is that one may not be sure that they are getting the data which is currently being updated in the Table ie Without lock protection, you cannot be guaranteed that the data isn’t changing during the time that the query is running.With ...