<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[lacsis的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/lacsis</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; lacsis]]></copyright><item><title><![CDATA[深入理解React源码 - 首次渲染 I]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/79051899</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/79051899</guid><author>lacsis</author><pubDate>Sat, 13 Jan 2018 15:56:56 +0800</pubDate><description><![CDATA[本文也同时发表在博客和HACKERNOON

界面更新本质上就是数据的变化。通过把所有会动的东西收敛到状态(state)，React提供了一个非常直观的前端框架。我也比较喜欢review基于React代码，因为我一般都是从数据结构开始看，这样可以在钻到细节代码之前建立对整个逻辑的初步理解。我也经常会好奇React的实现方式，然后就有了这篇文章。
阅读更多]]></description><category></category></item><item><title><![CDATA[网络基础－字节序]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/78532738</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/78532738</guid><author>lacsis</author><pubDate>Tue, 14 Nov 2017 17:59:19 +0800</pubDate><description><![CDATA[英文版发表在：holmeshe.me

我在读一些网络系统的源码时，htons()和 ntohs() 是两个最开始困扰我的函数。所以我决定要重新学一下大学里的知识－字节序。
网络和主机字节序
字节序控制了一个字（word）是怎么存储在内存里，以及怎么在网络上传输的。在big-endian中，最高位的byte被存储在最低的地址，而在little-endian中，最高位则存在最高的地址。
]]></description><category></category></item><item><title><![CDATA[good web]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/6129583</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/6129583</guid><author>lacsis</author><pubDate>Tue, 11 Jan 2011 17:42:00 +0800</pubDate><description><![CDATA[<br /><br />http://bbs.chinaunix.net/viewthread.php?tid=960134<br />http://zlib.net/<br />http://www.hackchina.com/s/http-gzip<br />http://curl.haxx.se/<br /> <br /> <br />goodweb:<br />http://www.eggheadcafe.com/software/aspnet/29429858/grabbing-desktop-i]]></description><category></category></item><item><title><![CDATA[如何利用socket进行HTTP访问 ]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5938071</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5938071</guid><author>lacsis</author><pubDate>Wed, 13 Oct 2010 12:59:00 +0800</pubDate><description><![CDATA[<br />如何利用socket进行HTTP访问 <br />平常我们要访问某个URL一般都是通过浏览器进行：提交一个URL请求后，浏览器将请求发向目标服务器或者代理服务器，目标服务器或者代理服务器返回我们所需要的数据，浏览器接收到这些数据后保存成文件并进行显示。 <br />下面我们看看如何自己利用winsock2.h中的接口来实现这个功能?为了简化问题，作以下假设： <br /><br />通过代理服务器进行HTTP访问，这样就省去了对URL进行DNS解析的步骤，假设代理服务器的地址为：192.168.]]></description><category></category></item><item><title><![CDATA[VC6.0生成文件的种类和作用]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5913532</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5913532</guid><author>lacsis</author><pubDate>Wed, 29 Sep 2010 10:05:00 +0800</pubDate><description><![CDATA[DSW：全称是Developer Studio Workspace，最高级别的配置文件，记录了整个工作空间的配置信息，她是一个纯文本的文件，在vc创建新项目的时候自动生成DSP：全称是Developer Studio Project，也是一个配置文件，不过她记录的是一个项目的所有配置信息，纯文本文件 OPT：与DSW、DSP配合使用的配置文件，她记录了与机器硬件有关的信息，同一个项目在不同的机器上的opt文件内容是不同的 CLW：记录了跟ClassWizard相关的信息，如果丢失了clw文件，那么在Clas]]></description><category></category></item><item><title><![CDATA[常用黑客软件]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5614393</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5614393</guid><author>lacsis</author><pubDate>Fri, 21 May 2010 16:04:00 +0800</pubDate><description><![CDATA[一、国产经典软件简介先介绍些在国产黑客业内有举足轻重的作用的老软件。溯雪密 码探测器：利用溯雪可以轻松的完成基于web形式的各种密码猜测工作，例如email、forum中的注册用户密码等。软件采取多线程编写，除了支持字典 和穷举以外，软件最大的特色是可以自己编写猜测规则，例如可以按照中文拼音或者英文单词拼写规则随机组合出字典文件，最大程度上保证了猜测的准确性。乱刀密码破解：乱刀]]></description><category></category></item><item><title><![CDATA[汇编指令]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5547007</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5547007</guid><author>lacsis</author><pubDate>Fri, 30 Apr 2010 17:21:00 +0800</pubDate><description><![CDATA[汇编语言指令集 o&z!6"S 一、数据传输指令 !" E-/cc  1. 通用数据传送指令. @r MOV (MOVe) 传送字或字节. 6aY>lkp  MOVS (MOVe String) 串传送指令 90fs:.  MOVSX 先符号扩展,再传送. r PAJDuq  MOVZX 先零扩展,再传送. tuLH}tkNY  PUSH 把字压入堆栈.  qST]]></description><category></category></item><item><title><![CDATA[WindowsNT Buffer Overflow's From Start to Finish]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5319244</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5319244</guid><author>lacsis</author><pubDate>Tue, 23 Feb 2010 12:59:00 +0800</pubDate><description><![CDATA[WindowsNT Buffer Overflows From Start to FinishIve read most of the articles on BOs(Buffer Overflows) on the net. I have found that they either for *NIX systems, or they are not detailed enough]]></description><category></category></item><item><title><![CDATA[VS2008项目设置选项]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5317879</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5317879</guid><author>lacsis</author><pubDate>Mon, 22 Feb 2010 20:52:00 +0800</pubDate><description><![CDATA[【Configuration Properties】  General-> 【Output Directory】  .../../output/debug 表示生成文件的输出路径  General->【Intermediate Directory】.WsIuCsParser___Win32_Debug表示生成的中间路径 Debugging->【Command】../../output/]]></description><category></category></item><item><title><![CDATA[缓冲区溢出攻击原理]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5315324</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5315324</guid><author>lacsis</author><pubDate>Sun, 21 Feb 2010 20:03:00 +0800</pubDate><description><![CDATA[在当前网络与分布式系统安全中，被广泛利用的50%以上都是缓冲区溢出，其中最著名的例子是1988年利用fingerd漏洞的蠕虫。而,中，最为危险的是堆栈溢出，因为入侵者可以利用堆栈溢出，在函数返回时改变返回程序的地址，让其跳转到任意地址，带来的危害一种是程序崩溃导致拒绝服务，另外一种就是跳转并且执行一段恶意代码，比如得到shell，然后为所欲为。我在这里演示一下堆栈溢出的原理。首先，介绍一下，与堆栈]]></description><category></category></item><item><title><![CDATA[vc下debug和对heap corruption的处理]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5315272</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5315272</guid><author>lacsis</author><pubDate>Sun, 21 Feb 2010 19:17:00 +0800</pubDate><description><![CDATA[        前两天写程序的时候，一不小心引发了Heap Corruption，但是只是找出了引起问题的代码，并写进行了修正，没有时间去深入的探索一番，在博客上写了篇随笔，有些朋友留了些评论，让我颇感惭愧，这样一个问题为何不去深入探索一番呢，不能让它继续作为一个模糊的概念存在我的脑子里了，故而今天研究了一下，有些收获，拿出来分享。        首先说明一下什么是Heap Corruption。]]></description><category></category></item><item><title><![CDATA[icesword介绍]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5314848</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5314848</guid><author>lacsis</author><pubDate>Sun, 21 Feb 2010 15:56:00 +0800</pubDate><description><![CDATA[“工欲善其事，必先利其器”，今天先介绍清除流氓软件的工具第一利器IceSword。IceSword，也称为冰刀或者冰刃，有些地址简称IS，是USTC的PJF(http://www.blogcn.com/user17/pjf/index.html)出品的一款系统诊断、清除利器。下载地址：http://www.ttian.net/website/2005/0829/391.html清除流氓软件工具]]></description><category></category></item><item><title><![CDATA[vc字节对齐]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5314211</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5314211</guid><author>lacsis</author><pubDate>Sun, 21 Feb 2010 11:25:00 +0800</pubDate><description><![CDATA[  字节对齐指的是定义一个变量（包括常量，以下出现的变量不再特别说明）时，该变量在计算机内存区域的起始地址按照多少的倍数来存放。比如按4对齐，则起始地址必须是4的倍数。字节对齐影响着计算机指令系统层读写变量的速度。这一点在计算机体系结构和汇编语言的书里面一般都有较详细的说明，在此不多作描述。主要总结一下编程时字节对齐的设置。  C++提供了指令来设置对齐方式。一个是pack pragma，该指]]></description><category></category></item><item><title><![CDATA[VC编译设置]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5314194</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5314194</guid><author>lacsis</author><pubDate>Sun, 21 Feb 2010 11:21:00 +0800</pubDate><description><![CDATA[        大家可能一直在用VC开发软件，但是对于这个编译器却未必很了解。原因是多方面的。大多数情况下，我们只停留在“使用”它，而不会想去“了解”它。因为它只是一个工具，我们宁可把更多的精力放在C++语言和软件设计上。我们习惯于这样一种“模式”：建立一个项目，然后写代码，然后编译，反反复复调试。但是，所谓：“公欲善其事，必先利其器”。如果我们精于VC开发环境，我们是不是能够做得更加游刃有余呢？]]></description><category></category></item><item><title><![CDATA[one's complement sum]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5253115</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5253115</guid><author>lacsis</author><pubDate>Mon, 25 Jan 2010 11:08:00 +0800</pubDate><description><![CDATA[How to compute 16-bit ones complement sum What that means is:1. Add the 16-bit values up. Each time a carry-out (17th bit) is produced, swing that bit around and add it back into the LSb (ones d]]></description><category></category></item><item><title><![CDATA[Profile使用]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5213268</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5213268</guid><author>lacsis</author><pubDate>Tue, 19 Jan 2010 15:07:00 +0800</pubDate><description><![CDATA[帮助你分析并发现程序运行的瓶颈，找到耗时所在，同时也能帮助你发现不会被执行的代码。从而最终实现程序的优化。 Profile的组成　　 Profile包括3个命令行工具：PREP，PROFILE，PLIST。可以以命令行方式运行Profile，其过程是：PREP读取应用程序的可执行文件并生成一个.PBI文件和一个.PBT文件；PROFILE根据.PBI文件，实际运行并分析程序，生成.PBO输]]></description><category></category></item><item><title><![CDATA[用rand()和srand()产生为随机数的方法总结]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5149176</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5149176</guid><author>lacsis</author><pubDate>Thu, 07 Jan 2010 11:51:00 +0800</pubDate><description><![CDATA[标准库（被包含于中）提供两个帮助生成伪随机数的函数： 函数一：int rand(void)；从srand (seed)中指定的seed开始，返回一个[seed, RAND_MAX（0x7fff）)间的随机整数。 函数二：void srand(unsigned seed)；参数seed是rand()的种子，用来初始化rand()的起始值。 可以认为rand()在每次被调用的时候，它会查看]]></description><category></category></item><item><title><![CDATA[09盘点：梦幻诛仙蜀门剑网三的营销启示]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5077144</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5077144</guid><author>lacsis</author><pubDate>Fri, 25 Dec 2009 17:34:00 +0800</pubDate><description><![CDATA[　文：阿飞　　说明；本文主要讨论一下游戏运营方面（特别是营销方面）的一些细节、思路，文中大多数观点改编自当事人的论述，绝不敢说这几款产品的成败就是因为文中这几个细节造就的——只希望能引起行业里运营达人们的更多讨论，我们可以从这些讨论和分析里我们得到更多的经验和启示。　　正文：　　有时候我们觉得自己很有经验，产品看得很准，一个游戏是好是坏，推出来有没有戏，自己一眼就能看出来；可偏偏就有时候我们看好的]]></description><category></category></item><item><title><![CDATA[A* Pathfinding for Beginners ]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/5003907</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/5003907</guid><author>lacsis</author><pubDate>Mon, 14 Dec 2009 14:03:00 +0800</pubDate><description><![CDATA[from: http://www.policyalmanac.org/games/aStarTutorial.htm A* Pathfinding for Beginners by Patrick Lester Updated July 18, 2005This article has been translated into Albanian, Chinese, French, ]]></description><category></category></item><item><title><![CDATA[汇编指令集]]></title><link>https://blog.youkuaiyun.com/lacsis/article/details/4810508</link><guid>https://blog.youkuaiyun.com/lacsis/article/details/4810508</guid><author>lacsis</author><pubDate>Sat, 14 Nov 2009 15:05:00 +0800</pubDate><description><![CDATA[数据传输指令───────────────────────────────────────它们在存贮器和寄存器、寄存器和输入输出端口之间传送数据.1. 通用数据传送指令.MOV 传送字或字节.MOVSX 先符号扩展,再传送.MOVZX 先零扩展,再传送.PUSH 把字压入堆栈.POP 把字弹出堆栈.PUSHA 把AX,CX,DX,BX,SP,BP,SI,DI依次压入堆栈.POPA 把DI,SI,B]]></description><category></category></item></channel></rss>