• Ray and rllib for fast parallel reinforcement learning


    By Christian HubbsCompile | VKSource: toward Data Science Ray is more than just a library for multiprocessing. Ray’s real strength comes from the rllib and tune libraries, which take advantage of reinforcement learning. It allows you to extend your training to large distributed servers, or take advantage of parallelization to use your own laptop more […]

  • Implementation of AOP control transaction by JDK and cglib dynamic proxy


    Implementation of AOP control transaction by JDK and cglib dynamic proxy preface Or follow upCustom implementation of IOC container in XML In this instance, there is no transaction operation, and the transaction consistency in a thread operation cannot be maintained; @Override public void transfer(String fromCardNo, String toCardNo, int money) throws Exception { Account from = […]

  • Making picture carousel with uiscrollview


    Uiscrollview picture carousel nstimer I hope you can open your mobile phone anytime and anywhere to learn knowledge. Remember the sentence of the class!Posture has never been so sexy! Learning has never been so happy! My name is hank!! How to use uiscrollview Create uiscrollview Add child controls to uiscrollview Set the contentsize of uiscrollview […]

  • Comparison of proxy server and virtual private network


    Why do we compare proxy server and VPN? Before I talk about it, I’ll talk about why I want to compare these two things. Whether it is a proxy server (synonymous with the “proxy” below) or VPN, in fact, people use it for the same purpose, and the final effect is basically the same, that […]

  • Running time of debugging task card is long


    When running, it will get stuckRunning ‘gradle assembleDebugBecause gradle’s Maven warehouse is abroad, you can use the image address of Alibaba cloud 1 open project: buildscript { ext.kotlin\_version = ‘1.3.50’ repositories { //This is modified to use the agent of domestic Ali // google() // jcenter() maven { url ‘https://maven.aliyun.com/repository/google’ } maven { url ‘https://maven.aliyun.com/repository/jcenter’ […]

  • Docker learning notes — net core project container connecting to MSSQL container (environment: centos7)


    The previous section shows how to install MSSQL in dockerAnd (7) connect with Navi SQL Server This section demonstrates the interconnection between the. Net core project container and the MSSQL container! 1. Create a bridge in bridge mode and connect the bridge to the MSSQL container Net, and create a new. Net bridge container and […]

  • What can nginx do? After reading this article, you will understand!


    Author: RayeLink: www.jianshu.com/p/8bf73d1a758c This article only aims at what things nginx can handle when it does not load the third-party modules. Because there are too many third-party modules, it can not be completely introduced. Of course, this article itself may not be complete. After all, I have used and learned about it personally. Welcome to […]

  • Livy installs and integrates Kerberos


    Reasons for use: because Griffin needs to install the support of Livy components, you need to install Livy to submit spark tasks. Version Description: Livy version 0.7 Spark version cdh6.2-spark 2.4 install (1) Download Apache Livy download address:https://github.com/apache/incubator-livy/archive/v0.7.0-incubating.zip(2) Unzip apache-livy-0.7.0-enriching- bin.zip(3) Modify configuration file conf / Livy- env.sh , add Hadoop_ home,spark_ home,Hadoop_ conf_ dir,spark_ […]

  • Nginx commonly used classic configuration | reverse proxy, HTTPS redirection, port forwarding


    Secondary directory mappingAt present, when there are many scenarios for separating front-end and back-end projects, there is usually one port in the front-end and one port in the back-end. If the front end is https://example.com/index.html , the calling interface is https://example.com :4433 Such deployment may be troublesome for some small projects. Of course, you can […]

  • Solution to failure of downloading Internet resources in golang module


      When using the golang 1.11 module feature, you need to download it golang.org Library file with external network address You can create an environment variable goproxy and use the image of aliyun   Go public agent document brief introduction Go module public agent repository, proxy and cache go module. You can use this proxy […]

  • Nginx builds reverse proxy server


    default.conf to configure External access supports HTTP and HTTPS, but nginx internally converts requests into HTTPS and forwards them server { listen 80; server_name sunfj.cn; ## root www/mimvp_proxy; Rewrite ^ (. *) host $1 permanent; ාාාාාාාාාාාාාාාාාා } server { listen 443 ssl http2; server_name xxx.cn; ## root www/mimvp_proxy; ssl on; ssl_certificate /etc/ssl/certs/xxx.crt; ssl_certificate_key /etc/ssl/certs/xxx.key; ssl_session_cache […]

  • Common interview questions for Linux job


    linuxOperation and maintenance engineers are often asked a variety of questions during the interview. Next, I will sort out the interview questions according to my own experience for your reference. Take out the document aaa.txt Lines 4 to 7 of [[email protected] ~]# cat aaa.txt 1.aaa2.bbbbbbb3.ccccccccccccc4.dddddddddddddddddddddd5.eeeeeeeeeeeeeeeeee6.ffffffffffffffffffffffffffffffffff7.gggggggggggggggggggggg8.hhhhhhhhhhhhhhhhhhhhhhhhhhhhhhh9.iiiiiiiiiiiiiiiiiiii10.jjjjjjjjjjjjjjjjjjjjjjjjjj11.kkk12.llllllllll [[email protected] ~]# sed -n ‘4,7p’ aaa.txt4.dddddddddddddddddddddd5.eeeeeeeeeeeeeeeeee6.ffffffffffffffffffffffffffffffffff7.gggggggggggggggggggggg Find the file ending […]