jiayi.net
jiayi blog --- linux, network, programming, weblinux穷折腾
http://www.jiayi.net/
linux穷折腾
http://www.jiayi.net/
TODAY'S RATING
>1,000,000
Date Range
HIGHEST TRAFFIC ON
Wednesday
LOAD TIME
BUPT
jiayi
http://●●●●●●●ayi.net
be●●ng , Beijing, 100876
CN
View this contact
BUPT
jiayi
http://●●●●●●●ayi.net
be●●ng , Beijing, 100876
CN
View this contact
BUPT
jiayi
http://●●●●●●●ayi.net
be●●ng , Beijing, 100876
CN
View this contact
14
YEARS
2
MONTHS
4
DAYS
BIGROCK SOLUTIONS LIMITED
WHOIS : Whois.bigrock.com
REFERRED : http://www.bigrock.com
PAGES IN
THIS WEBSITE
20
SSL
EXTERNAL LINKS
20
SITE IP
173.254.28.144
LOAD TIME
0 sec
SCORE
6.2
jiayi blog --- linux, network, programming, web | jiayi.net Reviews
https://jiayi.net
linux穷折腾
jiayi PORP implementation in Linux 03/2010
http://www.jiayi.net/works/porp
PORP implementation in Linux 03/2010. Auto-Confiture script for openSUSE 10.3. 在MacBook Pro上配置opensuse 11.3 (8月1日更新). On July 27, 2010. MacBook Pro 6.2 安装 opensuse 11.3. On July 26, 2010. On April 3, 2010. On February 26, 2010. On October 28, 2009. PORP implementation in Linux 03/2010. Traditional routing protocols transmits control information along the path of preset, but has been proved unable to work well in the wireless medium. The Priority-Based Opportunistic Routing Protocol PORP. If it’s de...
jiayi T-MAC
http://www.jiayi.net/t-mac-2
PORP implementation in Linux 03/2010. Auto-Confiture script for openSUSE 10.3. 在MacBook Pro上配置opensuse 11.3 (8月1日更新). On July 27, 2010. MacBook Pro 6.2 安装 opensuse 11.3. On July 26, 2010. On April 3, 2010. On February 26, 2010. On October 28, 2009. No images were found. September 24th, 2010 at 18:52. Click here to cancel reply. You must be logged in. To post a comment. 在MacBook Pro上配置opensuse 11.3 (8月1日更新). 在MacBook Pro上配置opensuse 11.3 (8月1日更新). Theme by Web Hosting.
jiayi T-MAC gif
http://www.jiayi.net/t-mac-2/t-mac
PORP implementation in Linux 03/2010. Auto-Confiture script for openSUSE 10.3. 在MacBook Pro上配置opensuse 11.3 (8月1日更新). On July 27, 2010. MacBook Pro 6.2 安装 opensuse 11.3. On July 26, 2010. On April 3, 2010. On February 26, 2010. On October 28, 2009. No images were found. Click here to cancel reply. You must be logged in. To post a comment. 在MacBook Pro上配置opensuse 11.3 (8月1日更新). 在MacBook Pro上配置opensuse 11.3 (8月1日更新). Theme by Web Hosting.
jiayi Work Collection
http://www.jiayi.net/works
PORP implementation in Linux 03/2010. Auto-Confiture script for openSUSE 10.3. 在MacBook Pro上配置opensuse 11.3 (8月1日更新). On July 27, 2010. MacBook Pro 6.2 安装 opensuse 11.3. On July 26, 2010. On April 3, 2010. On February 26, 2010. On October 28, 2009. FsCache/NFS writeback cache – 08/2012. PORP route protocol in Linux – 03/2010. Blog system writen all by myself – 06/2008. Auto-Confiture script for openSUSE 10.3 – 03/2008. Click here to cancel reply. You must be logged in. To post a comment.
jiayi » Blog Archive 在MacBook Pro上配置opensuse 11.3 (8月1日更新) (Linux) -> jiayi
http://www.jiayi.net/configure-opensuse-on-mbp
PORP implementation in Linux 03/2010. Auto-Confiture script for openSUSE 10.3. 在MacBook Pro上配置opensuse 11.3 (8月1日更新). On July 27, 2010. MacBook Pro 6.2 安装 opensuse 11.3. On July 26, 2010. On April 3, 2010. On February 26, 2010. On October 28, 2009. 在MacBook Pro上配置opensuse 11.3 (8月1日更新). 前面介绍了如何 在MacBook Pro上安装openSUSE 11.3. Jiayi的显卡是GeForce GT 330M,openSUSE 11.3默认集成nvidia的开源驱动nouveau,工作还算正常,3D上来就能开。 将其中的 NO KMS IN INITRD. Ctrl alt F1切到控制台, init. Sh xxx.run -q. 先修改 /etc/modprobe.d/50-sound.conf. N Startin...
TOTAL PAGES IN THIS WEBSITE
20
O 的笔记 » PostgreSQL 笔记
http://ouonline.net/postgresql-notes
PostgreSQL 是一个采用 BSD 许可证分发的跨平台的对象关系模型数据库,最早可以追溯到 1982 年在伯克利开始的 Ingres 计划。 PostgreSQL 出现的时间比 MySQL 要早,之前也听过 PostgreSQL 的大名,不过看到相关的讨论比较少。 这里的实验环境是 Debian 6,PostgreSQL 版本是 9.1。 不同于 MySQL 在安装的时候会被要求输入 root 的密码,安装 PostgreSQL 的时候什么提示都没有,装完之后也不知道该干嘛在网上搜了一把,照着参考资料 [1] 操作了一遍,基本算是入门了。 由于没有 root 用户,默认有 root 权限的用户名是 postgres,也有同名的数据库。 首先修改 /etc/postgresql/9.1/main/pg hba.conf,把其中的. Local all postgres peer. 一行最后的 peer 认证方式改为 trust ,表示信任从本机登录的用户,重启数据库之后就能用命令. Psql -U postgres -d postgres -h 127.0.0.1. Char *PQdb(const...
O 的笔记 » Linux 异步 IO 之 POSIX AIO
http://ouonline.net/linux-posix-aio
Linux 异步 IO 之 POSIX AIO. Include unistd.h #include fcntl.h #define BUFSIZE 4096 int main(void) { int fd, nbytes; char buf[BUFSIZE]; fd = open( FILE , O RDONLY); while ( nbytes = read(fd, buf, BUFSIZE) 0) write(1, buf, nbytes); close(fd); return 0; }. 在这个例子中的 read()/write() 都是同步阻塞 IO,即如果没有数据可读或写入未完成时当前线程会一直等待,直到读写操作完成或出错才会返回。 与同步 IO 相对的是异步 IO,即读操作发起后并不是立即被执行,而是会被放到任务队列中等待调度器调度,任务完成后再以某种方式 一般是回调函数,或者信号 通知调用者。 类似的,与阻塞 IO 对应的是非阻塞 IO,即发起读操作后函数不管是否读到数据都会立即返回,调用者通过函数返回值判断调用是否成功。 先来看看 POSIX AIO 参考资料 [1]。 其中第一个参数...
O 的笔记 » Linux 异步 IO 之 Native AIO
http://ouonline.net/linux-native-aio
Linux 异步 IO 之 Native AIO. 来看看 Linux 提供的 AIO 系统调用 自行封装的头文件 native aio.h. 通过 man 能够查到函数的描述,但是这些函数不是跨平台的,因此 libc 没有对这些函数进行封装,这里手动封装了一下。 Buf) { fprintf(stderr, "aligned alloc(%u) failed: %s. n", BUFSIZE, strerror(errno) ; goto err1; } memset(&ctx, 0, sizeof(ctx) ; ret = io setup(NR EVENT, &ctx); if (ret! 1) { fprintf(stderr, "io submit failed: %s. n", strerror(errno) ; goto err3; } ret = io getevents(ctx, 1, 1, &event, NULL); if (ret! 程序首先打开一个只读文件,注意这里加了选项 O DIRECT ,直接从磁盘读取文件。 Aio lio opcode IO 类型,可能包含以下取值.
O 的笔记 » sicp
http://ouonline.net/tag/sicp
N / - - - - - - - - - - - - - - - - product counter - - - - - - - - - - - - - - - - - - - -. 第四章习题 4.38 – 4.79 的解答。 由于 amb 环境没实现,程序没跑起来,跳过了 4.3 小节的部分题目。 Baker = 1, cooper = 2, fletcher = 4, miller = 3, smith = 5. Baker = 1, cooper = 2, fletcher = 4, miller = 5, smith = …. 第四章习题 4.16 – 4.37 的解答。 Define (lookup-variable-value var env) (define (env-loop env) (define (scan vars vals) (cond ( null? Vars) (env-loop (enclosing-environment env) ) ( eq? Var (car vars) (let ( v (car vals) ) (if (eq? Paul Mary Pete...
O 的笔记 » postgresql
http://ouonline.net/category/programming/postgresql
PostgreSQL 是一个采用 BSD 许可证分发的跨平台的对象关系模型数据库,最早可以追溯到 1982 年在伯克利开始的 Ingres 计划。 PostgreSQL 出现的时间比 MySQL 要早,之前也听过 PostgreSQL 的大名,不过看到相关的讨论比较少。 这里的实验环境是 Debian 6,PostgreSQL 版本是 9.1。 不同于 MySQL 在安装的时候会被要求输入 root 的密码,安装 PostgreSQL 的时候什么提示都没有,装完之后也不知道该干嘛在网上搜了一把,照着参考资料 [1] 操作了一遍,基本算是入门了。 由于没有 root 用户,默认有 root 权限的用户名是 postgres,也有同名的数据库。 首先修改 /etc/postgresql/9.1/main/pg hba.conf,把其中的. 8216;postgresql’ 分类的存档. Linux 异步 IO 之 eventfd. Linux 异步 IO 之 Native AIO. Linux 异步 IO 之 POSIX AIO. Lua C bindings (2). Lua C bindings (1).
O 的笔记 » api
http://ouonline.net/category/linux-related/linux-api
Linux 异步 IO 之 eventfd. 经过 3 个月的休 tou 息 lan ,是时候写点东西了. 较新版本的 Linux 内核 2.6.22 之后 提供了一个新的系统调用 eventfd() 来实现事件通知 参考资料 [1]. Include sys/eventfd.h int eventfd(unsigned int initval, int flags);. 函数返回一个可用于 read()/write()/epoll()/close() 的 fd,fd 包含一个由内核维护的 8 字节的无符号整数,初始值由第一个参数 initval 制定。 Write() 的 buffer 大小都限定为 8 字节,如果 buffer 大小不等于 8 字节则会返回错误,如果提供给 read() 的大小小于 8 …. Linux 异步 IO 之 Native AIO. 来看看 Linux 提供的 AIO 系统调用 自行封装的头文件 native aio.h. Linux 异步 IO 之 POSIX AIO. Linux 异步 IO 之 epoll. Fd set 是一个 …. 很多时候程序需要对文件状态进行监...
O 的笔记 » 软件开发
http://ouonline.net/category/software-development
Lua C bindings (2). 这是关于 lua-cpp 的第二篇博客,上一篇在 这里. 返回数值比较好办,字符串也可以返回 std: string,但是像 table 和函数这样的类型就不好直接返回了。 一个直接的想法就是在外面封装一层,记下 lua State 和对应的位置。 刚开始就是直接记的栈内的 index,但是当某个对象析构之后在这个对象之后创建的对象的 index 都要改变,因此这个方法行不通。 后来翻 API 的时候发现可以用 luaL ref() 和 luaL unref(),问题就解决了。 一个不算太重要但是也比较基础的问题是这些类型的生存期问题,其实也就是 lua State 的作用域问题。 Lua 本来就要求使用者自己保证,但是这个保证有函数调用来强制 Lua 的函数都需要提供 lua State ,如果封装成 C 后每个函数都要求传入 LuaState 就太不专业了,于是想到在每个类里加一个 std: shared ptr. 使用 Lua 扩展你的程序 (1). Lua 参考资料[1] 是巴西里约热内卢天主教大学的一个研究小组于 1993 年开发的。 Ifndef TE...
O 的笔记 » lua
http://ouonline.net/tag/lua
Lua C bindings (2). 这是关于 lua-cpp 的第二篇博客,上一篇在 这里. 返回数值比较好办,字符串也可以返回 std: string,但是像 table 和函数这样的类型就不好直接返回了。 一个直接的想法就是在外面封装一层,记下 lua State 和对应的位置。 刚开始就是直接记的栈内的 index,但是当某个对象析构之后在这个对象之后创建的对象的 index 都要改变,因此这个方法行不通。 后来翻 API 的时候发现可以用 luaL ref() 和 luaL unref(),问题就解决了。 一个不算太重要但是也比较基础的问题是这些类型的生存期问题,其实也就是 lua State 的作用域问题。 Lua 本来就要求使用者自己保证,但是这个保证有函数调用来强制 Lua 的函数都需要提供 lua State ,如果封装成 C 后每个函数都要求传入 LuaState 就太不专业了,于是想到在每个类里加一个 std: shared ptr. Lua C bindings (1). 好几个项目都用了 Lua 作为配置文件语言,但是一直都用官方提供的 C API,写起来十分繁琐。
O 的笔记 » sicp 笔记 (13)
http://ouonline.net/sicp-notes-13
Controller test-counter (test (op ) (reg counter) (reg n) (branch (label factorial-done) (assign product (op *) (reg product) (reg counter) (assign counter (op ) (reg counter) (const 1) (goto (label test-counter) factorial-done). And improve are both primitives (controller test-good-enough (test (op good-enough? Reg guess) (branch (label sqrt-done) (assign guess (op improve) (reg guess) (goto (label test-good-enough) sqrt-done) ; version 2 (controller test-good-enough ; good-enough? Define (make-operatio...
TOTAL LINKS TO THIS WEBSITE
20
Jiayi | DeviantArt
Window.devicePixelRatio*screen.width 'x' window.devicePixelRatio*screen.height) :(screen.width 'x' screen.height) ; this.removeAttribute('onclick')". Deviant for 13 Years. Montréal, Québec. This deviant's activity is hidden. Deviant since Jul 14, 2004. This is the place where you can personalize your profile! By moving, adding and personalizing widgets. You can drag and drop to rearrange. You can edit widgets to customize them. The bottom has widgets you can add! We've split the page into zones! Window&#...
Shopping |
Chill ultra lounge ip casino. 78;T$590.00. 78;T$490.00. 78;T$399.00. 78;T$699.00. 78;T$529.00. 3洗滌時,水溫請低於30 C 請使用中性洗劑 請勿長時間浸泡。
Default Page 服务器默认页
Jiayi.me | Sharing Experience
Movies & Books. Subscribe to Blog via Email. You may enter your email address to subscribe to this blog and receive notifications of new posts by email. Food, food, food. Food is the center of my daily life. It fills my stomach, comforts my soul, brings up memory and becomes memory itself. Its shape, color, smell, flavor, chew, and the feeling it left in your tummy make a full luxurious experience. Or creamy tomato soup poured over uncooked celery? Grapefruit sprinkled with a dash of salt? It is totally ...
jiayi blog --- linux, network, programming, web
PORP implementation in Linux 03/2010. Auto-Confiture script for openSUSE 10.3. 在MacBook Pro上配置opensuse 11.3 (8月1日更新). On July 27, 2010. MacBook Pro 6.2 安装 opensuse 11.3. On July 26, 2010. On April 3, 2010. On February 26, 2010. On October 28, 2009. 在MacBook Pro上配置opensuse 11.3 (8月1日更新). 前面介绍了如何 在MacBook Pro上安装openSUSE 11.3. Jiayi的显卡是GeForce GT 330M,openSUSE 11.3默认集成nvidia的开源驱动nouveau,工作还算正常,3D上来就能开。 将其中的 NO KMS IN INITRD. Ctrl alt F1切到控制台, init. Sh xxx.run -q. 先修改 /etc/modprobe.d/50-sound.conf. 下午很happy的...
上海嘉仪 - 上海嘉仪实业有限公司
系国内知名的德国“西门子电气产品”及“维纳尔母线产品”的一级代理商。 C)2002 上海海得控制系统股份有限公司版权所有 hite@hite.com.cn.
:) | Just another WordPress.com weblog
Just another WordPress.com weblog. Sorry, but no posts matched your criteria. Get a free blog at WordPress.com. 183; Create a free website or blog at WordPress.com. Follow “:)”. Get every new post delivered to your Inbox. Build a website with WordPress.com.
广州嘉怡广告有限公司
奠基开工 开业投产 竣工落成揭牌仪式 周年庆典 启动仪式开幕. 品牌推广 地产营销 大型赛事新闻发布 会议会务 促销活动签约. 艺人经纪 节目编排 答谢年会大型晚会 节庆晚会 灯光影音舞台特. 形象宣传 动画制作 纪念录制配音剪辑 专题宣传 影视航拍. 服装模特 车展模特 平面模特彩绘模特 内衣模特 礼仪小姐. 展览展示 平面设计 形象设计 纪念邮册 宣传画册 VI 设计. 先后被誉为 中国最具诚信合作策划组织机构 、 国际公关活动策划十佳品牌. More. 乙之嘉甲则怡 十佳品牌 全国免费服务热线 4000-197-198 24小时VIP专线 13286886149 Email jiayigs@163. 技术支持 嘉怡 广州 网络部.