Thursday, March 29, 2007

Jump into real project

Don't rely on text book only. Code and test, you will know if it is true.

Tuesday, March 27, 2007

Why can't my blog be visited?

I can login, and post new blog. But I can't visit my blog using zdwalter.blogspot.com

Sunday, March 18, 2007

Find out who is viewing your blog

Google Analysis is amazing.

I can find out people from where, through what way find my blog.

currently, some people from Japan, Australia , US have visited.

they are looking for LSH, VTune, kerrighed, openMosix, openSSI.

it's great to find people with the same interest.

What do berkeley CS student read?

link track:
http://www.cs.berkeley.edu/~christos/classics/cs298.html

Examples of classics:

  • Edmonds, Jack , Paths, trees, and flowers, Canadian Journal of Mathematics, Vol 17, No -, 449-467, 1965
  • Three papers on NP-completeness: S. A. Cook The complexity of theorem-proving procedures, 1971 STOC; R.M. Karp. Reducibility among combinatorial problems. In R.E. Miller and J.W. Thatcher, editors, Complexity of Computer Computations, pages 85--103. Plenum Press, 1972; and Levin, Universal Search Problems. [Problemy Peredatsi Informatsii] 9(3):265-266, 1973 (c). Annals of the History of Computing 6(4):384-400, 1984.

What do you work for?

confusing...

If you work for living, you may work hard, but you will find the work boring.

If you don't have to worry about life, why will you work?

And what do you live for?

Thursday, March 15, 2007

Quick Tips On Raising Startup Funding Without A Plan Or A PowerPoint

link track: http://onstartups.com/home/tabid/3339/bid/1289/4-Quick-Tips-on-Raising-Startup-Funding-Without-A-Plan-Or-A-PowerPoint.aspx

Have A Story

Demonstrate Leverage

Accept That Your Baby Is Ugly

Dream Big, But Plan Small

Wednesday, March 14, 2007

Top 5 Things That Should Be Taught In Every School

track link: http://briankim.net/blog/2007/03/top-5-things-that-should-be-taught-in-every-school/

#1. Personal Finance

#2. Communicating Effectively

#3. Social Skills

#4. Sales

#5: Time Management


Monday, March 12, 2007

book list for programmer

link track: http://weblog.raganwald.com/2006/11/first-seven-books-i-would-buy-if-my_17.html

The first seven books I would buy if my shelves were bare
Lucas Carlson won a $100 gift certificate on Amazon.com for his 2nd place entry at Rails Day (in collaboration with John Butler). Congratulations, Lucas!

Lucas asked for suggestions on spending the money. I tried suggesting a new iPod Nano loaded up with the SICP lectures in video podcast form. But as you would expect for someone working in a music-related venture, he has plenty of toys already.

So… here are the first seven books I would buy if my shelves were bare (in no particular order):
  1. Structure and Interpretation of Computer Programs. You can read it for free on line, but it’s even better as a physical book. One for the ages, it’s the kind of thing that ought to be bound in rich leather (if you go for that sort of thing) and kept in the library you build for your luxury castle.

  2. To Mock a Mockingbird. It seems you can’t raise micro-capital these days without understanding fixed point combinators. Here’s the most enjoyable text on the subject of combinatory logic ever written. What other textbook features starlings, kestrels, and other songbirds?

  3. The Media Lab: Inventing the Future at M. I. T.. Stewart Brand’s book captures the legendary think tank’s culture and ideas. Compare and contrast their view of broadcatch with today’s RSS feeds, or narrowcasting with today’s 500 channel television.

  4. On Intelligence A book that shook my views about how my brain works. To pick one nugget out of many, neurons are so slow that in the time it takes for us to react suddenly—say to duck a flying object—there is only time for a chain of at most 100 steps to complete. 100 steps do not permit us to perform any complex reasoning or look-up. Jeff explains how the neocortex can accomplish complex tasks using layers of parallel switches.

  5. Philip and Alex’s Guide to Web Publishing. While the technologies suggested (TCL, AOLServer) are unlikely to float your boat, this is the most beautiful technical book on my shelves. Philip’s advice on how to build software for web publishing and approach is still relevant several generations of web developers later. (Also available on line for free.)

  6. The Recursive Universe: Cosmic Complexity and the Limits of Scientific Knowledge. Although it seems to be out of print, hunt down a copy for yourself. A thrilling journey into the ideas of the great John Horton Conway and computation’s building blocks. Best of all, it’s explained beautifully using the legendary Game of Life. Who knew that puffer trains and spaceships are Turing Complete?

  7. QED: The Strange Theory of Light and Matter. Yes, the full Feynman Lectures are incomparable, and for further thrills you can listen to him give the lectures on audiobook. But in QED, Feynman does this one magical thing: he explains how a mirror reflects light. And in the process of explaining how light actually reflects off a mirror, Feynman deconstructs classical physics and rebuilds our understanding with Quantum Electrodynamics. For a moment, you can understand how little we really know about how the universe works.

