Friday, March 11, 2011

Training into the domestic game Breakthrough


IDC statistics show that in 2004 China Game Industry revenue as high as 3.65 billion yuan, up 46% over the previous year. But in this high growth market, at least 50% of market share to Japanese and Korean game makers divided, only made the game less than 30% share, Japan and South Korea game makers controlled 80% of the core technology.

From the domestic game market, the entire industry, most of the agent in South Korea, Japan, on behalf of foreign titles, each proxy agent the price of a game as much as 20 million ~ 50 million yuan, the network game, each additional an online player, the Chinese company will also pay to the other 30% divided into charges. Despite the rapid development of the game emerged in the grand myth of this industry, but the game industry in Japan and South Korea the real winner is the game developers.

Of course, the online games market is far from saturated, the future market will continue at an annual rate of up to 40% of rapid growth. Has forecast this year, online games market will reach 50 billion to 7 billion yuan. But look around, from the "Luna," "Millennium," "Dragon," "Legend" and "Heaven" to "Uncharted Waters Online" and "Nobunaga's Ambition Online", full of Korean-Japanese game makers figure.

Undoubtedly, the Chinese game industry is suffering from crush Japan and South Korea game, made the game to break through it? Continue to develop rich local cultural characteristics, excellent game, by many in the industry believe that the revitalization of the Chinese game industry is a must. The successful experience from South Korea and Japan, to achieve this requires the formation of a mature industry talents.

Development of market demand and the current game is seriously inconsistent with the domestic professional game is very scarce talent. It is learned that China has thousands of mobile game developers and more than 300 online game developer, game development professionals engaged in only 3,000. Gap in our country as much as hundreds of thousands of game professionals. On the other hand, our professional education system of the game has not yet formed, although since last year, appeared in Science and Technology Co., Ltd. Beijing Halls Puzzle (Games Academy) and a number of training institutions in the game, but because there is no successful examples can learn from these training schools struggling .

However, faced with a lack of talent, education and training need to be the industry's attention. University President Lee ST game, said game-college professional training schools represented are hoping to cultivate more and better game design and development talent.










College student hidden hard to guarantee the right to life and health worries



My favorite GAMES Kids



Wizard Personal Interest



VBScript ReDim Statement



First job out of the ivory tower beginning how the election



Simple Site Administration



Mpeg4 To Sony Nwz E444



WMV TO VOB



Using De exterminate rabbits annoying ads RMVB movies



Awdflash.exe Not Found Error Repair Pc Errors



DAT Converter



Saturday, October 23, 2010

JSP variable in the scope of the specification



JavaServer Pages (JSP) and JSP Standard Tag Library specification (JSTL) to Web developers to provide many useful tags (also known as operations). In addition, JSP 2.0 also provides two API, which is the standard API and simple tags tags API, used to build custom tags / operation. Inherited from the previous API JSP 1.x, and due to historical reasons, the use by the JSTL. (Due to the development of JSTL 1.0 in JSP 2.0 before, so the new API does not include JSTL 1.1.) Moreover, JSTL does not use JSP fragment and dynamic properties of the new features such as JSP. This article uses the JSP 2.0 API and features of the new build custom tag extensions JSTL. This article provides an overview of API and demonstrates how to develop

鈼?Export variable tag

鈼?conditions of tags

鈼?iteration mark

鈼?dynamic properties of the tag

鈼?Coordination tag

Simple tag API Overview

In JSP pages using custom tags, the application server JSP container will convert the call ... as tag processing methods like Java code. Therefore, if you want to develop custom tag, you must provide a tag handler, such standards must be marked using JSP 1.x API or the JSP 2.0 simple tag API. Compare these two API, will find the new API easier to use. Only a simple tag API Interface (javax.servlet.jsp.tagext.SimpleTag), which defines the method of dealing with custom tags. Usually from the JSP container automatically generated from the JSP page in the Java Servlet to call these methods.

javax.servlet.jsp.tagext.SimpleTagSupport class implements SimpleTag interface, so when the mark when dealing with only the preparation of an Extended SimpleTagSupport doTag () method can be. The following steps describe how to develop a simple tag handler class:

Step 1: Design custom tag

