分类:其他2014-05-12 09:528063人阅读评论(9)收藏举报sublime text有时运行会输出以下错误信息:[Decodeerror - output not utf-8]或者[Decodeerror - output not gbk]错误信息意思就是脚本输出的信息不是某种指定编码...
分类:
其他好文 时间:
2015-04-22 17:56:55
阅读次数:
136
There are multiple ways to do error handling in WCF as listed by Pedram Rezaei Blog.The default way that WCF allows errorsmessage to display is by set...
分类:
其他好文 时间:
2015-04-22 17:45:31
阅读次数:
157
1. $sudo pip install -v pyv8Error: pip unicodedecodeerror ‘ascii’ codec can’t decode byte 0xe2 in position 42 ordinal not in range(128)2. 更新pip版本卸载 py...
分类:
系统相关 时间:
2015-04-21 09:31:13
阅读次数:
1247
You are climbing a stair case. It takesnsteps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you climb...
分类:
其他好文 时间:
2015-04-20 22:11:05
阅读次数:
110
本文分析FFmpeg的H.264解码器的宏块解码(Decode)部分的源代码。FFmpeg的H.264解码器调用decode_slice()函数完成了解码工作。这些解码工作可以大体上分为3个步骤:熵解码,宏块解码以及环路滤波。本文分析这3个步骤中的第2个步骤。由于宏块解码部分的内容比较多,因此将本部分内容拆分成两篇文章:一篇文章记录帧内预测宏块(Intra)的宏块解码,另一篇文章记录帧间预测宏块(...
分类:
其他好文 时间:
2015-04-20 17:08:52
阅读次数:
924
【题目链接】:click here~~
【题目大意】:题意:给出一个w*h的方格,问除去不能走的路,从(0,0)到(w,h)共有多少种走法。
【解题思路】:第七场比赛的题,最后一小时在看这道题,比较遗憾最后还是没有A出来,赛后重新看了看题目,理清一下思路,发现就是道简单的dp,
处理一下除去不能走的路,不过要注意题目的一句话:“ The blocking is done in such a...
分类:
其他好文 时间:
2015-04-20 08:10:55
阅读次数:
127
Your Ways
You live in a small well-planned rectangular town in Phuket. The size of the central area of the town is H kilometers x W kilometers. The central area is divided into HW unit blocks, e...
分类:
其他好文 时间:
2015-04-19 21:28:12
阅读次数:
231
今天折腾了一天,安装pyspider,由于依赖包众多,而且搜索到所有信息多是在linux平台和mac平台下的安装教程。可怜我试了n多版本,一直不成功。最后发现有人说python的版本,不能低于2.7.6,否则pycurl无法安装成功,一查我的是2.7.2. 好吧,卸载,重新安装python2.7.6...
分类:
编程语言 时间:
2015-04-19 21:09:19
阅读次数:
189
You are climbing a stair case. It takes n steps to reach to the top.Each time you can either climb 1 or 2 steps. In how many distinct ways can you cli...
分类:
其他好文 时间:
2015-04-19 19:25:05
阅读次数:
165
https://leetcode.com/problems/decode-ways/A message containing letters fromA-Zis being decoded to numbers using the following mapping:'A' -> 1'B' -> 2...
分类:
其他好文 时间:
2015-04-19 01:04:45
阅读次数:
122