星期三, 十月 29, 2008
VIDE
VIDE is the V Integrated Development Environment for the GNU g++ compiler and the standard Sun Java Development Kit. The current release is Version 2.00 for MS-Windows and Linux (RedHat 6.x, 7.x, 8.x; Mandrake 8.x; others).
http://www.objectcentral.com/objectcentral/vide.htm
http://www.objectcentral.com/objectcentral/vide.htm
Quincy
Quincy is freeware open-source. It is a simple programming environment for C/C++ on Windows. It contains an editor, a compiler, a debugger, and graphics and GUI toolkits.
Because of it's simple interface, Quincy is ideal for learning C or C++ programming.
With integrated support for FLTK and the FLUID GUI builder, Quincy is also a rapid application development (RAD) tool for Windows GUI programs.
http://www.codecutter.net/tools/quincy/
Because of it's simple interface, Quincy is ideal for learning C or C++ programming.
With integrated support for FLTK and the FLUID GUI builder, Quincy is also a rapid application development (RAD) tool for Windows GUI programs.
http://www.codecutter.net/tools/quincy/
Anjuta IDE
Anjuta is a versatile Integrated Development Environment (IDE) for C and C++ on GNU/Linux. It has been written for GTK/GNOME and features a number of advanced programming facilities. These include project management, application wizards, an on-board interactive debugger, and a powerful source editor with source browsing and syntax highlighting.
Anjuta is an effort to marry the flexibility and power of text-based command-line tools with the ease-of-use of the GNOME graphical user interface. That is why it has been made as user-friendly as possible.
Any sort of suggestions or patches for Anjuta are also most welcome.
Remember, this program is under the license of the GPL.
Please read the file COPYING that comes with the distribution for details.
Help wanted!
* Software Developers [New Code, Fixes, etc...]
* Editors [Manuals, Articles]
* Artists [Icons, images, splash]
Please go to the mailing list section to join or subscribe to the development mailing list to start contributing.
http://www.anjuta.org/
Anjuta is an effort to marry the flexibility and power of text-based command-line tools with the ease-of-use of the GNOME graphical user interface. That is why it has been made as user-friendly as possible.
Any sort of suggestions or patches for Anjuta are also most welcome.
Remember, this program is under the license of the GPL.
Please read the file COPYING that comes with the distribution for details.
Help wanted!
* Software Developers [New Code, Fixes, etc...]
* Editors [Manuals, Articles]
* Artists [Icons, images, splash]
Please go to the mailing list section to join or subscribe to the development mailing list to start contributing.
http://www.anjuta.org/
BVRDE - 远程C++开发环境
BVRDE is an Integrated Development Environment (IDE) for C and C++. It is designed to make cross-platform development easy. Its features include project management, application wizards, an integrated interactive debugger, and a powerful source editor with source browsing and syntax highlighting.
The goal of this tool is to allow a developer to compile and debug applications entirely on a remote computer, while editing and issuing compile and debug commands through a local interface. BVRDE supports a variety of network protocols to allow connectivity with various remote systems. This includes FTP and secure & encrypted protocols such as SSH and SFTP.
http://bvrde.sourceforge.net/
The goal of this tool is to allow a developer to compile and debug applications entirely on a remote computer, while editing and issuing compile and debug commands through a local interface. BVRDE supports a variety of network protocols to allow connectivity with various remote systems. This includes FTP and secure & encrypted protocols such as SSH and SFTP.
http://bvrde.sourceforge.net/
星期二, 十月 28, 2008
无聊的寓言之微软对猩扒壳
不知道什么开始,喝茶国度的娘儿爷儿们开始喝咖啡了。别说还跟爱上KFC、麦当奴的兄弟姐妹们一样,喜欢美元定价,去猩扒壳开塞。不过人刀赚着快也超不过系数,这不,旁边开了一递班,原料、配方、餐饮用具一律跟扒壳家的一样,就是服务员是呲牙妹,反正咱也不正乎,大不了自己服务呗。忽有一日,猩扒壳追击版权,说是那个小谁家的谁呐谁呐,你小样咋啦咋啦,以后谁再上递班那儿嘿喝的第一口准烫一泡。
丫还真是坏,确实真的。这不,隔壁小谁家的喊上了,MLGBD。。。。
丫还真是坏,确实真的。这不,隔壁小谁家的喊上了,MLGBD。。。。
标签: 微软,随笔,寓言
星期四, 十月 23, 2008
星期二, 十月 21, 2008
EXE图标替换
杂志文章作者:牵着蜗牛去散步
HINSTANCE hInstance=LoadLibrary("D:\\dd.exe");//载入图标源文件 5~8FZ-x
HRSRC hRsrc = FindResource(hInstance,(LPCSTR)1,(LPCSTR)RT_ICON); //查找源文件中的图标文件 -!_\4
LPVOID lpRes = LockResource(LoadResource(hInstance,hRsrc)); //锁定资源 GTYCNi66
HANDLE hUpdateRes = BeginUpdateResource("D:\\dd2.exe", FALSE); //更新dd2文件图标为dd的 *aem5E`c
UpdateResource(hUpdateRes,(LPCSTR)RT_ICON, (LPCSTR)1,0,lpRes,SizeofResource(hInstance,hRsrc)); //更新图标资源 }253Q!f
EndUpdateResource(hUpdateRes,FALSE); //结束更新资源 WF#3'"I
CloseHandle(hRsrc); //关闭句柄 y"bSn5B[
CloseHandle(hUpdateRes);//关闭句柄 l(�Y U9dp
FreeLibrary(hInstance); //释放载入的源文件 85{2TXQ^%=
http://www.nn4a.com/bbs/read.php?tid=9818
再来一段Delphi写的:
给你一段读写自身icon的程序。写别的程序的,只需要loadlibrary,用它的句柄代替hinstance.
PCursorOrIcon = ^TCursorOrIcon;
TCursorOrIcon = packed record
Reserved: Word;
wType: Word;
Count: Word;
end;
//This has been defined in DELPHI9. But not the definition of IconEntry.
PIconEntry = ^TIconEntry;
TIconEntry= packed record
bWidth : Byte; // Width, in pixels, of the image
bHeight : Byte; // Height, in pixels, of the image
bColorCount: Byte; // Number of colors in image (0 if >=8bpp)
bReserved: Byte; // Reserved ( must be 0)
wPlanes : word; // Color Planes
wBitCount : word; // Bits per pixel
dwBytesInRes : dword; // How many bytes in this resource?
dwImageOffset : dword;
end;
var
hRes,hMem:HRSRC;
lpMem : Pointer;
lp1 : PBYTE;
n : integer;
ts : TMemoryStream;
IconHeader : TCursorOrIcon;
IconEntry : TIconEntry;
begin
ts:=TMemoryStream.Create;
hRes:=FindResource(hInstance,'small',rt_group_icon);
hMem:=LoadResource(hInstance,hRes);
lpMem:=LockResource(hMem);
IconHeader.Reserved:=PWord(lpMem)^; //usually be $0.
IconHeader.wType:=$01; //$01 for ICON
IconHeader.Count:=$01; // we just want lookup a single icon.
//ts.Write(pbyte(lpMem)^,sizeof(TCursorOrIcon));
ts.Write(IconHeader,sizeof(IconHeader));
n := LookUpIconIDFromDirectoryEx(PBYTE(lpMem),True,16,SM_CYSMICON,LR_DEFAULTCOLOR);
hRes:=FindResource(hInstance,MakeIntResource(n),rt_icon);
hMem:=LoadResource(hInstance,hRes);
lpMem:=LockResource(hMem);
IconEntry.bWidth:= TBitmapInfoHeader(lpMem^).biWidth;
IconEntry.bHeight:=TBitmapInfoHeader(lpMem^).biHeight div 2;
n:=TBitmapInfoHeader(lpMem^).biPlanes * TBitmapInfoHeader(lpMem^).biBitCount;
if n>=8 then IconEntry.bColorCount:=0
else IconEntry.bColorCount:= 1 shl n;
IconEntry.bReserved:=$0;
IconEntry.wBitCount:=TBitmapInfoHeader(lpMem^).biBitCount;
IconEntry.wPlanes:=TBitmapInfoHeader(lpMem^).biPlanes;
IconEntry.dwBytesInRes:= sizeofResource(hInstance,hRes);
IconEntry.dwImageOffset:=sizeof(TCursorOrIcon)+sizeof(TIconEntry);
ts.Write(IconEntry,sizeof(IconEntry));
ts.Write(pbyte(lpMem)^,IconEntry.dwBytesInRes);
ts.SaveToFile('test.ico');
ts.Free;
end;
http://zhidao.baidu.com/question/33643445.html
还有:http://www.180it.com/read.php?32
HINSTANCE hInstance=LoadLibrary("D:\\dd.exe");//载入图标源文件 5~8FZ-x
HRSRC hRsrc = FindResource(hInstance,(LPCSTR)1,(LPCSTR)RT_ICON); //查找源文件中的图标文件 -!_\4
LPVOID lpRes = LockResource(LoadResource(hInstance,hRsrc)); //锁定资源 GTYCNi66
HANDLE hUpdateRes = BeginUpdateResource("D:\\dd2.exe", FALSE); //更新dd2文件图标为dd的 *aem5E`c
UpdateResource(hUpdateRes,(LPCSTR)RT_ICON, (LPCSTR)1,0,lpRes,SizeofResource(hInstance,hRsrc)); //更新图标资源 }253Q!f
EndUpdateResource(hUpdateRes,FALSE); //结束更新资源 WF#3'"I
CloseHandle(hRsrc); //关闭句柄 y"bSn5B[
CloseHandle(hUpdateRes);//关闭句柄 l(�Y U9dp
FreeLibrary(hInstance); //释放载入的源文件 85{2TXQ^%=
http://www.nn4a.com/bbs/read.php?tid=9818
再来一段Delphi写的:
给你一段读写自身icon的程序。写别的程序的,只需要loadlibrary,用它的句柄代替hinstance.
PCursorOrIcon = ^TCursorOrIcon;
TCursorOrIcon = packed record
Reserved: Word;
wType: Word;
Count: Word;
end;
//This has been defined in DELPHI9. But not the definition of IconEntry.
PIconEntry = ^TIconEntry;
TIconEntry= packed record
bWidth : Byte; // Width, in pixels, of the image
bHeight : Byte; // Height, in pixels, of the image
bColorCount: Byte; // Number of colors in image (0 if >=8bpp)
bReserved: Byte; // Reserved ( must be 0)
wPlanes : word; // Color Planes
wBitCount : word; // Bits per pixel
dwBytesInRes : dword; // How many bytes in this resource?
dwImageOffset : dword;
end;
var
hRes,hMem:HRSRC;
lpMem : Pointer;
lp1 : PBYTE;
n : integer;
ts : TMemoryStream;
IconHeader : TCursorOrIcon;
IconEntry : TIconEntry;
begin
ts:=TMemoryStream.Create;
hRes:=FindResource(hInstance,'small',rt_group_icon);
hMem:=LoadResource(hInstance,hRes);
lpMem:=LockResource(hMem);
IconHeader.Reserved:=PWord(lpMem)^; //usually be $0.
IconHeader.wType:=$01; //$01 for ICON
IconHeader.Count:=$01; // we just want lookup a single icon.
//ts.Write(pbyte(lpMem)^,sizeof(TCursorOrIcon));
ts.Write(IconHeader,sizeof(IconHeader));
n := LookUpIconIDFromDirectoryEx(PBYTE(lpMem),True,16,SM_CYSMICON,LR_DEFAULTCOLOR);
hRes:=FindResource(hInstance,MakeIntResource(n),rt_icon);
hMem:=LoadResource(hInstance,hRes);
lpMem:=LockResource(hMem);
IconEntry.bWidth:= TBitmapInfoHeader(lpMem^).biWidth;
IconEntry.bHeight:=TBitmapInfoHeader(lpMem^).biHeight div 2;
n:=TBitmapInfoHeader(lpMem^).biPlanes * TBitmapInfoHeader(lpMem^).biBitCount;
if n>=8 then IconEntry.bColorCount:=0
else IconEntry.bColorCount:= 1 shl n;
IconEntry.bReserved:=$0;
IconEntry.wBitCount:=TBitmapInfoHeader(lpMem^).biBitCount;
IconEntry.wPlanes:=TBitmapInfoHeader(lpMem^).biPlanes;
IconEntry.dwBytesInRes:= sizeofResource(hInstance,hRes);
IconEntry.dwImageOffset:=sizeof(TCursorOrIcon)+sizeof(TIconEntry);
ts.Write(IconEntry,sizeof(IconEntry));
ts.Write(pbyte(lpMem)^,IconEntry.dwBytesInRes);
ts.SaveToFile('test.ico');
ts.Free;
end;
http://zhidao.baidu.com/question/33643445.html
还有:http://www.180it.com/read.php?32
标签: API, Delphi, UpdateResource, Windows
星期四, 十月 16, 2008
LZ你还没领略精髓吧
1、一早一晚,一缕神秘光线
2、5米内有个拍摄主体
3、背景比主体暗
4、整体画面略微欠爆
5、略微压暗画面四角
http://forum.xitek.com/showthread.php?threadid=569529
高人一个
2、5米内有个拍摄主体
3、背景比主体暗
4、整体画面略微欠爆
5、略微压暗画面四角
http://forum.xitek.com/showthread.php?threadid=569529
高人一个
标签: 摄影
星期二, 十月 14, 2008
Generate Thumbnail Images from PDF Documents
Introduction
This article presents VB.NET code to create thumbnail images from a directory of Adobe Acrobat PDF documents.
Often when looking for documents it is much easier to find what you want visually, for example seeing the cover of a document.
The application was written for a website that I was developing that needed to display links to PDF documents. Instead of just showing a little PDF icon next to each document we wanted to display the front page of the actual document.
As shown below, this gives the listings better aesthetics and also enables the users to find documents quicker if they recognise it.
This article presents VB.NET code to create thumbnail images from a directory of Adobe Acrobat PDF documents.
Often when looking for documents it is much easier to find what you want visually, for example seeing the cover of a document.
The application was written for a website that I was developing that needed to display links to PDF documents. Instead of just showing a little PDF icon next to each document we wanted to display the front page of the actual document.
As shown below, this gives the listings better aesthetics and also enables the users to find documents quicker if they recognise it.
标签: .net, Open Source, PDF
星期一, 十月 13, 2008
elgg
Create your own social network, quickly and easily. Elgg allows you to take full advantage of the power of social technology with elegant, flexible solutions for organisations, groups and individuals.
http://elgg.org/
http://elgg.org/
Welcome to Threading Building Blocks.org!
Intel® Threading Building Blocks (TBB) offers a rich and complete approach to expressing parallelism in a C++ program. It is a library that helps you take advantage of multi-core processor performance without having to be a threading expert. Threading Building Blocks is not just a threads-replacement library. It represents a higher-level, task-based parallelism that abstracts platform details and threading mechanism for performance and scalability and performance.
标签: Intel, Open Source
Infoworld开源软件大奖
InfoWorld历年的开源软件大奖都相当有分量,不过国内知道或者关注这个奖项的用户并不是特别多。InfoWorld 2008年的“开源软件大奖”最新出炉,CHIP软件社区乘此机会将InfoWorld 2008年的“开源软件大奖”中文化并进行整理,希望能够为中国用户带来便利,也希望能够为开源社区共享绵薄之力。
由于InfoWorld的评选软件范围广、类别多,很多时候在同一个类别中,桌面版软件和服务器版软件常常混杂在一起,限于时间和水平,这个专题的组织和本地化肯定有不妥甚至是错漏之处,欢迎用户和网友批评指正。
http://download.chip.eu/cn/standardbeitrag_cn_3640079.html
由于InfoWorld的评选软件范围广、类别多,很多时候在同一个类别中,桌面版软件和服务器版软件常常混杂在一起,限于时间和水平,这个专题的组织和本地化肯定有不妥甚至是错漏之处,欢迎用户和网友批评指正。
http://download.chip.eu/cn/standardbeitrag_cn_3640079.html
标签: InfoWorld, Open Source
媒体观察:法国收获开源带来的启示
十年前欧洲的许多国家就已经开始大刀阔斧的推广开源软件,其中力度最大的国家非法国莫属。通过政策支持和备受瞩目的项目,法兰西共和国数年以来一直在不停的大力发展开源软件,尤其是在政府和教育领域表现尤为突出。
即使到了今天,法国依然在不断让开源软件担任更重要的任务,并采取更优惠的措施扶持开源软件厂商。
今年1月份,法国准军事警察部队表示,将逐步放弃使用微软Windows操作系统,而转向使用Linux操作系统。自2005年以来,法国国家宪兵部门已先后放弃使用微软Office办公套件和IE浏览器,转而使用OpenOffice和Firefox(火狐)浏览器等开源产品。
今年7月份,由法国总统尼古拉•萨科齐领导的一个经济委员会提议,通过免税的方式来刺激更广范围内开源应用的普及。
今天的法国无疑是全球最肥沃的开源生长土壤。备受好评的全球最大的开源中间件组织OW2联盟已经在法国扎根发芽,一些大型企业,诸如法国电信,已经开始全面部署开源软件。
根据最新的一份调查报告显示,法国企业使用开源软件的比例达24%,高居各国之首,德国排名第二,比例为21%,美国和加拿大均为17%,英国仅为15%。而且,在未来一年内,法国企业计划采用开源软件的比例为39%,其次是德国(34%)和美国(28%)。
法国政府在开源推广中的所做的各种努力现在已经到了收获的时候,开源在法国的成功告诉世人一个需要谨记在心的道理:在一个单一、共享的技术环境下共同工作时每个人都有可能取得成功。下面让我们看一下从开源在法国的成功我们能学到哪些经验。
好处一:开源从教育抓起
法兰西未来在开源方面的发展依然非常强劲,因为它获得了下一代开源开发者的支持。举个例子来说,法国政府去年向高校学生免费派发了175000份装有开源软件的U盘。技术性院校已经将开源教育作为它们的首先要考虑的大事之一,甚至有很多高校为之提供了高等学位。
法国开源数据集成软件商先驱Talend的首席执行官兼创始人Bertrand Diard表示,“法国所有的学生都在使用开源,而美国除了麻省理工之外的多数大学都在使用来自微软、甲骨文和SAP的传统工具。”据Diard表示,由于开源在法国的普及度非常高,在法国开源人才比比皆是;而且因为法国开发者不会被专有和竞争技术分散精力,因此可以更快的使用开源工具开发软件,软件质量也更高。
那么,其它国家的开发者、IT经理和企业管理者们可以从法国的开源经验中学到什么呢?用法国开源集成商Altic首席执行官Marc Sallieres的一句话作为答案:“改变你的观点”。
好处二:聚合不同好技术
能够将不同的开源项目整合到一起,并创造一个统一的平台,这可能是法国最大的开源收益。正是由于政府、教育和行业各方面的力量聚合在一起,才为领先的开源发展孕育了一个最佳的成长环境。
开发开源工作流系统的Bonita项目创始人Miguel Valdes认为,在重用代码和与其它系统集成方面,法国开源开发者比其它国家的开发者对开源具有更好的理解。Valdes表示,“法国无疑是开源相关人员发展的更佳地方,法国的社会模式适合创业者和企业家去选择一个专有软件的替代解决方案,适合孕育新项目的创建,在这些项目中很多有经验的专业人士和技术熟练的计算机专业学生一起工作。”
市场分析机构Gartner的分析师Massimo Pezzini表示,换句话说,法国的开源开发者为聚合不同开源项目打下了很好的根基,在这个基础上可以将六个、七个甚至更多的开源项目集成到一个综合性的平台中。
好处三:解放带来创新
令人毫不意外的情况是,开源聚合和集成技巧已经在法国迅速发展,并且已经传播到欧洲的其它地方。Pezzini表示,“在美国,开源项目通常应用面比较窄,只在一些技术领先的企业才会使用它们,而在欧洲开源已经成为主流,”他补充说,法国开创了开源之路后,北欧的一些国家已经紧跟而上。“欧洲的机构面临着一个商机,即将多个开源方案进行组合以成为虚拟专用网、SOA和商业智能等解决方案。”
看一下开源的法语表示,logiciel libre,意味着你可以这样来理解“free software”——“自由交流,但并不是免费啤酒(free as in speech, not free as in beer)”Logiciel libre可以轻松成为全球开源社区的口号。从专有软件的束缚之中解放出来,法国开源开发者正在被鼓励去体验创新和无拘无束。
当意识到在整个IT系统应用开源具有这种有效创新的优势后,法国的大学首当其冲,担起了把开源传递给新一代开发者和IT管理者的重任。Pezzini表示,“其它国家现在要做的关键一点是,在大学和学院中为开源培养更多的支持者。”
即使到了今天,法国依然在不断让开源软件担任更重要的任务,并采取更优惠的措施扶持开源软件厂商。
今年1月份,法国准军事警察部队表示,将逐步放弃使用微软Windows操作系统,而转向使用Linux操作系统。自2005年以来,法国国家宪兵部门已先后放弃使用微软Office办公套件和IE浏览器,转而使用OpenOffice和Firefox(火狐)浏览器等开源产品。
今年7月份,由法国总统尼古拉•萨科齐领导的一个经济委员会提议,通过免税的方式来刺激更广范围内开源应用的普及。
今天的法国无疑是全球最肥沃的开源生长土壤。备受好评的全球最大的开源中间件组织OW2联盟已经在法国扎根发芽,一些大型企业,诸如法国电信,已经开始全面部署开源软件。
根据最新的一份调查报告显示,法国企业使用开源软件的比例达24%,高居各国之首,德国排名第二,比例为21%,美国和加拿大均为17%,英国仅为15%。而且,在未来一年内,法国企业计划采用开源软件的比例为39%,其次是德国(34%)和美国(28%)。
法国政府在开源推广中的所做的各种努力现在已经到了收获的时候,开源在法国的成功告诉世人一个需要谨记在心的道理:在一个单一、共享的技术环境下共同工作时每个人都有可能取得成功。下面让我们看一下从开源在法国的成功我们能学到哪些经验。
好处一:开源从教育抓起
法兰西未来在开源方面的发展依然非常强劲,因为它获得了下一代开源开发者的支持。举个例子来说,法国政府去年向高校学生免费派发了175000份装有开源软件的U盘。技术性院校已经将开源教育作为它们的首先要考虑的大事之一,甚至有很多高校为之提供了高等学位。
法国开源数据集成软件商先驱Talend的首席执行官兼创始人Bertrand Diard表示,“法国所有的学生都在使用开源,而美国除了麻省理工之外的多数大学都在使用来自微软、甲骨文和SAP的传统工具。”据Diard表示,由于开源在法国的普及度非常高,在法国开源人才比比皆是;而且因为法国开发者不会被专有和竞争技术分散精力,因此可以更快的使用开源工具开发软件,软件质量也更高。
那么,其它国家的开发者、IT经理和企业管理者们可以从法国的开源经验中学到什么呢?用法国开源集成商Altic首席执行官Marc Sallieres的一句话作为答案:“改变你的观点”。
好处二:聚合不同好技术
能够将不同的开源项目整合到一起,并创造一个统一的平台,这可能是法国最大的开源收益。正是由于政府、教育和行业各方面的力量聚合在一起,才为领先的开源发展孕育了一个最佳的成长环境。
开发开源工作流系统的Bonita项目创始人Miguel Valdes认为,在重用代码和与其它系统集成方面,法国开源开发者比其它国家的开发者对开源具有更好的理解。Valdes表示,“法国无疑是开源相关人员发展的更佳地方,法国的社会模式适合创业者和企业家去选择一个专有软件的替代解决方案,适合孕育新项目的创建,在这些项目中很多有经验的专业人士和技术熟练的计算机专业学生一起工作。”
市场分析机构Gartner的分析师Massimo Pezzini表示,换句话说,法国的开源开发者为聚合不同开源项目打下了很好的根基,在这个基础上可以将六个、七个甚至更多的开源项目集成到一个综合性的平台中。
好处三:解放带来创新
令人毫不意外的情况是,开源聚合和集成技巧已经在法国迅速发展,并且已经传播到欧洲的其它地方。Pezzini表示,“在美国,开源项目通常应用面比较窄,只在一些技术领先的企业才会使用它们,而在欧洲开源已经成为主流,”他补充说,法国开创了开源之路后,北欧的一些国家已经紧跟而上。“欧洲的机构面临着一个商机,即将多个开源方案进行组合以成为虚拟专用网、SOA和商业智能等解决方案。”
看一下开源的法语表示,logiciel libre,意味着你可以这样来理解“free software”——“自由交流,但并不是免费啤酒(free as in speech, not free as in beer)”Logiciel libre可以轻松成为全球开源社区的口号。从专有软件的束缚之中解放出来,法国开源开发者正在被鼓励去体验创新和无拘无束。
当意识到在整个IT系统应用开源具有这种有效创新的优势后,法国的大学首当其冲,担起了把开源传递给新一代开发者和IT管理者的重任。Pezzini表示,“其它国家现在要做的关键一点是,在大学和学院中为开源培养更多的支持者。”
标签: Linux, Open Office, Open Source
星期五, 十月 10, 2008
hugin - Panorama photo stitcher
http://hugin.sourceforge.net/
Goal: an easy to use cross-platform panoramic imaging toolchain based on Panorama Tools.
With hugin you can assemble a mosaic of photographs into a complete immersive panorama, stitch any series of overlapping pictures and much more.
标签: Linux, Panorama Maker
星期四, 十月 09, 2008
星期三, 十月 08, 2008
libcurl for Python
* libcurl is a free and easy-to-use client-side URL transfer library, supporting FTP, FTPS, HTTP, HTTPS, GOPHER, TELNET, DICT, FILE and LDAP. libcurl supports HTTPS certificates, HTTP POST, HTTP PUT, FTP uploading, kerberos, HTTP form based upload, proxies, cookies, user+password authentication, file transfer resume, http proxy tunneling and more!
* libcurl is highly portable, it builds and works identically on numerous platforms, including Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, HPUX, IRIX, AIX, Tru64, Linux, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare, DOS and more...
* libcurl is free, thread-safe, IPv6 compatible, feature rich, well supported and fast.
http://pycurl.sourceforge.net/
urlgrabber is a pure python package that drastically simplifies the fetching of files. It is designed to be used in programs that need common (but not necessarily simple) url-fetching features. It is extremely simple to drop into an existing program and provides a clean interface to protocol-independant file-access. Best of all, urlgrabber takes care of all those pesky file-fetching details, and lets you focus on whatever it is that your program is written to do!
urlgrabber came into existence as the part of yum that downloads rpms and header files, but it quickly became clear that this is a general problem that many applications must deal with.
urlgrabber
* libcurl is highly portable, it builds and works identically on numerous platforms, including Solaris, NetBSD, FreeBSD, OpenBSD, Darwin, HPUX, IRIX, AIX, Tru64, Linux, Windows, Amiga, OS/2, BeOs, Mac OS X, Ultrix, QNX, OpenVMS, RISC OS, Novell NetWare, DOS and more...
* libcurl is free, thread-safe, IPv6 compatible, feature rich, well supported and fast.
http://pycurl.sourceforge.net/
urlgrabber is a pure python package that drastically simplifies the fetching of files. It is designed to be used in programs that need common (but not necessarily simple) url-fetching features. It is extremely simple to drop into an existing program and provides a clean interface to protocol-independant file-access. Best of all, urlgrabber takes care of all those pesky file-fetching details, and lets you focus on whatever it is that your program is written to do!
urlgrabber came into existence as the part of yum that downloads rpms and header files, but it quickly became clear that this is a general problem that many applications must deal with.
urlgrabber
标签: crawler, libcurl, Python, urlgrabber
星期二, 十月 07, 2008
Digsby
http://www.digsby.com/
Instant Messaging
digsby is a multiprotocol IM client that lets you chat with all your friends on AIM, MSN, Yahoo, ICQ, Google Talk, and Jabber with one simple to manage buddy list.
Email Notifications
digsby is an email notification tool that alerts you of new email and lets you perform actions such as 'Delete' or 'Report Spam' with just one click.
Social Networking
digsby is a social networking tool that alerts you of events like new messages and gives you a live Newsfeed of what your friends are up to.
Instant Messaging
digsby is a multiprotocol IM client that lets you chat with all your friends on AIM, MSN, Yahoo, ICQ, Google Talk, and Jabber with one simple to manage buddy list.
Email Notifications
digsby is an email notification tool that alerts you of new email and lets you perform actions such as 'Delete' or 'Report Spam' with just one click.
Social Networking
digsby is a social networking tool that alerts you of events like new messages and gives you a live Newsfeed of what your friends are up to.
标签: Instant Message
星期一, 十月 06, 2008
Bos Wars-Open source RTS Game under Linux, MS Windows, BSD and MacOS
Bos Wars is a futuristic real time strategy game (RTS). In a RTS game, the player has to combat his enemies while developing his war economy. Everything runs in real-time, as opposed to turn-based games where the player always has to wait for his turn. The trick is to balance the effort put into building his economy and building an army to defend and attack the enemies.
Bos Wars has a dynamic rate based economy. Energy is produced by power plants and magma gets pumped from hot spots. Buildings and mobile units are also built at a continuous rate. Control of larger parts of the map creates the potential to increase your economy throughput. Holding key points like roads and passages allow for different strategies.
It is possible to play against human opponents over LAN, internet, or against the computer. Bos Wars successfully runs under Linux, MS Windows, BSD, and Mac OS X.
Bos Wars aims to create a completely original and fun open source RTS game.
Bos Wars is copyrighted in 2004-2008 by Tina Petersen Jensen, Fran?ois Beerten et al. See COPYRIGHT.txt in the package for the full copyright notice.
星期日, 十月 05, 2008
摄影12法则
⒈阳光16法则。这条基本法则适合于在白天拍摄明亮的、照明均匀的场景,即用光圈为f16,快门速度用感光度指数的倒数,例如光圈f16,感光度为 ISO100,快门速度可以选择1/100秒。在此基础上,如果在海滩上拍摄可以将光圈缩小到f22,如果遇到多云天气可以将光圈放大到f11,以此类 推。
⒉月亮11、8和5.6法则。这是一个与众不同的法则,它只有在拍摄月亮时才有效:满月时光圈为f11,快门速度高于感光度指数的倒数;月缺时快门速度不变,但光圈改为f8;如果只剩一弯新月,则在相同的快门速度下选择f5.6光圈。
⒊机震法则。手持相机拍摄最低的安全快门速度为所用镜头焦距倒数,低于这一快门速度,机震可能导致照片锐度下降。比如使用50mm镜头,快门速度应高于1/60秒,如果现场光照度不足,可以使用闪光灯、三脚架或让相机借助某些固定物体来加以解决。
⒋灰卡法则。在拍摄过程中,使用18%灰卡测光是获得一张曝光均匀、准确照片的最佳方法,即使你忘带灰卡也没关系,你可以伸出手来,让它面对光源,用测光表或机内测光计测光,以测光值为基础增加1级曝光量即可(不同的皮肤色调可能导致测光精度有一点偏差)。
⒌景深法则。对远处的被摄体聚焦时,通常景深区域在被摄体前方的长度是在被摄体后方长度的2倍。换言之,被摄体通常在景深的后三分之一处。这在所有光圈和焦距上都是一样的,只不过光圈越小、焦距越短,景深越大,你能够拍摄的清晰长度就越大。
⒍最大数码打印法则。为了计算你手头数码相机能够输出的照片的最大打印规格(是在人们能够接受的成像质量作为前提的情况下),可以将你相机的最大分辨率除 以200,就能算出这台数码相机打印规格(有的摄影文章和摄影图书将其称为展览级照片质量),如果除以250就是该机的极限打印规格,所得结果的单位是英 寸。
⒎曝光法则。最经典的阐释是:“按照高光部位曝光,然后按照暗部来冲印”,这对传统反转片和数码相机来说都是一样准确的,不过使用负片———特别是彩色负片,最好还是曝光过度一档。
⒏快速闪光曝光法则。当使用没有自动降低闪光灯输出量、实现闪光补光的自动闪光灯时,可以将闪光灯上的感光度设置提高到你所用焦距感光度的2倍。
⒐闪光灯工作范围法则。要了解你的闪光灯最大的工作范围,就需要这条规则了。这条规则是:“距离加倍,感光度速度提高4倍”。举例而言,如果感光度为 ISO100时,闪光灯最大有效距离是6米,那么更换ISO400胶卷或将数码相机感光度提高到ISO400时,闪光灯最大有效距离为12米。
⒑百万像素乘数法则。为了使数码相机分辨率提高一倍,你必须将数码相机的有效像素数乘以4才能做到这一点(不是2倍!),这是为什么呢?如果要将分辨率提 高一倍,必须让影像传感器有效像素在水平和垂直方向都增加1倍,因此影像传感器上像素数的数量自然就是2倍×2倍=4倍啦!
⒒动体凝固法则。为了记录下垂直于镜头光轴运动的物体,你需要在物体面向或背向相机移动时所需快门速度基础上将其提高2级;当物体以与镜头光轴呈45度夹 角面向或背向相机移动时,所需快门速度为物体面向或背向相机移动时所需快门速度基础上将其提高1级。举例而言,如果一个人以中速面向你跑来,需要用 1/125秒将运动固定下来,当他以同样速度从取景器中横向跑过时就需要1/500秒快门速度了,如果他是以斜向跑过时只需1/250秒快门速度即可。
⒓日落法则。为了在日落时分拍摄能够获得准确曝光,测光区域应位于太阳上方,但不能包括太阳本身,如果你希望整个场景看起来像是日落半小时后的效果,可以在此基础上缩小1档光圈或减一级曝光量。
http://forum.xitek.com/showthread.php?threadid=566161
⒉月亮11、8和5.6法则。这是一个与众不同的法则,它只有在拍摄月亮时才有效:满月时光圈为f11,快门速度高于感光度指数的倒数;月缺时快门速度不变,但光圈改为f8;如果只剩一弯新月,则在相同的快门速度下选择f5.6光圈。
⒊机震法则。手持相机拍摄最低的安全快门速度为所用镜头焦距倒数,低于这一快门速度,机震可能导致照片锐度下降。比如使用50mm镜头,快门速度应高于1/60秒,如果现场光照度不足,可以使用闪光灯、三脚架或让相机借助某些固定物体来加以解决。
⒋灰卡法则。在拍摄过程中,使用18%灰卡测光是获得一张曝光均匀、准确照片的最佳方法,即使你忘带灰卡也没关系,你可以伸出手来,让它面对光源,用测光表或机内测光计测光,以测光值为基础增加1级曝光量即可(不同的皮肤色调可能导致测光精度有一点偏差)。
⒌景深法则。对远处的被摄体聚焦时,通常景深区域在被摄体前方的长度是在被摄体后方长度的2倍。换言之,被摄体通常在景深的后三分之一处。这在所有光圈和焦距上都是一样的,只不过光圈越小、焦距越短,景深越大,你能够拍摄的清晰长度就越大。
⒍最大数码打印法则。为了计算你手头数码相机能够输出的照片的最大打印规格(是在人们能够接受的成像质量作为前提的情况下),可以将你相机的最大分辨率除 以200,就能算出这台数码相机打印规格(有的摄影文章和摄影图书将其称为展览级照片质量),如果除以250就是该机的极限打印规格,所得结果的单位是英 寸。
⒎曝光法则。最经典的阐释是:“按照高光部位曝光,然后按照暗部来冲印”,这对传统反转片和数码相机来说都是一样准确的,不过使用负片———特别是彩色负片,最好还是曝光过度一档。
⒏快速闪光曝光法则。当使用没有自动降低闪光灯输出量、实现闪光补光的自动闪光灯时,可以将闪光灯上的感光度设置提高到你所用焦距感光度的2倍。
⒐闪光灯工作范围法则。要了解你的闪光灯最大的工作范围,就需要这条规则了。这条规则是:“距离加倍,感光度速度提高4倍”。举例而言,如果感光度为 ISO100时,闪光灯最大有效距离是6米,那么更换ISO400胶卷或将数码相机感光度提高到ISO400时,闪光灯最大有效距离为12米。
⒑百万像素乘数法则。为了使数码相机分辨率提高一倍,你必须将数码相机的有效像素数乘以4才能做到这一点(不是2倍!),这是为什么呢?如果要将分辨率提 高一倍,必须让影像传感器有效像素在水平和垂直方向都增加1倍,因此影像传感器上像素数的数量自然就是2倍×2倍=4倍啦!
⒒动体凝固法则。为了记录下垂直于镜头光轴运动的物体,你需要在物体面向或背向相机移动时所需快门速度基础上将其提高2级;当物体以与镜头光轴呈45度夹 角面向或背向相机移动时,所需快门速度为物体面向或背向相机移动时所需快门速度基础上将其提高1级。举例而言,如果一个人以中速面向你跑来,需要用 1/125秒将运动固定下来,当他以同样速度从取景器中横向跑过时就需要1/500秒快门速度了,如果他是以斜向跑过时只需1/250秒快门速度即可。
⒓日落法则。为了在日落时分拍摄能够获得准确曝光,测光区域应位于太阳上方,但不能包括太阳本身,如果你希望整个场景看起来像是日落半小时后的效果,可以在此基础上缩小1档光圈或减一级曝光量。
http://forum.xitek.com/showthread.php?threadid=566161
标签: 摄影