Is there a book you would recommend? What’re your feelings about the books I’ve suggested?

p.s. Shane Sherman’s The 5 Books that Every Programmer Should Read

email spam

currently more and more email spam with images, because email client will open image automatically. and it's more difficult to detect its content.

When will video become the email spam? huge band width will be wasted, and harder to detect too.

sqlite 源码分析

Wow,
解析sql语句用的是 编译原理的东西,把语句解析成自己虚拟机的汇编代码。
整个后台流程是用过虚拟机实现。

总算发现编译原理怎么用了,还能结合汇编。哈哈

Today's reading

Why Publish CS Papers Without Code?

link track: http://billmill.org/why_no_code

Imagine that you read a paper analyzing "Hamlet" in great detail. Intrigued, you went to the bookstore to look for a copy, only to find that there were none. Confused, you checked the library - nothing. Finally, you went online to shakespeare.com, only to find a note saying that "Hamlet" was still being edited and would be released Any Day Now.

Unfortunately, an analogous situation is the norm in the world of academic computer science. Graduate students and professors produce code by the truckload, and a majority of them produce only papers about their work. While this is certainly not always the case, it was difficult for me to even find these examples of academic source code. In all four cases, it has proven very useful to programmers outside of academia.

Life, not Math

The fact is, computer science research is more like biology research than it is like mathematical research. For an experiment to be valid, it should be repeatable. If you're publishing analyses of programs without publishing the code that was analyzed, how can the community possibly verify what you claim?

Bugs are endemic to source code everywhere, and there is no reason to believe that academic code is any different. All of the analysis in the world is irrelevant if the program you are analyzing has a subtle bug embedded in it. We, computer scientists, should expect and demand that published, well tested code be made available with every paper which claims to analyze or draw conclusions from a program of any significant size.

A Problem of Environment?

At the moment, there is just no easy way to do this. Where the open source world has SourceForge and other project hosting sites, there is no similar environment where academic papers can live alongside the code they reference. Instead, computer science researchers are encouraged to publish papers in traditional, copyright-locked, academic journals. These journals are not prepared to handle large volumes of code, nor should they be. Computer science research was made for the web, and there should be a home for it on the web.

It is intimidating for a harried academic that just wants to get work done, and advance in his field, to have to set up the host of tools required to share code effectively. If there were a SourceForge-for-academics site where they could simply register their paper, drop in the source code, and have a project ready made for them, it would be much more likely that they would participate. If such a project were to gain steam, the network effect would make it an invaluable resource for academic and industry programmers alike. Collaboration and open code sharing would lead to much more rapid progress in the field, and hopefully encourage the greater rigor that other fields require of their practitioners.

Two Different Worlds

Right now, academics and open-source programmers live largely in two separate, often parallel, worlds. Where they do collide, as they do in the Haskell language, there is often extremely interesting work being produced. Each brings a different, interesting, viewpoint to the table, and greater coordination between the two would have nearly universal benefits for programmers of every stripe.

So free the code! If you're an academic programmer, consider publishing the code that you have, regardless of what you may think of it. Consider asking the journal that you publish in to retain copyright over your work. If you're an open source programmer, look for some work in a field that interests you, and email the author if he hasn't released his code. Ask him an interesting question, and convince him that his code would be useful. If you're both, tell the world your ideas for how we can all work better together.

Update:

I've been contacted already by two scientists who care about the reproducibility of programs. First, Gavin Baker wrote to tell me about the insight toolkit, which "is a cross-platform open-source image processing toolkit for performing registration and segmentation" that attempts to provide reference implementations of published algorithms. He also pointed me towards The Insight Journal, which allows authors to publish open articles which are automatically verified with CMake. This is exactly the type of thing I was hoping to hear about.

