Ali Keshavarz's Website
RSS icon Email icon Home icon
  • ProcessInfo 1.3 is released

    Posted on July 26th, 2010 Ali Keshavarz 1 comment

    Hi,

    ProcessInfo 1.3 is released. The changes in this release are:

    • CPU usage is added to TProcessItem.
    • Is64Bit is added to TProcessItem.
    • IsAccessible is added to TProcessItem.
    • Setting thread priority is added to TThreadItem.
    • Setting process base priority class is added to TProcessItem.

    To download ProcessInfo 1.3, please go to ProcessInfo page.

  • Embarcadero and Iran Embargo

    Posted on May 26th, 2010 Ali Keshavarz 2 comments

    Are you an Iranian Delphi (or C++ Builder, or JBuilder) developer? Have you noticed that while you are in Iran, some pages of Embarcadero website do not load?

    You might have thought it is your ISP, or maybe Iranian filtering system, or maybe your browser, which are causing the problem, because other visitors are using the website with no such problems, and nobody has reported such problems. Well, if you thought that way, you are wrong!

    It was some months (or maybe a year) ago that I noticed I cannot log into Embarcadero forums (web interface for their newsgroups). It was telling me that my username\password was not valid! I retried my username\password several times, and even tried to make it to email me my password, but no success! Eventually I decided to create a new username, and tell them about my problem in the forum, but when I was creating the new account, I noticed that Iran is not in Countries list, and I have to choose another country if I want to create an account in their website. It was there that I found out they deleted my previous forum ID without any notification just because Iran was chosen as my country!

    Days passed and April 2010 came, I noticed that some Iranian Delphi developers were reporting problems about accessing EDN (Embarcadero Developers Network). EDN provides some articles, news reports, and white papers about Embarcadero products for software developers. I thought it must have been some ISP problems, but since I wasn’t sure, I created a topic in Embarcadero forums, and asked if EDN is down. Some users mentioned they have no problem accessing it in Europe, and later on, my topic got deleted from their forum, and I received an email from one of Embarcadero employees that this is due to their respected company’s policies in complying with US embargo, and I should keep it as a confidential note!

    Now it’s been some days (maybe 1 or 2 weeks) that I found out accessing weblogs belonging to Delphi team members on Embarcadero website, and also documents wiki website (online version of Delphi documentation) is not possible from Iran.

    So, if you use any of Embarcadero products (either buying it legally or not) and you travel to Iran for a visit or live in Iran, you are not allowed to check their website, their weblogs, or their online documentations, put aside downloading trial versions or updates from their website! OK, they say it is so to comply with US embargo against Iran, but it is weird, as far as I know, when someone does something nice and according to law, they must be usually proud of it, but Embarcadero is not (!!) because they do not like you to know that they put such restrictions on some people; they do not bother redirecting you to a page saying this content is not available to you due to US embargo. They rather you think it is a server or Internet connection issue, not an organized restriction imposed by the company. That’s why you don’t see any explanation from them, or you do not receive any notifications when your accounts are removed from their website, or your post gets deleted when you ask them about it in their forums.

    It is also interesting to know why they are restricting access to such contents as online help or their employees weblogs? Because if they are following US laws, then banning product downloads from Iranian IP ranges should be enough. Why banning access to developers’ weblogs or online help documentations?! Companies like Google, Oracle, or Yahoo impose restrictions on downloading their products to Iranians too; for example you cannot directly download Google Chrome, or Yahoo Messenger from Iran, but they do not restrict their employees weblogs, or announcements for new coming products. Actually it seems Embarcadero likes ambiguity, as they expressed this interest in their published roadmap which was more confusing than clarifying. You can read about it more here.

    Maybe the reason Embarcadero decided to ban their website content on Iranians was popularity of Delphi in Iran, and they thought making such restrictions make Iranian people feel the pressure more, and as you might know, US government believes such stupid pressures will eventually lead to people uprising in Iran, and making the country to agree with US demands! I know you might say nowadays Delphi’s popularity is not as before, and Visual Studio and .NET are currently the most popular development tools there, but so far Microsoft hasn’t imposed so called US embargo on Iran that way; that is they do not sell their products in Iran, but they haven’t banned MSDN or their download pages, or their online services for Iranians yet. So if they are supposed to put pressure, why not restricting Microsoft contents in Iran? Maybe Microsoft is kept for later stages of pressure on Iranian people, or maybe they are afraid if they ban very popular websites or tools, the result might get reversed, and people might feel more enmity toward US government.

    BTW, If you are a software developer in Iran, you already know how to nullify so-called US sanctions; so I didn’t go for explaining how to do so! ;-)

    I have a lot to say about US embargo against Iran, that I think I should write about in another post some other time.

    Have Fun!

    P.S. 1. Today (May 26, 2010) I tried to read Craig Stuntz’s blog post on TeamB website, and this site makes the same restrictions on Iranians as official EDN website. So you can add TeamB to the list too.

    P.S.2. Today (June 18, 2010) I found out Embarcadero forums are added to the restricted websites too. If Embarcadero had took developing their products as seriously as they took banning Iranian users, they would have probably had better products by far!

  • My View on New Delphi Roadmap

    Posted on May 13th, 2010 Ali Keshavarz 1 comment

    Embarcadero published a new roadmap for Delphi on May 10. You can see the new roadmap here.

    I don’t know if we can call it a roadmap or not. It does not give any time schedule or estimation on when each mentioned feature might be available (except a rough estimation for 64-bit compiler preview availability in the first half of 2011). To me, the published roadmap does not clear any ambiguity regarding Delphi future. It just adds more to it! Really, what was the purpose of publishing this?! Maybe just to  muffle those Delphi users who were complaining about not having any updated roadmap.

    Now, let’s take a look at this so-called roadmap…

    Read the rest of this entry »

  • Auto Shutdown 1.1 Released

    Posted on April 26th, 2010 Ali Keshavarz No comments

    Hi,

    Auto Shutdown 1.1 is released. In this version two minor changes are done:

    1- Warning timeout is customizable. Now you can change how long before scheduled shutdown time warning window pops up. The default value is 1 minute before shutdown time. Now you can change it from 1 to 10 minutes. Please take note that if you set warning timeout longer than your scheduled action time, you will get an error message. For example, suppose you set Auto Shutdown to restart your computer in 5 minutes. If you set warning timeout to 10, then you will get an error. Warning timeout should be always smaller than scheduled action time.
    To change warning timeout, you can click “Advanced…” button on the lower left corner of Auto Shutdown Options window.

    2- Now in Windows 7, Warning timeout shows a progress bar in task manager while it is waiting for you. This feature is available only on Windows 7, not older versions of Windows.

    To download the latest version of Auto Shutdown, please refer to Auto Shutdown page.

  • ProcessInfo 1.2 is released

    Posted on January 13th, 2010 Ali Keshavarz No comments

    Hi,

    ProcessInfo 1.2 is released. The changes in this release are:

    • SuspendThread, ResumeThread, TerminateThread methods are added to TThreadItem class. Now you can pause/resume/terminate any running thread in a given process.
    • TProcessInfo.Active and TAppInfo.Active are published properties, and can be set in design mode.
    • TProcessInfo.RunningProcesses and TAppInfo.RunningApplications automatically populate the corresponding list if UpdateList method is not called yet. This means even if you don’t activate any of these two components, or call their UpdateList method, accessing RunningProcesses or RunningApplications does not cause Access Violation.

    To download ProcessInfo 1.2, please go to ProcessInfo page.

    Regards.

  • Entru Inc. publishes Auto Shutdown

    Posted on December 1st, 2009 Ali Keshavarz No comments

    Entru Inc. publishes a proprietary version of Auto Shutdown based on my open-source Auto Shutdown.

    The initial version published by Entru Inc. is almost the same as my open-source Auto Shutdown.

  • Chad Hower of Indy fame is arrested!

    Posted on November 7th, 2009 Ali Keshavarz No comments

    Today I saw a new blog post on Kudzu(Chad Hower)’s RSS feed, with this weird title: “Arrested in Bulgaria on False Charges

    At first I thought it is just a joke, but then I realized it isn’t :-( It seems Chad is in trouble for his son’s custody. He’s been accused of kidnapping his own son and traveling to Bulgaria with him in 2006!

    Anybody having some experiences with Delphi programming knows Chad, and his great open-source project; Indy Project.

    I hope his problem is solved soon. He asked for help, and I think all Delphi developers who are using Indy have to at least spread the word, or if they can, help him financially to get out of this trouble.

  • ProcessInfo 1.1 is released

    Posted on October 22nd, 2009 Ali Keshavarz 1 comment

    Hi,

    I released a new version of ProcessInfo. In this release I added these features:

    • Enumerators are added for Windows, Threads, Modules, and Processes; Now you can use for-in statements in D2007 and above for iterating on running processes list, or modules\threads\windows of a given process.
    • TProcessItem.UserName is added; This property returns domain name\user name which is running the process.
    • TProocessInfo.AdjustDebugPrivilage is added; This method is called automatically.
      TThreadItem.ToString & TProcessItem.ToString are added; TThreadItem.ToString returns ThreadID. TProcess.ToString returns process EXE name.
    • Now supports Delphi 7,2007,2009, 2010; Some conditional compiler directives are added so that it can be used in D7, 2007, 2009, and 2010. I tested it in D7, 2009, and 2010. It should work in D2007 too.

    To download ProcessInfo 1.1, please go to ProcessInfo page.

    Regards.

  • Site is restored from backup

    Posted on October 13th, 2009 Ali Keshavarz No comments

    Hi,

    It seems the attack last week affected the whole server, and the hosting company restored the whole server using a weekly backup. So the site is back again.

    Regards

  • To be restored

    Posted on October 8th, 2009 Ali Keshavarz No comments

    Hi,

    Last night some funny Arab guys hacked this website. Since I wasn’t publishing here regularly, I didn’t have a full backup of all the plug-ins and theme, so I installed a fresh copy of WordPress.

    It was funny to me that this site was been hacked, and the front page was been changed to a page swearing against USA and Israel, because since Gaza war, I had put Israeli IP addresses on ban list as a way to show my protest against their war against innocent people of Gaza. Sarcastically these funny clowns came and hacked a website that was showing protest against Israel!

    Anyways, this website is not a political website, it is about technology – specifically software development. I am publishing my freeware utilities, components, source codes, and articles here.

    I am sorry for the inconvenience. I will restore site contents tomorrow, today I am too busy for that.

    Regards