Saturday, September 30, 2006
I built a theme
I have followed the footstep of Shelly of aneko Studios who has written a great tutorial on how to build a WordPress theme. She has written in giving me valuable comments as well. I'll be attempting to improve the readability of my [tag]tutorial[/tag].
Friday, September 29, 2006
Barebones version 0.2
This is version 0.2 my barebones theme
- A bit more color, very light;
- comments.php added
- page.php added
With these 2 new files the theme is usable now, i.e. you can view a single post with comments and submit your new comments.
I’m still trying very hard to make it light, e.g. I am not using any unnecessary class selector for styling of fonts etc.
I’m also grateful that Shelly of aneko Studios has written in giving me valuable comments on my step by step tutorial to build a template, the dummies way of course as I’m still learning. I’ll be attempting to improve the readability of my tutorial.
This is barebones verions 0.1
This is a bare minimum theme named, for the time being, barebones that I developed.
When you keep changing styling and codes of a theme in use you can’t roll back unless you keep all previous versions of style sheet files and code files. In developing this template I use html to dispaly each step and php for repeating text.
Head over here to step through each step of the building of this bare minmium template.
Of course this is not really usable yet.
Thursday, September 28, 2006
IPO = deforestation
It is easily understood that there are legal concerns behind making these prospectus available to potential subscribers but I see no excuses for these companies doing IPO not to attempt reducing paper use. As usual no organisation assumes responsibility of wasting paper.
If there is a will, there is a way!
Wednesday, September 27, 2006
Other sites I maintain
The other site I own and maintain for Professor Chan will have a touch up soon. There is a new version released for the theme [tag]LUSH[/tag] I used there. I am watching the comments there in sort of a "wait and see" mode before replacing the theme files.
Tuesday, September 26, 2006
Theory of Everything
I am half way in reading iCon Steve Jobs. Steve is named the greatest Evangelist of the high tech world I then come up with my view on the Theory of Everything, the human side of it.
Evangelist (who is full of Energy of course) = Mass x Courage x Committment.
Today whatever you do you are trying to win a "mass" of people. This "mass" could be your customers, followers, people that work with you or your investors. You can't turn vision into reality unless you have courage and committment.
In management basically you are selling/preaching/promoting something, it could be an incentive you offer to motivate, a vision, theory, yourself(charisma). A lot of people don't actually know what they are selling.

Saturday, September 23, 2006
Friday, September 22, 2006
My first 'wasn't mine' theme - Coffee N Cream
By the way Kaushal Sheth in his site just released this [tag]Coffee N Cream[/tag] theme using the same template without much changes made to it. You can compare mine with his.

