Understanding all array data types in Python
About me
A thoughtful programmer ape, a lifelong learning practitioner, currently works as a team lead er in an entrepreneurship team. The technology stack involves Android, Python, Java and Go, which is also the main technology stack of our team.
Github: https://github.com/hylinux1024
Wechat Public Nu ...
Added by brainstorm on Fri, 09 Aug 2019 11:40:29 +0300
Python analyzed the Weixin nicknames after 00-90, and found the following rules!
Hello, everyone, first of all, this is a technical article, but also a not technical article. Today, I share the following results after I got more than 3,500 micro-credit household nicknames and age groups named in English by Weixin applet.
Let's get it
1. Basic information acquisition
1. Visit the ...
Added by porta325 on Wed, 07 Aug 2019 16:22:20 +0300
Wechat Public Number & Small Program - Obtain and Decrypt User Data (Obtain openId, unionId)
This article is from https://my.oschina.net/u/3235888/blog/832895.
Preface
Wechat applet API document: https://mp.weixin.qq.com/debug/wxadoc/dev/api/api-login.html
In the actual development of small programs, users are often required to authorize login and obtain user data to quickly dock with user systems.
openId: User's unique identi ...
Added by priya_cks on Wed, 07 Aug 2019 08:44:17 +0300
Source Analysis RocketMQ Message Track
This article follows RocketMQ Message Track Design Thought, from the following three aspects to interpret its source code:
Send Message Track
Message Track Format
Storing message track data
This program catalog
1. Send Message Track Flow
1.1 DefaultMQProducer constructor
1.2 SendMessageTraceHookIm ...
Added by Lyleyboy on Mon, 05 Aug 2019 05:07:26 +0300
Android Month 2_Day2_Menu menu and Opup Window
Android Month 2_Day2_Menu menu and Opup Window
1. System menu Options Menu
Step flow
1. Create menu folders
2. Create. xml file under menu folder
3.Activity rewrites onCreateOptionsMenu load resource files
4.Activity rewrites onOptions ItemSelected plus event listening
Note: An Activity has only on ...
Added by dirTdogE on Sun, 04 Aug 2019 16:46:02 +0300
path and fs related modules
path module
_u dirname: Get the absolute path directory of the current file
_u filename: Get the path to the current file
ctx.body = {
dirName: __dirname,
fileName: __filename
}
//{"dirName":"D:\\WEB\\koa_proj","fileName":"D:\\WEB\\koa_proj\\app.js"}
path.join(p1, p2): for splicing paths
//"D:\\WEB\\koa_proj\\file.txt"
path.jo ...
Added by Quilmes on Sun, 04 Aug 2019 06:07:42 +0300
Using Seq2Seq for Chinese-English translation
1. Introduction
1.1 Deep NLP
Natural Language Processing (NLP) is an interdisciplinary branch of computer science, artificial intelligence and linguistics. It mainly enables computers to process or understand natural languages, such as machine translation, question and answer systems.But NLP is often considered difficult because of its complexi ...
Added by sheffrem on Sat, 03 Aug 2019 19:10:44 +0300
Introduction of filters, monitors, interceptors and their usage in SpringBoot
Filter
Dependency and servlet containers play a role in almost all requests. Initialization of init method is used at container startup, and then doFilter() is called for each request. The main purpose is to filter character encoding and make some business logic judgments. Its working principle is tha ...
Added by rathlon on Thu, 01 Aug 2019 05:29:36 +0300
HDU2527: Safe Or Unsafe
Links to the original text: http://www.cnblogs.com/riasky/p/3430865.html
Problem Description
Javac++ saw an interesting thing while reading computer books one day! Each string of characters can be coded into some numbers to store inform ...
Added by PandaFi on Wed, 31 Jul 2019 21:16:48 +0300
unity Project Gets and Changes xml Configuration
Recently, when working on a pc project, it was required to modify the relevant xml configuration in the running application and save it.
As shown in the figure:
Project Root Directory and xml Hierarchy Diagram
xml data:
So how to modify the xml file outside the project and save the modification? Don't ...
Added by netizen on Wed, 31 Jul 2019 12:01:22 +0300