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…

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 , ,

The Joel Test: 12 Steps to Better Code – Joel on Software

leave a comment »

The Joel Test: 12 Steps to Better Code – Joel on Software.

Give your team 1 point for each “yes” answer. 

A score of 12 is perfect, 11 is tolerable, but 10 or lower and you’ve got serious problems. The truth is that most software organizations are running with a score of 2 or 3, and they need serious help, because companies like Microsoft run at 12 full-time.

How do we score?

Written by bernardhornet

April 19, 2011 at 10:19 am

Posted in Uncategorized

Tagged with , , ,

Android to power 50% smartphones: Gartner – The Times of India

leave a comment »

Android to power 50% smartphones: Gartner – The Times of India.

Android to hit 50% before the end of 2012, iOS just retains 2nd this year, but slips behind Microsoft in 2015 as the Nokia relationship bears fruit.

Written by bernardhornet

April 19, 2011 at 8:00 am

Posted in Uncategorized

Tagged with ,

Microsoft reveals WinPhone 7 Mango details • The Register

leave a comment »

Microsoft reveals WinPhone 7 Mango details • The Register.

Microsoft on Wednesday unveiled changes in the version of Windows Phone codenamed Mango that will crack open the operating system so devs can finally work with smart-phones’ camera data, compass and gyro, pivot and panorama, geo-location, ringtones and users’ contacts, and TCP/IP sockets

Written by bernardhornet

April 14, 2011 at 9:00 am

Posted in Uncategorized

Tagged with , ,