-
blog重生
2010-01-14
-
英特尔的“芯”机会
2010-01-04
From http://tech.163.com/10/0104/09/5S64TGIS0009387A_2.html
简言之,由于新的市场变化,英特尔完全可以从一家以PC芯片为主业的公司,变得更广泛而无处不在——除了在眼下热门的移动互联网的智能手机、上网本等领域,还可以拓展到汽车导航仪、自动柜员机、墙上的供热系统,甚至拖拉机。此外还包括个人医疗设备等。
//感觉未来真的是嵌入式的天下,所有物体都有芯片
-
JavaScript creator ponders past, future
2010-01-03
-
技术人的年终总结
2010-01-03
-
http://97-things.near-time.net/wiki/97-things-every-software-architect-should-know-the-book
Simplify essential complexity; diminish accidental complexity
-
matlab report
2010-01-02
现在很想也正在搞这样一个东西:写一个matlab experiment script,在生成结果的同时,也生成一个word document report。这样不用总是copy & past图片,或者数据了。literate programming有些类似。不过也不一样。感觉上不是很麻烦。不过有些cross-reference会有问题。本来想过latex,但是公司几乎都用word。而latex转换到word似乎并不方便。用word api倒也很方便。
-
signal
2010-01-02
现在搞语音处理,以前搞图像处理,都会涉及到模式识别,线性代数,几何,概率统计,离散数学,工程数学,等等等等。感觉上纯属搞科学,搞算法。这些东西如果是应用,一般人也感觉不到。只是一个很小的算法,被集成到硬件,或者软件里面。
既然搞这一行,也就注定数学是最重要的。而各种各样的软件技术,什么框架,什么云,其实跟本行几乎是没什么关系的。至于工具,注定了要用matlab或者C。技能之二,则是写paper,写report。
-
data
2010-01-02
感觉webapps几乎都是database apps
而data呢,几乎都是通过web UI输入进去的
各种各样的frameworks呢,几乎都是基于database
再说传统的应用吧
数据库以外的
那就是文件
应用程序经常需要精确到数据的每个字节
而交互,除了按钮之外,主要是鼠标信息,还有画图
以后这些都可以在HTML5里面实现
至于文件系统,也许会被database取代,或者被一些框架取代
将来的Web会和视频输入,音频输入,其他的传感器输入无缝的联合么?
GPU会在服务器端利用么?
Chrome OS是如何处理SD卡里的数据呢?
-
Dynamic programming futures
2010-01-02
http://www.infoworld.com/d/developer-world/dynamic-programming-futures-839?page=0,0
JavaScript, Perl, PHP, Python, Ruby, and other dynamic languages are remaking the Web and bringing programming to the masses.
-
http://news.idg.no/cw/art.cfm?id=BB4D0290-1A64-67EA-E45E67380366F219
The year that loved smartphones, scripting languages, the cloud, and open source was not always kind to developers.
//In the old days, people "install software on their own machine"
-
word equations
2009-12-31
-
word automation table
2009-12-29
#vb_ref: Function Add(Range As Range, NumRows As Long, NumColumns As Long, [DefaultTableBehavior], [AutoFitBehavior]) As Table
def add_table(doc, range, rows, cols)
doc.Tables.Add({'Range' => range, 'NumRows' => rows, 'NumColumns' => cols})
# doc.Tables.Add(range, rows, cols)
end
#vb_ref: Function Cell(Row As Long, Column As Long) As Cell
def set_table_cell(table, i, j, text)
table.Cell(i, j).Range.Text = text
end
references: -
word automation range
2009-12-28
The Range object represents a contiguous area in a document, and is defined by a starting character position and an ending character position.
Ranges can be obtained in many ways. Many Word objects, like Sentence and Paragraph, have a Range property that contains an object reference to a Range object for the original object.
sel_range = word.Selection.Range
p_range = doc.Paragraphs(3).Rangereferences:
-
word automation document
2009-12-28
http://msdn.microsoft.com/en-us/library/aa158471(office.10).aspx
word = WIN32OLE.connect('Word.Application') #get word application object
active_doc = word.ActiveDocument #get the active documentnew_doc = word.Documents.Add() #create a new documentnew_doc.SaveAs('C:\hello.doc'); #save the new document -
Microsoft Word Visual Basic Reference
2009-12-27
-
圣诞礼物
2009-12-27
收到一张罚单,闯红灯,75块钱
这下人生完整了
当时有点儿着急办事儿,看到黄灯,感觉离得不远,就踩了一下油门冲过去,记得中间是变红了,没想到竟然被拍照,还吃了罚单
-
乱七八糟
2009-12-27
info, data, model, process, control, program
一切都可以看作是数据和对数据的处理,或者分析
而数学,则是处理的核心
逻辑算是数学的一种
数学之外,就是设计
无论是一个产品,还是一个程序,
数学用来解决问题
设计用来满足体验
设计也用来满足演化的需要
设计建立了人与系统沟通的桥梁
系统的正确性,健壮性依赖算法
而系统的可扩展性,可维护性,可用性则依赖于设计
设计属于艺术
算法属于科学
搞研究主要是搞算法
算法是不可重复的
也就是说,一旦一个算法被提出来,就没有再研究的必要
所以呢,算法似乎是越来越稀缺的资源,越来越困难的领域
而设计则不同
同一个算法,可以写到各种不同的类库里面,这些不同的实现都有存在的必要
一个好的设计,可以不断的重复使用
就如同汽车,其实看起来都差不多,但并不影响他们都跑到路上
搞研究就不行了,算法差不多的话就不算创新,也就不能发表,也就几乎没有意义
解决问题也是一样,如果有了好的解决方案,人家也不会找你
既然找你,问题也就肯定很难,以至于需要你来发明新的算法
所以呢,搞研究肯定是费脑子的事情
而设计系统呢,则主要是设计,是艺术,不需要高深的理论,不需要知道什么线性代数,不需要知道什么SVD
而现代化呢,似乎科学跟设计完全分离了
学术界和工业界,两个不同的世界
互联网的基础架构是科学还是设计呢?当然是设计。
设计必然有设计相关的科学,或者原则
-
乱七八糟
2009-12-27
发现工作之后更为前途担忧
读书的时候觉得自己的前途就跟迷雾一样,不知道以后会干什么
以为定了工作以后的大致方向也就定了
如果是去公司编程,那我以后就走编程路线
如果是去公司做研究,拿以后就走研究路线
现在的公司主要是做研究,作信号处理
以后是否就一直走研究路线?
这条路线走到底又是什么?
像kwan这样开公司?像以前老板那样做教授?还是一直做一名研究员?
觉得自己的编程技术每天都在落后
被趋势抛得越来越远
是否有一条编程和研究的中间路线呢?
其实kwan的公司已经是离这条路线最近的了。
kwan不希望仅仅是研究,kwan也希望能有产品,公司能够发展。
但是目前仍然处于有什么食物吃什么的阶段。
慢慢积累吧。
-
Google's free business model, supported by advertising, has hugely disrupted news and other information services. More disruption is coming to more business categories in the early 2010s.
Is this disruption evil? The answer may depend upon worldview.
-
row major vs column major
2009-12-26
C: row major
Matlab, Fortran, LAPACK: column major
如果想使用CLAPACK,最好是用column major
从接口来说,最好是column/row major无关的
比如m(i, j)的话,就是i行j列,几乎所有规则都是如此
-
unsigned int or int
2009-12-24
决定用int
Lua里面基本上没有unsigned int
OpenCv里面的CvMat也是用int
另外去掉#define M_FLOAT double,全部直接改成double
-
matlab ms word automation
2009-12-22
h = actxserver('Word.Application');
doc = h.Documents.Add();
doc.SaveAs('C:\hello.doc');
h.Quit;
-
ruby ms word automation win32ole programming
2009-12-22
-
Watching the Alpha Geeks
2009-12-19
<<The passionate programmer>>
Alpha geeks are those supernerds who are always on the bloodiest tip of the bleeding edge, at least in their hobby activities. Tim’s assertion, which I have since observed in the wild, is that if you can find these people and see what they’re into, you can get a glimpse of what’s going to be big one or two years down the road. It’s uncanny how well this works.
http://macdevcenter.com/pub/a/mac/2002/05/14/oreilly_wwdc_keynote.html
There are always people in any field who are the most clued in to the deep trends, who seem to be playing with all the coolest stuff, and seem to have their finger in everything before most people even know about it.
Someone introduces a fundamental breakthrough, a disruptive technology, or business model that will change the nature of the game.
Hackers and "alpha geeks" push the envelope, start to use the new technology, and get more out of their systems long before ordinary users even know what's possible.
-
automation principle
2009-12-17
enable one task to be completed by one command
比如安装一个东西,比如给汽车加速,比如做饭
在pragmatic programmer里面叫don't use manual procedures
related: DRY Don't repeat yourself; single responsibility principle
-
lesson
2009-12-17
full understanding occurs if and only if implementation is did
-
iteration
2009-12-13
refactoring其实是快速,轻量级的iteration
iteration的概念很早就有了
refactoring, iteration的应用其实可以很广泛,不仅仅是代码
比如用到report,不断的修改错误,添加新的内容等等
可以用到自己知识体系的构建或者对事物的理解,不断的复习,不断的学习新的体系,不断的构建更完整的体系
-
convention
2009-12-13
有很多的参数配置
每种配置都需要输出文件
程序需要根据配置来读入文件
也需要根据配置来构造变量名什么的
很多很多的批量处理
很多很多不同类型的处理结果
用matlab scripts
解决办法是各种各样的convention
比如实验结果输出的目录结构和文件名
比如数据结构的变量名
convention over configuration似乎是自然的选择
另外还有table driven
第一列是什么,第二列是什么,这些都是convention
开始是用变量来表达不同的域,但是那样重复代码太多
不如直接一个table
另外还有matlab scripts可以做运行单元,互相嵌套
根据convention,函数都不需要定义
这样会有一些陷阱,但是感觉也还好,调试也不难发现
matlab的eval语句也很强大,动态运行一个字符串的代码
-
doc
2009-12-13
前几天写文档
需要把图表结果贴到word里面
很多很多的图
每个都需要设置大小
每个都得copy paste
每次table也是copy paste
很想找个工具能自动生成doc文档
有啥工具呢?
-
wireless charger
2009-12-13
无线充电器
30刀一个
在target看到的
好像把手机放到上面就可以自动充电,不需要任何线