Thursday, September 21, 2006
Simple Recent Comments Plugin
This plugin works OK for all 4 themes I use here with theme switcher. I have recently made changes to it as follows:
- Add 5th argument to add text behind name of commenter, default is "...said: ", you can omit this if you like.
- Add "days/minutes ago" when comment was made.
Click open 5 recent comments on my sidebar here to have a look.
Wednesday, September 20, 2006
Maxthon 2 Preview
Their latest public 2.0 preview is available as of September, see their blog post here. I have a few minor problems during starting after installation. Be reminded if you have a previous version of Maxthon please make sure you have all your plugins uninstalled before starting this preview version.
So far I just like the speed of it. It also imports Firefox's favorites quite easily.
Tuesday, September 19, 2006
Header image
I just like the image, other colors don’t match….OK give me some time or comment. Sister said it’s OK, what do you say?
Header image
For me it is a matter of first impression you either like it or you don't. It's hard to explain why. If you are just blogger who believes outlook is more important than content then you'll be hunting for better themes naturally. If you like to play with the codes behind WordPress (they said "CODE IS POETRY") [tag]Kubrick[/tag] isn't the one for beginners. From WP's support forum even the moderators said Kubrick theme is notoriously difficult to tweak.
I come across this support forum post recently. Now if you are bored with the blue simplistic header image of Kubrick theme you now have more than 50 different choices of header image which you could replace the boring simple blue default color header. These images are really nice and they are from stock.xchng. Perhaps I should also look for one to replace my own version of Kubrick theme which is available at my theme switcher here.
Monday, September 18, 2006
Coffee N Cream
It's quite nice in Firefox but not so perfect in IE7 RC1 that I'm using. In IE the sub-categories don't get the indent and fonts are not very smooth for some reasons.
It FF it's almost perfect. The template isn't mine, credits in the footer and codes are mostly from WP's default Kubrick theme. The sidebar codes are inspired by Fauxzen's NewZen theme. This time, instead of using his code files, I have done it from ground up making sure I understand fully how to build it up from scratch. I think I could convert sidebar of any theme now to collaspable type just like this.
I'm looking for a nice and matching header image for this theme which I have yet to find a name for.
Friday, September 15, 2006
Still on Coffee N Cream
Tonight have also standardized the font size for the sidebar. For me it's a lot quicker to debug if sizes are specified in pixel rather than in em.
The current todo list:
- Alignment for post title with post body;
- IE7 compatibility at sidebar (not urgent);
- Use image for the header (yet to look for one);
- Collaspable sidebar group (hesitating);
- Further simplify CSS file;
Use your Firefox head over here to have a look. Leave your comments or any ugly things you saw in here.
Thursday, September 14, 2006
New Set of Code Files
I have replaced the codes last night. The codes behind are mostly from Kubrick now.
The CSS have also been improved/tidied up a bit with a trick for shallow for blockquote now added. See this example here. For more CSS tricks see CSS Play.
Put this to use is a bit clumsy. You have to put 2 nested classes around the ‘blockquote’ tags. I wonder if there is a easier way.
For a smaller box like this a different class is used.
I’m developing this on FF and everything looks fine. On IE7 RC1 the colored box within the blockquote box is a bit out, thatcan be fixed I guess but not a priority at the momentnow fixed.
The tag cloud is also not working in IE7 wonder if a special class is required just for this browser
Wednesday, September 13, 2006
Coffee N Cream
This is my first attempt using someone's CSS template and build a theme. It's at very early stage and there are lots of fine adjustment to do.
Coffee N Cream
This is a new theme using template from CSS design templates. A bit of testing here
- first item
- 2nd item
- third item
- Number 1
- No two
- Three
Goodies:
Simple codes only 9 files
Clean codes, doesn’t support widgets
Complete freedom to add your scripting tricks
No customization panels
No Ajax
No javascripts
Good for beginners
Bad:
Doesn’t support widgets
Not for geeks
Too plain
Tuesday, September 12, 2006
Monday, September 11, 2006
Sunday, September 10, 2006
Google Analytics
I wonder if I have to change the LUSH theme there to tell the difference.
Saturday, September 9, 2006
Avant Browser
I wonder why evolt.org browser archive hasn't got Avant in their list?
If you want to try latest beta of Avant get it here. It appears that Avant just uses whatever IE engine installed on your PC.
Search bar within meebo
Here is my 2cents. When I hit return after entering search text it pops up into another tab or window showing the search results. Why doesn't it open up another small, resizable window within meebo? When the right search result is found then the user can jump right out. Browser within browser (or P-in-P) is so common now, check out Bitty it's cool.
I hope they are adding more search providers in due course.
Friday, September 8, 2006
Link or Button
If you don't like to see ugly default button you could turn button into link using either javascript trick here or CSS as in this example here.
The javascript way is a bit clumsy to me as I'm not yet comfortable with javascript. I like the CSS approach as you have lots of freedom to do what you like.
If you really like button and want to design your own here is a good reference here in CSS Library.
Thursday, September 7, 2006
Historical archives
I was browsing in one of the very famous bookstore in town last Sunday and found something very interesting. That bookstore is famous because it's pretty "old". For that fact alone I don't think they have many customers from the IT sectors.
That is alright in fact but since everyone says space is a premium in town so if you are the store manager would you keep below books in your store?
- How to use Internet Explorer 3
- IIS 2
Incidentally both books are from Que. I'm not saying Que's books are no good, they are just there for no reasons.
Wednesday, September 6, 2006
Evangelists and "larger than life" causes
True entrepreneur has "larger than life" causes. They are certainly not after wealth for oneself or their family. Entrepreneurs are natural risk taker but their goal is to bring wealth to the people and community. Are you working for one of those?
IE7 RC1
It's a lot better I would say. It's faster and the display, especially fonts, looks a lot smoother. I still don't like where the tabs are as they are mingled with other menu items. I could get rid of those menu items but it would be better if they can be put in a separate row. If you have lots of tabs the Quick Tabs (Control+Q) is good providing thumbnail shot of tabs for quick navigation.
One important thing above all, meebo is working fine in this version of IE7.
Monday, September 4, 2006
Religion
a system of social coherence based on a common group of beliefs or attitudes concerning an object, person, unseen or imaginary being, or system of thought considered to be supernatural, sacred, divine or highest truth, and the moral codes, practices, values, institutions, and rituals associated with such belief or system of thought. It is sometimes used interchangeably with "faith" or "belief system"[1], but is more socially defined than that of personal convictions...
I had to participate in "partnering" in a large scale construction project. One of the slogan (from those who "sell" partnering) I heard about partnering is "...the way we used to do business...". One of the routine that participants of partnering had to do is meeting regularly and submit individual scores against partnering charters. My comment at some meetings was that I see partnering as religion, i.e. you just need faith and you must go back and revisit your committments every week as if church visit every Sunday. Most people laughed and couldn't quite agree.
I don't see why people don't agree really. The ingredients of religion which resemble the intents of partnering have been underlined above, can you see my point now? Contracts are getting thicker and thicker. Lawyers are getting richer and richer. The parties to a Contract have mistrust built into the document by the time they signed on the line. If you don't believe in the partnering charters with blind eyes and throw away selfishness, ego and establish common goals partnering is a complete waste of time and money. It could be worse as some may think that partnering could be used to exploit interests of others.
Flickr you are the best, still
Imagine that you have a number of photos belonging to one set just uploaded to your account. Once you have signed in you'll see that "sets" appearing. Click the edit link you'll arrive in photo organizer. Above your photos there is a "batch edit" link, in the drop down menu you'll find "titles, tags, and descriptions", "change permissions", "change licenses", "add tags", "change dates to same day", "rotate", "send to group" and "add photos to the map". The feature I wanted is "send to group". Without this I had to add each photo to a group individually.
Friday, September 1, 2006
About me
- 48 - This year is full of movement (so far). I seldom have to travel in recent years since I don't like it but I have done a few trips in the first half of this year. I have been to ZhaoQing, Wuxi, GuangZhau, Japan...would there be more, I don't know. Year of Pig will not be easy.
- 47 - This year is special. I completed my 2 years EMBA programme in Chinese University of Hong Kong. Incidentally the legal battle at work has also come to an end in July after an intensive 4 days exciting adventure which I briefly mentioned here. What's next, I don't know?
- 46 - Very soon I'll be on earth for this number of years
- 45 - I have affinity to number 15 for some strange reasons and I have done 3 Contract 15, therefore a total of 45
- 44 - When I was this age we lived in 22/F above Broadwood Road for about 22 months with a nice view but an expensive place. A view of fireworks every night at 8pm at either kitchen or the bedroom, even Douglas was bored with it.
- 43 - That year we moved out from a remote town of Tai po to Happy Valley then we realize how severe air pollution was in Hong Kong. Too bad this is for my son Douglas and it was an order
- 42 - Douglas, my son, was born
- 41 - A happy year, as my wife said as well, Douglas was a happy boy even before he was born
- 40 - What a nice round number but my life was extremely difficult at work. Never before in my life I thought of quitting
The title of the site is inspired by George Orwell's little book called "Why I Write". For more information about George Orwell see Orwell. At work I have to write a lot of boring stuff. All letters that I wrote fall into a template we use for business, contract, yet to form relationships (very little of this sort as I don't really sell things). Ironically we don't actually mean what we write in those letters. At the end of a big job we had to find our way out from a grave we buried ourselves in with tons of paper. You want to know how many trees we killed? Try these links for paperless office and paperless. It was also because of that drive to keep my head above an ocean of paper I was attracted to coding. Too bad what I have learnt is made outdated by waves of new way of doing things and technologies. I have started blogging in January 2005 since then have written and posted quite a lot. It was partly due to the assignments I have to do for my EMBA.
I don't code for a living, I write scripts for fun. I owned an Apple II clone at the beginning of time and was fortunate enough to have used first generation of IBM PC/AT this fact alone qualifies me to the Museum if I were in the IT high-tech industry, fortunate enough I'm not. I believe software, both the use of and design/development, should be easy enough for laypeople. It should be as easy as chess that has a place in elderly home.
ASP 3.0 was my favourite some years ago as it was BASIC enough. My attempt to climb ASP.Net 2.0 was not smooth hence making the switch to PHP/MySQL real fun. In fact I love opensourceware and believe in the power of the community.