Smart use of Event s to discover problems
Welcome to my In-depth Understanding MySQL Principle 32, as follows:
With a previous understanding of Events, we can use them to do some work.After learning these commonly used Events, I used C to write a tool for parsing Events. I called it'infobin', which means extracting information from a binary log.As far as I know, there are some friends ...
Posted by Steven_belfast on Fri, 03 Jan 2020 07:11:01 -0800
Detailed explanation and examples of Boolean operators of Rxjava2 Observable
Briefly:
Requirements understanding:
Among the many operators of rxjava, there are data transformation, filtering, etc., but sometimes there are some judging operations? For example, to judge whether all data of an Observable meets a specified condition, to judge whether an Observable will emit a specified value, etc., the answer is yes. Rxjava ...
Posted by jenni on Fri, 03 Jan 2020 06:29:05 -0800
Details and examples of error handling operation of Rxjava2 Observable
Briefly:
Requirements understanding:
In Rxjava, when an exception occurs in the data processing and distribution, the observer will receive an Error notification. What if you don't want to send the exception notification and handle it yourself? Of course, the answer is yes. In Rxjava, many operators can be used to respond to the onError notific ...
Posted by vinaip on Fri, 03 Jan 2020 02:15:43 -0800
redis cluster configuration under Windows
Copy 6 copies of redis and modify each configuration file (redis.windows.conf)
cluster1 To configure
bind 192.168.1.223
port 6111
loglevel notice
logfile "D:/develop/redisClusterMS/Redis -clu -1/redis6111_log.txt"
appendonly yes
appendfilename "appendonly.6111.aof"
cluster-enabled yes ...
Posted by ac1dsp3ctrum on Fri, 03 Jan 2020 00:09:40 -0800
viewpager from getting started to proficient in 4 optimized round robin viewpagerscroller pagetransformer
Last blog Viewpager from beginner to proficient in 3 infinite round robin viewpager We have made an infinite polling viewpager, but the effect of this pager is not very appropriate, and the sliding is not very beautiful. Here we need two AIDS to help our viewpager slide more smoothly.
First of all, the ViewPagerScroller code i ...
Posted by frans-jan on Thu, 02 Jan 2020 21:57:03 -0800
Details and examples of Rxjava2 Observable
Briefly:
Several main needs
Create an Observable directly
Combining multiple observables
Perform transform operation (transform operation) on the data transmitted by Observable
Take a specific value from the data transmitted by Observable (filtering operation)
Forward partial value of Observable (conditional / Boolean / filter operation)
Evalu ...
Posted by vandutch on Thu, 02 Jan 2020 16:23:32 -0800
Android video seamless switching, using MediaPlayer and TextureView
Requirement description
For example, when advertising is played, each video lasts for 15 seconds. When switching between videos, machines with poor performance may have a black screen for a period of time, and the experience is not good. Next, we need to solve the problem of black screen.
Solution
Two surfaceView modes are ...
Posted by josephicon on Thu, 02 Jan 2020 08:26:59 -0800
How to capture a girl's heart with Python?
Editor in chief Liu Jing
The weather is cooling, but the feelings are heating up?
Just arriving at the company in the morning, I received the soul torture from xiaoq:
"Q boy! Or take a vacation this afternoon! I'll take you to the psychiatry department! " I can't stand it. I blurted out.
Voice did not fall, the front row of the ...
Posted by UVL on Thu, 02 Jan 2020 07:29:03 -0800
Android progress bar / waiting to load - rotate small dot effect
Progress bar / wait to load - rotate small dot effect
1 Effect Picture
The static image doesn't work, so update the article and attach the github address.
2, thinking
12 small circle points stacked (i=0,1,...11)
Animation 1: rotate from 0 degree to 30*i degree
Animation 2: rotate from 30*i degrees to 360 degrees
Since ...
Posted by frizzo on Thu, 02 Jan 2020 04:17:25 -0800
Glide for Android (image loading)
1. Add dependency
dependencies {
compile 'com.github.bumptech.glide:glide:3.7.0'
compile 'com.android.support:support-v4:23.2.1'
}
2. Usage
ImageView imageView = (ImageView)findViewById(R.id.imageView)
Glide.with(this)
.load(url)//Picture address
.crossFade()//Open animation
//.dontAnimate()//Close ...
Posted by iron999mike on Wed, 01 Jan 2020 12:00:57 -0800