2012/12/25

施工中的南京東 (at 街旁台灣office)





施工中的南京東 (at 街旁台灣office)






via Tumblr http://cyberrob.tumblr.com/post/38765812085

2012/12/21

http://stackoverflow.com/questions/2897263/ubuntu-crashed-eclipse-lost-metadata-java-perspective-gone-missing-lost#_=_

http://stackoverflow.com/questions/2897263/ubuntu-crashed-eclipse-lost-metadata-java-perspective-gone-missing-lost#_=_:

原來只要-clean就可以了…X的…






via Tumblr http://cyberrob.tumblr.com/post/38432674524

2012/12/19

My paper made Raspberry pi case Thx E....





My paper made Raspberry pi case


Thx E. http://www.raspberrypi.org/archives/1310.






via Tumblr http://cyberrob.tumblr.com/post/38302648278

單程約25分鐘,用慢到接近散步的速度前進,但身體會發熱。 搭捷運轉公車這段雖然只要7塊錢,改用走路卻可以看到很多風景! 如果不要沿...





單程約25分鐘,用慢到接近散步的速度前進,但身體會發熱。


搭捷運轉公車這段雖然只要7塊錢,改用走路卻可以看到很多風景!


如果不要沿著南京東路走的話會更好,因為路邊騎樓下很多鬱悶的阿伯群聚在路邊抽煙或散步,南京東路車多就算了經過他們的時候真的不太蘇湖!…






via Tumblr http://cyberrob.tumblr.com/post/38274411889

Instagram Blog: Thank you, and we're listening

Instagram Blog: Thank you, and we're listening:

instagram:



Yesterday we introduced a new version of our Privacy Policy and Terms of Service that will take effect in thirty days. These two documents help communicate as clearly as possible our relationship with the users of Instagram so you understand how your data will be used, and the rules that govern…







via Tumblr http://cyberrob.tumblr.com/post/38273254277

2012/12/12

ping pong





ping pong






via Tumblr http://cyberrob.tumblr.com/post/37777854428

2012/12/11

Thank you guys, it’s so sweet! (at 街旁台灣office)





Thank you guys, it’s so sweet! (at 街旁台灣office)






via Tumblr http://cyberrob.tumblr.com/post/37702163552

2012/12/07

Photo









via Tumblr http://cyberrob.tumblr.com/post/37395779875

2012/11/16

法國烤牛肉麵包 (at 越苑)





法國烤牛肉麵包 (at 越苑)






via Tumblr http://cyberrob.tumblr.com/post/35828236859

2012/11/10

Photo









via Tumblr http://cyberrob.tumblr.com/post/35383016102

Photo









via Tumblr http://cyberrob.tumblr.com/post/35382802169

2012/10/31

robot 4





robot 4






via Tumblr http://cyberrob.tumblr.com/post/34692375634

2012/10/28

還記得幾年前,我們團隊在討論如何讓觀光客在外,可以在不同語言溝通不容易的狀況下,減少比手畫腳的困難,找到想要的地點、想購買的東西。...





還記得幾年前,我們團隊在討論如何讓觀光客在外,可以在不同語言溝通不容易的狀況下,減少比手畫腳的困難,找到想要的地點、想購買的東西。


我們想了很多技術上很神奇的作法,像是把一句話自動翻譯讓手機念出來等等….


今天看到這篇文章,我…不訝異只能覺得是個很貼切實際的解決方法:


一般外出自助遊客,不會完全沒有準備就到了某個國外景點,會事先準備些資料(可能是紙本筆記或大張地圖等等),然後到達該處之後可以拿出來查詢,或詢問。


問題是,Evernote提供了紙本筆記的替代方案,讓你可以儲存任何網路上的照片或資料在隨身的手機裡,到達該處之後,讓你可以拿出來詢問別人,或更瞭解該處。


搭配上GoogleMap,以及可能可以買到的上網預付卡!真的是無敵了!


我只能說,解法通常是更貼近現實、更簡單的,太過Fancy的技術只是讓大多數人不知道怎麼用而已!印證了蘋果科技得結合(貼近)人性的訴求!






via Tumblr http://cyberrob.tumblr.com/post/34467684256

2012/10/25

Photo









via Tumblr http://cyberrob.tumblr.com/post/34284485924

