Flink Zero Foundation Practical Course: How to Calculate Real-time Hot Commodities
In the last introductory tutorial, we were able to quickly build a basic Flink program. This article will take you step by step to implement a more sophisticated Flink application: real-time hot commodities. Before starting this article, we recommend that you practice the previous article first, because this article will follow the my-flink-pr ...
Posted by ozone on Thu, 20 Jun 2019 13:17:10 -0700
Drawing process of Android View
View rendering and event handling are two important topics. As I said before, the event distribution mechanism of View can be seen first by students who are not very clear about it. Delivery mechanism of Android Touch events There's no more to say here. For some functions that can not be achieved by the system's own controls, we need to dra ...
Posted by artisticre on Tue, 18 Jun 2019 16:32:38 -0700
Android View Display Process
Study how View is displayed on the screen after the layout file is loaded, that is to say, study the display process of View. The following two aspects will be introduced: 1. The whole process of measurement, layout and drawing from loading layout file to view. 2. How are surface, surface Flinger and view related?
In Activity's onCrea ...
Posted by Craig79 on Mon, 17 Jun 2019 16:28:18 -0700
Interesting Programming - Controlling the CPU of your own computer
Topic 1: Write a program to show CPU occupancy in windows Task Manager as a sinusoidal function curve.
At first glance, I really don't have much idea about this topic. Because I haven't thought too much about performance and CPU usage. It's really a good application question after reading and searching materials. The following tasks will ...
Posted by ealderton on Mon, 17 Jun 2019 15:01:35 -0700
First Recycler View
1. What is RecyclerView?
According to the official instructions of Google:
A flexible view for providing a limited window into a large data set.
It can display flexible views of large data sets in limited windows.
So we can understand that an appropriate use scenario for RecyclerView is that due to size constraints, the user's devi ...
Posted by kingsol on Mon, 17 Jun 2019 14:15:50 -0700
Baidu Translation of Daily API
What is Baidu Translation? Can I eat it? I believe many people are familiar with it. It is an indispensable thing in our life.
However, Baidu Translation Development Platform can only translate 2 million characters per month, and the extra characters should be calculated according to 49.00/million characters. For my purple beggar programmer, i ...
Posted by Scummy12 on Mon, 17 Jun 2019 13:56:40 -0700
Flask Series (8) - Flask-Migrate
Flask-Migrate
In the actual development environment, database modification often occurs. Generally, we do not modify the database manually, but to modify the corresponding ORM model, and then map the model to the database. At this point, it would be very useful to have a tool dedicated to this kind of thing, and flask-migrate does it. Flask-m ...
Posted by coffeehead on Sat, 15 Jun 2019 18:04:43 -0700
C# Connect MYSQL database and query
ABSTRACT: The result interface developed with MFC is too ugly to be seen by pass, requiring redevelopment with C >._
Previously, using MFC to develop the result interface was too ugly to be pass, requiring C# to redevelop > <, but finally got rid of the pain of VC6.0 and operated Y. First connect to the database. (1) mysql-conn ...
Posted by kit on Sat, 15 Jun 2019 14:29:46 -0700
How XtraGridView of Developer Express dynamically controls the display of columns
2009 Unicorn Enterprise Heavy Money Recruitment Python Engineer Standard > >
XtraGridView has a Save LayoutToXml method that ...
Posted by andy666 on Fri, 14 Jun 2019 17:08:54 -0700
Hand-in-hand teaches you to use custom dialog, which can appear anywhere
This is my blog once.
1. Customize a dialog to pop up the bottom pop-up window. It can nest multi-layer controls. Note ViewPager, Recycler View, imageview, etc. can be nested.
2. Set style first, and imitate Google's native dialog to set style.
<style name="style_location_dialog" parent="@android:style/Theme.Dialog">
< ...
Posted by viperfunk on Fri, 14 Jun 2019 15:57:13 -0700