自定义博客皮肤VIP专享

*博客头图:

格式为PNG、JPG,宽度*高度大于1920*100像素,不超过2MB,主视觉建议放在右侧,请参照线上博客头图

请上传大于1920*100像素的图片!

博客底图:

图片格式为PNG、JPG,不超过1MB,可上下左右平铺至整个背景

栏目图:

图片格式为PNG、JPG,图片宽度*高度为300*38像素,不超过0.5MB

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

luoleicn的专栏

Development is a creative pursuit. Whilst many think of it as a purely technical challenge,

  • 博客(5)
  • 资源 (1)
  • 收藏
  • 关注

原创 推广Gentoo

Gentoo Linux官方网站:http://www.gentoo.orgGentoo 香港同步源:rsync://rsync.asia.gentoo.org/gentoo-portageGentoo 厦门大学软件下载源:http://mirrors.xmu.edu.cn/gentooLinuxsir Gentoo讨论区:http://www.linuxsir.org/bbs/forum59.html希望大家能从Gentoo Linux中体会到自由和选择带来的快乐,如果在使用Gentoo的过程中遇到了什么

2010-09-17 13:51:00 1862 3

原创 搜索引擎中的文档划分

对于大规模文档索引,因为无法存储在单机中,所以需要在分布式环境下进行一个划分,划分方法有两种term partition和doc partition。Doc partition已经被证明更适合在搜索引擎中使用(Google也使用这种划分),简言之Doc partition就是把大规模的文档集合分成很多小的文档集合,每台索引服务器仅仅索引一个小的文档集,当Query到来时,把query分发到各个索引服务器上,索引服务器在自己的索引文件上检索并返回结果,最终把这些结果整合返回给前台用户。上面的描述忽略了一个问题

2010-09-15 20:18:00 955

原创 Fuck the Editor of Eclipse

<br /> <br />今天用Eclpise编辑Java程序,其中有个步骤要用OutputStream往文件里写东西,其中包括'/0'字符,大概意思就像下面的代码片段:<br />public class Test { public static void main(String[] args) throws IOException { OutputStream out = new DataOutputStream( new FileOutputStream("data.txt"));

2010-09-13 20:32:00 923 1

原创 ibus输入法不跟随光标的解决办法

<br />vim /etc/gtk-2.0/gtk.immodules<br /> <br />修改ibus相关的为:<br /><br />"/usr/lib/gtk-2.0/2.10.0/immodules/im-ibus.so"<br />"ibus" "X Input Method" "gtk20" "/usr/share/locale" "en:zh"

2010-09-08 19:34:00 6053

原创 Openmp简单例子

<br />/* * Compile: * g++ a.cpp -fopenmp * * 速度明显提升一倍(双核) */#include <iostream>using namespace std;static long long num_rects = 1000000000;int main(int args, char** argv){ double mid, height, width, sum = 0.0; int i; d

2010-09-04 21:38:00 1469

空空如也

空空如也

TA创建的收藏夹 TA关注的收藏夹

TA关注的人

提示
确定要删除当前文章?
取消 删除