??xml version="1.0" encoding="utf-8" standalone="yes"?>久久亚洲AV成人无码国产,噜噜噜色噜噜噜久久,久久最新精品国产http://www.shnenglu.com/huyutian/他强׃强,清风拂山岗;他横׃横,明月照大江。他自狠来他自恶Q我自一口真气 zh-cnMon, 30 Jun 2025 01:04:09 GMTMon, 30 Jun 2025 01:04:09 GMT60pandas使用HDF5格式存储需要注意的问题http://www.shnenglu.com/huyutian/archive/2015/12/08/212436.html胡雨?/dc:creator>胡雨?/author>Tue, 08 Dec 2015 08:38:00 GMThttp://www.shnenglu.com/huyutian/archive/2015/12/08/212436.htmlhttp://www.shnenglu.com/huyutian/comments/212436.htmlhttp://www.shnenglu.com/huyutian/archive/2015/12/08/212436.html#Feedback0http://www.shnenglu.com/huyutian/comments/commentRss/212436.htmlhttp://www.shnenglu.com/huyutian/services/trackbacks/212436.htmlHDF5格式非常适合保存层次化的l构数据集合。python下有pytable和h5py两种接口方式支持存储HDF5文gQpandas支持直接读写pytable。保存数据量不太大(一般控制在2GB以内Q的日线分钟U数据用h5格式q是很方便的。pandas在读取h5文gӞ可以像数据库一栯行条件检索。详l资料可参考pandas.HDFStore的where参数。要使column可以在where语句中查询,保存数据文g旉要增加index或者明指定data_columns。但是指定过多的column为data_columns会使得性能下降?br />|上搜烦后找C关于pandas存储HDF5文g性能优化的一些徏议,原文?a >q里

