Make your websites run faster, automatically – try Google’s mod_pagespeed for Apache

Posted: November 4th, 2010 | Author: | Filed under: IT Related | Tags: , , , | No Comments »

Page Speed is an open-source project started at Google to help developers optimize their web pages by applying web performance best practices. Page Speed started as an open-source Firefox/Firebug add-on and is now deployed in third-party products such as Webpagetest.org, Show Slow and Google Webmaster Tools.

[Read more]


Fix for Spidermonkey Build Issue in Darwin

Posted: October 15th, 2010 | Author: | Filed under: IT Related | Tags: , , , , , | 2 Comments »

If any you found the following error msg while compiling Spidermonkey on Darwin / Mac ?

jsobj.c: In function ‘js_ConstructObject’:
jsobj.c:2686: warning: comparison is always true due to limited range of data type
cc -o Darwin_DBG.OBJ/jsopcode.o -c -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DX86_LINUX  -DDEBUG -DDEBUG_adnan -DEDITLINE -IDarwin_DBG.OBJ  jsopcode.c
cc -o Darwin_DBG.OBJ/jsparse.o -c -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DX86_LINUX  -DDEBUG -DDEBUG_adnan -DEDITLINE -IDarwin_DBG.OBJ  jsparse.c
cc -o Darwin_DBG.OBJ/jsprf.o -c -Wall -Wno-format -g -DXP_UNIX -DSVR4 -DSYSV -D_BSD_SOURCE -DPOSIX_SOURCE -DDARWIN -DX86_LINUX  -DDEBUG -DDEBUG_adnan -DEDITLINE -IDarwin_DBG.OBJ  jsprf.c
jsprf.c: In function ‘BuildArgArray’:
jsprf.c:644: error: incompatible types in assignment
make[1]: *** [Darwin_DBG.OBJ/jsprf.o] Error 1
make: *** [all] Error 2

Personally, i’ll answer yes 🙂

And here is a quick fix for the issue:

1) Open jsprf.c
2) Add the following lines in line 61 (js-1.7.0)

#elif defined(va_copy)
#define VARARGS_ASSIGN(foo, bar) va_copy(foo,bar)

Make sure it is now somehow similar to the following:

#ifdef HAVE_VA_COPY
#define VARARGS_ASSIGN(foo, bar)        VA_COPY(foo,bar)
#elif defined(va_copy)
#define VARARGS_ASSIGN(foo, bar)        va_copy(foo,bar)
#elif defined(HAVE_VA_LIST_AS_ARRAY)
#define VARARGS_ASSIGN(foo, bar)        foo[0] = bar[0]

3) make -f Makefile.ref
4) your spider monkey is ready in Darwin_DBG.OBJ directory 🙂

Credit: http://github.com/janl/couchdbx-core/blob/ff47372552d10df00d74cb7989dfed4a19a6040d/patches/js/patch-jsprf.c


Xanda’s Twitter Archive

Posted: August 30th, 2010 | Author: | Filed under: IT Related | Tags: , , | No Comments »

Ok here is a quick update. Ive created Xanda’s Twitter Archive which allows me and you to search my previous tweets (reply tweets are excluded) for future use 🙂


DontPhishMe v0.3.2 released

Posted: August 24th, 2010 | Author: | Filed under: IT Related | Tags: , , , | No Comments »

Mozilla just approved the sandbox version of DontPhishMe and now it is public 🙂 Get the latest version of DontPhishMe (v0.3.2) and feel free to comment and report bug


Most Secure Desktop Operating System

Posted: July 13th, 2010 | Author: | Filed under: IT Related | Tags: , , , , , , , | 8 Comments »

Mikko H. Hypponen: What do you consider to be the most secure desktop operating system at the moment in theory?

Charlie Miller: Probably Windows 7, although most are pretty comparable.

Source: Ekspress