Tag Archives: Programming

The bug count found in a software program or app is directly proportional to test cases or test personnel

Photo: stock.xchng / manumohan.com

I have a new (may be very well known) wisdom — “The bug count* found in a software program or app is directly proportional to the count of test cases or number of test personnel” :).

* I mean the count of bugs you will find, not the total number of bugs.

In other words, the more you test your software, the more bugs you will find in your software program or app. And except most trivial programs, there will always be some bugs left, always! Bugs due to misinterpreted API documentation, race conditions, deadlocks (like these from DllMain), bounds check related — min/max limits, etc., etc., etc…

I strongly recommend to test your software extensively before releasing it to the users. A good start is Wikipedia article about Software testing.

Maybe it is time to switch from Windows to Android for some tasks

First, lets clarify: I use Windows workstations and servers daily. I use Microsoft ergonomic keyboard, which is great keyboard. I am, and in foreseeable future will be a mostly Windows developer. That’s what I am paid for. However, in my spare time, when I develop for fun, I may change my mind form Windows to something else, like Android…

Microsoft is not about developers, developer, developers anymore.

Once Microsoft was a great software company that cared much about developers. I hope everyone have seen Ballmer’s famous Developers Dance.

These were old good days. Today Microsoft brings some bad news for many developers who was loyal to Microsoft. Microsoft upcoming market – Windows Store and existing Windows Phone store are closed for most of world’s countries. Many software developers are left out, without an answer, when will these stores be available for them.

From Windows Store markets MSDN article:

When Windows 8 is available, you will be able to register for a Windows Store developer account and submit apps if you live or operate a business in a country or region listed in this table.

Total of 41 countries from world’s ~200 countries. ETA for more countries added — Unknown.

What about Windows Phone? There is the App Hub, where you must register in order to publish apps for Windows Phone. Which countries? Total of 65, and you can sell apps from 38 countries. Not much. Xbox development is even worse – whole 16 countries.

For Windows Phone there is alternative, for developers who are in “unsupported country”. They can use Global Publishing Program via third party publishers who of course wants their “fair” share. This translates to 30% by Microsoft + up to 20% by third party publisher, so you end up by paying 50% commission to MS+TPP. Read more here: Why Microsoft Global Publisher Program sucks.

I am too left out of this party – Windows 8 Store. Even my current 2 (at one point 3) MSDN subscriptions are worthless. At one point I thought that MSDN subscribers are somewhat special.

What’s more interesting – Windows Store has support of whole 14 languages. In world there are thousands of languages, but Microsoft recognizes only 14. Sad.

Another interesting thing. Skype was created in my neighbor country – Estonia. In both Microsoft stores there are no support for Estonia or Estonian language. What are they thinking? That there are no developers in this European Region? No developers in Baltic States? People are asking Microsoft about ETA – when more countries be added… silence, silence and silence

Google at least allows you to distribute free apps from most of the world’s countries. And if you are successful, you can register a company in some supported country, like United Kingdom, and collect payments there. For Windows Store, registering a company in different country just to distribute free app is doable, but a little overkill IMHO. Google’s app seller supported 31 countries. How to sell Android apps from unsupported countries.

Also, Android offers you an alternative markets, like Amazon App Store (currently only in US). And you can install Apps from any other website that offers .apk files, or from email messages, if someone sends them to you.

So, where am I going? It seems, that sticking to Android for a while. Android currently is the most popular and open platform comparing to Windows and iOS. CyanogenMod is a proof, that there is a hope for open platform for mobile devicesMy old Phone is now powered by CyanogenMod 7, because LG is not releasing Android updates in timely manner.

Another note, is that I love Visual Studio. I Really do. Eclipse sucks, Java is Oracle/Elison kid now… but they are both enough open. What next mobile phone will I buy? The only one, that will run CyanogenMod or other open platform. I am looking to buy a cheap tablet in next few days/weeks. I was considering cheap Prestigio tablet, but with an exception of a few Russian hacker sites, I could not find somewhat supported third party replacement/update for their outdated Android. The next candidate from the cheap end is ARCHOS 101, from ARCHOS. They are releasing their software stuff to community, so currently their tablets can run CyanogenMod, Linux, etc. Read more about developer friendly tablet – openAOS.

Microsoft still have a lot of money and a lot of influence, they cannot dig their grave in overnight, but they are heading in that direction – Internet Explorer usage is down, Windows Phone have some adoption problems, screwing partners like Nokia, screwing Silverlight developers – Silverlight 5 might be the last major release of Silverlight, Mono Abandons Open Source Silverlight, and almost … next release of Visual Studio has responded to developer criticism and is adding support for building Windows 8 Desktop apps to VS 2012 Express, and of course Microsoft Kin.

