Search Ali's Blog

Tuesday, July 08, 2008

netper netserver on Windows tip

Q: I am running netserver on Windows (XP x64) and I am getting this error messaeg:
C:\>m:\mpi_db\svn.phoenix\trunk\scripts\netperfwin\x86_64\netserver.exe
netserver: fopen of debug file as new stdout failed!: The system cannot find the path specified.
What's wrong?
A: netserver need to open the file c:\\temp\\netperf.debug with write permission, so
Run: mkdir %HOMEDRIVER%/temp/
And make sure you can create files with write permission in it

Source: netserver.c
#ifndef DEBUG_LOG_FILE
#ifndef WIN32
#define DEBUG_LOG_FILE "/tmp/netperf.debug"
#else
#define DEBUG_LOG_FILE "c:\\temp\\netperf.debug"
#endif /* WIN32 */
#endif /* DEBUG_LOG_FILE */

Saturday, July 05, 2008

Search for faces by Firefox/Google

Recently, a friend of mine sent me a link of Google queries tips, I liked the one on how to make Google recognize faces for you, and below is how to make Firefox 3.0 make this easier:

1. Create new bookmark; select Bookmarks and right click on the drop down menu.



2. On the pop up window, enter:
Name: Google Search Faces
Location: http://images.google.com/images?q=%s&imgtype=face
Keyword: faces
Description: whatever u want




3. From now on, when you want to search for faces, on Firefox search bar type "faces name"
For example to search for Vin Diesel faces, type "faces diesel"


without this trick the results would be: