Jul 30 2010

今天manager给我做了review

Published by weixin under 杂七杂八

谈不上好, 和旁边的peer比, 也谈不上坏。问我有什么意见, 我也没什么意见。问我感觉load大不大, 我说不大。问我感觉是不是有push, 我说还好。像我这种small potato好像没什么意见可发表的。混饭吃,等绿卡呗。

不过有一句中肯, 提高水平是王道。这是唯一我能控制的。所以有时多干活, 其实也是为自己。

One response so far

Aug 03 2010

我自己把冰箱修好了。十分有成就感。

Published by weixin under 杂七杂八

家里的冰箱有点问题。下面制冷良好,但是上面却是室温。制冷良好说明基本的部件, 比如压缩机和制冷机没坏,但是上面温度不够低,我猜想是air flow的问题。
所以自己试图修理一下。

我在网上download了kenmore的manual和它的parts diagram. 看了一下,很确定是air flow 有问题,所以导致下方的冷气无法循环到上方。

未完待续.....

One response so far

Aug 17 2010

我自己把冰箱修好了。十分有成就感。

Published by weixin under 杂七杂八

又有很久没来了。接着写。

我在冰箱的外壳上找到了冰箱的品牌和型号,brand name is Kenmore, model # is 10659582990.
然后我就在网上开始搜,感谢党,感谢人民, 感谢bing(排名分先后), 我搜到了这个链接:

http://www.searspartsdirect.com/partsdirect/getModel!retrieve.pd?modelNumber=10659582990&pathTaken=partSearch

kenmore是sears专门的品牌,也很有名, 所以比较容易就搜到了,然后开始看上面的图。前面说道我怀疑air flow有问题,所以我第一个就找到了air flow的配件图。 为什么怀疑air flow 有问题,我看了一篇7页长的冰箱故障快速入门,大概清楚了冰箱的制冷,除霜循环, 蒸发装置等等, 所以决不是拍拍脑地就做的判断。

拿到这个配件图,还是不懂啊,先不管,把冰箱拆了再说。拆哪? 怎么拆? 这个问题是根本性的和方向性的问题。我第一直觉是拆冰箱后背的大盖子。 看了半天没见有螺丝,踟蹰良久,还是不敢轻举妄动。都说窥一斑而知全豹, 我看着air flow的配件图,硬是不知道这东西是在哪里。

没辙,只好问高人。我打电话问罗叔,然后跟他描述了一下冰箱的症状,我的分析判断等等。然后问他我是不是该拆后面。前面的分析他很赞同,但是却断然阻止我拆冰箱后背。后面是制冷的冷凝管, 如果要拆后面的,估计也一般很难在家里修好了。这让我想起一个故事,说一个大牛去厂里帮人修机器,在机器上画了根线,说故障就在这里,然后charge 了一万刀。 其他人很不忿, 认为不值。他说,画根线1刀,知道在哪儿画, 9999刀。 罗叔这番话给我省了800刀估计,买台新的估计就是这个价。 所以其实这个冰箱不是我修好,是罗叔修好的。

他告诉我说把冰箱门打开,看看有没有什么玄机。因为我的冰箱是side by side, 也就是左右两扇门,这种都比较大,罗叔对这种不太熟。 他让我找有没有看到一排铝管子什么的。然后我左看右看,看见在冰箱的下部有一块塑料板,螺丝拧着,好像可以下下来。

继续未完待续......


3 responses so far

Sep 04 2010

POJ 3497 —— Assemble

Published by chenyajun under POJ

装机问题,你要装一台电脑,电脑由多个配件组成,给定配件类型 type,名字 name,价格 price,质量等级 quality。在保证预算不超过的前提下求使得电脑质量等级尽可能高的方案。一个电脑的质量等级由质量最低的那个配件等级所决定。
将配件按类型排序,然后二分配件等级,同一个类型的选择价格较低的,由此计算总价格。
Continue Reading »

No responses yet

Sep 04 2010

POJ 2081 —— Recaman’s Sequence

Published by chenyajun under POJ

说有一个序列,a[0] = 0 ;对于 m > 0,a = a − m,如果 a 是正的并且没有出现在序列中,否则 a = a + m。问序列的第 k 项是多少。
貌似不复杂,不过得用位操作来检查元素是否存在过,不能直接查找。
Continue Reading »

No responses yet

Sep 04 2010

但斌:A 股仍处在黄金时代

Published by chenyajun under 投资

穿越历史,回到现在;
仰望星空,脚踏实地。

No responses yet

Sep 04 2010

