首頁我是相片相簿文字
snDateCommentHit
Display 1-20, Total 52 data, 2024-05-10
page 123
Max Chen2015-08-01

>> 中文版

Hey~ Nice to meet you~

I'm Max Chen <u870820@gmail.com>, an engineer, backpacker, photographer, web programmer, and blogger.

I have an M.S in Industrial System Engineering from UW-Madison, and I've worked at ASUSTek Inc., PEGATRON corp., and now Hankscraft Inc.. In the past, I did research in the UW-Madison Naturalistic Decision Making and Simulation Lab with Dr. Douglas Wiegmann , and at the Waisman Center. My research interests were focused on User Experience, Aviation Safety and Patient Safety.

I am a professional in project management and quality engineering, and I enjoy working on "complex problem" projects with hard to identify root causes or projects involving with cross-functional teams. I make a living by utilizing my knowledge and experience in both the quality and manufacturing fields. I am also a certified six sigma black belt of the American Society for Quality.

I was born in Taipei, Taiwan, and I have lived in Prague, Czech for 2 years, Shanghai, China for 3 years, and I now live in Madison, Wisconsin. Traveling and seeing the world is what brings excitement to me in life. While traveling I found a passion for photography. Taking photos and sharing what I have seen has become my treasure. In 2003 I launched a blog to present my photography.

In my free time, I like to do web programming. After not finding a photo album service I liked, I decided to code on for myself, it is called Max Chen Photo Database. It was just a start, my other web application could be found here(mandarin). In addition, my latest web project isPlace.Report which utilized Google Maps API and Facebook Graph API, a data-mining informative service.

In mid 2015, I started a new adventure with Ting-Li Lin. We set up Snowforest, a company specialzing in architecture photography and beyond. Snowforest's mission is to deliver artful images and to ensure every customer is satisfied. Snowforest is a new challenge and a new chance to us, and I devote myself in it and like to picture a wonderful future with it.

In my leisure time, I enjoy swimming, running, reading, watching movies, and playing games. I am not good at writing, but I will try my best to record thoughts, studies, and stories in here. I would like to share my life experiences with my friends and future generations. Someday, we will become someones' memory, and here is the best place to remember me.

Below is a list of social medias I am using. Let's exchange our thoughts via:

twittertwitter

twitterfacebook: mandarin

Edited by Max Chen on Oct 10, 2016. Thank you Tara for proof reading.


Max and his camera.
Max was waiting to take a sunset


Max in Grand Canyon.
Max in Grand Canyon.

Tingli and I were at Grand Teton
Max and Tingli were at Grand Teton.

IP GeoLocation Service2016-08-29


IP GeoLocation Service development 中文版

http://ip.ymc2.com/
Website statement:
1. The ip.ymc2.com is a customized website for IP query purpose.
--
V1.3 Released on 9/6, 2016
1. Include a reference DB from ip2location.com, DB11 LITE
2. Optimize MySQL commands to shorten query time
3. Minor texts fixed.

V1.2 Released on 9/4, 2016
1. Include 17monipdb.dat (Open-Source Database of CHINA IP) to better locate location in China
2. Enable to display city name in both Chinese and English (CHINA only)

V1.1 Released on 8/30, 2016
1. Support Country-CountryName. US-> United States
2. Apply Country - Language- GoogleMaps look-up to set default on Google Maps UI

V1.0 Released on 8/29, 2016

Function: Giving an IP address, return its GeoLocation including City, Country and Latitude & Longitude. (and maybe other information as well)

Support: IPV4 format only.

API usage: Provide JSON result, but only for internal usage now.

Database & Tables :
1. GeoIP2
Version: 20160802 open-source
Max Note: 804,007 geo-location data, and 2,180,870 ip-blocks data were imported.
This product includes GeoLite2 data created by MaxMind, available from http://www.maxmind.com

