- 博客(7)
- 资源 (1)
- 收藏
- 关注
原创 libcurl使用过程中卡顿问题
写一个从服务器请求经纬度的程序时,用到libcurl测试大量数据时,发现取十几条数据之后,就卡顿5秒钟或10秒钟。通过查资料设置参数之类的都没有用,后来看了官网上https://curl.haxx.se/libcurl/c/curl_easy_perform.html这句话:我的代码里面,是调用一次post或get,就调用一次curl_easy_init(),后来我改成把这个cu...
2019-10-29 19:30:56 549
原创 IDEA遇到test (default-test) on project webgis: There are test failures
看到很多是更改pom文件但是也有个设置的方法:File -> Settings -> Build,Excecution,Deployment -> Build Tools -> Maven -> Runner勾选 Skip tests
2019-08-14 14:03:24 2412 2
原创 vs2015与python结合中的一点配置问题
the project is currently set to use the .net debugger for ironpython debugging bue the project is configured to start with a cpython interpreter如图所示问题,需要配置以下参数:
2018-03-09 10:15:15 678
原创 Python 省市分词提取
第一次使用Python编写项目程序,实现地址的省市提取。已知本地表file1.xls,包含省、市、县名称。从数据库取出的地址通过jieba分词,再与本地表比较,最后将省和市分别列出来。from pandas import *from numpy import *import pandas as pdimport numpy as npimport MySQLdbimport jieb
2017-12-08 14:55:57 5434 3
原创 occi Clob转换为std::string
oracle::occi::Clob the_clob = prs->getClob(2); unsigned int cloblen = the_clob.length(); char time_char[cloblen]; memset(time_char,0,cloblen); if (!the_clob.is
2015-01-21 14:59:01 783
原创 ORA-01460: unimplemented or unreasonable conversion requested
我的问题是:pStmt->setDataBuffer(1, unitId, occi::OCCIINT, sizeof(unitId[0]), unitIdLen);原因其中的unitIdLen没有初始化
2015-01-13 14:40:14 2325
原创 undefined reference to `vtable for batchsave::XXX'
改代码的时候不小心把析构函数删了,报了这个错,也是在网上查的时候看到有的说在析构函数后面加上{},就没报错了。才发现我的析构函数都不见了,加上就没这个报错了。
2014-12-08 09:51:24 402
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人