MoreNew blog expert introduction

Li Puzhi Pay attention to
Master of software engineering, Beijing Institute of Technology, 5 years experience in the development of iOS mobile terminal, work during the design and development of a number of iOS projects have been involved in the development of iOS development tutorial iOS application Methods and practices of order development and practice in June 2012 by the people's Posts and telecommunications press.
Liang Fei Pay attention to
Alibaba Android development engineers, love to learn and share the new business. GitHub address: https://www.github.com/lyndonchin

Programming language Golang synchronization: atomic operation

Grassroots2011
Atomic operation is the operation of the process can not be interrupted. In the process of the operation of a certain value, the CPU will never go on another operation for the value. In order to achieve such rigor, the atomic operation will only be represented and completed by an independent CPU instruction. The atomic operations provided by the GO language are non intrusive, and are represented by many functions in the standard library sync/atomic. Types include int32, Int64, uint32, Uint64, uintptr, unsafe.Pointer, a total of six. These ones here

Golang Go language

Programming language Object-C, file path API Expert

FansUnion
Sharp Tucao 1 is also the file and directory operations, Java, with java.util.File a class, it is a lot of API, and Object-C engaged in so many classes and functions. Specific reasons, to be analyzed. . obviously the nsstring, string manipulation, how "approach to the related operation pathComponents", such as file path, very strange feeling. 3.stringByAppendingString, the name of the function is a bit long. 4 overall feel, Object-C...

Object-C NSFileManager Mac NSPathUtilities

Programming language [Shader Unity3D programming] eleven in-depth understanding of the Shader Standard (three) and the screen pixel effects of the realization Expert

Zhmxy555
Summary: continue to take the above, this paper further explains and analyzes the above Unity5 Standard Shader forward based rendering channel source of the fragment shader implementation part, as well as the screen pixel late effects were realized. Also need to declare. In this paper, some of the Shader Stardard source code analysis, all of the light ink through the Shader Unity to build the source code, as well as the understanding and analysis of the Google. If there is a good explanation of the inappropriate, but also please point out in time. Is still attached to a group of this paper, after the operation of the project, we began to. Evening of the field (with screen pixel effects):...

Unity Unity5 Shader Game programming Graphics

Mobile development Cocos2D iOS Tour: how to write a game (a) knockout mice: HD screen display and UIKit

Mydo
Panda pig, original or translated works. Welcome to reprint, please indicate the source. If you feel bad writing, please tell me, if you feel good, please support a lot of points praise. Hopy. At the same time, do not remove this declaration. If there is any dispute, there is no relationship with the blog owner, the person who published the translation. Thank You for Your Cooperation Written by Wunderlich Ray, the address is: http://www...

Cocos2d IOS Game Knockout mice HD screen

System operation and maintenance WordPress add the contribution function Expert

Sunboy_2050
WordPress website to open the contribution function, accept the reader's contribution. But the WordPress itself does not provide a contribution, only has a strong ability to expand, we can add this contribution to their own. Realize the user submission, there are two methods: one is open the background registration function, ordinary users registered into the default settings for contributors, landing can go to add the default (Draft); another is at the front desk provides submission form, users fill out the appropriate form, such as meters flutter blog: http://blog.mimvp.com before a method is relatively simple to implement, base...

Programming language Object-C, traverse directory Expert

FansUnion
Recently, Wuhan has a lot of rain for a lot of days, the temperature has been 2 times, the temperature suddenly from 28 degrees to 14 degrees, and then to 8 degrees, hands too cold. Together with the recent occurrence of some of the more difficult family chores, recently did not feel the mood to continue to learn Object-C. Later, I want to understand, the mood is not good, or should insist on learning. Feel depressed, why and why go to the It doesn't help the situation., unhappy things, always in the past. And so on, the thing to do is always to continue to do. Because not happy, waste a lot of good time, is the worse. Plan 2015 and 2016, to master the development of iOS. ...

Object-c NSFileManager Mac

[database] DB2 close command line CLP automatically submit Expert

T0nsha
DB2 close command line CLP automatically submit db2=> update command options using C off temporarily closed automatically submit db2=> update command options using C on temporary open automatically submit C:\DB2>db2set LR | find / I db2option DB2OPTIONSC:\DB2>db2set DB2OPTIONS=+c+c perpetual...

[integrated] Problems encountered in work in 2015 121-130 Expert

FansUnion
Equals's 121.Java, often by pit. Status project is a variable of Short type. .equals () project.getStatus (2); false integer 2 default type of int, have this impression, the Internet is also said that. I want to see through the debug, see the equas Short, but that obj should not be "watch", debug model can not see the type, depressed. This time 2 is treated as Integer, found by debug. ...