2. IP2LOCATION LITE-DB11
Version: 20160901 open-source
Max Note: 4,016,410 data were imported.
This site or product includes IP2Location LITE data available from http://www.ip2location.com

3. 17monipdb:
Version: FREE 20160601
Max Note: This db is mainly to locate specific IP-address where $country=CN. Total 96,817 data were imported. (225 duplicate values on row startIpNum row; 2 duplicate values on row EndIpNum. Unable to setup primary key.)
The API includes 17monipdb.dat, 作者©高春辉, available from https://www.ipip.net/download.html


4. GoogleMaps Languages Support list: GMap-language.csv, source-> https://developers.Google.com/maps/faq#languagesupport

5. a revised Country codes (ISO 3166) and official language table: country-language.csv, source-> http://download.geonames.org/export/dump/countryInfo.txt

6. a table to look-up locId with city name in Chinese and in English (China IP only) locId-cn_city.csv
Max Note: Please open it with Notepad before importing to your db. It includes Chinese characters.

--
Report Error: Please leave a comment below if there was an error result.
Place Report development2016-09-27


Place.Report development
URL->https://place.report/

1. Website statement:
1. Place.Report is a Google Map API application which helps Sales to identify possible local customers.
2. Place.Report was an idea came out while developing the StreetView.cc website, both websites apply the same algorithm but pick up different target audiences.

--
2. Release Note
First released on 9/27, 2016 v2.0 (from streetview v1.3)
a. Functions:
[Public] Target Area Search, Store Search, Place.Report
[Priviate] MyPlaces, Place.Rank

b. Support Countries:
US, United States
TW, Taiwan

c. Target Audiences:
Sales: door-to-door, telephone
Marketing company
Local store owners

d. Keywords:
Geomarketing, Store Research, Marketing ROI measurement

--
3. Bug Report / Discussion
Please leave a comment below if there was an issue or anything you would like to discuss
IP 全球地理位置資料庫開發日誌2016-09-06

IP 全球地理位置資料庫開發日誌

話說從頭, 這是中文式流水帳。
開發的綠起是為了把 streetview.cc 的入口寫的完美一些,
所以在網路上找了些免費的 IP 資料庫來使用,
想利用 IP 來定位 Google Maps 的起始位置。

開始先找到的是 MaxMind 的 GeoLite2 (GeoIP2免費版),
接著就花了點時間把將近三百萬筆資料寫進 MySql 裡,
接著隨機性的測試一下, 還可以哇!!
然後發現怎麼故鄉台灣的IP都只能定位到陳有蘭溪??

稍稍研究之後, 原來似乎還沒有人把台灣的IP區段給補完, (人才都跑那去了?)
也許警政或調查機關有, 不過我沒有找到就是了~~
最接近的就是 IPIP.net 的創辦人高先生在今年初時自己的微博說:
「 嗯,就在刚才,已经把手里的台湾的IP 库地级市和区县库数据都搞定了,貌似这个是全球独一份吧?台湾本地公司都没有。。」

哇, 牛人說牛話了, 於是我花了點時間在 IPIP.net 上撈了一份 17monipdb 做再開發。

只是 17monipdb 可能是免費的關係, 數據上有些許錯誤,
不過對於鑑別中國IP的地理應該還是可以的,
所以我就花了點時間把 17monipdb的結果(中國) 整合到 GeoLite2 之中。

然而, 這並沒有解決陳有蘭溪的問題。

我又把念頭放到再來轉個資料庫看看, 查了查。決定就是你了!!
IP2LOCATION 上吧!! (其實真沒有幾家有開源的)
抓回來一看, 天啊!! 4百多萬筆資料啊!!
不過有了匯入 GeoIP2 的經驗, 不怕不怕。
花了些時間等待匯入資料庫後, 交叉比對目前這兩大開源的資料庫如下:



從上表可知, IP2LOCATION 對於IP表切得較細, 不過對於地理地址定位來說, GeoIP2 的比較齊全,
另外IP2LOCATION是只有一張資料表, 在執行上的效率較差, GeoIP2是兩張表格, 效率較好。
理想的作法應該是採用 GeoIP2 的資料結構, 補上 IP2LOCATION 的有效資料。

雖然這樣能解決陳有蘭溪的問題, 不過我得回頭做別的事了。

目前的作法是把IP2LOCATION列為參考資料, 待有空或是有想法時再將兩個資料庫整合再一起囉。
未來的開發的意向大概就是把兩個資料庫截長補短, 然後整合進一個台灣的IP區段, 為家鄉盡一份心力;
然後再加上 Google Maps 的定位去自動資料庫的校正和補充。就算大功告成啦~

現就以此文將此開發暫告一段落; 我得來繼續寫 streetview.cc 大數據!!

--
StreetView.cc Development Diary2016-03-15

Streetview.cc Development Diary

Kind of a note to memorize something that I may forget in few days after....


Ver 2.1 Released:

Public
StreetView: Display places with Google See-Inside features.
Coverage: Reveal areas which have been scanned by system.
SeeInside: SeeInside a place with the UI combines Google Maps(pegman) and its StreetView image on the same page.

Private
SECRETS

Website Version
2016/10/07 - Ver 2.1 Released. all major function revised.

2016S2S3 - Development https://Place.Report website
2016/4/13 - Revise See-Inside judgement programming (v1.1)
2016/4/12 - Comment_Service implemented
2016/4/01 - Ver 1.3 Released. mysqli implemented
2016/3/25 - Ver 1.2 Released. New function: MapScan, Providing Linear and area two types scanning.
2016/3/22 - Website Automation Test Success!!
2016/3/17 - Improve processing efficiency by using curl instead of file_get_contents
2016/3/15 - Big-Data Place Report trial. (providing Place Ranks)
2016/3/12 - Ver 1.1 Released. New functions: Coverage, PlaceRank, SeeInside
2016/3/12 - Integrated g.ymc2.com, an URL Shorten API. a JSON application
2016/3/10 - Ver 1.0 released to DOMAIN: streetview.cc HOST: netfirms.com
Function: Home, OnePageReport, PlaceSearch, MapProcess
2016/3/01 Defined three modules, placeid, cid and cbk, to figure out if a store has the SEE-INSIDE feature or not.
2016/2/15 Start Coding .........A Google Maps Javascript V3 Journey....
--
Problems/Issues/Improvements Ideas 2.1:
1. CSS Layout for mobile device. TBH, i don't really care about this for sure.
2. Google API limitation. a Major concerns
3. Facebook Graph API

Update Place.DB (Automatic and Manual)
Define a mid-term relationship for Place.DB and Seeing.DB (maybe a Pano.DB)?
Useful Statistic Data
Replace mysql to my_sqli sentence
Rethink the function: judge_seeinside, judgement see-inside...
Implement Google analytic
IP rule for certain function

--
Major Fixed:
1. How to process place results generated by Google Maps API (Async) to db?
-> 1) generate a click button within the async function.
-> 2) generate an auto-run php page.

2. How to curl the place results generated by Google Maps API (async) to a html.element?
-> 1) Curl does not work on async page. (empty element)
-> 2) Include the Google Maps API script on the parent page

3. Improve server efficiency:
-> A test reveals that curl is 50 percent faster than file_get_contents.
-> Replace file_get_contents with curl function.

4. Website automation test solution:
-> Tried Selenium webdriver, but was unable to figure out a way to make it work on wamp server.
-> Tried Selenium IDE, Works, however it had file size limits for processing codes(20KB?), and also there was no flow control (if-else) at the moment for testing purpose.
-> Turned out a solution which is to connect the server with localhost, and write php pages to the server via fopen(ftp), and then automatically run these pages to process results.

5. Encode the imgurl of all pano:
-> Applied JSON to communicate with g.ymc2.com (url shorten service)