First, you must choose a name tag and set its properties. Then, create a tag library descriptor (TLD) file (using the JSP specification defines the XML format) to inform the JSP container how to handle and verify the custom tag. Text provides a sample TLD file called util.tld.

Step 2: Create tag handling class

Must provide an interface for achieve SimpleTag Java classes. The easiest way is to extend SimpleTagSupport or one of its subclasses. In this article VarTagSupport, IfTag and WhileTag class for extending SimpleTagSupport. Examples of other tag handler extension VarTagSupport.

If you want to use is not specified in the TLD file attributes, then the tag handler must implement the javax.servlet.jsp.tagext.DynamicAttributes interface (such as "dynamic attributes of the tag" section describes the MapTag example below).

Step 3: Initialize tag handle class instance

Each tag handling class must contain a public no arguments constructor for placing the initialization code. In this article address some of the tag type (EvalTag, ListTag and MapTag) contains a public constructor without parameters, it uses the default values instance variables initialized. Other (IfTag, WhileTag and ItemTag) no constructor. Please note, Java compiler in the class does not contain any constructors to automatically generate a public constructor without parameters, this function does not do anything.

Step 4: Method of providing property

JSP page tag attribute values through the setAttribute () method is passed to the tag handler. For example, this article includes four tag attributes: var, scope, expr and type. EvalTag handling class implements setExpr () and setType () method, inherited from the VarTagSupport setVar () and setScope ().

Dynamic properties of interfaces defined by DynamicAttributes setDynamicAttribute () method of delivery.

Step 5: Implement doTag () method

The method used to implement custom tag logic. doTag () method by the JSP container, after following all the property set method call. Here you can use getJspContext () to get a javax.servlet.jsp.JspContext object to access the JSP environment. Can call getJspBody (), which returns javax.servlet.jsp.tagext.JspFragment instance, the instance that is located in the main body and between the JSP. If you work together to develop the tags, such as and (the last part of this article will be introducing its), you can also use the getParent () and findAncestorWithClass () method.

Step 6: Test the custom tag

JSP pages using custom tags to use the tag directive to import the tag library. When the custom tag in JSP page, when, JSP container generates the class instance to create tag handling, call the property method and call doTag () method code. Therefore, the use of JSP custom tag implementation of the page call tag will handle class methods.

Limitations and workarounds

