<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Liu Minsheng on Medium]]></title>
        <description><![CDATA[Stories by Liu Minsheng on Medium]]></description>
        <link>https://medium.com/@Selveskii?source=rss-224092b24e24------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*ICD3HtmK6Aa64CTtlK5Lcw.png</url>
            <title>Stories by Liu Minsheng on Medium</title>
            <link>https://medium.com/@Selveskii?source=rss-224092b24e24------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Mon, 30 Nov 2026 02:13:21 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@Selveskii/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[类型类练习题]]></title>
            <link>https://medium.com/@Selveskii/%E7%B1%BB%E5%9E%8B%E7%B1%BB%E7%BB%83%E4%B9%A0%E9%A2%98-c17142b58b4c?source=rss-224092b24e24------2</link>
            <guid isPermaLink="false">https://medium.com/p/c17142b58b4c</guid>
            <category><![CDATA[haskell]]></category>
            <dc:creator><![CDATA[Liu Minsheng]]></dc:creator>
            <pubDate>Mon, 04 Jan 2016 06:43:16 GMT</pubDate>
            <atom:updated>2016-01-04T07:19:25.935Z</atom:updated>
            <content:encoded><![CDATA[<p>为黄总精心设计，不要谢我，请我喝奶茶、吃榨菜即可。</p><h4>第一题</h4><p>给一下数据类型：</p><pre>data MilkTea =<br>  { hasBoba :: Bool<br>  , cupSize :: Int<br>  } deriving Show</pre><p>手工定义 Eq 实例。</p><p>给出以下值的类型：</p><pre>hasBoba<br>cupSize</pre><p>定义函数 view, set, lHasBoba 并满足以下不变量：</p><pre>view lHasBoba :: MilkTea -&gt; Bool<br>view lHasBoba tea = hasBoba tea</pre><pre>set lHasBoba :: Bool -&gt; MilkTea -&gt; MilkTea<br>set lHasBoba x tea = tea { hasBoba = x }</pre><p>提示，可以定义数据类型 LHasBoba 如下：</p><pre>data LHasBoba = LHasBoba<br>  { view :: MilkTea -&gt; Bool<br>  , set  :: Bool -&gt; MilkTea -&gt; MilkTea<br>  }</pre><pre>lHasBoba = LHasBoba<br>  { view = ...<br>  , set  = ...<br>  }</pre><p>上述的 LHasBoba 被称为 lens。试定义一个通用的 Lens：</p><pre>data Lens s a = Lens<br>  { view :: s -&gt; a<br>  , set  :: a -&gt; s -&gt; s<br>  }</pre><p>并给出 lHasBoba 与 lCupSize</p><h4>第二题</h4><pre>class Functor f where<br>  fmap :: (a -&gt; b) -&gt; f a -&gt; f b</pre><p>见阅读材料。</p><p>给出以下数据类型的 Functor 实例：</p><pre>data Maybe a = Just a | Nothing<br>data [a] = a : [a] | []<br>data Tree a = Leaf a | Branch (Tree a) (Tree a)<br>data Identity a = Identity { runIdentity :: a }<br>data Const a = Const { runConst :: a }</pre><p>不得使用 DeriveFunctor 扩展。</p><p>Lens s a 还可以定义为：</p><pre>type Lens s a = forall f. Functor f =&gt; (a -&gt; f a) -&gt; s -&gt; f s</pre><p>注：需要打开扩展 RankNTypes，自行谷歌 GHC 开启扩展的方法。</p><p>根据上述 Lens 定义，重新定义 view 与 set。提示：使用 Identity 和 Const。</p><h4>第三题</h4><p>第二题陈述了一个事实，这两种 Lens s a 的定义同构，即存在如下两个函数：</p><pre>data Lens s a = Lens<br>  { view :: s -&gt; a<br>  , set :: a -&gt; s -&gt; s<br>  }<br>type Lens&#39; s a = formal f. Functor f =&gt; (a -&gt; f a) -&gt; s -&gt; f s</pre><pre>lensToLens&#39; :: Lens s a -&gt; Lens&#39; s a<br>lens&#39;ToLens :: Lens&#39; s a -&gt; Lens s a</pre><p>试给出两者定义。</p><h4>第四题</h4><pre>data Expr = Lit Int<br>          | Add Expr Expr<br>          | Mul Expr Expr</pre><p>定义以下函数：</p><pre>eval :: Expr -&gt; Int</pre><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c17142b58b4c" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Cheat sheet for the final of HTML5]]></title>
            <link>https://medium.com/@Selveskii/cheat-sheet-for-the-final-of-html5-f3a277ee3346?source=rss-224092b24e24------2</link>
            <guid isPermaLink="false">https://medium.com/p/f3a277ee3346</guid>
            <category><![CDATA[css]]></category>
            <category><![CDATA[web-development]]></category>
            <dc:creator><![CDATA[Liu Minsheng]]></dc:creator>
            <pubDate>Thu, 10 Dec 2015 07:40:05 GMT</pubDate>
            <atom:updated>2015-12-10T07:40:05.277Z</atom:updated>
            <content:encoded><![CDATA[<p>The title is a little misleading: I am not taking a course named HTML5 this quarter. The real motivation for this post is to summarize my knowledge on HTML5. I am writing a markup library <a href="https://github.com/notcome/hskribo/">hskribo</a>, which requires a HTML combinator library. Unsatisfied with <a href="https://hackage.haskell.org/package/blaze-html">blaze-html</a> which erases all semantic structures of an HTML document, I hope to develop a library who will only generate HTML documents conforming to the HTML5 standard.</p><p>It’s a work in progress. It is made public so that I could receive comments. Advices are always appreciated!</p><h4>Document Model</h4><h4>Text Elements</h4><p>One major category of text elements are those which should only be used inside a paragraph—though not necessarily being a child of <em>p</em>. Some general information about these tags:</p><ul><li>Categories: <em>flow content</em>, <em>phrasing content</em>, and <em>palpable content</em>.</li><li>Context: where <em>phrasing content</em> is expected.</li><li>Content model: <em>phrasing content</em>.</li></ul><p>This category doesn’t include <em>a</em> whose content model is transparent (<em>e.g.</em> it can contain <em>div</em> elements). The comprehensive list is:</p><ul><li><strong><em>em</em></strong>. Contents with a linguistic stress or emphasis. Compare these two question-and-answers: <em>What does Selveskii eat? He ate three big donuts</em>; <em>What kind of donuts does Selveskii eat? He ate three big donuts</em>.</li><li><strong><em>strong</em></strong>. Contents of strong importance, seriousness, or urgency for its contents.</li><li><strong><em>small</em></strong>. Side comments.</li><li><strong><em>s</em></strong>. Contents that are no longer accurate or relevant. This should not be used in editing documents, in which <em>del</em> is more appropriate.</li><li><strong><em>cite</em></strong>. Reference to a creative work, with optional URL (through <em>a</em>).</li><li><strong><em>q</em></strong>. Inline quote. An optional <em>cite</em> attribute may provide the link to the source or to further information.</li><li><strong><em>dfn</em></strong>. Defining instance. An optional <em>title</em> attribute overrides the exact term to be defined.</li><li><strong><em>abbr</em></strong>. Abbreviation. An optional <em>title</em> attribute may provide the expansion of that abbreviation. If an <em>abbr</em> element with the <em>title</em> attribute is used within a <em>dfn</em> element, the expansion is the exact term to be defined.</li><li><strong><em>data</em></strong>. An “identity” element, with an optional <em>value</em> attribute to provide a machine-readable form of its content. For date and time related contents, use <em>time</em>.</li><li><strong><em>time</em></strong>. An optional <em>datetime</em> may provide a machine-readable form.</li><li><strong><em>code</em></strong>. A fragment of computer code.</li><li><strong>var</strong>. A variable.</li><li><strong><em>samp</em></strong>. Sample output from a program of computing system.</li><li><strong><em>kbd</em></strong>. User input. Typically it should be keyboard input but other inputs like voice commands are also accpetable.</li><li><strong><em>sub</em></strong>, <strong><em>sup</em></strong>. Used for typographical conventions with specific meanings, like using subscripts to identify the variable in a family of variables. Not for typographical presentation like <em>LaTeX</em>.</li><li><strong><em>i</em></strong>. “<em>A span of text in an alternate voice or mood, or otherwise offset from the normal prose in a manner indicating a different quality of text, such as a taxonomic designation, a technical term, an idiomatic phrase from another language, transliteration, a thought, or a ship name in Western texts.</em>”</li><li><strong><em>b</em></strong>. A span of text to whch attention is being drawn without convenying any extra importance. Used as last resort, it should be substituted by <em>strong</em> or <em>mark</em> whenever appropriate.</li><li><strong><em>u</em></strong>. “A span of text with an unarticulated, though explicitly rendered, non-textual annotation.” As the standard noted, in most cases, another element should be more appropriate. Therefore, I discourage the usage of this element. One use case provided by the standard is to mark Chinese proper names, which is not used frequently nowadays.</li><li><strong><em>mark</em></strong>. A run of text marked for reference purposes due to its relevance in another text. Words discussed in a side note, for example, seems to fit this element perfectly.</li><li><strong><em>ruby</em></strong>. Used mainly in East Asian typography as a guide for pronounciation. This element will be discussed later and receive special treatment in my library. A quite popular usage for fun in Internet Chinese, though probably not intended in the standard, is to have an opposite meaning in the ruby part and the base content, as if the speaker accidentally leaks what he or she really wants to say in the ruby part. An example would be putting「节哀顺变」as base content, a word to console the addressee who is facing an unfortunate situation, and「喜闻乐见」as the ruby part, a word expresses that one is happy to see this situation happening.</li><li><strong><em>bdi</em></strong>. A span of text that may have different direction. For example, <em>bid</em> can be used to represent user names, which can be in English as well as Hebrew. The <em>dir</em> attribute defaults to <em>auto</em> on this element, namely it doesn’t inherit that attribute from its parent.</li><li><strong><em>bdo</em></strong>. Allowing explicit text directionality formatting control for its children. The <em>dir</em> attribute must be specified.</li><li><strong><em>span</em></strong>. No special meaning, like an inline version of <em>div</em>.</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f3a277ee3346" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[What I have done on January 27th.]]></title>
            <link>https://medium.com/@Selveskii/what-i-have-done-on-january-27th-821ffdc48227?source=rss-224092b24e24------2</link>
            <guid isPermaLink="false">https://medium.com/p/821ffdc48227</guid>
            <dc:creator><![CDATA[Liu Minsheng]]></dc:creator>
            <pubDate>Tue, 27 Jan 2015 17:18:04 GMT</pubDate>
            <atom:updated>2015-01-27T17:18:04.202Z</atom:updated>
            <content:encoded><![CDATA[<p>I am using Haskell to develop <a href="http://bbq.yan.ac/">BBQ</a>, a website for the forthcoming student-organized Linguistics Olympiad on February 14th. It should allow participants to register, login, reset password, download their problems, and upload their solutions.</p><p>I chose Haskell not only to learn this language but also to ensure the security of this site. In the past two weeks, I have learned a lot about monad and other features and got myself familiar with Haskell’s syntax.</p><p>Because this project is relatively simple and I think I have plenty of time (probably not), I have refactor my code for several times. Today, I am focusing on simplifying HTML form validation.</p><p>Previously, form generation code was separated from form validation code. I had to repeat code to fetch those fields from post data. Besides, such a separation often caused me to forget what to do. Last, I hope to make use of my little type system: for example, I shouldn’t explicitly write code to check if the password provided has less than 12 characters.</p><p>What I want is something like this:</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/618df87a4b030f69ce8d9fb4069fe7ac/href">https://medium.com/media/618df87a4b030f69ce8d9fb4069fe7ac/href</a></iframe><p>My idea is simple: running the above computations in two different monads. The first is a state monad. In this situation, fetchers like <em>askPassword </em>should push a new field of the HTML form to the state monad and return nothing. The <em>should</em> checker should always return true. The second is an EitherT. In this situation, fetchers will fetch data from post body and checkers will throw <em>Left error</em> when error happens.</p><p>It sounds pretty simple, and it’s indeed simple. However, for someone with little knowledge of monad and Haskell’s type system, it can be challenging. I created a typeclass for fetchers and checkers, and my morning as well as half of my afternoon was wasted on writing type signatures. I was working on the state monad first, and before 6 p.m. I finally got it worked. I spent the night in cinema, watching the boring <em>Hobbit 3</em>. When I came back, I finished the EitherT part.</p><p>Or, almost finished. There is still one issue, adding support to query my acid state database. I was stupid again—about thirty minutes was wasted to try to allow me to write queries directly, with some lifting and type annotations. However, this would definitely not work, as queries are meaning less when we use the code to construct a HTML form. This reminded me of a stupid idea when developing the database: I tried to get current system time and generate random numbers (for cookies) inside a acid state update! However, acid state relied on logging calls to updates to ensure database’s persistence. If I am writing impure codes in an update, then acid state would no longer be ACID. Both things taught me one thing: think carefully before requesting a feature.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=821ffdc48227" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[HTML & CSS 快速介绍]]></title>
            <link>https://medium.com/@Selveskii/html-css-a6d665be4e16?source=rss-224092b24e24------2</link>
            <guid isPermaLink="false">https://medium.com/p/a6d665be4e16</guid>
            <dc:creator><![CDATA[Liu Minsheng]]></dc:creator>
            <pubDate>Sat, 25 Oct 2014 09:49:31 GMT</pubDate>
            <atom:updated>2014-10-25T09:49:31.434Z</atom:updated>
            <content:encoded><![CDATA[<p>五彩斑斓的网页由两个部分组成。其一标记文档内容，使用一种叫做超文本标记语言（Hyper Text Markup Language，<a href="http://www.w3.org/TR/2014/PR-html5-20140916/Overview.html#contents">HTML</a>）的技术来书写；其二标记外观（亦称「样式」），使用一种叫做层叠样式表（Cascading Style Sheet，<a href="http://www.w3.org/Style/CSS/">CSS</a>）的技术来描述。</p><p>这篇文章面向外行，尽可能使用朴素的术语。但如果有什么根本错误，请指出。同时，有什么没有背景知识的普通人难以理解的表述，也请指出来，谢谢。</p><p>虽然 HTML 内可以定义文档的外观，但这是不被推荐的，在介绍 CSS 之前，我不会提及如何修饰网页，请保持耐心。</p><h3>网页文档与 HTML</h3><p>HTML 用于书写网页文档的内容。一个网页由两部分组成。一是描述该网页自身的信息，亦称元数据（metadata），就好似书中的出版信息，包括了网页的标题、作者、描述等信息；二是网页的正文，就好似书的正文一般。其基本框架如下：</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/307a5c3ad377cfd6cf288a34c7bab689/href">https://medium.com/media/307a5c3ad377cfd6cf288a34c7bab689/href</a></iframe><p>&lt;html&gt; 包含了整个网页内容。&lt;head&gt; 内描述的为元数据，而 &lt;body&gt; 内描述的为正文内容。</p><p>诸如 &lt;html&gt;、&lt;head&gt; 与 &lt;body&gt; 这样的标记被称为元素。一个元素包含多个子元素，每个子元素还可以包含更多孙子元素，可以无限循环下去。这种结构模型在计算机科学和数学里被称为「树」。树结构在自然生活中无处不在：如其名字所暗示的一样，一棵树的主干、分叉与叶子就构成了一棵树；一本学术著作有几个章节，每个章节下面有几个小节，小节下面还有更小的单位，这也是一棵树。几乎所有人类的文学作品都可以被看成树，因此 HTML 使用树结构也就不难理解了。</p><p>下面来介绍一下 &lt;body&gt; 内的两类元素。其中一种表示文档结构关系，在此称为「结构元素」；另外一种为一维的文本提供额外的信息，在此称为「文本元素」。这都不是标准名称。</p><h4>结构元素</h4><p>这里的「结构」是指文本的一个单位，由段落和其它小节构成。一本书的一个小节就是一个结构，它由段落和标题构成。章节也是结构，它有小节，有习题，有总结。书也是结构，前言、目录、章节与后记。就连几本书构成的合集，也是一个结构。</p><p>列举一些常用的结构元素：</p><ol><li>&lt;article&gt;。它代表着一个 self-sufficient 的结构，换句话说，它是可以独立存在的。语文书里的一篇课文，一篇托福作文，亚马逊搜索页面里每个商品的全部内容，甚至朋友圈里的一条状态，都可以算是一个 &lt;article&gt;。</li><li>&lt;section&gt;。它就是一个通常意义的小节。比如一本书的章节，章节里的小节，这篇文章中「结构元素」这一节，都可以算是 &lt;section&gt;。</li><li>&lt;aside&gt;。它代表着与文章的主题有关的相对独立的内容。比如我在前面提到了「树」，那么如果我插一段「树」的数学定义，就应当使用 &lt;aside&gt;。</li><li>&lt;ol&gt;，&lt;ul&gt;，&lt;li&gt;。这是列表结构，分别是有序列表（如电影排行榜）、无序列表（如这个结构元素列表，虽然用数字标出，元素顺序没有意义，实为无序）和列表项本身。</li></ol><p>还有一些结构元素。比如说，在网页里指示文档主要内容，帮助屏幕阅读器跳过网站的链接和 footer，可以使用 &lt;main&gt;；网页的 &lt;body&gt; 元素，自然也是个结构元素；表示一个结构元素的 header 和 footer，可以使用 &lt;header&gt; 与 &lt;footer&gt;；大段引用，可以使用 &lt;blockquote&gt;。</p><h4>文本元素</h4><p>虽然汉语和英语都是一维的语言，但是我们书写的文本本身却是二维的：标点符号如「《》，「」，『』」将带有特殊含义的信息与其它内容分离出来，方便我们理解。</p><p>然而，标点符号种类有限，为了方便机器处理与定义外观（后面都会提到），甚至只是为了满足处女座的精神洁癖，HTML 定义了许多文本元素，将特殊的信息标记出来。下面列举几个常用的：</p><ol><li>&lt;dfn&gt;。<em>definition</em>，它表示一个定义：「等边三角形是边长相等的三角形。等边三角形有很多奇妙的性质。」，这句话里第一个「等边三角形」就可以用 &lt;dfn&gt; 标记。</li><li>&lt;a&gt;。它表示一个链接，可以是一个网页内其它位置（返回顶部），也可以链接到别的网页，甚至包括了电子邮件地址。</li><li>&lt;q&gt;。它表示一个段内引用。</li><li>&lt;em&gt;。<em>emphasis</em>，它表示强调，它包起来的内容都是重点。</li></ol><h4>语义</h4><p>虽然 HTML 提供了强大的表达力，但是没有多少人会严格的按照标准来使用这些元素。比如说，一遇到结构，他们就会使用一种没有任何意义的结构元素，div；一遇到斜体（哪怕汉语中没有斜体这个概念），就都使用 &lt;em&gt;，因为 &lt;em&gt; 表示强调，浏览器默认对其应用斜体。</p><p>每个元素都有其自己的意义，我们称之为语义。但是，使用即将介绍的 CSS 技术，你可以乱用元素，section 当 article，header 当 footer，甚至 main 表示粗体，却实现一样的视觉效果。然而，这有两个问题：</p><p>其一，这阻止了机器挖掘内容。在可以预见的将来，自然语言处理算法都不会有太多的突破，因此，机器依赖这些额外的内容来处理数据。比如我曾尝试在 iOS 8.0 的 Numbers 软件中开启 iCloud Drive 功能——虽然这是不被支持的——我使用谷歌进行搜索，返回的结果，全是正文提及 iCloud Drive，而在侧边栏中链接的其它网页的标题和梗概里出现 Numbers 的网页。如果搜索引擎只返回在 &lt;main&gt; 元素内同时出现两个短语的网页，就不会浪费我的时间了。可惜的是，主流浏览器里还有 Internet Explorer 不支持 &lt;main&gt; 元素，就不说使用它的网站了。</p><p>机器挖掘的潜力很大。如果我们使用 HTML 来记笔记，那么使用 &lt;dfn&gt; 元素，我们就可以在搜索的时候快速定位到概念的定义上面，极为方便。</p><p>其二，就是对于有访问障碍的用户，比如说盲人，不遵循语义不公平。还是拿 &lt;main&gt; 举例，如果使用了 &lt;main&gt; 元素，那么屏幕阅读器可以直接跳到正文，省略冗长的导航栏。</p><h3>外观与 CSS</h3><p>先说一个概念，叫做内容与样式分离。Word 有个很赞的功能，叫做格式刷，比如你在写一本参考书，给一段引用文本精心定义了字体、字号、颜色和背景，然后刷刷刷给书里的几百段文本复制样式——</p><p>然后出版社老板告诉你，我们要使用统一的样式……</p><p>呜呜呜，又要按几百次了。</p><p>但是，如果我们告诉 Word，这是引用，那么接着就可以直接对 Word 说，把所有的引用都设置为……</p><p>告诉 Word，这是引用。唔，直接用 &lt;blockquote&gt; 标记一下不就可以了！既然 HTML 提供了这么强大的描述能力，定义外观的时候自然要好好利用。</p><p>CSS 就是以此设计的语言，它由一组规则构成，每个规则则有两个部分组成：选择器和样式。选择器是一段描述，来匹配 HTML 元素，所谓「选择」；样式则是指定被选择的元素的样式。</p><p>下面给出了一个简单的示例：</p><iframe src="" width="0" height="0" frameborder="0" scrolling="no"><a href="https://medium.com/media/9539ef7b0670fc17549e80ac5100b925/href">https://medium.com/media/9539ef7b0670fc17549e80ac5100b925/href</a></iframe><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a6d665be4e16" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[A New Educational Model]]></title>
            <link>https://medium.com/@Selveskii/a-new-educational-model-19c1586e2d9e?source=rss-224092b24e24------2</link>
            <guid isPermaLink="false">https://medium.com/p/19c1586e2d9e</guid>
            <dc:creator><![CDATA[Liu Minsheng]]></dc:creator>
            <pubDate>Thu, 21 Aug 2014 02:39:33 GMT</pubDate>
            <atom:updated>2014-08-21T23:30:57.306Z</atom:updated>
            <content:encoded><![CDATA[<h2>一个全新的教育模型</h2><p>译者注：</p><ol><li>首先感谢 Medium 给我们<a href="https://medium.com/the-story/translate-medium-359ebb19d738">翻译的机会</a>。</li><li>本翻译不考虑与英语的一一对应，尽量保证语义传达的准确，尽可能避免翻译腔，也做了一些<a href="http://zh.wikipedia.org/zh/%E5%9B%BD%E9%99%85%E5%8C%96%E4%B8%8E%E6%9C%AC%E5%9C%B0%E5%8C%96">本地化</a>工作。如有疏漏之处，请使用 <a href="https://medium.com/about/why-medium-notes-are-different-and-how-to-use-them-well-5972c72b18f2">Notes</a> 功能提醒我。</li></ol><p><a href="http://zh.wikipedia.org/zh-cn/%E8%96%A9%E7%88%BE%E6%9B%BC%C2%B7%E5%8F%AF%E6%B1%97">萨尔曼·可汗</a>现已“恶名远扬”，他在<a href="http://www.khanacademy.org/">可汗学院</a>上的视频开启了有关如何在传统教育里借用在线学习的理念的讨论。然而，据我所见，大部分媒体都误解了他的理念，后者在他的新书<a href="http://www.amazon.cn/%E7%BF%BB%E8%BD%AC%E8%AF%BE%E5%A0%82%E7%9A%84%E5%8F%AF%E6%B1%97%E5%AD%A6%E9%99%A2-%E4%BA%92%E8%81%94%E6%97%B6%E4%BB%A3%E7%9A%84%E6%95%99%E8%82%B2%E9%9D%A9%E5%91%BD-%E8%90%A8%E5%B0%94%E6%9B%BC%C2%B7%E5%8F%AF%E6%B1%97/dp/B00KBN8Q52">《翻转课堂的可汗学院：互联时代的教育革命》</a>（“<a href="http://www.amazon.com/dp/1455508381">The One World School House: Education Reimagined</a>.”）中得到展现。诚然，技术在教育的全球送达中起到了关键作用，但技术本身只是可汗对未来想法的一小部分。</p><p>他知道，改变庞大的体系困难重重，因此他没有直接对传统教育宣战，而是在书里写了一些个人趣闻，一堂历史课，并介绍了一些能在各自领域诱发地震的可行变化。由于它们并没有受到足够的关注，我想在这里解释其中的一部分。</p><h3>抛弃等级评估体系（优，良，差），只要求学生完全掌握。</h3><p>孩子们要么理解一个概念，要么不。在特定核心概念未被理解前就允许进入下一阶段的学习，对孩子们有害无益，因为大多数情况下，这些概念是环环相扣的。除非孩子们完全掌握这些知识点（比如连续答对十题），他们不应当继续前进。</p><h3>允许不同年龄的孩子一起学习。</h3><p>不要尝试流水线式的教学，而是向孩子们提供资源，允许他们自己选择想学的知识。也就是说，允许不同年龄的孩子在一起学习、互相帮助。这样一来，大孩子们学会了如何承担责任，小孩子们则向大孩子们学习，所有人都表现的更好。</p><h3>淡化学科的边界。</h3><p>知识之间相互关联，而孩子们个个天赋不同，让他们在准备就绪后，按照自己的步伐探索未知，观察事物之间的联系。有些孩子喜欢深入技术话题，而其他孩子可能更倾向于开放式的思考与创造。</p><h3>反转课堂与课后。</h3><p>让学生在家里或其它时间观看课程。接着，将问题和“作业”带到班上来，在小伙伴和老师的帮助下解决问题。</p><h3>使用教师团队管理学习环境。</h3><p>由于在这个模型中，独立课堂已经被合并，教师们亦可“团结”起来，物理的或者通过互联网帮助其它教师。这充分利用了多样性的优势，来面对学习环境管理者这一复杂工作。此外，教师们将更像是一个帮助学生胜利的教练，而不是一个看门人。</p><h3>利用好暑假，而不是浪费它。</h3><p>每年放假两个月，学生学习的动力全没了。因此，将学生的假期积累起来，当学生需要的时候，自行休假（就像大人一样）。他们不会赶不上课程，因为每个人都按照自己的步伐学习。混合年龄、无评分等级消除了学生的心理压力。休假随时可以发生，不影响整个教育系统的运作。</p><h3>重新发明成绩单。</h3><p>除了测试，我们还需要在成绩单中加入能定性评估个人能力的东西：</p><ul><li>学生创造性工作的清单，以展现学生独立完成的工作。</li><li>跨年的关于学生学习的内容与方式的报告。</li><li>关于学生帮助他人的能力和意愿的记录。</li></ul><h3>让实习成为教育的关键部分。</h3><p>发展与当地机构的关系，让孩子们可以亲身体验到知识在真实世界的运用，挑战更复杂的问题。当学生掌握了有价值的技能之后，带薪实习甚至可以解决日益严重的教育开支问题。</p><h3>解耦教学与能力认证。</h3><p>学习和大学颁发学历并没有必然联系。不管来自大学，还是来自民间，让人获益的教育就是好教育。淡化名牌的能力认证的光环，这场教育竞赛将更加公平，学生的教育开销日益增长的势头也能得到缓解。</p><p>这些例子吸引我的地方在于它们结合知识和技能的方式。可汗展现了通过技能获得知识的途径，而不是将知识与技能当作互斥的目标看待。在他的总结里，他也提及了“创造力能否通过学习获得”这一问题。他并不假装知道答案，而是相信开放式的做法能让创造力更高效的成长。</p><p>可汗知道，没有什么放之四海而皆准的教育解决方案。他的提议主要是让我们明白，教育，亦可不同。</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=19c1586e2d9e" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>