[Web front end HTML5 create a radial / circular gradient Expert

You23hai45
HTML5 create a radial / circular gradient 1, design source HTML5 create a radial / circular gradient / * * * create a radial / circular gradient * / DrawCircle function () { / / find elements Canvas var = document.getElementById ("canvas"); / / create a context object CTX var = canvas.getContext...

HTML5 Create a radial gradient

[integrated] Principle of design (four) dependency on the principle of inversion (DIP)

Xingjiarong
One, what is dependent on the principle of a kind of inversion: Abstractions should not depend on details; details should depend on abstract. Another expression: In order to interface programming, not to achieve programming. For interface programming, it is to say that the Java interface and the abstract Java class should be used to declare the type of variable, the type of the parameter, the return type of the method, and the conversion of data types. Do not aim at the realization of the meaning of programming is to say that the use of specific Java type declarations, the type of the parameters, the method of the return type declaration, and the conversion of data types. Two...

Java Design

[Web front end HTML5 create line gradient Expert

You23hai45
HTML5 create line gradient 1, design source HTML5 create line gradient / * * * create line gradient * / DrawGradualText function () { / / find elements Canvas var = document.getElementById ("canvas"); / / create a context object CTX var = canvas.getContext ("2D");...

HTML5 Create line gradient

Programming language Hibernate 3 kinds of inheritance mapping relations summary -- TPS, TPC, TPH

Tuke_tuke
In Java class, there are inheritance relations. In Hibernate, there are inheritance relations. The sub classes can be mapped to the same table. The sub classes can be mapped into a table. Below the previous project to summarize In order to reflect the inheritance relationship in the program to the data, Hibernate provides us with a 3 solution: The first scheme: a table (Table...

Inheritance relationship Hibernate TPH TPS TPC

[Web front end HTML5 rendering the hollow text Expert

You23hai45
HTML5 rendering of the hollow text 1, design source code HTML5 rendering the hollow text / * * * draw a hollow text * / DrawHollowText function () { / / find elements Canvas var = document.getElementById ("canvas"); / / create a context object CTX var = canvas.getContext ("2d"...

HTML5 Draw a hollow text

[integrated] [HDU 1839] Constrained Maximum Capacity Path Delay (two points + shortest path)

ChallengerRumble
[HDU 1839] Constrained Maximum Capacity Path Delay (two points + shortest path) Constrained Maximum Capacity Path Delay Time Limit: 10000/10000 MS (Java/Others) Memory Limit: 65535/65535 K (Java/Others) Tota...

Mobile development (NO.00004) iOS to achieve a brick game (ten): bricks!

Mydo
Panda pig, original or translated works. Welcome to reprint, please indicate the source. If you feel bad about writing, please tell me, if you feel good, please give a lot of support. So far the basic game play, but the number of bricks is unchanged, the players to polish all the bricks will feel mean nothing, so we have to think of ways to add more bricks in. Create a loop to keep the color of the instance variables we want to add bricks in line, in order to beautiful, the color of each row of bricks should is different. So, let us first establish a keep the color of the bricks of the instance variables:...

IOS Game Beat bricks

[Web front end HTML5 drawing solid text Expert

You23hai45
HTML5 draw solid text 1, design source code HTML5 drawing solid text DrawSolidText function () { Canvas var = document.getElementById ("canvas"); CTX var = canvas.getContext ("2D"); Ctx.font = "40px Microsoft yahei"; Ctx.fillText ("HTML5"...

HTML5 Draw solid text

Mobile development (NO.00004) iOS to achieve the game (nine): the game in the ball with a rebound in the rebound

Mydo
Panda pig, original or translated works. Welcome to reprint, please indicate the source. If you feel bad about writing, please tell me, if you feel good, please give a lot of support. The first article introduced the physical objects in the collision between the ball and the brick, in this article we look at the ball and the rebound in the event of a collision occurred, the ball and the rebound stick to start the same we also in the impact of the ball to adjust the moment, so it is also separated from the start, the first is the handling of the collision: - (BOOL) ccPhysicsCollisionBeg...

IOS Game Beat bricks Collision Physics engine

Mobile development (NO.00004) iOS to achieve a brick game (eight): the game of the ball and the collision of bricks

Mydo
Panda pig, original or translated works. Welcome to reprint, please indicate the source. If you feel bad about writing, please tell me, if you feel good, please give a lot of support. Now back in GameScene.m, we have all of the impact of the deal in the class, we have to make clear what will and what impact. For the present, we first achieve two collisions: ball and brick, and the impact of the ball and bounce...

IOS Game Beat bricks Collision Physics engine

Mobile development (NO.00004) iOS to achieve the game (seven): the level of the implementation of the class

Mydo
Panda pig, original or translated works. Welcome to reprint, please indicate the source. If you feel bad about writing, please tell me, if you feel good, please give a lot of support. The essence of level games are focused on the level of the game, which contains all the elements of the game, as to how to manage these elements which have to be based on the effect of different games to determine. We start from the level of building blocks, small ball and rally 3 elements to do...

IOS Xcode Beat bricks

Mobile development (NO.00004) iOS to achieve the game play (six): rebound stick class

Mydo
Panda pig, original or translated works. Welcome to reprint, please indicate the source. If you feel bad about writing, please tell me, if you feel good, please give a lot of support. Another element of the game is to bounce back. We're in this class to implement a class, create a Stick class Xcode, add the following contents to the header file: @interface "CCSprite.h" Stick ST: CCSprite+ (instancetype) #import...

IOS Game Beat bricks

Mobile development (NO.00004) iOS to achieve the game (five): game scene class

Mydo
Panda pig, original or translated works. Welcome to reprint, please indicate the source. If you feel bad about writing, please tell me, if you feel good, please give a lot of support. Create the game scene class header file in Xcode to create a new GameScene class, inheritance in CCNode, the first file to replace the following contents: #import "CCNode.h" Stick @class; GameScene @interface: <CCPhysicsCollis CCNode...

IOS Game Beat bricks

System operation and maintenance The new installation Windows 2012 starts at the wrong 0xc0000225 Expert

Berryreload
HP desktop, support UEFI installation; the original mechanical hard disk installed Windows 2008, after the removal of the system disk, re format for the data disk, but it is still GPT partition. Plus a SSD hard drive. Starting with U disk Windows 2012. (this installation is not supported by UEFI, is not supported on the GPT hard drive, only to support the installation of the MBR hard drive) to start the wrong 0xc0000225, after the can start the Windows. The problem is so much trouble ah debugging: pull the mechanical drive of the old, starting point...

Mobile development An official description of the use of classpath: in Spring to build resource paths Expert

Sleks
An official description of the use of classpath: in Spring to build resource paths...

Programming language 1017 at Bank Queueing (25) - PAT (Level Advanced) Practise

Xianyun2009
Subject information at Bank 1017.Queueing (25) time limit of 400 ms Memory limit 65536 kB 16000 a BSuppose bank has K windows open for service. There is a yellow line in front of the windows which devides the waiting area into...

Pat 1017 Advanced

[database] A little difference between EDB and Oracle in the area of cutting Expert

Bisal
The first two days of a problem, in the EDB database to create a partition table, you need to use the local index and partition of the partition, but the implementation plan to see the implementation of the partition is not used to find the function of the. Create partition table: TABLE test CREATE ( Bigint NOT NULL id, Bigint bag_id, Character varying bp_airline_code (3), Character varying bp_flight (5)...

Bisal Yesterday 23:33 Read (417) Comment (0)

Mobile development How to develop a App (Android) Expert

Wwj_748
The foreword to the blog from the point of view of the development to introduce how to develop an android app, that is, here is a how to develop the idea of an app that does not introduce a lot of technical details, from the overall situation to grasp how to design an app was developed, to give you understanding to develop an independent app, if say the wrong place, welcome everybody clap brick message discussed. Development environment Android application layer using the development language is Java, the natural need to use the Java operating environment, whether you are in the Window system or Mac system...

Android By IT-xiao

Wwj_748 Yesterday 23:25 Read (783) Comment (1)

Programming language Android to obtain signature and public key encryption and decryption Expert

Catoop
Class GetPublicKey public { / * * * access signature public key * mContext @param * @return * / Static String getSignInfo protected (mContext Context) { Signcode String ="";...

Catoop Yesterday 22:47 Read (449) Comment (0)

Architecture design NodeManagerMetrics on the accuracy of Container monitoring Expert

Androidlushangderen
Before the preface in ready to start write a article, I always think should give this article set a title to the most accurate express theme and will not let the word become too much. Because the metric index monitoring in yarn already exists, and the indicators of support is very much, so this article is certainly not simply introduced the meaning of a few indicators monitoring and how to add custom metric indicators to monitor the content of such, the key point lies in two words, refinement. Refinement of potential meaning has two, one is on the basis of the original monitoring indicators, an increase of more fine-grained monitoring, to improve the original prison...

Monitoring analysis Yarn Ganglia

Mobile development [FastDev4Android] case analysis of SwipeRefreshLayout+RecyclerView+CardView (thirty-five) Expert

Jiangqq781931404
(a). Objective: began as Android L, Google updates the new controls RecyclerView and cardview. The two controls in the previous article has do a detailed introduction and use, also in the front also to drop refresh component SwipeRefreshLayout are relevant to explain. Originally the topic is not updated, just yesterday, a group of friends asked how to combine SwipeRefreshLayout, RecyclerView, CardView...

Recyclerview Android Adapters Swiperefreshlayout Cardview

Blog latest comments

Contact us