To simplify the tag processing API, JSP 2.0 adopted a limit: If the custom tag processing class is based on the simple tag API, then the page author and shall not be used between the JSP 1.x statement (), JSP 1.x expression ( ) and scriptlet (). In most cases, you can Java code in JSP page to move to tag handling class, or in JSP 2.0 Expression (${...})( can use the custom tag's body) to use JSTL. Please note, JSP 2.0 allows you to standards-based API for custom tag to use the body tag scriptlet. However, because the script does not use JSP pages easier to maintain, it is best to avoid the use of Java in the Web page code.

My previous Oracle Technology Network (OTN) article, "Using JSP 2.0 EL API" describes a simple tag API, and provides another limit workaround. JspContext class is not available on the JSP implicit objects (such as application, session, request and response) of the visit. Most application servers (including Oracle Application Server Containers for J2EE (OC4J) 10g) allows to convert the JSP PageContext context

Tag handler does not apply to the use println () statement generates a large number of reusable HTML code. JSP 2.0 this work provides a better way. JSP tag files to use the so-called by the JSP container syntax is automatically converted to a simple tag on the tag handler API. Another one of my OTN article "Creating JSP 2.0 tag files", introduced new features to this JSP.

Export variable tag

Many JSTL tags to achieve a logical and export JSP variable to report the results. For example, contains a var attribute must specify the SQL result set to save the JSP variable name. var property on the other JSTL tags (such as and) is optional. If the var attribute does not exist, then these tags will output their results. Var properties all contain the tags also contain a scope attribute that can be used to indicate the following JSP variable scope: page, request, session or application.

VarTagSupport class (which is an example of this development) Extension SimpleTagSupport var and scope attributes for the provision of setting method. VarTagSupport contains export JSP variables, access to the main content and practical method of output, rather than to achieve doTag () method. These methods from the sub-class VarTagSupport doTag () to use. This article includes four tag for the expansion VarTagSupport handling class (EvalTag, MapTag, ListTag and ItemTag).

Please note, JSP variable in JSTL specification called the scope of variables in the JSP specification, called the scope of named variables or attributes. These variables JspContext class by setAttribute () method to create / export. You can use the JSP page $ (varName), and the use of Java code JspContext the getAttribute () or findAttribute () method to obtain their values. Do not confuse the JSP tag variables and attributes.







相关链接:



Easy Graphic



ASF to AVI



Symantec said the new storm worm detected



"Chino conflict" Comment



DV to AVI



LIVEMOTION make the drop-down menu



MP4 to FLV



2007 College Graduates in Beijing reached 200 000



Restore usb flash drive



Cisco Crusade battle with Hewlett-Packard launched in China



PIMS And Calendars Infomation



DESKTOP Directory



Trust By The Bank Through The East, TongLINK / Q Acclaimed



Easy E-Mail Clients



Summer Cold! Photoshop To Add Some Ice Cup



Sogou Pinyin input method and How to do conflict game?



Monday, October 18, 2010

Dell is holding a 10 billion U.S. dollars in cash ready to deal



October 23, according to foreign media reports, Dell CEO Michael Dell (Michael Dell) Wednesday said it would use cash on hand for acquisitions.

Michael said the slowdown in demand as customers, Dell will re-adjust their business to enhance market competitiveness. At the same time, Dell will make use of their cash to make acquisitions and invest in infrastructure. According to Michael disclosed that Dell now has 100 million in cash and investments.

In addition, Michael also said the 8,900 job cuts previously announced plan has been completed. Dell in August announced the completion of 8,500 job cuts. Dell is currently no new layoff plans.







Recommended links:



RMVB to MP4



Pchnotify Exe Has Encountered A Problem Try



MKV to FLV



brief Genealogy



AUTOMATION is everywhere



CIMS Help Dragon Fly



Sohu Sina Hero Beyond The Seating Rearrangement



Easy to use Adventure And ROLEPLAY



Custom FTP enjoy the thrill OF speed of downloads



TS to MPG



Shop Languages Education



Spring Scene Photos Using Photoshop Will Be Processed Into Autumn Scenery



Beijing-Shenyang Expressway: Breaking the "separatism," the FIRST



Expert Backup And Restore



HTML 5 to replace Flash?



Saturday, October 9, 2010

PS7.0 landscape plan to add a rain effect


2. Light rain pattering

In fact, the operation to achieve the pattering rain and snow in the process to achieve essentially the same, but the details of the changes in the middle or a little before the "snow" to "Rain."

Effect diagram is as follows:



1. We just open the photograph of landscape material map, also the implementation of copy "layer copy" of the operation, such a simple question Needless to say instead.

2. Sure to select the "Background copy" layer, then the same ibid case of the implementation of "filter - pixel of - dot" of filter operation, a "dot" of the dialog box shown in Figure 9, the unit fill cell size 3, this value determines the size of raindrops.



Figure 9



Figure 10 (after the dot of the image filter effects)

3. Now we get the results in Figure 10 there is still a point as the snow flakes were the following, we not only want to slice into granules, but also the color of them removed. Implementation of the "Image - Adjustment - Threshold" operation, open the "threshold" dialog box will set the maximum threshold value of 255 Levels, Figure 11:



Figure 11



Figure 12 (after the implementation of the image threshold operation results)




[Next]



4. In the "Layers" panel will be "layer copy of the" mixed layer layer mode set to "color filter" copy layer "rain" effect into the background layer up, the effect shown in Figure 13:



Figure 13

5. Like rain and snow have dynamic characteristics, we implement "filter - Fuzzy - Motion Blur" in the "Motion Blur" box will be set from 18, the angle set to 75 degrees, shown in Figure 14. Thus, our results basically completed the rain, the effect shown in Figure 15.



Figure 14



Figure 15

6. But careful friend must have found that rain does not seem so vague it! Now we let the rain clear up, click on "Filter - Sharpen-USM sharpening" appears "USM Sharpening" box, adjust the "quantity" block plan to adjust the size of the extent of the rain. In this case the specific settings to Figure 16.



Figure 16

7. Thus, our results also rained out, the final results shown in Figure 17:



Figure 17






Recommended links:



YUV To AVI



Introduction Games Simulation



Open-source third-polar world



Compare ANTI-VIRUS Tools



3G Competition: adjust rates really can "cure"?



Acer said that no layoffs after the merger of Gateway



Top Personal Finance



Perfect Songs I Enjoy The Cool Music Box Full Support Win7



MPEG TO MOV



Anycool T518 Quad Band Tv Cellphone With Dual



DV to AVI



Photoshop Production - wire and spark



Directory Graphic CAD



Looking for a breakthrough signing strangers



Photoshop Swiss cheese food series



Saturday, September 25, 2010

C mixed programming with scripting



Write programs in linux, do network of people, more or less of several scripts.鑴氭湰璇█鐏垫椿鐨勫彉閲忕被鍨嬨?寮哄ぇ鐨勬鍒欒〃杈惧紡澶勭悊鑳藉姏锛屽啀鍔犱笂linux绯荤粺鏈韩鐨勭閬撱?閲嶅畾鍚戜互鍙婁赴瀵岀殑鍛戒护琛屽伐鍏凤紝璁╀綘缂栫▼璧锋潵娓稿垉鏈変綑銆?br />
The C language does have many advantages, but it is undeniable that many occasions, more convenient to use scripting language, such as we will illustrate the handling of the configuration file.

Take a look at our sample program tasks:

Suppose we have a program written with c, it has a configuration file user.conf, save some user information, user.conf defined as follows:

1) to comment line # at the beginning of the act, not treated

