發表文章

目前顯示的是 2013的文章

[Java] 淺談 call by value 和 call by reference

這個我也一直搞不清楚,終於懂了 http://brownydev.blogspot.tw/2011/06/java-call-by-value-call-by-reference.html

隔音原理及建議

http://depair.taipei.gov.tw/noise94/pdf/%E5%99%AA%E9%9F%B3%E5%9F%BA%E6%9C%AC%E5%8E%9F%E7%90%86%E3%80%81%E9%98%B2%E5%88%B6%E6%8A%80%E8%A1%93%E8%88%87%E5%AF%A6%E9%9A%9B%E6%94%B9%E5%96%84%E6%A1%88%E4%BE%8B%E4%BB%8B%E7%B4%B9-100.8.pdf

Pinkoi development experience

Pinkoi Platform from mikeleeme

Sharing Economy

http://www.economist.com/news/leaders/21573104-internet-everything-hire-rise-sharing-economy

台灣地區網路第三方支付平台分析

台灣已經開放網路收款服務,目前有以下較佳的服務(以個人戶觀點分析): PChomePay支付聯 - 可收ATM / 信用卡,目前限定須搭配露天拍賣使用 Yahoo!奇摩輕鬆付  - 可收ATM / 信用卡需公司戶,限定搭配Yahoo拍賣使用 豐掌櫃  - 可收ATM / 信用卡需公司戶,需要是永豐銀行客戶 第e支付  - 可收ATM / 信用卡,目前僅第一銀行客戶可使用,由於不是客戶,所以沒有測試完成

WIKI網站漸漸有規模

架設在學校的WIKI漸漸有規模了,由於它可以幫我把所有的修改記錄都保存下來,所以一些筆記會改去那邊寫了。 http://wasn.csie.ncu.edu.tw/wiki/people/bravesheng/Vincent.html

Gmail IMAP, SMTP, POP3 設定值

從這裡看來的: http://blog.longwin.com.tw/2010/09/google-gmail-set-value-2010/ Google Gmail 得 IMAP, SMTP, POP3 得設定值, 整理如下: IMAP imap.gmail.com Port: 993 Use SSL: Yes SMTP smtp.gmail.com Port for TLS/STARTTLS: 587 Port for SSL: 465 POP3 pop.gmail.com Port: 995 Use SSL: Yes

disqus plugin for joomla 3.0

disqus plugin for joomla 3.0 http://codesnipper.pl/extensions/k2-meets-disqus

Startup : 如何挑選適合的 Hosting Plan?

http://blog.xdite.net/posts/2012/04/18/startup-hosting-plan/ 寫的不錯,可以當選擇hosting的參考。

防水相機出租網站

http://zuzoo.tw 很多機種,提供台灣全省宅配。

ubuntu中使用tasksel快速安裝

http://www.unixmen.com/install-lamp-with-1-command-in-ubuntu-1010-maverick-meerkat/

What is lesscss?

official site: http://lesscss.org/ eztable 讀書會心得: http://blog.eztable.com/2011/11/18/introduction-to-less/

Jenkins介紹!

Android + jenkins from Fred Lin

3D列印服務

http://www.shapeways.com/ http://i.materialise.com/ http://www.sculpteo.com/en/

台灣拍賣平台比較

http://www.webpage.idv.tw/maillist/maillist4/news/05/compare.htm

zxing的座標系統

zxing的座標系統以手機螢幕正面來看,(0,0)的位置在右上方,向下移動為X軸遞增,向左移動為Y軸遞增 座標的範圍是在CameraConfigurationManager.java裡面決定的,由下面兩個直決定MAX跟MIN   private static final int MIN_PREVIEW_PIXELS = 470 * 320; // normal screen   private static final int MAX_PREVIEW_PIXELS = 1280 * 720; 真正應用的值是寫在  com.google.zxing.client.android.camera.CameraConfigurationManager.cameraResolution 另外取得Camera的真實設定值是透過CameraManager.java

Making a Simple OCR Android App using Tesseract

http://gaut.am/making-an-ocr-android-app-using-tesseract/

建置zxing開發環境的問題

環境很單純直接使用eclipse把project import進來,沒有error,但在手機上跑會直接當掉,不知道問題出再哪?問題像下面這位: http://stackoverflow.com/questions/12171148/app-from-com-google-zxing-client-android-source-code-does-not-work 後來改用ant來cmpile跟install https://code.google.com/p/zxing/wiki/GettingStarted 結果就過了,看來應該是eclipse哪裡沒有設定好,造成core.jar沒辦法安裝到手機上。 (解決) 找到問題所在,解決方式有兩個如下: 在eclipse IDE裡面的話就是在Java Build Path的頁面 假如Add External JARs加入core.jar的話,需要把Order and Export的tab要把core.jar勾起來,代表要把它exported 不然在project裡面有core.jar應該使用project裡面有的core.jar,在使用zxing提供的ant方式build core.jar時發現,會把檔案export到CaptureActivity的libs目錄下面,使用Add JAR...加這個檔案,就不需要設為exported了。

