Saturday, October 23, 2010

JDK 7 will support the regular expression capture group named



Java regular expression currently do not support named capture group function, can only count by capturing group to access capture group. When the regular expression when the more complex, which contains a large number of capture groups and non-capture group, by the number of brackets from left to right to capture the group's count that is a very annoying thing; and the readability of this code is also well, when the regular expression will change when the need to modify the inside to capture group count.
To solve this problem is to capture the group by name to address, like Python, PHP,. Net, and Perl in these languages as regular expressions. This feature Javaer already looking forward to for many years, and now we have finally been realized in JDK7 b50.

The introduction of named capture groups to support the following:



(1) (? X) to define a named group NAME "

(2) k to backref a named group "NAME"

(3) <$ to reference to captured group in matcher's replacement str

(4) group (String NAME) to return the captured input subsequence by the given "named group"

Now you can use the regular type like this:

1 String pStr = "0x (? \ P (XDigit) (1,4)) \ s + + u \ + (? \ P (XDigit) (4 })(?: \ s ++)?";
2
3 Matcher m = Pattern.compile (pStr). Matcher (INPUTTEXT);
4
5 if (m.matches ()) (
6
7 int bs = Integer.valueOf (m.group ("bytes"), 16);
8
9 int c = Integer.valueOf (m.group ("char"), 16);
10
11 System.out.printf ("[% x] -> [% 04x]% n", bs, c);
12
13)
14
15 String pStr = "0x (? \ P (XDigit) (1,4)) \ s + + u \ + (? \ P (XDigit) (4 })(?: \ s ++)?";
16
17 Matcher m = Pattern.compile (pStr). Matcher (INPUTTEXT);
18
19 if (m.matches ()) (
20
21 int bs = Integer.valueOf (m.group ("bytes"), 16);
22
23 int c = Integer.valueOf (m.group ("char"), 16);
24
25 System.out.printf ("[% x] -> [% 04x]% n", bs, c);
26
27)

Or

1 System.out.println ("0x1234 u +5678". ReplaceFirst (pStr, "u + $ 0x $"));







Recommended links:



Picked Audio CD Burners



WMV to MOV



Sunshine procurement is not a dream



buying laptop spares top tips



Zhongguancun hand new countryside



Find 20%



Huang Guangyu Has Sent People Pretending To Do Retail Bureau Of Zhongguancun



Still in the EXPLORATORY stage to introduce strategies HSPA



AVI to FLV



Community 2.0 My Community I call the shots



Comment Converters And Optimizers



Problems And breakthrough IPTV



Easy Security And Privacy:



ASF Converter



Waterproof Wall - terminology to explain



Monday, October 18, 2010

"Chino conflict" Comment



Dark Messiah of configuration requirements, and lower than L4D

Also a shock melee fun FPS, there are few places of innovation, against a sense of feel good, bloody effects of too low. Maybe the author of a lack of confidence in the recent war game, the game appeared in arms, a few points must use the gun, but does not mean you can abuse RELOAD very long time, and shoot a gun when not running the most important weapon in hand is easily be destroyed on the ground (good idea), so difficult is easily under attack from reliance on firearms, deliberately bent over to pick up the gun is more likely to be cruel enemy chrysanthemum burst.

Learned in recent combat operations experience of predecessors, Qing Quan fast, slow but heavy blows can break defense. Violent attack can stun the target, you can came up every now (similar to Resident Evil 4) will certainly Zou Ren's not just you, there is an enemy you can use both hands Ying Dang, but this is usually not optimistic about the outcome may start Only one person pounding you, then other people involved, that is, we often hit the. A better strategy is in the opponents to the side shot of the moment get away, call him a punch at the same time, but not everything, sometimes you flash to another fist in front of the bandits. So the game allows you to make a flash bomb like Onimusha 3 action, can quickly resolve the enemy's attack and give a strong kick AI will dodge and parry, it also constitutes a complete offensive and defensive systems. In addition you can also pick up the stick for beating on what to BOSS, but not the kind of pleasure fists.

