Aug 03

WordPress is the most popular open-source blogging software in the world.  It’s powerful, mature, reliable, and best of all, free.  All of my blogs use WordPress hosted on Linux.

When you visit a WordPress blog, the WordPress software processes the blog text before displaying it on a web page.  WordPress filters out unwanted code and formats the text so the web browser can properly interpret it. 

One of the most noticeable filters is Texturize, which modifies blog text to “present a more readable and visually attractive output.”  Texturize replaces quotes with smart quotes that better show the start and end of the quote.  It also replaces sequential hyphens with dashes, and sequential periods with ellipses, etc.  For example:

Copyright © WordPress

This is a wonderful feature, except on websites like C# 411 that display a lot of source code.  C# compilers expect regular quotes, not smart quotes.  So any code copied from a WordPress blog and pasted in a development environment will generate compiler errors.  This can be frustrating to your programmer readers.

Continue reading »

Aug 02

If you are looking to embed a YouTube video on your website, there’s one important step you must take so it plays properly on the iPhone and iPad.

Quick Background:  Because Steve Jobs hates Flash, and most web videos were originally encoded in Flash, many web videos won’t play on Apple’s iOS devices, which means the iPhone and iPad.  Fortunately the YouTube player on these devices can detect a Flash video and play it automagically.  But only if you use the correct embed code.

Continue reading »

Jul 25

Hamburger Hölle. Copyright © liesmich. Image used under license.

UPDATE:  Google has restored Thomas’ service and data.  It turns out that Google had a very good reason to suspend Thomas’ account.  However, Google will be reviewing its policies to hopefully be more transparent and allow for appeals.

Thomas Monopoly is having a really bad week.  Thomas (real name Dylan M.) was a Google fan: he owned Google stock, paid for Google storage, and had moved nearly his entire digital world to the Google cloud.  Then Thomas allegedly did something wrong, and Google terminated his digital life. 

Google accused Thomas of violating its Terms of Service and apparently killed his entire online presence.  Thomas lost his website, email accounts, banking info, student records, 7 years of correspondence, 4,800 photographs and videos, 200 contacts, 500 articles saved for scholarship purposes, Google Voice messages, all his bookmarks, documents, backups, calendar with doctor’s appointments and important meetings, community calendars, medical records, and some very important notes.

Continue reading »

Jul 20

SUSE, an Attachmate Business Unit, and Xamarin, a startup co-founded by Mono legend Miguel de Icaza, are partnering to provide continued support for Mono, the open-source .NET Framework.  The agreement grants Xamarin a broad, perpetual license to all intellectual property covering Mono, MonoTouch, Mono for Android, and Mono Tools for Visual Studio.  Xamarin will assume support for these products and continue to develop and sell them.  Existing customers can purchase upgrades.  Priority support is also available for an extra fee.

Copyright © Xamarin Inc.

Xamarin’s immediate plans for both MonoTouch and Mono for Android is to make sure that the major bugs are fixed.  I just received notification today that a critical bug open in MonoTools since last October has finally been assigned to be fixed.  This is excellent news for .NET developers and provides further evidence that .NET isn’t dead.  Xamarin provides the best way to build fast, native .NET apps on iOS and Android.

SUSE/Xamarin Press Release
Announcement by Miguel de Icaza

Jul 14

Titanic. Copyright © Paramount Pictures.

I saw the James Cameron movie Titanic again the other night.  In the scene shown above, the band plays on with grace and dignity, while the ship slowly sinks, and all hell breaks loose around them.

That’s when it hit me: .NET developers face a similar fate.  Do we ride Microsoft .NET to the bottom of the icy Atlantic, or try to jump on one of the HTML5+JavaScript lifeboats?  Or perhaps more likely, .NET isn’t really sinking after all, and this controversy is just another molehill made into a mountain by the frenzied blogosphere.

Continue reading »

Jul 13

Peace & Quiet. Copyright © Chris Chidsey. Photo used under license.

DotNetBaby says, “I’m an expert on sucking, and I can assure you that C# doesn’t suck.”

YourLanguageSucks is a wiki on theory.org that lists reasons why the most popular programming languages suck.  There are long lists of reasons why Java, JavaScript, C++ and PHP suck.  But the list for C# is very short:

  • Supports ‘goto’.
  • Two distinct sets of collections: non-generic and generic.  Stack and Queue have the same name in both their generic and non-generic flavors, but then we have Hashtable (non-generic) and Dictionary (generic).

The first reason is easy to discount: just avoid using goto!  The second reason is valid, but not really an issue if you use only generic collections, as I do.

Continue reading »

Jul 06

Microsoft logo, Copyright © Microsoft Corp. Red Heart Rising, Copyright © Bernhard Aichinger, image used under license. Android logo, Copyright © Google, Inc.

If you can’t beat ‘em, join ‘em.  This seems to be Microsoft’s new mantra for mobile. 

Microsoft missed the initial smartphone wave in spite of having a decade head start with Windows Mobile and the Pocket PC.  Now Microsoft is playing a hurried game of catchup with Windows Phone 7. 

But the immediate future is not looking good for Windows Phone.  The most recent data from comScore shows that Microsoft’s share of smartphone subscribers is only 6% and continues to fall.  Whereas Android’s share is 38% and rising at a fast clip.  Apple’s 27% share of smartphone subscribers is also growing, though at a slower rate.

The Android explosion is not all bad news for Microsoft, however.  MobileCrunch reports that Microsoft is earning 5 times more revenue from its patents on components of the Android operating system than it is from Windows Phone.  That’s $150 million from Android versus $30 million from Windows Phone.

Continue reading »

Jun 29

The main challenge of Paired Programming is deciding which developer gets to drive the computer.  Looks like these fellas have figured out a work-around:

Jun 23

Microsoft will soon be launching an approved Windows Phone unlocking service as part of ChevronWP7 Labs.  This allows developers to immediately launch apps on the Windows Phone 7 platform, without waiting for official Microsoft approval.  This also allows users to run these “homebrew” apps on their Windows phones.

The ChevronWP7 service will require developers to pay a small fee via PayPal to offset costs, but it should be much less than the $99 annual fee to release apps in the WP7 App Hub.

ChevronWP7 comes with Microsoft’s full blessing and support, which means homebrew apps shouldn’t break in future Windows Phone updates. Microsoft should be commended for opening up Windows Phone 7. This leaves Apple as the only smartphone developer that does not officially support homebrew apps.

ChevronWP7 Labs Announcement
ChevronWP7 on Twitter

Jun 02

Copyright © Joshua Gajownik for opensource.com. Used under Creative Commons License.Oracle’s relationship with the open-source community has been rocky at best. 

Oracle acquired Sun Microsystems in 2009, which also gave Oracle control of the open-source Java programming language.  Which Oracle promptly used to sue Google over its use of Java code in the Android mobile operating system.

“During the integration meetings between Sun and Oracle where we were being grilled about the patent situation between Sun and Google, we could see the Oracle lawyer’s eyes sparkle,” wrote Java co-creator James Gosling.

Continue reading »