tag:blogger.com,1999:blog-81207502300857337242024-03-13T07:10:54.035+08:00大凡化宇宙大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.comBlogger181125tag:blogger.com,1999:blog-8120750230085733724.post-62065054888609065682019-06-22T09:31:00.002+08:002019-06-22T09:39:21.375+08:00macOS Mojave 安裝軟體無法在系統偏好設定/隱私權/輔助使用 新增或勾選項目問題描述:macOS Mojave 安裝軟體無法在系統偏好設定/隱私權/輔助使用 新增或勾選項目。輔助使用的清單應該會有許多項目,但是會一個都沒有,而且也無法以[+]新增。<br />
<br />
英文描述:macOS Mojave - System Preference, Security & Privacy, Accessibility - Not Working/Empty<br />
<br />
解決方式:<br />
這個問題,在中文世界裡還沒有找到有說明,所以把我在英文版的資料重點整理如下。主要原因是因為安裝了防毒軟體,例如:ESET 或 Symantec...等。<br />
隱私權/輔助使用的設定檔案是,<br />
<span style="background-color: #fafafa; color: #333333; font-family: monospace; font-size: 16px; white-space: pre;">/Library/Application\ Support/com.apple.TCC/TCC.db</span><br />
但是被防毒軟體防護無法變更設定,所以要把這個檔案列在防毒軟體的排除清單。<br />
再重新開機一次,就可以變更隱私權/輔助使用的設定。大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-22912676028289767282019-04-21T00:29:00.000+08:002019-04-21T00:29:25.683+08:00macOSX 10.14 Mojave 無法安裝inkscape問題的解決紀錄
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Menlo; color: #000000}
span.s1 {font-variant-ligatures: no-common-ligatures}
</style>
<br />
<div class="p1">
<span style="font-variant-ligatures: no-common-ligatures;">今天為了安裝Inkscape在新版的macOS 10.14系統之上,發生了一些問題。下面是解決安裝問題的過程摘要。</span></div>
<div class="p1">
<span class="s1"><br /></span></div>
<div class="p1">
<span class="s1"><br /></span></div>
<div class="p1">
<span class="s1">$ sudo port install inkscape</span></div>
<div class="p1">
<span class="s1">Warning: MacPorts is configured to use an unsigned source for the ports tree. Please edit sources.conf and change 'rsync://rsync.macports.org/release/ports/' to 'rsync://rsync.macports.org/release/tarballs/ports.tar'.</span></div>
<div class="p1">
<span class="s1">Warning: MacPorts is configured to use an unsigned source for selfupdate. Please edit macports.conf and change the rsync_dir setting to match macports.conf.default.</span></div>
<div class="p1">
<span class="s1">---><span class="Apple-converted-space"> </span>Computing dependencies for inkscape</span></div>
.<br />
.<br />
.<br />
.<br />
<div class="p1">
<span class="s1"><span class="Apple-converted-space"> </span>popt</span></div>
<div class="p1">
<span class="s1"><span class="Apple-converted-space"> </span>potrace</span></div>
<div class="p1">
<span class="s1"><span class="Apple-converted-space"> </span>py27-cython</span></div>
<div class="p1">
<span class="s1"><span class="Apple-converted-space"> </span>py27-lxml</span></div>
<div class="p1">
<span class="s1"><span class="Apple-converted-space"> </span>py27-nose</span></div>
<div class="p1">
<span class="s1"><span class="Apple-converted-space"> </span>py27-numpy</span></div>
<div class="p1">
<span class="s1"><span class="Apple-converted-space"> </span>texinfo</span></div>
<div class="p1">
<span class="s1"><span class="Apple-converted-space"> </span>urw-fonts</span></div>
<div class="p1">
<span class="s1"><span class="Apple-converted-space"> </span>webp</span></div>
<div class="p1">
<span class="s1"><span class="Apple-converted-space"> </span>xar</span></div>
<div class="p1">
<span class="s1">Continue? [Y/n]:<span class="Apple-converted-space"> </span></span></div>
<div class="p1">
<span class="s1">---><span class="Apple-converted-space"> </span>Configuring ghostscript</span></div>
<div class="p1">
<span class="s1">Error: Failed to configure ghostscript: autoreconf failure: command execution failed</span></div>
<div class="p1">
<span class="s1">Error: See /opt/local/var/macports/logs/_opt_local_var_macports_sources_rsync.macports.org_release_ports_print_ghostscript/ghostscript/main.log for details.</span></div>
<div class="p1">
<span class="s1">Error: Follow https://guide.macports.org/#project.tickets to report a bug.</span></div>
<style type="text/css">
p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 18.0px Menlo; color: #000000}
span.s1 {font-variant-ligatures: no-common-ligatures}
</style>
<br />
<div class="p1">
<span class="s1">Error: Processing of port inkscape failed</span></div>
<div class="p1">
<span class="s1"><br /></span></div>
<div class="p1">
<br /></div>
首先確認是否安裝<br />
xcode-select --install<br />
再來確認是否有確認過xcode的license<br />
sudo xcodebuild -license<br />
一直出現錯誤情況,先針對ghostscript的安裝,詳細觀察安裝過程:<br />
<pre class="wiki" style="background-color: #f7f7f7; border-radius: 0.3em; border: 1px solid rgb(215, 215, 215); box-shadow: rgb(238, 238, 238) 0px 0px 1em; caret-color: rgb(0, 0, 0); clear: right; font-size: 13px; margin: 1em 1.75em; overflow: auto; padding: 0.25em; text-size-adjust: auto;">port clean ghostscript
port -d -v install ghostscript</pre>
發現問題出在gmp的安裝,再進一步追踪安裝gmp,發現要先安裝m4,才順利安裝gmp。<br />
<pre class="wiki" style="background-color: #f7f7f7; border-radius: 0.3em; border: 1px solid rgb(215, 215, 215); box-shadow: rgb(238, 238, 238) 0px 0px 1em; caret-color: rgb(0, 0, 0); clear: right; font-size: 13px; margin: 1em 1.75em; overflow: auto; padding: 0.25em; text-size-adjust: auto;">sudo port install m4
sudo port load dbus
sudo port clean gmp
sudo port install gmp
sudo port -f activate gmp</pre>
最後才順利安裝inkscape。<br />
<br />大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-57886171891183840162018-03-06T21:28:00.000+08:002018-03-06T21:28:58.218+08:00關於及arduino的一些瑣碎小事<ul>
<li>使用arduino IDE的範例程式Fade, 使用D13作為LED。</li>
<ul>
<li>arduino nano只會顯示亮暗, 沒有漸進變化過程</li>
<li>arduino micro能以on-board LED顯示漸亮漸暗</li>
<li>原因分析: <br />nano 的 D13 不支援PWM<br />micro 的 D13支援PWM</li>
</ul>
<li>arduino接上ubs電源時, on-board LED 一直快速閃爍, 線路連接的電子零件沒有通電運作</li>
<ul>
<li>這是透過USB供電時, 短路防護的信號</li>
<li>但要留意, 若是透過RAW供電時, 則沒有短路防護。 </li>
</ul>
<li>使用Serial.printf("%4.2f", floatVar) 得到結果為 ?</li>
<ul>
<li>原因分析:<br />arduino IDE只支援C語法, 但是不支援float的格式語法, 必須另外寫程式來格式化輸出</li>
<li>我的解決方法: (可以放在setup段來測試)<br /> Serial.begin(9600);<br /> //sprintf format test loop<br /> float celsius=-55.25;<br /> float fahrenheit;<br /> while(celsius<=155){<br /> <br /> fahrenheit = celsius * 1.8 + 32.0;<br /> Serial.print(celsius);Serial.print(" ");<br /> Serial.print(fahrenheit);Serial.print(" ");<br /><br /> char *numC=(char *)"000.00C ";<br /> char *numF=(char *)"000.00F ";<br /> //arduino的printf format不支援float, double的格式, ex: %4.2f , 輸出會出現?<br /> //Serial.printf("%4.2fC %4.2fF", celsius, fahrenheit);<br /> sprintf(numC, "%4i.%02i", int(celsius), int(abs(celsius-int(celsius))*100));<br /> sprintf(numF, "%4i.%02i", int(fahrenheit), int(abs(fahrenheit-int(fahrenheit))*100));<br /> Serial.print(numC);Serial.print(" ");Serial.print(numF);Serial.println(" ");<br /> celsius+=3.97;<br /> }<br /> </li>
</ul>
<li>在LCD上, 以單一字元顯示 ℃ 或 ℉ </li>
<ul>
<li>定義℃ 或℉ 符號</li>
<li>在LCD上印出自定符號</li>
<li>//在程式宣告段<br />byte degC[8] = {<br /> B01000,<br /> B10100,<br /> B01000,<br /> B00011,<br /> B00100,<br /> B00100,<br /> B00011,<br />};<br />byte degF[8] = {<br /> B01000,<br /> B10100,<br /> B01000,<br /> B00111,<br /> B00100,<br /> B00111,<br /> B00100,<br />};<br /><br />//在setup()段, <br /> lcd.createChar(0, degC);<br /> lcd.createChar(1, degF);<br /><br />//要印出字元時<br />lcd.write(byte(0)); //印出 ℃<br />lcd.write(byte(1)); //印出 ℉<br /></li>
</ul>
</ul>
大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-53474532793421318052017-06-13T00:33:00.004+08:002017-06-13T00:37:41.881+08:00GPS以uart與樹莓派Raspberry Pi 3連接使用紀錄使用材料:<br />
<ol>
<li>樹莓派Raspberry Pi 3 (以下簡稱為RasPi3)</li>
<li>GPS Receiver - LS20031 5Hz (66 Channel),<br />https://www.sparkfun.com/products/8975 </li>
<ol>
<li>預先焊接針腳, 使用4條雙母杜邦線與樹莓派連接<br />可參閱SparkFun網頁上的<a href="http://www.sparkfun.com/commerce/tutorial_info.php?tutorials_id=176">Connection Tutorial</a></li>
<li>留意GPS模組使用電壓3.3V</li>
<li>GPS模組的TX連接到RasPi3的GPIO Pin10(RXD)、<br />RX連接到RasPi3的GPIO Pin8(TXD)。<br />詳細的RasPi3 GPIO針腳定義請參閱: <a href="https://pinout.xyz/#">https://pinout.xyz/#</a></li>
</ol>
</ol>
<br />
樹莓派的作業系統, 我是以AiGO 2017 v1為架構, 再新增軟體套件<br />
<span style="color: white;"><span style="background-color: black;">$ sudo apt-get update && sudo apt-get upgrade -y</span></span><br />
<span style="color: white;"><span style="background-color: black;">$ sudo apt-get install build-essential gpsd gpsd-clients python-gps joe</span></span><br />
<span style="color: white;"><span style="background-color: black;">$ sudo reboot</span></span><br />
<br />
<br />
<br />
其中joe是我個人在linux系統下慣用的文字編輯器, 作業系統內建有nano 或 vi可以使用。<br />
<br />
針對GPS使用RasPi3的UART連線, 作業系統要新增設定/boot/config.txt,<br />
<span style="color: white;"><span style="background-color: black;">$ sudo joe /boot/config.txt </span></span><br />
在文件的最後一行加入<br />
<span style="background-color: black;"><span style="color: white;">enable_uart=1</span></span><br />
存檔後, 重新開機<br />
<span style="background-color: black;"><span style="color: white;">$ sudo reboot </span></span><br />
<br />
在RaspPi3的系統中, 是以/dev/ttyAMA0與 UART0連線的, 所以啟動gpsd時, 要指向這個裝置 <br />
<br />
<span style="color: white;"><span style="background-color: black;">$ sudo gpsd /dev/ttyAMA0 -n -F /var/run/gpsd.sock<br />$ cgps -s </span></span><br />
<br />
參考網頁都是像上面寫的指令一樣, 但是我一直無法在cgps中看到gps傳資料進來, 因此我執行cgps時, 不加-s參數, 可以監視GPS模組的訊息是否傳入。<br />
後來發來gpsd有一支程式gpscat, 也可以直接讀取gps模組傳入的訊息, 使用方式如下:<br />
<span style="color: white;"><span style="background-color: black;">$ gpscat -s 57600 /dev/ttyAMA0</span></span><br />
其中 -s 57600是傳輸速率(baud rate), 我試過57600 bps是這款gps模組的上限。<br />
<br />
令我疑惑的是, 若我沒有執行 "<span style="color: red;">gpscat -s 57600 /dev/ttyAMA0</span>" 則 cgps 無法正常讀取GPS模組的訊息, 因此我推論是沒有設定 /dev/ttyAMA0 的傳輸速率所致。<br />
最後在gpsd的faq網頁中, 查到可以使用 "stty speed 57600 < /dev/ttyAMA0" 來設定傳輸速率。其餘的執行程序如下: <br /><span style="color: white;"><span style="background-color: black;">sudo systemctl stop gpsd.socket<br />sudo systemctl disable gpsd.socket<br />sudo systemctl stop serial-getty@ttyAMA0.service<br />sudo systemctl disable serial-getty@ttyAMA0.service<br />sudo killall gpsd<br /><span style="color: yellow;">stty speed 57600 < /dev/ttyAMA0 </span></span></span><br />
<span style="color: white;"><span style="background-color: black;">sudo gpsd -n /dev/ttyAMA0 -F /var/run/gpsd.sock</span></span><br />
<span style="color: white;"><span style="background-color: black;">cgps</span></span><br />
<br />
終於可以從 cgps 讀到GPS模組的定位資訊。<br />
<span style="color: white; font-size: xx-small;"><span style="background-color: black;"><span style="font-size: xx-small;"><span style="font-family: "courier new" , "courier" , monospace;">lqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqklqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqk<br />x Time: 2017-06-12T15:52:14.000Z xxPRN: Elev: Azim: SNR: Used: x<br />x Latitude: 24.XXXXXX N xx 193 66 048 26 Y x<br />x Longitude: 120.XXXXXX E xx 15 63 277 00 N x<br />x Altitude: 167.7 ft xx 13 62 019 33 Y x<br />x Speed: 0.5 mph xx 129 54 138 26 N x<br />x Heading: 192.6 deg (true) xx 20 50 343 23 N x<br />x Climb: 0.0 ft/min xx 5 40 056 39 Y x<br />x Status: 3D FIX (266 secs) xx 2 39 141 24 Y x<br />x Longitude Err: +/- 46 ft xx 29 36 254 19 Y x<br />x Latitude Err: +/- 67 ft xx 24 27 182 00 N x<br />x Altitude Err: +/- 73 ft xx 21 17 320 15 N x<br />x Course Err: n/a xx 30 10 044 00 N x<br />x Speed Err: +/- 92 mph xx 18 03 290 00 N x<br />x Time offset: -872.718 xx x<br />x Grid Square: PL04gc xx x<br />mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqjmqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj</span></span></span></span><br />
<br />
<br />
參考資料<br />
<ol>
<li><a href="https://medium.com/@phutidus/%E7%94%A8-raspberry-pi-gps-%E6%A8%A1%E7%B5%84%E5%BB%BA%E7%AB%8B-stratum-1-%E7%9A%84-ntp-server-cb1b501a5f91" target="_blank">https://medium.com/@phutidus/%E7%94%A8-raspberry-pi-gps-%E6%A8%A1%E7%B5%84%E5%BB%BA%E7%AB%8B-stratum-1-%E7%9A%84-ntp-server-cb1b501a5f91</a> </li>
<li><a href="http://www.catb.org/gpsd/faq.html" target="_blank">http://www.catb.org/gpsd/faq.html</a></li>
<li><a href="http://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3">http://spellfoundry.com/2016/05/29/configuring-gpio-serial-port-raspbian-jessie-including-pi-3</a></li>
<li><a href="https://learn.adafruit.com/adafruit-ultimate-gps-on-the-raspberry-pi/using-uart-instead-of-usb">https://learn.adafruit.com/adafruit-ultimate-gps-on-the-raspberry-pi/using-uart-instead-of-usb</a> </li>
</ol>
大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-55267640756899245252015-11-13T09:58:00.000+08:002015-11-13T09:58:01.502+08:00幫Time Capsule (Apple)更換新硬碟幫Time Capsule (Apple)更換新硬碟<br />
<br />
上一回幫自己的Time Capsule更換新硬碟, 好像沒留下任何記錄, 昨天第2次更換Time Capsule的硬碟, 把過程紀下來。以下步驟只是個人的過程紀錄, 僅供網友們參考, 實際更換步驟, 請自行斟酌, 恕不負任何責任。<br />
<br />
<ol>
<li>先將Time Capsule的設定備份到電腦端, 以免更換後設定被清除掉...</li>
<li>關閉所有電腦端的Time Machine的還原機制。</li>
<li>關閉Time Capsule電源, 其實就只是移除電源線和網路線。</li>
<li>拆開Time Capsule, 取出舊硬碟, 更換新硬碟。(請自行參閱:Apple Time Capsule Model A1302 Hard Drive Replacement- <a href="https://www.ifixit.com/Guide/Apple+Time+Capsule+Model+A1302+Hard+Drive+Replacement/2750">https://www.ifixit.com/Guide/Apple+Time+Capsule+Model+A1302+Hard+Drive+Replacement/2750</a>)</li>
<li>Time Capsule重新開機, 由AirPort工具程式進入Time Capsule系統, 將新硬碟清除(重新格式化), 設定好磁碟名稱和檔案共享。</li>
<li>Time Capsule會將硬碟分割成3個磁區: APconfig、APswap(前2個為系統內部用的, 不用理會)和資料分割區(名稱是在Time Capsule磁碟中設定的)。我們只需要將資料分割區, 由舊硬碟複製到新硬碟。</li>
<li>將舊硬碟複製到新硬碟中, 有兩種方法:</li>
<ol>
<li>將舊硬碟以外接盒與電腦連接, 透過網路(會很慢), 將檔案複製到Time Capsule的新硬碟中。我這次是因為手上沒有可以讀取4TB硬碟的外接盒或外接線, 因此用這個方法, 將近2TB的資料透過Giga bits網路傳輸花了1天多的時間複製資料。</li>
<li>我想還有另外一個更快的方法: 關閉Time Capsule電源, 取出新硬碟, 將這兩顆硬碟分別接上外接盒。舊硬碟有3個分割區, 我們只需要將資料分割區的所有檔案, 由舊硬碟複製到新硬碟。</li>
<li>但上述的2個方法, 無論是那一種, 若硬碟中有Time Machine的電腦備份檔案, 則須留意複製的方法, 請參閱:ime Machine:如何將備份檔從目前的備份磁碟傳送到新的備份磁碟- <a href="https://support.apple.com/zh-tw/HT202380">https://support.apple.com/zh-tw/HT202380</a></li>
</ol>
</ol>
大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-82155623575388813922015-08-23T00:33:00.000+08:002015-08-23T00:33:10.247+08:00Openoffice.org Writer 如何整批壓縮文件內的圖檔解析度身為Openoffice.org Writer愛用者,一直以來被這個問題困擾:文件要插入大量的圖片時,總是要先縮小解析度,再來插入文件內。萬一忘記了,就麻煩了。<br />
今天請出google大神,找到另外一篇介紹如何將<a href="http://pejslin.blogspot.tw/2013/04/impress.html">Impress簡報圖片壓縮的文章</a>,步驟為:<br />
<br />
<ol>
<li>開啟 Impress/工具/擴充軟體管理程式</li>
<li>以線上方式取得更多擴充軟體,開啟網頁找Oracle Presentation Minimizer,下載。</li>
<li>在擴充軟體管理程式中,增加/將下載的.oxt檔案新增/為所有使用者/溜覽全部合約/接受。</li>
<li>重啟 Impress 。會在工具中出現/最小化工具。</li>
<li>但是這是給Impress用的,那Writer呢?</li>
</ol>
<div>
方法有了,再來就是找合用的擴充軟體,來壓縮Writer文件中的圖片囉~</div>
<div>
<ol>
<li>在<a href="http://extensions.services.openoffice.org/en/search">http://extensions.services.openoffice.org/en/search</a>網站中,找到PixCompress,下載[Download extension]。</li>
<li>在Openoffice.org Writer/工具/擴充軟體管理程式</li>
<li>在擴充軟體管理程式中,增加/將下載的.pixcompress.1.x.x.oxt檔案新增/為所有使用者/溜覽全部合約/接受。</li>
<li>重啟 Writer 。會在工具中出現/Minimize pictures。</li>
<li>執行 工具/Minimize pictures,出現PixCompress對話框/按一下[All pictures],將所有圖片最小化。</li>
<li>存檔前請三思,一旦存檔後,所有圖片就無法恢復原來的尺寸。</li>
<li>若是反悔的話,要按很多次的Ctrl+Z,回復到圖片縮小前的狀態;或者直接關閉檔案不要存檔。</li>
</ol>
</div>
大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-24768183771047061092015-08-22T14:43:00.000+08:002015-08-22T14:44:34.891+08:00Windty 數值模擬預報沒想到資料開放,網頁技術神速的進步,現在也有數值天氣預報的網站可以使用。<br />
<a href="https://www.windyty.com/">https://www.windyty.com</a><br />
而且還很大放的給你使用鑲嵌網頁的功能:<a href="https://embed.windyty.com/embedmake.html">https://embed.windyty.com/embedmake.html</a>。<br />
<br />
<iframe frameborder="0" height="600" src="https://embed.windyty.com/?850h,clouds,now,27.059,131.309,4,,menu,,ip" width="400"></iframe>
<br />
<div>
<br /></div>
<div>
可以鑲嵌在網頁中,呈現某區某固定時間的預報資料,例如2015/08/25 00:00台灣附近海拔1500公尺:</div>
<div>
<br /></div>
<iframe frameborder="0" height="600" src="https://embed.windyty.com/?850h,clouds,2015-08-24-18,27.059,131.309,4,,menu,," width="400"></iframe>
大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-37805998180685997452015-07-05T22:03:00.001+08:002015-11-05T12:38:08.226+08:00百元望遠鏡<div style="margin-bottom: 0cm;">
<h2 style="clear: both; text-align: center;">
百元望遠鏡</h2>
</div>
<div>
<div align="CENTER">
<span style="font-family: "heiti tc";">游大立
</span><span style="font-family: "times new roman" , serif;">2015/07/5;2015/11/05更新</span></div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://2.bp.blogspot.com/-oBx1zLJAmNw/VZk6r1QxFNI/AAAAAAAAOvw/WhSmIy89CXg/s1600/2014-05-15%2B14.16.10.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em; text-align: center;"><img border="0" height="240" src="http://2.bp.blogspot.com/-oBx1zLJAmNw/VZk6r1QxFNI/AAAAAAAAOvw/WhSmIy89CXg/s320/2014-05-15%2B14.16.10.jpg" width="320" /></a></div>
<div style="margin-bottom: 0cm;">
</div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
『百元望遠鏡』的目的在於用便宜的成本製作科學教具。拙作的摺紙光譜儀,就是其中一個作品。</div>
<div style="margin-bottom: 0cm;">
本次發表『百元望遠鏡』做法,在去年第一之試做和幾次課程實施經驗中,可以在每支望遠鏡花費<span style="font-family: "times new roman" , serif;">1</span>百多元最多不超過<span style="font-family: "times new roman" , serif;">1</span>千元的前提下,完成製作折射式望遠鏡。當然我相信這決對不是最便宜的做法,也不是最佳光學品質的做法,但我想將這個階段的做法公開,希望能有拋磚引玉的效果。</div>
<div style="margin-bottom: 0cm;">
當然鏡筒的材質不一定要用水管,使用硬紙筒也是一種方法,用厚紙板捲起來也是一種方法。台北市立天文館的張桂蘭小姐也提供類似的經驗,使用塑膠製的放大鏡組合而成,真的可以做出成本不到新台幣<span style="font-family: "times new roman" , serif;">100</span>元的望遠鏡。</div>
<div style="margin-bottom: 0cm;">
我接下來要介紹的以水管來製作百元望遠鏡,除非使用回收水管,才可能將製作成本控制在新台幣<span style="font-family: "times new roman" , serif;">100</span>多元。若是整班教學製作(<span style="font-family: "times new roman" , serif;">40</span>~<span style="font-family: "times new roman" , serif;">50</span>人),每人的材料費大約在<span style="font-family: "times new roman" , serif;">200</span>~<span style="font-family: "times new roman" , serif;">400</span>元之間。當然玻璃鏡片用好一點的,成本會再往上加。仍能將成本控制在少於新台幣<span style="font-family: "times new roman" , serif;">1000</span>元,還是可以號稱『百元望遠鏡』。</div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: "heiti tc";">望遠鏡本體材料:</span></div>
<table border="1" bordercolor="#000000" cellpadding="4" cellspacing="0" style="width: 100%px;">
<colgroup><col width="107*"></col>
<col width="22*"></col>
<col width="95*"></col>
<col width="31*"></col>
</colgroup><tbody>
<tr valign="TOP">
<td width="42%"><div align="CENTER">
<span style="font-family: "heiti tc";">材料名稱及規格</span></div>
</td>
<td width="9%"><div align="CENTER">
<span style="font-family: "heiti tc";">數量</span></div>
</td>
<td width="37%"><div align="CENTER">
<span style="font-family: "heiti tc";">用途</span></div>
</td>
<td width="12%"><div align="CENTER">
<span style="font-family: "heiti tc";">備註</span></div>
</td>
</tr>
<tr valign="TOP">
<td width="42%"><span style="font-family: "times new roman" , serif;">10</span>公分(<span style="font-family: "times new roman" , serif;">4"</span>)口徑
<span style="font-family: "times new roman" , serif;">2.5</span>倍的放大鏡</td>
<td width="9%"><div align="CENTER">
一支</div>
</td>
<td width="37%">物鏡,焦距約<span style="font-family: "times new roman" , serif;">30</span>公分</td>
<td width="12%"><br />
<br /></td>
</tr>
<tr valign="TOP">
<td width="42%"><span style="font-family: "times new roman" , serif;">4</span>公分(<span style="font-family: "times new roman" , serif;">1.5"</span>)口徑<span style="font-family: "times new roman" , serif;">3</span>倍的放大鏡</td>
<td width="9%"><div align="CENTER">
一支</div>
</td>
<td width="37%">目鏡,焦距約<span style="font-family: "times new roman" , serif;">10</span>公分</td>
<td width="12%"><br />
<br /></td>
</tr>
<tr valign="TOP">
<td width="42%">異徑接頭<span style="font-family: "times new roman" , serif;">3"x1.5"</span></td>
<td width="9%"><div align="CENTER">
<span style="font-family: "times new roman" , serif;">1</span>個</div>
</td>
<td width="37%">連接目鏡筒的水管零件</td>
<td width="12%"><br />
<br /></td>
</tr>
<tr valign="TOP">
<td width="42%"><span style="font-family: "times new roman" , serif;">1.5"</span>水管,裁切<span style="font-family: "times new roman" , serif;">5</span>公分長<span style="font-family: "times new roman" , serif;"><br />(E41</span>,外徑<span style="font-family: "times new roman" , serif;">48mm</span>、內徑<span style="font-family: "times new roman" , serif;">41mm)
</span>
</td>
<td width="9%"><div align="CENTER">
<span style="font-family: "times new roman" , serif;">1</span>段</div>
</td>
<td width="37%">目鏡筒</td>
<td width="12%"><br />
<br /></td>
</tr>
<tr valign="TOP">
<td width="42%"><span style="font-family: "times new roman" , serif;">1.25"</span>水管,裁切<span style="font-family: "times new roman" , serif;">1</span>公分長<span style="font-family: "times new roman" , serif;"><br />(<b>B35</b></span>,外徑<span style="font-family: "times new roman" , serif;">42mm</span>、內徑<span style="font-family: "times new roman" , serif;">35mm)
</span>
</td>
<td width="9%"><div align="CENTER">
<span style="font-family: "times new roman" , serif;">2</span>段</div>
</td>
<td width="37%">目鏡固定環</td>
<td width="12%"><br />
<br /></td>
</tr>
<tr valign="TOP">
<td width="42%">異徑接頭<span style="font-family: "times new roman" , serif;">3.5"x3"
</span>
</td>
<td width="9%"><div align="CENTER">
<span style="font-family: "times new roman" , serif;">1</span>個</div>
</td>
<td width="37%">物鏡筒,物鏡的水管零件</td>
<td width="12%"><br />
<br /></td>
</tr>
<tr valign="TOP">
<td width="42%"><span style="font-family: "times new roman" , serif;">3.5"</span>水管,裁切<span style="font-family: "times new roman" , serif;">1</span>公分長<span style="font-family: "times new roman" , serif;"><br />(A90</span>,外徑<span style="font-family: "times new roman" , serif;">100mm</span>、內徑<span style="font-family: "times new roman" , serif;">41mm)</span></td>
<td width="9%"><div align="CENTER">
<span style="font-family: "times new roman" , serif;">2 </span>段</div>
</td>
<td width="37%">物鏡固定環</td>
<td width="12%"><br />
<br /></td>
</tr>
<tr valign="TOP">
<td width="42%"><span style="font-family: "times new roman" , serif;">3"</span>水管<span style="font-family: "times new roman" , serif;">(A80)
</span>,</td>
<td width="9%"><div align="CENTER">
<span style="font-family: "times new roman" , serif;">1</span>段</div>
</td>
<td width="37%">鏡筒<br />
裁切<span style="font-family: "times new roman" , serif;">29~31</span>公分長(南亞異徑接頭)。<br />
裁切<span style="font-family: "times new roman" , serif;">24.5</span>公分長(CJS異徑接頭)</td>
<td width="12%"><br />
<br /></td>
</tr>
</tbody></table>
<div style="margin-bottom: 0cm;">
請留意水電材料行的每一管徑的水管,都是以<span style="font-family: "times new roman" , serif;">4</span>公尺為單位來賣。每段的其中一端會有大約<span style="font-family: "times new roman" , serif;">10</span>公分是口徑擴大不能使用在課程的部份。另外以砂輪機切割水管,每切割一次會損耗<span style="font-family: "times new roman" , serif;">3~4mm</span>。請備料時要特別考慮到。</div>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: "heiti tc";">組裝工具:</span></div>
<ol>
<li><div style="margin-bottom: 0cm;">
水管強力膠些許(黏著水管零件用),棉花棒一支(塗抹強力膠用)</div>
</li>
</ol>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: "heiti tc";">工具:</span></div>
<ol>
<li><div style="margin-bottom: 0cm;">
裁管器(切割小口徑水管)</div>
</li>
<li><div style="margin-bottom: 0cm;">
砂輪機(切割大口徑水管)</div>
</li>
<li><div style="margin-bottom: 0cm;">
<span style="font-family: "times new roman" , serif;">300</span>號砂紙</div>
</li>
</ol>
<div style="margin-bottom: 0cm;">
<br /></div>
<div style="margin-bottom: 0cm;">
<span style="font-family: "heiti tc";">組裝步驟:</span></div>
<ol>
<li><div style="margin-bottom: 0cm;">
將<span style="font-family: "times new roman" , serif;">2</span>段目鏡固定環剪開,剪掉<span style="font-family: "times new roman" , serif;">1mm~2mm</span>寬度,使能壓縮塞入目鏡筒內。<span style="font-family: "times new roman" , serif;"><br /></span>剪掉的兩端切口要能互相咬合。要先確認能輕地鬆將目鏡固定環塞入目鏡筒。</div>
</li>
<li><div style="margin-bottom: 0cm;">
目鏡筒若以裁管器切開,則兩端會略為膨脹,先用<span style="font-family: "times new roman" , serif;">300</span>號砂紙將兩端磨平。研磨訣竅在於手握砂紙,水管前端以大約<span style="font-family: "times new roman" , serif;">45</span>度角接觸砂紙,緩慢旋水管研磨,則能將水管兩端均勻磨平。</div>
</li>
<li><div style="margin-bottom: 0cm;">
先將其中<span style="font-family: "times new roman" , serif;">1</span>段目鏡固定環塞入目鏡筒<span style="font-family: "times new roman" , serif;">1mm~2mm</span>深度,以棉花棒塗抹水管強力膠在固定環外側,將目鏡筒往桌面輕輕垂直平壓,使固定環均勻塞入目鏡筒,並且能與目鏡筒貼平。桌面記得先墊一張回收紙,以免強力膠沾黏在桌面。</div>
</li>
<li><div style="margin-bottom: 0cm;">
放入<span style="font-family: "times new roman" , serif;">4</span>公分放大鏡於目鏡筒內,再以棉花棒塗抹水管強力膠於鏡面上方<span style="font-family: "times new roman" , serif;">1</span>公分範圍,將第<span style="font-family: "times new roman" , serif;">2</span>段目鏡固定環塞入目鏡筒,朝向另<span style="font-family: "times new roman" , serif;">1</span>段固定環方向壓緊固定,使能將鏡片固定<span style="font-family: "times new roman" , serif;"><br /></span>以上完成目鏡的組裝。</div>
</li>
<li><div style="margin-bottom: 0cm;">
物鏡固定環先試試能否輕鬆放入異徑接頭<span style="font-family: "times new roman" , serif;">3.5"x3"
</span>(物鏡筒)的<span style="font-family: "times new roman" , serif;">3.5"</span>端。若您使用的是南亞的異徑接頭,一定要將固定環剪開。我使用的是其他廠的固定環剪開,可以輕鬆將物鏡固定環放入,因此不用剪開。若須要剪開,請執行下個步驟。若不用剪開,請跳過下個步驟。</div>
</li>
<li><div style="margin-bottom: 0cm;">
將<span style="font-family: "times new roman" , serif;">2</span>段物鏡固定環剪開,剪掉<span style="font-family: "times new roman" , serif;">1mm~2mm</span>寬度,使能壓縮塞入物鏡筒內。<span style="font-family: "times new roman" , serif;"><br /></span>剪掉的兩端切口要能互相咬合。要先確認能輕地鬆將物鏡固定環塞入物鏡筒。</div>
</li>
<li><div style="margin-bottom: 0cm;">
先將其中<span style="font-family: "times new roman" , serif;">1</span>段物鏡固定環塞入物鏡筒<span style="font-family: "times new roman" , serif;">3cm~4cm</span>深度,以棉花棒塗抹水管強力膠在物鏡筒內側,使固定環均勻塞入物鏡筒,並且能與物鏡筒外沿等距貼平。可以預先用鉛筆描繪貼齊的位置線,若趁強力膠還沒固化前,以直尺沿著物鏡筒內緣繞一圈量測固定環的黏著位置,確認與外沿等距。這個步驟是讓物鏡的鏡片能垂直於鏡筒。</div>
</li>
<li><div style="margin-bottom: 0cm;">
放入<span style="font-family: "times new roman" , serif;">10</span>公分放大鏡於物鏡筒內,再以棉花棒塗抹水管強力膠於鏡面上方<span style="font-family: "times new roman" , serif;">1</span>公分範圍,將第<span style="font-family: "times new roman" , serif;">2</span>段物鏡固定環塞入物鏡筒,朝向另<span style="font-family: "times new roman" , serif;">1</span>段固定環方向壓緊固定,使能將鏡片固定。以上完成物鏡的組裝。</div>
</li>
<li><div style="margin-bottom: 0cm;">
將目鏡筒塞入異徑接頭<span style="font-family: "times new roman" , serif;">3"x1.5"</span>,再塞入裁切好的<span style="font-family: "times new roman" , serif;">28.5</span>公分長<span style="font-family: "times new roman" , serif;">3"</span>水管<span style="font-family: "times new roman" , serif;">(</span>鏡筒<span style="font-family: "times new roman" , serif;">)</span>。鏡筒另一端再與物鏡筒接好,就完成百元望遠鏡的組裝工作。</div>
</li>
<li><div style="margin-bottom: 0cm;">
透過望遠鏡,若只能看清楚近的景物時,遠方景物模糊時,代表物鏡與目鏡的距離過長,可以試著將水管壓緊,縮短間距。如果問題仍然沒有解決,則將鏡筒以砂輪機再切掉<span style="font-family: "times new roman" , serif;">1</span>公分。</div>
</li>
</ol>
<div>
結構圖:</div>
</div>
<div class="separator" style="clear: both; text-align: center;">
<a href="http://3.bp.blogspot.com/-ndHBWZRB0K0/VbNDpk3dwbI/AAAAAAAAOwY/5LiPKYE8F0g/s1600/20150706_081313725_iOSBW.jpg" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://3.bp.blogspot.com/-ndHBWZRB0K0/VbNDpk3dwbI/AAAAAAAAOwY/5LiPKYE8F0g/s320/20150706_081313725_iOSBW.jpg" width="320" /></a></div>
<div class="separator" style="clear: both; text-align: center;">
這個結構圖是我最近使用的CJS異徑接頭所推算的長度數據。鏡筒所須要的長度為24.5公分。若您使用南亞的異徑接頭,則鏡筒長度為29~31公分。</div>
<div class="separator" style="clear: both; text-align: center;">
<br /></div>
<div>
<div style="line-height: 104%; margin-bottom: 0cm;">
鏡筒長度<span style="font-family: "times new roman" , serif;">L</span>的測量方法:</div>
<ol>
<li><div style="line-height: 104%; margin-bottom: 0cm;">
先測量<span style="font-family: "times new roman" , serif;">A80</span>水管分別與異徑接頭的重疊長度<span style="font-family: "times new roman" , serif;">So</span>、<span style="font-family: "times new roman" , serif;">Se</span>。</div>
</li>
<li><div style="line-height: 104%; margin-bottom: 0cm;">
測量物鏡鏡片中心到異徑接頭的<span style="font-family: "times new roman" , serif;">3"</span>開口的長度<span style="font-family: "times new roman" , serif;">Do</span>。</div>
</li>
<li><div style="line-height: 104%; margin-bottom: 0cm;">
測量目鏡鏡片中心到異徑接頭的<span style="font-family: "times new roman" , serif;">3"</span>開口的長度<span style="font-family: "times new roman" , serif;">De</span>。</div>
</li>
<li><div style="line-height: 104%; margin-bottom: 0cm;">
計算公式:<span style="font-family: "times new roman" , serif;"><br /></span>物鏡焦距+目鏡焦距=<span style="font-family: "times new roman" , serif;">Do</span>+(<span style="font-family: "times new roman" , serif;">L</span>-<span style="font-family: "times new roman" , serif;">So</span>-<span style="font-family: "times new roman" , serif;">Se</span>)+<span style="font-family: "times new roman" , serif;">De</span>以我們這次使用的鏡片組來說,物鏡焦距=<span style="font-family: "times new roman" , serif;">300mm</span>、目鏡焦距=<span style="font-family: "times new roman" , serif;">100mm</span>,<span style="font-family: "times new roman" , serif;">So</span>=<span style="font-family: "times new roman" , serif;">40mm</span>、<span style="font-family: "times new roman" , serif;">Se</span>=<span style="font-family: "times new roman" , serif;">15mm</span>,<span style="font-family: "times new roman" , serif;">Do</span>=<span style="font-family: "times new roman" , serif;">85mm</span>、<span style="font-family: "times new roman" , serif;">De</span>=<span style="font-family: "times new roman" , serif;">125mm</span>。<span style="font-family: "times new roman" , serif;"><br />300</span>+<span style="font-family: "times new roman" , serif;">100</span>=<span style="font-family: "times new roman" , serif;">85</span>+(<span style="font-family: "times new roman" , serif;">L</span>-<span style="font-family: "times new roman" , serif;">40</span>-<span style="font-family: "times new roman" , serif;">125</span>)+<span style="font-family: "times new roman" , serif;">15</span>,
代入方程式求得<span style="font-family: "times new roman" , serif;">L</span>=<span style="font-family: "times new roman" , serif;">245mm</span></div>
</li>
</ol>
</div>
<div>
<br /></div>
大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com2tag:blogger.com,1999:blog-8120750230085733724.post-58889972235511635622015-06-15T01:00:00.000+08:002015-06-20T10:53:16.391+08:00如何用40分鐘看完50分鐘的影片這個問題曾經困擾著我,其實50分鐘的影片,影片中旁白的步調其實是很慢的。只要稍稍快速一些播放,就可以看完並且有足夠的時間解說影片重點。但是加速播放又不能造成旁白的音調變高,加速不是單純的2倍速,而是1.1倍~1.3倍。<br />
<br />
方法很簡單,只要用對了播放器就可以了。<br />
<br />
最近測試一些軟體後,發現原先的MPlayer和SMPlayer在快速播放的過程中,會發生對話的音調升高的問題。因此重新更新這個網頁的內容。2015/06/16更新<br />
在Mac OSX上,我測過MplayerX 1.0.22.1版 (<a href="http://mplayerx.org/" style="font-family: Helvetica; font-size: 13px; text-align: center;">http://mplayerx.org</a>)符合上述的須求。<br />
在M$ Win上,我測試過VLC Player (<a href="http://www.videolan.org/vlc/">http://www.videolan.org/vlc/</a>)符合上述的須求。<br />
<br />
上述兩個播放軟體可以直接在播放的過程中,按下]鍵,使播放速度變為1.1x 1.2x 1.3x ...<br />
如此一來,原先50分鐘的影片就可以分別在46分鐘(1.1x)、42分鐘(1.2x)、38分鐘(1.3x)。如此一來對於步調較慢的影片,可以在完整內容播放的情形下,用可以接受的速度播放完畢。<br />
<br />
若是對於語言的學習,則可以使用上速軟體,減速為0.9x 0.8x 0.7x,來適應語言的口說與聽力,又不會造成語調的降低。<br />
<br />
<br />
-----以下為舊資料-----<br />
2011/06/24 發表的方法,(最新的版似乎會在快速播放的過程中,對話音調升高的問題):<br />
MPlayer或SMPlayer,開啟影音檔案後開始播放。按 [ 或 ] ,以10%加減速播放。<br />
對於解說較慢的影片,如果以1.2倍播放,則50分鐘的影片可以在42分鐘內看完;如果以1.3倍播放,則50分鐘的影片可以在39分鐘內看完。在學生可以接受的速度範圍內調整,則省下來的時間可以配合部分重點段落暫停來解說。<br />
<br />
MPlayer或SMPlayer,是自由軟體,適用於各種作業系統平臺,可以免費從網路上下載。<br />
MPlayer: <a href="http://www.mplayerhq.hu/design7/dload.html">http://www.mplayerhq.hu/design7/dload.html</a><br />
SMPlayer: <a href="http://smplayer.sourceforge.net/downloads.php">http://smplayer.sourceforge.net/downloads.php</a>大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-77255491045792033512013-11-08T10:37:00.004+08:002013-11-08T10:37:39.379+08:00趣味文字<br />
<div>
猜猜看, 下列三個詞之間有什麼關聯?</div>
<div>
<ol>
<li>EARTH SCIENCES</li>
<li>INCREASE TECHS</li>
<li>CARE THIS SCENE</li>
</ol>
</div>
大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-87447387050507489582013-11-08T10:33:00.003+08:002013-11-08T10:33:54.365+08:00笑看人生: 學習人生下面兩則笑話是在網路上常見的笑話,主要的內容剛好都與語言學習有關。其中的含意值得玩味一番。<br />
<br />
<br />
兩種語言<br />
<br />
一隻狗逛街時看到一張告示:<br />
招聘文員 須打字 懂電腦 精通兩種語言 均等機會<br />
<br />
狗於是進去應徵,但是被拒絕了。<br />
<br />
經理說:我不能僱用一條狗在公司裡做事。<br />
<br />
狗於是指著均等機會的地方表示抗議。<br />
<br />
經理只好問狗說:你會打字嗎?狗跑到打字機前打了一封信。<br />
你懂得用電腦嗎?狗跑到電腦前寫了一個程式且運作無誤。<br />
就算你會打字電腦,我還是不能僱用你,我需要的人要會說兩種語言。<br />
<br />
狗抬起頭對著經理叫了一聲....................喵~<br />
<br />
<br />
聽小狗叫<br />
<br />
英文老師在訓練學生聽力的時說道:<br />
不要害怕聽不懂,學語言就是要多聽。<br />
你們每天聽我說英文,久了自然就聽得懂了。』<br />
這時有一位也很天才的學生忽然說道:<br />
『咦?可是我每天聽小狗叫,也不知道牠在說些什麼?』<br />
英文老師:『.....』<br />
<br />
<br />
先談談天天聽狗叫聲這一件事情,其實如果有人這麼回應,<br />
那麼該回敬這種人一種日本發明的產品,稱為"咆譯機"(Bowlingual)。<br />
<a href="http://en.wikipedia.org/wiki/BowLingual">http://en.wikipedia.org/wiki/BowLingual</a>。<br />
我想重點是在於用心去聽懂,一回生二回熟。<br />
如果每一次都當作是耳邊風,當然都永遠聽不懂的。<br />
<br />
<br />
根據認知心理學的研究,語言是學習的基礎,其中在國小階段是黃金時期。如果語言的聽、說、讀、寫能力有障礙,進則連帶影聲到其他學科的學習。<br />
整體而言,一個人的學習黃金時期,大約一直到30歲左右。<br />
如果經常動腦筋的人,大約可以延長幾年的時間。而一輩子經常思考、閱讀、勞動的人,即使到了90歲,也能耳聰目明,四肢矯健。(上面這種情形,我已經聽過、看過幾個人的例子。)<br />
<br />
<br />
當然要活得比平常人還要長壽,科學家根據『義大利薩丁尼亞島』、『日本沖繩島』及『加洲洛馬林達』的長壽人瑞的生活習慣,歸納了一些原則。<國家地理雜誌2005年11月號><br />
<br />
1. 不抽煙<br />
2. 以家庭為重<br />
3. 積極過每一天<br />
4. 參與社交活動<br />
5. 吃蔬果和全穀類食品大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-87460894820467639672013-08-31T21:27:00.005+08:002013-08-31T21:27:52.001+08:00American's Army (a free online game)<br />
<div>
American's Army (a free online game)</div>
<div>
<br /></div>
<div>
2006年2月時,在報上看到的freeware, 第一人稱射擊線上遊戲-</div>
<div>
American's Army, 這是美國國防部斥資所開發的遊戲, </div>
<div>
可以從網路上免費下載得到, 目前最近的版本是3.3版.</div>
<div>
<br /></div>
<div>
http://www.americasarmy.com/</div>
<div>
<br /></div>
<div>
從當時注意到到現在一直都沒有時間玩,最近因為要將無名小站的東西搬過來,又看到一次。</div>
大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-20785687618459432062012-07-27T13:55:00.001+08:002012-07-27T13:55:17.698+08:00在Windows XP中,檢視設定選擇為「縮圖」,縮圖下方看不見文字名稱<br />
在Windows XP中,檢視設定選擇為「縮圖」,縮圖下方看不見文字名稱<br />
<br />
問題情況:<br />
在Windows XP中,開啟「我的電腦」時,將檢視設定選擇為「縮圖」時,<span style="background-color: white;">各磁碟機縮圖下方的磁碟名稱會消失。進入任一個磁碟或資料夾內,同樣也是只有顯示縮圖而沒有下方的檔案名稱。</span><br />
<span style="background-color: white;">若使用其他檢視設定:並排、圖示、清單、詳細資料時,</span><span style="background-color: white;">則沒有這種現象。</span><br />
<span style="background-color: white;"><br /></span><br />
<span style="background-color: white;">解決方法:</span><br />
<span style="background-color: white;"></span><br />
先把檢視設定切換到隨便一個非縮圖的方式(並排,圖示,清單,詳細資料皆可),<span style="background-color: white;">切換完成後,</span><span style="background-color: white;">按住Shift鍵不放,然後將檢視模式切換成縮圖,就可以恢復正常顯示磁碟名稱或檔案、資料夾名稱。</span><br />
<br />大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-50871808911103975562011-10-02T16:38:00.003+08:002011-10-02T16:43:52.425+08:00Moodle教學網站嵌入FLASH動畫語法改進Moodle教學網站嵌入FLASH動畫HTML語法改進<br />
<br />
開始使用MOODLE來整理教學網站,已經是很多年前的事了。受教於教育先進無私的知識分享,讓我們能輕鬆維護教學網詀,專注在教學內容的呈現而不是網站的程式碼。<br />
<br />
最近這一段時間,我開始發現地科網站的一些flash動畫在Chrome、Firefox及Safari都無法呈現,flash的位置出現 "Missing plug in"。剛開始以為是電腦所安裝的Adobe Flash Player太舊或是檔案有問題,重新安裝並且重新開機,問題仍然存在。而讓我覺得怪異的地方是,這個問題是會在地科網站的部份flash動畫出現,其它的網站的flash動畫仍然可以正常顯示。比對了一下這兩者嵌入FLASH動畫HTML語法,發現只要改變其中的一段指令問題就解決了。<br />
<br />
<span class="Apple-style-span" style="background-color: #eeeeee; font-family: Arial, Verdana, Helvetica, sans-serif; font-size: 16px;"></span><br />
<div>以下是moodle教學中,所介紹的嵌入flash動畫的HTML語法:</div><div><object height="600" width="800" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://www.adobe.com/tw/products/flashplayer/"><br />
<param name="movie" value="<span class="Apple-style-span" style="color: #000066;">http://your.website.address/xxxx/flash.swf</span>" /><br />
<param name="quality" value="high" /><br />
<span class="Apple-style-span"><embed height="600" width="800" src="<span class="Apple-style-span" style="color: #000066;">http://your.website.address/xxxx/flash.swf</span>" quality="high" pluginspage="http://www.adobe.com/tw/products/flashplayer/" </span><span class="Apple-style-span" style="color: red;">type="application/x-adobe-flash"</span><span class="Apple-style-span"> /></span><br />
</object><br />
<br />
<br />
這個問題困擾了我很多天,一直百思不得其解。其間試過重灌Adobe Flash Player,試用不同的瀏覽器(Chrome、Firefox和Safari。IE是全天下最後一個我會用的瀏覽器。),或多或少都會出現這樣的問題。老實說我也沒有真正查出來是哪個層面的問題,但是最後是因為在地科網站中,發現有另外幾個flash動畫居然可以呈現。比對了它們的HTML語法,發覺只要將其中的 <span class="Apple-style-span" style="color: red;">type="application/x-adobe-flash"</span> 改為 <span class="Apple-style-span" style="color: blue;"><b>type="application/x-shockwave-flash"</b></span> 問題居然就解決了!!<br />
<div><br />
</div><div>修正後的嵌入flash動畫HTML語法:</div><div><object height="600" width="800" classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://www.adobe.com/tw/products/flashplayer/"><br />
<param name="movie" value="<span class="Apple-style-span" style="color: #000066;">http://your.website.address/xxxx/flash.swf</span><span class="Apple-style-span">" /><br />
<param name="quality" value="high" /><br />
<embed height="600" width="800" src="<span class="Apple-style-span" style="color: #000066;">http://your.website.address/xxxx/flash.swf</span>" quality="high" pluginspage="http://www.adobe.com/tw/products/flashplayer/" <span class="Apple-style-span" style="color: blue;"><b>type="application/x-shockwave-flash"</b></span> /><br />
<object></span><br />
<span class="Apple-style-span"><br />
</span><br />
<span class="Apple-style-span">請留意:上面的指令如果您要複製貼到您的網站使用,請記得將中文全型符號<>改為英數半型的<>。</span><br />
<span class="Apple-style-span"><br />
</span><br />
<span class="Apple-style-span"><br />
</span></div></div>大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-11100692684592881982011-05-11T20:16:00.000+08:002011-05-11T20:45:32.057+08:00Mac OSX 安裝 Gnuplot最近帶學生做實驗,使用到gnuplot來繪製圖表,在Mac OSX與Win XP之間轉換,無法將工作程序變成一貫作業的指令集,只好想法子將gnuplot安裝在Mac OSX上。<br />
<br />
總結:為了一個屈屈幾十MB的gnuplot,得先安裝一個十幾GB的Xcode(xcode_3.2.6_and_ios_sdk_4.3,可以從<a href="http://developer.apple.com/">apple developer</a>)。<br />
<br />
步驟:<br />
<br />
<ol><li>安裝一個十幾GB的Xcode(xcode_3.2.6_and_ios_sdk_4.3.dmg,可以從<a href="http://developer.apple.com/">apple developer</a>)。dmg檔案有4GB,安裝要用去10GB,所以自己看著辦吧~</li>
<li>安裝MacPort(<a href="http://www.macports.org/install.php">http://www.macports.org/install.php</a>),根據Mac OSX的版本,自行下載安裝。例如:Snow Leopard,<a href="http://distfiles.macports.org/MacPorts/MacPorts-1.9.2-10.6-SnowLeopard.dmg">http://distfiles.macports.org/MacPorts/MacPorts-1.9.2-10.6-SnowLeopard.dmg</a>。</li>
<li>執行終端機,輸入下列指令,就會從網路上自行下載安裝相關的套件。<br />
> sudo port install gnuplot</li>
</ol>補充:由於之前自己手動安裝了AquaTerm,導致步驟3無法安裝AquaTerm,後來是先移除了自己安裝的AquaTerm後,才順利安裝。為了安裝gnuplot,不但安裝了Xcode,又安裝下面一堆相關套件:aquaterm expat fontconfig freetype zlib libiconv gperf gd2 autoconf help2man gettext ncurses ncursesw p5-locale-gettext perl5 perl5.12 m4 automake jpeg libpng libtool xpm pkgconfig xorg-libXext xorg-libX11 xorg-bigreqsproto xorg-inputproto xorg-kbproto xorg-libXau xorg-xproto xorg-libXdmcp xorg-libxcb python27 bzip2 db46 gdbm openssl readline sqlite3 xorg-libpthread-stubs xorg-xcb-proto libxml2 xorg-util-macros xorg-xcmiscproto xorg-xextproto xorg-xf86bigfontproto xorg-xtrans xorg-libXt xorg-libsm xorg-libice pdflib。<br />
<br />
再補充:從下載到安裝完成,花了超過4個小時的時間。歐麥古德麗絲~大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-84718790038106788652011-05-11T18:05:00.000+08:002011-05-11T18:05:38.870+08:00處理謠言的方法面對近日各種末日謠言,要如何面對處理呢?<br />
<br />
這個問題的答案,在國際比賽轉播或是MLB轉播可以得到好方法,那就是媒體不要播,也不要追踪報導。<br />
<br />
MLB比賽現場,如果有觀眾跑進場內,在電視畫面是不會看到的。理由很簡單,如果跑進球場搗亂可以免費上電視,那麼會有更多想出名的觀眾會如法泡製。所以MLB轉播單位是不會播出鬧場的觀眾。大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-49213806732453592242011-04-25T09:33:00.000+08:002011-04-25T09:33:08.655+08:00Gnuplot的資料檔案格式最近帶學生使用數位記錄器, 將實驗過程的資料輸出才純文字的數據檔後, 想使用gnuplot來繪圖, 卻發現畫出來的圖很奇怪。連最基本的2維的繪圖都無法正常產生圖, 出現錯誤訊息如下:<br />
<blockquote>warning: No usable data in this plot to auto-scale axis range<br />
All points x value undefined</blockquote>或是<br />
<blockquote>warning: Skipping data file with no valid points<br />
all points undefined!</blockquote>最後在無意間, 使用awk "{print $1,$2 }"來測試資料檔時, 從它的輸出結果中, 發現可能的問題:<br />
<br />
原始數據檔案的編碼(encode)。因為數位記錄器預設的輸出格式為Unicode, 而在gnuplot以及awk無法正確輸入, 而造成不預期的結果。使用記事本(notepad)將原始數據檔, 以另存新檔時, 將編碼改為UTF-8, 以及在gnuplot中,要輸入 set encoding utf8 就可以將問題解決了。<br />
<br />
In short:<br />
Gnuplot recognizes data file encoded in UTF-8. If a unicode encoded data file is used in gnuplot, unexpected results will happen. In order to read UTF-8 data file correctly, "set encoding utf8" should be used in gnuplot.大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-30507105156548569382011-04-24T11:03:00.000+08:002011-04-25T09:23:37.132+08:00彰中鳥事-鴒角鴞<div class="separator" style="clear: both; text-align: left;">多年前就有聽同事說校園裡有鴒角鴞,這些年來有聞其聲,但沒見其鳥。總算是親眼看到牠們,當然要有照片才有真相。</div><div class="separator" style="clear: both; text-align: left;">鴒角鴞(Collared Scops Owl),學名Otus bakkamoena,屬於珍貴稀有動物<a href="http://tesri.coa.gov.tw/list_wild.php?kind=K2">保育類動物</a>。生性好奇,並不怕人,所以經過一整天同事們的拍照後,輪到我拿著相機拍照時,牠們還仔細地觀察我。</div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-AwJ_5Sc_Wc8/TbOSagKaWMI/AAAAAAAALjU/D4GXEjMEiuQ/s1600/IMG_4479.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="248" src="http://4.bp.blogspot.com/-AwJ_5Sc_Wc8/TbOSagKaWMI/AAAAAAAALjU/D4GXEjMEiuQ/s320/IMG_4479.JPG" width="320" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-o09GjDbS5F8/TbOScbUr3rI/AAAAAAAALjY/eoi97IHgT-M/s1600/IMG_4480.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="212" src="http://3.bp.blogspot.com/-o09GjDbS5F8/TbOScbUr3rI/AAAAAAAALjY/eoi97IHgT-M/s320/IMG_4480.JPG" width="320" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-x7T30gAft5w/TbOSd2DhIzI/AAAAAAAALjc/NyaXm57whrk/s1600/IMG_4481.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://1.bp.blogspot.com/-x7T30gAft5w/TbOSd2DhIzI/AAAAAAAALjc/NyaXm57whrk/s320/IMG_4481.JPG" width="213" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-NLwmbyBgHII/TbOSfMVohmI/AAAAAAAALjg/qHy90VrTo9s/s1600/IMG_4482.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="212" src="http://1.bp.blogspot.com/-NLwmbyBgHII/TbOSfMVohmI/AAAAAAAALjg/qHy90VrTo9s/s320/IMG_4482.JPG" width="320" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-pT6dsquJHBc/TbOSgneFANI/AAAAAAAALjk/i4Qm7gRO_RA/s1600/IMG_4483.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://1.bp.blogspot.com/-pT6dsquJHBc/TbOSgneFANI/AAAAAAAALjk/i4Qm7gRO_RA/s320/IMG_4483.JPG" width="213" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-YIf_Db03dFw/TbOSiJjfGfI/AAAAAAAALjo/d9lUqepPKVg/s1600/IMG_4484.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://2.bp.blogspot.com/-YIf_Db03dFw/TbOSiJjfGfI/AAAAAAAALjo/d9lUqepPKVg/s320/IMG_4484.JPG" width="213" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://2.bp.blogspot.com/-NjU41NDmMkM/TbOSjWN5t0I/AAAAAAAALjs/WknaErMzM0o/s1600/IMG_4485.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://2.bp.blogspot.com/-NjU41NDmMkM/TbOSjWN5t0I/AAAAAAAALjs/WknaErMzM0o/s320/IMG_4485.JPG" width="213" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-6F_KaWUsiS8/TbOSk2MO8VI/AAAAAAAALjw/u2AOY2_myLA/s1600/IMG_4486.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="212" src="http://4.bp.blogspot.com/-6F_KaWUsiS8/TbOSk2MO8VI/AAAAAAAALjw/u2AOY2_myLA/s320/IMG_4486.JPG" width="320" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-Q8Wfmhkv8H8/TbOSmqJvgkI/AAAAAAAALj0/v5S3tQZC4nE/s1600/IMG_4487.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://1.bp.blogspot.com/-Q8Wfmhkv8H8/TbOSmqJvgkI/AAAAAAAALj0/v5S3tQZC4nE/s320/IMG_4487.JPG" width="214" /></a></div><div class="separator" style="clear: both; text-align: center;"><br />
</div><div class="separator" style="clear: both; text-align: center;">以上為鴒角鴞的雛鳥。以下為鴒角鴞的成鳥。</div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-4pBhN72FVC4/TbOSoBfuiTI/AAAAAAAALj4/OigPyxRKdGs/s1600/IMG_4488.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="http://1.bp.blogspot.com/-4pBhN72FVC4/TbOSoBfuiTI/AAAAAAAALj4/OigPyxRKdGs/s320/IMG_4488.JPG" width="320" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-wKs1-IB7C9U/TbOSppxUuRI/AAAAAAAALj8/8Q9X2smlXuA/s1600/IMG_4489.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="http://4.bp.blogspot.com/-wKs1-IB7C9U/TbOSppxUuRI/AAAAAAAALj8/8Q9X2smlXuA/s320/IMG_4489.JPG" width="320" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/-C0OayRmokaU/TbOSrA0l4mI/AAAAAAAALkA/_Tacm_9X5aE/s1600/IMG_4490.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://1.bp.blogspot.com/-C0OayRmokaU/TbOSrA0l4mI/AAAAAAAALkA/_Tacm_9X5aE/s320/IMG_4490.JPG" width="214" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/-e0aAbU9STYE/TbOSs_lNJZI/AAAAAAAALkE/TSP1KMNhe4I/s1600/IMG_4491.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="213" src="http://3.bp.blogspot.com/-e0aAbU9STYE/TbOSs_lNJZI/AAAAAAAALkE/TSP1KMNhe4I/s320/IMG_4491.JPG" width="320" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/-smslreoMZnU/TbOSuP0I-WI/AAAAAAAALkI/fQv7Ppn6bDo/s1600/IMG_4492.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="320" src="http://4.bp.blogspot.com/-smslreoMZnU/TbOSuP0I-WI/AAAAAAAALkI/fQv7Ppn6bDo/s320/IMG_4492.JPG" width="214" /></a></div><br />
<span id="goog_1061801209"></span><span id="goog_1061801210"></span>大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-52124262741701317262011-04-17T20:51:00.000+08:002011-04-17T21:07:42.477+08:00Star TrekStar Trek 大約是從國中時期,電視臺播放的電視影集,開始看起的,那時是翻譯為《星際迷航際》。直到上大學時,才認真地看這個系列的電影或影集,甚至還從<a href="http://www.amazon.com/Star-Trek-Encyclopedia-Reference-expanded/dp/0671536079">Amazon買了Star Trek百科全書</a>來看。Star Trek在臺灣的翻譯,不用多說,一定是群雄割據的局面,沒有一致的名稱。連同電影版的副標題,有幾部也是翻譯得實在很令人跌倒。例如:<a href="http://en.wikipedia.org/wiki/Star_Trek:_First_Contact">Star Trek VIII: First Contact</a>,臺灣譯成《星艦奇航記VIII:戰鬥巡航》,看過影集的都知道,應該譯成《第一次接觸》比較合片名以及影片內容。<br />
<br />
今天先聊聊 2009年上映的<a href="http://en.wikipedia.org/wiki/Nero_(Star_Trek)">星際爭霸戰(Star Trek)</a>吧~這部電影是Star Trek系列第11部電影作品,時空背景是在<a href="http://en.wikipedia.org/wiki/James_T._Kirk">寇克艦長(James Tiberius Kirk)</a>出生到成軍時期的故事,但是有別於原有的時空序列。電影中出現的巨大羅慕侖採礦船以及老史巴克,是來自於原始的Star Trek時空序列的角色。其餘在劇中出現的角色,雖然名字是一樣的,但是是屬於羅慕侖採礦船(船長是<a href="http://memory-alpha.org/wiki/Nero">尼諾,Nero</a>,沒錯和燒錄軟體同名的)來到這個時空後所改變產生的新時空序列。<br />
<br />
這部電影在臺灣是在2009年5月首映,我在2009年8月底搭新航到英國時,在機上看了幾遍,直到2010年9月才在HBO上映,今天在HBO又看到了一次。<br />
<br />
每看一次,總會有新發現。今天發現:在年輕寇克被放逐到織女星4號時,與老<a href="http://en.wikipedia.org/wiki/Spock">史巴克</a>一起在太空站(outpost)遇到的<a href="http://en.wikipedia.org/wiki/Montgomery_Scott">蒙哥馬利.史考特</a>時,史考特提到因為他在測試他的曲速傳送實驗,將<a href="http://en.wikipedia.org/wiki/Jonathan_Archer">Archer上將</a>的狗(小獵犬,但不是叫做Porthos的那一隻。因為按時間來推算,Porthos在2151跟著Archer出現,到2222年史考特出生時,它至少70歲)給傳送遺失了,才被發放邊疆。其中,這一位Archer上將是在Star Trek系列比寇克艦長的更前期,編號<a href="http://en.wikipedia.org/wiki/Enterprise_(NX-01)">NX-01的企業號</a>艦長,相關的影集(<span class="Apple-style-span" style="font-family: sans-serif; font-size: 13px; line-height: 19px;"><i><a href="http://en.wikipedia.org/wiki/Star_Trek:_Enterprise" style="background-attachment: initial; background-clip: initial; background-color: initial; background-image: none; background-origin: initial; background-position: initial initial; background-repeat: initial initial; color: #0645ad; text-decoration: none;">Star Trek: Enterprise</a></i></span>)已經播出過,但是臺灣好像沒有上映過。從維基百科網的條目中,沒有看到Jonathan Archer以及Star Trek: Enterprise的中文條目來看,應該是沒有在臺灣上映過。<br />
<br />
這部電影中的派克船長(<a href="http://en.wikipedia.org/wiki/Christopher_Pike_(Star_Trek)">Christopher Pike</a>),在Star Trek系列,是我不熟的人物,他顯然是早於Kirk擔任企業號(NCC-1701)艦長。<br />
<br />
Star Trek系列的影集,對於穿越時空的情節,簡單看待就好,不用太想破頭。不過想要花點時間考據一下合理性或相關性,也是個不錯的戲外消遣。所以說,如果這一批角色要再拍續集,恐怕沒有那麼簡單囉~因為要把整個新的時空序列,重新再安排一次。<br />
<br />
先寫到這兒,有想到再寫吧~大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com1tag:blogger.com,1999:blog-8120750230085733724.post-55210279308944016872011-03-31T08:57:00.000+08:002011-03-31T08:57:36.374+08:00Windows系統間的檔案同步軟體使用心得環境說明:<br />
<br />
<ol><li>實驗室內有幾台學生電腦,C:\WinXP作業系統,有還原卡保護;D:\資料,開放存取。</li>
<li>教師電腦(\\TEACHER),C:\WinXP作業系統,D:\SyncFolder\存放給發給學生的檔案,透過網路分享為\\TEACHER\SyncFolder。</li>
<li>希望每一位學生在登入作業系統後,就能自動從老師的電腦D:\SyncFolder\作同步。已存在的檔案不再浪費網路頻寬下載,順便將學生電腦D:\SyncFolder\多餘的檔案清除。</li>
<li>學生電腦只會透過還原卡將C:\系統複製到其他台電腦。D:\資料不作任何的變更。</li>
</ol><div>測試不成功的軟體:</div><div><ol><li>M$的SyncToy 2.1版,可以做到同步的動作,但是每一台電腦必須手動執行過一次,才能用命列模式啟動同步動作。更糟的是,他會將上一次動作紀錄在一個SyncToy.....的檔案中。即使後來手動刪除了資料夾內的檔案,它也不會自動偵測到。這個問題會導致在第1台學生電腦設好後,將整個系統透過還原卡複製到其他學生電腦後,無法正常地將教師電腦D:\SyncFold\與其他台的學生電腦D:\SyncFolder\做同步。不愧為Sync<b>玩具</b>。所以即使用排定的工作來設定SyncToyCmd的方式來啟動,也是無效的。</li>
</ol><div>測試可以的方案:</div></div><div><ol><li>下載使用<span class="Apple-style-span" style="-webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; color: #4f4f4f; font-family: Tahoma, sans-serif; font-size: 12px;"><strong><span style="color: #006600;"><a href="http://www.2brightsparks.com/syncback/syncback-hub.html">SyncBack Freeware V3.2.21</a></span></strong></span>這個免費的檔案同步軟體,它和Sync玩具相同,有圖形介面可以設定,但是可以設定的參數較詳細。將 \\TEACHER\SyncFolder 設為source,學生電腦的D:\SyncFolder設為destination。在Advance的設定分頁中,選擇自己想要的同步方式。我的情境是:source over</li>
<li>我將學生電腦中,使用SyncBack設定好SyncFolder的動作,它的執行指令如下:<br />
"C:\Program Files\2BrightSparks\SyncBack\SyncBack.exe" -m "SyncFolder"</li>
<li>我將上述這一行指令寫作一個批次檔,再加上檢查學生電腦D:\SyncFolder是否存在並自動新增資料來的動作,將這個批次檔存成sync.bat,放在下列的資料夾中:<br />
C:\WINDOWS\System32\GroupPolicy\User\Scripts\Logon<br />
REM =====以下為sync.bat指令內容=====<br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">IF NOT EXIT "D:\SyncFolder" MD "D:\SyncFolder"</span><br />
<span class="Apple-style-span" style="font-family: 'Courier New', Courier, monospace;">"C:\Program Files\2BrightSparks\SyncBack\SyncBack.exe" -m "SyncFolder"<br />
<span class="Apple-style-span" style="font-family: Arial;">REM ====以上為sync.bat指令內容=====</span></span></li>
<li>開始/執行,輸入"gpedit.msc",開啟群組原則設定。在使用者設定/Windows設定/指令碼/登入,滑鼠右鍵內容,新增/瀏覽/指令碼名稱,選取sync.bat,按確定/確定,關閉內容設定,關閉群組原則設定。</li>
<li>測試方法,新增一批檔案在教師電腦D:\SyncFolder,另外新增一批不同的檔案。在學生電腦端執行登出,再登入,檢查學生電腦的D:\SyncFolder是否會同步。如果可以,就可以將這一台學生電腦,再透過還原卡複製到其它的學生電腦上。</li>
<li>這個同步是透過網路傳輸,因此登入後,視檔案大小,會花費數十秒至幾分鐘時間。</li>
<li>又,在開機時(群組原則中所指的系統啟動時)不能使用這一招是因為這個階段電腦尚無法使用網路芳鄰連線,所以就會失效。</li>
</ol></div>大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-5296647579681418602011-03-24T22:30:00.000+08:002011-03-24T22:32:25.721+08:00黃修禮古典吉他獨奏會<div><span class="Apple-style-span" style="font-family: arial, sans-serif; font-size: large;"><span class="Apple-style-span" style="border-collapse: collapse;"><a href="http://web.cc.ntnu.edu.tw/~guitar/htm/ch.htm">黃修禮古典吉他獨奏會</a></span></span></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;"><br />
</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">時間:中華民國100年3月29日星期二晚上7點30分整</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">地點:台中市東海大學音樂系演奏廳</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">主辦:東海大學音樂系</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">協辦:東海大學古典吉他社</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">聯絡人:李振聲老師 0911-864836</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;"></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">⋯⋯免費入場⋯⋯</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;"></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">曲目</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;"></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">Villa-Lobos,H.(1887-1959):<wbr></wbr>Preludio No.1</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">維拉一羅伯斯:第一號前奏曲</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">Villa-Lobos,H.(1887-1959):<wbr></wbr>Choros No.1</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">維拉一羅伯斯:第一號秀羅舞曲</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;"></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">Carlevaro,A.(1918-2001):Campo</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">卡雷巴洛:田園</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">Carlevaro,A.(1918-2001):<wbr></wbr>Tamboriles</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">卡雷巴洛:羯鼓舞</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;"></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">Brouwer,L.(1939-):Danza del Altiplano</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">布羅威爾:高原之舞</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">Brouwer,L.(1939-):Elogio de la danza</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">布羅威爾:舞之頌</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;"></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">中場休息十五分鐘</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;"></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">Turina,Joaquin(1882-1949):<wbr></wbr>Homenaje a Tarrega (I.Garrotin II.Soleares)</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">杜利納:達雷加讚歌 (I.加洛定舞曲 - II.索列阿雷斯舞曲)</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;"></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">Torroba,F.M.(1891-1982):Suite Castellano (I.Fandanguillo- II.Arada- III.Danza)</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">多羅巴:卡斯提爾組曲 (I.小方當果舞曲 - II.晨歌 - III.舞曲)</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;"></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">Albeniz,I.(1860-1909):Asturias</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">阿爾貝尼士:阿斯杜利亞斯 (傳奇曲)</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">Albeniz,I.(1860-1909):Granada</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">阿爾貝尼士:葛拉納達</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">Albeniz,I.(1860-1909):Torre bermeja</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">阿爾貝尼士:紅塔</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">Albeniz,I.(1860-1909):Sevilla</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">阿爾貝尼士:賽維雅舞曲</div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;"></div><div style="border-collapse: collapse; font-family: arial, sans-serif; font-size: 16px;">晚安</div>大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-40976414125923556012011-03-14T10:00:00.000+08:002011-03-14T10:00:49.495+08:00日本の平安を祈ります2011年3月11日下午發生在日本東北地區外海規模9.0的地震,同時引發大海嘯,立即造成日本東北及北海道沿岸地區造成嚴重破壞,目前粗估已逾萬人死亡,對日本整體均造成相當大的打擊。<br />
從NHK的畫面、旅日的台人以及記者的文字,充份感受到日本人在平日的防災演習的成果,沉穏以對,自我約束的社會力量。相比較之下,海地大地震後的社會混亂。相信日本很快的能從震災後迅速地重建起來。日本的防災演習深入民心的程度,可以從各類的電影、卡通以及漫畫中看到。同位於環太平洋地震帶的台灣,也能從這次經驗中,提升自我的防災能力。<br />
最後,祈求日本平安。<br />
<br />
日本の平安を祈ります大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-29361540433904138972011-01-02T11:54:00.000+08:002011-02-25T20:52:26.940+08:00如何將Keynote轉換成Flash?2011/1/1初稿;2011/02/25修訂<br />
<br />
將Keynote轉換成Flash,方法自然是很多,再不多花錢買軟體的前提下,至少有2種方法:<br />
一、iWork08法: 使用較早版的Keynote來進行轉換。<br />
<s>二、<a href="http://www.openoffice.org/">Openoffice</a>法:配合<a href="http://www.openoffice.org/">Openoffice</a><a href="http://www.openoffice.org/">.Impress</a>來進行轉換。(不建議此法。)</s><br />
三、<a href="http://www.swftools.org/">swftools法</a>:配合<a href="http://www.swftools.org/">自由軟體swftools</a>來進行轉換。(強烈建議!! 2011/02/25修訂)<br />
<br />
最早的iWork'08版的Keynote,可以將簡報檔案匯出成flash檔案,但是之後版本的iWork,都將這個匯出功能取消,許多Keynote愛用者,少了一種檔案格式可以轉換。在flash普遍被瀏覽器支援的情形之下,將簡報檔輸出影片格式,還是件相當佔頻寬的事情。如果能輸出成flash,則更可以在各種平臺的各種瀏覽器來觀看Keynote製成的簡報檔。<br />
<br />
所以如果手上還有iWork'08的朋友,還是可以使用的。要先將keynote檔案儲存備份為iWork08版,然後再用iWork'08的keynote開啟簡報檔後,進行轉換成flash的動作。但是如果您沒有iWork08或者因為安裝新版的iWork後,無法順利輸出成flash時,您可以參考接下來要介紹的方法。<br />
<br />
如果您只是要找一種單純將keynote幻燈片的圖文轉換成flash的方法,不須要keynote過場效果,不須要幻燈片的構件效果者,適用swtfool法。簡單兩步驟:<br />
<br />
<ol><li>下載安裝swftools:<a href="http://www.swftools.org/">http://www.swftools.org/</a>。</li>
<li>將keynote簡報檔輸出為pdf。</li>
<li>在swftools軟體中,開啟步驟2所產生的pdf檔案。</li>
<li>在swftools軟體中,選單Edit/Option 開啟options設定畫面,點選Viewer分頁,選擇想要的呈現方式。例如選擇Simple Viewer,其他選項採用預設值。這個Simple Viewer可以手動切換前後張投影片。設定好之後,按[OK]關閉options設定畫面。你也可以選擇其他的檢示方法來呈現簡報內容。</li>
<li>在swftools軟體中,選單File/Save SWF/All Pages。開啟進行轉換程序,完成之後會在pdf檔案所在的資料夾產生主檔案相同,但是副檔名為swf的檔案。</li>
<li>建議在上傳至網站前,再以瀏覽器檢查一次。</li>
</ol><div>使用swftools法轉換缺點:</div><div><ul><li>沒有幻燈片的過場效果</li>
<li>沒有幻燈片中的構件進入/離開或動作等效果</li>
<li>沒有幻燈片中的影片以及聲音</li>
<li>需要在Windows環境下進行轉換。</li>
</ul><div><div style="margin-bottom: 0px; margin-left: 0px; margin-right: 0px; margin-top: 0px;">使用swftools法轉換優點:</div><ul><li>轉出的flash檔案當然比用iWork法滙出的檔案小,大約是iWork08法的十分之一。</li>
<li>步驟比Openoffice法簡單許多。</li>
</ul></div></div><br />
<br />
<s>這個方法搭配自由軟體的方法,將keynote轉換成flash,是個不用花錢的方法,在本文稱作Openoffice法。</s><br />
<s><br />
</s><br />
<s>使用Openoffice法轉換缺點:</s><br />
<ul><li><s>沒有幻燈片的過場效果</s></li>
<li><s>沒有幻燈片中的構件進入/離開或動作等效果</s></li>
<li><s>沒有幻燈片中的影片以及聲音</s></li>
<li><s>如果使用Windows來轉換,則字型會取代成Windows才有的字型。 </s></li>
<li><s>Openoffice.Impress軟體操作會頓頓的,要有耐心等待每一個動作操作。 </s></li>
</ul><s>使用Openoffice法轉換優點:</s><br />
<ul><li><s>轉出的flash檔案當然比用iWork法滙出的檔案小,大約是iWork法的十分之一。</s></li>
</ul><s>基本配備:</s><br />
<ul><li><s>具有iWork的Mac電腦</s></li>
<li><s>安裝<a href="http://www.openoffice.org/">Openoffice.org</a>,無論是Mac版或是Windows版都可<br />
(但Windows版<a href="http://www.openoffice.org/">Openoffice</a>似乎較能順利地將檔案轉換)</s></li>
</ul><s>步驟:</s><br />
<ol><li><s>先將Keynote簡報檔另存新檔,例如:在原檔名後再加上字尾tmp。</s></li>
<li><s>只留下要轉換的幻燈片,過多的幻燈片只會在接下來的步驟增加電腦的處理時間。</s></li>
<li><s>在Keynote上,將簡報檔內的所有物件的動畫取消。特別是移動類型的特效,否則在轉換成ppt格式時,位置會跑掉。 </s></li>
<li><s>將Keynote簡報檔,儲存備份為PowerPoint簡報。</s></li>
<li><s>使用Openoffice.Impress來開啟轉換成ppt格式的簡報檔。</s></li>
<li><s>每一張簡報再瀏覽一次,檢查並且調整字型、字體,各個圖文物件的位置。</s></li>
<li><s>再進行轉換之前,建議再將簡報檔另存新檔為ODF格式(副檔名為odp,Openoffice檔案格式)。</s></li>
<li><s>有裁切過的圖片,建議重新使用繪圖軟體裁切至您要的大小後再貼回幻燈片中。</s></li>
<li><s>使用Openoffice.Impress,檔案→滙出→檔案格式選為swf。</s></li>
<li><s>以瀏覽器檢示輸出的swf檔案。只能下一張下一張進行,不能倒轉。播放完畢後,會自動從頭再開始。檢示每一張幻燈片是否符合您要的結果。</s></li>
<li><s>反覆操作 步驟6~步驟10,直到每一張幻燈片都大致符合您要的結果。</s></li>
</ol>大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-33674551032481786122010-10-03T22:36:00.000+08:002010-11-24T23:36:34.080+08:00家庭作業終於完成!今年夏天家裡整修,頂樓的防水要再加強。由於原本地面的PU尚且完整,因此想買材料自己DIY。看了一些水性的防水材料後,發現有一種新開發的材料﹣ <a href="http://www.techome.com.tw/prod.php?g_no=LT-160L-G" target="_blank"> <span class="font3"><span style="color: blue;">樂塗DIY防水塗料 (16公斤/桶裝) </span></span></a>。為什麼選擇這種材料呢?<br />
<ol><li>它是環保材質:使用<span class="font2">水庫淤泥改質技術製作。</span></li>
<li>它是淤泥的顏色:灰色。它不是綠色的,常見的深綠色PU,在大太陽底下會吸熱。</li>
<li>它是微米級材料,防水透氣。 </li>
<li>它是水性的,以DIY來說,水性比較不用動要到更多複雜的工具。 </li>
</ol>前後總共用了4桶,才將地面、牆面全面塗上兩遍。包含其他地方小面積的防水施作,地面、牆面合計面積大約40坪。經過幾次的施作,總算是全部完成。或許有人會問,為什麼不花錢請人來做?因為全部頂樓區域施作,再加上有許多的小角落,而且有些重點區塊,施作了四次。這些要求,有些施工團隊可能無法達成,或者費用相當昂貴。這些都不是重點,重點是,這是我在這個夏天給自己的一項挑戰:要為家留下一些自己打拚的成果。<br />
<br />
以下紀錄本次施作的心得: <br />
<ol><li>由於分成多次施作的原因,雖然是使用相同的材料,沒有加水稀釋,但仍然呈現不同顏色的區塊。如果能整個一起同時施作,可以避免這情形。這個經驗可以給想要DIY大面積的朋友們一個很重要的要領。</li>
<li>如果牆面先以補土或是 <a href="http://www.techome.com.tw/prod.php?g_no=LS-200L-C" target="_blank"> <span class="font3"><span style="color: blue;">樂繕超薄抹面砂漿</span></span></a>將牆面補平,可以加快滾筒刷的施作效率。<a href="http://www.techome.com.tw/prod.php?g_no=LS-200L-C" target="_blank"> </a> </li>
<li>使用漆作用的滾筒刷+長柄,可以加快大範圍平面的施作速度。以滾筒刷施作時,先吸飽塗料,放在地面上滾動。不要用力施壓,直接滾動即可。因為如果施壓的話,起初會擠出很多的塗料,但等到滾筒刷塗料變少,或是施壓不足時,反而會將塗料倒吸回到滾筒刷。以這種方面可以將塗料塗厚塗均勻而且省力!牆面的施作用是以相同的方法來處理。</li>
<li>如果牆面也要施作的話,建議先由牆面開始。塗料桶要放在牆邊。如果有滴在地面的塗料,等每一段牆面塗好之後,再沿著牆角以滾筒刷抹過一次。好了之後再移動塗料桶到下一段牆面。</li>
<li>牆的頂面施作時,請留意風向。如果風向是朝外時,要先確認滴到外面的塗料不會造成地面人車或建物的污損。如果沒有把握的話,牆的頂面會建議沿著邊緣以油漆刷少量地施作。 </li>
<li>滾筒刷吸飽塗料離開桶子時,會滴下塗料。這個問題可以搭配施作的順序來解決。由離門最遠的區域開始施作,漸漸往門的方面倒著塗。滴在地面的塗料因此是在即將施面的地面上,隨後塗到時,自然會被新的塗料抹平,不留下痕跡。</li>
<li>零星不平整的區域,以油漆刷施作較為容易。</li>
<li>如果分次施作時,塗料滴到已經完成的區塊,要立即以水清洗或擦拭掉,以免留以滴痕。 </li>
</ol>地面是最早施作完成,牆面是最後才完成的。所以地面已經開始累積砂塵。順帶一提,地面塗好之後,隔天就發現幾隻馬陸沿著排水孔到頂樓來散步。<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_lrmN-2eQaTA/TKiOFckJqWI/AAAAAAAAKNM/mIi4uwtKL5c/s1600/R0051602.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://3.bp.blogspot.com/_lrmN-2eQaTA/TKiOFckJqWI/AAAAAAAAKNM/mIi4uwtKL5c/s320/R0051602.JPG" width="320" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://1.bp.blogspot.com/_lrmN-2eQaTA/TKiOG-gomBI/AAAAAAAAKNQ/LUuSCuHnL5o/s1600/R0051603.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://1.bp.blogspot.com/_lrmN-2eQaTA/TKiOG-gomBI/AAAAAAAAKNQ/LUuSCuHnL5o/s320/R0051603.JPG" width="320" /></a></div><br />
<div class="separator" style="clear: both; text-align: center;"></div><div class="separator" style="clear: both; text-align: center;"><a href="http://4.bp.blogspot.com/_lrmN-2eQaTA/TKiOIOM-UDI/AAAAAAAAKNU/PUZh_xcXDjA/s1600/R0051604.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" height="240" src="http://4.bp.blogspot.com/_lrmN-2eQaTA/TKiOIOM-UDI/AAAAAAAAKNU/PUZh_xcXDjA/s320/R0051604.JPG" width="320" /></a></div>大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0tag:blogger.com,1999:blog-8120750230085733724.post-33971476137986026202010-08-13T21:20:00.000+08:002010-08-13T22:46:40.921+08:0020100812英仙座流星雨追逐記看了很多顆很亮的流星,但是拍到的沒幾張,看來看去只有這一張最精彩的是這一張。<br />
<br />
<div class="separator" style="clear: both; text-align: center;"><a href="http://3.bp.blogspot.com/_lrmN-2eQaTA/TGVEtm6tr1I/AAAAAAAAKMU/nhiW8YlpUgM/s1600/5D2_IMG_1598.JPG" imageanchor="1" style="margin-left: 1em; margin-right: 1em;"><img border="0" src="http://3.bp.blogspot.com/_lrmN-2eQaTA/TGVEtm6tr1I/AAAAAAAAKMU/nhiW8YlpUgM/s320/5D2_IMG_1598.JPG" /></a></div><div style="text-align: center;">2010/08/12 <strike>22:53:31</strike> <span style="color: #fff2cc;">22:54:13.4</span> 流星劃過人馬座及南冕座,固定相機曝光8秒。<br />
<br />
<div style="text-align: left;">鹿林山天文台的全天魚眼監視器,<a href="http://140.115.33.61/lulinnews/files/100812_skycam.jpg">與我拍到同一顆流星</a>,但是我居然忘記校正這台相機的時間。<br />
<br />
<div style="color: #fff2cc;">寫完這句話後,馬上再到學校,把數位相機拿出來與NTPClock一起校對時刻。以錄影比對分的變化,推算時刻差,相機在拍攝當時的時刻與標準時刻慢42.4秒。確認我拍到的這顆流星與鹿林山天文台所拍到的是同一顆。</div><div style="color: #fff2cc;"><br />
</div><div style="color: #fff2cc;">呼...好累,但可以讓我今晚好眠了...</div></div></div>大凡化宇宙http://www.blogger.com/profile/04879488540139779004noreply@blogger.com0