Sunday, March 18, 2007

Previously I focused on XSLT & CSS

During the intern period @ intel, I focused on the XSLT and CSS to organize some XML data into a kind of static website. I feel the strength of XSLT and CSS's simplicity. They're great. Now, I feel the difficulties and boring of WEB application's forefront development. HTML, CSS, Javascript -- all the three you should master them, not understand, mastering is important. Then XML & XSLT you need to learn more, as something is very easy for you to do by using them. Flash ActionScript is another tool, as many fancy drawing or special effects are created by Flash. Except all of these, some dynamic script languages are also needed, such as ASP.NET. I heard from some websites' essays. ASP.NET seems faster than others. But recently, some FastCGI applications report that they can provide more powerful functions and faster responding speed than other popular technologies....

In conclusion, web development involves many technologies, any one of them could reach your goal and there is no absolutely good or wrong. Better always exists. What you need is to master one and use it well.Last but not the least, to learn other better technologies fast.

Freemind 0.8 unstable maybe, 0.9 beta is good

I do not know why my Freemind 0.8 suddenly failed to load some files. It always pops up some error dialog and failed to open some files. I switch to the online website and want to find a new update version. Luckily, I find 0.9 beta, it looks better and currently, it works well for me.

By the way, mind mapping is a great tool. I use it to record something I want to do and some good things with relations. There is one defect, my laptop's screen is too small, I always can not have a overall view of the map. I use the 50% zoom-out, but I cannot read the sentences...A big LCD screen, a good keyboard & mouse is very important for IT engineer.

Firefox Again & GreatNews & Bloglines

Long time ago, I abandoned the firefox and start to use opera. There are some reasons. As Opera is faster than firefox, and it uses less memory, useful notepad and feeds reading tool. But recently, I do not know why, maybe I am bored of opera's support to many websites. A lot of sites do not follow the opera to layout. So some of them could not be seen regularly under Opera. I switch to Firefox again, with some very useful add-ons, such as Firebug, web developer, tab mix, mouse gesture, and blue star theme. It seems better than before.

GreatNews is an offline RSS reader. I tried some rss readers in recent days, such as Firefox-plugins(Sage, Brief, ...), google reader, zhuaxia, bloglines, Puto, etc. Fortunately, I find GreatNews. It is very fast and support large quantity of Rss well. Although some one may recommends oneline RSS reader, I like offline ones. They are more convenient, I believe. By the way, an online one is also needed for some reason. GreatNews supports bloglines, too. Then you can have them by using GreatNews.

Saturday, March 10, 2007

Creative game, I believe

http://www.isoma.net/games/goggles.html


On this website, you can find a game based on google map. Although the graphic effect is not very good, the idea is more creative, I believe. People could use google map or earth create many new applications which are based on the real environment. This is better than Virtual Reality. As it is real~

Saturday, January 27, 2007

Disable the IE 7.0 Protection Mode~~

Recently, I find that if I enable the protection mode of IE 7.0, it will be unstable. Nearly everytime 
I open the IE 7.0, it did not work well.

But when I disable the protection mode, it works with nothing wrong until now. So I guess it's better 
to disable it. Or you can always run the IE 7.0 under administrator mode. 

Friday, January 26, 2007

VS 2005 do not support C ?

 For example, the bcmp() function in the string.h could not be compiled in VS2005... It will report link error.

I think that VS2005 may only support C++, not C...

Tuesday, January 23, 2007

Try it~

"It's not the right way, it's not the wrong way. It's the better way." 

This is what a tennis coach said. He said this sentence when someone asked him about the "open step" on playing back-hands. What he means is to try it. When a new technology comes out, the better way you do is to try it. When you try it, you will know how it works and the advantages or disadvantages of the technology. Then you will know whether it fits you or not.

What would my future be ?
Answer: Make it happen.

Saturday, January 20, 2007

VS 2005 could not debug C++ program

By default, you compile the C++ source codes and want to run it with debugging. You will get an 
information like "Could not find program.exe's debug info." or "Debug info is wrong, could not generate binary file".

Some people will think this is something wrong with his source codes, but it is the problem of his 
development environment. Bang~ You did not configure your Visual Studio correctly.

Solution:

