Java Socket framework Apache MINA: implement Socket server

Java Socket framework Apache MINA: implement Socket server Now, Apache MINA is used to realize a simple Socket Server. The Server implements a simple function. When a Socket client connects, it sends a simple string "zhangphil" to the client. The Server-side program code is as follows: import java.net.InetSocketAddr ...

Posted by Xo_ on Sat, 30 Nov 2019 05:05:33 -0800

Create tablespaces and import local basic statements into formal Libraries

– create tablespace CREATE SMALLFILE TABLESPACE "MAXDATA" DATAFILE 'D:\app\Administrator\oradata\orcl\MAXDATA' SIZE 1000M AUTOEXTEND ON NEXT 1000K; CREATE TABLESPACE MAXINDEX DATAFILE 'D:\app\Administrator\oradata\orcl\MAXINDEX' SIZE 2048M AUTOEXTEND ON NEXT 2048K; CREATE TEMPORARY TABLESPACE MAXTEMP TEMPFILE 'D:\app\Admi ...

Posted by bluejay002 on Sat, 30 Nov 2019 00:21:15 -0800

The initial learning process of Tensorflow -- a complete neural network sample program

This is a sample function that combines the previous studies, including the definition of data, the definition of variables, the forward propagation and back propagation of neural network. However, the loss function and back propagation algorithm will continue to learn further in the later study, which is currently written firs ...

Posted by raymedia on Fri, 29 Nov 2019 21:17:41 -0800

Hibernate retrieval method (supplementary)

* ps : I. retrieval method of navigation object graph Customer c=session.get(Customer.class,2); c.getOrders().size(); Through mapping in Hibernate, the associated persistent object information can be obtained by navigation during hibernate operation. II. OID search method session.get(Customer.class,3); session.load(Order.class,1); In H ...

Posted by mjseaden on Fri, 29 Nov 2019 01:00:01 -0800

Traifik configuration automatically applies for ssl free certificate

What is an SSL certificate? Secure sockets layer (SSL) certificates (sometimes referred to as digital certificates) are used to establish an encrypted connection between a browser or user computer and a server or web site. SSL connections protect sensitive data (such as credit card information) exchanged during each access (called a session) f ...

Posted by 4rxsid on Thu, 28 Nov 2019 13:21:32 -0800

An example of what Facade does in the TP framework

What is the Facade? At present, it is a class that is used to facilitate the static method call of the original class (undefined static method).The specific implementation of Facade is as follows:First look at the core document:\thinkphp\base.php`//Register static proxy of core classFacade::bind([ facade\App::class => App::class, facade ...

Posted by robinjohn on Thu, 28 Nov 2019 01:13:57 -0800

nova ERROR (ClientException): solution

Wrong information ClientException: Unknown Error (HTTP 503) (Request-ID: req-c9ec29c6-cca5-4edc-9828-cd6494d2d36b) ERROR (ClientException): Unknown Error (HTTP 503) (Request-ID: req-c9ec29c6-cca5-4edc-9828-cd6494d2d36b) Use debug to view the error message: nova --debug list DEBUG (extension:157) found extension EntryPoint.parse('v2token = keys ...

Posted by ffsja on Wed, 27 Nov 2019 11:48:58 -0800

PHPer knows what a Facade is in the TP framework

What is the Facade? At present, it is a class that is used to facilitate the static method call of the original class (undefined static method).The specific implementation of Facade is as follows:First look at the core document:\thinkphp\base.php`//Register static proxy of core classFacade::bind([ facade\App::class => App::class, facade ...

Posted by timmy2 on Wed, 27 Nov 2019 02:06:41 -0800

"NanoHttpd Micro Server" Use and Source Reading

Occasionally, NanoHttpd is a Java file that starts a local server in an embedded device (for example, an Android phone) and receives local requests from clients.I carefully learned its source implementation, here I wrote a simple article in my learning order (as a learning note): Understanding official descriptions Write a Demo for use (local ...

Posted by DwarV on Tue, 26 Nov 2019 19:11:12 -0800

Do you know what the Facade is in the TP framework

What is the Facade? At present, it is a class that is used to facilitate the static method call of the original class (undefined static method).The specific implementation of Facade is as follows:First look at the core document:\thinkphp\base.php`//Register static proxy of core classFacade::bind([ facade\App::class => App::class, facade ...

Posted by xydra on Tue, 26 Nov 2019 01:22:18 -0800