2012/10/24

fishy fishy?





fishy fishy?






via Tumblr http://cyberrob.tumblr.com/post/34226058820

2012/10/20

不知道開了有沒有用啊?!謎樣的空氣清淨機!





不知道開了有沒有用啊?!謎樣的空氣清淨機!






via Tumblr http://cyberrob.tumblr.com/post/33955232152

2012/10/18

ikea高級義大利家具





ikea高級義大利家具






via Tumblr http://cyberrob.tumblr.com/post/33822306395

2012/10/13

3 months achieved. (來自 Instagram)





3 months achieved. (來自 Instagram)






via Tumblr http://cyberrob.tumblr.com/post/33485629628

2012/10/11

bear on the ass (來自 Instagram)





bear on the ass (來自 Instagram)






via Tumblr http://cyberrob.tumblr.com/post/33361309075

這像兒童餐的沙拉是怎麼回事? (來自 Instagram)





這像兒童餐的沙拉是怎麼回事? (來自 Instagram)






via Tumblr http://cyberrob.tumblr.com/post/33360453108

Ubuntu裡的Eclipse tooltip顏色設定

Ubuntu裡的Eclipse tooltip顏色設定:

我知道你UBUNTU是免錢的,但也把顏色設定的好看點嘛…






via Tumblr http://cyberrob.tumblr.com/post/33343977408

2012/10/05

熱卡布 (來自 Instagram)





熱卡布 (來自 Instagram)






via Tumblr http://cyberrob.tumblr.com/post/32925957257

雖然簽到可以記錄到Google文件很帥,但是我已經對”簽到”這個動作麻痺了!





雖然簽到可以記錄到Google文件很帥,但是我已經對”簽到”這個動作麻痺了!






via Tumblr http://cyberrob.tumblr.com/post/32913213372

喝奶好累! (來自 Instagram)





喝奶好累! (來自 Instagram)






via Tumblr http://cyberrob.tumblr.com/post/32909939929

2012/10/04

心情事是藍色的 (來自 Instagram)





心情事是藍色的 (來自 Instagram)






via Tumblr http://cyberrob.tumblr.com/post/32870043598

來自 Instagram





來自 Instagram






via Tumblr http://cyberrob.tumblr.com/post/32861105958

使用 Instagram 攝於 cama cafe 復興北路店





使用 Instagram 攝於 cama cafe 復興北路店






via Tumblr http://cyberrob.tumblr.com/post/32860360413

2012/10/03

baby good morning! (來自 Instagram)





baby good morning! (來自 Instagram)






via Tumblr http://cyberrob.tumblr.com/post/32769028231

2012/10/01

東門站 (Taken with Instagram)





東門站 (Taken with Instagram)






via Tumblr http://cyberrob.tumblr.com/post/32648771277

"住在這裡其實就像房東說的,環境什麼都很好!唯一的不好就是房東很機車!"

“住在這裡其實就像房東說的,環境什麼都很好!唯一的不好就是房東很機車!”



via Tumblr http://cyberrob.tumblr.com/post/32631387673

"被告知是一回事,知道又是另一回事,是吧?"

“被告知是一回事,知道又是另一回事,是吧?”



via Tumblr http://cyberrob.tumblr.com/post/32631312406

2012/09/29

課表 (Taken with Instagram)





課表 (Taken with Instagram)






via Tumblr http://cyberrob.tumblr.com/post/32515575930

2012/09/26

右邊那台好像比較好玩! (Taken with Instagram)





右邊那台好像比較好玩! (Taken with Instagram)






via Tumblr http://cyberrob.tumblr.com/post/32319324190

2012/09/23

Cave-in (Taken with Instagram)





Cave-in (Taken with Instagram)






via Tumblr http://cyberrob.tumblr.com/post/32089236980

2012/09/08

Photo









via Tumblr http://cyberrob.tumblr.com/post/31119932578

2012/09/05

"一間公司的產品做出來,連自己的Sales都不知道怎麼推銷,究竟是怎麼回事???是哪裡溝通出了錯?"

“一間公司的產品做出來,連自己的Sales都不知道怎麼推銷,究竟是怎麼回事???是哪裡溝通出了錯?”



- MYSELF



via Tumblr http://cyberrob.tumblr.com/post/30915776031