Click the project properties, and get the property dialog pops up.   In the dialog, you can choose Debug Configuration, and modify the config properties. Under the "C/C++" tag in the property tree, you can see something insteresting to you on the right panel. There is a row called "Debug Info Format". By default, it is "Disable" or not configured.

If you want to make it works, just choose one option from the list clicked out. "C7 Compatible(/Z7)"/"Program Database(/Zi)" would be two of the possible options. In my case, I choose "C7 Compatible(/Z7)". It works when I re-debug the same program.

Execute cl.exe pops up mspdb80.dll not found error

If you install the Visual Studio 2005, and if you want to execute the cl compiler from the 
command line, definitely, you can get an error pops up.

Under windows standard command line, a dialog with string like "Cannot find mspdb80.dll" will come out;

Under cygwin command line, some unknown error dialog will come out;
     p.s.: Until now, I still can not fix the problem under cygwin.

Solution to Windows Standard Command line:

Just run the script "vcvarsall.bat" before invoking cl.exe program. Then the development environment will be set well for the current command line. After a successful string comes up, all is done, you can use the cl.exe normally.

Definition of IPO

IPO

(Initial Public Offering) The first time a company offers shares of stock to the public. While not a computer term per se, many founders, employees and insiders of computer companies have found this acronym more exciting than any tech term they ever heard.

Friday, January 19, 2007

A little thing about cl compiler

As we all know, using Visual C++ to compile a little program is not convenient. So I decided to use the cl compiler in the commandline to do this job.

1. Source codes: FolderUtility.h TestFolder.c
//=========================================
//FolderUtility.h part of the source
#include
#include
#include

using namespace std;

void CreateDir(char* path)
{
........
}

........
//==========================================
//TestFolder.c
#include "FolderUtility.h"
#include

int main(void)
{
CreateDir("./sub1/sub2");
EmptyDirectory("./sub1");
printf("Finished.\n");
return 0;
}

At first, I use the command: cl /GX TestFolder.c, but it did not work and pops up some errors.

2. Rename the file "TestFolder.c" to "TestFolder.cpp". Reuse the compiling command again, it works... This proves that the cl compiler will use the postfix of the filename to judge something in the process.

p.s.: /GX means enabling C++ exception handling;

I am not familier with the cl compiler, so there is a lot of things to dig if I want to use it professionally. 

You can see how others decorate their rooms~

http://www.normalroom.com 

There are many pictures of other people's houses, it is worth watching~

Monday, January 15, 2007

JDK/JRE 5/6 could not install on my VISTA

I did not know why, but the JDK/JRE 5/6 both could not install on my VISTA HOME PREMIUM... Could anybody tell me why?

I always get an error near the end of the installation. :( 

Online education resources

http://www.eliteskills.com/free_education/

On this webpage, it collects massive online education resources, such as MIT, Berkeley, CMU, or podcast materials. It is very helpful. Surfing it by yourself, give your comments if you like.

p.s.: I got it from solidot.org website.

Friday, January 12, 2007

Regular Expressions in SourceInsight

^ (at the beginning only)
    Beginning of line
.
    Any single character
[abc]
    Any single character that belongs to the set abc
[^abc]
    Any single character that does not belong to the set abc
*
    Zero or more occurrences of the preceding character
+
    One or more occurrences of the preceding character
\t
    A tab character
\s
    A space character
\w
    White space (a tab or a space character)
$
    The end of the line
[abcde]
    Matches any character within the set.
[x-y]
    Matches on any character within the range of x through y, inclusively.
[WXYa-z0-9]
    Character lists and ranges may be combined.

Shortcuts

Paren Left – Ctrl + 9
    Move to previous enclosing parentheses.
Paren Right – Ctrl + 0
    Move to next enclosing parentheses.
Ctrl + Shift + {
    Move to previous { block level;
Ctrl + Shift + }
    Move to next { block level;
Ctrl + G
    Move to a specified line number
Ctrl + F
    Search for occurrence of a pattern
    F4 – Search for next occurrence
    F3 – Search for previous occurrence
Shift + F9
    Go to next link in the search result
Alt + ,
    Go to previous location in selection history
Alt + .
    Go to next location in selection history

New technical blog~

This blog will become my new technical blog. The technical essays or my personal experiences will be published on this blog.

BTW, my personal casual space is: http://xyzgentoo.spaces.live.com, welcome to visit~