2) to allow blank lines

3), if not 1 and 2, it is valid data in the following form

# User.conf: configure file for user
銆??# username age backup bin conf config data eshow_sitemap.html generate.sh log maint sitemap.html svn tmp country
tom 20 male us
銆??chen 22 female cn
Each column is divided into four fields, between fields with one or more blank characters (spaces or tabs) separate the field followed by the name, age, gender, national

Our c procedures to be completed on user.conf the add, delete, edit, query

Such a simple task, together with c processing is not complicated, but also to spend something about, and if the scripting language used to do, very simply, can call the script in the c done it?

銆??Awk鏄痩inux涓婁竴绉嶈剼鏈瑷?紝瀹冪殑闀垮鍦ㄤ簬澶勭悊鏈変竴瀹氭牸寮忚鍒欑殑鏂囦欢锛屼緥濡傚挶浠殑user.conf銆?Information on awk, many, oreilly company out of a special awk programming books, the Internet also can be downloaded. You can also look directly man awk.

Let's see how combine with the shell awk to accomplish these tasks:

1) Add a record

銆??渚嬪锛岃娣诲姞 jack 18 male us 杩欐牱涓?潯璁板綍锛屽彲浠ョ畝鍗曠殑鐢ㄩ噸瀹氬悜鍔熻兘

Echo Ce "jack 18 male us">> user.conf
銆??鐜板湪锛岃繖鏉¤褰曡娣诲姞鍒?user.conf鏈熬浜嗐?

2) Delete a record

For example, the information you want to delete the user chen

cat user.conf awk '! / ^ chen: blank: + / print'> tmp.conf; mvCftmp.conf user.conf
3), editing a record

銆??鐜板湪锛屾兂鎶?tom鐨勬?鍒敼涓?female

Through the system () this function, we can call the above script in c to complete the task.

However, system () still feel uncomfortable with them, the lack of it is only for scripting, but can not get the script output data, which is usually our source of data for further processing. (In the shell and perl, you can by anti-quotation marks (``) to get the command output). One solution is to redirect output to a temporary file, then read the file in the c, to obtain data, and finally of course, delete this file. However, this method always make people feel a little uncomfortable, if the output directly to the script execution in the data input to our buffer to the better.

I wrote a small function, called my_system (), through pipes and redirection, to achieve the above ideas.鍑芥暟鍘熷瀷濡備笅锛?br />
銆??int my_system(const char* pCmd, char* pResult, int size)锛?br />Output data is saved to the buffer pointed to by pResult, the buffer size for the size, can save up to size-1 data.

Functions to achieve the final article on

With this function after calling the script in the c more convenient, we can use it to achieve user.conf inquiries.

4), query a record

