想聽matika碎碎唸嗎? 你來對地方了!
星期日, 1月 31, 2010
星期五, 1月 29, 2010
iPad出來了, 有像樣的Android Pad可以對打嗎? Part I.
iPad出來了, 有像樣的Android Pad可以對打嗎?
iPad在千呼萬喚之下, 由2002的謠言到現在, 終於"生出來了"!
定位就介於MacBook與iPhone間, 有人甚至戲稱為放大的iPod Touch.
比起iPod Touch, 除了CPU(採用PA semi的CPU)有加強之外, 不難發現apple
還是在"Last mile"上面下足了功夫.
APPs- 應可沿用現有iPhone/Touch軟體, 並追加了iPad版本的iWorks
Music- 現在線上的音樂商店誰做的比iTunes Store還好?
eBooks- 原本iTunes store就有電子書, 現在又有McGraw Hill等出版商的支援,
在內容方面真是如虎添翼.
上網- 可惜的是Safari可能還是不適用某些非ActiveX元件不可的網站.
影像處理- 有相機套件, 應可簡單的處理RAW檔.
----------------我是分隔線-------------------------------------
再來看看Google陣營, 有沒有對應的產品可抗衡....姑且叫Android Pad.
CPU就用snapdragon, 螢幕跟尺寸也都暫定跟iPad一樣吧..
APPs- Android Market還很年青, 軟體種類跟數量跟AP store還有好一段差距
Music- Google有準備好線上或是電腦端的音樂管理以及音樂商店嗎? 沒有...(自行copy到記憶卡)
eBooks- Google是有線上電子書啊, 可是內容呢? 好像也沒有力的出版商奧援?
(如果Google已經有google checkout, 付款不是問題, 問題在於內容的整合)
上網- Chrome跟Safari比起來, 並沒有非常大的優勢..
影像處理- ??? 好像只有簡單的Picasay之類的軟體..
把Google的所提供的服務, 拉開來看其實洋洋灑灑的一大列很是壯觀..
Gmail/Google doc/Google calendar/Google translate/Google map/Google google..etc
但是目前看來, 好像太急著催促使用者把資料都丟到雲端, 其實滿多人還是很依賴outlook notes的,
google在local端的資料整合還是差一些, 否則也不會有Missing sync這樣的第三軟體好好的把
PIM/文件/音樂/影片/鈴聲等好好整合了..
如果今天有iPad 跟Android Pad, 都賣$499, 你要選哪一個?
星期六, 1月 16, 2010
智器Q7/V7的差別
Q7是一顆ARM11 CPU, 沒有1080P硬解能力
V7用了Telechips 8902. 有1080P硬解能力.
簡單的講, Telechips不可能自己去研發一棵ARM11 CPU, 但是他們自己是MP3/MP4 chip
研發商, 所以就買了ARM11 CPU的die. 跟自己公司的1080P decoder的die封裝在一起,
變成一顆新的IC, 體積跟耗電都會比ARM11+1080P decoder兩個加起來小, 而且成本也會低一點..
這叫做MCP(多晶片封裝)..
http://zh.wikipedia.org/wiki/%E5%A4%9A%E6%99%B6%E7%89%87%E6%A8%A1%E7%B5%84
再白話點解釋就是.
V7 的CPU是ARM11 -> 排骨便當
1080P decoder -> 雞腿便當
當你兩個都需要時, 你不必兩個便當都買, 你只要準備一個略大的便當盒, 把排骨跟雞腿放到大的便當盒裡面即可
不必單獨買兩個便當.
Resolution definition
Live wall paper
The source code of Nexus one live wallpaper(Galaxy)
void createParticle(struct Stars_s *star, struct Particles_s *part, float scale) {
float d = fabsf(randomGauss()) * State->galaxyRadius * 0.5f + randf(64.0f);
float id = d / State->galaxyRadius;
float z = randomGauss() * 0.4f * (1.0f - id);
float p = -d * ELLIPSE_TWIST;
* Initialize all the stars. Called from Java.
*/
void initParticles() {
if (State->isPreview == 1) {
angle = 0.0f;
}
struct Stars_s *star = Stars;
struct Particles_s *part = Particles;
int particlesCount = State->particlesCount;
float scale = State->galaxyRadius / (State->width * 0.5f);
int i;
for (i = 0; i < clear="none">createParticle(star, part, scale);
star++;
part++;
}
}
void drawSpace(float xOffset, int width, int height) {
bindTexture(NAMED_PFBackground, 0, NAMED_TSpace);
drawQuadTexCoords(
0.0f, 0.0f, 0.0f, 0.0f, 1.0f,
width, 0.0f, 0.0f, 2.0f, 1.0f,
width, height, 0.0f, 2.0f, 0.0f,
0.0f, height, 0.0f, 0.0f, 0.0f);
}
星期日, 9月 13, 2009
Windows 7的Trim command真是SSD救星?
M$日前宣佈Windows 7具有Trim command, 可強化SSD的效能與使用壽命...
價格合理的Android Phone何時會來?
所謂"高科技電腦公司"還有"三爽"目前所發售的Android Phone價格都高的嚇人,除了魔術師之外, 每支都要價NT20000以上, 這會不會與Google想席捲Mobile產品市場的預期相違背呢?
標籤: Phone and GPS
星期日, 5月 17, 2009
[私房菜]大陳年糕
星期一, 3月 16, 2009
Wear-Leveling(Advance intro)
星期日, 3月 15, 2009
[疑問]燃指的意義??
[私房菜]清爽的日式燉肉作法:
星期四, 11月 06, 2008
Obama Victory Speech Transcript
Obama Victory Speech Transcript
Sen. Barack Obama spoke at a rally in Grant Park in Chicago, Illinois,after winning the race for the White House Tuesday night. The followingis an exact transcript of his speech.
Obama:
Hello, Chicago.
If there is anyone out there who still doubts that America is a placewhere all things are possible, who still wonders if the dream of ourfounders is alive in our time, who still questions the power of ourdemocracy, tonight is your answer.
It's the answer told bylines that stretched around schools and churches in numbers this nationhas never seen, by people who waited three hours and four hours, manyfor the first time in their lives, because they believed that this timemust be different, that their voices could be that difference.
It's the answer spoken by young and old, rich and poor, Democrat andRepublican, black, white, Hispanic, Asian, Native American, gay,straight, disabled and not disabled. Americans who sent a message tothe world that we have never been just a collection of individuals or acollection of red states and blue states.
We are, and always will be, the United States of America.
It's the answer that led those who've been told for so long by so manyto be cynical and fearful and doubtful about what we can achieve to puttheir hands on the arc of history and bend it once more toward the hopeof a better day.
It's been a long time coming, but tonight,because of what we did on this date in this election at this definingmoment change has come to America.
A little bit earlier this evening, I received an extraordinarily gracious call from Sen. McCain.
Sen. McCain fought long and hard in this campaign. And he's fought evenlonger and harder for the country that he loves. He has enduredsacrifices for America that most of us cannot begin to imagine. We arebetter off for the service rendered by this brave and selfless leader.
I congratulate him; I congratulate Gov. Palin for all that they'veachieved. And I look forward to working with them to renew thisnation's promise in the months ahead.
I want to thank mypartner in this journey, a man who campaigned from his heart, and spokefor the men and women he grew up with on the streets of Scranton androde with on the train home to Delaware, the vice president-elect ofthe United States, Joe Biden.
And I would not be standing heretonight without the unyielding support of my best friend for the last16 years the rock of our family, the love of my life, the nation's nextfirst lady Michelle Obama.
Sasha and Malia I love you bothmore than you can imagine. And you have earned the new puppy that'scoming with us to the new White House.
And while she's nolonger with us, I know my grandmother's watching, along with the familythat made me who I am. I miss them tonight. I know that my debt to themis beyond measure.
To my sister Maya, my sister Alma, all myother brothers and sisters, thank you so much for all the support thatyou've given me. I am grateful to them.
And to my campaignmanager, David Plouffe, the unsung hero of this campaign, who built thebest -- the best political campaign, I think, in the history of theUnited States of America.
To my chief strategist David Axelrod who's been a partner with me every step of the way.
To the best campaign team ever assembled in the history of politics youmade this happen, and I am forever grateful for what you've sacrificedto get it done.
But above all, I will never forget who this victory truly belongs to. It belongs to you. It belongs to you.
I was never the likeliest candidate for this office. We didn't startwith much money or many endorsements. Our campaign was not hatched inthe halls of Washington. It began in the backyards of Des Moines andthe living rooms of Concord and the front porches of Charleston. It wasbuilt by working men and women who dug into what little savings theyhad to give $5 and $10 and $20 to the cause.
It grew strengthfrom the young people who rejected the myth of their generation'sapathy who left their homes and their families for jobs that offeredlittle pay and less sleep.
It drew strength from thenot-so-young people who braved the bitter cold and scorching heat toknock on doors of perfect strangers, and from the millions of Americanswho volunteered and organized and proved that more than two centurieslater a government of the people, by the people, and for the people hasnot perished from the Earth.
This is your victory.
And I know you didn't do this just to win an election. And I know you didn't do it for me.
You did it because you understand the enormity of the task that liesahead. For even as we celebrate tonight, we know the challenges thattomorrow will bring are the greatest of our lifetime -- two wars, aplanet in peril, the worst financial crisis in a century.
Evenas we stand here tonight, we know there are brave Americans waking upin the deserts of Iraq and the mountains of Afghanistan to risk theirlives for us.
There are mothers and fathers who will lie awakeafter the children fall asleep and wonder how they'll make the mortgageor pay their doctors' bills or save enough for their child's collegeeducation.
There's new energy to harness, new jobs to be created, new schools to build, and threats to meet, alliances to repair.
The road ahead will be long. Our climb will be steep. We may not getthere in one year or even in one term. But, America, I have never beenmore hopeful than I am tonight that we will get there.
I promise you, we as a people will get there.
There will be setbacks and false starts. There are many who won't agreewith every decision or policy I make as president. And we know thegovernment can't solve every problem.
But I will always behonest with you about the challenges we face. I will listen to you,especially when we disagree. And, above all, I will ask you to join inthe work of remaking this nation, the only way it's been done inAmerica for 221 years -- block by block, brick by brick, calloused handby calloused hand.
What began 21 months ago in the depths of winter cannot end on this autumn night.
This victory alone is not the change we seek. It is only the chance forus to make that change. And that cannot happen if we go back to the waythings were.
It can't happen without you, without a new spirit of service, a new spirit of sacrifice.
So let us summon a new spirit of patriotism, of responsibility, whereeach of us resolves to pitch in and work harder and look after not onlyourselves but each other.
Let us remember that, if thisfinancial crisis taught us anything, it's that we cannot have athriving Wall Street while Main Street suffers.
In thiscountry, we rise or fall as one nation, as one people. Let's resist thetemptation to fall back on the same partisanship and pettiness andimmaturity that has poisoned our politics for so long.
Let'sremember that it was a man from this state who first carried the bannerof the Republican Party to the White House, a party founded on thevalues of self-reliance and individual liberty and national unity.
Those are values that we all share. And while the Democratic Party haswon a great victory tonight, we do so with a measure of humility anddetermination to heal the divides that have held back our progress.
As Lincoln said to a nation far more divided than ours, we are notenemies but friends. Though passion may have strained, it must notbreak our bonds of affection.
And to those Americans whosesupport I have yet to earn, I may not have won your vote tonight, but Ihear your voices. I need your help. And I will be your president, too.
And to all those watching tonight from beyond our shores, fromparliaments and palaces, to those who are huddled around radios in theforgotten corners of the world, our stories are singular, but ourdestiny is shared, and a new dawn of American leadership is at hand.
To those -- to those who would tear the world down: We will defeat you.To those who seek peace and security: We support you. And to all thosewho have wondered if America's beacon still burns as bright: Tonight weproved once more that the true strength of our nation comes not fromthe might of our arms or the scale of our wealth, but from the enduringpower of our ideals: democracy, liberty, opportunity and unyieldinghope.
That's the true genius of America: that America canchange. Our union can be perfected. What we've already achieved givesus hope for what we can and must achieve tomorrow.
Thiselection had many firsts and many stories that will be told forgenerations. But one that's on my mind tonight's about a woman who casther ballot in Atlanta. She's a lot like the millions of others whostood in line to make their voice heard in this election except for onething: Ann Nixon Cooper is 106 years old.
She was born just ageneration past slavery; a time when there were no cars on the road orplanes in the sky; when someone like her couldn't vote for two reasons-- because she was a woman and because of the color of her skin.
And tonight, I think about all that she's seen throughout her centuryin America -- the heartache and the hope; the struggle and theprogress; the times we were told that we can't, and the people whopressed on with that American creed: Yes we can.
At a timewhen women's voices were silenced and their hopes dismissed, she livedto see them stand up and speak out and reach for the ballot. Yes we can.
When there was despair in the dust bowl and depression across the land,she saw a nation conquer fear itself with a New Deal, new jobs, a newsense of common purpose. Yes we can.
When the bombs fell onour harbor and tyranny threatened the world, she was there to witness ageneration rise to greatness and a democracy was saved. Yes we can.
She was there for the buses in Montgomery, the hoses in Birmingham, abridge in Selma, and a preacher from Atlanta who told a people that "WeShall Overcome." Yes we can.
A man touched down on the moon, a wall came down in Berlin, a world was connected by our own science and imagination.
And this year, in this election, she touched her finger to a screen,and cast her vote, because after 106 years in America, through the bestof times and the darkest of hours, she knows how America can change.
Yes we can.
America, we have come so far. We have seen so much. But there is somuch more to do. So tonight, let us ask ourselves -- if our childrenshould live to see the next century; if my daughters should be so luckyto live as long as Ann Nixon Cooper, what change will they see? Whatprogress will we have made?
This is our chance to answer that call. This is our moment.
This is our time, to put our people back to work and open doors ofopportunity for our kids; to restore prosperity and promote the causeof peace; to reclaim the American dream and reaffirm that fundamentaltruth, that, out of many, we are one; that while we breathe, we hope.And where we are met with cynicism and doubts and those who tell usthat we can't, we will respond with that timeless creed that sums upthe spirit of a people: Yes, we can.
Thank you. God bless you. And may God bless the United States of America.
星期一, 8月 04, 2008
台灣 = 代工 ??
前幾周跟一個德國客戶聯絡, 聊到他們的作息, 他公司是這樣的:
一週上班四天:一,二,四,五
週三固定是公司運動的日子, 你可以自行參加付費運動, 公司可以報帳
下午5:30下班, 5:35警衛就來關門放狗...不 , 關燈關冷氣趕人了..
他們公司作ASIC design, 交給台灣廠商代工製造, 作成的IC, 佔成品成本的60%..
另外還有許多IP的收入, 每年躺著收權利金..
反觀身邊的朋友及自己的公司, 大家做牛做馬就是彼此競爭, 要搶到歐美大廠的訂單,
毛利低的可憐, 全球90%以上都是MIT又如何, 關鍵零件還是歐美或是日系廠商的專利..
我們的價值只在於用很快的速度, 很低的成本把產品做好交給客戶..
台灣強的, 在於供應鍊的銜接以及組裝程序的改進...
排骨飯物語
我想到一個故事...
某甲有作過一段餐飲業, 某日走進一間餐廳叫了85元的排骨飯來吃..
吃著吃著, 心理有些想法..
便跟老闆聊了一下自己的意見:
老闆, 我覺得你的排骨醃的味道很好. 但是搭配的小菜可以再爽口一點, 最好還能送個簡單的湯,
這樣比較能跟巷口自助餐賣的49元排骨飯有點區隔, 生意可能會好些.
隔壁客人之一聽到了:
你懂個屁啊! 這樣子的排骨飯就很好吃了, 你還嫌什麼啊
隔壁客人之二聽到了:
對啊對啊! 你講那麼多, 你怎麼不自己開一家店來作, 才知道老闆有多辛苦!
隔壁客人之三聽到了:
我聽說你以前老闆對你評價不太好耶, 你怎麼還有資格批評別人啊!
隔壁客人之四聽到了:
是啊, 你到每一間餐廳都只會嫌人家, 你自己又多行?
星期五, 8月 01, 2008
星期一, 1月 07, 2008
Wear levelling
What is Wear levelling?
From Wikipedia, the free encyclopedia
Wear levelling (also written wear leveling) is a technique for prolonging the service life of some kinds of erasable computer storage media, such as flash
memory. The term has also been used by Western Digital to describe their
hard disk preservation technique, but hard disks are not generally
wear-levelled devices.
http://en.wikipedia.org/wiki/Wear_levelling
對於SSD(Solid State Disk)而言, 不論採用的flash是SLC或是MLC都有一定的
寫入壽命,
在SSD普及的前提下, 採用MLC已是勢在必行的趨勢.以SLC而言, 大約為1百萬次的寫入次數; MLC則為10萬次.
而MLC的成本大約為SLC的1/3
所以, 對一個以MLC製成的SSD, 我們已知每個block平均寫入次數達10萬次
時, 就有可能造成bad block, 對於存取頻繁的應用, 會是很大的問題.
因此, Wear Leveling開始受到重視, 因為它能盡量平均每個Block的寫入次數,
舉例來說..
如果有一個8G的SSD, 其中4G已寫入資料(System + User data), 其中寫入最
頻繁的區域應該是:系統暫存檔(OS及Browser cache)以及User data, 如果資
料都不移動,
可估計如下-
每分鐘寫入1次
每天使用SSD10小時, 一週工作5天
100,000(1*60*10*5) = 33周
這數字可能有點誇張, 但可大略估計33周後就有可能出現bad block.
問題是, 既然這是無法避免的, 那總有方法可以拉長這段時間吧?
Wear leveling大致有幾種方式-
1. YAFFS Data Structure
(保留部份Block,若部份Block毀損時可使用保留的Block取代)
請參考:http://esslab.tw/wiki/index.php/YAFFS
2. Dynamic/Static wear leveling
簡單的說就是把常用block跟不常用的block互調位置, 藉以平均
寫入次數.
2. RAM disk
(將系統Temp file及Browser cache指向DRAM虛擬的RAM disk)
3. ECC algorithm
BCH, bit addressing
Bose、Ray-Chaudhuri and Hocquenghem
Reed somloman
http://www.4i2i.com/reed_solomon_codes.htm
星期日, 1月 06, 2008
謝謝你, xx先生!
看來某篇文章又攪亂一池春水, 搞得幾位先生很緊張,
應援團也紛紛出動, 還會跟我談條件, 真是有趣.
這種事不是第一次遇到, 剛開始還會被弄的心情不好,
現在的我, 把它當作是磨練EQ的機會.
所以, 我誠心的說:
謝謝你, xx先生!
也順便留話給應援團的各位, 很多事, 你在幫別人出頭前,
可能要查一下是否屬實比較好, 很多事不是一人說了就
算., 不妨多問幾人查證..
接下來還有什麼招數呢?
該不會把我小時候偷偷欺負隔壁小朋友的事都挖出來?
(以上是亂講的, 請勿當真)
辛苦啦~ 各位~~
星期五, 12月 07, 2007
給這些覺得人命比動物命賤的人看!
每次別人在討論流浪動物或是寵物時, 總會有人出來說:
人命比動物賤啦!
你們寧願幫助動物都不助人呢?
你又怎麼知道餵養街上貓狗的人, 沒有幫助人嗎?
是不是還要登報昭告天下?
我告訴你.
人可以工作賺錢, 可以跟人借錢, 可以領失業救濟金,
而動物可以嗎?
你要一隻街貓表演雜耍給你看, 然後自己收錢自己去買飼料嗎?
人會騙人, 流浪漢可能有假的,
而流浪的動物會騙人, 騙錢嗎?
回你的話, 如果真有那樣的成年人, 大家會要他自己找個工作!
而動物有工作可作嗎? 有社會福利保障嗎?
流浪貓狗壽命是很短的, 疾病, 污染, 飢餓, 地盤競爭, 車禍, 虐殺的變態,
樣樣都是威脅, 在行有餘力之時, 帶牠回家, 給牠一個家就是我能做的!
不知不覺, 福福已經走了3個禮拜...
之前寫的文章..
---------
週三下午四點多, 外婆打電話給我, 說福福走了, 要我快回來,
雖然心理早有準備, 但是還是呆了幾十秒.
在回家的路上, 我先打電話給業者, 跟他們約好時間來帶, 回到家,
發現福福其實還沒走, 但已經氣若游絲, 無法回應我們的撫摸與呼喚了,
聽外婆說他整個下午都在呻吟, 聽了讓人都心碎了; 我想我必須狠下
心提早送他走, 不要讓他再受這樣的折磨了..
接著我打電話給動物醫院, 約好等下立刻過去; 同時也約好業者在
動物醫院碰面...
我用提籃提著福福走向動物醫院, 短短的距離我卻希望永遠走不完該多好,
但這是個自私的想法, 福福每分每秒都正在受苦...
另一個想法湧上心頭, 我好像要把福福帶到刑場, 他再也沒有機會回來,
我好像是個劊子手一般要結束他的生命..
但我真的不忍他再受苦了!
到了醫院, 醫生再次問我確定要作嗎?
我回答確定..我很驚訝我自己竟然沒有猶豫
醫生準備好藥劑, 我一手托著福福的頭, 一手撫摸他的耳朵, 輕輕說
不要害怕, 等下就好好睡覺, 就不會再疼了!
醫生綁起靜脈, 打入第一針麻醉劑, 這時我可以感覺到他微微發抖..
這時我好想喊停!!
過了幾十秒, 他的呼吸漸漸便慢, 慢到幾乎無法察覺; 到這一刻我真的好
捨不得...
接下來打入第二劑. 醫生說是平滑肌鬆弛劑, 也就是讓心臟停止...
隨著藥劑的注入, 我的心都揪在一起...
醫生稍後用了聽診器, 確認心跳已停止..
這時福福抽搐了兩下, 我都快哭出來, 醫生說那是正常的肌肉反射..
而我卻認為那是福福捨不得走, 不想走, 是我強迫他走的!
這時覺得自己好過份!
醫生接著準備箱子, 我把福福抱起, 仍有餘溫, 身體也還是軟的,
我很難說服自己他已經走了...把他放進箱子, 在候診室等業者
來到..
這時, 我打電話給女友, 她幾周前才來我家看過福福, 電話的那端,
她哭了..我也忍不住哭了, 但是在醫院我忍住不要哭出聲, 但淚水
卻如潰堤般的止不住...
10分鐘後業者來了, 我把箱子交給他, 並約定好週六過去一趟..
回家的路上提著空的提籃, 少了一些重量卻更沈重了..
回到家, 分別跟外婆及海外的老媽說了這件事, 這次我忍住不哭,
卻還要安慰電話那端的人別哭..
半夜醒來, 直覺中要去看看福福(平常半夜都要看一下他的狀況),
他睡得的地方空空的, 我還下意識看了一下週邊看他躲到哪, 這才
想到他走了...
早上出門前穿鞋子時, 又對著那塊空間發呆, 然後才出門...
直到現在還覺得心裡有個洞..
寫到這裡又忍不住擦擦眼淚了, 我真是個愛哭鬼!
---全文完---
也許有人會認為我很狠心, 為何不讓他自然走..
我必須說, 在這個時刻, 必需要有人做出這個決定, 而不是讓他
一直承受肉體病痛的折磨..就算我是個壞人吧...
媽媽跟外婆都說, 以後不要再養這些貓狗了, 我看了旁邊睡著的咪咪
跟小虎, 還是跟他們說, 如果能力許可, 我還是會繼續養的...
我更不忍他們流落街頭啊...
而人同動物一樣, 誰能逃得了生老病死呢??