<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
><channel><title>Gea-Suan Lin&#039;s BLOG</title> <atom:link href="http://blog.gslin.org/feed/" rel="self" type="application/rss+xml" /><link>http://blog.gslin.org</link> <description>幹壞事是進步最大的原動力</description> <lastBuildDate>Tue, 15 May 2012 04:45:59 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.2</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/><cloud
domain='blog.gslin.org' port='80' path='/?rsscloud=notify' registerProcedure='' protocol='http-post' /> <item><title>AWS CloudFront 增加的功能</title><link>http://blog.gslin.org/archives/2012/05/15/2870/aws-cloudfront-%e5%a2%9e%e5%8a%a0%e7%9a%84%e5%8a%9f%e8%83%bd/</link> <comments>http://blog.gslin.org/archives/2012/05/15/2870/aws-cloudfront-%e5%a2%9e%e5%8a%a0%e7%9a%84%e5%8a%9f%e8%83%bd/#comments</comments> <pubDate>Tue, 15 May 2012 03:50:46 +0000</pubDate> <dc:creator>Gea-Suan Lin</dc:creator> <category><![CDATA[AWS]]></category> <category><![CDATA[CDN]]></category> <category><![CDATA[Cloud]]></category> <category><![CDATA[Computer]]></category> <category><![CDATA[Murmuring]]></category> <category><![CDATA[Network]]></category> <category><![CDATA[WWW]]></category> <category><![CDATA[aws]]></category> <category><![CDATA[cdn]]></category> <category><![CDATA[cloudfront]]></category><guid
isPermaLink="false">http://blog.gslin.org/?p=2870</guid> <description><![CDATA[引用 CTO Werner Vogels 寫的「Dynamic Content Support in Amazon CloudFront」這篇好了，雖然沒有講完整，但把重點都提到了，而且比官方網誌「Amazon CloudFront &#8211; Support for Dynamic Content」這篇清楚&#8230; 這次 AWS CloudFront 上的功能都可以在 AWS Management Console 上設定，不需要另外安裝 3rd party 軟體或是自己寫程式呼叫 API。 這次最主要的更新在支援 query string。在之前的版本，這兩個 url 會被 CloudFront 當作是同樣的 url 而被 cache 成同一份： http://www.example.com/user.php?username=gslin &#8230; <a
href="http://blog.gslin.org/archives/2012/05/15/2870/aws-cloudfront-%e5%a2%9e%e5%8a%a0%e7%9a%84%e5%8a%9f%e8%83%bd/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>引用 CTO Werner Vogels 寫的「<a
href="http://www.allthingsdistributed.com/2012/05/cloudfront-dynamic-content-support.html">Dynamic Content Support in Amazon CloudFront</a>」這篇好了，雖然沒有講完整，但把重點都提到了，而且比官方網誌「<a
href="http://aws.typepad.com/aws/2012/05/amazon-cloudfront-support-for-dynamic-content.html">Amazon CloudFront &#8211; Support for Dynamic Content</a>」這篇清楚&#8230;</p><p>這次 <a
href="http://aws.amazon.com/cloudfront/">AWS CloudFront</a> 上的功能都可以在 AWS Management Console 上設定，不需要另外安裝 3rd party 軟體或是自己寫程式呼叫 API。</p><p>這次最主要的更新在支援 query string。在之前的版本，這兩個 url 會被 CloudFront 當作是同樣的 url 而被 cache 成同一份：</p><ul><li><code>http://www.example.com/user.php?username=gslin</code></li><li><code>http://www.example.com/user.php?username=gslin2</code></li></ul><p>而這次可以設定是否要將 query string 納入計算。</p><p>另外一個重要的設計是支援 <code>Cache-Control</code> 與 <code>Expires</code>，當 <code>Cache-Control</code> 給出 <code>no-cache</code> 的時候，新版的 CloudFront 可以依照 <code>Cache-Control</code> 的要求處理。</p><p>有了這兩個改善後，本來需要在 server workaround 的事情就可以交還給 CloudFront 處理。之後應該是試著支援像 <a
href="http://www.akamai.com/">Akamai</a> 的 <a
href="http://www.akamai.com/html/solutions/dynamic_site_accelerator.html">Dynamic Site Accelerator</a> 的功能？另外一方面也有可能讓消費者自己選擇 PoP？</p><p>功能愈來愈完整了&#8230;</p> ]]></content:encoded> <wfw:commentRss>http://blog.gslin.org/archives/2012/05/15/2870/aws-cloudfront-%e5%a2%9e%e5%8a%a0%e7%9a%84%e5%8a%9f%e8%83%bd/feed/</wfw:commentRss> <slash:comments>1</slash:comments> </item> <item><title>把大量的 MyISAM table 換成 InnoDB</title><link>http://blog.gslin.org/archives/2012/04/22/2869/%e6%8a%8a%e5%a4%a7%e9%87%8f%e7%9a%84-myisam-table-%e6%8f%9b%e6%88%90-innodb/</link> <comments>http://blog.gslin.org/archives/2012/04/22/2869/%e6%8a%8a%e5%a4%a7%e9%87%8f%e7%9a%84-myisam-table-%e6%8f%9b%e6%88%90-innodb/#comments</comments> <pubDate>Sun, 22 Apr 2012 06:53:55 +0000</pubDate> <dc:creator>Gea-Suan Lin</dc:creator> <category><![CDATA[Blog]]></category> <category><![CDATA[Computer]]></category> <category><![CDATA[Database]]></category> <category><![CDATA[Murmuring]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[Network]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[innodb]]></category> <category><![CDATA[maatkit]]></category> <category><![CDATA[myisam]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[percona]]></category> <category><![CDATA[toolkit]]></category><guid
isPermaLink="false">http://blog.gslin.org/?p=2869</guid> <description><![CDATA[把主機的 MySQL 從 5.1 升級到 5.5 後，想把主機上的 MyISAM table 都換成 InnoDB。 基本上是參考「Quick tip: how to convert tables to InnoDB」這篇提到的工具以及說明。 文章裡所提到的 mk-find 是 2008 年的時候的名稱，當時這隻工具是在 Maatkit 裡面，而 2012 年則已經併入 Percona Toolkit，所以文章裡本來是 mk-find 的地方要改成 pt-find。 另外我不想嘗試把 mysql.* 改成 InnoDB (我不知道會不會爆炸)，所以我的做法是只用 --print，然後丟到 vim &#8230; <a
href="http://blog.gslin.org/archives/2012/04/22/2869/%e6%8a%8a%e5%a4%a7%e9%87%8f%e7%9a%84-myisam-table-%e6%8f%9b%e6%88%90-innodb/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>把主機的 <a
href="http://dev.mysql.com/">MySQL</a> 從 5.1 升級到 5.5 後，想把主機上的 MyISAM table 都換成 <a
href="http://www.innodb.com/">InnoDB</a>。</p><p>基本上是參考「<a
href="http://www.mysqlperformanceblog.com/2008/07/30/quick-tip-how-to-convert-tables-to-innodb/">Quick tip: how to convert tables to InnoDB</a>」這篇提到的工具以及說明。</p><p>文章裡所提到的 <code>mk-find</code> 是 2008 年的時候的名稱，當時這隻工具是在 <a
href="http://www.maatkit.org/">Maatkit</a> 裡面，而 2012 年則已經併入 <a
href="http://www.percona.com/software/percona-toolkit/">Percona Toolkit</a>，所以文章裡本來是 <code>mk-find</code> 的地方要改成 <code>pt-find</code>。</p><p>另外我不想嘗試把 <code>mysql.*</code> 改成 InnoDB (我不知道會不會爆炸)，所以我的做法是只用 <code>--print</code>，然後丟到 <a
href="http://www.vim.org/">vim</a> 裡面加上 <code>ALTER TABLE</code> 以及 <code>ENGINE=InnoDB ROW_FORMAT=COMPRESSED;</code>。</p><p><code>pt-find</code> 這個指令看起來可以用在很多地方，之後應該會有不少用到的機會&#8230;</p> ]]></content:encoded> <wfw:commentRss>http://blog.gslin.org/archives/2012/04/22/2869/%e6%8a%8a%e5%a4%a7%e9%87%8f%e7%9a%84-myisam-table-%e6%8f%9b%e6%88%90-innodb/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>用 Unbound 跑處理 DNS Round Robin 服務的問題&#8230;</title><link>http://blog.gslin.org/archives/2012/04/20/2867/%e7%94%a8-unbound-%e8%b7%91%e8%99%95%e7%90%86-dns-round-robin-%e6%9c%8d%e5%8b%99%e7%9a%84%e5%95%8f%e9%a1%8c/</link> <comments>http://blog.gslin.org/archives/2012/04/20/2867/%e7%94%a8-unbound-%e8%b7%91%e8%99%95%e7%90%86-dns-round-robin-%e6%9c%8d%e5%8b%99%e7%9a%84%e5%95%8f%e9%a1%8c/#comments</comments> <pubDate>Fri, 20 Apr 2012 08:01:51 +0000</pubDate> <dc:creator>Gea-Suan Lin</dc:creator> <category><![CDATA[Computer]]></category> <category><![CDATA[DNS]]></category> <category><![CDATA[Murmuring]]></category> <category><![CDATA[Network]]></category> <category><![CDATA[dns]]></category> <category><![CDATA[patch]]></category> <category><![CDATA[random]]></category> <category><![CDATA[robin]]></category> <category><![CDATA[round]]></category> <category><![CDATA[unbound]]></category><guid
isPermaLink="false">http://blog.gslin.org/?p=2867</guid> <description><![CDATA[環境是內部有兩台互相做 HA 的 server (用 Heartbeat 或是用 CARP)，然後給一個內部用的 domain 指到兩個 IP address，於是發現不太平均：「Unbound 回傳 RR Set 的順序問題」。 2010 年的時候就有人提過要這個功能，然後被打槍：「[Unbound-users] Round Robin DNS」，最主要的理由是「這應該是 client 要做的事情」。 2012 年三月有人決定自己來：「[Unbound-users] patch implementing round robin rrsets」，patch 本身蠻簡單的 (不過看起來不能保證 thread-safe)，另外也有一些 RFC 隱性希望 DNS resolver 可以處理 round robin &#8230; <a
href="http://blog.gslin.org/archives/2012/04/20/2867/%e7%94%a8-unbound-%e8%b7%91%e8%99%95%e7%90%86-dns-round-robin-%e6%9c%8d%e5%8b%99%e7%9a%84%e5%95%8f%e9%a1%8c/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>環境是內部有兩台互相做 HA 的 server (用 <a
href="http://linux-ha.org/wiki/Heartbeat">Heartbeat</a> 或是用 <a
href="https://en.wikipedia.org/wiki/Common_Address_Redundancy_Protocol">CARP</a>)，然後給一個內部用的 domain 指到兩個 IP address，於是發現不太平均：「<a
href="http://jnlin.org/2012/02/02/519/">Unbound 回傳 RR Set 的順序問題</a>」。</p><p>2010 年的時候就有人提過要這個功能，然後被打槍：「<a
href="http://unbound.net/pipermail/unbound-users/2010-March/001077.html">[Unbound-users] Round Robin DNS</a>」，最主要的理由是「這應該是 client 要做的事情」。</p><p>2012 年三月有人決定自己來：「<a
href="http://www.unbound.net/pipermail/unbound-users/2012-March/002271.html">[Unbound-users] patch implementing round robin rrsets</a>」，patch 本身蠻簡單的 (不過看起來不能保證 thread-safe)，另外也有一些 RFC 隱性希望 DNS resolver 可以處理 round robin 的事情。</p><p>四月的時候有人把 patch 修過，解決了 thread-safe 問題：「<a
href="http://unbound.net/pipermail/unbound-users/2012-April/002324.html">[Unbound-users] patch: rrset-roundrobin/minimal-responses</a>」。</p><p>看起來之後的版本有機會內建了&#8230;</p> ]]></content:encoded> <wfw:commentRss>http://blog.gslin.org/archives/2012/04/20/2867/%e7%94%a8-unbound-%e8%b7%91%e8%99%95%e7%90%86-dns-round-robin-%e6%9c%8d%e5%8b%99%e7%9a%84%e5%95%8f%e9%a1%8c/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Hosting Plan</title><link>http://blog.gslin.org/archives/2012/04/19/2865/hosting-plan/</link> <comments>http://blog.gslin.org/archives/2012/04/19/2865/hosting-plan/#comments</comments> <pubDate>Thu, 19 Apr 2012 05:31:23 +0000</pubDate> <dc:creator>Gea-Suan Lin</dc:creator> <category><![CDATA[AWS]]></category> <category><![CDATA[CDN]]></category> <category><![CDATA[Cloud]]></category> <category><![CDATA[Computer]]></category> <category><![CDATA[Murmuring]]></category> <category><![CDATA[Network]]></category> <category><![CDATA[aws]]></category> <category><![CDATA[cdn]]></category> <category><![CDATA[cht]]></category> <category><![CDATA[cloudfront]]></category> <category><![CDATA[dedicated]]></category> <category><![CDATA[egihosting]]></category> <category><![CDATA[he]]></category> <category><![CDATA[hicloud]]></category> <category><![CDATA[hinet]]></category> <category><![CDATA[hosting]]></category> <category><![CDATA[limestonenetworks]]></category> <category><![CDATA[nlayer]]></category> <category><![CDATA[plan]]></category> <category><![CDATA[vps]]></category><guid
isPermaLink="false">http://blog.gslin.org/?p=2865</guid> <description><![CDATA[2009 年在 Ptt 寫的文章有提到不少 hosting plan，2012 年現在有不少變化&#8230; VPS 的部份，Linode 的 CPU 一向是 C/P 值超漂亮的方案。最小的方案從 384MB RAM 變成 512MB RAM (價錢沒變，仍然約 USD$20/month)，在有 swap 的情況下，即使跑 Apache 與 MySQL 也應該還算堪用。 Linode 另外一個改變是多了東京機房。東京機房與台灣各 ISP 之間的 latency 都相當好。當以台灣使用者為主要族群而挑選 VPS 時，在東京的 Linode 主機通常是個好選擇。如果在 Linode 上面有 High &#8230; <a
href="http://blog.gslin.org/archives/2012/04/19/2865/hosting-plan/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p><a
href="http://www.ptt.cc/bbs/i-enterprise/M.1235936734.A.3A1.html">2009 年在 Ptt 寫的文章</a>有提到不少 hosting plan，2012 年現在有不少變化&#8230;</p><p><img
src="http://i.imgur.com/arN7a.png" alt="" /></p><p>VPS 的部份，<a
href="http://www.linode.com/">Linode</a> 的 CPU 一向是 C/P 值超漂亮的方案。最小的方案從 384MB RAM 變成 512MB RAM (價錢沒變，仍然約 USD$20/month)，在有 swap 的情況下，即使跑 <a
href="http://httpd.apache.org/">Apache</a> 與 <a
href="http://dev.mysql.com/">MySQL</a> 也應該還算堪用。</p><p>Linode 另外一個改變是多了東京機房。東京機房與台灣各 ISP 之間的 latency 都相當好。當以台灣使用者為主要族群而挑選 VPS 時，在東京的 Linode 主機通常是個好選擇。如果在 Linode 上面有 High Availability 需求，也有 <a
href="http://www.linode.com/nodebalancers/">NodeBalancer</a> 可以用 (2011 年，<a
href="http://blog.linode.com/2011/07/13/introducing-nodebalancer/">Introducing NodeBalancer</a>)。</p><p><img
src="http://i.imgur.com/HTuHh.jpg" alt="" /></p><p>Linode 已經算是不錯的方案，但如果你對 latency 非常重視 (日本與台灣之間大約有 30ms 的 latency) 而一定要使用台灣內部的 VPS (像是遊戲的伺服器)，那麼中華的 <a
href="http://hicloud.hinet.net/">HiCloud</a> 會是一個可以考慮的方案。</p><p><img
src="https://nav.heroku.com/images/logos/logo.png" alt="" /></p><p>PaaS 的部份，目前比較有名的是 <a
href="http://www.heroku.com/">Heroku</a>，支援的語言多，而且有 free quota，對於一些小站台或是測試應用應該是沒什麼問題，不過目前只有美東 us-east-1 機房 (Heroku 用 <a
href="http://aws.amazon.com/">AWS</a> 為底層)。另外 <a
href="http://aws.amazon.com/elasticbeanstalk/">AWS Elastic Beanstalk</a> 的方案也可以看看，目前支援 <a
href="http://www.java.com/">Java</a> 與 <a
href="http://www.php.net/">PHP</a> 兩種語言，區域比較多。</p><p><img
src="http://i.imgur.com/BdbOH.png" alt="" /></p><p>如果是 IaaS 的部份，AWS 能提供的功能比較多，AWS 東京機房對台灣的速度也不差。另外 <a
href="http://aws.amazon.com/s3/">AWS S3</a> 在雲端靜態儲存這個領域還是領先者，就算用 VPS 或是 Dedicated Hosting 也還是可以考慮把一些東西放到 S3 上。</p><p><img
src="http://i.imgur.com/NcIhq.png" alt="" /></p><p><img
src="http://i.imgur.com/QJ7HI.png" alt="" /></p><p>Dedicated Hosting 的部份，目前還會選的是美西的 <a
href="http://www.egihosting.com/">Energy Group Networks</a> (EGIHosting) 以及 <a
href="http://www.limestonenetworks.com/">Limestone Networks</a>。需要大頻寬的時候可以到 <a
href="http://www.egihosting.com/dedicatedservers.aspx">Dedicated Servers</a> 這頁翻翻，或是寫信跟 EGIHosting 要 quote，當你 commit 1Gbps 含機器的價錢大約是 USD$1/Mbps (台幣 NTD$30/Mbps)，連台灣的頻寬應該是透過 <a
href="http://he.net/">HE</a> 或是 <a
href="http://www.nlayer.net/">nLayer</a> 連進來。</p><p>至於 CDN 服務，我的建議是，如果你不知道哪個比較好，就不要用吧&#8230; 等到你開始 profiling &amp; analyze 後再回頭決定。</p> ]]></content:encoded> <wfw:commentRss>http://blog.gslin.org/archives/2012/04/19/2865/hosting-plan/feed/</wfw:commentRss> <slash:comments>2</slash:comments> </item> <item><title>英國政府所建議的「數位服務設計原則」</title><link>http://blog.gslin.org/archives/2012/04/09/2862/%e8%8b%b1%e5%9c%8b%e6%94%bf%e5%ba%9c%e6%89%80%e5%bb%ba%e8%ad%b0%e7%9a%84%e3%80%8c%e6%95%b8%e4%bd%8d%e6%9c%8d%e5%8b%99%e8%a8%ad%e8%a8%88%e5%8e%9f%e5%89%87%e3%80%8d/</link> <comments>http://blog.gslin.org/archives/2012/04/09/2862/%e8%8b%b1%e5%9c%8b%e6%94%bf%e5%ba%9c%e6%89%80%e5%bb%ba%e8%ad%b0%e7%9a%84%e3%80%8c%e6%95%b8%e4%bd%8d%e6%9c%8d%e5%8b%99%e8%a8%ad%e8%a8%88%e5%8e%9f%e5%89%87%e3%80%8d/#comments</comments> <pubDate>Mon, 09 Apr 2012 01:24:14 +0000</pubDate> <dc:creator>Gea-Suan Lin</dc:creator> <category><![CDATA[Computer]]></category> <category><![CDATA[Murmuring]]></category> <category><![CDATA[Network]]></category> <category><![CDATA[Political]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[WWW]]></category> <category><![CDATA[design]]></category> <category><![CDATA[gov]]></category> <category><![CDATA[government]]></category> <category><![CDATA[principle]]></category> <category><![CDATA[uk]]></category><guid
isPermaLink="false">http://blog.gslin.org/?p=2862</guid> <description><![CDATA[在 Hacker News 的摘要上看到的，對於政府提供數位服務，英國政府嘗試訂出設計原則 (雖然目前這份文件還是 alpha 版本)：「Government Digital Service Design Principles」。 這份原則是延伸自原來的七大守則： 其中有幾點相當棒： 第二條的「Do less」，如果有人已經做了類似的事情，就直接連出去，不要做重複的事情 (If someone else is doing it — link to it)，政府只需要提供其他人無法提供的資訊 (We should concentrate on the irreducible core)。如果能夠提供 API 之類的介面幫助其他服務做的更好，就提供出去讓其他人再利用 (If we can provide resources (like &#8230; <a
href="http://blog.gslin.org/archives/2012/04/09/2862/%e8%8b%b1%e5%9c%8b%e6%94%bf%e5%ba%9c%e6%89%80%e5%bb%ba%e8%ad%b0%e7%9a%84%e3%80%8c%e6%95%b8%e4%bd%8d%e6%9c%8d%e5%8b%99%e8%a8%ad%e8%a8%88%e5%8e%9f%e5%89%87%e3%80%8d/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>在 Hacker News 的摘要上看到的，對於政府提供數位服務，英國政府嘗試訂出設計原則 (雖然目前這份文件還是 alpha 版本)：「<a
href="https://www.gov.uk/designprinciples">Government Digital Service Design Principles</a>」。</p><p>這份原則是延伸自原來的七大守則：</p><p><a
href="http://www.flickr.com/photos/benterrett/7041509709/"><img
src="http://farm8.staticflickr.com/7267/7041509709_78bb7d6777_b.jpg" alt="" /></a></p><p>其中有幾點相當棒：</p><ul><li>第二條的「Do less」，如果有人已經做了類似的事情，就直接連出去，不要做重複的事情 (If someone else is doing it — link to it)，政府只需要提供其他人無法提供的資訊 (We should concentrate on the irreducible core)。如果能夠提供 API 之類的介面幫助其他服務做的更好，就提供出去讓其他人再利用 (If we can provide resources (like APIs) that will help other people build things — do that.)。</li><li>第四條的「Do the hard work to make it simple」直接提到，使用者會用政府的服務是因為沒有替代方案：如果不努力讓服務簡單易用，就是在浪費使用者的時間。(With great power comes great responsibility — very often people have no choice but to use our services. If we don’t work hard to make them simple and usable we’re abusing that power, and wasting people’s time.)</li><li>第五條的「Iterate. Then iterate again.」，考慮風險，如果一次到位的風險太高，邊打邊跑推出服務：從 alpha 階段進入 beta 階段，再從 beta 階段趨近於成熟，每個階段去看實際的反應，而不是一開始就畫一張大餅猜測使用者需要什麼。</li><li>第八條的「Build digital services, not websites」與第十條的「Make things open: it makes things better」，標題就說明得很清楚了。</li></ul><p>即使是一般商業產品的設計也是通用的原則&#8230;</p> ]]></content:encoded> <wfw:commentRss>http://blog.gslin.org/archives/2012/04/09/2862/%e8%8b%b1%e5%9c%8b%e6%94%bf%e5%ba%9c%e6%89%80%e5%bb%ba%e8%ad%b0%e7%9a%84%e3%80%8c%e6%95%b8%e4%bd%8d%e6%9c%8d%e5%8b%99%e8%a8%ad%e8%a8%88%e5%8e%9f%e5%89%87%e3%80%8d/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>AWS USD$50 的優惠&#8230;</title><link>http://blog.gslin.org/archives/2012/04/09/2861/aws-usd50-%e7%9a%84%e5%84%aa%e6%83%a0/</link> <comments>http://blog.gslin.org/archives/2012/04/09/2861/aws-usd50-%e7%9a%84%e5%84%aa%e6%83%a0/#comments</comments> <pubDate>Sun, 08 Apr 2012 17:52:43 +0000</pubDate> <dc:creator>Gea-Suan Lin</dc:creator> <category><![CDATA[AWS]]></category> <category><![CDATA[Cloud]]></category> <category><![CDATA[Computer]]></category> <category><![CDATA[FreeBSD]]></category> <category><![CDATA[Murmuring]]></category> <category><![CDATA[Network]]></category> <category><![CDATA[OS]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[aws]]></category> <category><![CDATA[ec2]]></category> <category><![CDATA[freebsd]]></category><guid
isPermaLink="false">http://blog.gslin.org/?p=2861</guid> <description><![CDATA[從 Colin Percival 的 Twitter 上看到的： Looks like Amazon Web Services is giving away $50 credits which can be used for running FreeBSD on EC2: http://aws.amazon.com/solutions/global-solution-providers/microsoft/aprilcredit/ 活動的網址在「$50 AWS Service Credit for Microsoft Windows Server Instances Running on Amazon EC2」這裡。照說明是用在 AWS &#8230; <a
href="http://blog.gslin.org/archives/2012/04/09/2861/aws-usd50-%e7%9a%84%e5%84%aa%e6%83%a0/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>從 <a
href="http://www.daemonology.net/">Colin Percival</a> 的 <a
href="https://twitter.com/">Twitter</a> 上看到的：</p><blockquote><p><a
href="https://twitter.com/cperciva/status/189006148328890369">Looks like Amazon Web Services is giving away $50 credits which can be used for running FreeBSD on EC2: http://aws.amazon.com/solutions/global-solution-providers/microsoft/aprilcredit/</a></p></blockquote><p>活動的網址在「<a
href="http://aws.amazon.com/solutions/global-solution-providers/microsoft/aprilcredit/">$50 AWS Service Credit for Microsoft Windows Server Instances Running on Amazon EC2</a>」這裡。照說明是用在 <a
href="http://aws.amazon.com/ec2/">AWS EC2</a> 的 Microsoft Windows Server 上，不過把 code 輸入進去後寫了一堆 product：</p><p><img
src="http://i.imgur.com/YyGEu.png" alt="" /></p><p>有打算用 <a
href="http://www.freebsd.org/">FreeBSD</a> 的人應該是不會有問題 (參考「<a
href="http://www.daemonology.net/freebsd-on-ec2/">FreeBSD on EC2</a>」這個頁面的說明)，其他的服務不知道會不會也能用到，下個月就知道了 XD</p> ]]></content:encoded> <wfw:commentRss>http://blog.gslin.org/archives/2012/04/09/2861/aws-usd50-%e7%9a%84%e5%84%aa%e6%83%a0/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>用 Google Analytics 紀錄 JavaScript 錯誤&#8230;</title><link>http://blog.gslin.org/archives/2012/04/07/2860/%e7%94%a8-google-analytics-%e7%b4%80%e9%8c%84-javascript-%e9%8c%af%e8%aa%a4/</link> <comments>http://blog.gslin.org/archives/2012/04/07/2860/%e7%94%a8-google-analytics-%e7%b4%80%e9%8c%84-javascript-%e9%8c%af%e8%aa%a4/#comments</comments> <pubDate>Sat, 07 Apr 2012 00:45:06 +0000</pubDate> <dc:creator>Gea-Suan Lin</dc:creator> <category><![CDATA[Computer]]></category> <category><![CDATA[Murmuring]]></category> <category><![CDATA[Network]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[WWW]]></category> <category><![CDATA[analytics]]></category> <category><![CDATA[error]]></category> <category><![CDATA[google]]></category> <category><![CDATA[javascript]]></category><guid
isPermaLink="false">http://blog.gslin.org/?p=2860</guid> <description><![CDATA[「Client-Side Error Logging With Google Analytics」這篇提到可以用 Google Analytics 紀錄 JavaScript 錯誤&#8230; 不過這不是即時的紀錄，倒是作者有提到可以交叉比對，當發生 JavaScript 錯誤對於其他參數的影響： Track the impact of client-side errors on other business metrics. With the reporting in Google Analytics you can see how these errors are affecting bounce rate, &#8230; <a
href="http://blog.gslin.org/archives/2012/04/07/2860/%e7%94%a8-google-analytics-%e7%b4%80%e9%8c%84-javascript-%e9%8c%af%e8%aa%a4/">Continue reading <span
class="meta-nav">&#8594;</span></a>]]></description> <content:encoded><![CDATA[<p>「<a
href="http://www.thetaboard.com/blog/client-side-error-logging-with-google-analytics?r=378">Client-Side Error Logging With Google Analytics</a>」這篇提到可以用 <a
href="http://www.google.com/analytics/">Google Analytics</a> 紀錄 JavaScript 錯誤&#8230;</p><p>不過這不是即時的紀錄，倒是作者有提到可以交叉比對，當發生 JavaScript 錯誤對於其他參數的影響：</p><blockquote><p>Track the impact of client-side errors on other business metrics. With the reporting in Google Analytics you can see how these errors are affecting bounce rate, conversion and sales.</p></blockquote> ]]></content:encoded> <wfw:commentRss>http://blog.gslin.org/archives/2012/04/07/2860/%e7%94%a8-google-analytics-%e7%b4%80%e9%8c%84-javascript-%e9%8c%af%e8%aa%a4/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>在 Mutt 上看 html 信件&#8230;</title><link>http://blog.gslin.org/archives/2012/04/07/2859/%e5%9c%a8-mutt-%e4%b8%8a%e7%9c%8b-html-%e4%bf%a1%e4%bb%b6/</link> <comments>http://blog.gslin.org/archives/2012/04/07/2859/%e5%9c%a8-mutt-%e4%b8%8a%e7%9c%8b-html-%e4%bf%a1%e4%bb%b6/#comments</comments> <pubDate>Fri, 06 Apr 2012 23:19:09 +0000</pubDate> <dc:creator>Gea-Suan Lin</dc:creator> <category><![CDATA[Computer]]></category> <category><![CDATA[Mail]]></category> <category><![CDATA[Murmuring]]></category> <category><![CDATA[Network]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[html]]></category> <category><![CDATA[mutt]]></category> <category><![CDATA[w3m]]></category><guid
isPermaLink="false">http://blog.gslin.org/?p=2859</guid> <description><![CDATA[花了一些時間設定 mutt，本來在 terminal 上面沒打算看 html 信件，不過後來還是決定設起來，至少可以看到 html 的文字部分再決定要不要轉到 gmail 上面看&#8230; 在 ~/.muttrc 裡面加上： auto_view text/html 另外在 ~/.mailcap 裡面指定用 w3m： text/html;/usr/local/bin/w3m -I %{charset} -T text/html -dump %s; copiousoutput]]></description> <content:encoded><![CDATA[<p>花了一些時間設定 <a
href="http://www.mutt.org/">mutt</a>，本來在 terminal 上面沒打算看 html 信件，不過後來還是決定設起來，至少可以看到 html 的文字部分再決定要不要轉到 gmail 上面看&#8230;</p><p>在 <code>~/.muttrc</code> 裡面加上：</p><blockquote><p><code>auto_view text/html</code></p></blockquote><p>另外在 <code>~/.mailcap</code> 裡面指定用 <a
href="http://w3m.sourceforge.net/">w3m</a>：</p><blockquote><p><code>text/html;/usr/local/bin/w3m -I %{charset} -T text/html -dump %s; copiousoutput</code></p></blockquote> ]]></content:encoded> <wfw:commentRss>http://blog.gslin.org/archives/2012/04/07/2859/%e5%9c%a8-mutt-%e4%b8%8a%e7%9c%8b-html-%e4%bf%a1%e4%bb%b6/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>Percona 把 Galera Cluster 標為 General Availability 了&#8230;</title><link>http://blog.gslin.org/archives/2012/04/06/2858/percona-%e6%8a%8a-galera-cluster-%e6%a8%99%e7%82%ba-general-availability-%e4%ba%86/</link> <comments>http://blog.gslin.org/archives/2012/04/06/2858/percona-%e6%8a%8a-galera-cluster-%e6%a8%99%e7%82%ba-general-availability-%e4%ba%86/#comments</comments> <pubDate>Thu, 05 Apr 2012 17:59:39 +0000</pubDate> <dc:creator>Gea-Suan Lin</dc:creator> <category><![CDATA[Computer]]></category> <category><![CDATA[Database]]></category> <category><![CDATA[Murmuring]]></category> <category><![CDATA[MySQL]]></category> <category><![CDATA[Network]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[availability]]></category> <category><![CDATA[cluster]]></category> <category><![CDATA[galera]]></category> <category><![CDATA[general]]></category> <category><![CDATA[mysql]]></category> <category><![CDATA[percona]]></category> <category><![CDATA[replication]]></category><guid
isPermaLink="false">http://blog.gslin.org/?p=2858</guid> <description><![CDATA[前幾天讓人吃驚的新聞，Galera Cluster 離第一次 Percona alpha 測試 (Percona Server 5.1 with Galera replication) 才九個月就進入 GA 了 (相當於九個月內就過完 Beta + RC 階段)：「Announcement of Percona XtraDB Cluster 5.5.20 GA release」。 大家最大的問題還是「這能用嗎」&#8230; 不過既然進入 GA 狀態，加上是 Percona，好像可以期待？]]></description> <content:encoded><![CDATA[<p>前幾天讓人吃驚的新聞，<a
href="http://codership.com/products/mysql_galera">Galera Cluster</a> 離第一次 Percona alpha 測試 (<a
href="http://www.mysqlperformanceblog.com/2011/07/14/percona-server-5-1-with-galera-replication/">Percona Server 5.1 with Galera replication</a>) 才九個月就進入 GA 了 (相當於九個月內就過完 Beta + RC 階段)：「<a
href="http://www.mysqlperformanceblog.com/2012/04/03/announcement-of-percona-xtradb-cluster-5-5-20-ga-release/">Announcement of Percona XtraDB Cluster 5.5.20 GA release</a>」。</p><p>大家最大的問題還是「這能用嗎」&#8230; 不過既然進入 GA 狀態，加上是 <a
href="http://www.percona.com/">Percona</a>，好像可以期待？</p> ]]></content:encoded> <wfw:commentRss>http://blog.gslin.org/archives/2012/04/06/2858/percona-%e6%8a%8a-galera-cluster-%e6%a8%99%e7%82%ba-general-availability-%e4%ba%86/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> <item><title>在 FreeBSD 上練習 Objective C&#8230;</title><link>http://blog.gslin.org/archives/2012/04/01/2855/%e5%9c%a8-freebsd-%e4%b8%8a%e7%b7%b4%e7%bf%92-objective-c/</link> <comments>http://blog.gslin.org/archives/2012/04/01/2855/%e5%9c%a8-freebsd-%e4%b8%8a%e7%b7%b4%e7%bf%92-objective-c/#comments</comments> <pubDate>Sat, 31 Mar 2012 19:35:57 +0000</pubDate> <dc:creator>Gea-Suan Lin</dc:creator> <category><![CDATA[Computer]]></category> <category><![CDATA[Murmuring]]></category> <category><![CDATA[Programming]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[c]]></category> <category><![CDATA[freebsd]]></category> <category><![CDATA[gnustep]]></category> <category><![CDATA[objective]]></category><guid
isPermaLink="false">http://blog.gslin.org/?p=2855</guid> <description><![CDATA[一樣用 gcc 就可以練習了，首先要先裝 lang/gnustep-base： cd /usr/ports/lang/gnustep-base; sudo make install clean 裝好後 compile 的兩個階段要對 gcc 加上不同的參數： -I/usr/local/GNUstep/System/Library/Headers 以及： -L/usr/local/GNUstep/System/Library/Libraries -lgnustep-base -lobjc 把這些參數整合到 Makefile 裡面就可以練習了。]]></description> <content:encoded><![CDATA[<p>一樣用 gcc 就可以練習了，首先要先裝 lang/gnustep-base：</p><blockquote><p><code>cd /usr/ports/lang/gnustep-base; sudo make install clean</code></p></blockquote><p>裝好後 compile 的兩個階段要對 gcc 加上不同的參數：</p><blockquote><p><code>-I/usr/local/GNUstep/System/Library/Headers</code></p></blockquote><p>以及：</p><blockquote><p><code>-L/usr/local/GNUstep/System/Library/Libraries -lgnustep-base -lobjc</code></p></blockquote><p>把這些參數整合到 Makefile 裡面就可以練習了。</p> ]]></content:encoded> <wfw:commentRss>http://blog.gslin.org/archives/2012/04/01/2855/%e5%9c%a8-freebsd-%e4%b8%8a%e7%b7%b4%e7%bf%92-objective-c/feed/</wfw:commentRss> <slash:comments>0</slash:comments> </item> </channel> </rss>
<!-- Performance optimized by W3 Total Cache. Learn more: http://www.w3-edge.com/wordpress-plugins/

Minified using disk: basic
Page Caching using disk: enhanced

Served from: blog.gslin.org @ 2012-05-18 07:23:30 -->