1.不用indexQ创建出来的HDF文g寸会小一些,速度也快一些?br />2.通过store.create_table_index() 创徏索引Q对data_columnsq行{选时的速度没有什么媄响?br />3.保存HDF时用压~选项Ҏ据的d速度影响很小Q但是压~后Q文件尺怼显著的变?br />使用pandasdhdf5文gCZ如下
#write
store=pd.HDFStore("./data/Minutes.h5","a", complevel=9, complib='zlib')
store.put("Year2015", dfMinutes, format="table", append=True, data_columns=['dt','code'])
# read
store=pd.HDFStore("./data/Minutes.h5","r")
store.select("Year2015", where=['dt<Timestamp("2015-01-07")','code=="000570"'])


]]>
转蝲Qlinux启动q程中的几个重要文g的详?/title><link>http://www.shnenglu.com/huyutian/archive/2015/03/01/209903.html</link><dc:creator>胡雨?/dc:creator><author>胡雨?/author><pubDate>Sun, 01 Mar 2015 11:57:00 GMT</pubDate><guid>http://www.shnenglu.com/huyutian/archive/2015/03/01/209903.html</guid><wfw:comment>http://www.shnenglu.com/huyutian/comments/209903.html</wfw:comment><comments>http://www.shnenglu.com/huyutian/archive/2015/03/01/209903.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/huyutian/comments/commentRss/209903.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/huyutian/services/trackbacks/209903.html</trackback:ping><description><![CDATA[<div>l于搞清楚了为啥我的Ec2108?etc/init.d/rcS中设|的PATHQ启动后莫名的被修改了,原来?etc/init.d/profile中又把PATH重新讄了,原因记录下来?br />【本文ؓOurUnix--Linux's境原创,转蝲h明源地址www.ourunix.org?/div><div></div><div>q两天在做根文gpȝ的时候,注意?linuxrc?etc/init.d/rcS?etc/init.d/rc.local?etc/init.d/profileq几个文件尤光要,遂把他们记蝲下来了?/div><div></div><div>/Linuxrc 执行init q程初始化文件。主要工作是把已安装Ҏ件系l中?etc 挂蝲为ramfsQƈ拯/mnt/etc/目录下所有文件到/etcQ这里存攄l启动后的许多特D文Ӟ接着Linuxrc 重新构徏文g分配表inittabQ之后执行系l初始化q程/sbin/init?/div><div>Linuxrc</div><div>#!/bin/sh</div><div>echo "mount /etc as ramfs"</div><div>/bin/mount -n -t ramfs ramfs /etc</div><div>/bin/cp -a /mnt/etc/* /etc</div><div>echo "re-create the /etc/mtab entries"</div><div># re-create the /etc/mtab entries</div><div>/bin/mount -f -t cramfs -o remount,ro /dev/mtdblock/3 /</div><div>/bin/mount -f -t ramfs ramfs /etc</div><div>exec /sbin/init</div><div></div><div>etc/init.d/rcS 完成各个文gpȝ?mountQ再执行/usr/etc/rc.localQ通过rcS 可以调用 dhcp E序配置|络。rcS 执行完了以后Qinit ׃在一?console 上,按照 inittab 的指C开一?shellQ或者是开 getty + loginQ这L户就会看到提C入用户名的提C符?/div><div>rc.local</div><div>/usr/etc/</div><div>#!/bin/sh</div><div>. /usr/etc/profile</div><div>echo "HELLO! Embest"</div><div>echo "ifconfig eth0 192.168.0.10"</div><div>ifconfig eth0 192.168.0.10 #可自行配|开发板IP</div><div></div><div>/usr/etc/rc.local q是被init.d/rcS 文g调用执行的特D文Ӟ与Linux pȝgq_相关Q如安装核心模块、进行网l配|、运行应用程序、启动图形界面等?/div><div>rcS</div><div>/mnt/etc/init.</div><div>d/</div><div>#!/bin/sh</div><div>/bin/mount -a</div><div>exec /usr/etc/rc.local</div><div></div><div>/usr/etc/profile 执行该文仉|需要的环境变量{?/div><div>Profile</div><div>/usr/etc/</div><div>#!/bin/sh</div><div>PATH=/bin:/sbin:/usr/bin:/usr/sbin ?? 讄命o工具所在位|?/div> <div class="i42ge4m" id="haloword-lookup" class="ui-widget-content ui-draggable"><div class="44mc44s" id="haloword-title"><span id="haloword-word"></span><a herf="#" id="haloword-pron" class="haloword-button" title="发音"></a><audio id="haloword-audio"></audio><div class="424ioy4" id="haloword-control-container"><a herf="#" id="haloword-add" class="haloword-button" title="加入单词?></a><a herf="#" id="haloword-remove" class="haloword-button" title="Ud单词?></a><a href="#" id="haloword-open" class="haloword-button" title="查看单词详细释义" target="_blank"></a><a herf="#" id="haloword-close" class="haloword-button" title="关闭查询H?></a></div></div><div class="aq2u24e" id="haloword-content"></div></div><img src ="http://www.shnenglu.com/huyutian/aggbug/209903.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/huyutian/" target="_blank">胡雨?/a> 2015-03-01 19:57 <a href="http://www.shnenglu.com/huyutian/archive/2015/03/01/209903.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>sqlite下用Replace命o和Update更新记录时的差别http://www.shnenglu.com/huyutian/archive/2015/03/01/209900.html胡雨?/dc:creator>胡雨?/author>Sun, 01 Mar 2015 10:12:00 GMThttp://www.shnenglu.com/huyutian/archive/2015/03/01/209900.htmlhttp://www.shnenglu.com/huyutian/comments/209900.htmlhttp://www.shnenglu.com/huyutian/archive/2015/03/01/209900.html#Feedback0http://www.shnenglu.com/huyutian/comments/commentRss/209900.htmlhttp://www.shnenglu.com/huyutian/services/trackbacks/209900.html
http://stackoverflow.com/questions/2717590/sqlite-upsert-on-duplicate-key-updateq里有很好的讨论?br />个h觉得以下Ҏ最好,摘抄如下?br />
 INSERT OR REPLACE INTO page (id, name, title, content, author)
 SELECT old.id, new.name, new.title, old.content, new.author
 FROM ( SELECT
     "about"           AS name,
     "About this site" AS title,
     42                AS author
 ) AS new
 LEFT JOIN (
     SELECT id, name, content
     FROM page WHERE name= "about"
 ) AS old ON new.name = old.name;


]]>sqlite下用Replace命o和Update更新记录时的差别http://www.shnenglu.com/huyutian/archive/2015/03/01/209899.html胡雨?/dc:creator>胡雨?/author>Sun, 01 Mar 2015 10:11:00 GMThttp://www.shnenglu.com/huyutian/archive/2015/03/01/209899.htmlhttp://www.shnenglu.com/huyutian/comments/209899.htmlhttp://www.shnenglu.com/huyutian/archive/2015/03/01/209899.html#Feedback0http://www.shnenglu.com/huyutian/comments/commentRss/209899.htmlhttp://www.shnenglu.com/huyutian/services/trackbacks/209899.html
http://stackoverflow.com/questions/2717590/sqlite-upsert-on-duplicate-key-updateq里有很好的讨论?br />个h觉得以下Ҏ最好,摘抄如下?br />
 INSERT OR REPLACE INTO page (id, name, title, content, author)
 SELECT old.id, new.name, new.title, old.content, new.author
 FROM ( SELECT
     "about"           AS name,
     "About this site" AS title,
     42                AS author
 ) AS new
 LEFT JOIN (
     SELECT id, name, content
     FROM page WHERE name= "about"
 ) AS old ON new.name = old.name;


]]>解决linux虚拟Z VMware Tools安装问题http://www.shnenglu.com/huyutian/archive/2015/02/22/209846.html胡雨?/dc:creator>胡雨?/author>Sun, 22 Feb 2015 04:28:00 GMThttp://www.shnenglu.com/huyutian/archive/2015/02/22/209846.htmlhttp://www.shnenglu.com/huyutian/comments/209846.htmlhttp://www.shnenglu.com/huyutian/archive/2015/02/22/209846.html#Feedback0http://www.shnenglu.com/huyutian/comments/commentRss/209846.htmlhttp://www.shnenglu.com/huyutian/services/trackbacks/209846.htmlubuntu下安装vmware tools问题
VMware Tools installation cannot be started manually while Easy Install is in progress.

