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.

5 Alternatives to Google Analytics

Tags: 

Float Labels with CSS

Click on the image to see an animated demonstration.

Read how at: http://css-tricks.com/float-labels-css/

Tags: 

iOS filenames cannot contain more than one period.

It took me a while to figure out why my app couldn't file the file day-icon.20.png. When it renamed it to day-icon.png it worked fine.

System.InvalidOperationException: The operation cannot be completed because a build is already in progress.

Building using Xamarin.iOS and Visual Studio 2012 stopped working for me when my debugging target is a physical device. Clicking Start resulted in the message:

System.InvalidOperationException: The operation cannot be completed because a build is already in progress.

It worked fine at invoking the simulator.

This appears to be a bug, but there is a workaround: Go to the solution's Configuration Manager and uncheck Deploy.

This issue and workaround are present in Xamarin.iOS 1.8.365.

iOS AutoLayout is broken for non-trivial layouts.

A custom control, like the calendar component shown here, requires many subviews. In fact, to generate this view requires about 700 subviews, unless manually user-drawn.

Apple's AutoLayout was introduced in iOS6 to provide a means to layout user interfaces independently of screen size, aspect-ration, and resolution. Unfortunately it is very ineffecient and appears to have an order of O(c^n) i.e. every subview added makes the layout take exponentially longer.

The control that is shown, designed to use AutoLayout, takes up to 10 seconds to render on an iPad. This essentially makes it unusable.

In examining the execution using Instruments I came to the realization that it was all Apple code that was swallowing all this time. Eventually I found two others who came to the same conclusion the hard way:

By turning off AutoLayout, the calendar renders (incorrectly of course) in a fraction of a second. I'll be spending this weekend writing my own MagicLayout code, which will be used by the cross-platform component library that is in development.

Future Shop: do you read e-mails before answering?

I have a raincheque for this item. Can I scan it and send it to you?

Dear Yvan,
 
Thank you for contacting Future Shop regarding the status of order #283030263.
 
Regarding the status of your order, shipping is now in progress. This means that your order is currently completing its fulfillment process. We will just have to wait for the funds to be captured and after that it will move toward shipping. You will receive a confirmation email 24-48 hours after the order has been placed. Kindly monitor your email from time to time for the update of your order.
 
Please allow 3 business days from the date the order was authorized January 10, 2014  for your order to be released for shipping. If you haven't received shipment notification by about 9pm on January 15, 2014 kindly email us back and we will look into the order.
 
Thank you for contacting Future Shop. We appreciate your business.
 
Sincerely,
 
Kristian.90528
Future Shop
 
Thank you for your response; however you did not answer my question. I asked:

I have a raincheque for this item. Can I scan it and send it to you?

My local store gave me a raincheque for this item but they are unable to fulfill it. Can you process a partial refund if I send you the scanner rebate?

Thank you. 

Dear Yvan,
 
Thank you for contacting Future Shop regarding the status of order #283030263.
 
Online Purchases
 
Best Buy/Future Shop Private Label Cards
Visa
MasterCard
American Express
Future Shop/Best Buy Gift Cards
 
For online purchases, you can use the following combination of Payment Methods
 
- 1 Credit Card; or
- 1 Credit Card and 1 or 2 Gift Cards; or
- 1, 2 or 3 Gift Cards
 
Thank you for contacting Future Shop. We appreciate your business.
 
Sincerely,
 
Benjamen.55444
Future Shop

I have already paid. Please see my question.

Follow-up:

I never did get an acknowledgement, response, or answer to my question.

I did however take my online purchase to my local store. Although I had to wait 10 minutes in the customer service line, the person who helped me was excellent. I explained that I got the raincheque in the store, and that the store didn't seem to be getting any inventory, and that I made the purchase online instead. Without hesitation, she pleasantly offered to apply a price correction, refunding the difference in price to me expediently.

How to find Startup items in Windows 8

Tags: 

Music to my ears

Tags: 

Pages

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