<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[EnCaL]]></title><description><![CDATA[EnCaL Blog]]></description><link>https://blog.csdn.net/Encal</link><language>zh-cn</language><generator>https://blog.csdn.net/</generator><copyright><![CDATA[Copyright &copy; Encal]]></copyright><item><title><![CDATA[【随手记】某理发企业的经营理念（明确绩效、正向激励、灌输企业文化）]]></title><link>https://blog.csdn.net/Encal/article/details/46485975</link><guid>https://blog.csdn.net/Encal/article/details/46485975</guid><author>Encal</author><pubDate>Sat, 13 Jun 2015 23:16:31 +0800</pubDate><description><![CDATA[今天去理头，学习了某理发企业的一些经营理念。
1、洗头发、吹头发、理头发如果客人没有指定老师，采用轮岗制度，即随机安排一个空闲的老师。
但是，此次轮岗是没有计算在绩效考评里的，那么什么样的行为才会计入绩效考评呢？回头客点名，考评都是以回头客为主的。
每个人都会努力提升自己，表现自己，用心做好服务，争取客人下次光顾时能够被点名。
当回头客到达一定人头数时，就能够晋升了。
2、吹头发的老师还]]></description><category></category></item><item><title><![CDATA[【随手记】关于加班的看法]]></title><link>https://blog.csdn.net/Encal/article/details/46485921</link><guid>https://blog.csdn.net/Encal/article/details/46485921</guid><author>Encal</author><pubDate>Sat, 13 Jun 2015 23:01:29 +0800</pubDate><description><![CDATA[1、不反对。所有团队都需要员工的激情，创业公司尤其需要，而加班往往是激情的一种表现形式。愿意加班的人，至少能显示员工对团队的奉献精神。
2、不支持。很多团队会习惯性的加班，认为做不完的事情可以在加班时间完成。这样经常会导致正常上班时间效率低下，同时即使加了班，事情也没有按时完成。
3、应该严格区分加班时间所做的事情。例如，做计划以外的事情，给自己充电，与团队成员沟通，技术交流等。]]></description><category></category></item><item><title><![CDATA[解决Xcode 使用 Create folder references for any added folders 方式添加资源不会刷新的问题]]></title><link>https://blog.csdn.net/Encal/article/details/46412985</link><guid>https://blog.csdn.net/Encal/article/details/46412985</guid><author>Encal</author><pubDate>Mon, 08 Jun 2015 15:21:17 +0800</pubDate><description><![CDATA[今天在调试项目代码时发现，资源文件目录里的资源修改编译后，现象仍然是在执行第一次build的代码的效果，颇感神奇，到网上搜了下确实很多人也遇到了这个问题，解决方案也有很多，总结一下：


方法一：clean 后再build。这种方法确实有效，但是也是最不可取的方法，要是一个小点的项目还好，若是稍大一点的项目clean再build会很费时费力不讨好方法二：在Build Setting里创建一个]]></description><category></category></item><item><title><![CDATA[smali第二次进入方法后再执行事件]]></title><link>https://blog.csdn.net/Encal/article/details/39473587</link><guid>https://blog.csdn.net/Encal/article/details/39473587</guid><author>Encal</author><pubDate>Mon, 22 Sep 2014 10:52:05 +0800</pubDate><description><![CDATA[# static fields
.field public static sIsFirst:Z

# direct methods
.method static constructor ()V
    .locals 1

    .prologue

    const/4 v0, 0x1

    sput-boolean v0, Lorg/cocos2dx/cpp/Ap]]></description><category></category></item><item><title><![CDATA[IT界的囚徒困境]]></title><link>https://blog.csdn.net/Encal/article/details/38379565</link><guid>https://blog.csdn.net/Encal/article/details/38379565</guid><author>Encal</author><pubDate>Tue, 05 Aug 2014 09:21:05 +0800</pubDate><description><![CDATA[IT界的囚徒困境


把公司抽象成只有2名员工，2名员工可能做出如下选择：
1.一人加班，一人不加班。（加班的人加薪，不加班的人被开除）
2.两个人都不加班。（两个人都不加薪）
3.两个人都加班。（两个人都不加薪）


大多数程序员会走向第一种情况。。。。]]></description><category></category></item><item><title><![CDATA[【python摘录03】'引用'和复制]]></title><link>https://blog.csdn.net/Encal/article/details/38040637</link><guid>https://blog.csdn.net/Encal/article/details/38040637</guid><author>Encal</author><pubDate>Tue, 22 Jul 2014 13:54:10 +0800</pubDate><description><![CDATA[print 'Simple Assignment'
shoplist = ['apple', 'mango', 'carrot', 'banana']
mylist = shoplist

del shoplist[0]

