Author Archives: admin

security code is not valid – Apple ID

I encountered this error “Security code is not valid” when I tried to login into https://appleid.apple.com/account/manage to update my credit card info. The security code was reference to the 3 digit code at the back of the credit card.

Fix

Re-Type the credit card number and then save will fix the problem (hopefully) as in my case.

So what was the bug

I think what is buggy is if you select a previous credit card which had expired and want to update only expiration date etc, it will give this error. Simply do not select the previously loaded cards and start with enter new numbers. Hope it fixes the problem.

convincing stories that ghost exists

The following are convincing stories that ghost exist. It left no doubt in my mind that certain souls have died have not really left us completely. It also shows that once they are communicated (without any proper…), they will go away and vanish for ever.

Smell of Death in Room 12

There was something odd about room 12, esp the smell of death that was comming from it…

Page suddenly removed from google index

I wrote a little blog about SSP Investigation Faisal Shahzad who got himself transferred from Peshawar because the situation their was dismal and he was an honest and brave officer who did not compromise on his honest and strong work ethics. I submitted the article to google index and it appeared on page one on google with keywords “Faisal Shahzad SSP Investigation”. In fact it was the number 1 entry on first page.

One second, day when I did keyword search, it appeared no where on search. Not on first page, not on second in fact nowhere. So I checked my google index using

site:peshawar.co faisal

and the result was empty. It turned out that the page has been removed from google index. I don’t understand why it could be removed. Did someone request it to be removed, did KPK Government requested it to be removed as the article would bring bad name of KPK Police where they have touted alot about reforms and esp police reforms.

I am still skeptical, why this article was removed which would have been of great insight for people who are dealing with KPK Police as this article gave a clear picture of disastrous internals of KPK Police or may be it violeted google code ethics? If Yes, I don’t know how can could violated ethic as it was original article by me and used not tactics to bring the site on top. Anyone who can have insight on this would be greatly appreciated. Thanks!

gridview will not update does not give no error

GridView in ASP.NET will not update but it give no error. This took some 1+ hour of mine trying to resolve. I looked at this popular post but I could not find solution to my problem.

The problem in my case was the select statement.

The problem line was @IndID parameter, although my Gridview worked perfectly fine. I removed the where clause just for testing purpose and the update started function fine. So the problem is quite weird, select should not affect update operation but in this case it does!

Besides, also look into DataKeyNames parameter of gridview and set it to your primary key, usually ID field.

Invalid postback or callback argument ASP.NET

I got this error

I got this error because I was using a ready made html5 template. The problem was duplicate form tag used multiple times in the template. Removing that get rid of the error.

To be exact my duplicate form tag was in the master page which was a bit hard to find.

Object must implement IConvertible C#

I did a simple thing when I got this error. I bound a FormView control to SQLDataSource. The SQLDataSource was accepting a parameter from GridView in turn. The code was straightforward but I got this error.

Found out the problem was in here

The designer had added Type=”String”. You just have to remove it and the error will go away. So it should look like this

 

Object must implement IConvertible.

Macbook Pro 2011 SSD vs HDD Speed Test

I upgraded my mabcbook pro 2011 from HDD (320 GB) to SSH( Samsung Evo 650 500 GB), the result has been amazing. Here are the before and after speeds.

Macbook Pro 2011 HDD

and After

Screen Shot 2016-07-15 at 11.22.32 PM

There is jump form 42MB/sec to 500 MB/sec. Overall the system boots fasters, launches programs faster and wakes up from boot a lot faster.

Note that if you connect your SSD via USB, you will get slow speed, that is 30MB/sec which is USB2 max limit.