Archive

Archive for the ‘Technology’ Category

Google Unlocks it’s Server Design

April 2, 2009 2 comments

Google revealed one of their server design. Google posses one of the most efficient, reliable and secure data centers and has revealed it’s server design to help increasing problems of huge Data Centers. For details please read the detailed article at here.

Demo – The Sixth Sense

March 11, 2009 Leave a comment

TED continues to prove to be the best meeting place for innovators and geniuses. Here is another brilliant video on Sixth Sense. Well though naming it sixth sense sounds a bit odd but video is superb!

1474 MegaPixel Picture

February 23, 2009 Leave a comment

Check here to view a 1474 MegaPixel picture created by David Bergman. Taken in USA at Innaugural Address of President Barrack Hussain Obama. It is a combination of 220 images which made up a file of 1474 MP or 1.5 GP image.

Launching Executables (showing GUI) from Web Services deployed in IIS

October 16, 2008 8 comments

Recently one of my senior colleague was faced with a problem of launching executables from Web Services hosted in IIS. Following is the problem he was faced with (as is email),

“I am working on a dotNet web service that needs to launch an executable (.exe). I have used System.Diagnostics.Process to launch the process. When I run through VS2005 test environment, web service triggers the executable and its UI is displayed (e.g., launching notepad). But when I deploy the web service under IIS, the web service does launch the process but UI does not appear.

Can someone shed some light on what is happening and suggest a solution to this”

After searching on the internet I found the following solution and it worked fine.

According to Microsoft following are the reasons for this

1.    By default, ASP.NET runs its worker process (Aspnet_wp.exe) with a weak account (the local machine account, which is named ASPNET) which don’t have permission to interact with desktop.
2.    By default, IIS Admin Service won’t allow its application to interact with desktop.

These can be resolved by:

1.    Allowing worker process(ASP.NET) to run in SYSTEM account.
This can be done by editing the machine.config file which is located at (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\CONFIG. Open the machine.config and find the ProcessModel tag and add the following attributes to it,

userName=”SYSTEM” password=”AutoGenerate”

2.    Enable IIS Admin Service to interact with desktop. To configure this, follow this steps.

a)    Open Control Panel and follow these steps:
For Windows NT: click Services.

For Windows 2000, Windows XP, and .NET Server: click Administrative Tools, and then click Services.
b)    Double-click IIS Admin Service.

c)     On the Log On tab, select the Allow Service to Interact with Desktop check box.

d)    Stop and restart the IIS Admin Service.

3.    Sometimes ASP.NET account does not have enough privileges to access certain WMI namespaces. So to resolve this do the following

a)    Open the Computer Management Microsoft Management Console (MMC) snap-in.
b)    Expand Services and Applications, and then select WMI Control.
c)    Right-click WMI Control, and then click Properties.
d)    In the WMI Control Properties dialog box, click the Security tab.
e)    Expand Root, select CIMV2, and then click Security.
f)    In the Security dialog box, click Advanced.
g)    In the Access Control Settings dialog box, click Add. Select localMachineName\ASPNET, and then click OK.
h)    In the Permission Entry dialog box, make sure that Apply Onto is set to This namespace and subnamespaces.
i)    Make sure that the Allow ‘Enable Account’ and Allow ‘Remote Enable’ check boxes are selected.
j)    Click OK in each dialog box until you return to the WMI Control Properties dialog box.
k)    Repeat steps 5 through 10 for other WMI namespaces that your application will access.
l)    Restart IIS. To do this, run IISRESET from the command line.

Information obtained from:

http://support.microsoft.com/default.aspx?scid=kb;en-us;317012
http://support.microsoft.com/kb/555134

Regards,

Folder Options Diasbled, Task Manager Disabled, Registery Editor Disabled

October 16, 2008 2 comments

This post will be about enabling the folder options, taskmanger and registry editor after they are disabled/not visible. These kind of things are usually consequence of viruses specially “Brontok” trojan which can be deleted by anti-virus. I am writing the solutions, but chances are if these things are caused by virus
really then after restart, these options(folder options, task manager) will again be disabled so use a good anti virus like NOD32 (preferable) or AVG and remove the virus. And then enable
the options as I am telling.

For restoring the folder options do the following.

1. Write regedit at run and open the registery editor.
2. Now locate the following key,

HKEY_CURRENT_ USER\Software\ Microsoft\ Windows\CurrentV ersion\Policies\ Explorer

or

HKEY_LOCAL_MACHINE\ Software\ Microsoft\ Windows\CurrentV ersion\Policies\ Explorer

And in right-side pane, check whether a DWORD value named NoFolderOptions exists or not? If it exists then either change its value to 0 or delete it.

I hope this resolves your problem of Folder Options in tools menus.
Btw we can access it from Control Panel also.

-If registery editor is also disabled or locked do the following.

1. Write gpedit.msc at run and open the groups policy editor.
2. In the left side tree view locate the User Configuration node and expand it. Now locate the Administrative Templates and expand it also. Now locate System. Now don’t expand it and clicking on it look for the
options in the right view. Locate the item “Prevent access to registry editing tools”. Edit it’s properties and change it to disabled.

If task manager is disabled do the following.

