Slow code Python? Hands on how to speed up your code by 30%

Yun Qi Hao: https://yqh.aliyun.comThe first-hand cloud information, the selected cloud enterprise case base of different industries, and the best practices extracted from many successful cases help you to make cloud decision! Python has been loved by programmers all over the world, but it has been criticized by some people, one of the reaso ...

Posted on Mon, 13 Jan 2020 06:58:28 -0500 by Shagrath

The first lesson of big data on the cloud: MaxCompute authorization and appearance operation hidden pit Guide

1, Sub account creation, AK information binding If you are the first time to log in to digital plus platform and use DataWorks with a sub account, you need to confirm the following information: • the business alias of the primary account to which the sub account belongs. • user name and password of the sub account. • AccessKey ID ...

Posted on Mon, 13 Jan 2020 02:57:38 -0500 by majik_sheff

Java serialization 70 bubble algorithm and selection algorithm

1, Bubble sorting 1. That is, select the largest one in turn and put it at the back package com.bjpowernode.java_learning; ​ public class D70_1_BubbleSort { public static void main(String[] args) { /* * Bubble sorting algorithm: there is an array of type int: 3 1 6 2 5 */ int[] a = {3,1,6,2,5,45,8,9,86}; //Start ...

Posted on Fri, 10 Jan 2020 14:29:02 -0500 by dezkit

Flink asynchronous contradiction - sharp Async I/O

Dimension table JOIN - a business scenario that cannot be bypassed In the process of Flink flow processing, it is often necessary to interact with external systems, and use dimension tables to complete the fields in fact tables. For example, in an e-commerce scenario, a skuid of a commodity is needed to associate some attributes of the commodit ...

Posted on Fri, 10 Jan 2020 14:23:20 -0500 by FrankHarley

One of big data: deployment and construction of Hadoop 2.6.5 + CentOS 7.5 three node big data cluster

1, VM virtual environment construction (detailed explanation) Note: create 3-node Hadoop virtual environment with VmWare Workstation on windos10Create virtual machineNext stepSet virtual machine host name and media storage pathSet 20G disk sizeSelect custom hardwareConfigure network mode to NAT modeConfigure virtual machine boot imageHere, use ...

Posted on Wed, 08 Jan 2020 02:23:20 -0500 by Ansel_Tk1

Python - Authentication Code Recognition Pillow + tesseract-ocr

brief introduction Picture Authentication Code recognition can be done in several steps, usually using Pillow library or OpenCV, which are: Gray processing-binarization noise reduction Character Segmentation Standardization Distinguish Grayscale: In the RGB model, if R=G=B, the color represents a grayscale color, where the value of R=G=B is c ...

Posted on Tue, 07 Jan 2020 20:51:27 -0500 by mephistoo

Alibaba cloud IOT platform device historical attribute reporting and MNS server subscription

Summary Alibaba cloud's Internet of things platform not only supports the reporting of real-time attributes of devices, but also supports the reporting of attribute data that is not reported in time for some reasons by the way of historical attribute reporting. Historical attribute reporting is Topic: / sys/{productKey}/{deviceName}/thing/e ...

Posted on Tue, 07 Jan 2020 09:20:08 -0500 by BandonRandon

CentOS 7 Deploy Oracle 12c Enterprise Edition Database

1. Install Oracle 12c 1. Notes for Installing CentOS 7 Operating System Since this installation of Oracle 12c software is implemented on the CentOS 7 system, install the CentOS 7 operating system first. The installation requirements are as follows: Firewall configuration options are set to disable; SELinux is set to disable; The default ...

Posted on Tue, 07 Jan 2020 04:01:54 -0500 by totof06

9. ZooKeeper Installation Tutorial Details

@[TOC] 1. Environmental preparation 1.1 Download zooKeeper Looking at the documentation for hadoop 2.7.3, we can see that hadoop 2.7.3 was built with zookeeper-3.4.2 when it was highly available, so we followed the instructions of the hadoop website and installed zookeeper-3.4.2. Go to the website to download ZooKeeper 3.4.2Official address: h ...

Posted on Mon, 06 Jan 2020 16:44:21 -0500 by classix16

Python serializes 61-tkinter three layouts

1. Examples of pack layout   #pack Layout case import tkinter baseFrame = tkinter.Tk() #The following code creates a component and lays it out btn1 = tkinter.Button(baseFrame,text="A") btn1.pack(side=tkinter.LEFT,expand=tkinter.YES,fill=tkinter.Y) ​ btn2 = tkinter.Button(baseFrame,text="B") btn2.pack(side=tkinter.TOP,expand=tkinter.YES ...

Posted on Mon, 06 Jan 2020 00:55:31 -0500 by cybercookie72