vmware-install.pl
我在虚拟机安装UbuntuӞ无法自动安装VMware ToolsQ不能全屏显C?br />|上搜烦解决办法如下Q未成功?br />在开启虚拟机操作pȝ的情况下Q在虚拟|中更改floppy为auto detect。然后点击菜单中的安装VMWare ToolsQ虚拟操作系l中的光驱里׃有VMWare Tools的安装程序了Q自行安装即?br />最l解军_法:
在VMware目录Qwin7下ؓ
C:\Program Files (x86)\VMware\VMware WorkstationQ下扑ֈlinux.iso挂接到Ubuntu虚拟机光驱。在Ubuntu虚拟Z解压光盘安装包,启动l端E序Q进?/span>VMware-tools-distrib目录Q?/span>q行sudo perl vmware-install.pl

debian下安装vmware tools问题
debian下按照上面的Ҏ安装虚拟机是不能成功的,会显C错?/span>
"The path "usr/bin/gcc" is not a valid path to the gcc binary path" 
"The path "" is not a valid path to the 2.6.32-5-686 kernel header"
原因是vmware tools需要搜素gcc~译器和linux内核版本。解军_法是
uname -r
昄2.6.32-5-686
然后安装头文?/span>
apt-get install linux-headers-2.6.32-5-686
安装~译环境
apt-get install make
apt-get install build-essential
然后再重复上面Ubuntu的安装过E?br />先用df命o定光盘mount位置

我的光盘位置/media/cdrom0
cd /tmp
tar zxpf /mnt/cdrom/VMwareTools-8.8.0-47126.tar.gz
cd vmware-tools-distrib
./vmware-install.pl
然后安装时一路回车,使用默认选项ok


]]>关于inline函数"unresolved external" 错误http://www.shnenglu.com/huyutian/archive/2014/12/28/209324.html胡雨?/dc:creator>胡雨?/author>Sun, 28 Dec 2014 08:04:00 GMThttp://www.shnenglu.com/huyutian/archive/2014/12/28/209324.htmlhttp://www.shnenglu.com/huyutian/comments/209324.htmlhttp://www.shnenglu.com/huyutian/archive/2014/12/28/209324.html#Feedback0http://www.shnenglu.com/huyutian/comments/commentRss/209324.htmlhttp://www.shnenglu.com/huyutian/services/trackbacks/209324.html
t's imperative that the function's definition (the part between the {...}) be placed in a header file, unless the function is used only in a single .cpp file. In particular, if you put the inline function's definition into a .cpp file and you call it from some other .cpp file, you'll get an "unresolved external" error from the linker.

