tag:blogger.com,1999:blog-160869382024-03-13T19:32:13.950+01:00xiaoyu“Oh, you think you are better than me!”…”So do I”
宁静致远,淡泊明智。Unknownnoreply@blogger.comBlogger43125tag:blogger.com,1999:blog-16086938.post-9208973515648009202021-12-31T12:29:00.003+01:002021-12-31T12:29:49.072+01:00Raspberry Pi zero W wifi does not working <p> I have been google around about the issue. I have tried with different images: from 2017 to 2021, lite, desktop and full desktop. no success. </p><p>If you have raspiberry pi zero w v1.1. wifi does not working. There must be something with linux image. I am highly double there is issue with hardware. </p><p>The first command check whether wlan0 exist:</p><p>cmd: ifconfig -a</p><p><span style="color: #01ffff;">lo: flags=73<UP,LOOPBACK,RUNNING> mtu 65536</span></p><p><span style="color: #01ffff;"> inet 127.0.0.1 netmask 255.0.0.0</span></p><p><span style="color: #01ffff;"> inet6 ::1 prefixlen 128 scopeid 0x10<host></span></p><p><span style="color: #01ffff;"> loop txqueuelen 1000 (Local Loopback)</span></p><p><span style="color: #01ffff;"> RX packets 16 bytes 1922 (1.8 KiB)</span></p><p><span style="color: #01ffff;"> RX errors 0 dropped 0 overruns 0 frame 0</span></p><p><span style="color: #01ffff;"> TX packets 16 bytes 1922 (1.8 KiB)</span></p><p><span style="color: #01ffff;"> TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0</span></p><p><br /></p><p>read your dmesg </p><p>cmd: dmesg </p><p>...</p><p>[22.408091] cfg80211: Loading compiled-in X.509 certificates for regulatory database</p><p><span style="color: #01ffff;">[ 22.874323] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'</span></p><p><span style="color: #01ffff;">[ 23.605382] brcmfmac: F1 signature read @0x18000000=<u>0xe000915</u></span></p><p><span style="color: #01ffff;">[ 23.605790] brcmfmac: brcmf_chip_recognition: SB chip is not supported</span></p><p><span style="color: #01ffff;">[ 23.605817] brcmfmac: brcmf_sdio_probe_attach: brcmf_chip_attach failed!</span></p><p><span style="color: #01ffff;">[ 23.605848] brcmfmac: brcmf_sdio_probe: brcmf_sdio_probe_attach failed</span></p><p><span style="color: #01ffff;">[ 23.661229] brcmfmac: brcmf_ops_sdio_probe: F2 error, probe failed -19...</span></p><p><span style="color: #01ffff;">[ 23.661680] usbcore: registered new interface driver brcmfmac</span></p><p>....</p><p>for a compare, this is dmesg from zero 2 W.</p><p><span style="color: #01ffff;">[ 8.178321] cfg80211: Loading compiled-in X.509 certificates for regulatory database</span></p><p><span style="color: #01ffff;">[ 8.377336] cfg80211: Loaded X.509 cert 'sforshee: 00b28ddf47aef9cea7'</span></p><p><span style="color: #01ffff;">[ 8.529369] <u>brcmfmac: F1 signature read @0x18000000=0x1542a9a6</u></span></p><p><span style="color: #01ffff;">[ 8.582584] checking generic (1eaf0000 10a800) vs hw (0 ffffffff)</span></p><p><span style="color: #01ffff;">[ 8.582613] fb0: switching to vc4drmfb from simple</span></p><p><span style="color: #01ffff;">[ 8.603007] <u>brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2</u></span></p><p><span style="color: #01ffff;">[ 8.603836] usbcore: registered new interface driver brcmfmac</span></p><p><span style="color: #01ffff;">[ 8.625623] Console: switching to colour dummy device 80x30</span></p><p><span style="color: #01ffff;">[ 8.637977] vc4-drm soc:gpu: bound 3f400000.hvs (ops vc4_hvs_ops [vc4])</span></p><p><span style="color: #01ffff;">[ 8.662539] Registered IR keymap rc-cec</span></p><p><span style="color: #01ffff;">[ 8.662796] rc rc0: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0</span></p><p><span style="color: #01ffff;">[ 8.663070] input: vc4 as /devices/platform/soc/3f902000.hdmi/rc/rc0/input0</span></p><p><span style="color: #01ffff;">[ 8.665115] vc4_hdmi 3f902000.hdmi: Could not register sound card: -517</span></p><p><span style="color: #01ffff;">[ 8.783878] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2</span></p><p><span style="color: #01ffff;">[ 8.787072] brcmfmac: brcmf_fw_alloc_request: using brcm/brcmfmac43436-sdio for chip BCM43430/2</span></p><p><span style="color: #01ffff;">[ 8.824737] brcmfmac: brcmf_c_preinit_dcmds: Firmware: BCM43430/2 wl0: Oct 9 2020 14:44:32 version 9.88.4.65 (test) (f149b32@shgit) (r679549) FWID 01-f40f3270</span></p><p><span style="color: #2b00fe;"><br /></span></p><p>someone post similiar issue with raspiberry pi zero w</p><p style="border: none; margin-bottom: 0.16in; padding: 0in;">
<span style="border: none; display: inline-block; padding: 0in;"><span style="color: black;"><span style="font-family: Roboto, sans-serif;"><span style="font-size: 14pt;">https://forums.raspberrypi.com/viewtopic.php?t=310780</span></span></span></span></p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-variant-east-asian: normal; font-variant-numeric: normal;"><span style="color: seagreen;"><span style="font-family: Monaco, Andale Mono, Courier New, Courier, mono;"><span style="font-size: 9pt;">19.117632]
brcmfmac: F1 signature read <b><u>@0x18000000=0x1541a9a6 </u></b></span></span></span></span>
</p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-variant-east-asian: normal; font-variant-numeric: normal;"><span style="color: seagreen;"><span style="font-family: Monaco, Andale Mono, Courier New, Courier, mono;"><span style="font-size: 9pt;">[
19.136911] brcmfmac: brcmf_fw_alloc_request: using
brcm/brcmfmac43430-sdio for chip BCM43430/1 [ 19.137399] usbcore:
registered new interface driver brcmfmac *** </span></span></span></span>
</p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-variant-east-asian: normal; font-variant-numeric: normal;"><span style="color: seagreen;"><span style="font-family: Monaco, Andale Mono, Courier New, Courier, mono;"><span style="font-size: 9pt;">[
19.176925] brcmfmac mmc1:0001:1: Direct firmware load for
brcm/brcmfmac43430-sdio.raspberrypi,model-zero-w.txt failed with
error - 2 </span></span></span></span>
</p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-variant-east-asian: normal; font-variant-numeric: normal;"><span style="color: seagreen;"><span style="font-family: Monaco, Andale Mono, Courier New, Courier, mono;"><span style="font-size: 9pt;">[
19.268736] brcmfmac: brcmf_sdio_verifymemory: Downloaded RAM image is
corrupted, block offset is 262144, len is 2048 *** </span></span></span></span>
</p><p>
</p><p style="line-height: 100%; margin-bottom: 0in;"><span style="font-variant-east-asian: normal; font-variant-numeric: normal;"><span style="color: seagreen;"><span style="font-family: Monaco, Andale Mono, Courier New, Courier, mono;"><span style="font-size: 9pt;">[
19.269087] brcmfmac: brcmf_sdio_download_firmware: dongle image file
download failed</span></span></span></span>
</p><p><span style="color: #2b00fe;"><br /></span></p><p>I am quite disappoint with this board. I liked raspberry pi because of their reputaton about well support software. apparently, this is not true.</p><p>The only way to get software raspiberry pi w is via USB + Pc. </p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-26681762892155818252021-05-08T19:00:00.000+02:002021-05-08T19:00:33.809+02:00Where is UART port of XiaoMi tv box<p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja2lJ8sP0VWsYqkFZav69fULL56gyvcR0kLdL7riqL7seIsgyB2MEh546IS2MwrGcjhsa-JgaJYu184a01Sux2P2NQ_DsCQfEJ1pzU5FY7rgLnV6kKyjU-roqZXSUiLodiAKpz/s2048/Olympus_EPM1_20210508P5081488.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1536" data-original-width="2048" height="499" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEja2lJ8sP0VWsYqkFZav69fULL56gyvcR0kLdL7riqL7seIsgyB2MEh546IS2MwrGcjhsa-JgaJYu184a01Sux2P2NQ_DsCQfEJ1pzU5FY7rgLnV6kKyjU-roqZXSUiLodiAKpz/w666-h499/Olympus_EPM1_20210508P5081488.jpg" width="666" /></a></div><br /><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgooazBtc1hRAcq1zopKNAmEUqb5ceDIYkaFkeYT-xv0HIQBLviJtFF6BS-C3tzpIzRaMLRG9RiA08s9kWx2qmtxnpdeDgpXcijECve4lF-VsuIsXvmB6xxzZ5c-ro6__hjo7cX/s2048/Olympus_EPM1_20210508P5081487.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1536" data-original-width="2048" height="504" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgooazBtc1hRAcq1zopKNAmEUqb5ceDIYkaFkeYT-xv0HIQBLviJtFF6BS-C3tzpIzRaMLRG9RiA08s9kWx2qmtxnpdeDgpXcijECve4lF-VsuIsXvmB6xxzZ5c-ro6__hjo7cX/w672-h504/Olympus_EPM1_20210508P5081487.jpg" width="672" /></a></div><br /> I want to install armbian on this old tv box. but unfortunately, I could not find any information about uart port of this model.<p></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-29784445722773024662021-02-17T21:55:00.008+01:002021-05-08T19:07:18.060+02:00how to setup raspberry pi as a geo(web)server part 1-- setup postgresql on the raspberry pi<p><span style="font-family: courier;"> How to setup Raspberry pi 4 as a geoserver</span></p><p><span style="font-family: courier;"><br /></span></p><p><b><span style="font-family: courier;">prepare:</span></b></p><p><span style="font-family: courier;">1. raspberry pi 4. I am using the 2GB version.</span></p><p><span style="font-family: courier;">2. install ubuntu server on the pi4.</span></p><p><span style="font-family: courier;">3. Internet/Wifi connection</span></p><p><span style="font-family: courier;">4. basic knowledge of computer and linux terminal.</span></p><p><span style="font-family: courier;"><br /></span></p><p><b><span style="font-family: courier;">Step1. Using SSH login on the pi 4. </span></b></p><p><span style="font-family: courier;">1.1 start terminal</span></p><p><span style="font-family: courier;">1.2 ssh login on your server</span></p><p><span style="background-color: #800180; color: white; font-family: courier;">ssh ubuntu@YOURSERVERIP</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">step2: keep your server up to date</span></p><p><span style="background-color: #800180; color: white; font-family: courier;">sudo apt install</span></p><p><span style="background-color: #800180; color: white; font-family: courier;">sudo apt upgrade</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">step3 install postgresql</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="color: #2b00fe; font-family: courier;">read https://tecadmin.net/install-postgresql-server-on-ubuntu/</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="background-color: #800180; color: white; font-family: courier;">sudo apt-get install wget ca-certificates</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">ok</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="background-color: #800180; color: white; font-family: courier;">sudo sh -c 'echo "deb http://apt.postgresql.org/pub/repos/apt/ `lsb_release -cs`-pgdg main" >> /etc/apt/sources.list.d/pgdg.list'</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="background-color: #800180; color: white; font-family: courier;">sudo apt-get update</span></p><p><span style="background-color: #800180; color: white; font-family: courier;">sudo apt-get install postgresql postgresql-contrib</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">result:</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">Success. You can now start the database server using:</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;"> pg_ctlcluster 13 main start</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">install postgis extension for postgresql</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="background-color: #800180; color: white; font-family: courier;">sudo apt install postgis postgresql-13-postgis-2.5</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">check database:</span></p><p><span style="font-family: courier;">1.Switch to postgres user.</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="background-color: #800180; color: white; font-family: courier;">sudo -i -u postgres</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">2. create database, </span></p><p><span style="background-color: #800180; color: white; font-family: courier;">createdb postgis25</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="background-color: #800180; color: white; font-family: courier;">psql -d postgis25</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">3. create extension postgis;</span></p><p><span style="font-family: courier;">4. <span style="background-color: #800180; color: white;">select postgis_version();</span></span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">ctrl + d, two times return to normal terminal</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">install import tool gdal</span></p><p><span style="background-color: #800180; color: white; font-family: courier;">sudo apt install gdal-bin</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">import a ESRI shapefile (WORLD boundary) to database. </span></p><p><span style="background-color: #800180; color: white; font-family: courier;">mkdir geodata</span></p><p><span style="background-color: #800180; color: white; font-family: courier;">cd geodata</span></p><p><span style="background-color: #800180; color: white; font-family: courier;">wget https://opendata.arcgis.com/datasets/a21fdb46d23e4ef896f31475217cbb08_1.zip</span></p><p><span style="background-color: #800180; color: white; font-family: courier;"><br /></span></p><p><span style="background-color: #800180; color: white; font-family: courier;">sudo apt install zip </span></p><p><span style="background-color: #800180; color: white; font-family: courier;">unzip a21fdb46d23e4ef896f31475217cbb08_1.zip</span></p><p><span style="background-color: #800180; color: white; font-family: courier;"><br /></span></p><p><span style="background-color: #800180; color: white; font-family: courier;">sudo -i -u postgres</span></p><p><br /></p><p><span style="background-color: #800180; color: white; font-family: courier;">ogr2ogr -f PostgreSQL PG:dbname=postgis25 -progress -lco SCHEMA=public -nlt PROMOTE_TO_MULTI 99bfd9e7-bb42-4728-87b5-07f8c8ac631c2020328-1-1vef4ev.lu5nk.shp</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">login into database </span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="background-color: #800180; color: white; font-family: courier;">psql -d postgis25</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">to get all tables</span></p><p><span style="background-color: #800180; color: white; font-family: courier;">\dt</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="font-family: courier;">get the first feature</span></p><p><span style="font-family: courier;"><br /></span></p><p><span style="background-color: #800180; color: white; font-family: courier;">SELECT objectid,cntr_name from lu5nk limit 1;</span></p><p><br /></p><p><span style="font-family: courier;">to quit</span></p><p><span style="background-color: #800180;"><span style="color: white; font-family: courier;">\q</span></span></p><p><span style="background-color: #800180;"><span style="color: white; font-family: courier;"><br /></span></span></p><p><span style="background-color: #f1c232; font-family: courier;">using cmd htop check raspberry resources after install postgres</span></p><p></p><div class="separator" style="clear: both; text-align: center;"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixAI3L1ZM5y2mGBmq0g6b0mAh36jbSmokHkAyXDir_BBpgHZubI36xb7ozrmCPq_dQDWGniG0JcN4fU37ym-NKJEOsATLz0Dp43SS_JmGdFxHtP5srwQ9IOx4RDp3sw39WSNWa/s1915/2021-02-17-205140_1920x1080_scrot.png" style="margin-left: 1em; margin-right: 1em;"><img border="0" data-original-height="1040" data-original-width="1915" height="358" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEixAI3L1ZM5y2mGBmq0g6b0mAh36jbSmokHkAyXDir_BBpgHZubI36xb7ozrmCPq_dQDWGniG0JcN4fU37ym-NKJEOsATLz0Dp43SS_JmGdFxHtP5srwQ9IOx4RDp3sw39WSNWa/w658-h358/2021-02-17-205140_1920x1080_scrot.png" width="658" /></a></div><br /><span style="background-color: #f1c232; font-family: courier;"><br /></span><p></p><p><span><span style="background-color: white; font-family: courier; font-size: x-small;">[2021-05-08] Unfortunately, the project is onhold. I am using the machine for another project. Right now, I installed MotionEyeOS on it. The project is about wiring doorbell with esp32(micro python) Microcontroler. With the doorbell triggered, a call will be made to webhook or webserver, then send rich notification(timestamp with snapshot of Raspberry Pi camera) to my email or mobile.</span></span></p><p><span style="background-color: #800180;"><span style="color: white; font-family: courier;"><br /></span></span></p>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-81321366757130935932019-09-17T21:57:00.001+02:002019-09-17T21:57:43.678+02:00how to enable python3 on qnap<div dir="ltr">step1. via qnap app center, install python3.5<div>step2, connect qnap via ssh</div><div>step3, first run cmd " . /etc/profile.d/python3.bash"</div><div>step4, run cmd python3 </div><div><div><br></div><br></div></div> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-58668342231209314182013-06-30T22:31:00.001+02:002013-06-30T22:31:17.406+02:00Mac(10.8.4) could not login qnap(3.8.0 or later) NAS via AFP<div dir="ltr">This weekend, I realize that I could not access my photo library via AFP. My Qnap was version 3.8.2. I did try to update firmware to latest version 4.0.1. but the problem remains. at end, I restore firmware 3.7.3. finally the problem been solved. it was difficult to find out where it is problem. I had try a lot of different settings on mac. it turn out the NAS has problem.<br> <br><br clear="all"><div><div><br>-- <br>Xiaoyu Guan (Sam)<br>http://<a href="http://goo.gl/TpmBs" title="goo.gl/TpmBs" target="_blank">goo.gl/TpmBs</a> </div></div></div> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-61520173949896619262012-09-21T14:31:00.001+02:002012-09-21T14:31:26.223+02:00postgis convert geometrycollection to linestring or point<div>SELECT ST_AsEWKT(the_geom)</div><div>FROM</div><div>(SELECT ST_Locate_Between_Measures(</div><div>ST_GeomFromEWKT('MULTILINESTRINGM((1 2 3, 3 4 2, 9 4 3),</div><div>(1 2 3, 5 4 5))'),1.5, 3) As the_geom) As foo;</div> <div>st_asewkt</div><div>-----------------------------------------------------------------</div><div>GEOMETRYCOLLECTIONM(LINESTRING(1 2 3,3 4 2,9 4 3),POINT(1 2 3))</div><div>--Geometry collections are difficult animals so dump them</div> <div>--to make them more digestable</div><div>SELECT ST_AsEWKT((ST_Dump(the_geom)).geom)</div><div>FROM</div><div>(SELECT ST_Locate_Between_Measures(</div><div>ST_GeomFromEWKT('MULTILINESTRINGM((1 2 3, 3 4 2, 9 4 3),</div> <div>(1 2 3, 5 4 5))'),1.5, 3) As the_geom) As foo;</div><div>st_asewkt</div><div>--------------------------------</div><div>LINESTRINGM(1 2 3,3 4 2,9 4 3)</div><div>POINTM(1 2 3)</div><div><br></div><div>This is example script from postgis manual. </div> <div>after you dump geometrycollection, you can select linestring .</div><div><br></div><div><br></div><div><br></div>-- <br>Xiaoyu Guan (Sam)<br>http://<a href="http://goo.gl/TpmBs" title="goo.gl/TpmBs" target="_blank">goo.gl/TpmBs</a><br> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-35465413512454246182011-10-21T22:51:00.001+02:002011-10-21T22:51:06.170+02:00why I like iphone instead of android phone?<p class="mobile-photo"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMVX8FcMD-KU1zwho3Rj8QpWRTUaMghBDiSCH0PQI9QWU2IM9JMRIBJ7DxrDMSUK4A1kznDFXq9JPC7Fs2rYE-O4iqml-daZWarYJQ33WIfQLGIA2qsj8Kwu0Xan694EoXqQBs/s1600/A+new+way+of+measuring+Openness%252C+from+Android+to+WebKit-+The+Open+Governance+Index+%255BUpdated%255D+-+VisionMobile+--+blog+2011-10-21+22-46-00-766170.png"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiMVX8FcMD-KU1zwho3Rj8QpWRTUaMghBDiSCH0PQI9QWU2IM9JMRIBJ7DxrDMSUK4A1kznDFXq9JPC7Fs2rYE-O4iqml-daZWarYJQ33WIfQLGIA2qsj8Kwu0Xan694EoXqQBs/s320/A+new+way+of+measuring+Openness%252C+from+Android+to+WebKit-+The+Open+Governance+Index+%255BUpdated%255D+-+VisionMobile+--+blog+2011-10-21+22-46-00-766170.png" border="0" alt="" id="BLOGGER_PHOTO_ID_5666050850002573634" /></a></p>because android project is actually very close project. Not real open source project.<br>e.g. google does not release android 3 source code.<br>and I got another source from <a href="http://www.visionmobile.com/blog/2011/07/the-open-governance-index-measuring-openness-from-android-to-webkit/">http://www.visionmobile.com/blog/2011/07/the-open-governance-index-measuring-openness-from-android-to-webkit/</a><br> it is the most 'close' openness project...<br clear="all"><br>OpenSource is not just a label. but for google it is for marketing.<br>-- <br>Xiaoyu Guan (Sam)<br>http://<a href="http://goo.gl/TpmBs" title="goo.gl/TpmBs" target="_blank">goo.gl/TpmBs</a><br> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-45296098004888090142011-10-03T21:32:00.001+02:002011-10-03T21:32:47.547+02:00Openlayers 2.11RC support Sencha touch and jQuery mobile<p class="mobile-photo"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOIQC8FbiyyudHxGDmw0H7-nZDPf0RDNMFSzCg1eeY4JWPaUxuVqLt6M0S62HctU0GYpjj9guNW-Dc-5oTXtR7k1WjSaLj1Kk5qKBG4jaU5ENPHc28z3zs33FNUJ1BKU-Ywoj3/s1600/%253D%253FUTF-8%253FB%253F5bGP5bmV5b%252Br54WnIDIwMTEtMTAtMDMgOS4yNy4zMSBQTS5wbmc%253D%253F%253D-767548"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhOIQC8FbiyyudHxGDmw0H7-nZDPf0RDNMFSzCg1eeY4JWPaUxuVqLt6M0S62HctU0GYpjj9guNW-Dc-5oTXtR7k1WjSaLj1Kk5qKBG4jaU5ENPHc28z3zs33FNUJ1BKU-Ywoj3/s320/%253D%253FUTF-8%253FB%253F5bGP5bmV5b%252Br54WnIDIwMTEtMTAtMDMgOS4yNy4zMSBQTS5wbmc%253D%253F%253D-767548" border="0" alt="" id="BLOGGER_PHOTO_ID_5659351141678487554" /></a></p><p class="mobile-photo"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHpfrDv8GkJbyZ0sD0UiASToFQySh8hikEC0iiZXEQb99hvKe2ldwSVq2vnDGhJkjmFkktWxKMYREJb6LI-WKbOMrbslMt5qga_Q162KZ0qSy4NiL5hw0v8_Nw5vuL7XYNWkyV/s1600/%253D%253FUTF-8%253FB%253F5bGP5bmV5b%252Br54WnIDIwMTEtMTAtMDMgOS4zMS4zOCBQTS5wbmc%253D%253F%253D-769204"><img src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhHpfrDv8GkJbyZ0sD0UiASToFQySh8hikEC0iiZXEQb99hvKe2ldwSVq2vnDGhJkjmFkktWxKMYREJb6LI-WKbOMrbslMt5qga_Q162KZ0qSy4NiL5hw0v8_Nw5vuL7XYNWkyV/s320/%253D%253FUTF-8%253FB%253F5bGP5bmV5b%252Br54WnIDIwMTEtMTAtMDMgOS4zMS4zOCBQTS5wbmc%253D%253F%253D-769204" border="0" alt="" id="BLOGGER_PHOTO_ID_5659351159726218002" /></a></p>check OpenLayers demo site with iPhone and Andriod phones<br><a href="http://openlayers.org/dev/examples/?q=mobile">http://openlayers.org/dev/examples/?q=mobile</a><br><br clear="all"><br>-- <br>Xiaoyu Guan (Sam)<br>http://<a href="http://goo.gl/TpmBs" title="goo.gl/TpmBs" target="_blank">goo.gl/TpmBs</a><br> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-74196606683424951442011-08-16T22:28:00.001+02:002011-08-16T22:28:53.425+02:00QNAP TS-212 default load mod_rewrite.soyou can simply put phpinfo.php file in the httpdoc root.<br>Loaded Modules core mod_authn_file mod_authn_default mod_authz_host mod_authz_groupfile mod_authz_user mod_authz_default mod_auth_basic mod_include mod_log_config mod_env mod_setenvif mod_version prefork http_core mod_mime mod_dav mod_status mod_autoindex mod_asis mod_cgi mod_dav_fs mod_dav_lock mod_vhost_alias mod_negotiation mod_dir mod_actions mod_userdir mod_alias mod_rewrite mod_so mod_php5 <br clear="all"><br>-- <br>Xiaoyu Guan (Sam)<br>http://<a href="http://goo.gl/TpmBs" title="goo.gl/TpmBs" target="_blank">goo.gl/TpmBs</a><br> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-77076980721043558892011-07-29T21:52:00.001+02:002011-07-29T21:52:07.053+02:00[mac]play QNAP movie from Frontrow solutionthe solution is very simple, you need to create a alias of your qnap movie folder, and drag this alias to your mac default movies folder. then start your frontrow... <div>thanks the turtorial from <a href="http://qnapnas.blogspot.com/2008/09/playing-movies-saved-on-qnap-nas-thru.html">http://qnapnas.blogspot.com/2008/09/playing-movies-saved-on-qnap-nas-thru.html</a></div> <div><br></div><div><br></div><div><br>-- <br>Xiaoyu Guan (Sam)<br>http://<a href="http://goo.gl/TpmBs" title="goo.gl/TpmBs" target="_blank">goo.gl/TpmBs</a><br> </div> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-2245723130413684002011-07-24T20:58:00.001+02:002011-07-24T20:58:22.470+02:00how to downgrade mac os from lion to snow leopardstep 0, suppose you have a fully time machine backup<div>step 1, insert snow leopard installation dvd into mac and rebook it.</div><div>step 2, when boot screen show up, press and hold "C"<br clear="all">step 3, snow leopard installation menu will show up, on toolar choose restore from time machine.</div> <div>step 4, in the time machine choose your latest backup from list, click next and next.</div><div>after 3~4hours, your mac will back to SL.</div><div>the reason why I downgrade mac os is globalscan iscsi not support lion, or because lion change api , not compatiable with original softwares. </div> <div>the second reason is my cannon dpp is not working neither. </div><div>the third reason is lion full screen apps which seems like not support duo monitor. full screen apps is always 'full screen' on one monitor.</div> <div>the four reason is because in 5 min I found the above three bugs, I feel lion is like vista 2. </div><div><br></div><div>luckily, I have timemachine. after 4 hours restore, my mac back to alive with my iscsi target.</div> <div><br></div><div><br></div><div><br>-- <br>Xiaoyu Guan (Sam)<br>http://<a href="http://goo.gl/TpmBs" title="goo.gl/TpmBs" target="_blank">goo.gl/TpmBs</a><br> </div> Unknownnoreply@blogger.com1tag:blogger.com,1999:blog-16086938.post-41735717322650490112011-06-13T22:21:00.001+02:002011-06-13T22:21:20.592+02:00blender voodoo 3 motion trackingVoodoo and Blender is free(Open Source) tool for 3D animation and video.<br>Last two days, I try to play with this two tools. Although Blender offer great tutorials for beginners, but they are not practical for me. <br clear="all"> I want something quick. I dont want to spend too much understand all the tools. I just want to know what I need to solve my problem.<br>Thanks, Youtube. there are a lot of nice tutorials.<br>such as <br><a href="http://www.youtube.com/watch?v=kPZbtKQ1a4g">http://www.youtube.com/watch?v=kPZbtKQ1a4g</a><br> <br>check the video. <br>but the problem is blender 2.57 UI is big difference with 2.49. it is not good for beginner.<br>I waste half day on "converting" all tutorial from 2.4 to 2.5. It always better keep using same version blender as tutorial. <br> So you are sure the tools are works. what I learned:<br>1. Voodoo blender python scripts is not full working on blender 2.5. it is better export python blender script to version 2.4.<br>2. If you try to render in quicktime format with RGBA, my blender 2.5 just crash.<br> 3. disadvantage of 2.4. my footage doesnt show correctly in 2.4. but it show correct in 2.5. e.g. my footage is 29.97 fps, in total it is 165 frames. but it doesnt show right in 2.4.<br><br>the last thing is that, you still need adobe after effect to process final step. <br> Blender cannot merge animation layer and my footage. I hope there are some opensource tools or blender plugin can handle this. that would be perfect.<br>At the end, with the two tools, user can create greate 3d animation with their own footage. I am very happy with these tools.<br> <br><br><br><br>-- <br>Xiaoyu Guan (Sam)<br><a href="http://guanxiaoyu.blogspot.com">http://guanxiaoyu.blogspot.com</a><br><br> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-23603096181987445402011-06-12T21:01:00.001+02:002011-06-12T21:01:43.346+02:003D motion tracking blender 2.5 voodoo 1.10b import scripts errorI got Blender 2.57.1 r36339 and voodoo1.10beta installed<br><br>to fix the error <br>step 1. replace "set_frame"<br> <br> with<br> <br> "frame_set"<br>see post from <a href="http://blenderartists.org/forum/archive/index.php/t-205187.html">http://blenderartists.org/forum/archive/index.php/t-205187.html</a><br><br>step2 replace <br>vcam.matrix_world = mathutils.Matrix([0.986389,0.010807,0.164070,0.000000], [-0.004649,-0.995605,0.093532,0.000000], [0.164360,-0.093022,-0.982004,0.000000], [-1.506059,0.231502,7.789379,1.000000]) <br> <br> becomes:<br> <br> vcam.matrix_world = mathutils.Matrix(([0.986389,0.010807,0.164070,0.000000], [-0.004649,-0.995605,0.093532,0.000000], [0.164360,-0.093022,-0.982004,0.000000], [-1.506059,0.231502,7.789379,1.000000])) <br><br>see post from <br><br><a href="http://blenderartists.org/forum/archive/index.php/t-176527.html">http://blenderartists.org/forum/archive/index.php/t-176527.html</a><br><br> then run script<br><br><br clear="all"><br>-- <br>Xiaoyu Guan (Sam)<br><a href="http://guanxiaoyu.blogspot.com">http://guanxiaoyu.blogspot.com</a><br><br> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-75443895685541605632011-05-24T22:07:00.001+02:002011-05-24T22:07:46.310+02:00Install Telnet Client on Windows 7 or Windows Vista<h2 class="heading"><br></h2> <div id="sectionSection2" class="section"> <p>On Windows 7, Windows Vista, you can use the Windows Features tool to install optional components.</p> <h4 class="subHeading">To install Telnet Client on Windows 7 or Windows Vista</h4> <div class="subSection"> <ol class="ordered"><li> <p>Click <strong>Start</strong>, and then click <strong>Control Panel</strong>.</p> </li><li> <p>On the <strong>Control Panel Home</strong> page, click <strong>Programs</strong>.</p> </li><li> <p>In the <strong>Programs and Features</strong> section, click <strong>Turn Windows features on or off</strong>.</p> </li><li> <p> If the <strong>User Account Control</strong> dialog box appears, confirm that the action it displays is what you want, and then click <strong>Continue</strong>. </p> </li><li> <p>In the <strong>Windows Features</strong> list, select <strong>Telnet Client</strong>, and then click <strong>OK</strong>.</p> </li></ol> </div> </div><br clear="all"><br>-- <br>Xiaoyu Guan (Sam)<br><a href="http://guanxiaoyu.blogspot.com">http://guanxiaoyu.blogspot.com</a><br><br> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-20563797618150795312011-04-27T18:40:00.001+02:002011-04-27T18:40:56.263+02:00Fwd: Ext JS 4 is Here - The Most Advanced JavaScript Framework<br><div class="gmail_quote"><br><br> <div style="background: none repeat scroll 0% 0% rgb(4, 53, 84); line-height: 0pt; margin: 0pt; padding: 0pt; border: 0pt none; outline: 0pt none;"> <table style="background: none repeat scroll 0% 0% rgb(4, 53, 84); padding: 0pt 50px 20px; border: 0pt none; margin: 0pt; outline: 0pt none;" width="100%" align="center" border="0" cellpadding="0" cellspacing="0"> <tbody><tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" align="center"> <table style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="600" align="center" cellpadding="0" cellspacing="0"> <tbody><tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td colspan="3" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="600" align="center" height="24"><img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="600" height="24"></td> </tr> <tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="text-align: left; border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="middle" width="200" align="left"> <span style="color: rgb(4, 53, 84); font-size: 1px; min-height: 1px; overflow: hidden; width: 1px; border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">Ext JS 4 is a revolution in our flagship JavaScript framework, arguably the best in the world. »</span> <img src="http://www.sencha.com/assets/images/20110125-newsletter-logo.png" alt="Sencha Inc." style="display: block; border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="120" height="50"> </td> <td style="text-align: right; border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="middle" width="390" align="right"> <span style="color: rgb(144, 173, 196); font-family: 'Helvetica Neue',Arial,Helvetica,sans-serif; font-size: 13px; line-height: 13px; text-align: right; border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"><a href="http://mkto-j0085.com/track?type=click&enid=bWFpbGluZ2lkPXNlbmNoYUJldGFjdXN0LTExMzUtNTI0LTAtMzEtcHJvZC05MSZtZXNzYWdlaWQ9MCZkYXRhYmFzZWlkPTkxJnNlcmlhbD0xMjYwMjY4MjE1JmVtYWlsaWQ9Z3VhbnhpYW95dUBnbWFpbC5jb20mdXNlcmlkPTE0NjMyMDkmZXh0cmE9JiYm&&&http://www.sencha.com/store/extjs/?mkt_tok=3RkMMJWWfF9wsRonuq%2FMZKXonjHpfsX57%2BouW6e%2FlMI%2F0ER3fOvrPUfGjI4CTdQhcOuuEwcWGog80wlWGeiU" style="color: rgb(255, 255, 255); text-decoration: none; border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" target="_blank">Buy Now</a> <a href="http://mkto-j0085.com/track?type=click&enid=bWFpbGluZ2lkPXNlbmNoYUJldGFjdXN0LTExMzUtNTI0LTAtMzEtcHJvZC05MSZtZXNzYWdlaWQ9MCZkYXRhYmFzZWlkPTkxJnNlcmlhbD0xMjYwMjY4MjE1JmVtYWlsaWQ9Z3VhbnhpYW95dUBnbWFpbC5jb20mdXNlcmlkPTE0NjMyMDkmZXh0cmE9JiYm&&&http://www.sencha.com/products/extjs/download/?mkt_tok=3RkMMJWWfF9wsRonuq%2FMZKXonjHpfsX57%2BouW6e%2FlMI%2F0ER3fOvrPUfGjI4CTdQhcOuuEwcWGog80wlWGeiU" style="color: rgb(255, 255, 255); text-decoration: none; border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" target="_blank">Download</a></span> </td> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="10" height="1"><img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="10" height="1"></td> </tr> </tbody></table> </td> </tr> <tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" align="center"> <table style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="600" align="center" bgcolor="#ffffff" cellpadding="0" cellspacing="0"> <tbody><tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="600" height="430"><a href="http://mkto-j0085.com/track?type=click&enid=bWFpbGluZ2lkPXNlbmNoYUJldGFjdXN0LTExMzUtNTI0LTAtMzEtcHJvZC05MSZtZXNzYWdlaWQ9MCZkYXRhYmFzZWlkPTkxJnNlcmlhbD0xMjYwMjY4MjE1JmVtYWlsaWQ9Z3VhbnhpYW95dUBnbWFpbC5jb20mdXNlcmlkPTE0NjMyMDkmZXh0cmE9JiYm&&&http://www.sencha.com/extjs?mkt_tok=3RkMMJWWfF9wsRonuq%2FMZKXonjHpfsX57%2BouW6e%2FlMI%2F0ER3fOvrPUfGjI4CTdQhcOuuEwcWGog80wlWGeiU" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt; color: rgb(18, 100, 153);" target="_blank"><img src="http://www.sencha.com/assets/images/20110425-extjs4-email.jpg" alt="Ext JS 4 is here." style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="600" height="430"></a></td> </tr> </tbody></table> </td> </tr> <tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" align="center"> <table style="background: none repeat scroll 0% 0% white; text-align: left; border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="600" align="center" cellpadding="0" cellspacing="0"> <tbody><tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" align="center"> <table style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="600" align="center" bgcolor="#ffffff" cellpadding="0" cellspacing="0"> <tbody><tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="20"><img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="20" height="20"></td> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top"> <table style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="560" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0"> <tbody><tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="560" height="24"><img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="560" height="24"></td> </tr> <tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <table style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="560" bgcolor="#ffffff" border="0" cellpadding="0" cellspacing="0"> <tbody><tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top" width="260"> <img src="http://www.sencha.com/assets/images/20110422-charts.jpg" alt="Charts & Drawing" style="padding: 0pt 0pt 10px 10px; border: 0pt none; margin: 0pt; outline: 0pt none;" width="60" align="right" height="60"> <div style="border: 0pt none; margin: 0pt 0pt 12px; outline: 0pt none; padding: 0pt; color: rgb(68, 68, 68); font-family: 'Helvetica Neue',Helvetica,Arial,Geneva,sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; text-align: left;"> <b style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">Charts & Drawing</b><br style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> Ext JS 4 delivers the most advanced drawing, charting, and graphing capabilities of any JavaScript framework. Forget Flash; Add advanced interactive animations and look sharp on everything from IE 6 to Chrome 11. </div> </td> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top" width="40"> <img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="40" height="1"> </td> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top" width="260"> <img src="http://www.sencha.com/assets/images/20110422-grid-infinite.jpg" alt="Refined Components" style="padding: 0pt 0pt 10px 10px; border: 0pt none; margin: 0pt; outline: 0pt none;" width="60" align="right" height="60"> <div style="border: 0pt none; margin: 0pt 0pt 12px; outline: 0pt none; padding: 0pt; color: rgb(68, 68, 68); font-family: 'Helvetica Neue',Helvetica,Arial,Geneva,sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; text-align: left;"> <b style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">Refined Components</b><br style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> Grids are faster, lighter, and easier to customize than ever in Ext JS 4. Grid HTML markup is drastically reduced and has built-in intelligence — rendering only markup needed for features enabled in your app. </div> </td> </tr> <tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td colspan="3" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top" width="560"> <img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="560" height="10"> </td> </tr> <tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top" width="260"> <img src="http://www.sencha.com/assets/images/20110422-data.jpg" alt="Advanced Data" style="padding: 0pt 0pt 10px 10px; border: 0pt none; margin: 0pt; outline: 0pt none;" width="62" align="right" height="60"> <div style="border: 0pt none; margin: 0pt 0pt 12px; outline: 0pt none; padding: 0pt; color: rgb(68, 68, 68); font-family: 'Helvetica Neue',Helvetica,Arial,Geneva,sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; text-align: left;"> <b style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">Advanced Data</b><br style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> The Ext JS 4 Data package enables you to retrieve, decode and use data in your web apps. The data package has been completely rewritten for version 4, while using the same approach as previous versions. </div> </td> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top" width="40"> <img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="40" height="1"> </td> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top" width="260"> <img src="http://www.sencha.com/assets/images/20110422-theming.jpg" alt="Custom Theming" style="padding: 0pt 0pt 10px 10px; border: 0pt none; margin: 0pt; outline: 0pt none;" width="60" align="right" height="60"> <div style="border: 0pt none; margin: 0pt 0pt 12px; outline: 0pt none; padding: 0pt; color: rgb(68, 68, 68); font-family: 'Helvetica Neue',Helvetica,Arial,Geneva,sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; text-align: left;"> <b style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">Custom Theming</b><br style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> Ext JS 4 harnesses technology originally developed for Sencha Touch to make the framework more themeable than ever. Every aspect of the framework's appearance can be customized, often in a single variable. </div> </td> </tr> <tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td colspan="3" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top" width="560"> <img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="560" height="10"> </td> </tr> <tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top" width="260"> <img src="http://www.sencha.com/assets/images/20110422-layouts.jpg" alt="Layouts" style="padding: 0pt 0pt 10px 10px; border: 0pt none; margin: 0pt; outline: 0pt none;" width="60" align="right" height="60"> <div style="border: 0pt none; margin: 0pt 0pt 12px; outline: 0pt none; padding: 0pt; color: rgb(68, 68, 68); font-family: 'Helvetica Neue',Helvetica,Arial,Geneva,sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; text-align: left;"> <b style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">Layouts</b><br style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> Ext JS 4 has a fully refactored layout engine with higher efficiency and performance — as well as brand new layouts like DockLayout, and more! </div> </td> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top" width="40"> <img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="40" height="1"> </td> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top" width="260"> <img src="http://www.sencha.com/assets/images/20110422-ed-his-arms-wide.jpg" alt="Ed, his arms wide" style="padding: 0pt 0pt 10px 10px; border: 0pt none; margin: 0pt; outline: 0pt none;" width="60" align="right" height="60"> <div style="border: 0pt none; margin: 0pt 0pt 12px; outline: 0pt none; padding: 0pt; color: rgb(68, 68, 68); font-family: 'Helvetica Neue',Helvetica,Arial,Geneva,sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; text-align: left;"> <b style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">Learning Resources</b><br style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> With our new API Docs viewer and helpful guides, Ext JS 4 is more approachable than ever. Dive in and make something amazing today! </div> </td> </tr> <tr style="background: none repeat scroll 0% 0% rgb(236, 245, 252); border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td colspan="3" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top" width="560"> <img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="560" height="20"> </td> </tr> <tr style="background: none repeat scroll 0% 0% rgb(236, 245, 252); border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td colspan="3" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top"> <div style="padding: 0pt 10px; border: 0pt none; margin: 0pt 0pt 12px; outline: 0pt none; color: rgb(68, 68, 68); font-family: 'Helvetica Neue',Helvetica,Arial,Geneva,sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; text-align: left;"> <b style="color: rgb(68, 68, 68); border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">Get up to speed on Ext JS 4 with Sencha Training</b><br style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <img src="http://www.sencha.com/files/misc/training_small.png" alt="Sencha Training" style="padding: 0pt 0pt 10px 10px; border: 0pt none; margin: 0pt; outline: 0pt none;" width="71" align="right" height="65"> <span style="color: rgb(68, 68, 68);">Our hands-on course is designed for experienced Ext JS 3 developers and covers the new features in Ext JS 4, including the Ext Core Class System, the new Data Model, Forms, Layouts, Charting & Drawing, new Grid features, Theming with Sass, and Sencha MVC.</span> </div> <div style="padding-left: 10px; border: 0pt none; margin: 0pt 0pt 12px; outline: 0pt none; color: rgb(68, 68, 68); font-family: 'Helvetica Neue',Helvetica,Arial,Geneva,sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; text-align: left;"> <b style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"><a href="http://mkto-j0085.com/track?type=click&enid=bWFpbGluZ2lkPXNlbmNoYUJldGFjdXN0LTExMzUtNTI0LTAtMzEtcHJvZC05MSZtZXNzYWdlaWQ9MCZkYXRhYmFzZWlkPTkxJnNlcmlhbD0xMjYwMjY4MjE1JmVtYWlsaWQ9Z3VhbnhpYW95dUBnbWFpbC5jb20mdXNlcmlkPTE0NjMyMDkmZXh0cmE9JiYm&&&http://www.sencha.com/training/?mkt_tok=3RkMMJWWfF9wsRonuq%2FMZKXonjHpfsX57%2BouW6e%2FlMI%2F0ER3fOvrPUfGjI4CTdQhcOuuEwcWGog80wlWGeiU" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt; color: rgb(18, 100, 153);" target="_blank">Learn more about Sencha Training »</a></b><br style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> </div> </td> </tr> <tr style="background: none repeat scroll 0% 0% rgb(236, 245, 252); border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td colspan="3" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top" width="560"> <img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="560" height="10"> </td> </tr> <tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td colspan="3" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top" width="560"> <img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="560" height="30"> </td> </tr> <tr style="padding: 20px 0pt; border: 0pt none; margin: 0pt; outline: 0pt none;"> <td colspan="2" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="top"> <div style="border: 0pt none; margin: 0pt 0pt 12px; outline: 0pt none; padding: 0pt; color: rgb(68, 68, 68); font-family: 'Helvetica Neue',Helvetica,Arial,Geneva,sans-serif; font-size: 13px; font-weight: normal; line-height: 18px; text-align: left;"> <b style="color: rgb(68, 68, 68); border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">Download Ext JS 4 Now</b><br style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">Download the world's most advanced JavaScript framework today.</div> </td> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" valign="middle" align="right"> <a href="http://mkto-j0085.com/track?type=click&enid=bWFpbGluZ2lkPXNlbmNoYUJldGFjdXN0LTExMzUtNTI0LTAtMzEtcHJvZC05MSZtZXNzYWdlaWQ9MCZkYXRhYmFzZWlkPTkxJnNlcmlhbD0xMjYwMjY4MjE1JmVtYWlsaWQ9Z3VhbnhpYW95dUBnbWFpbC5jb20mdXNlcmlkPTE0NjMyMDkmZXh0cmE9JiYm&&&http://www.sencha.com/store/extjs/?mkt_tok=3RkMMJWWfF9wsRonuq%2FMZKXonjHpfsX57%2BouW6e%2FlMI%2F0ER3fOvrPUfGjI4CTdQhcOuuEwcWGog80wlWGeiU" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt; color: rgb(18, 100, 153);" target="_blank"><img src="http://www.sencha.com/img/buy-now.png" alt="Buy Ext JS 4" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="82" height="32"></a><a href="http://mkto-j0085.com/track?type=click&enid=bWFpbGluZ2lkPXNlbmNoYUJldGFjdXN0LTExMzUtNTI0LTAtMzEtcHJvZC05MSZtZXNzYWdlaWQ9MCZkYXRhYmFzZWlkPTkxJnNlcmlhbD0xMjYwMjY4MjE1JmVtYWlsaWQ9Z3VhbnhpYW95dUBnbWFpbC5jb20mdXNlcmlkPTE0NjMyMDkmZXh0cmE9JiYm&&&http://www.sencha.com/products/extjs/download/?mkt_tok=3RkMMJWWfF9wsRonuq%2FMZKXonjHpfsX57%2BouW6e%2FlMI%2F0ER3fOvrPUfGjI4CTdQhcOuuEwcWGog80wlWGeiU" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt; color: rgb(18, 100, 153);" target="_blank"><img src="http://www.sencha.com/img/download-extjs.png" alt="Download Ext JS" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt 0pt 0pt 5px;" width="159" height="32"></a> </td> </tr> </tbody></table> </td> </tr> </tbody></table> </td> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="20"><img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="20" height="20"></td> </tr> </tbody></table> </td> </tr> </tbody></table> </td> </tr> <tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" align="center"> <table style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="600" align="center" bgcolor="#ffffff" cellpadding="0" cellspacing="0"> <tbody><tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="600" height="20"><img src="http://www.sencha.com/assets/images/20110125-footer.png" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="600" height="20"></td> </tr> </tbody></table> </td> </tr> <tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" align="center"> <table style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="600" align="center" cellpadding="0" cellspacing="0"> <tbody><tr style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="10" height="20"><img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="10" height="20"></td> <td style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="590" align="left"> <span style="color: rgb(255, 255, 255); font-size: 12px; text-align: left; border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt; font-family: 'Helvetica Neue',Helvetica,Arial,Geneva,sans-serif; font-weight: normal; line-height: 18px;"><br style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"> Copyright © 2011 <a href="http://mkto-j0085.com/track?type=click&enid=bWFpbGluZ2lkPXNlbmNoYUJldGFjdXN0LTExMzUtNTI0LTAtMzEtcHJvZC05MSZtZXNzYWdlaWQ9MCZkYXRhYmFzZWlkPTkxJnNlcmlhbD0xMjYwMjY4MjE1JmVtYWlsaWQ9Z3VhbnhpYW95dUBnbWFpbC5jb20mdXNlcmlkPTE0NjMyMDkmZXh0cmE9JiYm&&&http://www.sencha.com/?mkt_tok=3RkMMJWWfF9wsRonuq%2FMZKXonjHpfsX57%2BouW6e%2FlMI%2F0ER3fOvrPUfGjI4CTdQhcOuuEwcWGog80wlWGeiU" style="color: rgb(255, 255, 255); text-decoration: none; border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" target="_blank">Sencha Inc.</a> <span style="color: rgb(255, 255, 255); border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"><span style="color: rgb(255, 255, 255); border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">1700 Seaport Boulevard #120</span>, <span style="color: rgb(255, 255, 255); border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">Redwood City</span>, <span style="color: rgb(255, 255, 255); border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;"><abbr title="California" style="color: rgb(255, 255, 255); border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">CA</abbr></span> <span style="color: rgb(255, 255, 255); border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">94063</span></span> <span style="color: rgb(255, 255, 255); border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;">USA</span> </span></td> </tr> </tbody></table> </td> </tr> </tbody></table> <img src="http://mkto-j0085.com/track?enid=bWFpbGluZ2lkPXNlbmNoYUJldGFjdXN0LTExMzUtNTI0LTAtMzEtcHJvZC05MSZtZXNzYWdlaWQ9MCZkYXRhYmFzZWlkPTkxJnR5cGU9b3BlbiZzZXJpYWw9MTI2MDI2ODIxNSZlbWFpbGlkPWd1YW54aWFveXVAZ21haWwuY29tJnVzZXJpZD0xNDYzMjA5JmV4dHJhPSYmJg==" width="1" border="0" height="1"> <table style="background: none repeat scroll 0% 0% rgb(4, 53, 84); padding: 0pt 50px 20px; border: 0pt none; margin: 0pt; outline: 0pt none;" width="100%" align="center" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td align="center"> <table style="border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt;" width="600" align="center" bgcolor="#043554" cellpadding="0" cellspacing="0"> <tbody><tr> <td width="10" height="20"><img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" width="10" height="20"></td> <td width="590" align="left"> <span style="color: rgb(255, 255, 255); font-size: 10px; text-align: left; border: 0pt none; margin: 0pt; outline: 0pt none; padding: 0pt; font-family: 'Helvetica Neue',Helvetica,Arial,Geneva,sans-serif; font-weight: normal; line-height: 18px;">You are receiving this email because you have registered with Sencha. To remove yourself from our mailing list, please <a href="http://pages.sencha.com/unsubscribe.html?mkt_unsubscribe=1&mkt_tok=3RkMMJWWfF9wsRonuq%2FMZKXonjHpfsX57%2BouW6e%2FlMI%2F0ER3fOvrPUfGjI4CTdQhcOuuEwcWGog80wlWGeiU" style="color: rgb(255, 255, 255); text-decoration: none;" name="12f9774cecd45d14_subscribe" target="_blank">Unsubscribe</a> </span> </td> </tr> </tbody></table> </td> </tr> <tr> <td width="600" height="24"><img src="http://www.sencha.com/assets/images/emails/_shim.gif" alt="" width="600" height="24"></td> </tr> </tbody></table> </div> </div><br><br clear="all"><br>-- <br>Xiaoyu Guan (Sam)<br><a href="http://guanxiaoyu.blogspot.com">http://guanxiaoyu.blogspot.com</a><br><br> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-91396869961636384342011-04-21T22:43:00.001+02:002011-04-21T22:43:03.815+02:00qnap_ts_212<div style="padding: 0; overflow: hidden; margin: 0; width: 500px;"><a href="http://www.flickr.com/photos/43687674@N07/5641025971/in/set-72157626423198151/" title="" style="display: block; padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;"><img src="http://farm6.static.flickr.com/5013/5641025971_a60d1cfd40_s.jpg" alt="" style="border:none; margin: 0; padding: 0; width: 75px; height: 75px;"/></a><a href="http://www.flickr.com/photos/43687674@N07/5641030379/in/set-72157626423198151/" title="" style="display: block; padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;"><img src="http://farm6.static.flickr.com/5005/5641030379_71389cb4e1_s.jpg" alt="" style="border:none; margin: 0; padding: 0; width: 75px; height: 75px;"/></a><a href="http://www.flickr.com/photos/43687674@N07/5641601602/in/set-72157626423198151/" title="" style="display: block; padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;"><img src="http://farm6.static.flickr.com/5067/5641601602_fd2506661d_s.jpg" alt="" style="border:none; margin: 0; padding: 0; width: 75px; height: 75px;"/></a><a href="http://www.flickr.com/photos/43687674@N07/5641029871/in/set-72157626423198151/" title="" style="display: block; padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;"><img src="http://farm6.static.flickr.com/5265/5641029871_d74abbb88d_s.jpg" alt="" style="border:none; margin: 0; padding: 0; width: 75px; height: 75px;"/></a><a href="http://www.flickr.com/photos/43687674@N07/5641600348/in/set-72157626423198151/" title="" style="display: block; padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;"><img src="http://farm6.static.flickr.com/5059/5641600348_48800cd641_s.jpg" alt="" style="border:none; margin: 0; padding: 0; width: 75px; height: 75px;"/></a><a href="http://www.flickr.com/photos/43687674@N07/5641031909/in/set-72157626423198151/" title="" style="display: block; padding: 0 0 10px 0; width: 75px; height: 75px; float: left;"><img src="http://farm6.static.flickr.com/5268/5641031909_b37f3c9ddf_s.jpg" alt="" style="border:none; margin: 0; padding: 0; width: 75px; height: 75px;"/></a><br clear="all"/><a href="http://www.flickr.com/photos/43687674@N07/5641599874/in/set-72157626423198151/" title="" style="display: block; padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;"><img src="http://farm6.static.flickr.com/5021/5641599874_c765e5869d_s.jpg" alt="" style="border:none; margin: 0; padding: 0; width: 75px; height: 75px;"/></a><a href="http://www.flickr.com/photos/43687674@N07/5641597254/in/set-72157626423198151/" title="" style="display: block; padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;"><img src="http://farm6.static.flickr.com/5302/5641597254_b4592bb245_s.jpg" alt="" style="border:none; margin: 0; padding: 0; width: 75px; height: 75px;"/></a><a href="http://www.flickr.com/photos/43687674@N07/5641028607/in/set-72157626423198151/" title="" style="display: block; padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;"><img src="http://farm6.static.flickr.com/5265/5641028607_8e5a0b6e4a_s.jpg" alt="" style="border:none; margin: 0; padding: 0; width: 75px; height: 75px;"/></a><a href="http://www.flickr.com/photos/43687674@N07/5641029003/in/set-72157626423198151/" title="" style="display: block; padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;"><img src="http://farm6.static.flickr.com/5108/5641029003_85c98b9e4d_s.jpg" alt="" style="border:none; margin: 0; padding: 0; width: 75px; height: 75px;"/></a><a href="http://www.flickr.com/photos/43687674@N07/5641598430/in/set-72157626423198151/" title="" style="display: block; padding: 0 10px 10px 0; width: 75px; height: 75px; float: left;"><img src="http://farm6.static.flickr.com/5003/5641598430_800dcc26bc_s.jpg" alt="" style="border:none; margin: 0; padding: 0; width: 75px; height: 75px;"/></a><a href="http://www.flickr.com/photos/43687674@N07/5641600722/in/set-72157626423198151/" title="" style="display: block; padding: 0 0 10px 0; width: 75px; height: 75px; float: left;"><img src="http://farm6.static.flickr.com/5014/5641600722_8122e88fcc_s.jpg" alt="" style="border:none; margin: 0; padding: 0; width: 75px; height: 75px;"/></a><br clear="all"/></div><div style="margin-top: 0px; margin-bottom: 5px"><p><a href="http://www.flickr.com/photos/43687674@N07/sets/72157626423198151/">qnap_ts_212</a>, a set on Flickr.</p></div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-70039873050333608132011-04-21T22:40:00.001+02:002011-04-21T22:40:12.531+02:00NAS QNAP TS-212 review part1Recently, I got one NAS QNAP TS-212 with 2tb *2 samsung harddisk. <div>it took around half hour to install the harddisk. but it is quite easy to do it. </div><div>after around two weeks, I am quite satisfy with it. </div><div> now I will briefly list all the pros and cons which I think. </div><div>Pros:</div><div>1. quiet, very quiet compare with deskpc. </div><div>2. energy. it cost 13 watt in operation, 6 watt on sleep.</div><div>3. speed. copy file from nas to pc or mac. the speed can reach my router top speed. I have router 100Mbits/second= around 11MB/s. you can play HD video directly via AFP, windows network service. with wifi connection. No problem for stream HD video. very fast. </div> <div>4. simple web server with php, mysql. with python,etc.I have installed some php program but I dont have a lot of time to play with it. </div><div><br></div><div>cons:</div><div>1. 256MB memory, not upgradeable. it sounds same strategy as apple(ipad, iphone), want more memory,pay more money. IT S STUPID!!!!. </div> <div>2. low speed cpu. for heavy works. when I upload large photo to my gallery3, the gallery3 become very slow. it take 80~90% cpu for cache new photo. if reduce the upload photo size, the gallery3 become much faster.</div> <div>3. less USB ports, no esata port. </div><div><br></div><div>at the end, NAS is neither pc nor server. it is a thin client for share files and data. It is ideal for share music, foto, video with family and friends. of course. it can do more jobs than this. you should be aware you looking for a network harddisk with extra functions or you are looking for a pc which can do more jobs.</div> <div><br></div><div><br></div><div><br></div><div><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"><img src="webkit-fake-url://1CC6731A-9955-46CF-830F-E6996239260C/5641601602_fd2506661d_b.jpg" alt="5641601602_fd2506661d_b.jpg"></p> <p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"><img src="webkit-fake-url://71A473D9-A5CE-427D-8CD0-C60503E09A71/5641600722_8122e88fcc_b.jpg" alt="5641600722_8122e88fcc_b.jpg"></p> <p></p><p style="margin: 0.0px 0.0px 0.0px 0.0px; font: 12.0px Helvetica"><br></p>-- <br>Xiaoyu Guan (Sam)<br><a href="http://guanxiaoyu.blogspot.com">http://guanxiaoyu.blogspot.com</a><br><br> </div> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-9211936107592362472011-04-19T12:30:00.001+02:002011-04-19T12:30:18.584+02:00godmode in win7<br clear="all">To enter in "godmode," one will only need to create a new folder and rename it to:<br><br><span style="color: rgb(255, 255, 255); background-color: rgb(102, 102, 102);">godmode.{ED7BA470-8E54-465E-825C-99712043E01C}</span><br> <br><br>Once it's done, the folder's icon will change and will contain many control options.<br>-- <br>Xiaoyu Guan (Sam)<br><a href="http://guanxiaoyu.blogspot.com">http://guanxiaoyu.blogspot.com</a><br><br> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-90900207383802475192011-02-19T22:36:00.001+01:002011-02-19T22:36:43.185+01:00Thanks Stephen ElopThe world is crazy. Nokia is hug Microsoft. The two brother has something in common. they produce some un-creative products.<br>I would minus + minus still minus. <br>Thanks stephone, He will make nokia become history. <br> <br><br clear="all"><br>-- <br>Xiaoyu Guan (Sam)<br><a href="http://guanxiaoyu.blogspot.com">http://guanxiaoyu.blogspot.com</a><br><br> Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-27346811363490776042011-01-19T09:08:00.001+01:002011-01-30T21:48:32.537+01:00Yesterday, I found out the easiest way convert polyline Z to poline.<br />
<div>The tool is ogr2ogr, with option '-nlt'</div><div>example cmd: </div><div>ogr2ogr -f "ESRI Shapefile" -nlt "LINESTRING" Your_Output_polyline.shp Your_Input_polylineZ.shp</div><div><br />
</div><div>ogr is cool!!</div><div><br />
-- <br />
Xiaoyu Guan (Sam)<br />
<a href="http://guanxiaoyu.blogspot.com/">http://guanxiaoyu.blogspot.com</a><br />
<br />
</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-86270401938739020382011-01-08T22:10:00.000+01:002011-01-08T22:10:45.699+01:00Uploading and exporting - Play your video files in Google Docs<a href="http://docs.google.com/support/bin/answer.py?hl=en&answer=1047043&ctx=share">Uploading and exporting - Play your video files in Google Docs</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-1984219865359747502011-01-06T21:57:00.002+01:002011-01-30T21:49:13.158+01:00<div class="mobile-photo"><a href="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkNSavGrSiFR_rATcZ_mEoDNpp0veWq2xaZLytR0KKeBozs194rOw2Yt7yBj-xyfbWgEpUWePoq36hteUVKLqOfaOObvjsaAdx4SsUQ1svOH9IYWFt9su00LRtKAVI7chLkEFp/s1600/Untitled-746876.png"><img alt="" border="0" id="BLOGGER_PHOTO_ID_5559179957003741826" src="https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEhkNSavGrSiFR_rATcZ_mEoDNpp0veWq2xaZLytR0KKeBozs194rOw2Yt7yBj-xyfbWgEpUWePoq36hteUVKLqOfaOObvjsaAdx4SsUQ1svOH9IYWFt9su00LRtKAVI7chLkEFp/s320/Untitled-746876.png" /></a></div>shp2pgsql cmd tool has been used for two years. This week I found that PostGIS release new tool shp2pgsql GUI.<br />
<div>This tool is much easy for beginner to import shapefile to PostGIS. </div><div>Especially, when you want to import shapefile with options.</div><div>Such as if you want to import ë á, you have to use -W "LATIN1" function.</div><div><a href="http://postgis.refractions.net/download/windows/extras/postgisgui_pgadmin-1.5.2.zip">download </a><br />
<br />
-- <br />
Xiaoyu Guan (Sam)<br />
<a href="http://guanxiaoyu.blogspot.com/">http://guanxiaoyu.blogspot.com</a><br />
<br />
</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-30497768817115986712011-01-01T15:35:00.002+01:002011-01-30T21:49:37.795+01:00<div class="MsoNormal" style="margin: 0cm 0cm 10pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;">How to convert excel data into pgsql </span></span></span></div><div class="MsoListParagraphCxSpFirst" style="margin: 0cm 0cm 0pt 36pt; text-indent: -18pt;"><span lang="EN-US"><span style="font-family: Calibri; font-size: small;"> 1.</span><span style="font: 7pt 'Times New Roman';"> </span></span><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;">Save excel data into csv</span></span></span></div><div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 54pt; text-indent: -18pt;"><span lang="EN-US"><span style="font-family: Calibri; font-size: small;">1.1</span><span style="font: 7pt 'Times New Roman';"> </span></span><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;">Change column name xcoord= long, ycoord = lat</span></span></span></div><div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 54pt; text-indent: -18pt;"><span lang="EN-US"><span style="font-family: Calibri; font-size: small;">1.2</span><span style="font: 7pt 'Times New Roman';"> </span></span><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;">Sperator coma(,)</span></span></span></div><div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 54pt; text-indent: -18pt;"><span lang="EN-US"><span style="font-family: Calibri; font-size: small;">2.</span><span style="font: 7pt 'Times New Roman';"> </span></span><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;">Convert csv to shapefiles.</span></span></span></div><div class="MsoListParagraphCxSpMiddle" style="margin: 0cm 0cm 0pt 54pt; text-indent: -18pt;"><span lang="EN-US"><span style="font-family: Calibri; font-size: small;">2.1</span><span style="font: 7pt 'Times New Roman';"> </span></span><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;">Create dbf file via commad( ogr2ogr –f "ESRI Shapefile" OUTPUT.shp INPUT.csv)</span></span></span></div><div class="MsoListParagraphCxSpLast" style="margin: 0cm 0cm 10pt 54pt; text-indent: -18pt;"><span lang="EN-US"><span style="font-family: Calibri; font-size: small;">2.2</span><span style="font: 7pt 'Times New Roman';"> </span></span><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;">Create shapefile via command ( ogr2ogr –f "ESRI Shapefile" OUTPUT.shp INPUT.vrt)</span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;">Sample code:</span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;">Test.csv:</span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;">long,lat,value</span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;">12,23,123</span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;">Test.vrt:</span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;"><OGRVRTDataSource></span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;"> <OGRVRTLayer name="test"></span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;"> <SrcDataSource relativeToVRT="1">F:\temp\sam\testcsv</SrcDataSource></span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;"> <SrcLayer>Bredevoort</SrcLayer></span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;"> <GeometryType>wkbPoint</GeometryType> </span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;"> <GeometryField encoding="PointFromColumns" x="long" y="lat"/></span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;"> </OGRVRTLayer></span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;"></OGRVRTDataSource></span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;">3. convert shape to sql via shp2pgsql</span></span></span></div><div class="MsoNormal" style="margin: 0cm 0cm 10pt 36pt;"><span lang="EN-US"><span style="font-size: small;"><span style="font-family: Calibri;">With this ogr2ogr libray, who need ESRI arcgis?!?!</span></span></span></div><br />
-- <br />
Xiaoyu Guan (Sam)<br />
<a href="http://guanxiaoyu.blogspot.com/">http://guanxiaoyu.blogspot.com</a>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-16980761725968812922010-12-10T22:27:00.002+01:002011-01-30T21:50:03.208+01:00That s quite impressive.<br />
<div><a href="http://www.apple.com/ipad/specs/">http://www.apple.com/ipad/specs/</a></div><div><br />
</div><div><a href="http://www.apple.com/ipad/specs/"></a><span class="Apple-style-span" style="font-family: 'Lucida Grande','Lucida Sans Unicode',Arial,Verdana,sans-serif;"><h3 style="border-top: 1px solid rgb(188, 188, 188); color: black; font-size: 16px; font-style: normal; font-weight: normal; line-height: 16px; margin: 16px 0px 4px; padding: 7px 0px 8px;">Battery and power<sup style="bottom: 0.33em; color: #666666; font-size: 10px ! important; font-weight: normal ! important; padding-left: 1px; position: relative; vertical-align: baseline;">4</sup></h3><ul class="square" style="color: black; font-size: 11px; line-height: 16px; list-style-position: outside; list-style-type: square; margin: 11px 0px 0px 1.25em; padding: 0px 0px 16px;"><li style="margin: 0px 0px 8px; padding: 0px;">Built-in 25-watt-hour rechargeable lithium-polymer battery</li>
<li style="margin: 0px 0px 8px; padding: 0px;">Up to 10 hours of surfing the web on Wi-Fi, watching video, or listening to music</li>
<li style="margin: 0px 0px 8px; padding: 0px;">Up to 9 hours of surfing the web using 3G data network</li>
<li style="margin: 0px 0px 8px; padding: 0px;">Charging via power adapter or USB to computer system</li>
</ul><div><span class="Apple-style-span" style="font-size: 11px; line-height: 16px;"><span class="Apple-style-span" style="color: #888888; font-size: 10px; line-height: 14px;">4.Testing conducted by Apple in March 2010 using preproduction iPad units and software. Testing consisted of full battery discharge while performing each of the following tasks: video playback, audio playback, and Internet browsing using Wi-Fi or 3G. Video content was a repeated 2-hour 23-minute movie purchased from the iTunes Store. Audio content was a playlist of 358 unique songs, consisting of a combination of songs imported from CDs using iTunes (128-Kbps AAC encoding) and songs purchased from the iTunes Store (256-Kbps AAC encoding). Internet over Wi-Fi and 3G tests were conducted using a closed network (for Wi-Fi only) and dedicated web and mail servers, browsing snapshot versions of 20 popular web pages, and receiving mail once an hour. All settings were default except: Wi-Fi was associated with a network (except for Internet browsing over 3G); the Wi-Fi feature Ask to Join Networks and Auto-Brightness were turned off. Battery life depends on device settings, usage, and many other factors. Battery tests are conducted using specific iPad units; actual results may vary.</span></span></div></span><br />
-- <br />
Xiaoyu Guan (Sam)<br />
<a href="http://guanxiaoyu.blogspot.com/">http://guanxiaoyu.blogspot.com</a><br />
<br />
</div>Unknownnoreply@blogger.com0tag:blogger.com,1999:blog-16086938.post-68343586720373229852010-12-10T22:21:00.001+01:002011-01-30T21:50:24.538+01:00<div>most of geo-apps are instantly require gps signals, then the smartphone can stand for few hours, I think most of phone less than 5 hours. </div><div>If you do a lot of web page viewing, photo taken, display always on. the smartphone will be useless.</div><div>Or for professional user, they need extra battery for smartphone phone.</div><div><br />
</div>Here is nice article<br />
<div><a href="http://www.geek.com/smartphone-buyers-guide/battery/">http://www.geek.com/smartphone-buyers-guide/battery/</a></div><div><br />
</div><div><a href="http://www.geek.com/smartphone-buyers-guide/battery/"></a><span class="Apple-style-span" style="color: #333333; font-family: arial,sans-serif; font-size: 13px; line-height: 18px;"><table border="0" cellpadding="0" cellspacing="0" class="content" style="margin: 0px auto; overflow: hidden; padding-top: 15px; width: 965px;"><tbody>
<tr><td class="contentLeft" style="vertical-align: top; width: auto;"><table border="0" cellpadding="0" cellspacing="0"><tbody>
<tr valign="top"><td cellpadding="3" class="contentCenter" style="padding: 0px 0px 0px 10px; vertical-align: top; width: 609px;"><div class="pageTitle" style="border-width: 0px; margin: 0px 0px 15px; padding: 0px 0px 5px; position: static;"><h1 style="font-size: 22px; line-height: 26px; margin: 0px; padding: 5px 0px 0px;">Smartphone Battery Life</h1><div class="reset" style="clear: both; height: 0px ! important; overflow: hidden;"></div></div><div class="shopSearchResults"><div class="productsList" style="border: 1px solid rgb(187, 187, 187); margin-bottom: 15px; overflow: hidden;"><table><tbody>
<tr><td width="50%"><b>Recommended:</b><br />
Have a backup handy--either a spare battery for a case with a built-in battery.</td><td width="50%"><b>Minimum:</b></td></tr>
</tbody></table></div></div><div class="bg"><div style="margin: 0px 0px 10px; padding: 0px;">Most phones pack in Lithium-ion battery, or Li-ion, ranging between 780mAh and 1200mAh. Phone batteries have a limited number of charge and discharge cycles, usually falling between 300 and 500. Beyond this lifespan, batteries gradually diminish below 50 percent of its original capacity. Whichever way you look at it, you'll probably need a new phone battery each year. Vendors shipped phones with proprietary chargers in the past that only worked with a specific phone. However, most newer phones ship with a USB charger for AC power that can be used with any phone, provided you have a cable with the standard USB connector on one side and a <a class="kLink" href="http://www.geek.com/smartphone-buyers-guide/battery/#" id="KonaLink0" style="background-color: transparent ! important; background-image: none ! important; border: 0px none transparent ! important; bottom: 0px; color: blue ! important; cursor: pointer; display: inline ! important; font-family: verdana; font-variant: normal; left: 0px; margin: 0px; outline-style: none; padding: 0px ! important; position: static; right: 0px; text-decoration: underline ! important; text-transform: none ! important; top: 0px;" target="undefined"><span style="color: blue ! important; font-family: arial,sans-serif; font-size: 13px; font-weight: normal; position: static;"><span class="kLink" style="background-color: transparent; background-image: none; border-bottom-style: solid; border-bottom-width: 1px; border-left-style: none ! important; border-left-width: 0px ! important; border-right-style: none ! important; border-right-width: 0px ! important; border-top-style: none ! important; border-top-width: 0px ! important; color: blue; display: inline ! important; float: none ! important; font-family: arial,sans-serif; font-size: 13px; font-weight: normal; padding: 0px 0px 1px ! important; position: static; width: auto ! important;">connector</span></span></a> for your phone model on the other. Some phones ship with an extra battery and others, like the iPhone, sport a sealed-in battery that Apple replaces for a $79 fee. Battery life and charge cycles vary by the operating system, phone settings, network type (WiFi, CDMA/GSM, 2G/3G), and programs used.</div><div style="margin: 0px 0px 10px; padding: 0px;"><b>Smartphones require lots of juice</b></div><div style="margin: 0px 0px 10px; padding: 0px;">Dumb phones (low to mid-end) provide around 400 hours of standby time and more than ten hours of talk time. Smartphones, however, are essentially tiny laptops that have lots more going on inside them than ordinary <a class="kLink" href="http://www.geek.com/smartphone-buyers-guide/battery/#" id="KonaLink1" style="background-color: transparent ! important; background-image: none ! important; border: 0px none transparent ! important; bottom: 0px; color: blue ! important; cursor: pointer; display: inline ! important; font-family: verdana; font-variant: normal; left: 0px; margin: 0px; outline-style: none; padding: 0px ! important; position: static; right: 0px; text-decoration: underline ! important; text-transform: none ! important; top: 0px;" target="undefined"><span style="color: blue ! important; font-family: arial,sans-serif; font-size: 13px; font-weight: normal; position: static;"><span class="kLink" style="background-color: transparent; background-image: none; border-bottom-style: solid; border-bottom-width: 1px; border-left-style: none ! important; border-left-width: 0px ! important; border-right-style: none ! important; border-right-width: 0px ! important; border-top-style: none ! important; border-top-width: 0px ! important; color: blue; display: inline ! important; float: none ! important; font-family: arial,sans-serif; font-size: 13px; font-weight: normal; padding: 0px 0px 1px ! important; position: static; width: auto ! important;">phones</span></span></a>. Hence, they draw more juice. High-end smartphones provide up to ten hours talk time and up to 300 hours standby time. A typical smartphone features around five hours talk time on 3G (2-3 times more on 2G) and 150 hours standby time. However, these figures drop sharply when you play media and games or surf the web. Whichever way you look at it, you should buy a reserve battery because a typical <a class="kLink" href="http://www.geek.com/smartphone-buyers-guide/battery/#" id="KonaLink2" style="background-color: transparent ! important; background-image: none ! important; border: 0px none transparent ! important; bottom: 0px; color: blue ! important; cursor: pointer; display: inline ! important; font-family: verdana; font-variant: normal; left: 0px; margin: 0px; outline-style: none; padding: 0px ! important; position: static; right: 0px; text-decoration: underline ! important; text-transform: none ! important; top: 0px;" target="undefined"><span style="color: blue ! important; font-family: arial,sans-serif; font-size: 13px; font-weight: normal; position: static;"><span class="kLink" style="background-color: transparent; background-image: none; border-bottom-style: solid; border-bottom-width: 1px; border-left-style: none ! important; border-left-width: 0px ! important; border-right-style: none ! important; border-right-width: 0px ! important; border-top-style: none ! important; border-top-width: 0px ! important; color: blue; display: inline ! important; float: none ! important; font-family: arial,sans-serif; font-size: 13px; font-weight: normal; padding: 0px 0px 1px ! important; position: static; width: auto ! important;">smartphone</span></span></a> won't carry you through the work day on a single charge. Business users who travel a lot should buy extras like car adapters and traveler kits. When evaluating a new phone, check its rated battery life and pay attention to testing conditions. For example, vendors usually conduct battery tests with 50 percent brightness, WiFi turned off, and no media playback. These settings skew the battery life unrealistically and rarely reflect real-life usage scenarios.</div><div style="margin: 0px 0px 10px; padding: 0px;">Buyers should note that some phones have removable batteries and some don't. While this isn't a major feature for most people, and lots of buyers will value the slim designs allowed by non-removable batteries, it is something to keep in mind. If you are a heavy phone user who makes a lot of calls and sends <a class="kLink" href="http://www.geek.com/smartphone-buyers-guide/battery/#" id="KonaLink3" style="background-color: transparent ! important; background-image: none ! important; border: 0px none transparent ! important; bottom: 0px; color: blue ! important; cursor: pointer; display: inline ! important; font-family: verdana; font-variant: normal; left: 0px; margin: 0px; outline-style: none; padding: 0px ! important; position: static; right: 0px; text-decoration: underline ! important; text-transform: none ! important; top: 0px;" target="undefined"><span style="color: blue ! important; font-family: arial,sans-serif; font-size: 13px; font-weight: normal; position: static;"><span class="kLink" style="background-color: transparent; background-image: none; border-bottom-style: solid; border-bottom-width: 1px; border-left-style: none ! important; border-left-width: 0px ! important; border-right-style: none ! important; border-right-width: 0px ! important; border-top-style: none ! important; border-top-width: 0px ! important; color: blue; display: inline ! important; float: none ! important; font-family: arial,sans-serif; font-size: 13px; font-weight: normal; padding: 0px 0px 1px ! important; position: static; width: auto ! important;">emails</span></span></a>constantly, then you might want to keep a spare battery on hand. Many phones, like the iPhone, have cases available with built in batteries, but they add a bit of size and weight to the device. They are a good work-around, but they might not be exactly what demanding users are looking for.</div></div></td></tr>
</tbody></table></td></tr>
</tbody></table></span><br />
-- <br />
Xiaoyu Guan (Sam)<br />
<a href="http://guanxiaoyu.blogspot.com/">http://guanxiaoyu.blogspot.com</a><br />
<br />
</div>Unknownnoreply@blogger.com0