Category:Artificial Intelligence

  • Lock screen interview questions – redis (I)

    Time:2021-10-27

    Lock screen interview questions will be brushed every day, and the interview questions will be updated every working day. The lock screen interview question app and applet are now online. The official website address is:https://www.demosoftware.cc/#…。 It has included all the contents of the interview questions updated every day, as well as the features of unlocking […]

  • Mac local build Kafka

    Time:2021-10-27

    zookeeper install wget http://mirrors.cnnic.cn/apache/zookeeper/zookeeper-3.4.6/zookeeper-3.4.6.tar.gz tar zxvf zookeeper-3.4.6.tar.gz cd zookeeper-3.4.6 cp -rf conf/zoo_sample.cfg conf/zoo.cfg cd conf vim zoo.cfg Modify dataDir in zook.cfg start-up cd bin sh zkServer.sh start kafka install wget http://apache.fayea.com/kafka/0.8.2.1/kafka_2.10-0.8.2.1.tgz tar -zxf kafka_2.10-0.8.2.1.tgz cd kafka_2.10-0.8.2.1 sh bin/kafka-server-start.sh config/server.properties Create topic sh kafka-topics.sh –create –topic kafkatopic –replication-factor 1 –partitions 1 –zookeeper localhost:2181 Start producer sh […]

  • Talk about fsstatebackend of flick

    Time:2021-10-27

    order This paper mainly studies fsstatebackend of flick StateBackend flink-runtime_2.11-1.7.0-sources.jar!/org/apache/flink/runtime/state/StateBackend.java @PublicEvolving public interface StateBackend extends java.io.Serializable { // ———————————————————————— // Checkpoint storage – the durable persistence of checkpoint data // ———————————————————————— CompletedCheckpointStorageLocation resolveCheckpoint(String externalPointer) throws IOException; CheckpointStorage createCheckpointStorage(JobID jobId) throws IOException; // ———————————————————————— // Structure Backends // ———————————————————————— default <K> AbstractKeyedStateBackend<K> createKeyedStateBackend( Environment env, JobID […]

  • Reading papers on fairness of recommendation system (3)

    Time:2021-10-27

    My main task these days is to debug and run the code written according to the paper learning fair representations for recommendation: a graph based perspective, and then test the effect of the model and record it. The following describes my work in four parts: data set description, model evaluation strategy, super parameter adjustment and […]

  • Hacker earth survey in 2020: go language has become the most popular language (including download of go Language Atlas)

    Time:2021-10-27

    Focus on Alibaba cloud official account, reply   Go   You can download the clear knowledge map > Students who are interested in go language but do not know where to start can refer to the go language series: Why did you choose go? Go failure oriented programming With server programming Vajra Sutra   2020 […]

  • Modelarts black technology reveals the secret of intelligent evaluation and diagnosis of the model, so that the model can have a “physical examination”

    Time:2021-10-27

    Abstract: Huawei cloud AI development platform modelarts black technology supports ai r & D, makes model development more efficient and simpler, and reduces the landing threshold of AI in the industry. Comprehensive visual evaluation and intelligent diagnosis function enable developers to intuitively understand all aspects of the performance of the model, so as to carry […]

  • Alibaba cloud, the only cloud manufacturer selected in China, was selected into the 2021 Gartner APM Magic Quadrant

    Time:2021-10-27

    Introduction:Recently, Gartner released Gartner APM Magic Quadrant in 2021. Alibaba cloud became the only cloud manufacturer selected in China, and its product capabilities and strategic vision were highly recognized by Gartner analysts. Source|Alibaba cloud official account Recently, Gartner released Gartner APM Magic Quadrant in 2021. Alibaba cloud became the only cloud manufacturer selected in China, […]

  • Web ml + webassembly supports the background blur function of Google meet

    Time:2021-10-27

    Text/Tingbo Hou & Tyler Mullen, software engineer, Google Research Institute Translator/Alpha Technical reviser: Betta front-end expert, Wang Xingwei Original text/https://ai.googleblog.com/202… Video conference is becoming more and more important in people’s work and life. We can improve the video experience by enhancing privacy protection or adding interesting visual effects, while helping people focus on the content […]

  • Redis actual combat: geo helps me meet nearby goddesses

    Time:2021-10-26

    Yard old wet, read your bookSkillfully using data types to realize 100 million level data statisticsAfter that, I learned how to use different data types with ease(String、Hash、List、Set、Sorted Set、HyperLogLog、Bitmap)To solve the statistical problems of different scenarios. The product manager said that he has an idea to provide the majority of boys and girls with an opportunity […]

  • [case50] talk about fscheckpointstorage in flick

    Time:2021-10-26

    order This paper mainly studies fscheckpoint storage of Flink CheckpointStorage flink-runtime_2.11-1.7.0-sources.jar!/org/apache/flink/runtime/state/CheckpointStorage.java /** * CheckpointStorage implements the durable storage of checkpoint data and metadata streams. * An individual checkpoint or savepoint is stored to a {@link CheckpointStorageLocation}, * created by this class. */ public interface CheckpointStorage { boolean supportsHighlyAvailableStorage(); boolean hasDefaultSavepointLocation(); CompletedCheckpointStorageLocation resolveCheckpoint(String externalPointer) throws IOException; […]

  • Reading papers on fairness of recommendation system (4)

    Time:2021-10-26

    Next, it took me nearly four days to complete my thesis “towards long term fairness in recommendation”[1]Well understood. Because this paper uses reinforcement learning, which is not as concise and clear as the previous generation confrontation network (GAN), and involves a lot of mathematical knowledge.Before reading the paper, I spent a lot of time to […]

  • Kafka0.8.2 consumer examples

    Time:2021-10-26

    maven <dependency> <groupId>org.apache.kafka</groupId> <artifactId>kafka_2.10</artifactId> <version>0.8.2.2</version> </dependency> Advanced API instance public class NativeConsumer { private static final String TOPIC = “kafkatopic”; public void exec() throws UnsupportedEncodingException { Properties props = new Properties(); props.put(“zookeeper.connect”, “localhost:2181”); props.put(“auto.offset.reset”,”smallest”); props.put(“group.id”, “test-group”); props.put(“enable.auto.commit”, “true”); props.put(“zookeeper.session.timeout.ms”, “400”); props.put(“zookeeper.sync.time.ms”, “200”); props.put(“auto.commit.interval.ms”, “1000”); ConsumerConfig consumerConfig = new kafka.consumer.ConsumerConfig(props); ConsumerConnector consumerConnector = kafka.consumer.Consumer.createJavaConsumerConnector(consumerConfig); Map<String, Integer> […]