6. fopen($ftp_path): failed to open stream at certain time ?
-> It seems like the hosting server issue (connection error or what?)
-> Use curl to do ftp method. (not sure if doing this is right, but it temporally works!)

7. The owner-response-rate (Google Reviews)
-> Find the recent 10 reviews and check to see if response from the owner exists
留言服務開發記錄2016-04-15


留言服務開發記錄 Comment Service Development

若不意外, 一般網站留言的功能都是寫在自有的資料庫中,
不過若跨站別有太多網店需要處理得情況時, 寫起來會有點白白的啊, 一直 copy+paste 有點搞笑哦!
所以, 這次麥大叔用一個主資料庫處理所有留言。再用 json 在不同站別做資料傳遞。
在應用上只要在其它各站呼叫函式就自動生成留言了, 管理上也比較好管理哦!

目前公開的版本是 v1.0, 主要實現了留言功能 (這不廢話嗎?)
預期待開發/解決的問題如下:

1. 機器人踹開:
現在我還在觀察機器人的運作的方式, 若都是 curl 留言機器人,
就直接 ajax 把 sumbit button 處理欄位就好啦!
爬都爬不到; 除非有大師用 solenium 之類的來寫, 那也沒辦法了。
我是不太想用什麼文字啊影像之類的驗證碼, 大大降低 User Experience 的分數

2. Mobile Friendly 行動裝置最佳化
說實話, 每次寫php網頁, 我最花時間的就是試這些 css 的東西, 比寫code還痛苦!
所以, 這mobile friendly 永遠都是問題, 一直在我心裡隱隱作痛...

3. FB-account Login / Google-account Login
還要加個用FB/Google一鍵登入留言的機制。
這個理論不難, 一個api的轉換而已...

目前大致先降。 有想到其它後補
Street View | Trusted Photographer2015-08-22
Street View Trusted | Trusted Photographer

Do you want to apply the Google Street View technology to show your business to the world? Try below sample:

Jade Mountain Café
2611 E Johnson St, Madison, WI 53704

Ting-Li Lin and Max Chen (myself), who founded Snowforst.co, are helping Wisconsin local business to spread their visibility! Although they are both Google Trusted Photographers, their photography capabilities is way beyond than this.

I am currently marketing Google Street View services in most towns in Sauk county, like: Sauk City, Baraboo, Reedsburg and Wisconsin Dells area. If you see me stop by your business store, don't be surprised. I see your potential and would like to help promote your store. I believe Street View for business is a great marketing tool for local business for the below reasons:

» Read More
2017 歐洲旅行之流水帳2017-07-06
Private Content
PHP MySQL DB 資料庫網站開發2016-02-18

最近忙著和Google Maps API奮鬥, 想寫一個跟街景有關的資料庫網站。(好痛苦啊! DOM完全不熟的說!)
不過今天突然心血來潮, 想回顧自己到底寫過幾組完整的PHP+MySQL網站,也一併回顧自己寫程式的來時路。

» Read More
Google Place Big Data Report2016-03-06

Google Place Big Data Report

是的, 各位朋友! 麥大叔花了我近兩周的時間, 日夜苦幹, 連遊戲都不打,
終於街景資料庫快要可以上線了!

» Google-Place-Big-Data-Report-QN3Gk2Pm.html'>Read More
Embed Google Street View on the webpage2015-08-28
Here is an instruction which shows you how to embed a Google street view tour on your website.

Step 1. Open the Google Map on your browser, and Key in your business name on the Search tab.
Step 2. Click the See Inside tab, and then guide the Street View screen to your prefer initial view spot (the default screen of your Google Street View).



» Google-Street-View-on-the-webpage-z895mCJs.html'>Read More
Virtual Tour Mobile-Friendly2015-08-15
This post also posted in Virtual Tour Mobile-Friendly Test