Monotonous scene and the AI is not high and did not give this fight to play the system too much space, so the whole game of all is not high, but I have to complain not only of these, the game automatically locks the enemy's design makes me a little angry In addition to causing dizziness, vomiting, did not give me any good. I really hope that the game did not chain given system. Flexible control of the mouse on the view do not need to lock to superfluous game gives the first impression (and perhaps only impression) is Sincere to the meat of the pleasure, so close combat FPS without a loved one can be under-free.

I think a melee FPS is not the lack of feel and moves the system, but the overall level design and detail. And fire departments have different melee distance visual problems in the battle difficult prone to punching each other's embarrassing Dabu Zhao (too close to the first hit in, then easily), the expectation of improvement works. Boxing may be to emphasize the confrontation right-hand punch, such as my partner Zuoquan you which direction the flash, the right fist in which direction you should the flash.

Click on the lifting of E, E is likely a few locked again, poor baby, you were definitely in the game seems a lot of crimes are used to something you play the game tends to play by E, which is the legendary self-abuse type player? I on E this key has no special preference and automatically lock to the screen shaking is severe, no way to retreat, narrow view to only see one person in addition to any role (including your use of the handle play).







Recommended links:



Good NEWS Servers



Articles about Graphic



OGM To AVI



Fang HAO made a small amount of 3G next month or early next year provisional license issued



JSP Servlet Automatically jump to the wrong instance of the page



BP UPLINK



PLM on the 411



remove security tools delete security tools



Five new features JSP2.0



ASF to MPEG



B2C transactions in China this year is expected to reach 11.1 billion U.S. dollars



e-cology in the Pan Micro Series 29



Recommend Audio Rippers And Converters



VOB to SWF



Command line "" and "-" symbol represents the meaning of



Review Helpdesk And Remote PC



Recorded with the popular film of your wonderful life



Tuesday, October 5, 2010

Bird, founder of Wu Yimin information: only 40 person-years team 1 million yuan profit



"A few years ago, I find the wind to vote, no one knows what I do. Now it has become one of the most popular concept internationally." Looking back on the road traveled his own company, founder and president, Wu Yimin hearing birds on the financial weekly press emotion.
Concept is always enigmatic. Internationally, Wu Yimin core technology used is called "cloud computing." This technology is the software he Tsinghua Institute of learning, and Tsinghua University to teach computer science major when the research topic. However, customer referrals, he rarely used the concept. In his view, does not matter what technology, what the key is to gain.

Large customers, small customers

In 2001, the Internet myth has begun to burst, and was stationed in Tsinghua University, Hewlett-Packard (HP) the work of Wu Yimin options business, founded hearing birds, then bird's main business is telecommunications software and equipment to help enterprises to establish a call center.

"At that time the business actually do better, we are big list of every single customer only a few hundred, but highly profitable."

Wu Yimin told financial weekly newspaper reporter, "then our team is only 40, but every year about 10 million yuan in profits."

However, when in 2004, Alibaba has become a big customer of telecommunications birds, when Alibaba has 6,000 seats needs. Through this cooperation, Wu Yimin see a wider market - many SMEs.

A call center's construction and maintenance costs are extremely expensive. Wu Yimin calculations to reporters: In addition to a one-time purchase of an early switch, system software, middleware, repeaters and other equipment and resources needed to conduct the appropriate follow-up to the professional maintenance, in addition to the equipment costs, construction costs and operating costs than also need to pay telephone charges various fees.

This is a demand for many SMEs, is an expensive deal. Alibaba major customers, especially SMEs. Therefore, even though they have this need, it would not spend such a huge cost to the construction of a call center.

At the same time, hearing a bird's "customers" are the path meets a bottleneck. "Income is essentially fixed. Exception of some large enterprises, the development of more customers is difficult to go up."

This situation led to Wu Yimin more inspiration. 2005, he re-develop their own products.

Call center to move online

