Direct2D Essay 2 - Timer Precision of Gameloop Creation in WinForm Environment of C# can't reach 60fps

http://blog.csdn.net/hitachi_ht/article/details/38150955 The practice of many predecessors proves that the accuracy of Timers in C# can not meet the requirement of 60fps. This can be done as an experiment, using two Timers, one 1s, the other 0.01667s, and then counting + 1 for tick s of the latter timer, counting the n ...

Posted by savio_mf on Wed, 06 Feb 2019 10:18:17 -0800

Android AOP(1): APT Annotation Processing Tool Annotation Processing Processor

introduce APT(Annotation Processing Tool), an annotation processor, is a tool for processing annotations, specifically a tool for javac, which scans and processes annotations at compile time. The annotation processor takes Java code (or compiled bytecode) as input and generates. java files as output. Simply put, at compi ...

Posted by jayshadow on Wed, 06 Feb 2019 04:39:17 -0800

iOS webview could not load Web page Domain=NSURLErrorDomain Code=-1202

error When the application is changed from http to https, an error is reported. The following is an error: NSURLSession/NSURLConnection HTTP load failed (kCFStream Error Domain SSL, -9813) or Error Domain=NSURLErrorDomain Code=-1202 "The certificate for this server is invalid. " Reason This is because your https certificate i ...

Posted by brad_langdon on Mon, 04 Feb 2019 22:21:16 -0800

Using GRPC and protobuf in android studio Kotlin

Using GRPC and protobuf in Android studio Kotlin gRPC Java now provides development and usage support for Kotlin projects built with Gradle. //Three core packages for adding grpc // You need to build grpc-java to obtain these libraries below. implementation "io.grpc:grpc-okhttp:$CURRENT_GRPC_VERSION" // CURRENT_ ...

Posted by Chunk1978 on Mon, 04 Feb 2019 17:30:17 -0800

Android Studio uses Gradle to organize clearer packaging scripts

Preface When we first wrote gradle scripts, we usually wrote all the packaged scripts in the build.gradle file, which is easy to cause problems. Dependent version duplication of build.gradle configuration or inconsistency of compileSdkVersion of multiple modules in the project; It will lead to some dependency duplication and confl ...

Posted by franklyn on Sun, 03 Feb 2019 01:45:15 -0800

python basic learning notes (1)

It's better to have a c++ basis. Update one article every day. This is a basic article. 1. operator2. variable3. Basic Input and Output4. string5. list6. tuple7. dictionary8. set9. Simply talk about the cycle or something. 1. operator Special a / b: Floating point number, a // b is an integer, discarding fraction a**b is the B power of a And c ...

Posted by kinaski on Fri, 01 Feb 2019 13:00:15 -0800

JS sets cookies and deletes cookies

There are many ways to set cookie s in js. The first one is: (This is the code of w3c official website) <script> //Set cookie function setCookie(cname, cvalue, exdays) { var d = new Date(); d.setTime(d.getTime() + (exdays*24*60*60*1000)); var expires = "expires="+d.toUTCString(); document.cookie = cnam ...

Posted by Duell on Fri, 01 Feb 2019 09:45:16 -0800

ArcGIS for Android Runtime 100 Advanced Functions (I) - Internet Map Loading Reference and Caching

The last version of arcgis for android is 10.2.9. It is said that the version will not be updated and maintained after that, but will jump directly to the 100 series, which is quite different from the previous version. But it also adds more functions and optimizes performance a lot. Specific differences are not repeated here, m ...

Posted by shinephp on Thu, 31 Jan 2019 10:09:15 -0800

Big Data Hadoop Tool python Tutorial 1-HDFS Hadoop Distributed File System

Hadoop Distributed File System (HDFS) is a Java-based distributed file system.Distributed, scalable and portable file systems are designed to span large clusters of commercial servers. The design of HDFS is based on Google File System (GFS). https://ai.google/research/pubs/pub51) . Like many other distributed file systems, HDFS has a large amo ...

Posted by Nick Zaccardi on Sun, 27 Jan 2019 19:21:14 -0800

linux Daily Command (2): cd Command

1. Command format: cd [Directory name] 2. Command Function Switch the current directory to [directory name] 3. Common examples 1. Enter the system root directory Order: cd / Description: Enter the system root directory. After executing the above command, take a look at the ls command. The current directory has reached the system root direct ...

Posted by Mr_J on Sun, 27 Jan 2019 15:18:15 -0800