02 | Java voice advanced | day12 [! ]_Functional interface, functional programming, common functional interface (Supplier, Consumer, Predicate, Function)

Chapter 1 functional interface 1.1 the concept of functional interface & the definition of functional interface In Java, functional interface refers to an interface with only one abstract method. Syntax sugar refers to the code syntax which is more convenient to use but the principle is unch ...

Posted by hippypink on Fri, 13 Mar 2020 19:10:04 -0700

Android+tensorflow Lite+python building process

background Artificial intelligence is on fire, so is tensorflow. Google has launched TensorFlow Lite for mobile, which should be familiar with as an android development. Today's goal is to be able to deploy the deep learning framework on the mobile side. Since Android can also run tensorflow, why don' ...

Posted by GroundZeroStudios on Tue, 10 Mar 2020 05:28:19 -0700

Install SSL certificate on Apache server

The premise is that you buy the certificate first, download it, and open the certificate compression package with 3 files in total   Certificate file: with. crt as the suffix or file type. Certificate chain file: with. crt as the suffix or file type. key file: with. key as the suffix or file type.   Create a new cert directory in the Apache ...

Posted by dc277 on Tue, 10 Mar 2020 02:08:13 -0700

Building an Android Project with Kotlin DSL

Preface Android supports using Kotlin DSL to build Gradle scripts, don't you want to learn a wave yet? Theme of this article: 1. How to replace Groovy with Kotlin DSL 2. Problems encountered in the process and Solutions Why use Kotlin DSL Advantages of using Kotlin DSL: Since Kotlin is now the offi ...

Posted by shubham.amola on Mon, 09 Mar 2020 18:10:09 -0700

The use of ObservableCollection in two way binding notification mechanism in WPF

The use of ObservableCollection in two way binding notification mechanism in WPF </div> The observablecollection < T > class in msdn represents a dynamic data collection that provides notifications when items are added, removed, or the entire list is refreshed. In many cases ...

Posted by nmarisco on Sat, 07 Mar 2020 04:06:05 -0800

Bin Packing of Google or tools

Refer to Google or tools for this article Official website documents Describes the use of or tools. The description of packing problem is to put a set of items of given size into a container with fixed capacity. Generally, due to the capacity limitation of the container, it is impossible to put all item ...

Posted by decodv on Sat, 07 Mar 2020 03:00:56 -0800

Events in js

Events in js Events in javascript can be understood as an interactive operation in HTML documents or browsers. 1, How to bind events 1. Inline This mode is the most traditional way to handle events. In the inline model, the event handler is an attribute of the HTML tag that handles the specified e ...

Posted by MikeSnead on Sat, 07 Mar 2020 02:20:18 -0800

hexo, the most complete personal blog in history

Preface Domain name from 2020 to the end of February mflyyou.cn After a three-year renewal, it only expires in 2024-4, so Google decided to build a personal website. Google changed one of its favorite themes, hexo matery modified, and then changed its content. Please observe the specific effect of Blog Zhang Panqin's blog Outline of this artic ...

Posted by aximbigfan on Sat, 07 Mar 2020 00:55:29 -0800

The hierarchical structure of PEP 3141 numerical type -- Python official document translation [original]

PEP 3141 -- A Type Hierarchy for Numbers Original English: https://www.python.org/dev/peps/pep-3141 Collection date: February 27, 2020 PEP: 3141Title: A Type Hierarchy for NumbersAuthor: Jeffrey Yasskin jyasskin@google.comStatus: FinalType: Standards TrackCreated: 23-Apr-2007Post-History: 25-Apr-2007, 16-May-2007, 02-Aug-2007 Catalog Abstrac ...

Posted by eldee on Wed, 04 Mar 2020 20:45:17 -0800

Self built free drawing bed, free resources use onedriver api self built drawing bed

Free picture bed, recommended stable Here is the recommendation. It has been summarized Free bed point here It's not easy to use others' worries, and it's not flexible to connect the api. It's mainly to be a station for its own needs Provide an idea to use onedriver or google driver api to build a free drawing bed cocook free picture bed It d ...

Posted by Misery_Kitty on Wed, 04 Mar 2020 04:19:27 -0800