<?xml version="1.0" encoding="utf-8" ?><rss version="2.0"><channel><title><![CDATA[feihuadao的专栏]]></title><description><![CDATA[]]></description><link>https://blog.youkuaiyun.com/feihuadao</link><language>zh-cn</language><generator>https://blog.youkuaiyun.com/</generator><copyright><![CDATA[Copyright &copy; feihuadao]]></copyright><item><title><![CDATA[windows下使用cmake编译libvncserver]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/82840727</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/82840727</guid><author>feihuadao</author><pubDate>Tue, 25 Sep 2018 16:05:42 +0800</pubDate><description><![CDATA[cmake -G&quot;Visual Studio 12 2013&quot; .. -DZLIB_INCLUDE_DIR=..\deps\zlib -DZLIB_LIBRARY=..\deps\zlib\debug\zlibstaticd.lib -DSDL2_INCLUDE_DIR=..\deps\SDL2-2.0.8\include -DSDL2MAIN_LIBRARY=..\deps\SDL2-2.0.8...]]></description><category></category></item><item><title><![CDATA[qt画four corner border(多屏幕)]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/82776552</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/82776552</guid><author>feihuadao</author><pubDate>Wed, 19 Sep 2018 18:45:19 +0800</pubDate><description><![CDATA[int cc = QApplication::desktop()-&amp;amp;gt;screenCount();
	if (cc &amp;amp;lt; SCREEN_COUNT)
	{
		return;
	}

	static int last_n = QApplication::desktop()-&amp;amp;gt;screenNumber(this);
	int sn = QApplication::desktop()-&amp;amp;...]]></description><category></category></item><item><title><![CDATA[gdi 屏幕画线]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/82776540</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/82776540</guid><author>feihuadao</author><pubDate>Wed, 19 Sep 2018 18:43:59 +0800</pubDate><description><![CDATA[HWND appwnd;
	appwnd = (HWND)winId();
	HMONITOR hMonitor;
	hMonitor = MonitorFromWindow(appwnd, MONITOR_DEFAULTTONULL);
	MONITORINFOEX info;
	info.cbSize = sizeof(MONITORINFOEX);
	if (GetMonitorInfo(h...]]></description><category></category></item><item><title><![CDATA[运动物体碰撞算法演示【转】]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/78459059</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/78459059</guid><author>feihuadao</author><pubDate>Mon, 06 Nov 2017 16:32:27 +0800</pubDate><description><![CDATA[1,test.js代码var getFlag=function (id) {
     return document.getElementById(id);  //获取元素引用
}
var extend=function(des, src) {
     for (p in src) {
       des[p]=src[p];
   }
  return des;
 }
var clss=[']]></description><category></category></item><item><title><![CDATA[汉语中的26种结构歧义]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/77051119</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/77051119</guid><author>feihuadao</author><pubDate>Thu, 10 Aug 2017 14:57:11 +0800</pubDate><description><![CDATA[上世纪80年代我在德国Fraunhofer研究院新信息技术与通讯系统研究所研究中文科学技术术语结构时，曾经提出了“潜在歧义论”（Potential Ambiguity Theory, 简称PA论）。PA论认为，语言学家总结出的各种“歧义格式”（我们叫做PT结构[Phrase Type Structure]）的歧义实际上是潜在的歧义，并不是现实的歧义，当我们用具体的单词来替换歧义格式中的词类符号时（我]]></description><category></category></item><item><title><![CDATA[python 数字拆分]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/72898000</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/72898000</guid><author>feihuadao</author><pubDate>Wed, 07 Jun 2017 11:31:45 +0800</pubDate><description><![CDATA[def SpliteUnit(lens, step, arr, index, results):
    if lens == 0:
        print arr[:index]
        results.append(arr[:index])
    for i in range(step, lens + 1, 1):
        arr[index] = i
        Sp]]></description><category></category></item><item><title><![CDATA[python upload file and form]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/71087467</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/71087467</guid><author>feihuadao</author><pubDate>Tue, 02 May 2017 17:54:51 +0800</pubDate><description><![CDATA[#!/usr/bin/python# demo from here: http://pymotw.com/2/urllib2/index.html#uploading-filesimport itertools
import mimetools
import mimetypes
from cStringIO import StringIO
import urllib
import urllib2
c]]></description><category></category></item><item><title><![CDATA[c++调用.net dll，调试时报异常First-chance exception at 0x7556C54F (KernelBase.dll)]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/70212498</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/70212498</guid><author>feihuadao</author><pubDate>Mon, 17 Apr 2017 15:54:18 +0800</pubDate><description><![CDATA[调用堆栈如下：    KernelBase.dll!_RaiseException@16()    Unknown
>   clr.dll!Debugger::SendRawEvent(struct DebuggerIPCEvent const *) Unknown
    clr.dll!Debugger::Startup(void) Unknown
    clr.dll!Initialize]]></description><category></category></item><item><title><![CDATA[cef3 clienthandler]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/68060209</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/68060209</guid><author>feihuadao</author><pubDate>Wed, 29 Mar 2017 10:07:19 +0800</pubDate><description><![CDATA[.h#pragma once#include "include/cef_render_process_handler.h"
#include "include/cef_client.h"
#include "include/cef_v8.h"
#include "include/cef_browser.h"class CCefClientHandler : public CefClient, pub]]></description><category></category></item><item><title><![CDATA[winhttp和wininet头文件冲突]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/62887386</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/62887386</guid><author>feihuadao</author><pubDate>Fri, 17 Mar 2017 14:17:09 +0800</pubDate><description><![CDATA[合并之后的文件winhttp.h
/*++Copyright (c) Microsoft Corporation. All rights reserved.Module Name:    winhttp.hAbstract:    Contains manifests, macros, types and prototypes for Windows HTTP Services--*//*
原有 w]]></description><category></category></item><item><title><![CDATA[GBK到UTF8编码转换C++实现]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/61916352</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/61916352</guid><author>feihuadao</author><pubDate>Mon, 13 Mar 2017 13:40:53 +0800</pubDate><description><![CDATA[#include <iostream>
#include <string>
#include <fstream>
#include <windows.h> using namespace std;string GBKToUTF8(const std::string& strGBK)
{
    string strOutUTF8 = "";
    WCHAR * str1;
    int n =]]></description><category></category></item><item><title><![CDATA[windows下面自动打包exe批处理]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/60873045</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/60873045</guid><author>feihuadao</author><pubDate>Wed, 08 Mar 2017 15:22:02 +0800</pubDate><description><![CDATA[@echo off 
cd %~dp0echo "Init Visual Studio Environment"
::call "C:\Program Files (x86)\Microsoft Visual Studio 12.0\VC\vcvarsall.bat" x86set BuildDir=%Temp%\SMELP_BUILD
set CoVer=HEAD
for /f "tokens=1]]></description><category></category></item><item><title><![CDATA[win32获取硬盘及mac地址]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/54913096</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/54913096</guid><author>feihuadao</author><pubDate>Tue, 07 Feb 2017 17:32:20 +0800</pubDate><description><![CDATA[//  diskid32.cpp
//  for displaying the details of hard drives in a command window
//  06/11/00  Lynn McGuire  written with many contributions from others,
//                            IDE drives only]]></description><category></category></item><item><title><![CDATA[solr 整理]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/53436295</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/53436295</guid><author>feihuadao</author><pubDate>Fri, 02 Dec 2016 16:44:23 +0800</pubDate><description><![CDATA[1.The version field is by default stored in the inverted index (indexed=”true”). However, for some systems with a very large number of documents, the increase in FieldCache memory requirements may be t]]></description><category></category></item><item><title><![CDATA[solr 命令记录]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/53421143</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/53421143</guid><author>feihuadao</author><pubDate>Thu, 01 Dec 2016 14:30:33 +0800</pubDate><description><![CDATA[solrcloud 上传文件
D:\solr-6.2.1>.\server\scripts\cloud-scripts\zkcli.bat -cmd putfile /configs/gettingstarted/xslt/updateXml.xsl example\example-DIH\solr\solr\conf\xslt\updateXml.xsl  -zkhost localhost:99]]></description><category></category></item><item><title><![CDATA[nutch2.3.1爬取marker流程]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/53084194</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/53084194</guid><author>feihuadao</author><pubDate>Tue, 08 Nov 2016 16:54:53 +0800</pubDate><description><![CDATA[crawlstatus:
    STATUS_UNFETCHED = 0x01;     //Page was not fetched yet
    STATUS_FETCHED = 0x02;       //Page was successfully fetched
    STATUS_GONE = 0x03;          //Page no longer exists
    ST]]></description><category></category></item><item><title><![CDATA[nutch2.3.1 构建solr6索引时meta_keywords longer than the max length 32766]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/53026418</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/53026418</guid><author>feihuadao</author><pubDate>Thu, 03 Nov 2016 21:41:54 +0800</pubDate><description><![CDATA[解决办法有2 
1是在managed schema置meta_* 的index=false 
2是修改nutch代码MetaTagsParser.java如下  private void addIndexedMetatags(Map<CharSequence, ByteBuffer> metadata,
      String metatag, String value) {
      //ad]]></description><category></category></item><item><title><![CDATA[nutch2.3.1 SolrDeleteDuplicates.java 去重时空指针崩溃]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/53008808</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/53008808</guid><author>feihuadao</author><pubDate>Wed, 02 Nov 2016 15:56:24 +0800</pubDate><description><![CDATA[修改源代码如下：    @Override
    public boolean nextKeyValue() throws IOException, InterruptedException {
        while(true){
            if (currentDoc >= numDocs) {
                return false;]]></description><category></category></item><item><title><![CDATA[nutch2.3.1 updatejob时错误url导致崩溃]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/52996288</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/52996288</guid><author>feihuadao</author><pubDate>Tue, 01 Nov 2016 15:21:34 +0800</pubDate><description><![CDATA[原因可能是错误的html解析出来的 
在DbUpdateMapper.java的map时加个trycatch 55  @Override
 56  public void map(String key, WebPage page, Context context)
 57      throws IOException, InterruptedException {
 58    if (Mark.]]></description><category></category></item><item><title><![CDATA[nutch2.3.1 nutch-site.xml配置]]></title><link>https://blog.youkuaiyun.com/feihuadao/article/details/52993831</link><guid>https://blog.youkuaiyun.com/feihuadao/article/details/52993831</guid><author>feihuadao</author><pubDate>Tue, 01 Nov 2016 10:54:40 +0800</pubDate><description><![CDATA[<configuration>
<property>
    <name>storage.data.store.class</name>
    <value>org.apache.gora.mongodb.store.MongoStore</value>
</property>
<property>
    <name>http.agent.name</name>
    <value>User-]]></description><category></category></item></channel></rss>