Tag:code

  • 3D science fiction fan based on HTML5 webgl

    Time:2019-12-15

    Preface For many centuries, wind turbine, like hydraulic machinery, has played an important role in the development of productivity as a power source to replace human and animal resources. The wide application of modern electromechanical power and the discovery of Middle East oil field in 1950s slowed down the development of fan generator. In the […]

  • Oracle BPM 11g approval performance optimization

    Time:2019-12-15

    background In the project, Oracle BPM products are used to coordinate office work and workflow. Recently, Party A’s father complained that it took a long time to approve, hoping to achieve an average time of 1 second. Party A’s father asked for it, but he couldn’t help it, so he started a painful optimization process. […]

  • Using Python to encrypt Python script

    Time:2019-12-15

    Because of the dynamic and open source characteristics of python, it is difficult for Python code to achieve good encryption. Some voices in the community believe that such restrictions are true and should be protected commercially by legal means rather than by encrypting the source code, while others hope to have a means of encrypting […]

  • New es2020 features you’re about to use

    Time:2019-12-15

    By John Au Yeung Crazy technology house Original: https://levelup.gitconnected No reprint without permission Since ES6 was released in 2015, JavaScript has been developing rapidly, and a large number of new functions will appear in each iteration. The new version of the JavaScript language specification is updated once a year, and the new language feature recommendations […]

  • C cycle break vs continue

    Time:2019-12-15

    I. Introduction 1. Break statement: loop – loop interrupts and stops to exit the current loop; Flow chart: 2. Continue: loop – the next iteration of the loop continues. Flow chart: Execution process: immediately result this cycle and judge the cycle conditions. If it is true, enter the next cycle, otherwise exit this cycle. For […]

  • JQuery’s promise

    Time:2019-12-14

    Promise is an asynchronous programming specification, transliteration to understand –“Prometheus” Prometheus is a hero in Greek mythology, whose name means “prophet”. Promise was originally named “futures”. It can be seen that promise does not mean literally “oath”, “promise”, etc., but “prophet” and “future”. Promise is to solve the most headache in asynchronous programmingCallback nesting region […]

  • Video of PHP tips

    Time:2019-12-14

    major function Record your actual call operation and call again where you wantIt’s basically the same as anonymous functions. It’s a temporary call operationGenerally used for chain call, and then actually act on the object you want to operate onIt’s like I didn’t say it Usage scenarios IflaravelThe project usesWarehouse mode, and then for more […]

  • Using deep learning to solve the problem of named entity recognition (NER) in NLP (entry project of deep learning)

    Time:2019-12-14

    Preface off-line training sample data train Data encoding Model building Loading data Evaluation model Online prediction Introduction to tensorflow serving Model save format Loading model client request Running environment Related links The source code of this article has been uploaded to GitHub.: https://github.com/hublanker/keras-chinese-ner The main theoretical basis of this paper: bidirectional LSTM CRF models for […]

  • String binary data data loss caused by JPA AES

    Time:2019-12-14

    Introduction The system requires high security, and the data of test questions needs to be encrypted to prevent data leakage at the database level. However, the encryption of test questions is different from that of passwords. The encryption of user passwords can be usedHashAlgorithm, can not decrypt, not only in the database, even our program […]

  • Regular expressions that can write 1000 lines less

    Time:2019-12-13

    If you master regular expression skillfully, your development efficiency will be greatly improved. Regular expressions are often used to verify fields or arbitrary strings, such as the following JavaScript code to verify the basic date format: var reg = /^(\\d{1,4})(-|\\/)(\\d{1,2})\\2(\\d{1,2})$/; var r = fieldValue.match(reg); if(r==null)alert(‘Date format error!’); Here are 20 regular expressions that are often […]

  • .NET Foundation

    Time:2019-12-13

    .NET frameworkIt is a CRL oriented programming platform running on system virtual machine and based on CLR.. net’s BCL runs on top of the CLR.The. Net framework is open source.. net supports multi language development, including C ා, f ා, vb.net, etc.A program written in. Net language generates an assembly after compilation. At runtime, the […]

  • PHP manage raspberry pie

    Time:2019-12-13

    My classmate gave me a raspberry pie, which was very fresh at that time. However, each use requires remote desktop or SSH to log in, which is troublesome. Later, in order to facilitate management, the lamp environment was installed and deployed on raspberry pie, and then a simple PHP page was written, with the code […]