How can I make my ad hoc iPhone application’s icon show up in iTunes?

The cleanest way to do this is described in the official Apple documentation, in a section called Publishing Applications for Testing. Below is the exact instructions given to you on that page: The iTunes artwork your testers see should be your application’s icon. This artwork must be a 512 x 512 JPEG or PNG file … Read more

Lazy module variables–can it be done?

You can’t do it with modules, but you can disguise a class “as if” it was a module, e.g., in itun.py, code…: import sys class _Sneaky(object): def __init__(self): self.download = None @property def DOWNLOAD_PATH(self): if not self.download: self.download = heavyComputations() return self.download def __getattr__(self, name): return globals()[name] # other parts of itun that you WANT … Read more

Creating music visualizer [closed]

As a visualizer plays a song file, it reads the audio data in very short time slices (usually less than 20 milliseconds). The visualizer does a Fourier transform on each slice, extracting the frequency components, and updates the visual display using the frequency information. How the visual display is updated in response to the frequency … Read more

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)