Aleksandar • Vacić

iOS bits and pieces

Drawings as desktops

I wanted to place one of the drawings as desktop background, but to make it seamlessly integrate (not to look so ugly as in the post). Looking for solution, I stumbled into one very effective filter in Photoshop CS (not sure is this included in earlier versions).


Back in the high school, I was always drawing something. Being 17, 18 years old in the age of supermodels, they were my constant inspiration.

Here are some of those drawings, featuring Yasmeen Ghauri, Cindy Crawford, Claudia Schiffer…

Tri``` objective-c

ASP-JScript problems

When I do server-side, I do ASP. Without the dot and NET. All my life I seem to be tied up to Win-based web servers and since I was never much of the programmer type, this was sufficient for my needs. And where is ASP, there is VBScript. Very simple, easy to learn, easy to work with.

The only thing I sorely missed in VBScript are associative arrays. In case you don’t know, in ordinary array, (in e.g.) third element is fetched by aTmp(2), where 2 is the integer index of the element. In associative arrays, index can be anything you like; e.g. aTmp("EUR").

These arrays are extremely handy, especially when one deals with code lists, or reading username/user-details pairs from the database that needs to be stored into drop-down box etc. But they are not implemented in VBScript. There is Scripting.Dictionary, but this is not a native VBScript object thus I use it only when necessary.

Associative arrays exist in Javascript and also in MS’s JScript, which can also be used as ASP server-side scripting language.

So, in the latest project I’m working on, I decided to develop the site using ASP-JScript combination, solely because of assoc. arrays. I was ready to re-write entire code libraries I used for years, learn new stuff, waste time looking for practically non-existing documentation etc - all because of opportunity to have those arrays.

Unfortunately, it’s all thorns, no roses. Two things made me gave up the whole idea and return to VBScript.