内联函数体必d义在头文件中Q除非你的程序只有单一cpp文g。如果你在一个cpp文g中定义内联函CQ而要从其他cpp文g讉K该内联函敎ͼ你就会在link旉?span style="font-size: 12px;">"unresolved external" 错误?/span>原文链接?a >q里
?br />


]]>office2010自定义安装问?/title><link>http://www.shnenglu.com/huyutian/archive/2014/02/04/205630.html</link><dc:creator>胡雨?/dc:creator><author>胡雨?/author><pubDate>Tue, 04 Feb 2014 00:35:00 GMT</pubDate><guid>http://www.shnenglu.com/huyutian/archive/2014/02/04/205630.html</guid><wfw:comment>http://www.shnenglu.com/huyutian/comments/205630.html</wfw:comment><comments>http://www.shnenglu.com/huyutian/archive/2014/02/04/205630.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.shnenglu.com/huyutian/comments/commentRss/205630.html</wfw:commentRss><trackback:ping>http://www.shnenglu.com/huyutian/services/trackbacks/205630.html</trackback:ping><description><![CDATA[<span style="font-size: 12px;">最q重新安装系l,选择自定义安装officeQ本意是惛_量精掉一些用不上的内容,l果不小心给自己添麻烦了?br />安装完后Q用WORD打开文档ӞL提示Q此文有宏Q该应用E序的宏语言支持功能被取消。功能要求的VBA不可用。如果关闭文退会提C:</span><span style="font-size: 12px;">所做更改会影响q模板NORMAL</span><span style="font-size: 12px;"></span><br /><div><span style="font-size: 12px;"><div>|上查找了一番, 解决办法有两个:<br />1.打开文档Ӟq入“开?#8221;-“选项”-“加蝲?#8221;-“理COM加蝲?#8221;Q将三个可用加蝲前的打勑֎掉?/div><div>2.用office安装盘重新安?“d/删除功能”-“自定义安?#8221;-“OFFICE ׃n功能”下,安装“VBA数字工程证书”?#8220;Visual Basic for Applications”</div></span><span style="font-size: 12px;"><div> Ҏ1临时用用可以Q但解决不了问题。最后还是选修复安装搞定?/div></span></div><img src ="http://www.shnenglu.com/huyutian/aggbug/205630.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.shnenglu.com/huyutian/" target="_blank">胡雨?/a> 2014-02-04 08:35 <a href="http://www.shnenglu.com/huyutian/archive/2014/02/04/205630.html#Feedback" target="_blank" style="text-decoration:none;">发表评论</a></div>]]></description></item><item><title>推荐一ƾ轻巧好用的~辑软gMadEdithttp://www.shnenglu.com/huyutian/archive/2013/10/08/203602.html胡雨?/dc:creator>胡雨?/author>Tue, 08 Oct 2013 12:30:00 GMThttp://www.shnenglu.com/huyutian/archive/2013/10/08/203602.htmlhttp://www.shnenglu.com/huyutian/comments/203602.htmlhttp://www.shnenglu.com/huyutian/archive/2013/10/08/203602.html#Feedback0http://www.shnenglu.com/huyutian/comments/commentRss/203602.htmlhttp://www.shnenglu.com/huyutian/services/trackbacks/203602.htmlwxWidgets和c++写的开源YӞ可以跨^台工作?br />主要特点Q?br />1.免费、开源、小巧,_致Q绿色便?br />2.支持16q制~辑Q这个用于分析一个未知文件的文g存储l构Q非常方ѝ对E序调试、底层开发的人非帔R合。以前大安用ultraeditQ但随着版本的升U,变得来庞大,已经不适合我这U偶玩玩编E的Z?br />3.支持c/c++/java/html/python{数十种语言语法高亮度显C。那么如果你时不时的需要写写小E序Q那么它非帔R合你?br />4.支持正则表达式。最q突然觉得正则表辑ּ在查找替换一些特使场合还是非常好用的Q效率非帔R。一般ƈ不需要掌握复杂的正则表达式规则?br />比如Q我有一个大文g有很多处"01.","02.","03."之类文本的要删除Q这时候[0-9][0-9]\.p快速搞定?br />5.自n支持讄d到资源管理器右键菜单中去Qwindowspȝ用户的最爱?br />6.中文/英文界面随意切换Q支持gbk/unicode~码格式Q还内置J简转换功能。这q简直就是ؓ中国Z用的~辑器么。完全可以把NotepadQNote++之类仍掉了?br />用一句时髦话形容Q低调奢华有内涵Q你值得拥有?br />唯一的缺点就是目前原作者很久没有更新程序了Q但好消息是Q有几个爱好者开源了另一个给madEdit打补丁的目Q可以去看看?br />madEdit的原|址在这?a >http://sourceforge.net/projects/madedit/
q里是爱好者修改的打补丁版本,注意也是开源的哟?a >https://code.google.com/p/madedit-pv/
从后一个网址下蝲ӞMadEdit20130705.7z是单个主E序Q不需安装可以直接q行。中文用户徏议最好再下蝲一个中文化配置文gsyntax_locale.7zQ解压到同一个目录中卛_?img src ="http://www.shnenglu.com/huyutian/aggbug/203602.html" width = "1" height = "1" />

]]>
解决visual studio 2010下warning LNK4099: PDB 'vc100.pdb' was not found问题http://www.shnenglu.com/huyutian/archive/2012/10/06/192930.html胡雨?/dc:creator>胡雨?/author>Sat, 06 Oct 2012 15:27:00 GMThttp://www.shnenglu.com/huyutian/archive/2012/10/06/192930.htmlhttp://www.shnenglu.com/huyutian/comments/192930.htmlhttp://www.shnenglu.com/huyutian/archive/2012/10/06/192930.html#Feedback2http://www.shnenglu.com/huyutian/comments/commentRss/192930.htmlhttp://www.shnenglu.com/huyutian/services/trackbacks/192930.htmlvc90.pdb或vc100.pdb)从而造成冲突。这个问题对E序的执行不会生媄响,但会D丢失部分调试信息?br />在网上搜?a >解决办法Q修改pdb文g讄的\径和名称。{贴于此?br />

