The input.conf configuration of the mpv player solves the problem that the arrow keys fast forward and rewind are invalid (always jump to key frames)

The key is LEFT no-osd seek -5 exact #arrow key left back RIGHT no-osd seek 5 exact #Direction key right forward To write no-osd and exact, the input.conf found online are all cliches and nonsense, and these two keywords are not written. mpv.conf ##Decoding/Rendering Settings## #Video output driver, Windows can choose gpu/gpu-next/direct3d, etc., gpu is […]

Solving UnicodeDecodeError: utf-8 codec cant decode byte 0xc2 in position 0: invalid continuation byt

Table of Contents Solving UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xc2 in position 0: invalid continuation byte error message reason solution Example 1: Read web page content and process it Example 2: Read text file and process it Solving UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xc2 in position 0: invalid continuation byte When processing text […]

Bug resolved: Invariant Violation: Element type is invalid: expected a string (for built-in components) or

Blogger Maotouhu () takes you to Go to New World? Blog homepage: Maotouhu’s blog “Complete Column of Interview Questions” Articles with pictures and texts Vivid images Simple and easy to learn! Everyone is welcome to step in~ “IDEA Development Cheats Column” Learn the common operations of IDEA and double your work efficiency~ “Master Golang in […]

@ResponseBodyAdvice & @RequestBodyAdivce invalid

Background Recently, projects need to have the ability to provide services to the outside world, but considering data security issues, the interface must be encrypted and decrypted; there are many solutions to implement encryption and decryption, such as filters, interceptors, inheriting RequestResponseBodyMethodProcessor, etc., but I am learning about it recently @ResponseBodyAdvice @RequestBodyAdvice These two annotations […]

Error setting non null for parameter #1 with JdbcType null . dm.jdbc.driver.DMException: Invalid sequence number

Problem occurred org.mybatis.spring.MyBatisSystemException: nested exception is org.apache.ibatis.type.TypeException: Could not set parameters for mapping: ParameterMapping{<!– –>property=’__frch_item_0.batchId’, mode=IN, javaType=class java.lang.Long, jdbcType=null, numericScale=null, resultMapId=’null’, jdbcTypeName=’null’, expression=’null’}. Cause: org. apache.ibatis.type.TypeException: Error setting non null for parameter #1 with JdbcType null . Try setting a different JdbcType for this parameter or a different configuration property. Cause: dm.jdbc.driver.DMException: The sequence number […]

Solve fp = builtins.open(filename, “rb“) OSError: [Errno 22] Invalid argument: F:\File_Pyt

Table of Contents Solve OSError: [Errno 22] Invalid argument error Problem Description problem analysis solution Summarize Introducing the open() function grammar Mode parameter (mode) return value Example Solve OSError: [Errno 22] Invalid argument error Recently, I encountered a strange error when using Python to process files: ??OSError: [Errno 22] Invalid argument??. After some investigation and […]

Solving UnicodeDecodeError: utf-8 codec cant decode byte 0xd3 in position 238: invalid continuation b

Table of Contents Solving UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xd3 in position 238: invalid continuation byte Method 1: Specify the correct encoding Method 2: Ignore error characters Method 3: Use other encodings to try decoding Method 4: Convert file encoding in conclusion Solving UnicodeDecodeError: ‘utf-8’ codec can’t decode byte 0xd3 in position 238: invalid […]