Wu Yimin new product technology is very advanced at the time of "cloud computing." In 2007, hearing birds today's flagship product, "Qi Tong Bao," the successful development, Wu Yimin moved the entire call center online.

"Kai Tong Bao and international calls are very popular Skype software is somewhat similar, but Skype is for personal, one account per person; and Kai Tong Bao targeted at the enterprise, each enterprise a number." Wu Yimin description.

However, the information includes not only the bird's main business selling "Qi Tong Bao," the software, more behind the sales of its services internationally, this model is called "SAAS model" is defined as "software as a service . "

A "Kai Tong Bao" software includes the following services: a national unity "400" number of resources, and calls missile screen, customer management, reporting and a series of applications. The terminal is a computer software, installation, as long as users access the Internet, you can achieve a single office in a particular location (as in head), remote multi-office locations (as in all branches) or travel (such as in hotels) to use "Qi Tong Bao, 2009." At the same time, it also supports traditional fixed line, mobile phone interaction, and support Web Call, Web text communication, text messaging and other communication means.

"In other words, as long as the coverage of the Internet, call centers can create, not office bound." Wu Yimin description.

Such a way that saves them the cost of obvious: build a call center business to pay the initial equipment costs, construction costs and maintenance costs were later transferred to the News Bird Corporation, the software company only pay royalties and service fees.

The completion of construction of a one-time after hearing a bird can be copied to the service and sales to more companies.

"Overall, the cost savings come from improved equipment utilization." According to Wu Yimin introduction, "to rely on a scale, the overall cost of each business before only 1 / 10."

In addition, sales of telecommunications services birds rely mainly on "rental" model. Normal office enterprise purchase used computers, network lines, Mike later, according to their length of time required and the volume of business, monthly payments to the News Bird's product costs 300 yuan, you can have a "Internet call center."

In addition, Kai Tong Bao also provide telephone filters, automatic switching of calls and other services for the various services, care staff, state, work in real-time monitoring and real-time recording and other services. "In the past, after dialing the call center, there will be a wait for the user answers the call process. But only in the phone Kai Tong Bao Tong was carried out after the transfer, the time consumed in this process to save it." Wu Yimin description.

"From the principle point of view, a software bundle of seating is unlimited expansion of the number." Wu Yimin description.

But other Internet voice communications software and the same restrictions, "Kai Tong Bao" The biggest factor is the Internet's transmission speed is the bandwidth. News Bird Company has a limited bandwidth formula, according to the formula, a bandwidth of 1 Mbps in office environment, can use up to five seats.

In the current Internet bandwidth environment, the seats are hard to meet the seating requirements of large enterprises demand more. Therefore, when sales Kai Tong Bao mainly for small and medium enterprises, while banks, insurance, tourism and other needs of the enterprise is more or to sell traditional products.

By Dell, the agent

"Kai Tong Bao" against small customers with scattered, small-scale characteristics, and previous hearing birds big projects for big clients compared to sales of Kai Global Express is more like a "wholesale" to "retail" process, of which, Cost of sales and team will consume a large amount of manpower and resources, as to avoid this, hearing birds select and set the size of a sales team: Over the past September, a high-profile hearing birds and Dell in a number of occasions. "Dell will assume the sales of our products." Wu Yimin said.

As at present, "Kai Tong Bao" platform in the country already has more than 1,000 customers, the scale of the overall number of close to 10,000 seats.

"Business for so many years, I have experienced a loss and then to earn profits from the process." Wu Yimin laugh laugh. 2001 to 2004, by selling the traditional call center operations, telecommunications birds have maintained good profitability. 2005, as demand for new products, increasing the cost of hearing birds, in 2007, when the technology is mature, birds emerged in the hearing loss. Wu Yimin memories, then, they have invested research and development Kai Tong Bao thousands of yuan.

In early 2008, from U.S. venture capital AGPF-I of the first of about 10 million U.S. dollars in financing to the rhythm of birds began to speed up information, including marketing fees and other costs increased significantly. However, with Kai Tong Bao represented SAAS service has occupied the hearing birds income 1 / 3. And every year more than doubled the rate of growth.

