20150414

My Flickr account was deleted without warning

I just did a major migration from Picasa, which I failed to grand-father
and the granted storage was due.
PicBackMan helped me to do this.

Plus I decided to backup all the photos and stuffs in my PC to Flickr.

I paid for PRO account for another 2 years just a few month ago.

Flickr just delete my account since 2006.

 Along with that my yahoo ID is also completely removed

I even don't know when exactly they did that.

Maybe it's because I was login with google.
Maybe it's because "the stuffs" in my drive, which flickr encouraged me to upload with the new shiny Flickr Mac app.
Maybe it's just the man in PicBackMan hated me just used and unsubscribe their service so they reported me for fun.

Anyway the customer service just gave me a link to the whole terms saying that I abused flickr.
It's even shown in the reply title
[Flickr Case 3359099] Re: Abuse Report via email - Re: Password and sign in : unable to sign in [ref:_00DoKBVc._500o0qEaT:ref]
Wrote to yahoo account service, too. No reply.

I have some photo that I decided to keep only on Flickr.
It seems the decision was sooooo flikring wrong wrong wrong.

Here is my advise:
Keep your precious photos away from Flickr
Any of them. Before it's too late.

If you are serious about your yahoo ID, delete flickr account related NOW.
Use some flickring disposable account to UPLOAD STUFFs to Flickr.

Never pay for Flickr because there is no useful service.

The only service is sending you a link to their terms after your account is deleted.

20150316

All macbook's without usb-c is worthless now

Just don't buy.
Also, don't buy the "all-new MacBook" (Early 2015).
It's under speced and over priced.

I expect USB-C updates on all apple PC/NB.
Buy then.

20140904

Wiring diagram for 2 LACE Sensor Dually in Squier J5 Telecaster


Just came up with a wiring diagram. With 2 DTDP (push-pull) switches, one is for toggling humbuckers-singles. The other is for selecting north or south coils.
It's kinda particularly for my new Squier J5 Telecaster if I replace the stock pickups with 2 LACE Sensor Dually 's.
That will be BLUE-GOLD in the neck an RED-RED in the bridge.
The idea is inspired by Jonny Greenwood (Radiohead) 's Telecaster plus with BLUE in the neck and RED Dually in the bridge.
Not sure if it works for now.
Please leave comments. Anything, suggestions are welcome.
I will call this diagram "HSNS switch", if it's not invented until now.

20140820

吉他課

第一堂:
基本介紹
姿勢
右手撥弦

20140721

Amazon推出月費制看到飽服務

現在才知道amazon要開始月費制了。
這又喚醒了個人對月費制的懷疑:
如果月費是付給服務提供者,那誰付錢給作者?
如果月費制能夠活化以往單項購入不受青睞的作品,那作者自己免費發表再向滿意的讀者收費會不會創造更大收益,而不需要一個鎖死用戶的服務商?
付費使用這種服務是道德的嗎?
是否迫使作者必須屈服於amazon的通路下?
http://time.com/3006066/amazon-kindle-unlimited-books/

http://continuumwebdesign.com/blog/the-moral-dilemma-of-spotify/

20131003

Offline issue tracking system?

http://stackoverflow.com/questions/3657650/where-can-i-find-a-comparison-of-distributed-and-offline-issue-trackers
http://stackoverflow.com/questions/2186628/textbased-issue-tracker-todo-list-for-git

Since our company work on customer's sites,
the Redmine hosted by the company is terribly slow.
And yes, our PM actually uses a huge Excel file for issue tracking.

So, I am looking for a GUI based issue tracking system somehow like Redmine,
which works offline and is able to push change when online.

But there seems no product meet my need...

20130827

DB2 LOAD 資料列順序

維持來源資料檔案的資料列順序
需要設定參數
CPU_PARALLELISM 1

否則某些設定下,當列數大於某個數目時,會自動啟動多緒讀取。(v9r7?)
效能較好,但會使資料列匯入順序變得無法預期。

20130702

Picasa (G+ photo) vs flickr 2013更新版

更新:
我的Flickr帳號被刪除 我建議大家離開Flickr
除非你想冒著所有照片和yahoo帳號一起被刪的風險
http://misivic.blogspot.tw/2015/04/my-flickr-account-was-deleted-without.html


如果可以爲了上傳最高解析度,忍受flickr比較慢的速度
=用flickr免費

如果可以爲了上傳速度,忍受G+的解析度限制
=用Picasa免費

要用到超過1TB,而且不屑註冊新帳號
=flickr付費

要用到超過15G而且你是Google信徒
=Picasa付費


20130423

Version control of database schema