Only a few minutes later, "I. Vlad" wrote to tell me that computational geophysicists have a similar system called Madagascar, which uses SCons to provide automated verification of results. Furthermore, they encourage the use of open data sets from a website they've set up, something similar to a post I made a while ago.

Good to hear that these scientists are out there making stuff happen, while I sit here on my duff.


stock 101 - day 2 : S南航(上海,600029) 当前价:5.830 涨跌幅: +1.22% 2007-03-09 15:02:54

最近交易价:5.83
交易时间:3月9日
涨跌:涨 0.07 (1.22%)
昨日收盘:5.76
开盘:5.76
买入:5.82
卖出:5.83
一年目标预测:
今日价格幅度:5.71 - 5.86
52周价格幅度:2.19 - 3.13
成交量:33,784,406
平均成交量(3个月):34,331,600
市值:
市盈率(12个月):42.2
每股收益(12个月):010
股利和股息:N/A ()


最新提示:1)02月28日S南航:退购一架空客A330(详见后)
2)02月27日刊登董事会公告(详见后)
3)预计2006年度业绩与2005年度相比将扭亏为盈.
4)2006年年报预约披露:2007年04月17日
分红扩股:1)2006年中期利润不分配,不转增
2)2005年利润不分配,不转增
股权分置:国家股现在占南航股权的50.3%,目前实施股改有一定的困难,南航集团和
本公司正积极与国家有关部门沟通,务求积极稳妥地推进南航的股改.
●06-09-30 净利润:45300.00万 同比增:4933.33 主营收入:349.15亿 同比增:18.54
────────┬────┬────┬────┬────┬───────
主要指标(元) │06-09-30│06-06-30│06-03-31│05-12-31│05-09-30
每股收益(摊薄) │ 0.1036│ -0.1909│ -0.1520│ -0.4101│ 0.0021
每股净资产(摊薄)│ 2.3790│ 2.0845│ 2.1229│ 2.2749│ 2.6688
每股资本公积金 │ 1.3477│ 1.3477│ 1.3472│ 1.3472│ 1.3289
每股未分配利润 │ -0.1267│ -0.4211│ -0.3822│ -0.2266│ 0.1863
净资产收益率 %│ 4.4500│ -8.7600│ -6.9000│-16.6100│ 0.0800
────────┴────┴─┬──┴────┴───┬┴───────
证券简称:S南航 │总股本(万):437418 │法人:刘绍勇
证券代码:600029 │A 股 (万):100000 │总经理:司献民
H 股简称:南方航空 代码:1055 │H 股 (万):117418 │行业:交通运输
上市日期:03.07.25 发行价:2.70 │国家股(万):220000 │ 仓储
上市推荐及主承销商:银河证券 │主营范围:国内和经批准的国际、地区航空客
电话:020-86124738 董秘:苏亮 │ 、货、邮、行李运输业务


┌───────────┬─────┬─────┬─────┬─────┐
│主要指标 │2006-09-30│2006-06-30│2006-03-31│2005-12-31│
├───────────┼─────┼─────┼─────┼─────┤
│每股收益(元) │ 0.1000│ -0.1900│ -0.1500│ -0.4100│
│每股收益(扣除)(元) │ --│ -0.2200│ -0.1500│ -0.4300│
│每股净资产(元) │ 2.3800│ 2.0800│ 2.1200│ 2.2800│
│调整后每股净资产(元) │ 2.2900│ 1.9500│ 2.0300│ 2.1900│
│每股收益(摊薄)(元) │ 0.1036│ -0.1909│ -0.1520│ -0.4101│
│每股净资产(摊薄)(元) │ 2.3790│ 2.0845│ 2.1229│ 2.2749│
│每股资本公积金(元) │ 1.3477│ 1.3477│ 1.3472│ 1.3472│
│每股盈余公积金(元) │ 0.1580│ 0.1580│ 0.1580│ 0.1580│
│每股未分配利润(元) │ -0.1267│ -0.4211│ -0.3822│ -0.2266│
│每股现金净流量(元) │ 0.2613│ 0.3301│ 0.1621│ -0.0329│
│每股经营现金净流量(元)│ 0.9060│ 0.3452│ 0.1193│ 1.3527│
│净资产收益率(扣除)(%) │ 3.0300│ -10.6200│ -7.0000│ 18.8000│
│净资产收益率(%) │ 4.4500│ -8.7600│ -6.9000│ -16.6100│
│总资产(万) │7864800.00│7546400.00│7355400.00│7230400.00│
│股东权益(万) │1040600.00│ 911800.00│ 928600.00│ 995100.00│
│主营业务收入(万) │3491500.00│2102400.00│9429000.00│3905200.00│
│主营业务利润(万) │ 476500.00│ 221700.00│ 66000.00│ 362600.00│
│投资收益(万) │ 500.00│ -500.00│ -1100.00│ -20200.00│
│利润总额(万) │ 63200.00│ -74600.00│ -66000.00│-177300.00│
│净利润(万) │ 45300.00│ -83500.00│ -66500.00│-179400.00│
└───────────┴─────┴─────┴─────┴─────┘

