Java Memorandum Mode
Memorandum mode, also known as Snapshot Pattern or Token pattern, is the behavior pattern of objects.
A memo object is an object that stores snapshots of the internal state of another object. The purpose of the memo mode is to capture and externalize the state of an object without destroying the encapsulation, so that it can be restore ...
Posted by mdowling on Wed, 17 Jul 2019 23:05:45 +0200
The Foundation of Git Series--commit
brief introduction
The previous section introduced the add command, which adds the modification of the current working directory to the temporary storage area. Then, when stored in the temporary storage area, it should be submitted to the Git database for version management in time. This is the time for this article to introduce the commit comm ...
Posted by abc123 on Tue, 02 Jul 2019 21:24:43 +0200
Introducing New Dependency Problem into maven Project
The previous article described the problem of release s without definite version numbers.
Describe recent problems in the system.
One day this email suddenly appeared in the development environment.
Normal as follows
It's particularly strange why the theme has disappeared and the content seems to be scrambled.
With shallow mail knowled ...
Posted by scotchegg78 on Mon, 01 Jul 2019 21:19:52 +0200
Mac Installs zookeeper Pseudo Cluster
Original address: http://blog.csdn.net/u013673245/article/details/49331607
Catalogue
I. Configuration
2. Start all servers of zookeeper pseudocluster
3. Access Client
IV. Writing startup scripts
I. Configuration
zookeeper Download Address: http://mirrors.cnnic.cn/apache/zookeeper/zookeeper-3.4.6/
Deploy three servers on a m ...
Posted by wcl99 on Mon, 24 Jun 2019 01:15:20 +0200
dubbo Simple Implementation Using Custom Registration Center
2017-06-25
The project GitHub address https://github.com/jiangcaijun/point2Point_dubbo
1. dubbo's Design Idea
> dubbo is a distributed service framework dedicated to providing high-performance and transparent RPC remote service invocation solutions, registering on dubbo in the form of service providers and consumers
2. Custom Implementation ...
Posted by twick100 on Tue, 18 Jun 2019 20:29:45 +0200
Akka (13): Distributed Operations: Cluster-Sharing-Operations Cluster Fragmentation
Through the introduction of Cluster-Singleton in the last part, we understand Akka's programming support for distributed programs: message-driven computing mode is particularly suitable for distributed programming, we do not need special efforts, just need to follow the normal Actor programming mode to achieve cluster distributed programs. Clus ...
Posted by feckless on Fri, 14 Jun 2019 02:59:14 +0200
Parameters or factors affecting or controlling PostgreSQL garbage collection
Label
PostgreSQL, garbage collection, parameters, freeze
background
What parameters or factors will affect or control the garbage collection of PostgreSQL?
parameter
Global parameters
1. Control the sleep time of VACUUM command. When the stage COST of vacuum is larger than vacuum_cost_limit, sleep will continue after a period of time.
va ...
Posted by tomo11 on Fri, 14 Jun 2019 00:51:29 +0200
Acquisition of user images
Many browsers now have access to users'video and audio input. However, depending on the browser, this function may be embodied as a fully dynamic built-in experience, or it may be implemented by authorizing other applications on the user's device.
Start with simplicity and proceed step by step
The easiest way to do this is to ask users ...
Posted by nemiux on Thu, 13 Jun 2019 22:44:05 +0200
Scraping music and scratching code realization
Implementing idea: Cover a UI Image VIew onto a label and erase the image by capturing the sliding trajectory.
CGContextClearRect(ref, rect);
-(void)createSubViews {
/**
Attention:
1. The positions of the two controls should be the same
2. Be sure to create the following label first.
Create pictures again
...
Posted by greg_soulsby on Wed, 12 Jun 2019 19:39:24 +0200
Akka (16): Persistent mode: Persistent FSM - state machine that can be automatically repaired
We discussed FSM, an Actor specially designed to maintain internal state, which is characterized by a special DSL that can easily perform state transition. The state transition mode of FSM is particularly suitable for business processes in reality, because its DSL can describe business functions more vividly. In order to achieve the availabilit ...
Posted by junrey on Thu, 06 Jun 2019 20:15:02 +0200