1. Write gpedit.msc at run and open the groups policy editor.
2. In the left side tree view locate the User Configuration node and
expand it. Now locate the Administrative Templates and expand it also.
Now locate System and find Ctrl+Alt+Del Options in it. Left click it once and look for the options in the right side list view. Double Click the option Remove Task Manager and change it’s current setting to Disabled. If it’s already disabled you still have to change the setting to any other value and than change it to Disabled just to refresh it. Be sure to refresh the windows and task manager will be enabled.

I hope this much helps. But I will seriously recommend to scan and clean the system completely with some anti-virus.

World’s Largest Semantic Web announced – Web 3.0 Insight

September 19, 2008 Leave a comment

Cognition Technologies a Semantic Web company (wow Aleem Khan just think a ‘Semantic Web’ company – for those of you who don’t know Semantic Web was our final year project) is announcing the largest Semantic Map of English language. In simple words, they will be “enabling” search engines to understand what we have typed in the search box and retrieve contextually correct results.

The company is also going to fulfill one of my ambitions (to build a Semantic Web – Web 3.0 based search engine). So this is going to be advent of Web 3.0 hopefully.

References: ReadWriteWb.com on Cognition Technologies

ZDnet on the Topic

CNET News on the same

To view Semantic Web already in action check out: Cognitive Wikipedia

Pakistani(s) Contributions in Large Hadron Collider Experiment

September 15, 2008 7 comments

With reference to my previous post, my friend Adil Akhter Mir sent this informational email on Pakistani Contribution in the world’s greatest physics experiment – The Large Hadron Collider.

Here is the e-mail as is..

Large Hadron Collider is a Physicist’s dream come true. Being world’s biggest science apparatus ever built this is a show of science on how far have we come to in our mental and analytical evolution. Today with the LHC we are at brink of understanding the existence of ours from the very basic ground up.

This time we are not even looking at the DNA, neither we are exploring the fossils, we have even gone beyond all that. We are today finding how the Big Bang happened. And there especially to know about that first particle (infamously called, the God Particle) known as Higgs boson.

This LHC spans over an area of 27 KM underground setup spanning over the Swiss-Franco border, with support from thousands of Physicists, scientists and laboratories from over eighty-five countries. It is housed in the same tunnels which were dug in 1989 for Large Electron-Positron Collider, with of course some new specialized construction. With an estimated cost between €3.2–6.4 billion, this machine successfully fired itself up on 10th Septemeber 2008, whereas the full high intensity firing will be done by 21st October. Yet already it has made sensational news world wide.

With reports of people filing a petition against it, to an Indian 16 year old girl who committed suicide as she thought once LHC is fired it will bring end of the world (refer to as Doomsday), to continuous circulating emails and forum postings calling relating it with playing God, to finally sending death threats to some of the leading involved scientists. World has gone paranoid it seems to the frenzy the LHC’s elaborate marketing has caused. Doomsday prophets have suddenly popped out everywhere. Just only tragedy would be that majority of them don’t even know what are they talking about!

In order to help explain the whole process to the common people, perhaps even those who have gone paranoid, a scientist working at the CERN (European Organization for Nuclear Research) has even released her own rap! Honestly, if you follow it carefully it explains it way better than most of the texts you will find about it online.

Pakistans Contributon:

Coming back from a brief introduction to the LHC, lets talk about the contribution of Pakistan it. Its a matter of pride for me at least at the moment as a Pakistani is that LHC has been assisted in this by Pakistani wonderful scientists too. Pakistan has a long history of participating with CERN and has a long tradition of wonderful physicists who are working around the world.

A prime example would be Dr Abdul Salam himself who sadly was forgotten by Pakistan just because of his religious preferences. Dr Salam was the first man to be accredited with all the collaboration with CERN which continues till todate when he convinced CERN to give Pakistan stacks of nuclear emulsion exposed for further study of pions, kaons and antiprotons in 1960s.

In 1997 Ishfaq Ahmad (special adviser to the prime minister of Pakistan and former chairman of the Pakistan Atomic Energy Commission) was able to sign a contract between PAEC and CERN after elaborate discussions an in-kind contribution worth one million Swiss francs for the construction of eight magnet supports for the CMS detector.

In 2000, CERN signed another agreement which doubled the Pakistani contribution from one to two million Swiss francs. And with this new agreement Pakistan started construction of the resistive plate chambers required for the CMS muon system. While more recently, a protocol has been signed enhancing Pakistan ‘s total contribution to the LHC programme to $10 million.

Pakistan with all these efforts is already hoping to become an observer state at CERN.

All in all, Pakistan has contributed the LHC in numerous ways including some of the following in particular:

1. Detector construction

2. Detector simulation

3. Physics analysis

4. Grid computing

5. Different mathematical software developments

6. Manufacturing of mechanical equipment

7. Alignment of the CMS tracker using lasers

8. Testing of electronic equipment

9. Barrel Yoke: 35 Tonn each feet made in Pakistan

10. Assembling of CF Fins for the Silicon Trekker’s TOB

11. Out of the total 300 chambers of CMS 245 were made in Islamabad , out of which 226 are already installed at CERN.

I wonder how many Pakistani news channels picked this positive news coming from Pakistan ? Did you know at least? Why not tell others why you feel proud as a Pakistani on it?

References: