自定义博客皮肤VIP专享

*博客头图:

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

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

博客底图:

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

栏目图:

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

主标题颜色:

RGB颜色,例如:#AFAFAF

Hover:

RGB颜色,例如:#AFAFAF

副标题颜色:

RGB颜色,例如:#AFAFAF

自定义博客皮肤

-+

Ant

C++、CUDA、Qt、Linux 笔记

  • 博客(126)
  • 资源 (2)
  • 收藏
  • 关注

原创 利用反向 SSH:服务器访问本地电脑: 不同局域网之间的相互访问

条件:已经拥有一台有公网IP的服务器: [email protected]在局域网A的计算机A1(你想访问的计算机,假设你的用户名为: lsl): ssh -R 2210:localhost:22 [email protected]在局域网B的计算机B1(你想访问的计算机,假设你的用户名为: lsl): 登录服务器: ssh [email protected] 在服务器上运行: ssh -R 2210:localhost:22 [email protected]

2016-10-08 11:39:50 3429

原创 cassandra batch的注意事项

However, a lot of people are used to databases where explicit batching is a performance improvement. If you did this in Cassandra you're very likely to see the performance reduce. You'd end up with so

2016-10-05 01:25:26 2093

原创 influxdb 学习笔记(1)—— 数据结构

influxdb 学习笔记(1)—— 数据结构influxdb 由time, fields, tag构成,field不被索引,tag被索引,所以需要频繁查询的应放在tag中,field最少要有一个字段,tag可选

2016-10-04 22:51:29 3445

转载 面向接口编程

Abstract Class vs Interface in C++ [duplicate]

2014-10-26 12:58:35 486

原创 关于template 的23个问题

发现新大陆,以前慢慢才知道的东西,原来有个集中营:看看updated, 处理方式是这么的好35.1What's the idea behind templates?35.2What's the syntax / semantics for a "class template"?35.3What's the syntax / s

2014-10-26 11:39:15 754

原创 Policy-based design设计模式

书在4年前看过,今天重温一下:一直认为这是最好的设计模式,大牛Andrei Alexandrescu 专门写了书,可见他的重要性http://en.wikipedia.org/wiki/Policy-based_designtemplate <class T>class Talkative { T const & t;public: Talkative(T const & obj) : t(obj) { } void talk() const { t.talk(); }};

2014-10-26 11:33:15 1657

原创 设计模式个人备忘(享元模式,strategy, templete strategy)

设计模式C++实现(9)——享元模式常见设计模式的解析和实现(C++)之十六-Strategy模式http://sourcemaking.com/design_patterns/strategy/cpp/1http://www.vincehuston.org/dp/strategy.htmltemplateclass Stat {public: void

2014-10-26 11:18:39 734

转载 (地基工)std::string::find() 和 std::string::npos

(地基工)std::string::find() 和 std::string::nposint idx = str.find("abc");if (idx == string::npos)...上述代码中,idx的类型被定义为int,这是错误的,即使定义为 unsigned int 也是错的,它必须定义为 string::size_type。npos 是这样定义的:

2014-10-23 22:41:27 924

原创 C++摘要——什么时候使用std::cout,什么时候用std::cerr

What is the difference between cout, cerr, clog of iostream header in c++? When to use which one?stdout and stderr are different streams, even though they both refer to console output by defau

2014-10-23 12:49:45 2617

原创 C++库研究笔记-----补充

#ifdef ....namespace {}#endif

2014-10-06 15:46:29 475

原创 Opencv 学习资料集合(更新中。。。)

基础学习笔记之opencv(24):imwrite函数的使用 tornadomeet 2012-12-26 16:36 阅读:13258 评论:9  基础学习笔记之opencv(23):OpenCV坐标体系的初步认识 tornadomeet 2012-12-12 00:25 阅读:3803 评论:3  基础学习笔记之opencv(22):learni

2014-10-06 15:19:02 957

原创 C++库研究笔记--用__attribute__((deprecated)) 管理过时代码

用__attribute__((deprecated)) 管理过时代码,同时保留兼容的接口Linux下:#define DEPR_AFTER __attribute__((deprecated))#define DEPR_BEFOR class DEPR_BEFOR AAA{}DEPR_AFTER;int main(int argc, char** argv){

2014-10-06 14:30:14 4352

原创 Opencv笔记(1) 数据结构的命名规则(CvMat,...)

网上查了很多,发现查资料不如查源码以Cv为开头的类,都是不含有具体数据的(仅仅存储指针)CvMattypedef struct CvMat{ int type; int step; /* for internal use only */ int* refcount; int hdr_refcount; union {

2014-10-06 14:07:15 1580

原创 char与unsigned char 区别

char 与 unsigned char的本质区别http://bbs.csdn.net/topics/270080484同一个内存内容:10010000     你用char*   解释是-112     你用unsigned   char*   解释是144     还是同样这个内存内容赋给整型值,用unsigned   char   类型还是会得到144,用c

2014-10-01 05:18:20 1229

原创 segy 格式 读取

地震SEG-Y格式http://wenku.baidu.com/view/0e2fce0c76c66137ee0619da.html

2014-09-29 22:31:12 5111

转载 #ifdef __cplusplus 倒底是什么意思?

一直没搞C,C#ifdef __cplusplus 倒底是什么意思?

2014-09-28 23:37:37 541

转载 奇異值分解 (SVD)

奇異值分解 (SVD)Posted on09/01/2009 byccjou本文的閱讀等級:中級奇異值分解 (singular value decomposition,以下簡稱 SVD) 被譽為矩陣分解的「瑞士刀」和「勞斯萊斯」[1],前者說明它的用途非常廣泛,後者意味它是值得珍藏的精品。在“線性代數基本定理 (四)”一文,我們介紹了 SVD 的推導,並於矩陣的

2014-09-28 21:37:09 960

原创 利用QML实现透明窗口[qt5]

main.cppmainwindow.

2014-09-21 03:25:58 4662

原创 QML学习笔记

QML 学习(一)QML 学习(二)

2014-09-21 03:16:00 513

原创 QML 文本无法显示问题

/*property string operation: buttonText.text*/ property alias operation: buttonText.textimport QtQuick 1.0BorderImage{ id: button property string color: "" /*pro

2014-09-21 02:48:31 1581

原创 mpi error: Permission denied (publickey,gssapi-keyex,gssapi-with-mic,password) 解决方法

这个问题一直没解决,弄了一个小时,直接解决方法是,

2014-09-20 19:01:33 7725

原创 互联网圈总是充满着太多的不确定性

互联网圈总是充满着太多的不确定性,也拥有太多的传奇故事。下面就为大家举几个例子:  1.2009年,WhatsApp联合创始人Brian Acton去Facebook 应聘遭拒,现在,Facebook花了190亿美金收购WhatsApp;  2.当初马云与优酷创始人古永锵竞争搜狐COO职位,古永锵战胜马云,现在,马云的阿里巴巴入股了古永锵的优酷土豆;  3.当初马化腾曾考虑以60万元将QQ出售,先

2014-09-11 23:58:09 593

转载 多维数组怎样快速索引

Table of ContentsHow to create a multi-dimensional arrayHow to loop through a multi-dimensional arrayMethod 1: Nested loops with multiple arraysMethod 2: Nested loops with linear arr

2014-08-03 02:48:32 787

原创 苦撑待变,时不我待。这个月抓不住,即放手。

苦撑待变,时不我待。这个月抓不住,即放手。

2014-07-04 01:29:38 511

原创 debug 记录(1)

一行程序错误,debug两小时千万不要在饭乱的时候debug, 没有

2014-07-01 10:17:03 403

原创 day60_subproblem240: rtm_mpi_demo

第60天(6.28)    子问题240: RTM 初步实现    20:40~23:59

2014-06-28 20:41:28 558

原创 会议

去年你在吃屎么

2014-06-24 21:54:03 416

原创 狗屎不如的4小时

今天给爸了个电话,压力释放了下,反而花了4个小时看视频。自制力极差,希望来个人骂我是狗屎。

2014-06-22 23:59:30 776

原创 static 中的 C++使用权与生存期

#include int main(){ using namespace std; {int n;n=5;} cout<<n; system("pause"); return 0;}

2014-06-19 10:58:31 586

原创 自己的快速链接(动态更新)

python绘图实例:http://matplotlib.org/gallery.html#

2014-06-15 10:19:24 482

原创 选择

即使没有人。。。。所有人。。。你自己说的

2014-06-12 11:03:42 447

翻译 Makefile and Paul's Rules of Makefiles

Defining and Redefining Pattern Rules

2014-06-11 11:08:02 547

原创 给自己打打气

身上还有最后的两百块钱,一个月后面临招商银行的账单。这真的是最后一个月了,非生即死。一个月,最后一个月。30*16/4 = 120 个子问题。

2014-06-01 20:55:06 952 1

原创 error: for statement expected before ‘{’ token

https://computing.llnl.gov/tutorials/openMP/samples/C/omp_bug1fix.c

2014-06-01 10:58:45 4707

翻译 OMP笔记(1)

Difference between static and dynamic schedule in openMP in C

2014-06-01 10:58:00 1183

原创 [beiwang]被忘记的vim命令

方法一:使用 Ctrl-z 以及 fg 这两个命令组合。  这一解决方法主要利用了 Linux/Unix 的作业机制。具体原理是:Ctrl-z 命令将当前的 Vi/Vim 进程放到后台执行,之后 shell 环境即可为你所用;fg 命令则将位于后台的 Vi/Vim 进程放到前台执行,这样我们就再次进入 Vi/Vim 操作界面并恢复到原先的编辑状态。方法二:使用行命令 :sh。

2014-05-29 21:44:41 666

原创 SSH: Agent Admitted Failure To Sign Using The Key Error And Solution

SSH: Agent Admitted Failure To Sign Using The Key Error And SolutionTo fix this problem you need logout of your Unix / Linux / OS X / BSD desktop session and log back in again to force the age

2014-05-16 18:46:17 683

翻译 Flood fill 算法

http://en.wikipedia.org/wiki/Flood_fill#Stack-based_recursive_implementation_.28Four-way.29

2014-05-01 18:37:38 737

原创 Minimum Edit Distance最小编辑算法

动态规划 求解 Minimum Edit Distance

2014-05-01 18:34:06 481

翻译 on std::numeric_limits<float>=1.192e-7

Assuming 64-bit IEEE double, there is a 52-bit mantissa and 11-bit exponent. Look at the following numbers:1.0000 00000000 00000000 00000000 00000000 00000000 00000000 × 2^0 = 1The smallest repr

2014-04-10 11:19:50 895

blas 代数库

blas 代数库,从netlib上下载 blas 代数库,从netlib上下载

2013-08-07

语音识别 原理 算法 设计

语音识别权威书籍 INTRODUCTION ................................................................................................... 1 1.1. 1.2. 1.3. 1.4. 1.5. MOTIVATIONS .......................................................................................................2 1.1.1. Spoken Language Interface ................................................................... 2 1.1.2. Speech-to-speech Translation................................................................3 1.1.3. Knowledge Partners...............................................................................3 SPOKEN LANGUAGE SYSTEM ARCHITECTURE ........................................................4 1.2.1. Automatic Speech Recognition ..............................................................4 1.2.2. Text-to-Speech Conversion ....................................................................6 1.2.3. Spoken Language Understanding ..........................................................7 BOOK ORGANIZATION ............................................................................................9 1.3.1. Part I: Fundamental Theory ..................................................................9 1.3.2. Part II: Speech Processing ....................................................................9 1.3.3. Part III: Speech Recognition ...............................................................10 1.3.4. Part IV: Text-to-Speech Systems..........................................................10 1.3.5. Part V: Spoken Language Systems ......................................................10 TARGET AUDIENCES.............................................................................................11 HISTORICAL PERSPECTIVE AND FURTHER READING .............................................11 PART I: FUNDAMENTAL THEORY 2. SPOKEN LANGUAGE STRUCTURE .........................................................19 2.1. SOUND AND HUMAN SPEECH SYSTEMS ................................................................21 2.1.1. Sound ...................................................................................................21 2.1.2. Speech Production ...............................................................................24

2011-08-10

空空如也

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

TA关注的人

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