┌───────────┬─────┬─────┬─────┬─────┐
│主要指标 │2005-09-30│2005-06-30│2005-03-31│2004-12-31│
├───────────┼─────┼─────┼─────┼─────┤
│每股收益(元) │ 0.0021│ -0.1900│ -0.0650│ 0.0240│
│每股收益(扣除)(元) │ 0.0080│ -0.1900│ -0.0650│ 0.0210│
│每股净资产(元) │ 2.6700│ 2.4700│ 2.6000│ 2.6600│
│调整后每股净资产(元) │ 2.5700│ 2.3600│ 2.6000│ 2.5500│
│每股收益(摊薄)(元) │ 0.0021│ -0.1927│ -0.0652│ 0.0235│
│每股净资产(摊薄)(元) │ 2.6688│ 2.4741│ 2.5989│ 2.6640│
│每股资本公积金(元) │ 1.3289│ 1.3289│ 1.3262│ 1.3262│
│每股盈余公积金(元) │ 0.1536│ 0.1536│ 0.1536│ 0.1536│
│每股未分配利润(元) │ 0.1863│ -0.0085│ 0.1191│ 0.1843│
│每股现金净流量(元) │ 0.4088│ 0.5875│ 0.4577│ 0.2179│
│每股经营现金净流量(元)│ 0.7199│ 0.6010│ 0.3420│ 0.9853│
│净资产收益率(扣除)(%) │ 0.3000│ -7.5300│ -2.5000│ 0.8070│
│净资产收益率(%) │ 0.0800│ -7.8000│ -2.5000│ 0.8840│
│总资产(万) │7188600.00│6872700.00│6676200.00│6315500.00│
│股东权益(万) │1167400.00│1082200.00│1136800.00│1165300.00│
│主营业务收入(万) │2945400.00│1805300.00│ 826600.00│2419400.00│
│主营业务利润(万) │ 341100.00│ 161100.00│ 76800.00│ 420600.00│
│投资收益(万) │ 9200.00│ -1000.00│ -300.00│ 6300.00│
│利润总额(万) │ 18500.00│ -92800.00│ -30800.00│ 39200.00│
│净利润(万) │ 900.00│ -84300.00│ -28500.00│ 10300.00│
└───────────┴─────┴─────┴─────┴─────┘


───────────┬─────────┬─────────┬────
项 目 │ 前 期│ 近 期│ 幅度%
───────────┼─────────┼─────────┼────
股东户数 (户)│ 144164.00(06中期)│ 114044.00(06三季)│ -20.89
户均持流通股 (股)│ 15081.28(06中期)│ 19064.38(06三季)│ 26.41
十大股东持股 (万股)│ 351463.48(05年度)│ 346378.24(06中期)│ -1.45
十大流通股东持股(万股)│ 126988.02(06中期)│ 128926.66(06三季)│ 1.53
投资基金 (万股)│ 3893.53(06中期)│ 8865.06(06三季)│ 127.69
社保基金 (万股)│ 4755.59(06中期)│ 3945.81(06三季)│ -17.03
证券公司 (万股)│ --│ --│ --
QFII (万股)│ 1011.37(06中期)│ 1200.00(06三季)│ 18.65
───────────┴─────────┴─────────┴────

散户减少,投资基金加入


