flattened

Non-flattened icon in an iPhone app

I submitted my app to the iTunes App Store for approval a little while ago. Today I realized that the application icon was not flattened, as required (suggested?) in the Apple guidelines. As I understand it, a flattened icon has no transparencies, but mine does. My dilemma is this. If I flatten the icon and resubmit the app, I lose a...

Flatten (an irregular) list of lists in Python

Yes, I know this subject has been covered before (here, here, here, here), but AFAIK, all solutions save one choke on a list like this: L = [[[1, 2, 3], [4, 5]], 6] where the desired output is [1, 2, 3, 4, 5, 6] or perhaps even better, an iterator. The only solution I saw that works for an arbitrary nesting is from @Alabaster Codi...

Getting-Error-message---Cannot-create-flattened-bundle-for-src-file

Hi, I am trying to use dojo build system for minification and compressing of all dojo and custom modules into a single javascript file using the untjs.profile.js profile file. The sample code for this profile file is as follows: dependencies = { layers: [{ name: "dojo.js", customBase: true, discard: true,...