Course assignment - get all campus news

Operation requirements: Take out all the news of a news list page and wrap it into a function. Get the total number of news articles and calculate the total number of pages. Get all news details for all news list pages. Find a topic that you are interested in, do data crawling and word segmentation analysis. Can't be the same as other students ...

Posted by zubinkasad on Thu, 02 Apr 2020 22:18:00 -0700

Spring boot + websocket + netty to push messages

Thank you for your reference- http://bjbsair.com/2020-04-01/tech-info/18392.html One of the application scenarios of Netty in the project: the message push function can be used to push messages to all users, or to specify a user. The spring boot project is created. The background server uses Netty technology, and the front page uses WebSocket t ...

Posted by jpadie on Thu, 02 Apr 2020 08:24:30 -0700

Python3 Standard Library: codecs string encoding and decoding

1. Codcs string encoding and decoding The codecs module provides both stream and file interfaces to convert different representations of text data.Usually used to process Unicode text, but additional encoding is provided for other purposes. 1.1 Getting started with Unicode CPython 3.x distinguishes between text and byte strings.The bytes instan ...

Posted by melittle on Thu, 19 Mar 2020 18:54:34 -0700

netty realizes group chat

[overview] Implement a group chat tool. The client messages participating in the chat are broadcast through the server. It mainly consists of two parts: chat server and chat client. Chat server function overview: 1. Monitor the access and disconnection of all clients 2. When client A accesses the chat room, send the access message to other clie ...

Posted by jonners on Tue, 17 Mar 2020 09:14:13 -0700

FFMPEG development: collect camera data under Linux, record it into MP4 video and save it locally

1, Environment introduction Operating system introduction: ubuntu 18.04 FFMPEG version: 4.4.2 Camera: USB camera, virtual machine attached camera of the machine 2, Download and compile FFMPEG and X264 X264 download address: http://www.videolan.org/developers/x264.html FFMPEG download address: ...

Posted by itarun on Mon, 16 Mar 2020 21:57:27 -0700

opencv learning note Day02: read video stream

Article directory Read video stream Screen insert text Read video stream cv2.getcapture(), use the function cap.get(propId) to get some parameter information of the video. Here the propId can be any integer between 0 and 18. Each number represents an attribute of the video: cv2.VideoCapture.get ...

Posted by werkkrew on Sat, 07 Mar 2020 07:13:13 -0800

Introduction to FFmpeg: Common API usage and C language development

Introduction to FFmpeg: Common API usage and C language development Understanding Related Concepts 1. Basic concepts of multimedia files 2. Quantitative encoding of audio 3. Time Base Environment Configuration Related Downloads Environment Configuration test Development Cases Processing logic and ...

Posted by baber_abbasi on Fri, 06 Mar 2020 19:05:22 -0800

Remember a Bug related to Base64

This paper originally planned to write two parts. The first is to record the latest bugs related to Base64. The second is the detailed explanation of the principle of Base64 encoding. It turns out it's half written, eh? How can I say such a long time about a thing that is not complicated? It's not conducive to reading and understanding (actuall ...

Posted by littlegreenman on Sun, 01 Mar 2020 04:10:48 -0800

netty learning note 14 - TCP packet sticking and unpacking

Basic introduction of TCP packet sticking and unpacking TCP is connection oriented, flow oriented, and provides high reliability services. There should be one-to-one comparison of socket s on both sides of the transceiver (client and server). Therefore, in order to send multiple packets to the server ...

Posted by ProblemHelpPlease on Fri, 21 Feb 2020 00:06:39 -0800

[Netty] decoder related: DelimiterBasedFrameDecoder

Article directory Preface Experimental code Follow up source code Inheritance relationship of DelimiterBasedFrameDecoder Property of DelimiterBasedFrameDecoder Analysis of construction method decode implementation Preface This section will take a look at the decoder that Netty provides to user ...

Posted by ATS16805 on Sat, 15 Feb 2020 06:11:08 -0800