print 'shoplist is', shoplist # mylist is just another name pointing to the same object!]]></description><category></category></item><item><title><![CDATA[【python摘录02】if语句和while语句]]></title><link>https://blog.csdn.net/Encal/article/details/38013775</link><guid>https://blog.csdn.net/Encal/article/details/38013775</guid><author>Encal</author><pubDate>Mon, 21 Jul 2014 11:36:26 +0800</pubDate><description><![CDATA[number = 23
running = True
while running:
guess = int(raw_input('Enter an integer:'))
if guess == number:
print 'congratulations, you guessed it.'
print "(but you do not win any prizes!)"
runni]]></description><category></category></item><item><title><![CDATA[【python摘录01】字符串]]></title><link>https://blog.csdn.net/Encal/article/details/38013679</link><guid>https://blog.csdn.net/Encal/article/details/38013679</guid><author>Encal</author><pubDate>Mon, 21 Jul 2014 11:32:48 +0800</pubDate><description><![CDATA[#       -7654321
#        0123456
world = "abcdefg";
a = world[2];
print "a is " + a; #c
b = world[1:3];
print "b is " + b; #bc
c = world[:2];
print "c is " + c; #ab
d = world[0:];
print "d is " + d; ]]></description><category></category></item><item><title><![CDATA[Android内存管理机制详解]]></title><link>https://blog.csdn.net/Encal/article/details/22156435</link><guid>https://blog.csdn.net/Encal/article/details/22156435</guid><author>Encal</author><pubDate>Wed, 26 Mar 2014 10:32:06 +0800</pubDate><description><![CDATA[与windows内存区别

在Linux中经常发现空闲内存很少，似乎所有的内存都被系统占用了，表面感觉是内存不够用了，其实不然。这是Linux内存管理的一个优秀特性，在这方面，区别于 Windows的内存管理。主要特点是，无论物理内存有多大，Linux都将其充份利用，将一些程序调用过的硬盘数据读入内存，利用内存读写的高速特性来提高Linux系统的数据访问性能。而Windows是只在需要内存时，]]></description><category></category></item><item><title><![CDATA[【C++】CURL环境搭建]]></title><link>https://blog.csdn.net/Encal/article/details/19041219</link><guid>https://blog.csdn.net/Encal/article/details/19041219</guid><author>Encal</author><pubDate>Mon, 10 Feb 2014 16:25:44 +0800</pubDate><description><![CDATA[实际上，CURL有两种工作方式，其一，它是一个用URL语法在命令行方式下工作的文件传输工具。我们可以使用curl.exe直接在命令行下下载文件。
其二，它也是一个开源的函数库，它提供了libcurl这个函数库，其中提供了多个可以用于处理网络事务（诸如下载，登陆，POST等）的API，利用这些API，我们就可以轻松地完成一个下载程序。
CURL的使用非常简单，跟其他类似的开源的函数库一样，其使用]]></description><category></category></item><item><title><![CDATA[代码查找软件-sublime text]]></title><link>https://blog.csdn.net/Encal/article/details/18939365</link><guid>https://blog.csdn.net/Encal/article/details/18939365</guid><author>Encal</author><pubDate>Wed, 05 Feb 2014 14:23:51 +0800</pubDate><description><![CDATA[http://www.sublimetext.com/
查找代码，快准狠。
查到的代码也都有链接，点击一下，自动打开并且定位。]]></description><category></category></item><item><title><![CDATA[C++虚函数表理解]]></title><link>https://blog.csdn.net/Encal/article/details/12515109</link><guid>https://blog.csdn.net/Encal/article/details/12515109</guid><author>Encal</author><pubDate>Wed, 09 Oct 2013 16:56:46 +0800</pubDate><description><![CDATA[#include "iostream"
using namespace std;
class Base1{
public:
	virtual void f(){cout <<"Base1::f" <<endl;}
	virtual void g(){cout <<"Base1::g" <<endl;}
	virtual void h(){cout <<"Base1::h" <<endl;}
};
]]></description><category></category></item><item><title><![CDATA[cocos2d-x按钮CCControlButton的用法]]></title><link>https://blog.csdn.net/Encal/article/details/9616705</link><guid>https://blog.csdn.net/Encal/article/details/9616705</guid><author>Encal</author><pubDate>Mon, 29 Jul 2013 15:16:01 +0800</pubDate><description><![CDATA[转载请注明，原文地址：  http://blog.csdn.net/musicvs/article/details/8242963




1. 按钮创建