Wow. I am starting to sound like open source advocate. Weird. What I know for certain – I am not a Microsoft fanboy anymore. One wise grandma told – do not love something, that can not love you back, and corporations falls under that category… they rarely can love you back.

Update. Microsoft just reveled more countries in Windows Phone Developer Blog. It seems, that all three Baltic states (Estonia, Latvia, Lithuania) will be included now. However this is only for Windows Phone. Windows 8 state – unchanged.

2011 links no. 3

Don’t Call Yourself A Programmer, And Other Career Advice from kalzumeus.com links to [old post from Jeff Atwood] Why Can’t Programmers.. Program? and to one of my favorite bloggers Joel Spolsky – Finding Great Developers.

Why I Will Never Feel Threatened by Programmers in India Cheap Overseas Programming from jpl-consulting.com.

Asp.net web application Security Review: Do’s & Don’t By santosh poojari.

Differences between MVC and MVP for Beginners By John T.Emmatty.

ScanX: Creating a commercial quality registry cleaner in C#/WPF by Steppenwolfe.

How to make fewer errors at the stage of code writing – static code analysis for Firefox. Part N4 By Karpov Andrey. And part 3 – static analysis of Qt framework.

I [Brett Goodman] developed FileDb as a simple local database solution for .NET, Silverlight and Windows Phone apps. FileDb.

Speeding up database access – part 8 Fixing memory, disk and CPU issues by Matt Perdeck.

Using lambdas – C++ vs. C# vs. C++/CX vs. C++/CLI by Nishant Sivakumar.

WireframeSketcher is a software tool helps quickly create wireframes, mockups and prototypes for desktop, web and mobile applications. [we still use Ms Paint, Photoshop, regular pen and paper]

ISO Updates C Standard. The standard is known unofficially as C1X.

After a 5 year hiatus, the IOCCC (International Obfuscated C Code Contest) is back! from Slashdot.

Why we need even more programming languages by Neil McAllister.

Will It Optimize? See how well you know (or can anticipate) gcc’s optimizer. From http://ridiculousfish.com.

Using C to Blend Mathematics and Art (When Math goes Beautiful) by MarkDaniel.

In 2011 Average Web Page Approaches 1MB from Slashdot.

The smallest possible valid (X)HTML documents from mathiasbynens.be.

Networks without effective AQM may again be vulnerable to congestion collapse. Bufferbloat: Dark Buffers in the Internet by Jim Gettys, Kathleen Nichols.

Attempt to create Real time communication – Real time communications over UDP protocol by Michael Pan.

HTML5 kills off flash; HTML5 kills off Silverlight; HTML5 makes the dinner and does the ironing too. HTML5 is going to save the (tech) world. I’ve heard it all in the last year or two. Very rarely have I seen a balanced article or a writer that understands the concepts involved. Even worse are the (non technical) tech journalists who write an article on this subject purely to boost their own exposure. This article attempts to provide a bit of history on the subject. It also attempts to pacify the situation and explain why it doesn’t really matter. HTML5 vs FLASH vs SILVERLIGHT by GraemeKMiller.

Silverlight 5 Available for Download Today by Silverlight Team.

Adobe logo in 100% CSS – No scripts, no images, no objects. [warning: kills Firefox 9.0.1]

The Amazon Mechanical Turk (MTurk) is a crowdsourcing Internet marketplace.

Crating 3D fountain for Android using OpenGL – by mikew67.

Android-x86 Project – Run Android on Your PC – project to port Android open source project to x86 platform.

Two words in mobile world: Carrier IQ.

Is the Apple App Store a Casino? from Slashdot.

Striking It Rich In The App Store: For Developers, It’s More Casino Than Gold Mine by FC Expert Blogger Chris Stevens.

SAAB Rapid 3D Mapping YouTube video. One flight. One hour. 100 square km. Accuracy 0.3 m. Fully automatic generation. Result – 3D texture mapped terrain classified database.

Last weekend, over 12,000 LAN party goers turned up at DreamHack Winter 2011 in Jonkoping, Sweden with a PC under the arm. Inside DreamHack, the 12,000-computer LAN party by Sebastian Anthony.

Okay, everybody, it’s time for rumors and gossip from Raymond Chen.

YouTube video Qbo meets Qbo.

Unfortunately, “renewable energy” is a meaningless term with no established standards. None of our current energy technologies are truly renewable, at least not in the way they are currently being deployed. The myth of renewable energy by Dawn Stover.

What Startup To Build? Big & accepted problem. Proven revenue model… By Steve Poland.

The best ever explanation of the Pythagorean theorem. The right-angle triangle: Meet your new best friend by Yvan Rodrigues.