09 2011 档案

k-d tree & ray tracing
摘要:k-d tree用处:用于多维数最近邻查找,SIFT特征点匹配,Ray tracing中,每条光线都需要和场景中所有的图元求交(这里我们假设所有的图元都是三角形)然后要求找出与光线交点距离光线起始点最近的图元基本原理,中文说明http://zh.wikipedia.org/wiki/K-d%E6%A0%91算法实现,英文,python代码,这是最好的文档了Operations on k-d trees 2.1 Construction 2.2 Adding elements 2.3 Removing elements 2.4 Balancing 2.5 Nearest neighbour se 阅读全文

posted @ 2011-09-29 23:50 cutepig 阅读(651) 评论(0) 推荐(0) 编辑

teamviewer vs echovnc
摘要:http://blog.markplace.net/marks_place/1/2007/11/26/316http://jackbin.blogspot.com/2007/11/teamviewer.htmllogmeinL的連線品質比較好也比較快不過有些遊戲畫面無法顯示echovncEchoVnc說實在的還不錯用,可能是載點提供的軟體本身有限制,需要購買付費後才有完善的服務吧!我試的感覺有時會延遲與lag....原理嘛...大約說一下1.EchoVNC 這像是ultraVNC 有分Server端與Viewer端.2.EchoServer 就像這版上說明Teamviewer原理那個圖team 阅读全文

posted @ 2011-09-23 08:59 cutepig 阅读(1335) 评论(0) 推荐(0) 编辑

NAT之stun确定nat类型
摘要:NAT之确定nat类型下载安装twisted和zopehttp://twistedmatrix.com/trac/wiki/Downloadshttp://pypi.python.org/pypi/zope.interface/3.8.0#downloads下载stunclienthttp://code.google.com/p/stunclient/这里面有个stun子目录,说是用于发现NAT类型This code comes from Shtoom: http://divmod.org/projects/shtoom执行里面的stun.py,就会log一个文件,在我电脑上如下(很费解啊)0 阅读全文

posted @ 2011-09-23 01:31 cutepig 阅读(1754) 评论(0) 推荐(0) 编辑

new
摘要:Intel Threading Building Blockslatest OpenCV 阅读全文

posted @ 2011-09-22 20:22 cutepig 阅读(148) 评论(0) 推荐(0) 编辑

