Hornet Dear Bernard

Dear, Dear Bernard

Posts Tagged ‘nj

How to handle the trailing slash in a WCF HTTP Service – Ron Jacobs – Site Home – MSDN Blogs

leave a comment »

How to handle the trailing slash in a WCF HTTP Service – Ron Jacobs – Site Home – MSDN Blogs.

You never know when users may add that trailing slash on an enrolment URL…

Advertisements

Written by bernardhornet

June 16, 2011 at 6:13 am

Posted in Uncategorized

Tagged with ,

Apple iOS 5 iPhone / iPad 2 hands-on!

leave a comment »

Apple iOS 5 iPhone / iPad 2 hands-on!.

iOS 5 Beta now available for developers

Written by bernardhornet

June 7, 2011 at 8:05 am

Posted in Uncategorized

Tagged with , ,

Windows CE Base Team Blog : Application Compatibility in Windows CE 6.0

leave a comment »

Windows CE Base Team Blog : Application Compatibility in Windows CE 6.0.

Post detailing backwards compatibility issues for running CE5 code on CE6.

Written by bernardhornet

May 10, 2011 at 4:00 pm

Posted in Uncategorized

Tagged with ,

VS2010: Silverlight 4 profiling – Visual Studio Profiler Team Blog – Site Home – MSDN Blogs

leave a comment »

Written by bernardhornet

April 30, 2011 at 10:30 pm

Posted in Uncategorized

Tagged with , ,

Apple – Press Info – Apple Q&A on Location Data

leave a comment »

Apple – Press Info – Apple Q&A on Location Data.

“The iPhone is not logging your location. Rather, it’s maintaining a database of Wi-Fi hotspots and cell towers around your current location, some of which may be located more than one hundred miles away from your iPhone, to help your iPhone rapidly and accurately calculate its location when requested.” 

Written by bernardhornet

April 27, 2011 at 6:22 pm

Posted in Uncategorized

Tagged with ,

In pursuit of code quality: Monitoring cyclomatic complexity

leave a comment »

In pursuit of code quality: Monitoring cyclomatic complexity.

Some interesting snippets:

…What’s interesting here is that we were able to spot this defect using cyclomatic complexity rather than code coverage. Code coverage indicated we were done after one test case, but CC forced us to write an additional one. Not bad, eh?

Luckily, the method under test in this case only had a CC of 2. Imagine if that defect were buried in a method with a CC of 102. Good luck finding it!

…As demonstrated above, cyclomatic complexity is a good indicator of code complexity; moreover, it’s an excellent barometer for developer testing. A good rule of thumb is to create a number of test cases equal to the cyclomatic complexity value of the code being tested. In the case of the updatePCensus() method seen in Figure 2, you would need 114 test cases to achieve full coverage.

Written by bernardhornet

April 21, 2011 at 7:31 am

Posted in Uncategorized

Tagged with , ,

BBC News – iPhone tracks users movements

leave a comment »

BBC News – iPhone tracks users movements.

Apple iPhones and 3G iPads are secretly recording and storing details of all their owners’ movements, researchers claim.

Location data is kept in a hidden, unencrypted file, but is this file accessible from any app on the phone?

Written by bernardhornet

April 20, 2011 at 8:58 pm

Posted in Uncategorized

Tagged with , ,