iGo
2011
What am I up to?
I’m finally there
,

TO DOWNLOAD THIS NEW TWEAK FOLLOW THIS LINK
After days of struggling with iOS and Calendar app, I finished this project. Now you’re able to use Calendar with Jalali dates as well as Gregorian! Fully compatible with iPhone/iPod and iPad.
Features:


Now in final testing phase
Using this application, not only you’d get a nice Shamsi calendar system in Calendar application, but also you can customize the way Calendar Icon looks, and date appearance on your locksreen with cool Shamsi features
It’s fully customizable.
I hope to release it in next two weeks




Last year I found out I could integrate Persian calendar into iOS! What I didn’t see coming was rush of bugs caused by iOS frameworks!
Once again I dedicated my time on calendar integration and I’m surely one step closer to what I wanted in the first place. I hope to release this patch by end of summer.
It feels so good to be back at home, and obviously writing again. 1st I’m really excited about an idea that I came up with wich I’m gonna share.
During this semester we had to implement a Java Search Engine based on vector models for Information-Retrieval class. We had to parse given document and then let the user search through it! There was a part of this project where I had to compute inner product of two vectors. Each document is translated into a vector and document similarity is defined by inner product of their vectors. During clustering which I used K-Means algorithm, nearly 90% of process was used in product computation. I was so desperate to minimize time needed for that process that I came up with a funny optimization which cut processing time in HALF!
Since dimension of these vectors is really high (560000) I saved them on two different arrays. First array saves index and the second array saves value of a given vector. So the product computation is simple! it will be sum of products of values with the same index. I would normally write such program like this:
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 | float value = 0; int indexB = 0; for (int i = 0; i < A.key.length;) { if (A.key[i] == B.key[indexB]) { value += A.value[i] * B.value[indexB]; i++; indexB++; if (indexB >= B.key.length) { break; } } else { if (A.key[i] < B.key[indexB]) { i++; } else { indexB++; if (indexB >= B.key.length) { break; } } } } return value; |
What I realized was, that I don’t actually need to check index bounds, since Java is already doing it and is ready to throw an IndexOutOfBoundsException! So I changed my code to this, and it became amazingly fast!
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 | float value = 0; int indexB = 0; int indexA = 0; try { while (true) { if (A.key[indexA] == B.key[indexB]) { value += A.value[indexA] * B.value[indexB]; indexA++; indexB++; } else { while (A.key[indexA] < B.key[indexB]) { indexA++; } while (A.key[indexA] > B.key[indexB]) { indexB++; } } } } catch (IndexOutOfBoundsException e) { } return value; |
Are you tired of your simple old keyboard? Do you love the black keyboard in lock screen as much as we do?
Using this package you’re able to use the fabulous black keyboard anywhere!
By i-Phone.ir, Persian Development Team
P.S: This package will be released on ModMyi’s repository!
I have updated Persian Keyboard to support iOS in 4.3 and 4.3.1 as well. You can find it here
Once again it’s universal to support iPhone,iPad,iPod.
Latest stable release: 4.3.7 Supporting 4.2, 4.2.1, 4.3, 4.3.1
Tonight I took the time to add a Paypal payment to iSales. Now with Paypal, you can buy programs using Paypal accounts as well as Visa, Master and Direct Debit cards from around the world. This new method takes at most 24hrs to complete your registration.
That’s all for now
Comments