Yvan Rodrigues' problogue

(like a blog, but with less effort)

Disconnected ramblings about software development, iOS, FreeBSD, anti-social networking, kittens, drosophilidae, small business, Android, web services, finches, Windows, electrical engineering, XML, rental cars, rye, or ... FIVE dollars??!... something something beer.

'Provide value on 'System.Windows.Baml2006.TypeConverterMarkupExtension' threw an exception.' when using an ImageBrush as an opacity mask in WPF

You wouldn't know from the error message, but the problem was that the image file was set to be Content. It should be Resource.


java.lang.ClassCastException: android.widget.LinearLayout$LayoutParams

I spent a few hours debugging this exception in an Android app. When you create a new View you usually set its LayoutParams. The trick is that you need you use the Type of LayoutParams that is from the parent view's class. So if you're adding a LinearLayout to a FrameLayout, you need to set LayoutParams to an instance of FrameLayout.LayoutParams.


No resource found that matches the given name (at 'property' with value '@drawable/your-filename') or aart.exe exited with error code 1

This occurs when the filename uses characters that aren't valid in C#.

Use underscores instead.


Newly coined word: queck

/kwɛk/ (rhymes with fleck)
A set consisting of a question and its accompanying answer(s).
Created while writing an educational video game by Yvan Rodrigues in 2012 to describe sets of questions and their answers without using the word "question".
The quiz game has a library of 500 quecks.
Each multiple-choice queck has four possible answers.
Trivial Pursuit expansion packs typically contain 1650 quecks.

The .ws TLD for web services... pass it on.

Does anyone disagree that the availability of .ws domains is pointless?

Perhaps in an attempt to generate revenues like Italy (.it), Tuvalu (.tv), Montenegro (.md), and Tonga (.to) did, Samoa (formerly Western Samoa) made available this ccTLD for general registration (that is, residency is not a requirement). Global Domains International Ltd. represents the TLD on behalf of Samoa and markets it as Your Internet Address for Life, essentially an all-purpose alternative to .com.

I'm of the opinion that the last thing the world needs is another one-TLD-for-all-your-needs. However, for the last five years I have been registering .ws domains for the purpose of web services. It's a nice way to distinguish websites-for-people from webservices-for-computers. You can even create subdomains for types of services, such as schema.example.ws, soap.example.ws, wsdl.example.ws, rest.example.ws, etc.

All the cool kids are doing it. Pass it on... it might even help out a country where the GDP per capita is about 1/10th of Canada or the U.S.A.

MonoTouch: NSUnknownKeyException - This class is not key value coding-compliant for the key

This error can occur in the constructor of AppDelegate (when it calls base.ctor()).

This occured to me when I have specified the application's entry point in Info.plist in the Main Interface setting.

A similar error will occur any time an outlet exists for a control that no longer exists in Interface Builder.

Caine's Arcade: just try not to smile.


This makes me laugh every time


Stock photography that you'd like to pitch to your client but probably shouldn't.

I'm currently creating a very visual website for a countertop retailer. I'm drawn to images like these. "It probably won't save your marriage, but it may just spice up your affair."

Look closely at the last three.

Credit: DepositPhotos

Websites that have sold my personal information or have been hacked and compromised

Whenever a website asks me to sign up or share personal information, I always use a unique, tracable e-mail address. These are those to which I now regularly receive spam.


Simple Copyright Policy: If you want to reproduce anything on this site, get my permission first.