Saturday, December 16, 2023

午後

給chatGPT 關鍵字,秋天,週未和河畔所 產生的詩。

秋江週末悠悠轉, 柳垂金線影婆娑。 楓葉飄零如夢幻, 寧靜時光擁抱河。

我改成以下的樣子。

秋江午後轉悠悠, 柳吹金線影婆娑。 飄零楓葉幻如夢, 寧靜時光莫蹉跎。

Sunday, July 23, 2023

沒事不要動它

我在一家印帳單的公司任職。

做的是IT。

上星期又輪我值班(on call)。

客戶代表問為何不見某公司的工作(JOB。

查了一下,有檔案在目錄中,看似也執行了,且沒有任何錯誤。

但,工作不見了。

工作為何會不見呢?

經一番研究,發現,前一星期有一個更動,新加了一個功能。

但,這新功能,無關這消失的工作。

原來,該程式設計師發現有個主機的名字錯了,順手給更訂了。

原本,因為這錯的主機名字,有一段過時的程式不會被執行。

姞果,這一更正,那過時的程式便嘗試送檔案到早巳不存在的主機。

教訓: 沒有錯誤報告,而程式這樣寫,一定有它的理由,沒事,沒了解,不要動它。


記登玉山不成

決行
內人決意登玉山,定在今秋返台時,
山高仰止難適用,整裝出行首不回。

進山
高山遠路出門早,阿里站中簡餐畢,
東埔莊前無人應,眾人無奈門枯立。

入山
夜黑子時客已醒,整裝迅速不落人,
入口已見殺羽人,頭重氣結也退身。

退山
棄我回首心無力,退路反入踦路中,
步步皆險險中生,終感身好能再行。

再進
雖已狂行數點鐘,為窺山美不願停,
天將曉白路漸明,不悔重來醉重山。

入峰
眼前有峰一里高,何不先上觀羣小,
亂石無有止境處,誤入前峰己不知。

登高
使盡全身終登頂,頂峰遠望山疊山。
山高人渺無言對,對錯今生又如何。

Sunday, July 15, 2018

米飯

小女暑營二週,食西食,即將返,電令母備米飯。今天下人間美食無數 ,然不脫母食也。

Wednesday, December 23, 2015

人去橋間遊
水在橋底流
葉狂路中舞
雲自天上走

Tuesday, November 11, 2014

HP ENVY Touchsmart 15 power off suddenly!!!

    My HP Envy Touchsmart somehow power off suddenly.
    First, I think maybe the CPU too hot ( I googled it), then I install lm-sesnors and watch it , but it work fine. It under 80 degree and no power off issue.
    Second, I though I add 8G extra RAM, maybe that RAM is defeat, I pull out the extra RAM, but it still power off when I try to move the laptop.
    Third, basically yesterday I already know when I move the laptop screen or power connector  it will power off. But my though is this laptop has something broken inside. And I may need send back to HP Support ( that's I don't think it is easy task, because most of time it work fine, how can I explain what's wrong to support people) .  Suddenly I got an idea when my hands still hold the screwdriver. Why not check the screw around the screen and laptop's body, it did feel loose , after I tighten it. There is no abruptly power off issue now.
    Lesson learn: Hard question ( no idea how it happened ) may have easy answer.

Thursday, April 24, 2014

error: src refspec staging does not match any.

I have two repository, one is development the other is staging. After finish the development, I will push to staging remote repo. I try to push to it and got:
 
git push interview staging  
error: src refspec staging does not match  
error: failed to push some refs to 'git@github.com:chienyuan/interview.git' any.  
It turn out I delete local staging branch. After I add the staging branch back the problem solved.
I still don't know what is the issue here. Let me study a little bits of git reference.
After an hour study, I kind of understand a little big about this refspec things. Here is good linkGit-Internals-The-Refspec.
So now I could just add push rule to .git/config
 [remote "interview"]  
   url = git@github.com:/chienyuan/interview.git  
   fetch = +refs/heads/*:refs/remotes/interview/*  
   push = refs/heads/master:refs/heads/staging  
Then I could just issue.
git push interview
Lesson Learn: Understand the internal is better way for learning git.