好用印出檔案樹狀結構指令~

好用印出檔案樹狀結構指令~



via Tumblr http://cyberrob.tumblr.com/post/30914009314

2012/09/04

追了一整天的bug原來是!

根本就是


前人從Github拿來用之後,把功能閹割掉了…


只是在這個版本的可以重現而已…


根本就不是bug!!!






via Tumblr http://cyberrob.tumblr.com/post/30860117899

2012/09/03

改變loading樣式

我遇到需求要修改Android裡的loading樣式,從轉圈圈這種幾乎是固定的設計樣式,變成上下跳動的圖示。


這個圖示是個似乎具有特殊情感的產品ICON,所以便成了上下跳動的產品ICON。


當網路速度慢時,是可以清楚的見到這個跳動的ICON。但當網路速度快時,只會看到突然出現、突然消失的ICON!接著載入的內容突然出現。


當一個設定無法考量到所有可能性的時候,就是這樣的結果。


究竟是甚麼狀況下產生了這樣的決定?


我相信,不能只要求跨平台統一、或這樣很萌這種爛理由而已。


無論如何,這也反應了兩個團隊對於產品概念的想法完全不同!一邊是青少年剛入社會可以接受萌的團隊,一邊是累積文化已久想要尋求更深的團隊,崩潰是遲早的。






via Tumblr http://cyberrob.tumblr.com/post/30788098937

2012/08/19

母愛 (來自 Instagram)





母愛 (來自 Instagram)






via Tumblr http://cyberrob.tumblr.com/post/29760543856

2012/07/28

Arduino還可以做出無人自動飛行器,太屌了!



Arduino還可以做出無人自動飛行器,太屌了!:

自己動手做出來的話,一定超有成就感的!






via Tumblr http://cyberrob.tumblr.com/post/28185516109

2012/07/16

parislemon: Begins Falls Rises. Friday.















parislemon:




Begins Falls Rises.



Friday.







via Tumblr http://cyberrob.tumblr.com/post/27321429225

2012/07/06

來自 Instagram







來自 Instagram






via Tumblr http://cyberrob.tumblr.com/post/26614413813

2012/07/04

灌個Win8上VM來玩玩看!



灌個Win8上VM來玩玩看!



via Tumblr http://cyberrob.tumblr.com/post/26484847055

"If you’re going into a market with no existing competition, lock-in, and network effects, you..."




If you’re going into a market with no existing competition, lock-in, and network effects, you better use the Amazon model, or you’re going the way of Wordsworth.com, which started two years before Amazon, and nobody’s ever heard of them. Or even worse, you’re going to be a ghost site like MSN Auctions with virtually no chance of ever overcoming ebay. (Read Wordsworth’s reply )




If you’re going into an established market, getting big fast is a fabulous way of wasting tons of money, as did BarnesandNoble.com. Your best hope is to do something sustainable and profitable, so that you have years to slowly take over your competition.






- http://www.joelonsoftware.com/articles/fog0000000056.html



via Tumblr http://cyberrob.tumblr.com/post/26484363337

2012/07/03

澳門杏仁餅 (使用 Instagram 攝於 街旁台灣office)







澳門杏仁餅 (使用 Instagram 攝於 街旁台灣office)






via Tumblr http://cyberrob.tumblr.com/post/26408331873

What if you can only run git tree graph on text mode not eclipse plugin?



What if you can only run git tree graph on text mode not eclipse plugin?:

Poor my computer that may not able to run some plugin smoothly.






via Tumblr http://cyberrob.tumblr.com/post/26400144141

"Technology that’s merely 「state of the art」 today is going to be old and creaky in five years...."



“Technology that’s merely 「state of the art」 today is going to be old and creaky in five years. We tried to go a little bit beyond 「state of the art.」”



- http://www.joelonsoftware.com/items/2012/01/06.html



via Tumblr http://cyberrob.tumblr.com/post/26394383227

"Most Excel users never enter a formula. They use Excel when they need a table. The gridlines are the..."




Most Excel users never enter a formula. They use Excel when they need a table. The gridlines are the most important feature of Excel, not recalc.


Word processors are not just tools for writing books, reports, and letters. They provide a specific data structure: lines of text which automatically wrap and split into pages.