After a very painful merge process, I come up with these practice.
Maybe not THE best practice, but at least these will eliminate most problems.
And NO, these practice only applies to database WITHOUT foreign keys and other dependency between objects.
By the way, I only worked with DB2.

  1. One file per main object. Match the name of file and the object within. The idea is to follow the java object law.
  2. If migrating from files with many objects, eliminate all diff noise before you do teardown.
  3. Keep only ddl's, the final state of an object creating script. You also need a one-fits-all script to submit them all at one push.
  4. Keep schema alteration SQL's in another folder, only in release branch or trunk per release. Version the whole folder, which means keep only those for the migration from the last release.
For anyone needs foreign keys and other dependency between objects, try to hack the object naming and let them work through your deploy script.

I hope these will work. Please leave comments!

Go! Go! Destroy! PPCC!
BiS rules!
Nozoshyan is so cute.

20130110

One line command to restart IDENTITY in all tables

One single line command to restart all IDENTITY columns genrate by default in all tables in SCHEMA 'db2inst1':

db2 -x "select 'SELECT ''ALTER TABLE DB2WMS.'||T.TABNAME||' ALTER COLUMN ID RESTART WITH ''||TO_CHAR(CASE WHEN MAX(ID) >= 500 THEN MAX(ID) + 1 ELSE 500 END) FROM '||T.TABNAME FROM SYSCAT.TABLES T,SYSCAT.COLUMNS C WHERE T.TABNAME = C.TABNAME AND T.TABSCHEMA = C.TABSCHEMA AND T.TABSCHEMA = 'db2inst1' AND T.TYPE = 'T' AND C.GENERATED ='D'" | db2 -x +p | db2 -v +p

20121108

DB2開啟ORACLE相容的問題

最近踩到的坑。 1.TRANSLATE函數參數的順序相反: ORACLE: TRANSLATE(string,from,to) DB2: TRANSLATE(string,to,from) 2.不確定是哪個相容flag,將空字串視為NULL。 預設是關閉的,在判斷式會有蠻多問題,如 trim(' ')='' trim(' ') IS NULL trim(' ') in ('',NULL) 這3個判別式的結果預設和轉換開啟時是完全相反的

20120901

恋のヌルポ

恋のヌルポ (作詞:@memoticu)

Calling calling
me.love(you) 愛してる true
Calling calling
you.me(love) 恋してる true
運命さえ感じられる
輝き満ちた日々
Calling calling
me.love(you) ヌルポ どうした?
Calling calling
you.me(love) ヌルポ どうして?
運命さえ感じられた
輝き 消えた
きっといっぱい辛い思いさせたね
でなきゃ
バッファーオーヴァーフロー
起こさなかった
君の
アドレスには
もう届かない
レファレンス
恋のヌルポエラー

20120407

Perfume - Spring of Life MV 感想


日本人對於機器人的感情真的很異常。
機器人有關的創作量世界第一之外,擬人化的創作也絕對是世界第一。
例如vocaloid。
我在想是不是因為他們覺得自己很像機器人,活在沈重的規制跟責任下。
就如perfume這次的pv、AKB48的Beginner,
實際上有很多作品似乎都有這個暗示:
你們活的跟機器人一樣,應該要更有感情。
另一個原因可能是日本文化傳統上對於器物工具的執著就很深。
東西用久了會變妖怪,所以什麼都可以擬人化。
他們似乎相信人最後能跟工具溝通。
反過來說,他們似乎也相信人可以跟工具一樣活著。
於是無生物擬人化,人又變機器人,
機器人又變成有靈魂的機器人這樣。

其中又有一個很重要的因子,就是「偶像」。

日本人似乎不會否認「偶像」是一種建前的存在,被塑造出來的形象。
偶像具有處女性、神性,是美德、美、夢想的結晶。
有可能便便都是香的(今昔物語
但是偶像也常常被認為是被操弄的存在,
被公司塑造虛假的形象,枕營業傳聞等。
所以偶像在pv演出機器人其實像是雙重的隱喻。
pv的結局中機器人獲得感情,偶像本身的感情有沒有解放卻不得而知。

就好像BiS的My Ixxx PV 。
畫面中三個純潔的少女在大自然裡自由嬉戲,
可是他們是偶像,
他們背負幕後黑手要他們成為搖滾偶像,
全裸炒話題,
同伴的脫退,
強勁對手入團等等的壓力。
顯現在1:19的地方

20120404

Firefox on OS X: command+w

When the last tab of a window is closed, the window is also closed, finally.

20120322

document.all(id) equavilent for common browsers

        var items = document.getElementsByTagName('*');
        for(var i=0; i < items.length; i++)
            if(items[i].getAttribute('id')=== id )
                foo(items[i]);