拿來做git code review的gerrit

https://code.google.com/p/gerrit/ 時代在進步呀!

濾紙式手沖咖啡

http://nccucoffeeclub.blogspot.tw/2011/03/blog-post.html

iOS及Mac上的備忘錄可以同步到GMAIL

之前設定有看到可以同步到GMAIL但一直不知道同步到哪去? 找到這篇文章有寫: http://iphone4.tw/forums/showthread.php?t=103559 節錄如下: 這個依據你同步Gmail的方式會有不同: 1.以Exchange 的方式同步,會有mail/行事曆/連絡人,且Email可以推播。 2.以IMAP的方式同步(也就是iphone裏寫著Gmail的設定方式),會有mail/行事曆/備忘錄。Email只能設擷取。 備忘錄會採TAG:note的方式存到你的 Gmail,我試的結果,備忘錄似乎是單向的備份,在Gmail 的note tag裏新增信件應該不會同步到手機的備忘錄裏。 另外,我試出來有兩個問題: 1.在iPhone上,以exchange的方式設定Gmail,並無法真正的刪除郵件(即丟到TrashCan),只能將其「封存」(就是到archive 到All mail裏去)。 2.在iPhone上,Gmail以Exchanger的方式寄給IMAP,會造成亂碼無法閱讀。 我目前是設定,以exchange同步行事曆及連絡人。IMAP同步信件。

Code School

http://www.codeschool.com/ 好站,對任何新語言或者工具,剛入門進入門檻的好幫手。

Drupal

這在看Drupal的相關介紹,感覺滿簡單可以建立網站的,而且有Hotel模組,看起來可以使用。 http://drupal.org/project/hotel http://demo.weebpal.com/#hotel https://help.ubuntu.com/community/Drupal

台灣網域購買整理

http://blog.roodo.com/pokey/archives/15523503.html

需要修改程式來因應MICA2 900MHz的差異

根據 NTU UbiComp 的相關研究人員經驗分享,RIPS原本是使用460Mhz的,所以跟目前的900Mhz MICA2有差異,需要修改source code才有機會正常進行distance measurement. 目前正聯絡看看是否可以從台大實驗室拿到之前的成果,假如不行的話只好繼續自己改下去了。

NTU UbicompLab

圖片
找到一個台大實驗室有RIPS經驗 NTU UbicompLab

How to compile code that related other java code in different foder?

For example. We try to compile "tools/java/isis/nest/localization/" folder. But codes related to "tools/java/isis/nest/math/". We can change working folder to "tools/java/" folder and type "javac isis/nest/localization/*.java". Then it work.

工作記錄的重要

搞了好久一直無法解決java compile error的問題,現在終於找到問題了,原來之前認真工作時候就已經解決了(javax.comm沒有安裝的問題),由於外務的關係中段研究兩週,反而造成記憶錯誤,搞錯方向,幸好之前有wiki記錄工作流程,終於Recovery回來了。 檢討: 1. 工作記錄再詳細一點,頻率再高一點。 2. 這陣子專心再論文上,不要再出外務了。

[2/26] tinyos 1.x for windows try

Another try to install TinyOS 1.x under WindowsXP. I follow step:  http://www.tinyos.net/tinyos-1.x/doc/install.html And success to install JDK 1.4 + TinyOS 1.x + javax.comm. But this package does not contained contribute source codes. It means without RIPS functions. So I download TinyOS 1.x CVS tarball via sourceforge and try to make java tools again. FAIL.... Next. I may try to contact author that make XubunTOS virtual machine...

[download issue] waiting for anoncvs_tinyos's lock

I got same problem as following issue. Trying to find solution. http://sourceforge.net/p/forge/site-support/2770/ No I download source code via Download GNU tarball link http://tinyos.cvs.sourceforge.net/viewvc/tinyos/tinyos-1.x/ Hope it will work.

javax.comm "no serial ports found" issue when run BlackBox