Project Configuration Properties -> C/C++ -> Output Files
Program Database File

This name, e.g. $(IntDir)\vc90.pdb, is embedded into the object file and it should be the same as the one in

Project Configuration Properties -> Linker -> Debugging
Generate Program Database File

This is, e.g. $(TargetDir)$(TargetName).pdb

Now the object file contain the path where the library is located, too.


由此引出一个话题,那就是对于分开~译的多个Projectl成的一个复杂的Solution如何l织目录文档l构Q既保持各个Project相对独立Q同时又保证整个Solution调试信息的完整性。我的解军_法是Q首先肯定要像上面一样修改各单独Project的pdb的\径和文g名。其ơ在复制Project~译l果到Solution的LibӞ要把所有的obj文g和pdb文g一起copyq来。要注意单独的Project~译的obj文g和pdb文g路径最好相同,而且使用相对路径"..\"?#8220;.\"打头。文件复制工作可以写成一个批处理Q放入主Solution的Pre-Build Event中去?br />


]]>
注意TA-LIB与国内股Y件的技术指标计方式的区别http://www.shnenglu.com/huyutian/archive/2012/04/08/170432.html胡雨?/dc:creator>胡雨?/author>Sun, 08 Apr 2012 03:31:00 GMThttp://www.shnenglu.com/huyutian/archive/2012/04/08/170432.htmlhttp://www.shnenglu.com/huyutian/comments/170432.htmlhttp://www.shnenglu.com/huyutian/archive/2012/04/08/170432.html#Feedback1http://www.shnenglu.com/huyutian/comments/commentRss/170432.htmlhttp://www.shnenglu.com/huyutian/services/trackbacks/170432.html比如ATR的计,国内一般是取TRQ真实Lq)的简单^均。而TA-LIB则是采取cMEMAq_一LҎ求TR的^均倹{?br />再如MACD(12,26,9)的计,TA-LIB对于?3个初始值是未定义的Q国内股软计初始值时则是Ҏ已有的几根bar计算?br />q_值比照MACD公式q行换算的。自己利用TA-LIB库开发股软时一定要Ҏ一下指标的计算异同Q否则浪Ҏ间就划不来了?

]]>
ձƷþþþþþþ| ȾþùþƷ| ޹þþþƷС˵ | VVþþ | þĻƷһ| ˾þóۺӰԺ | þþƷɫ鶹| þþƷа| þõӰһ| 97þۺɫdžѿ| þñѵӰˬˬˬ| 鶹Ʒþþþþþ99| þþƷþ| þþƷһAV| þŮվ| þþþŷղAV| ƷVIDEOSSEXþ÷| ڸþþþþ| պŷ޹ƷĻþþ| þùɫAVѹۿ| ۺϾþĻӰ| þ޾Ʒҳ | Ʒþˬ | ҹþAAAAAëƬѿ| ž99Ʒþþþþ| ɫۺϾþĻ| ɫ8ŷ˾þۺϵ| 99þþƷֻоƷ| Ʒ9999þþþ| 뾫ƷþþӰ| ҹþþӰԺ| 7777Ʒ˾þþô߽| ŷսպ91ۺһþþ| þ96Ʒþþ| þþþŮ˾ƷëƬ| ƷɫۺϾþ| þۺ| 999þþƷ| þۺĻ| 99þۺϾƷվ| Ʒþþþ9999|