MoreNew blog expert introduction

Li Puzhi Pay attention to
Master of software engineering, Beijing Institute of Technology, 5 years experience in the development of iOS mobile terminal, work during the design and development of a number of iOS projects have been involved in the development of iOS development tutorial iOS application Methods and practices of order development and practice in June 2012 by the people's Posts and telecommunications press.
Liang Fei Pay attention to
Alibaba Android development engineers, love to learn and share the new business. GitHub address:

Programming language Bzoj1588 [HNOI2002] turnover statistics

Balanced tree bare problem...


AaronGZK The day before yesterday 23:00 Read (596) Comment (0)

Programming language Bzoj4071 [APIO2015] Palembang Bridge

The idea of a very good balance tree problem...


AaronGZK The day before yesterday 22:57 Read (626) Comment (0)

Architecture design Struts controller component Expert

The struts controller component () (a), action (b) actionservlet which (c), (d) actionforward (E) the requestprocessor correct answer: Abe...

Struts2 Controller Component

You23hai45 The day before yesterday 22:44 Read (613) Comment (0)

[Web front end JQuery auto trigger event trigger Expert

Sometimes, the need to simulate the user operation, to achieve the effect, such as user access to the page To trigger the click event without the need to take the initiative. For example, the following code: Body> A href= "#" onclick= "javascript:document.getElementById ('d').InnerHTML='x1'" > click on 1a> A href= "onclick=" javascript:document.g # "...

Jquery Trigger

Itmyhome The day before yesterday 22:34 Read (634) Comment (1)

[integrated] 20151126- new play to prepare to do the deed Expert

1, the whole letter shares 30 minutes lines, there is no firm 5MA, but late to the upside, once the breakthrough volume 5MA tomorrow, bullish trend. In 60 minutes, dropping 5MA and not to stand in the 5MA line, the 3 day follow-up market is not very clear, facing the callback K-line, KDJ upward breakthrough 50 to 75 +, said belongs to rally and bullish, but today rose shrinkage, said above 120 pressure is quite big, came under selling pressure more. Operation idea: holding on to wait, because I am on 100 shares, can not do T, so holding on to wait and see. 2, the wisdom of energy 30 minutes, to stand close to 5...

Mchdba The day before yesterday 22:33 Read (721) Comment (2)

Architecture design Spring in many cases, ApplicationContextAware, BeanFactoryAware, InitializingBean interface Recommend

In the development of the web project, sometimes it is necessary to do the customization of the IOC process. Dynamic proxy InitializingBean interface reference 1:spring provides two ways to initialize bean, InitializingBean interface, afterPropertiesSet method, or in the configuration file with the init-method specified, two ways can be used simultaneously 2: the implementation of the InitializingBean interface is a direct call to aft...

Spring Web

Gg_gogoing The day before yesterday 22:29 Read (56) Comment (1)

Programming language Golang synchronization: conditional variable and lock combination

The role of the condition variable is not guaranteed to access a shared data at the same time, but when the state of the corresponding shared data changes, the other thread is blocked. Combination of conditional variable and mutual exclusion Exclusive support for the access to shared data The condition variable sends a notification to the related thread on the change of the state Three operating methods Wait for notification: wait Blocks the current thread until the notification is received from the conditional variable Single notice: signal Send the condition variable to at least one thread that is waiting for its notification to send a notice, said...

Golang Thread

Grassroots2011 The day before yesterday 22:28 Read (451) Comment (0)

[integrated] [NPR] pencil drawing Expert

Written in the front today to write a basic article with Unity. The reason is that I do not know how to find a website last week, which realized the effect of feeling good, and later found that the 2012 NPAR conference best paper. Read the next article, feel it is not very difficult, just think about it. Later found that there are two main related articles in China, one is the wind blowing summer article, one is the Imageshop article. By reading the article and the two main article of the basic algorithm on the go through, and the rest is encoding. The author gives the first part of the code, the wind...

Candycat1992 The day before yesterday 22:22 Read (576) Comment (0)

[integrated] Thinkpad open flight mode can not connect the wireless network Expert

Solve the ThinkPad open flight mode to connect to wireless network 1, the installation of the power management driver, power management software and fast key drive 2, according to the Fn+F9 shortcut keys, open the computer flight mode 3, as a result, the red fork fork in the wireless network, unable to connect to the network query data, show that you can use shortcut keys Fn+F5 or Fn+F8, but try over the can not solve; later I press the Fn+F12. The network connection back to normal.

ThinkPad Network

You23hai45 The day before yesterday 22:21 Read (437) Comment (0)

Programming language No hole to escape the pit --new a pointer array, and create a dynamic two-dimensional array Expert

In practical work, there is a class A, now need to use multiple A objects, this is the time, the first thought is the pointer array. -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- -- Pointer array and array pointer First of all, the pointer array and array pointer difference is a commonplace talk of an old scholar: It is not convenient to see the Chinese, look at the English Description: pointer array: of pointers array, that is used to store the array of pointers, that is, array elements are pointers Array pointer: point a...

Two dimensional array C++

Wangshubo1989 The day before yesterday 22:19 Read (511) Comment (0)

[integrated] How to solve the Thinkpad connection WiFi often break Expert

How to solve the ThinkPad connection WiFi often disconnected, on the official website of the ThinkPad download AccessCon[gic765ww].exe find matching model computer, download 2, the installation AccessCon[gic765ww].exe after the completion of, and then restart the computer 3, open access connections, switch to the advanced, the find toolbar in the global settings ", the second hook cancel tick...

ThinkPad Wi-Fi Computer

You23hai45 The day before yesterday 22:15 Read (374) Comment (0)

Programming language De finally java-10.6 (3) - exception of loss Expert

In this chapter we discuss the use of finally to cause the exception of the loss. This is actually a very casual mistake, we are generally not guilty of. Com.ray.ch10 package; Class Test public { Static void main throws (args String[]) Exception2 public { {try New Exception1 throw ("Exception1")...


Raylee2007 The day before yesterday 22:07 Read (391) Comment (0)

Programming language De finally -finally (2) java-10.6 to do what Expert

This chapter we discuss what finally is used to do? Reply resources to the original state. Such as database connection, file flow, graphics, etc.. Because there is no destructor in Java, but the garbage collection mechanism, inside the try is to be operated in a local variable, so the memory will be released, but most of the time we in the try out already defined the variables, and then use the assignment inside a try, such as according to link library, document flow, graphics, etc., must now be using finally to make them return to the initial state. Here are a few examples: (1...


Raylee2007 The day before yesterday 21:58 Read (377) Comment (0)

[Web front end ZTree call is set to use Expert

1, downloaded from the official website of the ztree ztree package, ztree's official website is: Http:// Http:// introduced ztree required dependencies, for example (JS jQuery oneself, introduce): page language= "Java" to a number java.util.* "pageEncoding=" UTF-8 "% > include file =" co...

Toto1297488504 The day before yesterday 21:45 Read (353) Comment (3)

Programming language Display variables and wrap messageBox

This paper summarized some problems in the process of using messageBox today, ". Please refer to the use of messageBox format: The Delphi Application.MessageBox function usage, 1 display variables directly on the dry cargo (code): vars:string; .... S:='archive failed'; Application.MessageBox (PChar (s), the 'wrong', MB_ICONERROR); / / window identification can contain multiple, for example...

MessageBox Display variable Wrap Delphi

Dingding_12345 The day before yesterday 21:41 Read (216) Comment (0)

Programming language Ab initio finally java-10.6 (1) - Characteristics Expert

We'll talk about finally in this chapter. Features: finally can always be executed. Com.ray.ch10 package; Class Test public { Void test throws () Exception private { New Exception throw (); } Static void main public (args String[]) { Try {...


Raylee2007 The day before yesterday 21:34 Read (372) Comment (0)

Programming language Namespace STD using's bad habits that have never escaped. Expert

The use of a namespace is intended to be a name for the identifier to be localized to avoid naming conflicts. In C++, variables, functions, and classes are all large. If there is no namespace, the names of these variables, functions, classes will be present in the global namespace, which will lead to a lot of conflicts. For example, if we define a function toupper () in your own program, this will override the toupper () function in the standard library, because the two functions are in the global namespace. Naming conflicts would also occur in a program using two or more third party libraries. ...

C++ Namespace

Wangshubo1989 The day before yesterday 21:20 Read (421) Comment (0)

Programming language De java-10.5 stack trace and re throw exception Expert

This chapter discusses the stack trace and the re throw exception when the exception occurs. There are 1 ways in which the stack trace is printed (1): (two) the original code com.ray.ch10 package; Class Test public { Static void main public (args String[]) { {try New Exception throw ("cause"); } catch (Except...


Raylee2007 The day before yesterday 21:07 Read (360) Comment (0)

[Web front end Easily learn JavaScript five: JavaScript variables and data types

For a programming language, it must contain variables and data types. Today, we'll look at the variables and data types of the JavaScript scripting language. Relative In other Java, C++ and other advanced programming language, JavaScript is very simple. Variable JavaScript variable is loose type, the so-called loose is used to save any type of data. A variable is a container for storing information. Defining variable To use the VaR operator (VaR is the keyword), followed by a variable name (variable...

JavaScript Web front end JS data type JS variable

Erlian1992 The day before yesterday 21:03 Read (368) Comment (0)

Architecture design Why use service web Expert

Use service web has the following benefits: the existing functionality on the network on a service web is a set of code that can be used for remote calls HTTP, that is, you can use HTTP to activate. Service web allows you to expose your existing code to the web. Once publicly on the network, other applications can use your program's function. Interoperability service web allows different applications to talk to each other, and share data and services. Other applications...

Service Web Service web benefits Service web advantage Why use service web Soap

Defonds The day before yesterday 20:54 Read (360) Comment (1)

Programming language Java-10.4 capture from scratch all the exceptions Expert

We have this chapter to discuss the capture of all exceptions. In fact, it is very easy to catch all exceptions, just direct Exception catch. Class Test public { Static void main public (args String[]) { {try New Exception throw ("cause"); } catch (E Exception) { } ...


Raylee2007 The day before yesterday 20:53 Read (297) Comment (0)

Mobile development Android to prevent repeat clicks of small tips

Set the time mark in the click, the time difference between the 2 hits, the time interval SPACE_TIME, make a judgment: when the time difference of 2 clicks is greater than SPACE_TIME to start clicking. Demo source code is as follows. ...

Android Double Click Skill

U012975705 The day before yesterday 20:45 Read (845) Comment (0)

Programming language Time_t function of C/C++

Wordpress blog link: Recently turned to the preface of "expert C programming" to see the time function T, even temporarily devoid of concept, just understand is a function of the time, which to have the study of the C / C + + blogger is simply a mockery, this machine is tested, probably something like the following: #include #include #include #include #include Nam using...

C C++ Time_t

U013050857 The day before yesterday 20:40 Read (370) Comment (1)

[Internet] From the average programmer to the valuation of a billion company boss, he only took 1 years! Expert

He has used a year of time from the general technical staff to the valuation of the company's executives, which is far from you? ...

Super Table Entrepreneurship Chen Kunji Internet Programmer

Kongki The day before yesterday 20:39 Read (543) Comment (1)

Programming language Nginx+Tomcat to achieve a single IP, multi domain, multi site visit Expert

Recently helped a friend do the two sites, budget, very, very small. Small to two sites can only be run on a 512M memory network server (tomcat+mysql, because memory is too small, only the two website is deployed in a Tomcat), each web site have their own domain name, preliminary consideration the nginx reverse proxy, the two domain name mapping to the corresponding application. So there is the problem of configuring the nginx multi domain list server, IP, and Tomcat, which is different from the application of the multi domain list server. Nginx introduction of the nonsense is not much to say, here to the configuration file...

U014723529 The day before yesterday 20:10 Read (431) Comment (0)

Programming language KNN implementation of Python

In Python to achieve k nearest neighbor algorithm (KNN) is a commonplace problem, the Internet also has a lot of information, but here I decided to record my own learning experience. 1, configure the numpy Library Numpy library is Python for matrix operations of the third party libraries, most of the mathematical operations will rely on the library to carry out the configuration of the numpy library, see: Python configuration third party library Numpy and Matplotlib of the winding road, the configuration is completed after the numpy library into the current...

Python Machine learning KNN

U013088062 The day before yesterday 20:01 Read (362) Comment (0)

Architecture design ThreadLocal detailed source code analysis Recommend

Overview: we know that Spring reduces the difficulty of using a variety of Data Persistence technology through various DAO template classes. These template classes are thread safe, that is, multiple DAO can reuse the same template instance without conflict. We use the template class to access the underlying data, depending on the persistence of the technology, the template class needs to bind data connection or session resources. But these resources are themselves non thread safe, that is, they can not be shared at the same time by multiple threads. Although the template class can access data from a resource pool or session, the resource pool itself is a data connection or a...

ThreadLoca Spring Thread safety Source analysis

Shenlei19911210 The day before yesterday 19:48 Read (58) Comment (1)

R & D management Unit test Expert

Never engaged in unit testing, feel good mystery! But the so-called test driven outsize, without writing code, write the test first; garden blog and God said, the so-called demand analysis should be specific for test case. Anyway, unit testing is good! So always wanted to engage in a. But I do not understand the Internet, this two days to seize the rare opportunity to explore it, like something. First record, then on the basis of the starting point. What is unit testing? I feel unit testing is automated testing. To write some related methods to call the method we need to test, run it again. Test project...

Automated testing Unit test X

Leftfist The day before yesterday 19:48 Read (338) Comment (1)

Programming language WPF works in the Xaml file to add a number of CS files Expert

In the WPF project we add a Window or UserControl will build 2 files, xxx.xaml.cs. and xxx.xaml and the general CS file in the XAML file. There is such a scene, we all know that the class Partial is CS, we use Partial to put different functions into different CS file. But the default CS file is not in the XAML file. The solution is simple: open the csproj file and find the CS file. Add De...

WPF Xaml CS Self heart

Muzizongheng The day before yesterday 19:45 Read (349) Comment (4)

Programming language LeetCode 33 in Rotated Sorted Array Search (search in a rotating sort array) (*) Expert

The translation assumes an array in which we do not know the axis of rotation. For example, 124567 may become 4567012. Give you a target value to search, if you find the index to return it, otherwise -1. You can assume that no duplicate elements exist in the array. A sorted array is rotated Suppose Some pivot unknown to you beforehand. at (i.e., 124...

Rotated Sorted Array Leetcode Search

NoMasp 3 days ago 18:50 Read (339) Comment (0)

Blog latest comments

Contact us