PowerPoint is not just a tool for making boring meetings. It provides a specific data structure: an array of full-screen images.






- http://www.joelonsoftware.com/items/2012/01/06.html



via Tumblr http://cyberrob.tumblr.com/post/26391853970

2012/06/27

Is tumblr equals Blogger?



Let’s check!






via Tumblr http://cyberrob.tumblr.com/post/25991369134

2012/04/12

一路看到底之apk反組譯

這篇要講的,其實也不是真的都看光光,在有名的拍照分享應用程式裡的濾鏡效果,就是用了比較隱晦的方式在作濾鏡。

觀看.jar檔的GUI工具,也另外提供eclipse plugin(個人偏好在獨立的GUI裡看):
http://java.decompiler.free.fr/?q=jdgui

dex2jar 可直接到手的apk檔 轉譯成 jar檔:
http://code.google.com/p/dex2jar/

常見FAQ:http://code.google.com/p/dex2jar/wiki/Faq
實際的操作方式請參考:http://code.google.com/p/dex2jar/wiki/UserGuide

除了用dex2jar可以把應用程式內的整個package結構完整呈現外(目前覺得這樣的用途比較大),另外如果要看AndroidManifest.xml等其他相關layout及resource檔的話,這邊我是用apktool來處理。

apktool:http://code.google.com/p/android-apktool/
依照各個環境下載後解開至定位,需下載 apktool-install-[OS]-* file及 apktool-* file(要不要加到path隨個人喜好)


環境:
Ubuntu 12.04
SUN Java 1.6.0_31

心得:

既然apk都能被看光光,那一般的熱門應用程式他們有用ProGuard之類的混淆器來處理apk,掩蓋他們的程式碼嗎?

Instagram沒有,Path也沒有。

我猜,他們的思維已經把應用程式視為「載具」,iOS應用程式是載具,android應用程式當然也是如此,跨平台當然可以幫助增加使用者量,但重要的還是如何讓使用者喜歡!(Instagram Android 版載入圖片速度超慢阿...但我還是會用耶!真神奇!)

也許我們還小鼻子小眼睛,總是寫了一些東西就怕被抄,想趕快保護起來吧!算算歐美也被我們抄了幾十年了,為何我們產業還是只能跟隨在後面?心態思維上的差異,讓我不僅汗顏...

真正有價值的是能創造出整個服務跟體驗的團隊人員,寫出來的程式只是結果,就像你看NBA球員滿場飛奔猛灌很爽,也來學個他們的動作,比一比當然是自娛娛人,但為何他們除了可以做出誇張的動作,生涯又可長可久,還能做出經濟效益?因為他們除了天份,基本功底子深厚,投入自主練習時間超長(長不是代表我們這種長工時...),自然能各自發展出各種類型的球員,既互補、又競爭。

比賽只是展現結果,
程式碼也是如此!


2012/04/05

使用Fragment寫的第一個案例

follow http://www.vogella.de/articles/Android/article.html#fragments 這個教學自製了一個簡單的project: android.fragments

一路卡關...

先是...

FragmentActivity causing ClassNotFoundException

(若使用一般方法將support library匯入便會出現以上錯誤...)

不知道在我的v 2.3.7上deploy要先把神奇的android.support.v4加到prj中,而且還不能用一般方法從property>java build path去加,得用官方的android tools>add support library... 的動作才能正確加入能完整支援fragment的library,讓低於android v3.0的機器也能正確顯示。

加入後
把所有原本 "extends Activity" 的 activity都改成 "extends FragmentActivity"

把所有原本 "extends Fragment" 的 activity都改成 "extends android.support.v4.app.Fragment"

第二關..目前還無解...
04-05 18:02:57.748: E/AndroidRuntime(26450): Caused by: java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x2

只好先run在v 4.0模擬器上


環境:
UBUNTU 12.04
JAVA 1.6.0_31
Android phone @ v2.3.7 with 小米ROM
eclipse 3.7
ADT-17

後記:

UBUNTU環境真的是得很克難的一直調整到符合自己使用的狀態阿...
是不是乾脆把手機升到miui 4.0呢?哎唷!

更新:

關於java.lang.UnsupportedOperationException: Can't convert to dimension: type=0x2的問題,看來是因為在main.xml裡面有幾個設定找不到這個東西:
android:layout_marginTop="?android:attr/actionBarSize",看來在4.0的SDK裡找的到這個定義,但跑在pre 4.0的版本上,直接把layout_marginTop寫成個固定值即可!CASE CLOSED!













2012/04/02

Android apk installation problem:INSTALL_PARSE_FAILED_NO_CERTIFICATES

在UBUNTU 12.04上,好不容易把預設的OpenJDK改掉,改成SUN-JAVA-7,接著又遇到打包signed apk後,安裝會出現INSTALL_PARSE_FAILED_NO_CERTIFICATES的問題...經過千山萬水,果然還是得用SUN-JAVA-6,才能正常打包!

安裝SUN-JAVA-6的方法請見UBUNTU官方說明
裡面wget的路徑都消失了,請自行到Oracle官網下載後再依照指示步驟完成檔案的搬移跟安裝:


官網上的這個指令可以省略,因為路徑已不存在:
 $ sudo update-alternatives --install "/usr/lib/mozilla/plugins/libjavaplugin.so" "mozilla-javaplugin.so" "/usr/lib/jvm/jre1.6.0_31/lib/i386/libnpjp2.so" 1



完成安裝之後,輸入下面的指令才能確認是不是有改到設定:



記得最後也看看java -version及javac -version顯示的版本是不是改成1.6。

若編譯還是有問題,可以在多個選擇中調整看看。

另外記得follow一下code.google.com上的issue,目前已經變成兩隻了...


解法不一,但最保險的方法還是...遠離JDK7,最新的不一定最好,畢竟google跟oracle關係不是很好,不相容的事情...呵呵...不意外嘛!

2012/03/12

改版面囉

前幾天看了New iPad發表會,前幾分鐘就提到在Amsterdam跟紐約車站新開幕的APPLE STORE,裡面的建築物太有質感了!









所以我就把版面換成紐約車站了!(是吧?!)

以後有機會去紐約或荷蘭,要去朝聖一下!

android:layerType 的設定

我們可以設定View用哪種方法來Render


其中的none(Don't use a layer, aka disabled),我不太懂它的意義,我猜應該是不分層次的去處理這個View,而software跟hardware就很清楚字意上的意思了。


SOFTWARE裡的定義是,一旦View指定了用這個參數,就算硬體加速有打開(或有支援)還是要求系統用Android的軟體方式來把View繪製出來。


軟體層可以把硬體加速(HA)不支援的物件繪製出來,可以算是互補的把圖像處理掉,並且暫存起來。但也因為它會暫存,表示如果需要不斷更新畫面,連續的存取代表著就是速度會變慢!因此如果在應用程式中,某個View只需要繪製一次,而硬體加速又可能不支援,我們可以把layerType設定成SOFTWARE。


目前常遇到的案例是,Android 4.0有支援硬體加速,但發佈出去的應用程式支援版本括及2.2甚至更低,所以很不好預測某些ROM是不是寫的很完全,一個自製的4.0 ROM就是強制開啟HA,但承載它的硬體可能根本不支援,簡單的客制化就能讓你的應用程式當掉!


所以,讀了那麼多文件跟說明,回到原點!把android:layerType="software" 拿掉...




後記:


在SW跟HW的文件敘述裡面都有一段一樣的敘述:


From LAYER_TYPE_SOFTWARE:

When the application is using hardware acceleration, a software layer is useful to render drawing primitives not supported by the hardware accelerated pipeline. It can also be used to cache a complex view tree into a texture and reduce the complexity of drawing operations. For instance, when animating a complex view tree with a translation, a software layer can be used to render the view tree only once.
FROM LAYER_TYPE_HARDWARE:

A hardware layer can be used to cache a complex view tree into a texture and reduce the complexity of drawing operations. For instance, when animating a complex view tree with a translation, a hardware layer can be used to render the view tree only once.


無論如何,一定有一段是錯的,或是兩段都是對的!反正Android系統一直改,沒人完全搞懂實際的作法!



2012/03/11

等待新成員

清出空間,擺好角鋼架,放進廚房用具,等待大冰箱的到來!
虛位以待的小空間&即將被替換掉的小冰箱

本週新成員:2100元的免螺絲角鋼架
再過幾個月,也馬上就有新成員來到家裡囉!