POJ 1583 —— Choose Your Words Carefully

Published by chenyajun under POJ

基本的字符串问题。

No responses yet

Sep 04 2010

POJ 1658 —— Eva’s Problem

Published by chenyajun under POJ

貌似一个很基本的问题。

http://blog.csdn.net/manio/archive/2006/01/23/586560.aspx

No responses yet

Sep 04 2010

POJ 2187 —— Beauty Contest

Published by chenyajun under POJ

计算几何问题,求凸包,然后枚举凸包中的点,不过好像有更简单的办法。

http://www.cppblog.com/varg-vikernes/archive/2010/02/16/107919.aspx

No responses yet

Sep 04 2010

our Actuate 11 would be released soon.

Published by weixin under 杂七杂八

after more than one year's hard work. Actaute 11 would be released soon. Now it is in final stage. Today is the last day of final milestone. After 'final', every check in need to get approve after discussion. I will record a demo to show some features of this product. This is a first complete Journey to me - from design, implementation, integration and test. hope it will sell well.

No responses yet

Sep 04 2010

js array map function

Published by weixin under 杂七杂八

The map method will call the provided function for each value of the array and it will return an array containing the results of those function calls.

The callback function is called with three arguments: the value, the index, and a pointer to the array being used respectively.

In the following example each element of the array is tested to see if it is numeric, if it is, it's passed into the new array, otherwise a zero is inserted.

for ex,

var isNumeric = function(x) {
// returns true if x is numeric and false if it is not.
var RegExp = /^(-)?(\d*)(\.?)(\d*)$/;
return String(x).match(RegExp);
}
var testElement = function(x) {
if (isNumeric(x)) {
return x;
} else {
return 0;
}
}

var myArray = [1,'two',3,'four',5,'six',7,'eight',9,'ten'];
var newArray= myArray.map(testElement);
document.writeln(newArray); // outputs: 1,0,3,0,5,0,7,0,9,0

No responses yet

Sep 03 2010

POJ 1154 —— LETTERS

Published by chenyajun under POJ

一个矩形由字母构成,遍历,相同字母不得走两次,问最长路径是多少。
bfs 问题,表示状态可以用位操作,因为只有 26 个字母。
Continue Reading »

No responses yet

Sep 03 2010

POJ 1905 —— Expanding Roads

Published by chenyajun under POJ

一根棍子夹在两堵墙直接,加热之后会膨胀。求膨胀之后棍子中点距离水平的高度。

勾股定理,二分,已知半径和弧度,如何求弧长?
假定所求高度为 mid,棍子长度为 len,勾股定理可知圆半径为 (mid * mid + len * len /4)/(2*mid)。
Continue Reading »

No responses yet

Sep 03 2010

POJ 1859 —— The Perfect Symmetry

Published by chenyajun under POJ

题目很罗嗦,直接看图吧。

求一个中间的点,简单的办法是使用二分查找。
Continue Reading »

No responses yet

Sep 02 2010

POJ 2800 —— Joseph’s Problem

Published by chenyajun under POJ

这个题目貌似很简单。就是求 sum(k % i),其中 1 < = i <= n;给定 k 和 n,求这个和。
当然可以直接算,不过会超时,因为 k 和 n 可能很大。
当 k >= n 时,应该将商分组,组中的余数是连续的,可以利用等差数列直接求和。比如 k = 36,n = 17 时,分为以下几组:
36/1;
36/2;
36/3;
36/4;
36/5,
36/6;
36/7;
36/8, 36/9;
36/10, 36/11, 36/12;
36/13, 36/14, 36/15, 36/16, 36/17。
Continue Reading »

No responses yet

Sep 01 2010

POJ 1562 —— Oil Deposits

Published by chenyajun under POJ

有些格点储存石油,求有哪些区域储存有石油。相连的储存有石油的格点连成一个区域。
Continue Reading »

No responses yet

Sep 01 2010

POJ 2284 —— That Nice Euler Circuit

Published by chenyajun under POJ

应用平面图的欧拉定理:V + F – E = 2
两两线段求交,得到交点数 V,然后判断每个交点落在几条边上,如果一个点在一条边上,这条边就分裂成两条边,边数加 1。这样得到边数 E。最后直接用欧拉定理解得面数 F。
貌似这样的问题在具体数学中讨论过。

http://baike.baidu.com/view/48903.htm

No responses yet

Sep 01 2010

POJ 3753 —— 根据关键字进行字符串拷贝

Published by chenyajun under POJ

拷贝一个串,直到遇到关键串。
Continue Reading »

No responses yet

Older Entries »