This article describes how to use the C++ language and the cpprestsdk library to write a downloader program that can download images from the www.ebay.com website and save them to a local folder. In order to avoid being blocked by the website, we use the proxy IP address provided by Yiniu Cloud crawler proxy service, […]
Tag: tsd
Summary of problems when upgrading Android app targetSdk from 28 to 33
Article directory 1. TelephonyManager#listen(PhoneStateListener listener, int events) error log 1. Call the entrance 2.~~TelephonyRegistryManager of binder service~~ TelephonyRegistryManager (not binder server!!!) register use 3.TelephonyRegistry of binder service register Note:~~You can see that the registration locations of the two binder services are different~~ It has been confirmed that the former runs in the calling process (same […]
Analysis on the principle of OpenTSDB time series database
Author: Zen and the Art of Computer Programming 1. Introduction (1) What is OpenTSDB? OpenTSDB (Open Time Series Database) is a time series database system based on HBase. It was originally developed by LinkedIn and later acquired by the Apache Foundation. Its main functions include storage, retrieval, analysis of time series data, etc., and is […]
By chance, realize the nutsdb transaction state management mechanism
Background Everything starts from that dark and stormy night. I was bored that night, so I opened the nutsdb GitHub repository to see if there were any issues that needed to be dealt with. The picture above is an interesting issue I found that night. Among them, committedTxIds is the data structure used in nutsdb […]
[Blog 665] Using promtool to analyze prometheus tsdb block
Use promtool to analyze prometheus tsdb block Scene The tsdb status provided by prometheus ui is more information about the recently active series. What should I do if I want to analyze the blocks of historical messages? Using promtool tsdb analyze to investigate churn and cardinality Usage: promtool tsdb analyze /prometheus/data/01H2KRM58RQZFJ302BBVEBJSC7 01H2KRM58RQZFJ302BBVEBJSC7 Example of results: […]
FLASHDB’s tsdb time series database code analysis
1. Background Take a good look at FlashDB. There are some places that are not easy to use when reading during use, so study the relevant code of FlashDB’s TSDB in depth to see how to solve the problems in the project. Mainly, the data I fetch each time has an upper limit, and the […]
Modern C++ Programming Practice 27-C++RESTSDK: Using Modern C++ to Develop Network Applications
27 | C++ REST SDK: Developing web applications with modern C++ Hello, I am Wu Yongwei. In the actual combat chapter, the last library we will explain is C++ REST SDK (also written as cpprestsdk) [1], a C++ library that supports the HTTP protocol [2] and is mainly used for RESTful [3] interface development. Get […]
TsD of ML: Using the TsD time series decomposition method (trend/seasonal/residual component, smoothing + combined forecasting) to realize the regression prediction case of the highest temperature in Shanghai
ML’s TsD: Using the TsD time series decomposition method (trend/seasonal/residual component, smoothing + combined forecast) to realize the regression prediction case of the highest temperature in Shanghai Directory A case of regression prediction of the maximum temperature in Shanghai using the TsD time series decomposition method (trend/seasonal/residual components, smoothing + combined forecasting) # 1. Define […]
[Solved] Hikvision sd reports an error Structure.getFieldOrder() on class com.xxx.sdk.HCNetSDK$NET_DVR_DEVICEINFO_V30 does not provide
Remember a linux deployment Haikang sdk error The content of the error is as follows Caused by: java.lang.Error: Structure.getFieldOrder() on class com.xxx.sdk.HCNetSDK$NET_DVR_DEVICEINFO_V30 does not provide enough names [0] ([]) to match declared fields [31] ([byAlarmInPortNum, byAlarmOutPortNum, byAudioChanNum, byChanNum, byDVRType, byDiskNum, byHighDChanNum , byIPChanNum, byLanguageType, byMainProto, byMirrorChanNum, byMultiStreamProto, byRes2, byStartChan, byStartDChan, byStartDTalkChan, byStartVoiceInChanNo, bySubProto, bySupport, bySupport1, […]
[Solved] [Centos compiles and installs opentsdb, an error is reported when executing ./build.sh, the jar package cannot be downloaded]
unable to resolve host address central.maven.org’ –2022-08-22 10:36:55– http://central.maven.org/maven2/com/fasterxml/jackson/core/jackson-annotations/2.9.5/jackson-annotations-2.9.5.jar Resolving host central.maven.org (central.maven.org)… failed: unknown name or service. wget: Unable to resolve host address ‘central.maven.org’ make: *** [third_party/jackson/jackson-annotations-2.9.5.jar] error 4 http://repo1.maven.org/maven2/org/apache/commons/commons-math3/3.4.1/commons-math3-3.4.1.jar Resolving host repo1.maven.org (repo1.maven.org)… 151.101.24.209 Connecting repo1.maven.org (repo1.maven.org)|151.101.24.209|:80… Connected. An HTTP request has been made, waiting for a response… 501 HTTPS Required 2022-08-22 10:57:03 […]