<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[Technology is fun, sharing is kind.]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/CodeSinger</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; CodeSinger]]></copyright><item><title><![CDATA[Asking The Right Questions--Fallacies In Reasoning.]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/71190811</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/71190811</guid><author>CodeSinger</author><pubDate>Fri, 05 May 2017 09:01:18 +0800</pubDate><description><![CDATA[If a reason has fallacies, it cannot be relied on.
The point is we should learn to find fallacies even though we can't name them. Pay attention to reasons and conclusion and check if the reasons real]]></description><category></category></item><item><title><![CDATA[打包好的apk放到手机上可以跑起来，但一尝试登陆就挂了。]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/71077937</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/71077937</guid><author>CodeSinger</author><pubDate>Tue, 02 May 2017 10:19:51 +0800</pubDate><description><![CDATA[打包好的apk放到手机上可以跑起来，但一尝试登陆就挂了。]]></description><category></category></item><item><title><![CDATA[No rule to make target cocos2d/cocos/editor-support/cocostudio/CCActionFrame.cpp]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/71077762</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/71077762</guid><author>CodeSinger</author><pubDate>Tue, 02 May 2017 10:07:19 +0800</pubDate><description><![CDATA[No rule to make target cocos2d/cocos/editor-support/cocostudio/CCActionFrame.cpp

error: undefined reference to 'curl_easy_init'
error: undefined reference to 'curl_easy_perform'
error: undefined reference to 'curl_easy_cleanup']]></description><category></category></item><item><title><![CDATA[Shaders to regulate image lightness like in PhotoShop(shader实现Photoshop的亮度调节效果,按钮变暗效果)]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/70789273</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/70789273</guid><author>CodeSinger</author><pubDate>Wed, 26 Apr 2017 11:15:21 +0800</pubDate><description><![CDATA[We can regulate image lightness in photoshop like this (Ctrl+U):

I find it results in different end lightness for different original lightness and for different lighness offset you want to regulate]]></description><category></category></item><item><title><![CDATA[HSV to RGB and RGB to HSV]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/70786656</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/70786656</guid><author>CodeSinger</author><pubDate>Wed, 26 Apr 2017 10:19:05 +0800</pubDate><description><![CDATA[Sometimes we need to transform between color spaces in shaders.There 2 ways to transform between HSV and RGB.
The shorter one, which is not compatible on some IOS devices like iPhone6 Plus:
vec3 rgb]]></description><category></category></item><item><title><![CDATA[Photoshop Lightness Regulation Formula]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/70769631</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/70769631</guid><author>CodeSinger</author><pubDate>Wed, 26 Apr 2017 01:52:20 +0800</pubDate><description><![CDATA[l is the current lightness.x is the offset that will be regulated.L is the new lightness after regulation.Two formulas are equal to each other.
\begin{array}{l}
\text{$l$ is the current lightness.}\\
\]]></description><category></category></item><item><title><![CDATA[Asking The Right Questions -- Note Two: Find reasons and clarify ambiguities]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/70535833</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/70535833</guid><author>CodeSinger</author><pubDate>Sun, 23 Apr 2017 17:53:43 +0800</pubDate><description><![CDATA[Before we decide to accept a writer's or a speaker's argument, we must find
 the reasons that support their conclusion, and those ambiguous terms in the issues, conclusions or reasons must be clarifi]]></description><category></category></item><item><title><![CDATA[Candy Crush Soda 赏析]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/70473868</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/70473868</guid><author>CodeSinger</author><pubDate>Sat, 22 Apr 2017 19:03:59 +0800</pubDate><description><![CDATA[赏析目的： 
         发现优秀游戏的优点，学习和模仿他们好的地方，但不能止于模仿，更重要的是多思考别人是怎么想到这些点的。分析这些设计的本质，找到统一的规律，多按照这些规律去思考，或许也能想出一些能给人小惊喜的设计。整体感觉： 
很不错的一款游戏，很好玩，停不下来，每次玩都是把体力用光。细节非常丰富，并且动感十足，到处都能点，都会有反应，非常人性化。游戏关卡不同玩法交替出现，不会感觉无聊，]]></description><category></category></item><item><title><![CDATA[Asking The Right Questions -- Note One: Find the issue and conclusion.]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/70462082</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/70462082</guid><author>CodeSinger</author><pubDate>Sat, 22 Apr 2017 16:42:39 +0800</pubDate><description><![CDATA[Q: Why do I start taking notes?A: there are several reasons that I start taking notes.  
1. My past learning experience tells me to do that If I what to learn better. 
2. Many advices about taking note]]></description><category></category></item><item><title><![CDATA[Use BlueStacks in Command Line]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/60339873</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/60339873</guid><author>CodeSinger</author><pubDate>Sat, 04 Mar 2017 19:47:26 +0800</pubDate><description><![CDATA[Bluestacks, Command Line, Workflow, Android]]></description><category></category></item><item><title><![CDATA[WinRAR SFX Commands]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/58596794</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/58596794</guid><author>CodeSinger</author><pubDate>Tue, 28 Feb 2017 14:55:55 +0800</pubDate><description><![CDATA[Original Article link:http://www.msfn.org/board/topic/34343-winrar-sfx-commands/




Basic SFX Info :

(Windows 95, 98, NT and so on). [These modules can not be controlled under Windows 3.1 or]]></description><category></category></item><item><title><![CDATA[mshta usage]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/57455633</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/57455633</guid><author>CodeSinger</author><pubDate>Sun, 26 Feb 2017 20:27:35 +0800</pubDate><description><![CDATA[mshta is short for MicroSoft Html Application. It could run html file or html string as a parameter. 
what is interesting is you can use it in a window batch command or batch file and you can use some]]></description><category></category></item><item><title><![CDATA[Caused by: java.lang.UnsatisfiedLinkError: Cannot load library]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/56672592</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/56672592</guid><author>CodeSinger</author><pubDate>Thu, 23 Feb 2017 15:33:44 +0800</pubDate><description><![CDATA[when I tried to package an old cocos2dx NDK project, I encountered this problem, apk could be exported but crashed when start running it.
Here is the log I get from eclipse logcat:

FATAL EXCEPTION]]></description><category></category></item><item><title><![CDATA[SDUT3371 解题报告]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/54971372</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/54971372</guid><author>CodeSinger</author><pubDate>Fri, 10 Feb 2017 16:10:57 +0800</pubDate><description><![CDATA[//属于区间树一类的思路:O(NlgN)//change[i]代表区间1-i之间数据的变化结果。//sum[i]代表区间1-i间原始数据的和，计算l到r的和时用sum[r]-sum[l-1]即可。//由于大量的修改和访问，所以要把数据组织好，使用二叉树，每次修改二分着去刷新可以影响到的区间上的值。//访问时再类似方法把所有能影响到该位置的区间的变化值组合起来即可。
//需要注意的点：//1.数据]]></description><category></category></item><item><title><![CDATA[cocos2dx之如何优化内存使用]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/25043357</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/25043357</guid><author>CodeSinger</author><pubDate>Mon, 05 May 2014 13:35:28 +0800</pubDate><description><![CDATA[一、cocos2dx之如何优化内存使用（高级篇）

本文由qinning199原创，转载请注明：http://www.cocos2dx.net/?p=93

一、内存优化原则



为了优化应用内存，你应该知道是什么消耗了你应用的大部分内存，答案就是Texture（纹理）！它几乎占据了90%的应用内存。那么我们应该尽力去减小我们应用的纹理内存使用，否则我们的应用进程可能会被系统杀死]]></description><category></category></item><item><title><![CDATA[西游记中景点]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/24606733</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/24606733</guid><author>CodeSinger</author><pubDate>Sun, 27 Apr 2014 23:53:46 +0800</pubDate><description><![CDATA[车迟国那集的破庙是位于 北京市海淀区的七王坟，七王即醇贤亲王
乌鸡国那集唐僧他们要投宿的那座庙宇是位于 北京香山的碧云寺 
无底洞那集的大寺院是 北京卧佛寺 
唐王送唐僧喝酒的那个地方是位于 河北省易县的清西陵，泰陵（雍正帝陵寝）正门大红门前 
唐王接唐僧的皇宫是清西陵的泰陵或昌陵（嘉庆帝陵寝）陵宫 
西天是在 泰国大王宫 
女儿国那集是在 苏州狮子林
黄袍怪那集是在 云南石林
宝象国是在 昆明昙]]></description><category></category></item><item><title><![CDATA[界面层与逻辑层分离]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/24140407</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/24140407</guid><author>CodeSinger</author><pubDate>Sat, 19 Apr 2014 22:04:31 +0800</pubDate><description><![CDATA[转自：http://bbs.youkuaiyun.com/topics/260019609

问题：如何将 界面层 与 复杂的业务逻辑层 分离开来呢？或者是 分离开到一个什么样的程度算是不耦合？
 
谈一下我的观点：

首先，对你的问题，我觉得是两个问题搅在一起了，还是分开来讲比较好。

一个问题是软件分层和耦合的问题。

另一个问题是如何划分业务逻辑和界面的问题。

首先，软件设计为]]></description><category></category></item><item><title><![CDATA[ubuntu12.04设置wifi热点给Android设备]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/17847907</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/17847907</guid><author>CodeSinger</author><pubDate>Sat, 04 Jan 2014 20:02:35 +0800</pubDate><description><![CDATA[As many of you know, most of our android(not only android) devices can't connect to ad hoc hotspots. There's a solution for win7/8 users to set up infrastructure hotspot on their laptop using software]]></description><category></category></item><item><title><![CDATA[Linux下dota2启动失败解决办法]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/17740993</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/17740993</guid><author>CodeSinger</author><pubDate>Wed, 01 Jan 2014 23:54:39 +0800</pubDate><description><![CDATA[前段时间听说dota2有linux版本，果断下载安装了一个，当时搞驱动什么的把电脑搞挂了好几次，最后总算能跑了，然后换工作就好久没玩，这两天更新了好多东西之后，发现起不来了，不知道什么原因，尝试了很多次关掉重开或改启动参数什么的都不ok。
    解决方法：我在控制台启动steam，然后启动dota2，发现dota2启动失败会有些log打出来，这真是极好的.


发现自己访问dota.sh]]></description><category></category></item><item><title><![CDATA[ubuntu 12.04系统黑屏，登录界面黑屏]]></title><link>https://blog.youkuaiyun.com/CodeSinger/article/details/12649881</link><guid>https://blog.youkuaiyun.com/CodeSinger/article/details/12649881</guid><author>CodeSinger</author><pubDate>Sat, 12 Oct 2013 12:19:37 +0800</pubDate><description><![CDATA[原文链接：http://www.2cto.com/os/201305/213737.html


ubuntu 12.04系统黑屏，登录界面黑屏

 

  1.硬件环境

    Intel® Core™ i5-2400 CPU @ 3.10GHz × 4 

  2.显卡 

    Intel 集成显卡

 

  3.系统版本

   ubuntu12]]></description><category></category></item></channel></rss>