This article is going to compare 5 visual tour services using five common mobile friendly test tools on the internet. These 5 virtual tour services are the most common marketing providers in the North America real estate industry, including: Circlepix, Paradym(VisualTour) ,matterportMy Visual Listingtruplace, TourBuzz. And the 5 mobile friendly test tools will be used are: W3C mobile Checker, MobiReady, Google Developer Tools: Mobile-Friendly TestPageSpeed Insights and Wave.

Result

After reviewing the result, I would rank these five virtual tour services as: truplace, matterport, tourbuzz, paradym, my visual listings and the last, circlepix.

» Read More
全景圖嵌入網頁能力2018-05-31
全景圖嵌入網頁能力

點擊開啟全景圖 Click for PANORAMA



上圖: Devil's Lake 惡魔湖全景圖

麥大叔從2015年 Google Trusted Photographer 開始學全景攝影的相關技術。
然後今年開始空拍全景攝影, 感覺起來比空拍Video更有臨場感。
我想了想也是時候把網站做個小改版, 可嵌入全景圖的閱讀。

大致試用了幾種, 最終打算採用 Photo-Sphere-Viewer 的精簡版本,
https://github.com/JeremyHeleine/Photo-Sphere-Viewer
語法精簡, 客戶端網頁宣告1-2個變數就可以生成, 而主引擎用 three.js 效能也相對較好。

接著就是再弄個全景圖片的資料庫分頁出來啦~

最後覺得很奇怪的是: 為什麼html5 不支援直接播放全景圖呢?? 難不成要等到 html6嗎?



PHP curl vs file_get_contents2016-03-17
a comparison of time-consuming for curl() and file_get_contents()

1. Target: Google generated page

2. Programming: Basically string processing, apply preg_match, preg_replace, preg_split after retrieving HTML content.

3. RESULT
--
Result 1
$curl_info[size_download]: 542711

curl get contents timing => 0.5671, 0.5821, 0.7801
file_get_contents timing => 0.8851, 0.8641, 0.9081
--
Result 2
$curl_info[size_download]: 554880

curl get contents timing => 0.7771, 0.5741, 0.6331
file_get_contents timing => 0.9991, 1.2871, 0.9111
--
Result 3
$curl_info[size_download]: 561892

curl get contents timing => 0.7111, 0.7091, 0.6931
file_get_contents timing => 1.0921, 1.3880, 0.9640
--
Conclusion

Curl is 50percent faster than file_get_contents when getting a 550kb file size.
蘇州博物館2007-03-13


蘇州博物館 # 20張相片

打著華人建築大師貝聿銘的最後力作, 是吸引我到此尋找靈感的緣由。

聽到貝聿銘先生, 你一定不陌生. 著名的東海大學路思義教堂, 就是他在台灣的重要代表作品。

攝影和建築, 對我而言有著某種程度的契合性, 拉抬至藝術層面而言, 我喜歡欣賞建築作品在細節給予的視覺呈現~

在一個陰雨的午後, 抵達蘇州博物館。 就讓我帶著你一起欣賞貝聿銘先生的封刀之作...

» Read More
VAIO TX OS-Install 系統安裝筆記2006-11-14
061114.jpg

[0. 前言]

這兩天忙著TX的重灌; 由於是在上海買 的C/T 版本, 簡中用來不甚順手; 當然要換繁中的系統囉~
說到重灌 OS, 猶記得當年馬大兔在 Nova打工的年代(沈迷往事中....).... 一天重灌個十台只能算是雞毛小事...

不過像我馬大兔這樣的重灌魔人, 首次遇到SONY的NB還真像遇到大魔王一樣。
記得三個月前的TX36, 灌好了卻什麼function key都不能使, AV Mode按下去一切靜俏俏!?...
心裡頭OS比TX裡的OS還急:「My God! What's going on?」 
之後才去拜Google大神才逐漸解救我的TX...

至於TX2號機, 所謂"一回生二回熟", 一個上午就搞定囉~
感謝 台灣非官方VAIO日系電器討論區 提供解答的「凌」。我也把自己的經驗, 筆記整理分享給同好。