/* 正常状态下的按钮图片 */  
    CCScale9Sprite* btnNormal = CCScale9Sprite::create("button.png");  
  
    /* 点击状态下的按钮图片 ]]></description><category></category></item><item><title><![CDATA[【C++设计模式】简单工厂模式]]></title><link>https://blog.csdn.net/Encal/article/details/9348267</link><guid>https://blog.csdn.net/Encal/article/details/9348267</guid><author>Encal</author><pubDate>Tue, 16 Jul 2013 23:49:09 +0800</pubDate><description><![CDATA[从设计模式的类型上来说，简单工厂模式是属于创建型模式，又叫做静态工厂方法（Static Factory Method）模式，但不属于23种GOF设计模式之一。简单工厂模式是由一个工厂对象决定创建出哪一种产品类的实例。简单工厂模式是工厂模式家族中最简单实用的模式，可以理解为是不同工厂模式的一个特殊实现。
具体概念可以参照百度百科：http://baike.baidu.com/view/122790]]></description><category></category></item><item><title><![CDATA[01背包详解（ZeroOnePack）]]></title><link>https://blog.csdn.net/Encal/article/details/8747986</link><guid>https://blog.csdn.net/Encal/article/details/8747986</guid><author>Encal</author><pubDate>Mon, 01 Apr 2013 23:27:59 +0800</pubDate><description><![CDATA[有N件物品，一个容量为V的背包。放入第i件物品耗费的空间是Ci，得到的价值是Wi。
为了便于阅读，本文把F[i][v]写为F[i, v]。
F[i, v] = max(F[i - 1, v], F[i - 1, v - Ci] + Wi)
“将前i件物品放入容量为v的背包中”这个子问题，若只考虑第i件物品的策略（放或不放）。
那么就可以转化为一个只和前i - 1件物品相关的问题。
如果不]]></description><category></category></item><item><title><![CDATA[母函数详解(Generating function)]]></title><link>https://blog.csdn.net/Encal/article/details/8739497</link><guid>https://blog.csdn.net/Encal/article/details/8739497</guid><author>Encal</author><pubDate>Sat, 30 Mar 2013 12:09:15 +0800</pubDate><description><![CDATA[母函数，顾名思义，就是母亲函数。那就说明在这个函数里面还有个儿子，即子函数。说白了，就是子函数可以看作是母函数的一个子集。
那么如何把这些子函数用一个母函数来表示呢？（通项公式）解决了这个问题，后面的问题就容易多了。
也可以理解为：母函数就是一个多项式前面的系数的一个整体的集合，子函数就是这个多项式中每一项前面的系数。
首先，先看这个多项式：

由此可以看出：
x2项的系数a1a2+a]]></description><category></category></item><item><title><![CDATA[POJ 1922 Ride to School 解题报告]]></title><link>https://blog.csdn.net/Encal/article/details/8724369</link><guid>https://blog.csdn.net/Encal/article/details/8724369</guid><author>Encal</author><pubDate>Wed, 27 Mar 2013 00:06:06 +0800</pubDate><description><![CDATA[题目传送门：http://poj.org/problem?id=1922
问题描述：
　　北京大学的许多研究生住在万柳校区，距离主校区燕园有4.5公里。住在万柳的同学或者乘坐巴士，或者骑自行车去主校区上课。由于北京糟糕的交通，许多同学选择骑自行车。
　　我们假定除了Charley以外，所有的同学从万柳到燕园都是以某一确定的速度骑自行车。Charley则有一个不同的骑车习惯———他总是要跟在另]]></description><category></category></item><item><title><![CDATA[hdu1052田忌赛马，贪心解法]]></title><link>https://blog.csdn.net/Encal/article/details/8711256</link><guid>https://blog.csdn.net/Encal/article/details/8711256</guid><author>Encal</author><pubDate>Sat, 23 Mar 2013 22:18:14 +0800</pubDate><description><![CDATA[http://acm.hdu.edu.cn/showproblem.php?pid=1052
Problem Description
Here is a famous story in Chinese history.

"That was about 2300 years ago. General Tian Ji was a high official in the country Qi]]></description><category></category></item><item><title><![CDATA[【ACM经典01】约瑟夫环问题---STL解法]]></title><link>https://blog.csdn.net/Encal/article/details/8687868</link><guid>https://blog.csdn.net/Encal/article/details/8687868</guid><author>Encal</author><pubDate>Mon, 18 Mar 2013 16:44:02 +0800</pubDate><description><![CDATA[#include 
#include 
#include 
using namespace std;
int main()
{
	vector ysf;
	vector::iterator pos;
	int n,m;
	cin >>n >>m;
	string str;
	for(int i=0;i<n;++i){
		cin >>str;
		ysf.push_bac]]></description><category></category></item><item><title><![CDATA[【C++数据结构学习笔记---栈】用链表实现栈]]></title><link>https://blog.csdn.net/Encal/article/details/8685737</link><guid>https://blog.csdn.net/Encal/article/details/8685737</guid><author>Encal</author><pubDate>Mon, 18 Mar 2013 09:25:03 +0800</pubDate><description><![CDATA[【C++数据结构学习笔记---栈】用链表实现栈
在算法中要用到多个栈操作时，最好用链表作为栈的存储结构。
一个简单的实现例子，初始化26个英文字母。
#include 
using namespace std;
template 
class Stack;
template 
class Node{
	friend class Stack;
private:
	T data;]]></description><category></category></item></channel></rss>