意见:
是否良好公司还需要观察,因为扭亏为盈如果单是依赖油价下调,人民币升值,不能说明经营改善。而且价钱过高,高于价值。




tomorrow : 000024 招商地产

Friday, March 09, 2007

stock 101 - day 1

pick from 华夏大盘精选

序号

股票代码

股票名称

数量(股)

期末市值(元)

占净值比例

1

000933

神火股份

10,001,647

112,118,462.87

5.66%

2

600029

S南航

26,900,000

110,021,000.00

5.56%

3

600787

中储股份

12,534,386

78,339,912.50

3.96%

4

000807

云铝股份

7,275,000

77,551,500.00

3.92%

5

000860

顺鑫农业

7,806,192

61,200,545.28

3.09%

6

000960

锡业股份

6,891,100

61,124,057.00

3.09%

7

000617

S 济 柴

3,414,749

58,016,585.51

2.93%

8

000819

S 岳兴长

3,176,289

56,537,944.20

2.86%

9

000888

峨眉山A

5,798,923

55,611,671.57

2.81%

10

600005

武钢股份

8,004,776

50,910,375.36

2.57%


stock

000933

神火股份


主营业务|煤炭的生产、销售、洗选加工及发供电

当前:
最近交易价:14.16
交易时间:3月8日
涨跌:涨 0.39 (2.83%)
昨日收盘:13.77
开盘:14.00
买入:14.16
卖出:14.17
一年目标预测:
今日价格幅度:13.80 - 14.17
52周价格幅度:5.66 - 16.45
成交量:7,002,664
平均成交量(3个月):3,678,540
市值:70.80亿
市盈率(12个月):15.31
每股收益(12个月):0.92
股利和股息:1.50 ()

截至日期:2006-09-30 十大流通股东情况 股东总户数:40237
──────────────┬─────┬─────┬────┬─────
股东名称 | 持股数 |占流通股比|股东性质|增减情况
| (万股) | (%) | | (万股)
──────────────┼─────┼─────┼────┼─────
安顺证券投资基金 | 661.69| 2.80 A股| 基金 | 281.69
中国人寿保险股份有限公司 | 529.49| 2.24 A股|保险公司| 50.00
天元证券投资基金 | 506.10| 2.14 A股| 基金 | 13.54
华夏大盘精选证券投资基金 | 500.04| 2.11 A股| 基金 | 365.06
中国人寿保险(集团)公司 | 416.81| 1.76 A股|保险公司| 未变
建信优选成长股票型证券投资基| 327.57| 1.38 A股| 基金 | 新进
金 | | | |
华安创新证券投资基金 | 280.00| 1.18 A股| 基金 | -78.86
安瑞证券投资基金 | 271.44| 1.15 A股| 基金 | 151.77
鸿阳证券投资基金 | 262.78| 1.11 A股| 基金 | -137.73
刘梅英 | 232.17| 0.98 A股| 个人 | 未变
──────────────┴─────┴─────┴────┴─────
合计持有3988.09万流通A股,分别占总股本7.97%,流通A股16.86%
─────────────────────────────────────


意见:
可以买入

Thursday, March 08, 2007

buying stocks

i am starting off by spending a year tracking and picking stocks, but not with real money. Let me research a stock per day.

Friday, March 02, 2007

blogger can learn from open source

bloggers compete with people working for money, often win.
people have always been willing o do great work for free.
people work a lot harder on stuff they like.

no one reads the average blog. print media is competing against the best writing online.
Aggregators show how much better you can do than the channel.
most articles in the print media are boring.

blogs and open source software are made by people working at home.
people make what they want, and the best stuff prevails.

Hum, We programmers are craftsmen

I first realize why computer programmers can earn more money. because we hand-made objects create wealth.
Wanna be wealthy?

start or join a startup.

startups don't change the laws of wealth creation. you will get a million a year because you work much harder than being an employee, and your creation worths that much. the more you work, the more you get. so you can get the same money in several years, while working for others takes your whole life.

need measurement and leverage. be part of a small group working on a hard problem.

if you are in a job that feels safe, you are NOT going to get rich. big potential for gain there must also be a terrifying possibility of loss.

startup's success or failure depends on the first ten employees, even first five. the small in the sense of an all-star team, ten people work as hard as you.