Read PDF documents, vudroid(Android)

Links to the original text: https://my.oschina.net/gal/blog/200182 Code modification from there( Summary of Open Source Android pdf Reader Development ) The author shared the code of G ...

Posted by HoangLong on Tue, 01 Oct 2019 00:47:09 +0200

Netty 4.x Chinese tutorial series Hello World

Links to the original text: https://my.oschina.net/u/1781072/blog/542608 1. Download and add Netty framework to the project 1.Netty's packages can be accessed from Netty's official ...

Posted by erikwebb on Sun, 08 Sep 2019 16:57:55 +0200

Hive format for storing and reading files

Hive files are stored in the following formats: TEXTFILE SEQUENCEFILE RCFILE ORCFILE (since 0.11) TEXTFILE is the default format, which will be defaulted if tables are not specified. When data is imported, data files will be copied directly ...

Posted by MatrixGL on Fri, 06 Sep 2019 04:28:02 +0200

netty seamlessly switch rabbitmq, activemq, rocketmq to achieve chat room chat function

(https://graph.baidu.com/resou... handler on netty's pipeline processing chain: Requires IdleStateHandler heartbeat to detect if the channel is valid, and handles UserAuthHandler for login authentication and MessageHandler for message processing protected void initChannel(SocketChannel ch) throws Exception { ch.pipeline().addLast(defLoopGr ...

Posted by programming_passion on Thu, 29 Aug 2019 04:30:35 +0200

JUC (2. Interthread Communication)

Two threads, one printing 1-52, the other printing alphabet A-Z printing order is 12134B... 5152Z, Require inter-thread communication 1.synchronized Implementation package com.liuyuanyuan.thread; import java.util.concurrent.locks.Condition; import java.util.concurrent.locks.Lock; import java.util.concurrent.locks.ReentrantLock; impo ...

Posted by Solar on Mon, 05 Aug 2019 06:01:29 +0200

ASP.Net Core Distributed Communication--Serialization

1. Serialization of Net Core 1.1 json.Net Common toolkits, such as Newtonsoft.Json, are components of serialization and deserialization based on json format json.net has the following advantages: Intrusivity: Serialization can be done without adding attribute s Flexibility: Flexible configurations, such as allowing serialized members to cu ...

Posted by railanc4309 on Sun, 04 Aug 2019 16:42:42 +0200

FFmpeg Memory H264 Stream Publishing rtmp

background A lot of information about FFmpeg reading memory 264 directly published into rtmp was searched on the internet. It was found that very little information was available in this area. Recently, the function of this area was done, and it is hereby recorded. Problem Description There are many ...

Posted by jdog5 on Fri, 02 Aug 2019 11:23:28 +0200

Go Micro Server Source Code Analysis

Summary In the Go Micro framework, Server is an encapsulation of services such as Broker, Register, Codec, Transort, as you can see in the figure below.Look again at the interface defined by Server Init: Initialization Handler: Register rpchandler NewHandler: Encapsulated rpchandler NewSubscriber: Encapsulating Subscriber to Subscribe Method S ...

Posted by Hexxx on Sun, 21 Jul 2019 16:07:51 +0200

Analysis of ffmpeg Command Mechanism--How to Set Parameters

http://blog.csdn.net/leixiaohua1020/article/details/44279329 (Structural Membership Management System-AVOption) http://blog.csdn.net/leixiaohua1020/article/details/44268323 (Structural Membership Management System-AVClass) //Need to understand the definition of the option structure - ------------------------------- simplified version type ...

Posted by kenneth74 on Sun, 16 Jun 2019 00:25:55 +0200

Summary of python coding problems

Python's coding problem is basically every novice will encounter the barrier, but as long as you fully grasp it, you can jump over the pit, never change from one of them, this is not the latest I have encountered this problem, let's take a look at it. The reason for this is an upload function done by review colleagues. Look at the followin ...

Posted by nicelad_uk on Thu, 23 May 2019 02:33:18 +0200