I got "no serial ports found" problem when run javax.comm library sample. My environment: [OS] WinXP SP3 32bit [JDK] jdk1.5.0_11 [javax.comm verison] Javacomm20-win32 Description: I placed my javax.comm files into following directories: ( reference page ) Copy win32comm.dll to C:\Program Files\Java\  jdk1.5.0_11 \jre\bin Copy comm.jar to C:\Program Files\Java\  jdk1.5.0_11 \jre\lib\ext Copy javax.comm.properties to C:\Program Files\Java\  jdk1.5.0_11 \jre\lib I set CLASSPATH as below: c:\commapi\samples\Blackbox\BlackBox.jar;C:\Program Files\Java\jdk1.5.0_11\jre\lib\ext\comm.jar;C:\commapi\samples\Simple Then I got  "no serial ports found" error when run java BlackBox Solution: I try to do following change copy win32com.dll to C:\Program Files\Java\jre1.5.0_11\bin Copy javax.comm.properties to  C:\Program Files\Java\jre1.5.0_11\lib Then PORT_OWNED correctly. Additional test: I try to compile SerialDemo and run it. It's works. 

try to solve TinyOS 1.x java compile problem

It appears "package javax.comm does not exist" error when I try to javac "/opt/tinyos-1.x/tools/java/net/tinyos/mcenter" folder. I need to find solution! 1. check if javax.comm setup correctly!? I try to setup javax.comm under WinXP again(with JDK 1.1.6). According to following installation guide "Javacomm20-win32/commapi/PlatformSpecific.html" I installed. And BlackBox can run. the sample code "SimpleRead" and "SimpleWrite" also can work. PS. When you want to run .java file. You need set folder that have .java files into "CLASSPATH". Next try. setup javax.comm under WinXP (with JDK 1.5) It shows following error ""No serial ports found!" when run BlackBox. (Solved) TODO List: 直接找RIPS作者看看有沒有Virtual Machine Image. C compile error的部份,問問看forum是否有人有解答

make file for RIPS java files

Because RIPS java code have following compile error: package xxx.xxx.xxx.xxx does not exist So I try to clone makefile rule from "/opt/tinyos-1.x/tools/java/Makefile.include" I do following steps: 1. copy Makefile , Makefile.include into "/opt/tinyos-1.x/contrib/vu/tools/java" 2. copy "jni" directory into   "/opt/tinyos-1.x/contrib/vu/tools/java" 3. Edit Makefile to fit current directory environment "SUBDIRS = isis net jni"

DSLR video 收音經驗

這次上山有透過下面設備拍攝: CANON EOS 60D + EF-S 17-55 F2.8 熱靴架ZOOM H2N連接音源線錄音 得到下面的心得: 1. 連接音源線後CANON的收音確實比較好,但會有忘記開機H2N的問題,造成影片完全沒有收到音(改善:還是先不要接音源線互接,最差至少還有CANON本身麥克風可以有聲音) 2. 行進間,ZOOM H2N會收到碰撞音,看來是因為架在CANON上的關係(改善:ZOOM H2N行進間拍攝不宜跟CANON以熱靴把在一起,應該分開來,目前的計畫是,掛在腳架上,插在背包後面收音,盡量避免收到機器碰撞的聲音。(靜態錄影就不擔心)) 3. 會收到光學房手震的聲音(改善:不用熱靴後應該可以避免此問題,用熱靴時,要記得關掉防手震) 4. 連接音源線進CANON的GAIN值部分真的太高了,造成爆音(改善:同第一點改善方式) 這次收音部分很多問題,但得失心還是不要太重,應該還是可以透過後製彌補回來,另外下山接風的部份就依照新的方式進行拍攝吧,應該就比較不會有大問題了。

『浪人劍客』 從 java 到 python/django 的一些資源

http://techblog.insureme.com.tw/2011/09/java-pythondjango.html 寫了一些python跟django的心得,跟一些建議的資源

What Powers Instagram: Hundreds of Instances, Dozens of Technologies - Instagram Engineering

What Powers Instagram: Hundreds of Instances, Dozens of Technologies - Instagram Engineering : "For Python error reporting, we use Sentry, an awesome open-source Django app written by the folks at Disqus. At any given time, we can sign-on and see what errors are happening across our system, in real time. " 'via Blog this'

"網路購物進口關稅"問題大解答

"網路購物進口關稅"問題大解答 - 山行者豪哥 - Yahoo!奇摩部落格 : 'via Blog this'

Paper for iPad vs. MICROSOFT COURIER

http://bgr.com/2012/03/29/paper-for-ipad-shows-us-what-the-microsoft-courier-could-have-been-video/ That's the reason why they have the same DNA.

Oracle Java Archive

from Java SE 1.1 to latest Java SE6 JDK. http://www.oracle.com/technetwork/java/javase/archive-139210.html

About javax.comm package in WinXP

I am trying to let " javax.comm " work under windows XP.  But it seems doesn't work properly. Any ideas? related websites:  TinyOS 1.x Installation on Windows XP