Windows Live Mesh

January 4th, 2009

https://www.mesh.com

Seems good. Synchronise with all your data from various machines and locations. and plus it has a 5gb online free folder. Worth a look.

So what is GCC / Open Source?

September 11th, 2008

You see that alot and what is it? for every programmer novice or seasoned, its for sure you will come across open source. Open source is not free. Its just that the code is released to the public. To see if its reusable for your own applications, it will have a license, either Apache or GPL General Public License. Do read the terms before you use them. So what is GCC? It is a group of open compliers that GNU has built for the public. GNU project has been developing this for a long time. Thus you have IBM or Microsoft C, C++ compliers and you have GNU compliers. So why support public? Easy as 1,2,3 … this is because, they will always be there, open to the public, will not cease to be developed due to company crash or other matters. So go GCC. do your bid and help.

Thanks to Daniel C. Douglass at ASPAlliance

August 28th, 2008

Adapted from ASPAlliance

Thanks to Douglass who submitted this where it explains on how to access Public variables/functions of a Dynamically created User control or custom control in ASP.net c#. Apologies if this post upsets anyone in infrignes anything. Please contact me to let me know if theres a problem.

Enjoy

——————————————————–

Title: Solution to accessing properties dynamically
Name: Daniel C. Douglass
Date: 5/20/2005 12:25:31 PM
Comment:
Class name of Custom Control: New_Vote
Public Properties (in New_Vote): DirectorName, VoteID
Custom Control Filename: New.Vote.ascx

The following code should be placed in the code-behind of the web form calling the user control:

//### load user control
Control c = LoadControl(”Controls/New.Vote.ascx”);

//### cast the generic control to be voting control
New_Vote Vote = (New_Vote)c;

//### set control properties
Vote.DirectorName = “Daniel C. Douglass”;
Vote.VoteID = 117;

TitlePanel.Controls.Add(Vote);
This should help everyone!

Noobs setup for Cactus Framework CCTK

August 26th, 2008

Wow. its really a challenge for me to install Cactus tookit. 1st step done and next step coming. I would strongly suggest to view http://www.cactuscode.org/WaveToyDemo/ if you have not played with cactus before. Good luck!.

I have had success installing it on Ubuntu Linux. Remember to use make instead of gmake as described in the installation procedure. You might have to install GFortran, CVS, GCC C++, GCC C. I cant remember all of them, but when you try to compile using the make, it will let you know if you are missing certain packages. Just carry on and install the missing ones.

Installing Chinese Input on Ubuntu Linux

August 24th, 2008

Installing chinese on ubuntu linux is quite straight forward.

1) goto System -> Administration -> Language Support

2) Check chinese in the list and also check enable support to input complex characters.

3) reboot.

Tibet, tibet and more tibet

August 24th, 2008

Hmmm. Sometimes we can all blame the media for manipulating facts. What we see and hear, we should not always 100% believe. Things about Tibet perhaps some didnt know. Its a buddhist country and has a long history back to 600 BC where it was then ruled as its own kingdom. Shortly after it joined under a unified central government into China and became its province where China has lifted taxation and allowed its own management party plus funding it from Chinese central government. Offering protection with troops dispatched into its central government. With respects that Tibet is run on religion based (No war and army policy), offering protection is one of its ways to protect its people.

Every country has its dark side where decisions are made wrongly causing casualties. Even dating back to 1700,  where the infamous joint allied troops consisting of UK, USA, France, Japan..etc 8 countries invaded plundered and massacred right into the heart of China, thru Tibet and South china. In our new generation, we understand this to forgive and forget about past generations.

In terms of economy, I certainly have to weigh the benefits and downfalls under Chinese rule. Tibet has high lands and a high volume of poverty and low provided education since ages. When China assimilated Tibet as a province, Tibet benefited from Chinas central economy boom and equal support.

I now have to say, perhaps if one truely asks a Tibetian (provicial name like Beijinese, Xichuanese, Cantonese are part of the over 60 cultural ethnic groups in China), they are infact quite pleased to be as a family in China.

Now back to the revolts and unpleasantness in everywhere else in the world, if people sympathizes with some treatment that is made to Tibet. Its in fact the same situation, like a group of extremists who has an alternative plan stages revolts. Even in British rule, such actions would not be tolerated.

I have to say this are government to government movement and decisions, as it would be more civilized to act and negotiate than blindly following the media, making a fool of ourselves, or gain some personal attention.

The bottom line is, if we are all so good at politics perhaps we dont even need our own government, we can run it ourselves; This is of course wrong. I say let the experts at these field handle this. Do what you are best at and stop meddling in other peoples problems when we cant even handle our own.

CVS and SVN versioning control system

August 12th, 2008

After looking at various SVN and CVS products, I find that tortoiseSVN and tortoiseCVS from sourgeforge has to be the most user friendly and easy (No messing about) product for Windows. Unfortunately there are none for linux and mac. There are however some great alternatives but I wont be going over them today.

So what is SVN or CVS? Bottom line is, if you are a developer, or freelance or someone who codes, its a bonus point to put on your CV that you use a Software Version System. All products, codes, websites, applications use at least some form of versioning system. The basic idea is that it is a central server that hosts all the current/latest version of the code including previous versions, so that one can “revert” back to older versions if necessary. The software also helps in resolving conflicting code and helps plan out software releases and bug fixes versions.

They can be found at [ http://tortoisesvn.tigris.org/ ] and [ http://www.tortoisecvs.org/ ]

Butterfly and Death

August 5th, 2008

There are articles of life and death. To me, I believe in the natural state of evolution and death occurs as a process. However in certain times, there is something bugging me and it seems like the occurance of appearing of oddly massive butterflies or moths happens when someone related to you has just passed away (or on). Perhaps its true that death is only an occurance and part of living on and transformation of 1 matter to another.

BeBox does not work with Dell 1450 Adapter

June 28th, 2008

The BeBox (Thomson TG585) from Bethere.co.uk does not work with dell 1450 wireless usb  Adapter by default. I have tried various settings and apparently the adapter does not support WPA2. So just set it only use WPA in your admin area by clicking on the Bebox under home network and saving the setting. This should work fine are rebooting both your pc and router.

Chinese Idioms

June 23rd, 2008

曾经沧海难为水,除却巫山不是云
昨夜梦故里,心系明月忆,亲者在天涯,何以有羽翼
海到尽头天是岸,山登绝顶我为峰
去年今日与君伴,今日空留伊自赏
一曲肝肠断,天涯何处觅知音
同是天涯沦落人,相逢何必曾相识
去年今日此门中, 人面桃花相映红, 人面不知何处去, 桃花依旧笑春风
猪  你的鼻子有两个孔