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.

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: 

FreeBSD Kitten

FreeBSD kitten

I walked away for a few minutes and apparently the kitten decided to monitor top; then fell asleep.

28 sleeping processes. 1 running process: moused.

Cross-platform user interface development for iOS, Android, and Windows Store

I am currently developing a C# / .NET user interface platform that will finally allow you to write the UI once in C# and create:

  • iOS applications using Xamarin.iOS
  • Android applications using Xamarin for Android
  • Windows Store (WinRT) applications

I will consider adding Windows Phone and Silverlight, which should be easy ports.

The platform will include an attractive and flexible calendar control.

The project will represent about 500 hours of development. The components will be released under commercial license. The target price is $200-300. I hope to release many building blocks of the platform under an open-source permissive license.

The calendar component is currently in alpha release.

If you would like more information, or would like updates as they become available, please contact me.

Test .NET snippets in the browser

Let the spam begin! Thanks Adobe.

It didn't take long, but I'm now regularly receiving spam to several uniquely Adobe email addresses. Password recovery must have been a pain in the ass, because I apparently I signed up with about 7 accounts.

Tags: 

Macromedia accounts compromised as part of Adobe leak

Dreamweaver and Fireworks used to be Macromedia products, before Macromedia was purchased by Adobe. As I discovered after receiving email this week to macromedia at yvanrodrigues.com, that user database was merged into Adobe's.

Pages

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