"I guess I needed before the public at least two rounds of financing. Plans listed in two or three years." Wu Yimin said.







Recommended links:



FLV to 3GP



TS to WMV



error 1607 unable to install installshield



DivX to VOB



Tuesday, September 28, 2010

Compilation of various source - col



; - COLOURS ROUTINE -
; For tasm
;
cseg segment
assume cs: cseg, ds: cseg
org 100H
begin:
mov es, cs: [video]

mov ax, 3
int 10h
mov cs: [col], 0fh
mov di, 18
lea si, colr2
call mess

mov cx, 16
mov di, 160
xor al, al
rec1:
push cx

push di
lea si, colour
call mess
call hex2

mov bh, al
push cx
mov cx, 16
col2:
mov es: [di], byte ptr "#"
mov es: [di +1], bh
inc bh
add di, 2

loop col2
pop cx

pop di
add di, 160
add al, 10h

add cs: [col], 10h
pop cx
loop rec1

mov ah, 2
mov bh, 0
mov dh, 17
mov dl, 0
int 10h


mov ah, 4ch
int 21h

col db 0
colour db "Colour", 0
colr2 db "0123456789ABCDEF", 0
colnum db 0

video dw 0b800h

hex2 proc near
push ax
and al, 011110000b
shr al, 4
call hex1
pop ax
push ax
and al, 01111b
call hex1
pop ax
ret
hex2 endp
hex1 proc near
mov ah, cs: [col]
cmp al, 10
jb hnum1
add al,''A''-10
jmp hnum2
hnum1:
add al,''0''
hnum2:
mov es: [di], ax
add di, 2
ret
hex1 endp
mess proc
push ax
mov ah, cs: [col]
conmess:
mov al, cs: [si]
or al, al
jz endmess
mov es: [di], ax
inc si
add di, 2
jmp conmess
endmess:
pop ax
ret
mess endp

cseg ends
end begin







Recommended links:



PRD employment "UPWARD", "Labor Shortage" moved to the Mainland



New UMPC Make Waves



Recommend Dial Up And Connection Tools



Wave of MERGERS BI have a happy life



"Cottage XP" national dream



enhance the core competitiveness of ENTERPRISES



Bearing Co., Ltd. Yantai Ximeng Xi



MPG to AVI



3G2 To WMV



Compilation of The stack of parameters passed and amended



Reflector Decompilation Tools



BenQ compete in, with a hope that the road



DivX to MPEG



Genealogy reviews



Thursday, September 16, 2010

Monday, July 12, 2010

Myth of the fastest growing job market promotion


Just to see the British Tektronix NASDAQ listed company CEO Xia Yufeng International Group, he is giving college students Intentia mobile communications to deliver a speech, but this seems more like a college philosophy class, and Chinese classical philosophy. What is "righteousness," ah, what "repair Qi Zhiping," ah, what "Road" ah, were he spoke clearly and logically. "Zhang said Haier's future depends on philosophy, philosophy of how we can not speak it," he said.

Decided state vision, ideas determine - as he himself put it, Xia Yufeng feel that their success no mystery, but we do prefer to think constantly refined his people and things encountered. "Never will complain that no one company has its own problems, and you are not working in a company, you are fighting for themselves, this is the first successful, if you have to sum up my words." He said .

Mengniu's president Niu Gensheng was repeatedly referred to him because of Niu Gensheng donated all of the shares of individuals set up a special charity fund, "a person can have such a Favorable View of Justice, to succeed is immune, it the second is successful. the last one is a young man not attracted me, apart from 'looking way', we should also learn to 'walk'. "

To leave, he very seriously said: "You do a greater chance of success reporters, because you interview a success every person, we all can learn a lot ... ..." He seemed to begin pondering its own "Road," a It seems that this is a "successful compulsive" people.

Do Do not underestimate the importance of what you are doing every job