» Read More
陳氏尋根筆記2009-02-16
090216

(攝於福建省彰浦縣赤湖鎮)

陳家大姓 - 陳氏尋根筆記

多年前, 有回掃墓前夕的軍訓課讓我印象非常深刻。

一直讓我們回味軍事影片的教官, 突然問起:「有誰知道自己家的堂號?? 知道的期末分數加十分!!」

天吶!! 即使開出這麼誘惑的條件, 將近80人還是啞口無言!?

當年的掃墓, 麥大叔就因此特別注意了自己祖宗的墓埤上的堂號。

大大的兩個字寫著: " 金 浦 "

當時, 我對於堂號的概念就像唐宋八大家裡韓愈自稱韓昌黎; 柳宗元自稱柳柳州一樣。

不過陳金浦這幾個字唸起來真不順口, 不像陳姓的另一大枝-潁川, 來得好聽。

陳潁川, 多麼詩情畫意的一個名字啊~ 陳金浦就有點軟了~ (笑)

anyway, 多年後的今天; 想找出陳金浦是從那裡出發的, 然後傳到自己這一代:

以下就是一些蛛絲馬跡所拚出來的陳家大姓拚圖。

» Read More
Google 推薦攝影師2015-10-13
Google 推薦攝影師服務

你想要採用Google街景的服務, 展示你的生意嗎? 試試下面的例子

Jade Mountain Café 玉山咖啡
2611 E Johnson St, Madison, WI 53704

2005年中成立 Snowforest LLC 的挺立與我(麥大叔), 目前皆為Google推薦攝影師, 我們目前正在協助威斯康辛本地的小型企業拓展他們的能見度, 包括了本地的中西式餐館, 禮品店, 婚紗店, 廚具店, 剌青店, 水煙店...等各式小生意作坊。

若你也是威斯康辛當地的華人, 經營一間實體店鋪, 歡迎您與我們連繫, 我們會協助您理解 Google 街景幫助推展店鋪的相關內容。

以下是Google推薦攝影師能為店鋪提供的幫助之重點提示:
» Read More
Google Maps Sticker2015-10-01

Google Maps Sticker

最近剛完成了 Google Maps 的 window sticker,

整體設計的概念是藉著使用者經驗, 透過類似的圖像而去連結 Google Maps 的一個概念。

稍稍修改了一個 Pegman 的圖示, 加上 Google Maps 的 有名標示紅Pin; 最後放在三色地圖的底圖上。

文字訊息維持 simple is the best 的原則, 只宣傳需要傳遞的訊息。

然後之前寫的縮網址+QR-Code功能URL Shorten總算派上用場啦, 加上QR-code 在地宣傳 Snowforest。

以上就是這個貼紙的思考。
Google Street View Image API 心得2016-02-10
最近開始研究 Google Map 的一些API應用,

首先, 下圖是用 iframe 包圍的一張全景圖
位置接近於
緯度 45.832617
經度 6.8651769
朝向15.44度方向
視角是-5度 (朝下)
視野是100度



而根據以上這些數據, 就可以呼叫 Google Street View Image API 取出影像



呼叫方式 https://maps.Googleapis.com/maps/api/streetview?參數
參數包括:
size: 長x寬 (影像大小)
location:經度,緯度 (影像位置)
fov: 20-120 (視野大小)
heading: 0-360 (方位)
pitch:-90-90 (視線角度)

根據 Google 官方文件 提到, 用 location 這個參數做定位時, 會找到最接近點的全景圖, 所以有不確定性。
建議是採用pano id的方式去做定位。
只不過 pano id要怎麼呼叫我查了老半天還是看不太懂, 先暫時寫到這裡, 後續有發現在補完。

= 2016 02.16 補充 =
pano id 的呼叫方式:
pano: #panoid
sensor: false (可忽略 App Key)

page 123