Tag:details

  • How to innovate from a series of papers on removing rain

    Time:2020-5-26

    Paper: restoring an image taken through a window covered with divide or rainHome page: https://cs.nyu.edu/~deigen/rain/ Fu xueyang homepage: https://xueyangfu.github.io/Intelligent data analysis and Processing Laboratory of Xiamen University:https://xmu-smartdsp.github.io/ 1. Restoring an image (ICCV 2013) When we take photos, we will encounter scenes taken through the glass, such as windows, windows, or through the glass, etc., and […]

  • Alpine installs telnet and other tools

    Time:2020-5-26

    Alpine is really simple, but it’s really not used to people who are familiar with CentOS and ununtu.Therefore, record some package installation and operation details about Alpine(Gradually supplement)。 1. telnet >>> docker exec -it CONTAINERID /bin/sh /app # telnet /bin/sh: telnet: not found /app # apk update fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/main/x86_64/APKINDEX.tar.gz fetch http://dl-cdn.alpinelinux.org/alpine/v3.7/community/x86_64/APKINDEX.tar.gz v3.7.0-243-gf26e75a186 [http://dl-cdn.alpinelinux.org/alpine/v3.7/main] v3.7.0-229-g087f28e29d [http://dl-cdn.alpinelinux.org/alpine/v3.7/community] […]

  • Websocket go project, recruit small partners to develop and maintain together~

    Time:2020-5-25

    We have implemented the websocket protocol with go, but there are still many details to polish. We want to recruit a partner to develop, maintain and test together, and learn together. Project address: github.com/yeqown/websocket Current progress: Complete frame reading and writing in websocket Conn enables on / read / write / off TLS connection support […]

  • [20191013] Oracle number type storage conversion script.txt

    Time:2020-4-14

    [20191013] Oracle number type storage conversion script.txt –//Test to see if you can use the output of BC obase = 100 to solve the problem. In addition, before the script forgot to consider the rounding of mantissa.–//Maybe programming is like this. There are always some details that are not taken into account–//The code is num2raw_5.sh […]

  • Tensorflow learning notes (7): tensorboard — tensor and graph visualization

    Time:2020-3-13

    Preface This paper is based on the visualization learning and graph visualization of how to, tensorflow official website. Tensorboard is a visualization tool of tensorflow. In this paper, based on learning notes (4), we modify a small amount of code to explore the use of tensorboard. Code # -*- coding=utf-8 -*- #@ Author: Chen Zhiping […]

  • Chrome is modifying the CORS implementation to hide options requests

    Time:2020-3-6

    Within a few weeks from January 6, 2020, Google will gradually replace the CORS implementation in chrome. The new implementation is called “oor CORS” (out of renderer CORS). As the name suggests, Google wants to hide the details of CORS into the browser. CORS releated detailed network transaction can not be observed via DevTools’ Network […]

  • The difference between null = = A and a = = null

    Time:2020-1-9

    In the project code, we often see some old drivers write like this in the if judgment: if (null = = a), and I write if (a = = null) because of my habit. What’s the difference between the two? In fact, there is no difference between the two, but the former deals with details. […]

  • Ruby’s 25 programming details (tips, practical code snippets)

    Time:2019-8-14

    1. try never throws an exception and returns nil when it doesn’t Copy codeThe code is as follows: province_id = Province.find_by_name(prov).try(:id)  2. The find (: first,: condotions) method goes without saying. Copy codeThe code is as follows: mobile_info = MobileInfo.find(:first, :conditions => [“mobile_num = ? “, mobile_num.to_i])  3.find(:all, :select, :conditions) Copy codeThe code is as […]