In fact, life is a big chain, every link of which is very important. Tribulations of life is an asset, because the suffering will forces you to think. I am 15 years old to leave home to go read key high schools of the provincial capital. Up to 29 years old, and I are constantly thinking, thinking I saw people and things, think about their own ideals and the future.

My career is very complicated to do foreign trade sales in Qinhuangdao that four years, my first experience of different people, understanding human nature and the rich people who deal with these different methods. Then I went to a private real estate company to do for 4 years, during which a further understanding of the laws of the market and how to deal with the government. Next, I worked at a management consulting foreign companies in another system to study the management and English language knowledge.

In 1998, when read to more than 20,000 MBA, I was also Na Buqi the money, but I have not given up, so I am 29 years old, when I was around people that have no need to go read this , I still stick to their ideals, admitted to the National People's Congress of the MBA.

My feeling is: Do not underestimate what you are doing random every job, we should cherish the sight. Even though it looks very humble, you seem like the ideal of the future has nothing to do.

Always work for themselves

The spring of 2003, SARS epidemic, and I graduated MBA. At that time everyone put their resumes on the Internet, Beida Jade Bird to see my resume after the move I do market commissioner, this is a very common work, and a monthly salary of only about 4,000 yuan. Many people feel that detract from the MBA graduates how do these work? But I cherish this opportunity.

I do not want to wait any longer, I would like to quickly start their first job in Beijing, to understand the city's social characteristics. To move quickly up and there is no chance of sitting, walking with a chance, ran, there are two opportunities.

Soon, work would not hold, because the SARS reason, everyone can stay at home, many of my colleagues hung in online chat, play games or something, because the wages are paid as usual for. But I did not stop, on the contrary, I had set himself the workload, access to vast amounts of data every day, do a lot of finishing work. Later, the work of the show, I just use this time to be ignored by my colleagues work for the future performance of the foundation.

So this is the walk and see the road, I just enter the job market around a lot of young people everywhere always "see" only to see if a better opportunity to properly take immediate and forget the road. I have been able to stick with it, because I always believe: I was working for yourself, not for the boss, made the job performance will be the basis for future success, even more, it was no one to give you additional money.

Help your boss succeed

In the workplace, there are two people, one day complaining, complaining boss senseless, can not be promoted themselves complained about the problems that exist; other people will stand up to consider their position boss what he needs to think about request from the boss himself how far worse. Clearly the latter are more likely to be promoted.

As I prominent achievements in doing for 10 months after the market commissioner, that is, 2004, I was promoted to principal training center for the Blue Bird. At that time, there is competition between the training center, but I did not own a training center was positioned on the principal. I think if I was president of the training center, then I certainly hope that the performance of all training schools are good, so I have no reservations will be taken out of its own success, introduced to compete with other training I have Centre.

On the surface, I like a disadvantage, in exchange for their hard-earned success is drawing away to someone else. But in my help, my boss, that is, the training center's vice president received a boost, so this place out on the air. Thus, in July 2005, I was promoted to vice president of training centers, and again realized the job market leap.

In addition, many people in the workplace for supervisors only know the trust, but it ignores their subordinates, in fact, a person's success is inseparable from the people around the vertical and horizontal. If subordinates do not trust you, no one to follow you, in other words, no one is willing to work for your child practical, think about it, a person feet Takong how can it step by step to a height?

View of Justice decided the fate of

Petty interests are no set events. This is what I always believed that the word, that is, people can not just look at the immediate interest of all of life's "must" are based on the "house" based on.

Marketing Specialist at the Bluebird to do, I often work overtime for ourselves, even though no one ever asked me to do so. On one occasion, the company sent me a business trip, consecutive 66 days can not go home, then I am thinking of her family, I can sneak back to Beijing to see his family, but I did not do so, forced to concentrate their work in the field. Is that these do not care about personal immediate interests of the pay, let me step by step toward success.

People living in the world, always trying to get fame, status, money, etc., but people tend to forget, all these things you want, all others to come to you, a person can not give their own reputation or power, then others how would be no reason to give you this? So the final analysis, you must first give up their own interests, to the benefit of others, one day you will be rewarded.