銆??渚嬪锛屾垜浠鑾峰彇 tom 鐨勬?鍒?br />
銆??鍙互鐢ㄨ剼鏈繖鏍锋潵瀹炵幇锛?br />
銆??cat user.conf awk 鈥?^tom:blank:+/ print $3鈥?br />銆??鑴氭湰鐨勬墽琛岀粨鏋滄槸 tom鐨勬?鍒?male琚緭鍑哄埌灞忓箷涓?br />
銆??鍦ㄦ垜浠殑 c绋嬪簭涓紝濡傛璋冪敤 my_system()锛?br />
char buf101;
銆??my_system(鈥渃at user.conf awk 鈥?^tom:blank:+/ print $3鈥欌?,buf,101);
After the call finished, buf the data is the "male" a, how, pretty easy right?

銆??浠ヤ笂鍙槸鐢ㄧ粨鍚堣剼鏈畬鎴愪簡涓?釜姣旇緝绠?崟鐨勪换鍔★紝鎵?互鎴戞病鏈夋妸杩欎簺鑴氭湰鍗曠嫭褰㈡垚鑴氭湰鏂囦欢銆?If you are good at using perl, shell, awk, you can write a more powerful script file to handle more complex problems, then a similar my_system () method, in c / c + + and other languages to obtain the script output to achieve interesting "hybrid programming."

I hope you can have fun!

# Include
# Include
# Include
# Include
# Include
銆??static int my_system(const char* pCmd, char* pResult,intsize)
銆??int fd2;
int pid;
int count;
int center;
char * p = 0;
int maxlen = size C 1;
memset (pResult, 0, size);
printf (pipe error \ n);
return C1;
/ / Chile process
int fd22;
printf (pipe2 error \ n);
return C1;
close (1);
dup2 (fd21, 1);
close (fd0);
close (fd21);
銆??system(pCmd);
read (fd20, pResult, maxlen);
pResultstrlen (pResult) -1 = 0;
write (fd1, pResult, strlen (pResult));
close (fd20);
exit (0);
/ / Parent process
close (fd1);
p = pResult;
center = maxlen;
銆??while((count = read(fd0, p, center)))
p + = count;
center -= count;
break;
close (fd0);
return 0;
int main (void)
char result1025;
my_system (/ sbin / ifconfig, result, 1025);
printf (the result is \ n \ n% s \ n, result);
return 0;







相关链接:



DVR-MS to MPEG



MKV to Xbox 360



Review 0



AMD Intel on EU antitrust penalties comment



The secret of growth



Kodak V705 Dual Lens Camera Stabilization Cheap Listing Weekend



Family can offer car parking bus transfer brush 2 yuan per CARD



Internal control: harm than good, or at every step



WiMAX and TD-band battle began deemed to be an advantageous position in China



QuickTime To MPEG



Training Of New Employees Approach HR



Master Is Not Highly Educated Does Not Mean That High-income Elite



Servlet's Context and Config



Terminal And Telnet Clients evaluation



Convert for



Thursday, September 16, 2010

Job 10 kinds of unhealthy attitude towards students


Shyness. Lost in the written submissions and run job site, facing recruiters stammer, blush, such a person is naturally uncomfortable employer appreciated.

Career psychology. "Learning and the Official Career," an official is the only proper that, Qiaojiannaodai to "Yamen" drill, did not realize that these places are the relationship between strength and Competition, well very people who can enter, and the results are mostly ending up first broken blood flow.

Mental comparisons. Some students say "level", during which I feel results in the campus than you, honor more than you, "official" than you, of course, work should be better than you. But I do not know the employer does not judge talent as the sole criterion, the keen rivalry of the "outstanding student" can only in the "standing above the crowd" to appreciate the lonely days and lonely.

Psychotherapy. Some students lack of independence, go out to see the Federation Ella parents, classmates and companions, or a buddy to help co-applicants the same unit by fixing the future take care of each other, this non-assertive and enterprising graduates will be the employer abandoned.

Psychological dependence. They do not hurry to find work, which climbed all day thinking about the relationship between relatives and friends, get some money to buy a job, so I am afraid that difficult to do long posts bought.

