Fleeting Years Fleeting years bright the life. // 流光溢彩,年华转逝。 http://www.fyears.org preferring Mac OS X <p>At last, I installed Mac OS X Mountain Lion 10.8.3 in my Thinkpad T410, though I thought <a href="../../2012/06/never-use-hackintosh/">never using hackintosh</a> before. I am getting used to OS X and considering transferring all my working flow into OS X now.</p> <p>In my old passage, I prefer avoiding hackintosh because of the sucking hardware driver support, and the difficulty to build up the <strong>prefect</strong> system environment. But the world is developing much faster than that in my opinion, I found some awesome posts about running a prefect OS X on my laptop on [bbs.pcbeta.com], the most advanced hackintosh discussion platform in my country. So I spent a weekend to successfully run smooth Mac system on my PC laptop, with correct <code>*.kext</code> and <code>dsdt</code> etc, although wireless adaptor and SD card reader don&#39;t work and won&#39;t work. Nothing crashes ever. Yes, it&#39;s <strong>prefect</strong> and <strong>stable</strong> enough to work on.</p> <p>So why does OS X attract me?</p> <p><strong>Firstly, it&#39;s beautiful and elegant.</strong> Windows 7 is beautiful too, but I have faced it for a long time, and it&#39;s time for me to appreciate another kind of art. :-) Ubuntu and other Linux distributions always enjoy ugly desktop. I don&#39;t meet hardware issues in Linux, but I am always disappointed about its wired arrangement of windows, strange launch bar and some other stuffs.</p> <p><strong>Secondly, it&#39;s consistent.</strong> I mean the style of applications, and the consistent keyboard shortcuts. Most of the applications keep the similar GUI style. (Maybe because all of them are developed by using <code>Cocoa framework</code>?) What also shocks me is the fact that I can guess a keyboard shortcuts in different applications, because the similar tasks in different applications share the same keyboard shortcuts, which contributes to my productivity and happiness a lot. </p> <p><strong>Lastly, it ensures the productivity.</strong> The consistent keyboard shortcuts, the feature that most applications can enter full screen mode, high quality applications, and the unix-like system...... The combination of these advantages ensures the smoothness of working. I can give up mouse most of the time, with the help of system keyboard shortcuts and <code>quicksilver</code>. And I can concentrate on one thing with full screen mode. Some professional (and beautiful) applications such as Photoshop exist only on Mac or Windows. Some developing tools such as command tools run smoothly only on Mac or Linux. (I don&#39;t play Windows-only programs such as those rely on .NET at present.) So the software environment of OS X take the advantages of Linux and Windows from my point of view though I have to switch to Windows when I&#39;d like to use online bank. What&#39;s more, it surprises me that messages can communicate between GUI applications, which allows me to use some services to improve the productivity more!</p> <p>Hope the OS X becomes even better in the future. I think I will buy an Apple product next time I want a new computer (after I have earned enough money though).</p> <p><em>Notice: LATEX contents and embedded gists may not display properly in rss readers. Please visit <a href="http://www.fyears.org/2013/05/preferring-mac-os-x/">original post</a> for best experience.</em></p> Thu May 09 00:00:00 -0700 2013 http://www.fyears.org/2013/05/preferring-mac-os-x/ 空山不见人 <p>也算是开始放寒假了,开始有一段比较“长”的时间住在家里。</p> <p>可是有一些不对劲。</p> <p>我在家里自己的房间睡醒了,总觉得不对劲。床褥,衣柜,桌面上的公仔依然一样,静默地等待着我的回来,或者根本不在乎我有没有回来,依然沉默地呆在它们呆的地方。我又想到,此刻我放在宿舍的枕头书本,台灯等等,一定也是这样子,在灰尘的积累之中等我回去再见它们。两边的方寸之地带给我的感觉都是一样的。</p> <p>可是它们不应该一样。我恍然,是房屋里的物事给了我一个陌生感。但这是我的家呀!哪里都可以陌生,这里却应该是最熟悉,闭着眼睛也可以在各房间之间穿梭的地方!</p> <p>我下午走出家门,在我这个自小长大的小城镇中游弋。在我长大的这些年头,城镇也在成长。哪里的吆喝声不见了,哪里的商铺改头换面,哪里的地方装修了。无论如何,城镇都变化了。老树开了新芽,朋友搬了新家,中学换了名字,牛杂不断升价...... 自己的记忆和老旧的商铺和那个熟悉的城镇仿佛被打包了,仍在了时光的上游,我这个凡人就在洪水中不断冲走。无奈又漠然地看着回忆渐渐模糊,消失的时间的那一头。</p> <p>自小我便发现,基本上我是不怕生床的。就是说,有很多人在不是自己家的床上都翻来覆去睡不着,嘟嚷着还是自己家的床舒服;而我在宿舍,在朋友家里,在旅游的途中,不会因为这个原因而睡不着。我知道这些地方都是陌生的,但我又知道我只是一个过客,总会在某一天归去那个熟悉的地方。尽管是我本人在外面,在旅游,但我就是一个旁观者,平平静静地看着“我”的游历。</p> <p>但现在,我在自己的家也感受到了在宿舍的一样的感觉。不是宿舍变得越来越熟悉的感觉,而是家里越来越带来陌生感和疏离感了。</p> <p>那么,我那个熟悉的地方去哪里了?</p> <p>我自小向往到处游览的那种浪漫旅行,多么的惬意与潇爽。可是,如果真的一生漂泊流离的话,那就只剩下狼狈与沧桑了。</p> <p>我怅然若失,尽管我现在还在父母的庇护之下,但我已经不知道为何开始了漂泊流离的生涯了。</p> <p>一生漂泊,只为了追寻那个逝去而不再回来的时光。</p> <p><em>Notice: LATEX contents and embedded gists may not display properly in rss readers. Please visit <a href="http://www.fyears.org/2013/01/wandering-all-the-life/">original post</a> for best experience.</em></p> Sun Jan 20 00:00:00 -0800 2013 http://www.fyears.org/2013/01/wandering-all-the-life/ 已经不见,不要怀念 <p>忽然间想起来,某人有某个博客,似乎已经好久好久没有更新了。今天登上去,发现,最后一篇已经滞留在几年之前。</p> <p>恍回多年前。</p> <p>高中是一片湖,几只鸭子,一片小林,一条臭水渠,几座楼,几个人,晃来晃去的丑校服。三年了。湖还是那片湖,鸭子却死了,林还是那片林,似乎装修而砍了几棵树,水渠上还是有着小桥,水变清了,倒有了几分小桥流水人家之感,老师又成为了高三的老师,同学却早已不是那些人,标记着身份的校服都重新设计了。</p> <p>物非人非,记忆终将无法考证,空寥寂寞。</p> <p>那个时候,我们写下狗屁不通的句子,只求押韵不求平仄,偶尔有一两个意象,霎那构筑起悠远寂渺的意境,落地生根成优美的诗词;作为怕鬼的唯物青年,现实的理想主义者,爱文学的理科生,我们时常对遥远无垠的外面带着瑰丽的想象,对漫漫迷雾的未来长路有着璀璨的憧憬。</p> <p>现在才发现,最美的诗与最美的梦一样,都是可遇不可求的。</p> <p><em>Notice: LATEX contents and embedded gists may not display properly in rss readers. Please visit <a href="http://www.fyears.org/2012/11/dont-miss-the-disappeared/">original post</a> for best experience.</em></p> Sat Nov 10 00:00:00 -0800 2012 http://www.fyears.org/2012/11/dont-miss-the-disappeared/ playing Node.js: 1. basic concepts <p>These days, I wanna have a look at the hot and smart technology: Node.js. So I&#39;d like to make some notes and share some useful resources.</p> <h2><a href="http://nodejs.org/">Node.js</a></h2> <h3>What&#39;s Node.js?</h3> <p>Javascript on the server side.</p> <h3>What&#39;s npm?</h3> <p>The package manager for Node.js. npm for Node.js is as apt-get for Ubuntu.</p> <h3>How to install it?</h3> <p>I&#39;m not talking about how to do it in Windows, because it&#39;s bringing ourselves into troubles. Use one of the techniques from <a href="https://gist.github.com/579814">gist: 579814</a> is just good and ok. After following that, <code>npm</code> and <code>node</code> shoule be avaiable as the command in the shell.</p> <h3>What&#39;s a <code>package.json</code> file? And what&#39;s a <code>node_modules</code> folder?</h3> <p>Every Node.js project should provide one of these. It describes the dependencies and some other information of the project. See one <a href="https://github.com/fyears/exprcoffee/blob/master/package.json">example</a>. <code>node_modules</code> is the floder of the local dependency files.</p> <h3>What&#39;s the <code>module</code>, <code>require</code> and <code>exports</code>?</h3> <p>There are two excelent posts explaining them. <a href="http://openmymind.net/2012/2/3/Node-Require-and-Exports/">Node.js, Require and Exports</a>, <a href="http://openmymind.net/NodeJS-Module-Exports-And-Organizing-Express-Routes/">Node.js, Module.Exports and Organizing Express.js Routes</a>. The follwing should be read before reading the second post here.</p> <h2><a href="http://coffeescript.org/">CoffeeScript</a></h2> <h3>What&#39;s CoffeeScript?</h3> <p>CoffeeScript is a little language that compiles into JavaScript. It provides a simplified way to write <strong>javascript</strong> without the annoying from awkward braces and semicolons and othe stuff from the original javascript.</p> <h3>Why should I use it?</h3> <p>It&#39;s the good part of javascript.</p> <h3>How to use it?</h3> <p><code>npm install coffee -g</code> so <code>coffee</code> is the command line. See <a href="http://coffeescript.org/#installation">Installing</a> for more information. It can be used on <a href="http://coffeescript.org/#scripts">client side</a> too.</p> <h3>How to transer between CoffeeScript and javascript?</h3> <p>Command line can be used. However, official website provide an <a href="http://coffeescript.org/#try:alert%20%22Hello%20CoffeeScript!%22">in-time translator</a> from CoffeeScript to javascript, which is good for development. And there&#39;s an unofficial project, called js2coffee, whose website provide an <a href="js2coffee.org/">in-time translator</a> from javascript to CoffeeScript! (However, the latter one may occur some mistakes, and the result should be checked on the first site...)</p> <h2><a href="http://expressjs.com/">Express</a></h2> <h3>What&#39;s it?</h3> <p>A framework for devloping Node.js websites.</p> <h3>Install?</h3> <p><code>npm install express@3.x -g</code> for global usage. Create a folde and run <code>express --css stylus</code> to get a hello world example. Then <code>npm install</code> to install the dependencies locally. Run <code>node app</code> to view the website!</p> <h3>What&#39;s a &quot;middleware&quot;?</h3> <p>&quot;Middleware&quot; is an important concept for Express framework, and <a href="http://www.senchalabs.org/connect/">Connect</a>, the framework that Express is based on. In short, a request sent to Express apps (or/and the response) is handled, modified, &#39;filtered&#39; by the middlewares, in order.</p> <p>In fact, I think Node.js is still young, and its concepts are unfamiliar to most of us. It&#39;s good toy, however it should be carefully considered if we want to use it in production.</p> <p><em>Notice: LATEX contents and embedded gists may not display properly in rss readers. Please visit <a href="http://www.fyears.org/2012/10/playing-nodejs-1-basic-concepts/">original post</a> for best experience.</em></p> Thu Oct 18 00:00:00 -0700 2012 http://www.fyears.org/2012/10/playing-nodejs-1-basic-concepts/ playing R: useful packages <p>R is an useful software for statistical computing. And it has a package system, which enables users to install many interesting and useful packages. Here I note and recommend some.</p> <div class="highlight"><pre><code class="text">install.packages(&quot;ggplot2&quot;) # powerful printing system install.packages(&quot;devtools&quot;) # make dev life easier install.packages(&quot;knitr&quot;) # elegant report generator install.packages(&quot;reshape2&quot;) # use melt() and *cast() to reshape the data install.packages(&quot;plyr&quot;) # The split-apply-combine strategy for R install.packages(&quot;stringr&quot;) # work with strings install.packages(&quot;Rglpk&quot;) # powerful solver for mixed integer linear programming install.packages(&quot;lpSolve&quot;) # including solver for transportation problem and assignment problem install.packages(&quot;goalprog&quot;) # goal programming install.packages(&quot;Rdonlp2&quot;, repos=&quot;http://R-Forge.R-project.org&quot;) # powerful solver for smooth nonlinear minimization problem install.packages(&quot;gafit&quot;) # simple package for Genetic Programming install.packages(&quot;igraph&quot;) # complex network research install.packages(&quot;TSP&quot;) # travelling salesman problem install.packages(&#39;foreign&#39;) # read SPSS, SAS, S-PLUS, Stata files install.packages(&quot;ggpmap&quot;) # access Google Maps install.packages(&quot;googleVis&quot;) # access Google Visualisation API install.packages(&quot;rdatamarket&quot;) # access http://datamarket.com/ install.packages(&quot;twitteR&quot;) # access Twitter </code></pre></div> <p><em>Notice: LATEX contents and embedded gists may not display properly in rss readers. Please visit <a href="http://www.fyears.org/2012/09/playing-r-useful-packages/">original post</a> for best experience.</em></p> Thu Sep 06 00:00:00 -0700 2012 http://www.fyears.org/2012/09/playing-r-useful-packages/ playing R: importing data <p>It&#39;s quite important to acquire, deal with and import data for statisticso work. Here is some notes about acquiring and importing data in R. This post may be updated frequently.</p> <div class="highlight"><pre><code class="text"># first of all, we should know where we are: normalizePath(&quot;~&quot;) # change the working directory if necessary: setwd(&quot;~/tmp&quot;) # show the file in the directory: dir() # edit some file if necessary: file.edit(&quot;a.txt&quot;) </code></pre></div> <p>Assuming there are two files in the working directory:</p> <p>a.txt:</p> <div class="highlight"><pre><code class="text">name price apple 10 orange 12 watermelon 9 </code></pre></div> <p>b.csv:</p> <div class="highlight"><pre><code class="text">name,price apple,10 orange,12 watermelon,9 </code></pre></div> <p>c.csv:</p> <div class="highlight"><pre><code class="text">name,price 1,apple,10 2,orange,12 3,watermelon,9 </code></pre></div> <p>Here shows the result. <code>read.table(&quot;a.txt&quot;,F)</code> is the same as <code>read.table(&quot;a.txt&quot;,header=F)</code> and <code>read.table(&quot;a.txt&quot;,header=FALSE)</code>. <code>read.table()</code> and <code>read.csv()</code> should load the data into RAM as data frame. Pay attention to the differences of the examples.</p> <div class="highlight"><pre><code class="text">&gt; read.table(&quot;a.txt&quot;) V1 V2 1 name price 2 apple 10 3 orange 12 4 watermelon 9 &gt; read.table(&quot;a.txt&quot;,F) V1 V2 1 name price 2 apple 10 3 orange 12 4 watermelon 9 &gt; read.table(&quot;a.txt&quot;,T) name price 1 apple 10 2 orange 12 3 watermelon 9 &gt; &gt; read.csv(&quot;b.csv&quot;) name price 1 apple 10 2 orange 12 3 watermelon 9 &gt; read.csv(&quot;b.csv&quot;,F) V1 V2 1 name price 2 apple 10 3 orange 12 4 watermelon 9 &gt; read.csv(&quot;b.csv&quot;,T) name price 1 apple 10 2 orange 12 3 watermelon 9 &gt; &gt; read.csv(&quot;c.csv&quot;) name price 1 apple 10 2 orange 12 3 watermelon 9 &gt; read.csv(&quot;c.csv&quot;,F) V1 V2 V3 1 name price NA 2 1 apple 10 3 2 orange 12 4 3 watermelon 9 &gt; read.csv(&quot;c.csv&quot;,T) name price 1 apple 10 2 orange 12 3 watermelon 9 &gt; </code></pre></div> <p>And some columns will be factors, some will be simple victors.</p> <div class="highlight"><pre><code class="text">&gt; b &lt;- read.csv(&quot;b.csv&quot;,header=TRUE) &gt; b$name [1] apple orange watermelon Levels: apple orange watermelon &gt; b$price [1] 10 12 9 &gt; </code></pre></div> <p><code>scan()</code> is another fast function to import data.</p> <p>Acquiring infomation from the web is quite flexible.</p> <p><a href="http://datamarket.com/">DataMarket</a> is amazing, with lots of free data avaiable to download. There are some <a href="http://blog.datamarket.com/2011/10/31/using-datamarket-from-within-r/">guides</a>. Run the following code to try:</p> <div class="highlight"><pre><code class="text">install.packages(&#39;rdatamarket&#39;) library(rdatamarket) l &lt;- dmlist(&quot;http://datamarket.com/data/set/17tm/#ds=17tm|kqc=17.v.i&quot;) head(l) plot(dmseries(&quot;http://data.is/nyFeP9&quot;)) oil &lt;- dminfo(&quot;http://datamarket.com/data/set/17tm/#ds=17tm|kqc=17.v.i&quot;) print(oil) </code></pre></div> <p>It&#39;s important to find the informations. Here are some websites may help.</p> <div class="highlight"><pre><code class="text">http://datamarket.com/ # an open database, good with &quot;rdatamarket&quot; http://en.wikipedia.org/wiki/Wikipedia:Database_download # Wikipedia database http://openflights.org/data.html # data about flights among the world, three csv files. http://stat-computing.org/dataexpo/ # The Data Expo at the Joint Statistical Meetings http://data.worldbank.org/ # data from World Bank https://explore.data.gov/catalog/raw # data from Data.Gov http://data.un.org/Default.aspx # data from UN http://www-958.ibm.com/software/data/cognos/manyeyes/datasets # data sets from IBM http://aws.amazon.com/datasets # public data sets on AWS, big, including data from 1000 Genomes Project http://snap.stanford.edu/data/ # Stanford Large Network Dataset Collection http://archive.ics.uci.edu/ml/ # UC Irvine Machine Learning Repository </code></pre></div> <p><em>Notice: LATEX contents and embedded gists may not display properly in rss readers. Please visit <a href="http://www.fyears.org/2012/09/playing-r-importing-data/">original post</a> for best experience.</em></p> Thu Sep 06 00:00:00 -0700 2012 http://www.fyears.org/2012/09/playing-r-importing-data/ never use Hackintosh <p>Never use Hackintosh. After many frustracted experiences, I had to believe the fact.</p> <p>A few days ago, I saw a man use a IdeaPad, and his screen attracted me: it runs max os (10.7.3 Lion). Actually, I heard of the &quot;mystery&quot; Hackintosh before. But it was the first time I saw anyone successfully insall it on a PC. &quot;I love anything from Apple Inc. And the mac os is my major operating system instead of Windows 7.&quot; He proudly introduced the os to me, &quot;It&#39;s not easy to run mac os perfectly on a PC. Actually, I have spent almost one year to make it almost perfectly.&quot;</p> <p>I am interested in the idea. And there is a successful story in front of me. I would like to give it a try. So I started a looong journey.</p> <p>But it sucks.</p> <p>In fact, I managed to run mac os in my ThinkPad already. NVIDIA graphics driver ran properly, sound can be heard, via earphones though, and power manger works, being able to show the battery percentage.</p> <p>As we all know, the key of installing Hackintosh is the hardware compatibility. Drivers and startup configures should be carefully treated. For my computer, I managed to solve the problems about the three most important aspects: graphics, sound, and power. Anything basical just works.</p> <p>And the key point is: they JUST WORK, ALMOST perfect, but NOT EXACTLY perfect.</p> <p>It is a simple consideration on economics: we should do things that can bring incomes more than outcomes.</p> <p>Installing Hackintosh is interesting, at the first time. And successfully making it run is cool, if you do not plan to use the os for a long time. The ALMOST perfect system is annoying: I didn&#39;t know when it will crash, I couldn&#39;t shutdown the computer via software control and I had to press the button manually, and I had to tweak the system to run iTunes properly......</p> <p>The productivity was incredibly low when I used the Hackintosh. <strong>If I have to take almost a year to configure the os into exactly perfect state, why not use Windows 7 and Ubuntu to earn money, then buy a new MacBook Pro a year later?</strong></p> <p>Never use hackintosh (except you just want to play with it). It absolutely costs and wastes time.</p> <p><em>Notice: LATEX contents and embedded gists may not display properly in rss readers. Please visit <a href="http://www.fyears.org/2012/06/never-use-hackintosh/">original post</a> for best experience.</em></p> Sun Jun 24 19:00:00 -0700 2012 http://www.fyears.org/2012/06/never-use-hackintosh/ Jekyll, for hackers, not for humans <p>Nowadays, <a href="https://github.com/mojombo/jekyll">Jekyll</a> (suddenly) becomes populars among hackers.</p> <p>In short, &quot;Jekyll is a blog-aware, static site generator in Ruby&quot;. It can be used to build a &quot;static&quot; blog, instead of using WordPress.</p> <p>Born in &quot;static&quot;, Jekyll does not have the problems such as security issues, C10K problems, php and database engines backend needed, software updates...... Considering that the comments, analytics can be done by Disqus and Google Analytics by adding some javascript snippets. More excitingly, writting posts in markdown,text-based instead of databases needed, they are cool! It should be the best alternate of WordPress!</p> <p><strong>Not exactly.</strong> The above paragraph or similar texts can be seen in <em>almost any</em> posts in the Internet introducing Jekyll. But since it and anthor project based on it, Octopress, are designed for hackers, it&#39;s not for humans.</p> <p>When a simple user want to write a blog, he may start in <a href="https://blogger.com">Blogger</a> or <a href="http://wordpress.com">WordPress.com</a>. They provide good features and large community. They automatically deal with the technical details. Inserting pictures, videos, etc. are simple and easy. When a curious user want to customize their blog, he of she starts to study HTML, CSS and javascript. He want to buy a virtual host account, such as BlueHost. WordPress&#39; famous &quot;five steps installation&quot; gives strong convenience. After &quot;clicking&quot;, binding domains is easy as well. Installing plugins gives user the satisfaction. after learning some php syntax, a user can even try to modify of develop the themes and plugins!</p> <p>In short, &quot;playing&quot; with WordPress (WordPress should be the most famous and widely used blogging platform or software) (or Blogger, <a href="https://www.tumblr.com">Tumblr</a>), users or players can &quot;grow up&quot; from easy to hard. In the very end, he or she can stop in any steps, or he or she can fully control WordPress just as a &quot;person knowing more common sense about programming&quot;.</p> <p>But Jekyll doesn&#39;t. &quot;Playing&quot; Jekyll needs that you are a hacker already!</p> <p>Want to play Jekyll? Hummm...... It&#39;s written (majorly) in Ruby. But how to install Ruby? It seems that I&#39;d better have a GUN/Linux distribution or a Mac? Moreover, it&#39;s cool to host it by <a href="https://github.com">github</a>, whose cofounder is the author of Jekyll, but hey, what&#39;s git? Version controller? I am not interested in it&#39;s differences compared with Subversion! And what&#39;s markdown? How to configure the text editor to suit it? ...... Lots of question flooded into my mind when I want to play Jekyll!</p> <p>Moreover, I am disappointed with some limits of the &quot;official support&quot; from github. In deed, github does a good job and it provies lots of convience to programmers, and I love it. But, considering Jekyll, it&#39;s designed for hackers, but which hacker on earth doesn&#39;t write LATEX or insert gists?! Maruku markdown pharser seems to provide the opinion buliding fomulars pictures, but it requires the local LATEX engin! Rdiscount is fast, but does not support LATEX. Kramdown seems to support MathJax very well, but it can&#39;t be viewed in RSS because LATEX snippets are tranformed into <code>&lt;script&gt;</code> tags! In similar, gists can be inserted by adding the &quot;embed&quot; codes, but still they can&#39;t be viewed in RSS because they are <code>&lt;script&gt;</code> actually. Yes, Octopress seems to deal with some problems, but it&#39;s not &quot;officially supported&quot; by github pages, and it&#39;s even more complicated. Plugins can solve some problems (not elgently), but again, it&#39;s not supported by the official github pages. Of course I can generated the pages by the awesome <a href="http://johnmacfarlane.net/pandoc/">Pandoc</a> and upload the static files to the server or github pages, but again, it&#39;s more complicated (though maybe I can&#39;t help doing this later.....).</p> <p>So, if you are a hacker, you may want to try Jekyll. It should improve your writing environment and speed later, if you haven&#39;t commited a suicide while installing, configuring Jekyll, bearing the limitations and non-perfect aspects, and considering whether generating static files locally or by github pages, hosting it on github pages, or virtual host, of Heroku, or VPS etc. ...... If not, WordPress should be the best choice of writing yet.</p> <p><em>Notice: LATEX contents and embedded gists may not display properly in rss readers. Please visit <a href="http://www.fyears.org/2012/05/jekyll-for-hackers-not-for-humans/">original post</a> for best experience.</em></p> Thu May 24 19:00:00 -0700 2012 http://www.fyears.org/2012/05/jekyll-for-hackers-not-for-humans/ if Flash is open source..... <p>If Adobe open source Flash, it will regain the control of the web.</p> <p>It&#39;s no doubted that Flash has greatly contributed to the development of the web. (Well, if it didn&#39;t appear, will HTML standard be developed even faster? Who knows.) But today, Powerful JavaScript, improved HTML 5 and CSS 3 are going to replace it. New tags in HTML 5 such as <em>video</em> and <em>audio</em> can function like Flash. <a href="http://chrome.angrybirds.com/">Angry birds</a> and <a href="http://www.cuttherope.ie/">Cut the Rope</a> in HTML 5 are the best proofs.</p> <p>What if Adobe open source Flash player and related software?</p> <p>Think about chromium and Android. Google open sources them and they are widely spread because there are no concern about the license. But actually, Google <em>do</em> control the development now, because other firms almost only concern about the &quot;cost&quot; rather than the development of the software itself.</p> <p>Due to the <a href="http://www.adobe.com/licensing/">license</a> problem, Firefox and chromium don&#39;t embed Flash player. Chrome does, because Chrome isn&#39;t open source, different from its brother. Once Flash is open source, browsers can embed Flash players, and factories and net users can contribute to the development of Flash player, solving the issues such as high CPU use more easily. And developers will turn back to the mature Flash technology instead of taking risk of new technology (js, HTML 5 &amp; CSS 3).</p> <p>In fact, if Flash is open source, there is almost nothing different towards general users.</p> <p><em>Notice: LATEX contents and embedded gists may not display properly in rss readers. Please visit <a href="http://www.fyears.org/2012/01/if-flash-is-open-source/">original post</a> for best experience.</em></p> Mon Jan 30 13:16:21 -0800 2012 http://www.fyears.org/2012/01/if-flash-is-open-source/ Education 2.0 <p>It&#39;s likely that a new tipping point of the new style of education -- including teaching and studying -- is coming.</p> <p><a href="http://en.wikipedia.org/wiki/Portal:Education">Education</a>, encompasses teaching and learning specific skills, and something less tangible but more profound: the imparting of knowledge, good judgment, and wisdom. It&#39;s important to focus on and improve the way of interact between teaching and studying. It&#39;s obvious that how students absorb the knowledge and raise their curiosity determine the result of the process. Here I mainly discuss the narrow sense of education. which usually means the process of acquiring the knowledge of science, literature, etc, usually in schools.</p> <p>Accepting education (in schools) is relevant to <a href="http://en.wikipedia.org/wiki/Opportunity_cost">opportunity cost</a>. The time is always limited and the process is not always pleasing. What&#39;s even frustrating, so many people can&#39;t offer the cost of entering schools, so that they have to work &quot;in advance&quot;.</p> <p>Now online education is becoming popular. Maybe it provides more opportunities to poor man and those have limited condition to enter the famous universities.</p> <p>Till now, education level has been developed by Internet greatly. Researching is enjoying the convenience of the super high speed and large volume of information data. Searching and creating data with the help of Internet is easier than ever. However, education focus more on the interaction of teaching and studying, as well as the creativity, rather than just researching. n this aspect, open course bring great impact, for example, some universities, such as Harvard, <a href="http://ocw.mit.edu/index.htm">MIT</a>, Stanford, and more, has released their video and/or presentation online. Some websites, such as <a href="http://open.163.com/">netease open courses</a>, have gathered and translated, and spread these online resources greatly. What&#39;s more, there are <a href="http://www.class-central.com/">some</a> online courses available, such as Stanford&#39;s <a href="http://www.cs101-class.org/hub.php">Coursera</a>, MIT&#39;s <a href="http://mitx.mit.edu/">MITx</a>, and <a href="http://www.udacity.com/">Udacity</a>.</p> <p>But it&#39;s not enough. In essence, they are just putting the media online, not deeply taking advantages of Internet -- connecting and interacting with people much easier.</p> <p>Education 2.0, with the help of web 2.0, is the key and next revolution in education and society, in my opinion.</p> <p>What&#39;s it? The answer may hides in (inconspicuous) places: Wikipedia, and github.</p> <p>Have a look inside <a href="http://en.wikipedia.org/">Wikipedia</a>, the free encyclopedia. <a href="http://en.wikipedia.org/wiki/History_of_Wikipedia">Launched in 2001</a>, Wikipedia has formed the largest online encyclopedia, with high quality, great authority and high page rank (which reflects how websites rely on it). In fact, The English Wikipedia passed 100,000 articles in 2003, a great and incredible success. Such a great increase of articles tells people that they had just waited for it for a long time. It&#39;s a masterpiece by billions of net users, reflecting how great work can be done by the power of self-organization of the <a href="http://edouard-lopez.com/fac/ICPS%20-%20S7/Complexit%C3%A9/2008-Wikipedia-As-A-Complex-System/Power%20of%20the%20Few%20vs.%20Wisdom%20of%20the%20Crowd:%20Wikipedia%20and%20the%20Rise%20of%20the%20Bourgeoisie.pdf">combination of the elite and the crowd</a>.</p> <p>Essentially, Wikipedia shows the desire to share and curiosity about knowledge. A virtuous cycle formed fortunately and is functioning smoothly till now. A simple way of editing and discussing, and the nature as a creature of &quot;web 2.0&quot; may explain its success.</p> <p>Now observe <a href="https://github.com/">github</a>, subtitled &quot;social coding&quot;, another cool web-2.0 website, poplar among programmers. In similar to the growing process of Wikipedia, it enjoyed a great increase. <a href="https://github.com/blog/40-we-launched">launched in April 2008</a>, it hosted about 46,000 repositories just in the first year! By now (Jan. 2012), over 3,800,000 git repositories are enjoying the platform. <a href="http://code.dblock.org/github-is-your-new-resume">Github is your new resume.</a> It&#39;s possible to create a reliable and informative resume with the help of github and books <a href="http://mindhacks.cn/2011/11/04/how-to-interview-a-person-for-two-years/">in 2 years</a>. There are real project, cool guys, people with the same interests, and <a href="http://www.amazon.com/Here-Comes-Everybody-Organizing-Organizations/dp/1594201536/">here comes everybody</a>.</p> <p>The most powerful innovation of github should be &quot;social&quot;. One can &quot;follow&quot; another developer or &quot;watch&quot; a project, while at the same time &quot;fork it&quot; and &quot;send pull request&quot; have become the &quot;culture&quot; among the users.</p> <p>So what&#39;s the business of education?</p> <p>Self-organization, happy collaborative work, creativity, and study process as a resume. A platform, (called &quot;Wikihub&quot; if I create it :-),) taking advantages of Wikipedia and github, should have the above advantages and features, and lead the revolution of education, named &quot;education 2.0.</p> <p>Education 2.0 should be benefited by self-organization. Both Wikipedia and github illustrate that self-organization also work and work even better. Students just don&#39;t know what they will go at the beginning, but actually discover what they want later.</p> <p>Education 2.0 includes happy collaborative work. 1+1 &gt; 2. Twitter and Facebook prove that all the &quot;tiny&quot; behavior may effect on &quot;big&quot; result and incredible destination, which attract and <a href="http://www.amazon.com/Everything-Obvious-Once-Know-Answer/dp/0385531680/">confuse</a> social researchers a lot. An appropriate platform allowing students to study what they are really interested in may drive our society to new ways. Because they are interested in, so they are fond of and realize the necessity of learning other knowledge that they don&#39;t pay attention to before.</p> <p>Education 2.0 enjoys the advantages brought by creativity. Unlimited and uninformed in advance may promote creativity, one of the most important power of society. But it should be noted that creativity relies on the knowledge base. So in some case and at some stage, teachers and other leading students should provide tips and hints and help to their fellows.</p> <p>Education 2.0 lightens, if not solves, the conflict between study and work. Github notes down users&#39; operations and growth, and projects are for real world, instead of &quot;not being practical&quot;. When students end the education, they get resumes automatically.</p> <p>This article is just about a summary and a prediction. Whatever, Internet has changed our life, and it will surely change the style of education. The tendency shows that another tipping point is near, maybe before 2016 we can see and create the tide.</p> <p><em>Notice: LATEX contents and embedded gists may not display properly in rss readers. Please visit <a href="http://www.fyears.org/2012/01/education-2-0/">original post</a> for best experience.</em></p> Sun Jan 29 20:49:45 -0800 2012 http://www.fyears.org/2012/01/education-2-0/