It's like chess, you always chasing after a car ran a pawn, you not only catch up, but it is very likely to get nothing at all; the contrary, if you give up in front of a pawn, a strategic plan to and plan, you get far more than just a pawn a car then? Young people must bring their sight so long to choose and decide the fate of the accumulated results of fate is to choose, give up now is a choice in the future is more important than now.

First justice system, first take the profits are controlled by others - Confucian View of Justice inspired me.

Learn the face of loneliness and failure

To learn to do things, first learning to be human. The right attitude is a prerequisite for success, attitude is everything.

First of all, to endure loneliness, the so-called spending years no one asked, and once they become famous the world know, this is my regular and subordinates say a word. Success is that everyone wants, there are many hardworking people, but why only a few successful people do, because there are 99 100 people close to success in time to give up. To know that life is like digging wells, can only focus on the professional, can only professional excellence, if you dig a few places gave up, giving up in another place, would never have dug up any water. This is the knowledge of "Tao" is easy but keep "Road" is hard to reason.

Second, we must aim high. Confidence does not necessarily win, but will not lose confidence; the action does not necessarily win, but no action will certainly lose; a goal does not necessarily win, but not the goal will be lost.

Before his promotion to vice president of Beida Jade Bird training center, I still work as before. Since I was the Commissioner from the foundation to start the market, so a better understanding of the following circumstances, coupled with his grasp of the characteristics of the corporate training, I am the first and second quarter results were up by 200%.

At this time, my life, another opportunity presented itself, the British Tektronix International Group has its eyes on China's IT training in my experience in the field, dug what I did president, but I also think that 3G is the next IT area hot, want to be successful in this regard.

In this way, I became the British Tektronix International Group CEO, Intentia Mobile Communications Institute CEO, also completed a general staff from the U.S. NASDAQ listed company president's cross, and time is - less than 3 years.

Life is education, community or school

A person to be successful, must have the courage, insight, knowledge, but reading can not be divorced from reality, the so-called "life is education, community or school." I appreciate the tips Hu scholarship four characters, four characters actually reading tips: handling, that is, not lazy; like, that is not struggling, not scratchy, A careful; and is open-minded, not arbitrary, not stubborn; slow, not easily express their views, without jumping to conclusions.

Western management book I sometimes see that look and found the so-called "Western" is actually not our ancestors have left out of the traditional philosophy. Confucianism, Taoism, Legalism, Mohist I like to read, learn many useful things.

In addition to books of philosophy like that, I still like to see history of war. I often wonder why Mao Zedong, then neither can by virtue of an advanced weapons, and no professional army of peasants defeated the regular army who graduated from military school then? I think there are reasons is that these farmers are fighting for themselves, won will be able to survive, so invincible. It's as simple as with the workplace, managers try to mobilize the people as long as the enthusiasm, not impossible to do things.






Recommand Link:



ISkysoft DVD Ripper Pack for Mac



Bluesea DVD To WMV



convert mov to wmv FREE



Compare Languages Education



YOUTUBE to MPG Deluxe



vob to Mpg



Christmasgift FLV Converter



Audio Speech Comparison



Youtube Video to PDA Home



video format For ps3



Mkv Video Format



AVS VIDEO Editor windstorm



Stamp ID3 Tag Editor



Professional MPG MPEG Divx Encode



AlltoDVD MPG to DVD



Wednesday, June 16, 2010

1st Cucusoft DVD to PSP Converter

1st Cucusoft DVD to PSP Converter (DVD Ripper Included) is the easiest-to-use and fastest DVD to PSP converter software for Sony PSP Movie and PSP Video. It can convert almost all kinds of DVD to PSP Movie / PSP Video format. It is also a powerful DVD to PSP converter due to the conversion speed is far faster than real-time. And the output PSP movie/video supports PSP screen, you can enjoy your favorite DVD on your PSP as a portable DVD Player. Now you can get this DVD to PSP Converter at a very competitive price!