KMP算法中关于next数组的探究
摘要:KMP算法中关于next数组的探究从《严书》上看到了KMP算法,看了一遍没懂,但觉得挺神奇的,就花费了几天时间深入的理解。算法的原理其实不难,难的就是那个巧妙的next数组,这个next数组很吸引我,我的大部分时间也都是花费在这个数组上面的。这个next数组是KMP里面一个很关键的地方,对于在数据结构书上看过一遍整个算法流程的人,能够把next数组搞明白,整个KMP算法的整体思想就差不多理解了。然后在一些细节上面深入思考一下,就可以理解和领会改进的KMP算法。一、KMP算法简单介绍KMP算法是字符串匹配算法的一种,相对于朴素的字符串匹配算法而言,可以大大避免重复遍历的情况。此算法可以在O(n+ 阅读全文

posted @ 2011-09-22 13:08 cutepig 阅读(391) 评论(0) 推荐(0) 编辑

android入门(1)安装及hello world
摘要:android入门(1)安装及hello world1. 下载安装jdk+eclipse+adt+android_sdk, 参考http://developer.android.com/sdk/index.html2。编写helloworld,参考http://developer.android.com/resources/tutorials/hello-world.html注意一点,如果编译时出错,Android Emulator is not starting showing “ invalid command-line parameter”http://stackoverflow.com 阅读全文

posted @ 2011-09-22 02:14 cutepig 阅读(1446) 评论(0) 推荐(0) 编辑

alert(1) zz
摘要:发信人: zhuxf (言乍古月), 信区: WebGeeks标 题: alert(1) zz发信站: 水木社区 (Tue Sep 20 10:10:07 2011), 站内在2011年的BlackHat DC 2011大会上Ryan Barnett给出了一段关于XSS的示例javascript代码:Javascript代码 收藏代码 ($=[$=[]][(__=!$+$)[_=-~-~-~$]+({}+$)[_/_]+($$=($_=!''+$)[_/_]+$_[+$])])()[__[_/_]+__[_+~$]+$_[_]+$$](_/_) 这是一段完全合法的javascr 阅读全文

posted @ 2011-09-21 01:18 cutepig 阅读(1248) 评论(0) 推荐(0) 编辑

计算机图形学
摘要:图形学的光栅算法、三维观察、隐藏面消除、光照、纹理、绘制等算法和理论,并介绍可视感知、计算机动画、基于图像的绘制、可视化以及构建交互式图形应用等http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-837-computer-graphics-fall-2003/line generators, affine transformations, line and polygon clipping, splines, interactive techniques, perspective projection 阅读全文

posted @ 2011-09-21 00:19 cutepig 阅读(624) 评论(0) 推荐(0) 编辑

GNU httptunnel,当SSH被block时的选择
摘要:下载nt版本http://www.nocrew.org/software/httptunnel/SSH over http设置hts -D 1 -F localhost:443 80监听80端口,将信息转发至本机443端口(SSH服务器端口)htc -F 800 -D 1 localhost:80监听800端口,将信息转发至hts机器80端口 阅读全文

posted @ 2011-09-20 09:06 cutepig 阅读(393) 评论(0) 推荐(0) 编辑

qt 试用 (3)配置编译源代码及调试
摘要:qt 试用 (3)配置编译源代码及调试qt creater是一个集成ide,像vc一样容易使用,所以首先下载带qt creater的qt sdk Offline installer - 1.4 GB http://qt.nokia.com/downloads/sdk-windows-cpp-offline这里的lib没有pdb和源代码,所以接着下载源代码可以qt-everywhere-opensource-src-4.7.4.zip http://download.qt.nokia.com/qt/source/qt-everywhere-opensource-src-4.7.4.zip或者ht 阅读全文

posted @ 2011-09-17 10:20 cutepig 阅读(1633) 评论(0) 推荐(0) 编辑

使用Rainbow tables和Ophcrack的组合工具破解Windows密码
摘要:使用Rainbow tables和Ophcrack的组合工具破解Windows密码 By simon ~ 一月 20th, 2008. Filed under: Linux桌面应用, windows应用. 5,896views本文为寻找人生的起点(http://blog.cn-ic.org)原创,如需转载,请注明出处,并保留原文链接。从前面的两篇文章(得到WindowsXP管理员权限的有效方法,John/bkhive/samdump, 在Linux下破解SAM密码)可以看出我对Windows系统权限突破的兴趣。由于目前的压迫尚未推翻,所以反抗还在继续。这次讨论的是采用RainbowTabl.. 阅读全文

posted @ 2011-09-14 12:50 cutepig 阅读(3156) 评论(0) 推荐(0) 编辑

crash reporting system for Windows applications
摘要:crash reporting system for Windows applicationshttp://crashrpt.sourceforge.net/docs/html/crprober_tool.htmlhttp://www.codeproject.com/KB/applications/minidump.aspxhttp://www.codeproject.com/KB/debug/automemorydump.aspxhttp://www.codeproject.com/KB/exception/MakingYourCodeRobust.aspx 阅读全文

posted @ 2011-09-14 01:29 cutepig 阅读(229) 评论(0) 推荐(0) 编辑

oceanbase
摘要:编辑器加载中...http://www.newsmth.net/bbstcon.php?board=Java&gid=273318&start=273318&pno=3发信人: KayakLee (xKai), 信区: Java标 题: 发现大家开始关注oceanbase了 就开个楼回答和讨论问题吧发信站: 水木社区 (Thu Sep 8 18:45:05 2011), 站内rtoceanbase还是一个正在发展中的系统其中必然存在很多问题 把他它开源出来 也是希望能够通过大家的智慧 使其更快的发展和完善我是其中写updateserver模块的码农在这开个楼跟大家讨论o 阅读全文

posted @ 2011-09-12 13:03 cutepig 阅读(1346) 评论(0) 推荐(0) 编辑

gdb试用(1)
摘要:gdb试用(1)cutepig@ubuntu:/mnt/hgfs/share/testValgrind$ gdb ./testGNU gdb (GDB) 7.0-ubuntuCopyright (C) 2009 Free Software Foundation, Inc.License GPLv3+: GNU GPL version 3 or later <http://gnu.org/licenses/gpl.html>This is free software: you are free to change and redistribute it.There is NO WAR 阅读全文

posted @ 2011-09-10 15:58 cutepig 阅读(266) 评论(0) 推荐(0) 编辑

qt 试用 (2)命令行工具
摘要:qt 试用 (2)启动Qt 4.7.4 for Desktop (MSVC 2008)Setting up environment for Qt usage...初始化vc命令行C:\WINDOWS\system32>"C:\Program Files\Microsoft Visual Studio 9.0\VC\vcvarsall.bat" x86Setting environment for using Microsoft Visual Studio 2008 x86 tools.编写程序G:\codes\testQt>notepad test.cpp#in 阅读全文

posted @ 2011-09-10 13:59 cutepig 阅读(2858) 评论(0) 推荐(0) 编辑

valgrind试用(1)
摘要:valgrind试用(1)安装程序sudo apt-get install valgrind编辑测试程序gedit test.cpp#include <string.h>#include <stdlib.h>int main(int argc, char *argv[]){ char *ptr; ptr = (char*) malloc(10); strcpy(ptr, "01234567890"); return 0;}编译运行cutepig@ubuntu:~/testValgrind$ g++ -g -o test test.cppcutepig 阅读全文

posted @ 2011-09-10 13:43 cutepig 阅读(595) 评论(0) 推荐(0) 编辑

java性能分析工具
摘要:java性能分析的工具jprobe 内存的话:jmap -histo:live pidjmap -heapdump?再用EMA(Eclipse Memory Analisis)分析,或者用自带的jhat性能的话:top -H -p pidjstack pid或者 jprofiler 试用版吧, 也有一些类似的免费的 阅读全文

posted @ 2011-09-10 12:47 cutepig 阅读(301) 评论(0) 推荐(0) 编辑

fltk试用 (1)
摘要:先安装基本的库,用aptget可以自动安装依赖sudo apt-get install libfltk1.1-dev libfltk1.1下载一个最新的源代码,编译tar avzf fltkxxxcd fltkxxx./configuremake sudo make installcutepig@ubuntu:~/Downloads/fltk-1.3.0$ sudo make install=== installing FL ===Installing include files in /usr/local/include...=== installing jpeg ===Installing 阅读全文

posted @ 2011-09-10 11:07 cutepig 阅读(516) 评论(0) 推荐(0) 编辑

qt 试用 (1)
摘要:qt 试用 (1)- 如果语言不对,这么设置即可set LANG=en_UScd "C:\Documents and Settings\Administrator"C:\QtSDK\QtCreator\bin\qtcreator.exe- vc为compiler时的调试需要安装debug tools for windows,安装后重新启动qt creater即可- 写一个最简单的dialog程序,并添加一个按钮的消息映射点右键,选择go to slot,选择onclieked输入代码void Dialog::on_pushButton_clicked(){ QMessage 阅读全文

posted @ 2011-09-10 10:57 cutepig 阅读(253) 评论(0) 推荐(0) 编辑

vmware tools
摘要:cutepig@ubuntu:~$ lsDesktop Downloads Music Public VideosDocuments examples.desktop Pictures Templatescutepig@ubuntu:~$ pwd/home/cutepigcutepig@ubuntu:~$ cd /home/cutepig/Desktop/vmware-tools-distribcutepig@ubuntu:~/Desktop/vmware-tools-distrib$ ./vmware-install.pl Please re-run this program as the 阅读全文

posted @ 2011-09-10 00:45 cutepig 阅读(2386) 评论(0) 推荐(0) 编辑

风魂”
摘要:知名程序员云风辞职http://blog.codingnow.com/http://blog.codingnow.com/2011/09/new_beginning.html云风是国内知名的程序员,大学时代开发的游戏图象引擎“风魂”曾用于多家游戏公司的游戏项目。他也是网易主打游戏《大话西游》、《梦幻西游》、《网易泡泡游戏》等网络游戏的主力开发者 阅读全文

posted @ 2011-09-08 13:03 cutepig 阅读(323) 评论(0) 推荐(0) 编辑

获取其他进程Listctrl的数据
摘要://// http://www.codeproject.com/KB/threads/int64_memsteal.aspx//HANDLE InjectProcess(HWND listview){ unsigned long pid; HANDLE process; GetWindowThreadProcessId(listview, &pid); process=OpenProcess(PROCESS_VM_OPERATION|PROCESS_VM_READ| PROCESS_VM_WRITE|PROCESS_QUERY_INFORMATION, ... 阅读全文

posted @ 2011-09-02 01:44 cutepig 阅读(1679) 评论(0) 推荐(0) 编辑

那种高速交易是怎么做到的?
摘要:发信人: jesuszhu (jesuszhu), 信区: Python标 题: Re: 那种高速交易是怎么做到的?发信站: 水木社区 (Thu Aug 25 11:44:26 2011), 转信你是说Oceanbase吗? 它其实是分布的, 但设计非常特殊. 你说的这个单机是它的updateserver, 这机器是个纯内存的数据库, 当然非常快, 确实机器也非常好. 然后它的数据会慢慢扩散到下边的chunkserver上做持久化. 查询时updateserver内存中的最新数据需要和chunkserver中之前持久化的数据做一次merge后返回给用户. 这个项目很快就开源了, 欢迎大家有兴趣 阅读全文

posted @ 2011-09-01 13:05 cutepig 阅读(345) 评论(0) 推荐(0) 编辑

导航

< 2025年3月 >
23 24 25 26 27 28 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 29
30 31 1 2 3 4 5
点击右上角即可分享
微信分享提示