Stardate 20040101, somewhere in the Milky way galaxy: Enterprise has encountered a strange entity, which has identified itself as....The Blog
Tuesday, December 30, 2008
My Engineered Universe
The 1st user-space application, also written in c was the Jinn. It included some cutting-edge non-Artificial Intelligence and were able to make decisions based on their nAI engines. Pretty cool, but they ended up writing into each others memory spaces and causing general havoc on the Earth virtual machine. Meanwhile the nAI engine was modified and re-written using a new programming Language c++(clay) and was called Adam. So impressed was the Engineer that He ran a demo of Adam on the directly on the live platform with an instance of the Jinn called Iblees (a.k.a Devil). Iblees and the Angels were asked to give up some CPU in awe of Adam. The Angels obliged, but the nAI engines of the Jinn kicked in, in particular a variable called
Pride and Iblees refused.
Iblees was taken off the live platform and run in one or other virtual machine and another instance of Adam, codename Eve was run on Live. Iblees somehow managed to spawn a trojan horse (worm-snake) that accessed the memory space of Adam and Even, causing them to access a read-only Apple file (iTunes?). The Engineer, upset that the new nAI engine was not behaving, decided it was time to do some real capacity testing with Adam to see if the nAI engine could self-correct and withstand attacks from other malicious c code. Adam, Eve, Iblees were all put onto the Earth VM (with some Jinn instances already there) and given the ability to spawn multiple instances. Each instance was given a max time-to-live and assigned a logger Angel.
A time was set for the capacity test afterwhich the logs will be examined. Each instance of Adam that withstands the malicious attacks of Iblees and his Spawn will be put onto the Live platform, the rest together with Iblees will be put onto a Windows based VM called Hell.
Saturday, December 06, 2008
How to get Google Friends Wall Gadget to work on WordPress
Once you're done customising your gadget you will end up with code like this:
<!-- Include the Google Friend Connect javascript library. -->
<script src="http://www.google.com/friendconnect/script/friendconnect.js" type="text/javascript"></script> <!-- Define the div tag where the gadget will be inserted. -->
<!-- Render the gadget into a div. -->
<script type="text/javascript"><!--
var skin = {};
skin['BORDER_COLOR'] = '#cccccc';
skin['ENDCAP_BG_COLOR'] = '#e0ecff';
skin['ENDCAP_TEXT_COLOR'] = '#333333';
skin['ENDCAP_LINK_COLOR'] = '#0000cc';
skin['ALTERNATE_BG_COLOR'] = '#ffffff';
skin['CONTENT_BG_COLOR'] = '#ffffff';
skin['CONTENT_LINK_COLOR'] = '#0000cc';
skin['CONTENT_TEXT_COLOR'] = '#333333';
skin['CONTENT_SECONDARY_LINK_COLOR'] = '#7777cc';
skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666';
skin['CONTENT_HEADLINE_COLOR'] = '#333333';
skin['DEFAULT_COMMENT_TEXT'] = '- add your comment here -';
skin['HEADER_TEXT'] = 'Comments';
skin['POSTS_PER_PAGE'] = '5';
google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
google.friendconnect.container.renderWallGadget(
{ id: 'div-YYYYYYYY',
site: 'XXXXXXXXXX',
'view-params':{"scope":"SITE","features":"video,comment"}
},
skin);
// --></script>
The guilty code is highlighted above. This needs to be replaced the following code on your page/post:
<script type="text/javascript" src="/scripts/wall.js"></script>
<script type="text/javascript">
<!--
doWall();
//--></script>
and the code you cut out needs to be pasted into a separate file "/scripts/wall.js with some minor adjustments as highlighted below:
function doWall(){
var skin = {};
skin['BORDER_COLOR'] = '#cccccc';
skin['ENDCAP_BG_COLOR'] = '#e0ecff';
skin['ENDCAP_TEXT_COLOR'] = '#333333';
skin['ENDCAP_LINK_COLOR'] = '#0000cc';
skin['ALTERNATE_BG_COLOR'] = '#ffffff';
skin['CONTENT_BG_COLOR'] = '#ffffff';
skin['CONTENT_LINK_COLOR'] = '#0000cc';
skin['CONTENT_TEXT_COLOR'] = '#333333';
skin['CONTENT_SECONDARY_LINK_COLOR'] = '#7777cc';
skin['CONTENT_SECONDARY_TEXT_COLOR'] = '#666666';
skin['CONTENT_HEADLINE_COLOR'] = '#333333';
skin['DEFAULT_COMMENT_TEXT'] = '- add your comment here -';
skin['HEADER_TEXT'] = 'Comments';
skin['POSTS_PER_PAGE'] = '5';
google.friendconnect.container.setParentUrl('/' /* location of rpc_relay.html and canvas.html */);
google.friendconnect.container.renderWallGadget(
{ id: 'div-YYYYYYYY',
site: 'XXXXXXXXXX',
'view-params':{"scope":"SITE","features":"video,comment"}
},
skin);
}
Figured this out using this guide. Results can be viewed on my comment wall.
Thursday, December 04, 2008
A script for adding multiple twitter follows....
follow.py is the result.
Usage: ./follow.py <twitter username> <twitter password> <filename.csv>")
Copy the code above and save it using notepad as follow.py
You will need a python interpreter and the python-twitter API to run it. Tested on Linux but should run anywhere.
The input file can be either:
friend1
friend2
friend3
or
friend1,friend2,friend3
or
friend1,friend2
friend3
Disclaimer: I will not take responsibility for loss of life, revenue, sex drive, property or any negative consequence suffered as a result of using the above code.
[gallery]
Friday, November 28, 2008
Synch your phone (Nokia, SE, Other) with itunes
Thursday, November 27, 2008
New features on noknok
MTN's instant messaging platform noknok has been updated.
New features:
- Available to Vodacom, Cell C, Virgin Mobile users (Anyone in South Africa).
- Google Talk Integration (Add Google Talk users).
- Advertisement banners
- Support for services, e.g. News feeds, Twitter, AI bots.
A huge step in the right direction, but not quite there yet.
Easiest way to download, visit http://im.mtn.co.za/download
Best client, PC client, available at www.noknok.co.za
Thursday, November 13, 2008
wheres the page-down and page-up on the Nokia e90????
Obvious shortcomings...
My next post will illustrate by way of example what I mean...
Wednesday, November 12, 2008
New Path Found To Antibiotics In Dirt(Sand)
Thursday, November 06, 2008
MTN subs have fax 2 email (not advertised)
If you visit the MTN website imail page you can configure your email details.
Then, if anyone sends a fax to 08314(+last nine digits of your MTN cell number) you will receive the fax as an email!
Wish they'd advertise these things.
Friday, October 24, 2008
GSM Network codes (call barring etc.)
*351*0000*11# (In country), or
351*0000*10# (out of country)
TO DIVERT CALLS
ACTION | CODE |
Deactivate call diverts | ##002#@ |
Deactivate all conditional diverts | ##004#@ |
Activate all conditional diverts | **004*DestinationNumber#@ |
@ = Send/OK button on your mobile phone
DIVERT ALL CALLS
Action | Hash Codes |
Deactivate automatically divert all calls to Destination Number | ##21#@ |
Deactivate automatically divert all calls to Destination Number | #21#@ |
Set and Activate divert all calls to | **21*DestinationNumber#@ |
Activate divert all calls | *21#@ |
Status of automatically divert all calls to Destination Number | *#21#@ |
@ = Send/OK button on your mobile phone
CALLNOT ANSWERED
ACTION | CODE |
Activate and Set call divertion when not answered | **61*DestinationNumber#@ |
Deactivate and turn off call divert when not answered | ##61# |
Deactivate call divert | #61#@ |
Activate call divertion | *61#@ |
@ = Send/OK button on your mobile phone
DIVERTS FOR ALL CALLS
ACTION | CODE |
Set and Activate divert all calls to | **21*DestinationNumber#@ |
Activate divert all calls | *21#@ |
Deactivate divert all calls | #21#@ |
Status of automatically divert all calls to Destination Number | *#21#@ |
@ = Send/OK button on your mobile phone
DIVERTS WHEN PHONE IS UNREACHABLE
ACTION | CODE |
Activate call divert when not reachable | **62*DestinationNumber#@ |
Activate call divert | *62#@ |
Deactivate and turn off call divert if unreachable | ##62#@ |
Deactivate call divert | #62#@ |
Status of call divert if not reachable | *#62#@ |
@ = Send/OK button on your mobile phone
DIVERT WHEN PHONE IS BUSY
ACTION | CODE |
Activate call divert when busy (engaged on another call) | **67*DestinationNumber#@ |
Activate call divert when busy | *67#@ |
Deactivate call divert when busy | ##67#@ |
Deactivate call divert when busy | #67#@ |
Status of call divert when busy | *#67#@ |
BARRING ALL OUTGOING CallS
ACTION | CODE |
Change password for call barring | **03*330*oldPW*newPW*newPW#@ |
Activate barring for all outgoing calls | **33*PW#@ |
Deactivate barring for all out going calls | #33*PW#@ |
Statusbarring for all out going calls | *#33#@ |
@ = Send/OK button on your mobile phone
ACTION | CODE |
Activate barring for all calls | **330*PW#@ |
Deactivate barring for all calls | #330*PW#@ |
Statusbaring for all calls | *#330*PW#@ |
@ = Send/OK button on your mobile phone
BARRING ALL OUTGOING INTERNATIONAL CallS
ACTION | CODE |
Activate barring for all outgoing international calls | **331*PW#@ |
Deactivate barring for all outgoing international calls | #331*PW#@ |
Statusbarring all outgoing international calls | *#331#@ |
BARRING ALL OUTGOING CALLS
ACTION | CODE |
Activate barring all outgoing calls | **333*PW#@ |
Deactivate barring all outgoing calls | #333*PW#@ |
Statusbarring all outgoing calls | *#333#@ |
BARRING ALL INCOMING CALLS
ACTION | CODE |
Activate barring all incoming calls | **35*PW#@ or **353*PW#@ |
Deactivate barring all incoming calls | #35*PW#@ or **353*PW#@ |
Statusbarring all incoming calls | *#35#@ or *#353#@ |
BARRING ALL INCOMING CALLS IF ROAMING
ACTION | CODE |
Activate barring all incoming calls if abroad | **351*PW#@ |
Deactivate barring all incoming calls if abroad | #351*PW#@ |
Statusbarring all incoming calls if abroad | *#351#@ |
ACTION | CODE |
Activate call waiting | *43#@ |
Deactivate call waiting | #43##@ |
Statuscall waiting | *#43#@ |
RINGS UNTIL ANSWERED BY YOUR VOICEMAIL
If your mobile's voicemail number is, for example:
+27-82-131-987-6543
....and you want your phone to divert to your voicemail after say 20 seconds, then type:
**61*+27821319876543**20#
The time can be up to 30secs (network default)
ACTION | CODE |
Set number of rings | **61*YourVoiceMailNumber**N#@ |
Cancel previous Setting entered | ##61#@ |
N =Ring Time (up to 30sec)
@ = Send/OK button on your mobile phone
SEND/PREVENT YOUR PHONE NUMBER BEING SENT TO A PARTICULAR PHONE NUMBER
@ = Send/OK button on your mobile phone
ACTION | CODE |
Disable your phone number being sent | #30#DestinationNumber@ |
Enable your phone number being sent | *30#DestinationNumner@ |
Status of your phone number being sent | *#30# |
SEND/PREVENT INCOMING PHONE NUMBERS BEING SEEN ON YOUR PHONE
@ = Send/OK button on your mobile phone
ACTION | CODE |
Disable incoming number being shown on your phone | *77# |
Enable incoming number being shown on your phone | #77#@ |
Status of whether calling parties number is shown on your phone | *#77#@ |
ACTION | CODE |
Change PIN 1 | **04*PINOLD*PINNEW*NEWPIN1#@ |
UNBLOCKING PHONE USING A PUK NUMBER
ACTION | CODE |
Unblock PIN 1 | **05*PUK*newPIN1*newPIN1#@ |
DISPLAY IMEI NUMBER
Display IMEI Number | *#06# |
Source Code for masaajid map...
<gm:page title="Masaajid in South Africa" authenticate="false" onload="kmlPE()" gadget="true">
<!--
The mashup application demonstrates taking a Google Earth KML file and mapping it on a Google Map.
@author: GME Team & Valery Hronusov
-->
<h2>Masaajid in South Africa</h2>
<!-- Map definition -->
<gm:map id="map" height="600px" width="800px"
lat="-28.7500" lng="24.7700" zoom="5" maptypes="true"/>
<script>
function kmlPE()
{
var myMap = google.mashups.getObjectById('map').getMap();
var geoXml = new GGeoXml("http://yusufk.googlepages.com/masjids.kml");
myMap.setMapType(myMap.getMapTypes()[0]);
myMap.addOverlay(geoXml);
myMap.enableDoubleClickZoom();
}
</script>
</gm:page>
The above code can be easily pasted/ test using the Google mashup editor.
Wednesday, October 22, 2008
Run Mac OS X on a PC - I must try this!
Tuesday, October 21, 2008
How to add a News Bar onto your wordpress blog..
1stly, visit this site to obtain the necessary code..
Then, open you WP-ADMIN page and cick on Design -- Theme Editor
Click on the Header template.
Once loaded, insert the following lines from the Ajax code (cut from the generated code) right at the bottom of the header file (below the <hr /> tag):
<div id="newsBar-bar"><span style="color:#676767;font-size:11px;margin:10px;padding:4px;">Loading...</span></div>
And insert the other stuff just before the </head> tag:
<script src="http://www.google.com/uds/api?file=uds.js&v=1.0&source=uds-nbw"
type="text/javascript"></script>
<style type="text/css">
@import url("http://www.google.com/uds/css/gsearch.css");
</style>
<!-- News Bar Code and Stylesheet -->
<script type="text/javascript">
window._uds_nbw_donotrepair = true;
</script>
<script src="http://www.google.com/uds/solutions/newsbar/gsnewsbar.js?mode=new"
type="text/javascript"></script>
<style type="text/css">
@import url("http://www.google.com/uds/solutions/newsbar/gsnewsbar.css");
</style>
<script type="text/javascript">
function LoadNewsBar() {
var newsBar;
var options = {
largeResultSet : false,
title : "In the news",
horizontal : true,
autoExecuteList : {
executeList : ["Islam", "mobile", "science", "universe", "recipes"]
}
}
newsBar = new GSnewsBar(document.getElementById("newsBar-bar"), options);
}
// arrange for this function to be called during body.onload
// event processing
GSearch.setOnLoadCallback(LoadNewsBar);
</script>
Click on Update and its done!
p.s. It takes a few seconds to load the bar, depending on your bandwidth, you should see the word "loading..." as a placeholder.
Thursday, October 16, 2008
Review of the new Android (google) phone
Wednesday, October 15, 2008
Solution to SA crime, buy a gun?
The majority of people respond by saying that some or other stats show that most gun owners end up hurting themselves or end up being shot with the same gun. Where can I find these statistics?
As a Muslim, the Quraan makes it clear that we are meant to "enjoin good and forbid evil":
The Noble Qur'an - Al-Tauba 9:71
The Believers, men and women, are protectors one of another: they enjoin what is just, and forbid what is evil: they observe regular prayers, practise regular charity, and obey Allah and His Messenger. On them will Allah pour His mercy: for Allah is Exalted in power, Wise.
Are we forbidding evil by standing back and allowing thieves to take what they want?
Friday, October 10, 2008
New Blog!
Monday, September 29, 2008
Of course we live in a special place! Bye bye dark matter.
Of course we live in a special place! Bye bye dark matter.
Thursday, September 25, 2008
The beginning of the Universe
The beginning of the Universe
The Independent: Robert Fisk: Six years in Guantanamo
Robert Fisk: Six years in Guantanamo
Thursday, 25 September 2008
Sami al-Haj walks with pain on his steel crutch; almost six years in the nightmare of Guantanamo have taken their toll on the Al Jazeera journalist and, now in the safety of a hotel in the small Norwegian town of Lillehammer, he is a figure of both dignity and shame. The Americans told him they were sorry when they eventually freed him this year ? after the beatings he says he suffered, and the force-feeding, the humiliations and interrogations by British, American and Canadian intelligence officers ? and now he hopes one day he'll be able to walk without his stick.
The Independent: Robert Fisk: Six years in Guantanamo
Robert Fisk: Six years in Guantanamo
Thursday, 25 September 2008
Sami al-Haj walks with pain on his steel crutch; almost six years in the nightmare of Guantanamo have taken their toll on the Al Jazeera journalist and, now in the safety of a hotel in the small Norwegian town of Lillehammer, he is a figure of both dignity and shame. The Americans told him they were sorry when they eventually freed him this year ? after the beatings he says he suffered, and the force-feeding, the humiliations and interrogations by British, American and Canadian intelligence officers ? and now he hopes one day he'll be able to walk without his stick.
Monday, September 22, 2008
Prophet Yunus (Jonah's) prayer, from inside the whale!
Prophet Yunus (Jonah's) prayer, from inside the whale!
Monday, September 08, 2008
Friday, September 05, 2008
Recipe: Julie (mums) Chicken Pie
Cook meat in lemon , salt ,pepper and mustard. Break into small shreds. Make mash of 1 big potato.
Mix meat & mash , add about 1 tblspn chow chow or picallilly.
Layer both bottom of squared tin with half of dough. Spread with tomatoe sauce &mustard sauce. Than add meat filling and sliced boiled egg (egg optional). Lastly add grated cheese. Put second half of rolled out dough over. Make holes with fork, smear beaten egg and sprinkle with poppy seeds. Bake for 30- 45 min @ 180……….( dough from Indian delights- Mince in scones)"
Recipe: Julie (mums) Macaroni Salad
1 pkt noodles (elbow, straight, or screws) , boil & cool ( salt)
¾ pkt mixed frozen veggies
¼ kg white meat cooked in salt, lemon pepper and mustard powder. shred into small pieces .
When cool mix all together in large dish.
Sauce:
1 bottle mayonnaise
1 heaped spoon crushed garlic
½ green pepper cubed
Salt to taste +/- 1 tspn
Dash of pepper
Dash fresh ground pepper
1 tblspn sugar
spring onions
parsely
mustard
½ cup oil
mix sauce thoroughly than add to other ingredients. Refrigerate.
Recipe: Julie (mums) custard slice
2 cups flour
2cups b/p
Pinch of salt
½ cup milk
¼ cup sugar
2 oz butter (60g)
1 egg
1 tsp vanilla essence
Method:
Cream butter-sugar method.
Than roll 5-6 flat round cakes.
Bake in oven.
Custard:
1L milk 4 tblspn (level) custard sugar + condensed milk.
Recipe: Julie (mums) Chicken Pie
Cook meat in lemon , salt ,pepper and mustard. Break into small shreds. Make mash of 1 big potato.
Mix meat & mash , add about 1 tblspn chow chow or picallilly.
Layer both bottom of squared tin with half of dough. Spread with tomatoe sauce &mustard sauce. Than add meat filling and sliced boiled egg (egg optional). Lastly add grated cheese. Put second half of rolled out dough over. Make holes with fork, smear beaten egg and sprinkle with poppy seeds. Bake for 30- 45 min @ 180……….( dough from Indian delights- Mince in scones)"
Recipe: Julie (mums) Macaroni Salad
1 pkt noodles (elbow, straight, or screws) , boil & cool ( salt)
¾ pkt mixed frozen veggies
¼ kg white meat cooked in salt, lemon pepper and mustard powder. shred into small pieces .
When cool mix all together in large dish.
Sauce:
1 bottle mayonnaise
1 heaped spoon crushed garlic
½ green pepper cubed
Salt to taste +/- 1 tspn
Dash of pepper
Dash fresh ground pepper
1 tblspn sugar
spring onions
parsely
mustard
½ cup oil
mix sauce thoroughly than add to other ingredients. Refrigerate.
Recipe: Julie (mums) custard slice
2 cups flour
2cups b/p
Pinch of salt
½ cup milk
¼ cup sugar
2 oz butter (60g)
1 egg
1 tsp vanilla essence
Method:
Cream butter-sugar method.
Than roll 5-6 flat round cakes.
Bake in oven.
Custard:
1L milk 4 tblspn (level) custard sugar + condensed milk.
Tuesday, August 26, 2008
Tuesday, August 19, 2008
Why are there no 3G modems with video call support???
Or maybe I'm just not Googling properly....
Why are there no 3G modems with video call support???
Or maybe I'm just not Googling properly....
Sunday, August 03, 2008
Saturday, August 02, 2008
Wednesday, July 30, 2008
How to send a voicemail / voice mms with one simple call on MTN..
Next, dial the following number appending the last 9 digits of your friends number: 08314
For example, if your friends number is 0831234567 then dial 08314831234567
Leave a message and he/she should get either a voice MMS (if registered on imail) or a voicemail notification.
How to send a voicemail / voice mms with one simple call on MTN..
Next, dial the following number appending the last 9 digits of your friends number: 08314
For example, if your friends number is 0831234567 then dial 08314831234567
Leave a message and he/she should get either a voice MMS (if registered on imail) or a voicemail notification.
Sunday, July 27, 2008
Saturday, July 26, 2008
Monday, July 21, 2008
Friday, July 18, 2008
Coincidence that moon keeps one face to Earth? » Ask a Scientist | Earth & Sky
God does not play dice with the Universe....
Coincidence that sun and moon are same size? » Radio Podcasts | Earth & Sky
God does play dice with the Universe...
Thursday, July 17, 2008
Coincidence that moon keeps one face to Earth? » Ask a Scientist | Earth & Sky
God does not play dice with the Universe....
Coincidence that sun and moon are same size? » Radio Podcasts | Earth & Sky
God does play dice with the Universe...
Tuesday, July 15, 2008
Wednesday, July 09, 2008
Tuesday, July 08, 2008
launching browser - Developer Discussion Boards
Alert alert;
public void startApp() {
boolean b;
try {
b=platformRequest('http://www.mytoday.com/');
destroyApp(true);
notifyDestroyed();
}
catch (ConnectionNotFoundException ex)
{
ex.printStackTrace();
}
destroyApp(true);
notifyDestroyed();
}
public void pauseApp() {
}
public void destroyApp(boolean unconditional) {
}
}"