`
文章列表
 嗯,似乎延迟了一个月。。比较关注SIMD.
今天无意在一个群里说了一句"我觉得ubuntu比vista还好用" 马上引来一帮人的反击,所用伎俩仍然没有新意 1偷换概念,开始用winxp说事 2游戏,网银 3windows的系统很稳定,只是应用程序不稳定。 得出结论linux不适合作为桌面应用。   每个人的preference本就varied,个人感受更是相差太远。我就不觉得mac osx有什么特别好的地方,当然我也不会试图去说服mac fans改行用别的。我windows,linux都用。很多人都是潜意识把选择当0-1处理,不选择那个一定favor另一个。思维跟单细胞动物似的。     以前在所里面,清一色的linu ...
比以前有了很大进步, 在ubuntu 8.04下 只要是用 pure c#写的应用均可以正常运行,而且显示/输入中文正常。 遗憾的是 因为界面是用x11画出来的,所以看起来明显比在winxp下慢。 不过比swing 好些了。居然还不能正常显示中文,非得要改一下.
before compiling mono 2.0, you should have following tools at hand: 1 gcc 2 bison 3 gawk 4 autoconf 5 automake 6 libgtk2.0-dev 7 libglib-2.0-data   a simple way in ubuntu:   sudo apt-get build-dep mono  
as many person reported, there is a bug when you trying to install vmware-tools for your ubuntu guest system (i assumed that the host is win32)   vmware-tools will report /linux/string.h "rinxx.h" is redefined. this bug will cause the share-folder features is disable.   the simplest way to ...
今早起来打开 www.mono-project.com。 一看,2.0出来了而且网站也改版了。 我一直对这个东西保持一定的注意力,因为在两年前曾经试图使用其来进行一些程序的迁移工作。 当时我手头上有个用pure C#写的程序, net 1.1需要迁移到linux上面去。此程序大量使用winform所以移植是个大问题,我当时希望能找到一个能在*nix下用的cli平台. 评估过gnu .net。发现其根本还是个demo。后来有人提起过mono,引起了我的兴趣。   我当时下载的版本似乎是1.1.7,对winform的支持并不好,中文显示只有半格,而且某些异常是不能正确处理的。试用了一星期的结论便是: ...
as we know, sendmessage in win32 api is able to send a message to some window based controls so that the callback proc will deal with it.   for thos controls don't reside in the same process, we may try to get their hwnds first. These hwnds should be placed in a shared area (usually, these hwnds are ...
In default, GE will use kml's name with path as a reference if you don't define your own name in KML file like: <Document>  <name>XXX</name> </Document> otherwise, this XXX will be kept it.   when you want to hide some loaded kml files, please be aware of this issue. I wasted ...
drop and drag in winform is not really convenient comparing with wxPython.   As the target of drop, you must implement two functions to response two events separately: 1: dropenter 2: dragdrop   in the functions of responding dragdrop you may write: array<File^>^ fileList = static_cast<arra ...
since my first time to dabble at python, i began to keep an eye on its performance in multi-core enviornment. As everyone knows, python adapt GIL to prevent thread from interrupting the data. the pros is learning and using thread become easy and error-less, the downside is you are unable to take any ...
看到未名的几篇帖子 使我想起了和python的一些经历,于是写了一篇咚咚。   1 书籍: python的syntax足够简单,semantics也不复杂,不怎么会使人混乱,一般来说看自带的文档足够可以学习了,看完两章便可以写出一些non-trivial的程序了。 硬要说入门书籍。 learning in python可以一看。目前的版本似乎是based on python2.3的,有些内容稍微旧了点。 对于解释reference,reference counting 比较清楚,要是觉得糊涂的可以看看前面三个部分. 如果没什么时间,可以不看此书   programming in p ...
when trying to cache map in Google earth, be aware of your memory cache setting..  the number of your memory cache depends upon the capacity of total memory.. Some recommended settings are following:   RAM 1.3G or below: memory cache 256 MB or 384 MB RAM 1.3G to 2G: memory cache 512 MB RAM 2G or abov ...
don't try to manipulate any form based control without Invoke in a separate thread, otherwise it will cause some undefined behaviours.  
交通颇有些奇怪,不能左拐。常见的场景是司机窜到对面马路去看准时机一个大回环,重新右转。别是一道风景。   taxi很便宜,我难得享受了上下班打车的待遇,在平时想都不敢想的事。   我的项目和中石油有关,中石油很有钱,科研楼的办公室都惊人的大,往往里面只坐着一个人。 负责会议室清洁和打水的女孩很pp,其中一个很高,目测大概1.73-1.74左右。   我一直认为这种超过百万雇员的怪物级公司管理应该不错,不过自从他们的科长在打水的时候抱怨了至少1小时终于发现 这个大基本上就是一个大字,不代表什么。   我工作的附近有个地球物理计算中心,和我的专业很相近,偶尔路过看看总忍不住想 啥时有个机会能混进去工 ...
MemoryStream^ st = gcnew MemoryStream(); array<Byte>^ byteArray;  byteArray = gcnew array<Byte>((__int64)st->Length);        st->Read(byteArray, (__int64)0, st->Length);  writer->Close();   st->Close();   System::Text::Encoding^ ee = System::Text::Encoding::GetEncoding(&qu ...
Global site tag (gtag.js) - Google Analytics