Miscellaneous about thinking in solving problems (thinking, analogy, and heuristic)
By Liu weipeng (pongba)
C ++'s Luo Yun (http://blog.csdn.net/pongba)
Toplanguage (http://groups.google.com/group/pongba)
The topic on toplanguage has been discussed for a while, with many gains. The purpose of our discussion is not to solve the problem, but to reflect on the general and cross-problem thinking rules in the process of solving the problem. Simply resolv
thinkphp Auth Authentication analogy RBAC Better authorization authentication method (Auth class authentication) Auth class has been in the thinkphp code warehouse for a long time, but because there has been no tutorial, few people know it, it is actually more convenient than RBAC.RBAC is based on the node authentication, if you want to control more than the node finer permissions is a bit difficult, such as the action button on the page, I want to de
point where you have no controversy: the life tension of a website comes from its original content. From the beginning of this first source, 兙 began to gradually deduce the process of analogy. Original content is not everyone evenly divided into the level of things, which must exist pros and cons of the true and false points. This process has reminded 兙 of the history of our great Communist Party of China throughout the new democratic revolution peri
First, imitation techniques:In the process of invention innovation, imitation is a very natural thinking and thinking. Although people have wisdom, but in many ways compared with other organisms, the ability of the person itself is relatively low. For other organisms to evolve through the natural selection of the advantages, as intelligent human beings, for granted should learn and use, imitation is the first step. Of course, in addition to imitating natural things or phenomena, can also imitate
On the Internet to see the synchronous asynchronous interpretation, feel very image, reproduced come to remember.The difference between synchronous and asynchronousFor example: Ordinary B/s mode (synchronous) Ajax Technology (asynchronous)Synchronization: Submit request, wait for server processing, processing completed returns this period the client browser cannot do anythingAsynchronous: Requests are processed through event triggering server processing (which is still something the browser can
Reproduced from: http://www.luosview.com/blogview.asp? Logid = 24 cateid = 2
The analogy between a talent market written by HR and a nightclub is very interesting and cannot help linking it here! [Date: 2006-05-16]
Is love in a nightclub?
21 talent network vs nightclub
I am a half-way out-of-the-box person in the field of human resources. I often watch CCTV's "absolute challenge" and log on to 51job to read some information, or a paid member of China
*[Changecipherspec]Finished-------->[Changecipherspec]Application Data Simply put: SSL client (also TCP client) after the TCP link is established, issue a clienth*llo toinitiate the handshake, which contains a list of the algorithms that can be implemented and other required messages, the server side of SSL responds to a Serverh*llo, which identifies the algorithm needed for this communication, and then sends out its own certificate(it contains the identity and its own public key). When the clie
The analogy between JSON and XML(1). Advantages and disadvantages of XMLA. Uniform format, in line with the standards;B. Easy to interact with other systems remotely, data sharing is more convenient.A.xml file is large, the file format is complex, the transmission occupies the bandwidth;B. Both the server side and the client need to spend a lot of code to parse the XML, causing the server and client code to become unusually complex and difficult to ma
article in the result set, but, because the first group and then by the publication time descending order, which led to the first by the classification number in ascending order, on this basis and then by time descending, This results in the latest published articles not necessarily appearing on the homepage. It seems that the problem is not as simple as thought.WorkaroundAfter a day of hard searching and several attempts, finally found a solution, the following SQL statement can be used to sen
long as the isolation can be, if the toilet, bathtub, wash table are separated relatively independent, in fact, the bathroom can be used at the same time for three people,Of course, three people do not do the same thing. This will refine the lock granularity, you can just close the bathroom door when you are in the shower, others may still go in to wash their hands. If the toilet was designed without dividing different functional areasCan not achieve the maximum use of toilet resources.This is
Do migrant workers know this as a metaphor?
ProgramThe workers are migrant workers. It is nice to say that they are construction workers. What does the civil society rely on to survive? I'm afraid it's a craft. It's also a migrant labor. Some people will use electric welding, while others will only move bricks. In an inappropriate analogy, computer languages are like welding and bricks. The ultimate goal is to build a building.
Case1If you find th
analyze which clothes are not cleaned, washed and washed again with a washing machine, or changed to hand wash. How to make clothes to wash more clean, people according to the clothing material, size and other characteristics, the invention of washing powder detergent and other tools. By different indicators to determine that the clothes are really more effective wash clean. and so wash the clothes of the leader of the wife to check, if the hand wash clothes did not wash clean or wash too s
incremental training 3. Neural network supervision, can identify important information and non-important information, can be used for classification, can also be used for numerical pre- The advantages of the problem: dealing with complex nonlinear functions, and the dependency relationship between different inputs incremental training disadvantage: black-box method, Controllability 4. Support Vector machines, nuclear techniques: Advantages: The fastest classification of new observational dataCl
write a class is fast, but, if radio there are thousands of methods, instead of three, then you will be re-write one?Well, to solve the problem of that classmate, let's continue to add functionality to the new machine.function (){}Here we have a machine that can make telephone radios.Let's make a radio for my dad:var New Photoradio (); // Remember that the radio you made is open for use. Just on the phone is this father-radio.photo ();Well, we all have radios in our family, can you build them?F
. Below is the result of running the above code as follows: V. Using a reflection mechanism to inject dependent objectsNext we will look at how to use the reflection mechanism to inject the dependent object, that is, the concrete implementation of the relation class.1. Provide the plist file through the initialization methodBelow is the constructor for the relation class, which has a parameter, plistfilename, that is used to store plist files that rely on contextual information. When you instan
writes differently. This method called the call, I only use the implementation of DebugLog.Log ("Result:" +results.getresultstring ());} Session error callback interface public void OnError (Speecherror error) {error.getplaindescription (true)//Get Error code description}//start recording public void Onbe Ginofspeech () {}//volume value 0~30public void onvolumechanged (int volume) {}//end recording public void Onendofspeech () {}//extension with interface public void onEvent (int eventtype,int
I do not like the "code Nong" "Code Workers" "Program ape" This kind of demeaning words.
My grandfather is a tailor, in my memory he relies on the home to make clothes for others to earn a living, is a craftsman. My career has been dealing with code, making a living by writing code, and being a craftsman. Of course, a good workman should be able to call it a code craftsman.
I like to refer to this group of code craftsmen as software designers. Why software designers, not software engineers, co
led to a small problem. This is the "game running small Problem" and "the RPM package required to install Oracle " Both, feel there is some kind of analogy, although the game with the technical analogy is a bit far-fetched, but I think the "dependency" of the truth is still interlinked. The is then combined to address fifa14 the process of the problem, re-smoothing the oracle installation in the Span s
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.