安装Scrapy之前需要安装:pipzope.interfacelxmlOpenSSL安装前三个时直接easy_install 就可以安装OpenSSL时遇到了一些问题首先easy_stall pyOpenSSL出现distutils.errors.DistutilsError: Setup scr...
分类:
其他好文 时间:
2014-08-18 17:47:12
阅读次数:
253
在爬数据的时候,登录一直是一个比较麻烦的问题。我也一直在网上找过各种资料,都挺麻烦的,因为需要分析各种http过程,感觉太麻烦了。不过最近在一个同学的帮助下,找到了使用cookie登录的方法。因为带cookie登录的话,server会认为你是一个已登录的用户,所以就会返回给你一个已登录的内容本文介绍...
分类:
Web程序 时间:
2014-08-16 16:26:50
阅读次数:
4112
ASP.Net处理Http Request时,使用Pipeline(管道)方式,由各个HttpModule对请求进行处理,然后到达 HttpHandler,HttpHandler处理完之后,仍经过Pipeline中各个HttpModule的处理,最后将HTML发送到客户端浏览 器中。生命周期中涉及到...
分类:
其他好文 时间:
2014-08-10 12:51:10
阅读次数:
205
这次比赛有显示了自己的不足,之所以是又,是因为基本上每次都暴露了自己很水,囧。 剩下的时间努力刷题,加油 CodeForces 287B Pipeline (二分加贪心) view code#include #include #include #include #include using name...
分类:
其他好文 时间:
2014-08-07 00:39:47
阅读次数:
311
netty作为nio应用的典范,在很多设计方面都值得我们在程序开发中学习。 1.事件驱动,三种事件的传播机制。一种是在channel上触发,一种是在pipeline上触发,一种是在context上触发。其中前两种触发的事件都会在整个pipeline上进行传播,第三种事件在context后的handl...
分类:
Web程序 时间:
2014-08-05 18:31:29
阅读次数:
333
Welcome back to what’s going to be the last “official” part of this series – I’ll do more GPU-related posts in the future, but this series is long eno...
分类:
其他好文 时间:
2014-08-05 02:56:18
阅读次数:
427
Welcome back! This time, we’ll look into what is perhaps the “poster boy” feature introduced with the D3D11 / Shader 5.x hardware generation: Tessella...
分类:
其他好文 时间:
2014-08-05 02:55:48
阅读次数:
272
It’s been awhile since I posted something here, and I figured I might use this spot to explain some general points about graphics hardware and softwa....
分类:
其他好文 时间:
2014-08-05 00:38:08
阅读次数:
279
Welcome back! This post deals with the second half of pixel processing, the “join phase”. The previous phase was all about taking a small number of i....
分类:
其他好文 时间:
2014-08-05 00:37:58
阅读次数:
305
At this point, we’ve sent draw calls down from our app all the way through various driver layers and the command processor; now,finallywe’re actual...
分类:
其他好文 时间:
2014-08-05 00:37:18
阅读次数:
343