[day 17] python programming: from introductory to practical learning notes - Web Development Based on Django framework - design style and deployment (1)

Recommended reading [day 1] python programming: from introductory to practical learning notes - installation, variables and simple data types[day 2] python programming: from introductory to practical learning notes-lists and their operations[day 3] python programming: from introductory to practical learning notes-if statements (wit ...

Posted on Thu, 10 Jan 2019 10:36:10 -0800 by spelman07

The Python Tutorial#11. Brief Tour of the Standard Library-Part II

The Python Tutorial#Brief Tour of the Standard Library-Part II The second part introduces more advanced modules to meet professional programming needs, which are rarely used in small scripts. 11.1 Output Formatting reprlib Modules provide a customized version of large or deeply nested containers repr() Function: >>> import reprlib > ...

Posted on Wed, 09 Jan 2019 08:48:10 -0800 by secret007

[WWDC] What's New in Swift 4 ?

Preface This paper is a summary of WWDC 2017. <What's New in Swift> Session, which is also doped with "What's New in Foundation", is only recorded. Let's move on to the theme. Private Access Control SE-0169 In Swift 4, privately modified attributes can be accessed in Extension, and no more fileprivate d attributes. Let's disting ...

Posted on Wed, 09 Jan 2019 01:06:10 -0800 by akphidelt

Android Fuse and Runtime Permissions

Android Fuse Runtime Permissions Application runtime authorization sdcardd summary Android Fuse User space file system (Filesystem in Userspace) is a concept in the operating system, which refers to the file system implemented entirely in user mode. File systems can be developed like executable binaries, wh ...

Posted on Mon, 07 Jan 2019 18:51:09 -0800 by FrankA

Java References StrongReference, SoftReference, WeakReference, PhantomReference

1. Strong citation StrongReference is Java The default reference implementation, which will survive in the JVM for as long as possible, will be reclaimed when GC executes without any object pointing to it /************** * Strong citation */ @Test public void strongReference() { Object referent = new Object(); /* ...

Posted on Mon, 07 Jan 2019 12:24:09 -0800 by lucifersolutions

J2EE Series Spring 4 Learning Notes (7) -- AOP Details (AOP Introduction)

Here AOP profile refers to Baidu Encyclopedia: Aspect Oriented Programming(AOP) is a hotspot in software development and an important part of Spring framework. AOP can isolate all parts of business logic, which reduces the coupling between the parts of business logic, improves the reusability of programs, and improves the efficiency of devel ...

Posted on Sun, 06 Jan 2019 15:27:10 -0800 by localhost

leetcode Some questions of Edit Distance

leetcode72 Edit Distance subject Given two words word1 and word2, find the minimum number of steps required to convert word1 to word2. (each operation is counted as 1 step.) You have the following 3 operations permitted on a word: a) Insert a character b) Delete a character c) Replace a character Analysis This is a ty ...

Posted on Sat, 05 Jan 2019 13:03:10 -0800 by virtuexru

Some tips for using Git efficiently

On Version Control Version control is a system that records changes in the contents of one or more documents for future reference to revisions to specific versions. Local Version Control System One of the most popular is called rcs, which basically saves and manages file patches. File patches are text files in a specific format that record cha ...

Posted on Tue, 01 Jan 2019 12:09:09 -0800 by melittle

Long Way To Go Python 1

What is Python?   Dynamic Interpretative Strong Type Definition Language. (Understand the ball, slowly understand.... Programming languages have some subtypes: compiler and interpreter Static Language, Dynamic Language Strong Type Definition Language and Weak Type Definition Language      Compiler type: (C/C++) Complie: There is a program respo ...

Posted on Tue, 01 Jan 2019 00:27:08 -0800 by gilbertwang

Akka (41): Http: DBTable-rows streaming-database table row exchange

In the previous discussion, we introduced file exchange through http. Because the content of the file is represented by a bunch of bytes, and the data part of the HTTP message is also byte type, we can read the file directly with Source[ByteString,] and put it into HttpEntity. We also mentioned that if database data exchange is needed, the rows ...

Posted on Sat, 29 Dec 2018 09:36:07 -0800 by deadparrot