Local mental.杩欎簺澶у鐢熶笉鎰垮嚭杩滈棬锛屽彧鎰垮湪鐪煎墠鐨勨?涓?憨涓夊垎鍦扳?閲屽氨涓氾紝鍙︿竴浜涗汉鍒欐棭鏃╃櫥涓婄埍鎯呮柟鑸燂紝姣曚笟鍚庝负涓庡彟涓?崐鐣欏畧鍚屼竴鎴樺鑰屾瀹堜竴鏂癸紝杩欐牱鐨勪汉榧犵洰瀵稿厜锛岄毦鏈変綔涓恒?

Conservative psychology. Lack of sense of competition, not the challenge, or holding modesty "virtue" without letting go, afraid to reveal their own strengths and characteristics of the tiger air, loyalty are not, such people are not naturally favored employers.

Low on the psychological.涓庝繚瀹堝績鐞嗙浉鍙嶏紝杩欎簺浜烘?瑙夊緱绔炰簤婵?儓锛岃嚜宸辨妧涓嶅浜猴紝閬傜敇鎷滀笅椋庯紝涓嶆暍瀵硅嚜宸扁?鏄庣爜鏍囦环鈥濓紝鎵句釜涔板鑽夎崏鍗栧嚭銆?For some units out of the unequal agreements entered into with eyes closed, serious risks to future work.
World-weary psychological. These students thought radical, trendy, always put "cool", did not go out looking for work, low wages and there too badly treated here, one that is their job to the boss, do not say you can not find the money owed was also down a bunch of money.

False psychology. Fake degree, fake certificates, fake honor, etc. are not knocking on the door of employment straw, can not fake after all long, but only harm their reputation, destroy their future.






相关链接:



Font Tools Report



Ts format



Using VMware, Vowed To Computer "cloned A Technique"



Flv to dat converter



Wizard Newsgroup Clients



Master IS not highly educated does not mean that high-income elite



Business IS business had to kind



youtube m4v



Organization Process definition



Ad Blockers evaluation



Landscape engineering company in Yantai in hand Weaver



Convert f4v to flv



Photo 6 Of A Tough, For The First Magic



IM: Decisive FORCE'S crowded



"Tomato Garden" case of first instance pronounced loss of Chengdu, a total of over 10 million SOFT



Paladin examination and Topics for 4 years (1)



My Favorite Site Administration



Thursday, July 29, 2010

Gates forecast: computer input will be "words rather than hands"



Microsoft Chairman Bill Gates recently forecast that "words rather than hands," will become the development trend of computer input.

23, according to U.S. media reports, Gates Carnegie - Mellon University, a speech, said that the role of the computer keyboard will gradually reduce in the future when people use computers will no longer enter text via keyboard, but with a voice to enter text.

Gates said: "This (with voice input text) is that we (Microsoft) is one of the goals and work hard." He believes that in the next 5 years, Internet search will be more accomplished by voice. Earlier, he had expressed similar views on many occasions.

Speech Technology in the spring will be temporary

After many years of accumulated technology, voice technology, the spring is approaching.

Speech recognition and synthesis technologies, including. Recognition refers to computer analysis of human voice and convert to text entered into the computer, replace the keyboard in order to achieve the technology to speak. Corresponds with the speech recognition computer text into speech synthesis technology.

After years of basic research, speech technology is now the key to a breakthrough in the moment.

The face of potentially huge market, the global high-tech companies have to voice technologies as contested. Chinese Chinese voice unit standard, Team Leader, vice president of USTC Telecommunications white fly strong interview, said that Google set up "1-800-goog-411" voice search services; Microsoft spent 800 million U.S. dollars acquisition the voice technology company TellMe; our domestic advanced speech technology company has been the large-scale application of speech technology.

Of course, the spring of voice technology to meet a lot of difficulties still to overcome, such as voice recognition can distinguish different tone so the same sentence. However, emerging technologies to go through a process of continuous improvement, improved steam engine was brought about by several large-scale industrialization, the fundamental advantages of voice technology doomed it will bring a new era.







Recommended links:



Flac To Wav



How to enhance the productivity of textile and GARMENT factories?



reviews PUZZLE And Word Games



Convert Dvd To Wmv



avc Player



How to save 280 million?



Some knowledge of JSP syntax



Production Of Fine Wood Decorative Painting



Games And Entertainment Specialist



avi to 3gp



Chinese input method commonly used FAST switching



Principal To Ensure Each Experience A 20 006 Practice Site



Pursuit of "simple simple" the ORM mapping framework [2]