Are you over 18 and want to see adult content?
More Annotations
![Plateforme de ressources & formations pour entrepreneurs](https://www.archivebay.com/archive/dcf19844-6e81-4d3c-a974-355acf66af16.png)
Plateforme de ressources & formations pour entrepreneurs
Are you over 18 and want to see adult content?
![Top PGDM College in Hyderabad | B-School in India [AICTE Approved]](https://www.archivebay.com/archive/dccbb8c8-90db-4fed-bfd7-b9b390399265.png)
Top PGDM College in Hyderabad | B-School in India [AICTE Approved]
Are you over 18 and want to see adult content?
![Taux immobilier et consommation, informations sur le crédit](https://www.archivebay.com/archive/005891ff-f85f-42bd-a800-880ebb409fe5.png)
Taux immobilier et consommation, informations sur le crédit
Are you over 18 and want to see adult content?
![::Derrubando Gigantes::](https://www.archivebay.com/archive/b91b6634-93f8-4a58-974e-b3922c87de22.png)
::Derrubando Gigantes::
Are you over 18 and want to see adult content?
![Airsoft | Carabina de Pressão | Pistola | Chumbinho - Loja da Carabina](https://www.archivebay.com/archive/acec290f-8c91-4802-b013-fc5aa547ecbf.png)
Airsoft | Carabina de Pressão | Pistola | Chumbinho - Loja da Carabina
Are you over 18 and want to see adult content?
![دانلود آهنگ جدید ایرانی 98 - 2019 / جناب موزیک](https://www.archivebay.com/archive/92708e71-df51-40bd-af41-b497b09ce58d.png)
دانلود آهنگ جدید ایرانی 98 - 2019 / جناب موزیک
Are you over 18 and want to see adult content?
Favourite Annotations
![A complete backup of https://surescripts.com](https://www.archivebay.com/archive6/images/ba480408-0476-4bf6-8edf-cb125379f2d0.png)
A complete backup of https://surescripts.com
Are you over 18 and want to see adult content?
![A complete backup of https://ellusionist.com](https://www.archivebay.com/archive6/images/830cf375-294a-4c21-b03d-4df8afa905d1.png)
A complete backup of https://ellusionist.com
Are you over 18 and want to see adult content?
![A complete backup of https://irmscher.de](https://www.archivebay.com/archive6/images/7495efe1-1674-454e-90f4-451d843e1f31.png)
A complete backup of https://irmscher.de
Are you over 18 and want to see adult content?
![A complete backup of https://biodex.com](https://www.archivebay.com/archive6/images/80b1ac72-01e4-42e5-97e0-2d4d01eb4a13.png)
A complete backup of https://biodex.com
Are you over 18 and want to see adult content?
![A complete backup of https://casinocitytimes.com](https://www.archivebay.com/archive6/images/6fdff7bf-d628-4f33-aadd-0d4278b46b5a.png)
A complete backup of https://casinocitytimes.com
Are you over 18 and want to see adult content?
![A complete backup of https://ncalp38.com](https://www.archivebay.com/archive6/images/37b4d0c0-49e4-4788-891c-cea8cceaaa89.png)
A complete backup of https://ncalp38.com
Are you over 18 and want to see adult content?
![A complete backup of https://heretical.com](https://www.archivebay.com/archive6/images/7bb83973-114c-4990-8644-b8d336968175.png)
A complete backup of https://heretical.com
Are you over 18 and want to see adult content?
![A complete backup of https://williamsgunsight.com](https://www.archivebay.com/archive6/images/ea5a903f-483c-43d9-9cdb-9630a339f8a1.png)
A complete backup of https://williamsgunsight.com
Are you over 18 and want to see adult content?
![A complete backup of https://lovejoy-inc.com](https://www.archivebay.com/archive6/images/ef385d9f-7754-4d8f-886c-52bb51fbe1a1.png)
A complete backup of https://lovejoy-inc.com
Are you over 18 and want to see adult content?
![A complete backup of https://europoolsystem.com](https://www.archivebay.com/archive6/images/64d174ca-6fdb-4bb0-adf4-e32938be91d0.png)
A complete backup of https://europoolsystem.com
Are you over 18 and want to see adult content?
![A complete backup of https://connectadrealtime.com](https://www.archivebay.com/archive6/images/e75c3459-5aa2-4ef8-a882-30970f713373.png)
A complete backup of https://connectadrealtime.com
Are you over 18 and want to see adult content?
![A complete backup of https://joeforamerica.com](https://www.archivebay.com/archive6/images/8646f53c-a038-4130-87b9-689a19d4d6e1.png)
A complete backup of https://joeforamerica.com
Are you over 18 and want to see adult content?
Text
黄玄的博客
Dreamers among programmers. 本文首发于我的知乎专栏 The Little Programmer,转载请保留链接 ;) 有一类程序员是 visionary 型的,为了实现一些超前的 idea,绕过某些技术的限制,他们写的 code 晦涩高深得只有他们自己能懂,做出来的 tool 看上去很美好结果处处是坑出了 bugDATA REPRESENTATION
DEFINITION OF END TO END USER SCENARIOS ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 给《PWA 实战》一书写的推荐序 给《PWA 实战》一书写的推荐序. 「博文视点」邀请我给 《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。. 它在开放 Web 标准的基础之上,突破了以往 Web 应用只能b「依赖 「知乎」如何通俗地解释停机问题? 「译」ES5, ES6, ES2016, ES.NEXT: JAVASCRIPT 的版本 …TRANSLATETHIS PAGE
大家开始推动停止对旧版本 IE 浏览器的支持,用 ECMAScript 5 (ES5) 风格来编写代码也变得更加可行。. 与此同时,一个新的 ECMAScript 规范也开始启动。. 到了这时,大家开始逐渐习惯以对 ECMAScript 规范的版本支持程度来形容各种 JavaScript 实现。. 在正式被指名为 JAVASCRIPT 模块化七日谈 7月9日,我在公司内部进行了名为「JavaScript 模块化七日谈」分享,并将该 Slides 分享到了微博上。. 出乎意料地,这篇微博先后被 @JS小组 @尤小右 @寸志 等近 200 人转发,阅读达到 10w,获得了还不错的评价。. 于是,我决定将它重新发到我的博客上,并为它专门 「知乎」为什么 CSS 这么难学? 这篇文章转载自我在知乎上的回答. 对我来说,css 难学以及烦人是因为它「出乎我意料之外的复杂」且让我觉得「定位矛盾」。 @方应杭 老师的答案我赞了:css 的属性互不正交,大量的依赖与耦合难以记忆。 @顾轶灵 @王成 说得也没错:css 的很多规则是贯彻整个体系的,而且都记在规范里了,是 如何客观地评价「小程序」的体验? 不过在多体验了几个小程序之后,我觉得我应该尝试更客观的回答这个问题。. 1. 在「微信」里,小程序的 Engagement 比 Web 更好。. 这当然是毋庸置疑的,我的博客在微信里打开至今都是「非微信官方网页,继续访问将转换成手机预览模式」,然后点击「继续访问黄玄的博客
Dreamers among programmers. 本文首发于我的知乎专栏 The Little Programmer,转载请保留链接 ;) 有一类程序员是 visionary 型的,为了实现一些超前的 idea,绕过某些技术的限制,他们写的 code 晦涩高深得只有他们自己能懂,做出来的 tool 看上去很美好结果处处是坑出了 bugDATA REPRESENTATION
DEFINITION OF END TO END USER SCENARIOS ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 给《PWA 实战》一书写的推荐序 给《PWA 实战》一书写的推荐序. 「博文视点」邀请我给 《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。. 它在开放 Web 标准的基础之上,突破了以往 Web 应用只能b「依赖 「知乎」如何通俗地解释停机问题? 「译」ES5, ES6, ES2016, ES.NEXT: JAVASCRIPT 的版本 …TRANSLATETHIS PAGE
大家开始推动停止对旧版本 IE 浏览器的支持,用 ECMAScript 5 (ES5) 风格来编写代码也变得更加可行。. 与此同时,一个新的 ECMAScript 规范也开始启动。. 到了这时,大家开始逐渐习惯以对 ECMAScript 规范的版本支持程度来形容各种 JavaScript 实现。. 在正式被指名为 JAVASCRIPT 模块化七日谈 7月9日,我在公司内部进行了名为「JavaScript 模块化七日谈」分享,并将该 Slides 分享到了微博上。. 出乎意料地,这篇微博先后被 @JS小组 @尤小右 @寸志 等近 200 人转发,阅读达到 10w,获得了还不错的评价。. 于是,我决定将它重新发到我的博客上,并为它专门 「知乎」为什么 CSS 这么难学? 这篇文章转载自我在知乎上的回答. 对我来说,css 难学以及烦人是因为它「出乎我意料之外的复杂」且让我觉得「定位矛盾」。 @方应杭 老师的答案我赞了:css 的属性互不正交,大量的依赖与耦合难以记忆。 @顾轶灵 @王成 说得也没错:css 的很多规则是贯彻整个体系的,而且都记在规范里了,是 如何客观地评价「小程序」的体验? 不过在多体验了几个小程序之后,我觉得我应该尝试更客观的回答这个问题。. 1. 在「微信」里,小程序的 Engagement 比 Web 更好。. 这当然是毋庸置疑的,我的博客在微信里打开至今都是「非微信官方网页,继续访问将转换成手机预览模式」,然后点击「继续访问 「SF-QC」2 TYPECLASSES The parameter `{Show A} is a class constraint, which states that the function showOne is expected to be applied only to types A that belong to the Show class.. Concretely, this constraint should be thought of as an extra parameter to showOne supplying evidence that A is an instance of Show — i.e., it is essentially just a show function for A, which is implicitly invoked by the expression show a.「SF-LC」1 BASICS
These series of notes combined. My notes on reading Software Foundation and (if any) watching on Coq intensive.; Gotchas from my independent studies and discussion within Prof.Fluet’s class.; The .v code is a gorgeous example of literal programming and the compiled .html website is full-fledged. So this note is intended to be NOT self-contained and only focus on things I found essential or「SF-LC」4 POLY
Recall from PLT course, this is exacly Parametric Polymorphism and it’s SystemFω. the list here is a type-level small lambda, or type operators. Another things I’d love to mention is the concrete syntax of list X, it didn’t choose the SML/OCaml order but the Haskell order.. Q1. What’s the type of nil and cons?. Both having foralltype
「SF-LC」12 IMP
1 2. Theorem optimize_0plus_sound: ∀a, aeval (optimize_0plus a) = aeval a. During the proof, many cases of destruct aexp are similar! Recursive cases such as APlus, AMinus, AMult all require duplicated IH application. From Coq Intensive: when we simpl on APlus case. it’s not “simplified” but give us a pattern matching. AVOIDING SUCCESS AT ALL COST Whether or not the “cost” is a problem really depends on scenarios, or their goals. For instances, Python/JavaScript are both very expressive and beginner-friendly by being dynamically-typed, sacrifing the type safety and performance. Java, in constrast, uses a much safer and optimization-friendly type system but being much lessexpressive.
「SF-LC」2 INDUCTION Whether or not it can be just simpl. depending on the definition of orb.. In Proof Engineering, we probably won’t need to include review2 but need to include review3 in library.. Why we have simpl. but not refl.?. Proving 0 is a “neutral element” for + (additive identity) Proving 0 + n = n「SF-LC」6 LOGIC
Tactic exfalso.. If you are trying to prove a goal that is nonsensical (e.g., the goal state is false = true), apply ex_falso_quodlibet to change the goal to False.This makes it easier to use assumptions of the form ¬P that may be available in the context — in particular, assumptions of the form x≠y.. Since reasoning with ex_falso_quodlibet is quite common, Coq provides a built-in tactic「SF-PLF」6 TYPES
Typed Arithmetic Expressions (Toy Typed Language) The toy lang from SmallStep is too “safe” to demonstrate any runtime (or dynamic) type errors. – 运行时类型错误 So that’s add some operations (common church numeral ones), and bool type. same teaching order as TAPL. In PLT, we went directly to STLC.「SF-LC」11 REL
function is defined as a special kind of binary relation. 1 2. Definition partial_function {X: Type} (R: relation X) := ∀x y1 y2 : X, R x y1 → R x y2 → y1 = y2. meaning that foreach input x ∈ X, there is a unique y ∈ Y corresponded. But this only establish a partial function. because it doesn’t say anything about totality ,to
JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。DATA REPRESENTATION
「SF-QC」2 TYPECLASSESEXPLANIATION
Explaniation I know comparsions on PLs could be very controversial, but I want to make clear that this chart is intentionally biased to represent my world of view. The Y axis represents my experiences, ranging from little (🤦♂️), school-level (🙇♂️), industry-capable (👨💻),「SF-LC」8 MAPS
ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 DEFINITION OF END TO END USER SCENARIOS JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work 给《PWA 实战》一书写的推荐序 「博文视点」邀请我给《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。它在开放 Web 标准的基础之上,突破了以往 Web 应用只能 「依赖互联网分发」与「依赖浏览器为入口」的两大桎梏,一下子打开了Web 应用
JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architecture黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。DATA REPRESENTATION
「SF-QC」2 TYPECLASSESEXPLANIATION
Explaniation I know comparsions on PLs could be very controversial, but I want to make clear that this chart is intentionally biased to represent my world of view. The Y axis represents my experiences, ranging from little (🤦♂️), school-level (🙇♂️), industry-capable (👨💻),「SF-LC」8 MAPS
ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 DEFINITION OF END TO END USER SCENARIOS JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work 给《PWA 实战》一书写的推荐序 「博文视点」邀请我给《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。它在开放 Web 标准的基础之上,突破了以往 Web 应用只能 「依赖互联网分发」与「依赖浏览器为入口」的两大桎梏,一下子打开了Web 应用
JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architectureEXPLANIATION
Explaniation I know comparsions on PLs could be very controversial, but I want to make clear that this chart is intentionally biased to represent my world of view. The Y axis represents my experiences, ranging from little (🤦♂️), school-level (🙇♂️), industry-capable (👨💻), AVOIDING SUCCESS AT ALL COST Whether or not the “cost” is a problem really depends on scenarios, or their goals. For instances, Python/JavaScript are both very expressive and beginner-friendly by being dynamically-typed, sacrifing the type safety and performance. Java, in constrast, uses a much safer and optimization-friendly type system but being much lessexpressive.
「SF-LC」1 BASICS
These series of notes combined. My notes on reading Software Foundation and (if any) watching on Coq intensive.; Gotchas from my independent studies and discussion within Prof.Fluet’s class.; The .v code is a gorgeous example of literal programming and the compiled .html website is full-fledged. So this note is intended to be NOT self-contained and only focus on things I found essential or HOW DOES SW-PRECACHE WORKS? sw-precache.js is the main entry of the module. It reads the configuration, processes parameters, populates the service-worker.tmpl template and writes the result into specified file. Andfunctions.js is just a module containing bunch of external functions which would be all injected into the generated service worker file as helpers.. Since the end effect of sw-precache is performed by the 「SF-LC」9 PROOFOBJECTS Notice that we terminate the Definition with a . rather than with := followed by a term. This tells Coq to enter proof scripting mode (w/o Proof., which did nothing). Also, we terminate the proof with Defined rather than Qed; this makes the definition transparent so that it can be used in computation like a normally-defined function (Qed-defined objects are opaque during computation.).「SF-LC」12 IMP
1 2. Theorem optimize_0plus_sound: ∀a, aeval (optimize_0plus a) = aeval a. During the proof, many cases of destruct aexp are similar! Recursive cases such as APlus, AMinus, AMult all require duplicated IH application. From Coq Intensive: when we simpl on APlus case. it’s not “simplified” but give us a pattern matching.「SF-PLF」6 TYPES
Typed Arithmetic Expressions (Toy Typed Language) The toy lang from SmallStep is too “safe” to demonstrate any runtime (or dynamic) type errors. – 运行时类型错误 So that’s add some operations (common church numeral ones), and bool type. same teaching order as TAPL. In PLT, we went directly to STLC.「SF-LC」6 LOGIC
Tactic exfalso.. If you are trying to prove a goal that is nonsensical (e.g., the goal state is false = true), apply ex_falso_quodlibet to change the goal to False.This makes it easier to use assumptions of the form ¬P that may be available in the context — in particular, assumptions of the form x≠y.. Since reasoning with ex_falso_quodlibet is quite common, Coq provides a built-in tactic CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「SF-PLF」5 SMALLSTEP Recall Big-step Pros & Cons Big-step. 一步到位 : eval to its final value (plus final store) Pros - natural (so called natural semantics), “all in one big step” Cons - not catch the essence of how program behave. 大步语义只是一个 程序 ↦ 结果 这样的 pair 集合,而「如何一步步处理」才是程序「执行」的本质. not just input state get mapped to output黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。DATA REPRESENTATION
「SF-QC」2 TYPECLASSESEXPLANIATION
Explaniation I know comparsions on PLs could be very controversial, but I want to make clear that this chart is intentionally biased to represent my world of view. The Y axis represents my experiences, ranging from little (🤦♂️), school-level (🙇♂️), industry-capable (👨💻),「SF-LC」8 MAPS
ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 DEFINITION OF END TO END USER SCENARIOS JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work 给《PWA 实战》一书写的推荐序 「博文视点」邀请我给《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。它在开放 Web 标准的基础之上,突破了以往 Web 应用只能 「依赖互联网分发」与「依赖浏览器为入口」的两大桎梏,一下子打开了Web 应用
JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architecture黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。DATA REPRESENTATION
「SF-QC」2 TYPECLASSESEXPLANIATION
Explaniation I know comparsions on PLs could be very controversial, but I want to make clear that this chart is intentionally biased to represent my world of view. The Y axis represents my experiences, ranging from little (🤦♂️), school-level (🙇♂️), industry-capable (👨💻),「SF-LC」8 MAPS
ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 DEFINITION OF END TO END USER SCENARIOS JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work 给《PWA 实战》一书写的推荐序 「博文视点」邀请我给《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。它在开放 Web 标准的基础之上,突破了以往 Web 应用只能 「依赖互联网分发」与「依赖浏览器为入口」的两大桎梏,一下子打开了Web 应用
JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architectureEXPLANIATION
Explaniation I know comparsions on PLs could be very controversial, but I want to make clear that this chart is intentionally biased to represent my world of view. The Y axis represents my experiences, ranging from little (🤦♂️), school-level (🙇♂️), industry-capable (👨💻), AVOIDING SUCCESS AT ALL COST Whether or not the “cost” is a problem really depends on scenarios, or their goals. For instances, Python/JavaScript are both very expressive and beginner-friendly by being dynamically-typed, sacrifing the type safety and performance. Java, in constrast, uses a much safer and optimization-friendly type system but being much lessexpressive.
「SF-LC」1 BASICS
These series of notes combined. My notes on reading Software Foundation and (if any) watching on Coq intensive.; Gotchas from my independent studies and discussion within Prof.Fluet’s class.; The .v code is a gorgeous example of literal programming and the compiled .html website is full-fledged. So this note is intended to be NOT self-contained and only focus on things I found essential or HOW DOES SW-PRECACHE WORKS? sw-precache.js is the main entry of the module. It reads the configuration, processes parameters, populates the service-worker.tmpl template and writes the result into specified file. Andfunctions.js is just a module containing bunch of external functions which would be all injected into the generated service worker file as helpers.. Since the end effect of sw-precache is performed by the 「SF-LC」9 PROOFOBJECTS Notice that we terminate the Definition with a . rather than with := followed by a term. This tells Coq to enter proof scripting mode (w/o Proof., which did nothing). Also, we terminate the proof with Defined rather than Qed; this makes the definition transparent so that it can be used in computation like a normally-defined function (Qed-defined objects are opaque during computation.).「SF-LC」12 IMP
1 2. Theorem optimize_0plus_sound: ∀a, aeval (optimize_0plus a) = aeval a. During the proof, many cases of destruct aexp are similar! Recursive cases such as APlus, AMinus, AMult all require duplicated IH application. From Coq Intensive: when we simpl on APlus case. it’s not “simplified” but give us a pattern matching.「SF-PLF」6 TYPES
Typed Arithmetic Expressions (Toy Typed Language) The toy lang from SmallStep is too “safe” to demonstrate any runtime (or dynamic) type errors. – 运行时类型错误 So that’s add some operations (common church numeral ones), and bool type. same teaching order as TAPL. In PLT, we went directly to STLC.「SF-LC」6 LOGIC
Tactic exfalso.. If you are trying to prove a goal that is nonsensical (e.g., the goal state is false = true), apply ex_falso_quodlibet to change the goal to False.This makes it easier to use assumptions of the form ¬P that may be available in the context — in particular, assumptions of the form x≠y.. Since reasoning with ex_falso_quodlibet is quite common, Coq provides a built-in tactic CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「SF-PLF」5 SMALLSTEP Recall Big-step Pros & Cons Big-step. 一步到位 : eval to its final value (plus final store) Pros - natural (so called natural semantics), “all in one big step” Cons - not catch the essence of how program behave. 大步语义只是一个 程序 ↦ 结果 这样的 pair 集合,而「如何一步步处理」才是程序「执行」的本质. not just input state get mapped to output黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。DATA REPRESENTATION
ABOUT - 黄玄的博客 关于程序与设计、黑客与画家 | 黄玄,Web & Mobile Lover,Software Engineer,UX Designer | 这里是 @Hux黄玄 的个人博客,与你一起发现更大的世界。 ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 DEFINITION OF END TO END USER SCENARIOS JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work HUX - AIRCRAFTTRANSLATE THIS PAGE 游戏结束. restart 给《PWA 实战》一书写的推荐序 给《PWA 实战》一书写的推荐序. 「博文视点」邀请我给 《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。. 它在开放 Web 标准的基础之上,突破了以往 Web 应用只能b「依赖 下一代 WEB 应用模型 —— PROGRESSIVE WEB APP今年 9
月份的时候,《程序员》杂志社就邀请我写一篇关于 PWA 的文章。后来花式拖稿,拖过了 10 月的 QCon,11 月的 GDG DevFest,终于在 12 月把这篇长文熬了出来。几次分享的不成熟,这次的结构算是比较满意了。「 可能是目前中文世界里对 PWA 最全面详细的长文了」,希望你能喜欢。 本文首发于CSDN
JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architecture黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。DATA REPRESENTATION
ABOUT - 黄玄的博客 关于程序与设计、黑客与画家 | 黄玄,Web & Mobile Lover,Software Engineer,UX Designer | 这里是 @Hux黄玄 的个人博客,与你一起发现更大的世界。 ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 DEFINITION OF END TO END USER SCENARIOS JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work HUX - AIRCRAFTTRANSLATE THIS PAGE 游戏结束. restart 给《PWA 实战》一书写的推荐序 给《PWA 实战》一书写的推荐序. 「博文视点」邀请我给 《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。. 它在开放 Web 标准的基础之上,突破了以往 Web 应用只能b「依赖 下一代 WEB 应用模型 —— PROGRESSIVE WEB APP今年 9
月份的时候,《程序员》杂志社就邀请我写一篇关于 PWA 的文章。后来花式拖稿,拖过了 10 月的 QCon,11 月的 GDG DevFest,终于在 12 月把这篇长文熬了出来。几次分享的不成熟,这次的结构算是比较满意了。「 可能是目前中文世界里对 PWA 最全面详细的长文了」,希望你能喜欢。 本文首发于CSDN
JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architecture 「SF-QC」2 TYPECLASSES The parameter `{Show A} is a class constraint, which states that the function showOne is expected to be applied only to types A that belong to the Show class.. Concretely, this constraint should be thought of as an extra parameter to showOne supplying evidence that A is an instance of Show — i.e., it is essentially just a show function for A, which is implicitly invoked by the expression show a.「SF-LC」1 BASICS
These series of notes combined. My notes on reading Software Foundation and (if any) watching on Coq intensive.; Gotchas from my independent studies and discussion within Prof.Fluet’s class.; The .v code is a gorgeous example of literal programming and the compiled .html website is full-fledged. So this note is intended to be NOT self-contained and only focus on things I found essential or「SF-LC」4 POLY
Recall from PLT course, this is exacly Parametric Polymorphism and it’s SystemFω. the list here is a type-level small lambda, or type operators. Another things I’d love to mention is the concrete syntax of list X, it didn’t choose the SML/OCaml order but the Haskell order.. Q1. What’s the type of nil and cons?. Both having foralltype
MY SPACEMACS WORKFLOW My Spacemacs Workflow. Emacs tend to provide a good support for functional programming languages. Indeed, many FP language community exclusively use Emacs and give only first-party IDE supports to Emacs, such as Coq, Agda, Standard ML, Clojure, etc. For the purpose of programming Coq with Proof General, I started to try with Emacs.「SF-LC」12 IMP
1 2. Theorem optimize_0plus_sound: ∀a, aeval (optimize_0plus a) = aeval a. During the proof, many cases of destruct aexp are similar! Recursive cases such as APlus, AMinus, AMult all require duplicated IH application. From Coq Intensive: when we simpl on APlus case. it’s not “simplified” but give us a pattern matching. AVOIDING SUCCESS AT ALL COST Whether or not the “cost” is a problem really depends on scenarios, or their goals. For instances, Python/JavaScript are both very expressive and beginner-friendly by being dynamically-typed, sacrifing the type safety and performance. Java, in constrast, uses a much safer and optimization-friendly type system but being much lessexpressive.
HOW DOES SW-PRECACHE WORKS? sw-precache.js is the main entry of the module. It reads the configuration, processes parameters, populates the service-worker.tmpl template and writes the result into specified file. Andfunctions.js is just a module containing bunch of external functions which would be all injected into the generated service worker file as helpers.. Since the end effect of sw-precache is performed by the 「SF-LC」2 INDUCTION Whether or not it can be just simpl. depending on the definition of orb.. In Proof Engineering, we probably won’t need to include review2 but need to include review3 in library.. Why we have simpl. but not refl.?. Proving 0 is a “neutral element” for + (additive identity) Proving 0 + n = nPWA-IN-MY-POV
1. They progressively become “apps”. 2. it’s also possible to build this performance in as progressive enhancement. Is an umbrella term. For modern, performant web apps that cleverly take advantage of technologies to provide a top-tier experience on mobile. Deliver an app-like UX. Native app store apps do things like send push CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。 「SF-QC」2 TYPECLASSES DEFINITION OF END TO END USER SCENARIOS ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work HUX - AIRCRAFTTRANSLATE THIS PAGE 游戏结束. restart 给《PWA 实战》一书写的推荐序 给《PWA 实战》一书写的推荐序. 「博文视点」邀请我给 《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。. 它在开放 Web 标准的基础之上,突破了以往 Web 应用只能b「依赖 CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「知乎」如何通俗地解释停机问题?JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architecture黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。 「SF-QC」2 TYPECLASSES DEFINITION OF END TO END USER SCENARIOS ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work HUX - AIRCRAFTTRANSLATE THIS PAGE 游戏结束. restart 给《PWA 实战》一书写的推荐序 给《PWA 实战》一书写的推荐序. 「博文视点」邀请我给 《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。. 它在开放 Web 标准的基础之上,突破了以往 Web 应用只能b「依赖 CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「知乎」如何通俗地解释停机问题?JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architectureDATA REPRESENTATION
Data Representation - Integer. Integers, or whole number from elemental mathematics, are the most common and fundamental numbers used in the computers. It’s represented as fixed-point numbers, contrast to floating-point numbers in the machine. Today we are going to learn a whole bunch of way to encode it. There are mainly twoproperties to
DATA REPRESENTATION
The sign part took 1 bit to indicate the sign of the floats. (0 for + and 1 for -.This is the same treatment as the sign magnitute.; The exponent part took 8 bits and used offset-binary (biased) form to represent a signed integer. It’s a variant form since it took out the -127 (all 0s) for zero and +128 (all 1s) for non-numbers, thus it ranges only instead of . 「SF-QC」2 TYPECLASSES The parameter `{Show A} is a class constraint, which states that the function showOne is expected to be applied only to types A that belong to the Show class.. Concretely, this constraint should be thought of as an extra parameter to showOne supplying evidence that A is an instance of Show — i.e., it is essentially just a show function for A, which is implicitly invoked by the expression show a. ABOUT - 黄玄的博客 关于程序与设计、黑客与画家 | 黄玄,Web & Mobile Lover,Software Engineer,UX Designer | 这里是 @Hux黄玄 的个人博客,与你一起发现更大的世界。 AVOIDING SUCCESS AT ALL COST Whether or not the “cost” is a problem really depends on scenarios, or their goals. For instances, Python/JavaScript are both very expressive and beginner-friendly by being dynamically-typed, sacrifing the type safety and performance. Java, in constrast, uses a much safer and optimization-friendly type system but being much lessexpressive.
PWA-IN-MY-POV
“Progressive Web Apps” Deliver an app-like UX. Native app store apps do things like send push notifications, work offline, look and feel like an app, load on the homescreen, and so on and so forth. CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「SF-PLF」5 SMALLSTEP Recall Big-step Pros & Cons Big-step. 一步到位 : eval to its final value (plus final store) Pros - natural (so called natural semantics), “all in one big step” Cons - not catch the essence of how program behave. 大步语义只是一个 程序 ↦ 结果 这样的 pair 集合,而「如何一步步处理」才是程序「执行」的本质. not just input state get mapped to output PROGRESSIVE WEB APPS @QCON2016 "New open standards created in the mobile era, such as HTML5, will win on mobile devices." (2010)SERVICE WORKER 101
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architecture黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。 「SF-QC」2 TYPECLASSES DEFINITION OF END TO END USER SCENARIOS ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work HUX - AIRCRAFTTRANSLATE THIS PAGE 游戏结束. restart 给《PWA 实战》一书写的推荐序 给《PWA 实战》一书写的推荐序. 「博文视点」邀请我给 《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。. 它在开放 Web 标准的基础之上,突破了以往 Web 应用只能b「依赖 CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「知乎」如何通俗地解释停机问题?JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architecture黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。 「SF-QC」2 TYPECLASSES DEFINITION OF END TO END USER SCENARIOS ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work HUX - AIRCRAFTTRANSLATE THIS PAGE 游戏结束. restart 给《PWA 实战》一书写的推荐序 给《PWA 实战》一书写的推荐序. 「博文视点」邀请我给 《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。. 它在开放 Web 标准的基础之上,突破了以往 Web 应用只能b「依赖 CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「知乎」如何通俗地解释停机问题?JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architectureDATA REPRESENTATION
Data Representation - Integer. Integers, or whole number from elemental mathematics, are the most common and fundamental numbers used in the computers. It’s represented as fixed-point numbers, contrast to floating-point numbers in the machine. Today we are going to learn a whole bunch of way to encode it. There are mainly twoproperties to
DATA REPRESENTATION
The sign part took 1 bit to indicate the sign of the floats. (0 for + and 1 for -.This is the same treatment as the sign magnitute.; The exponent part took 8 bits and used offset-binary (biased) form to represent a signed integer. It’s a variant form since it took out the -127 (all 0s) for zero and +128 (all 1s) for non-numbers, thus it ranges only instead of . 「SF-QC」2 TYPECLASSES The parameter `{Show A} is a class constraint, which states that the function showOne is expected to be applied only to types A that belong to the Show class.. Concretely, this constraint should be thought of as an extra parameter to showOne supplying evidence that A is an instance of Show — i.e., it is essentially just a show function for A, which is implicitly invoked by the expression show a. ABOUT - 黄玄的博客 关于程序与设计、黑客与画家 | 黄玄,Web & Mobile Lover,Software Engineer,UX Designer | 这里是 @Hux黄玄 的个人博客,与你一起发现更大的世界。 AVOIDING SUCCESS AT ALL COST Whether or not the “cost” is a problem really depends on scenarios, or their goals. For instances, Python/JavaScript are both very expressive and beginner-friendly by being dynamically-typed, sacrifing the type safety and performance. Java, in constrast, uses a much safer and optimization-friendly type system but being much lessexpressive.
PWA-IN-MY-POV
“Progressive Web Apps” Deliver an app-like UX. Native app store apps do things like send push notifications, work offline, look and feel like an app, load on the homescreen, and so on and so forth. CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「SF-PLF」5 SMALLSTEP Recall Big-step Pros & Cons Big-step. 一步到位 : eval to its final value (plus final store) Pros - natural (so called natural semantics), “all in one big step” Cons - not catch the essence of how program behave. 大步语义只是一个 程序 ↦ 结果 这样的 pair 集合,而「如何一步步处理」才是程序「执行」的本质. not just input state get mapped to output PROGRESSIVE WEB APPS @QCON2016 "New open standards created in the mobile era, such as HTML5, will win on mobile devices." (2010)SERVICE WORKER 101
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architecture黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。 「SF-QC」2 TYPECLASSES DEFINITION OF END TO END USER SCENARIOS ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work HUX - AIRCRAFTTRANSLATE THIS PAGE 游戏结束. restart 给《PWA 实战》一书写的推荐序 给《PWA 实战》一书写的推荐序. 「博文视点」邀请我给 《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。. 它在开放 Web 标准的基础之上,突破了以往 Web 应用只能b「依赖 CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「知乎」如何通俗地解释停机问题?JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architecture黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。 「SF-QC」2 TYPECLASSES DEFINITION OF END TO END USER SCENARIOS ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work HUX - AIRCRAFTTRANSLATE THIS PAGE 游戏结束. restart 给《PWA 实战》一书写的推荐序 给《PWA 实战》一书写的推荐序. 「博文视点」邀请我给 《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。. 它在开放 Web 标准的基础之上,突破了以往 Web 应用只能b「依赖 CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「知乎」如何通俗地解释停机问题?JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architectureDATA REPRESENTATION
Data Representation - Integer. Integers, or whole number from elemental mathematics, are the most common and fundamental numbers used in the computers. It’s represented as fixed-point numbers, contrast to floating-point numbers in the machine. Today we are going to learn a whole bunch of way to encode it. There are mainly twoproperties to
DATA REPRESENTATION
The sign part took 1 bit to indicate the sign of the floats. (0 for + and 1 for -.This is the same treatment as the sign magnitute.; The exponent part took 8 bits and used offset-binary (biased) form to represent a signed integer. It’s a variant form since it took out the -127 (all 0s) for zero and +128 (all 1s) for non-numbers, thus it ranges only instead of . 「SF-QC」2 TYPECLASSES The parameter `{Show A} is a class constraint, which states that the function showOne is expected to be applied only to types A that belong to the Show class.. Concretely, this constraint should be thought of as an extra parameter to showOne supplying evidence that A is an instance of Show — i.e., it is essentially just a show function for A, which is implicitly invoked by the expression show a. ABOUT - 黄玄的博客 关于程序与设计、黑客与画家 | 黄玄,Web & Mobile Lover,Software Engineer,UX Designer | 这里是 @Hux黄玄 的个人博客,与你一起发现更大的世界。 AVOIDING SUCCESS AT ALL COST Whether or not the “cost” is a problem really depends on scenarios, or their goals. For instances, Python/JavaScript are both very expressive and beginner-friendly by being dynamically-typed, sacrifing the type safety and performance. Java, in constrast, uses a much safer and optimization-friendly type system but being much lessexpressive.
PWA-IN-MY-POV
“Progressive Web Apps” Deliver an app-like UX. Native app store apps do things like send push notifications, work offline, look and feel like an app, load on the homescreen, and so on and so forth. CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「SF-PLF」5 SMALLSTEP Recall Big-step Pros & Cons Big-step. 一步到位 : eval to its final value (plus final store) Pros - natural (so called natural semantics), “all in one big step” Cons - not catch the essence of how program behave. 大步语义只是一个 程序 ↦ 结果 这样的 pair 集合,而「如何一步步处理」才是程序「执行」的本质. not just input state get mapped to output PROGRESSIVE WEB APPS @QCON2016 "New open standards created in the mobile era, such as HTML5, will win on mobile devices." (2010)SERVICE WORKER 101
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architecture黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。 「SF-QC」2 TYPECLASSES DEFINITION OF END TO END USER SCENARIOS ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work HUX - AIRCRAFTTRANSLATE THIS PAGE 游戏结束. restart 给《PWA 实战》一书写的推荐序 给《PWA 实战》一书写的推荐序. 「博文视点」邀请我给 《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。. 它在开放 Web 标准的基础之上,突破了以往 Web 应用只能b「依赖 CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「知乎」如何通俗地解释停机问题?JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architecture黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。 「SF-QC」2 TYPECLASSES DEFINITION OF END TO END USER SCENARIOS ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work HUX - AIRCRAFTTRANSLATE THIS PAGE 游戏结束. restart 给《PWA 实战》一书写的推荐序 给《PWA 实战》一书写的推荐序. 「博文视点」邀请我给 《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。. 它在开放 Web 标准的基础之上,突破了以往 Web 应用只能b「依赖 CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「知乎」如何通俗地解释停机问题?JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architectureDATA REPRESENTATION
Data Representation - Integer. Integers, or whole number from elemental mathematics, are the most common and fundamental numbers used in the computers. It’s represented as fixed-point numbers, contrast to floating-point numbers in the machine. Today we are going to learn a whole bunch of way to encode it. There are mainly twoproperties to
DATA REPRESENTATION
The sign part took 1 bit to indicate the sign of the floats. (0 for + and 1 for -.This is the same treatment as the sign magnitute.; The exponent part took 8 bits and used offset-binary (biased) form to represent a signed integer. It’s a variant form since it took out the -127 (all 0s) for zero and +128 (all 1s) for non-numbers, thus it ranges only instead of . 「SF-QC」2 TYPECLASSES The parameter `{Show A} is a class constraint, which states that the function showOne is expected to be applied only to types A that belong to the Show class.. Concretely, this constraint should be thought of as an extra parameter to showOne supplying evidence that A is an instance of Show — i.e., it is essentially just a show function for A, which is implicitly invoked by the expression show a. ABOUT - 黄玄的博客 关于程序与设计、黑客与画家 | 黄玄,Web & Mobile Lover,Software Engineer,UX Designer | 这里是 @Hux黄玄 的个人博客,与你一起发现更大的世界。 AVOIDING SUCCESS AT ALL COST Whether or not the “cost” is a problem really depends on scenarios, or their goals. For instances, Python/JavaScript are both very expressive and beginner-friendly by being dynamically-typed, sacrifing the type safety and performance. Java, in constrast, uses a much safer and optimization-friendly type system but being much lessexpressive.
PWA-IN-MY-POV
“Progressive Web Apps” Deliver an app-like UX. Native app store apps do things like send push notifications, work offline, look and feel like an app, load on the homescreen, and so on and so forth. CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「SF-PLF」5 SMALLSTEP Recall Big-step Pros & Cons Big-step. 一步到位 : eval to its final value (plus final store) Pros - natural (so called natural semantics), “all in one big step” Cons - not catch the essence of how program behave. 大步语义只是一个 程序 ↦ 结果 这样的 pair 集合,而「如何一步步处理」才是程序「执行」的本质. not just input state get mapped to output PROGRESSIVE WEB APPS @QCON2016 "New open standards created in the mobile era, such as HTML5, will win on mobile devices." (2010)SERVICE WORKER 101
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architecture黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。 「SF-QC」2 TYPECLASSES DEFINITION OF END TO END USER SCENARIOS ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work HUX - AIRCRAFTTRANSLATE THIS PAGE 游戏结束. restart 给《PWA 实战》一书写的推荐序 给《PWA 实战》一书写的推荐序. 「博文视点」邀请我给 《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。. 它在开放 Web 标准的基础之上,突破了以往 Web 应用只能b「依赖 CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「知乎」如何通俗地解释停机问题?JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architecture黄玄的博客
该回答在知乎问题「如何评价上海交通大学 18 级计算机系第一名「迟先生」的言论?」 下无原因被夹。 询问我的「专属小管家」多次后仍然给不出任何原因与具体修改意见,自己多次尝试小幅修改无果,干脆直接将原文发上来吧。 「SF-QC」2 TYPECLASSES DEFINITION OF END TO END USER SCENARIOS ARCHIVE - 黄玄的博客 Archive. Show All 82 笔记 42 Coq 36 SF (软件基础) 36 Web 20 PLF (编程语言基础) 19 LF (逻辑基础) 16 知乎 10 PWA 7 UX/UI 7 产品 6 JavaScript 4 Slides 4 基础 3 生活 3 译 3 阿里 3 🇬🇧 3 C 3 C++ 3 Vim 3 被夹 2 计算机科学 2 计算理论 2 CSS 2 Wechat 2 hUX 随想录 2 CS Idols 1 Emacs 1 Facebook 1 Flash 1 JAVASCRIPT MODULARIZATION JOURNEY Slides: JavaScript Modularization Journey. force highlight.js work HUX - AIRCRAFTTRANSLATE THIS PAGE 游戏结束. restart 给《PWA 实战》一书写的推荐序 给《PWA 实战》一书写的推荐序. 「博文视点」邀请我给 《PWA实战:面向下一代的Progressive Web APP》 写的推荐序。. Progressive Web App 是继 Ajax、响应式设计、HTML5 之后,web 平台的又一次革命性突破。. 它在开放 Web 标准的基础之上,突破了以往 Web 应用只能b「依赖 CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「知乎」如何通俗地解释停机问题?JSCONFCN2017
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architectureDATA REPRESENTATION
Data Representation - Integer. Integers, or whole number from elemental mathematics, are the most common and fundamental numbers used in the computers. It’s represented as fixed-point numbers, contrast to floating-point numbers in the machine. Today we are going to learn a whole bunch of way to encode it. There are mainly twoproperties to
DATA REPRESENTATION
The sign part took 1 bit to indicate the sign of the floats. (0 for + and 1 for -.This is the same treatment as the sign magnitute.; The exponent part took 8 bits and used offset-binary (biased) form to represent a signed integer. It’s a variant form since it took out the -127 (all 0s) for zero and +128 (all 1s) for non-numbers, thus it ranges only instead of . 「SF-QC」2 TYPECLASSES The parameter `{Show A} is a class constraint, which states that the function showOne is expected to be applied only to types A that belong to the Show class.. Concretely, this constraint should be thought of as an extra parameter to showOne supplying evidence that A is an instance of Show — i.e., it is essentially just a show function for A, which is implicitly invoked by the expression show a. ABOUT - 黄玄的博客 关于程序与设计、黑客与画家 | 黄玄,Web & Mobile Lover,Software Engineer,UX Designer | 这里是 @Hux黄玄 的个人博客,与你一起发现更大的世界。 AVOIDING SUCCESS AT ALL COST Whether or not the “cost” is a problem really depends on scenarios, or their goals. For instances, Python/JavaScript are both very expressive and beginner-friendly by being dynamically-typed, sacrifing the type safety and performance. Java, in constrast, uses a much safer and optimization-friendly type system but being much lessexpressive.
PWA-IN-MY-POV
“Progressive Web Apps” Deliver an app-like UX. Native app store apps do things like send push notifications, work offline, look and feel like an app, load on the homescreen, and so on and so forth. CSS STILL SUCKS 2015 Slides: CSS still sucks 2015, and how we try to work around it 「SF-PLF」5 SMALLSTEP Recall Big-step Pros & Cons Big-step. 一步到位 : eval to its final value (plus final store) Pros - natural (so called natural semantics), “all in one big step” Cons - not catch the essence of how program behave. 大步语义只是一个 程序 ↦ 结果 这样的 pair 集合,而「如何一步步处理」才是程序「执行」的本质. not just input state get mapped to output PROGRESSIVE WEB APPS @QCON2016 "New open standards created in the mobile era, such as HTML5, will win on mobile devices." (2010)SERVICE WORKER 101
HTTP caching Race Condition. Unrecoverable Errors (Cache the manifest). Success only If ALL resources are cached. Not a Progressive Enhancement. Caching Dynamic Contents needs hack & re-architecture Toggle navigation Hux Blog* Home
* About
* Archive
HUX BLOG
我干了什么 究竟拿了时间换了什么PETER JOHN LANDIN
「计算机科学偶像」- 彼得·约翰·兰丁 wiki 维基 I was long curious about how does λ calculus become the foundation of formalizaing programming languages. It’s strange that I haven’t look u... Posted by Hux on September 13, 2019 ------------------------- MY SPACEMACS WORKFLOW FROM VIM TO SPACEMACS Emacs tend to provide a good support for functional programming languages. Indeed, many FP language community exclusively use Emacs and give only first-party IDE supports to Emacs, such as Coq, Agd... Posted by Hux on September 8, 2019 ------------------------- 把「终端下的 VIM」作为 MACOS FINDER 的打开方式 OPEN FILE WITH TERMINAL VIM FROM THE MACOS FINDER 我的日常主力编辑器主要是: (Neo)Vim Spacemacs (via Emacs-plus) Visual Studio Code IntelliJ IDEA 这里面只有 (Neo)Vim 是存活在终端中的(我并不在终端内使用 Emacs),而由于我日常主要是从终端(via iTerm)来使用电脑,所以会把他们都加入到 $PATH 里以方便从终端中唤起,VSCo... Posted by Hux on September 3, 2019 ------------------------- VIM 与中文输入法 USING VIM WITH NON-ENGLISH INPUT METHOD Update: 我最后还是放弃把 Vim 作为主要编辑器来输入中文了,整体使用下来 mentalmodel 的 cost
太重了。记笔记时用用中文呀或者改改博客时偶尔用一下还蛮去,这个时候这个功能至少能帮助 Esc 之后不煞笔,所以也不算完全没有价值吧…… 我相信很多中文世界的 Vimer 都遇到过这个烦恼,在vim 的 insert
模式时可能突然想输个中文,输完之后会本能的... Posted by Hux on October 6, 2018 ------------------------- AVOIDING SUCCESS AT ALL COST WATCHING "ESCAPE FROM THE IVORY TOWER: THE HASKELL JOURNEY" “Avoiding success at all cost” is the informal motto behinds Haskell. It could be parenthesized in two ways, either “Avoiding (success at all cost)” or “(Avoiding sucess) (at all cost)”. I’m not going to interpret them directly but rather to share some thoughts on “the success vs. costs” basing ... Posted by Hux on September 27, 2018 ------------------------- 程序员中的梦想家 DREAMERS AMONG PROGRAMMERS 本文首发于我的知乎专栏 The Little Programmer,转载请保留链接 ;) 有一类程序员是 visionary 型的,为了实现一些超前的 idea,绕过某些技术的限制,他们写的 code 晦涩高深得只有他们自己能懂,做出来的 tool 看上去很美好结果处处是坑出了 bug 根本没法查,但正是这类人不断创造出新的东西,在洗礼之后成为一个个 big thing。 我每周... Posted by Hux on June 30, 2018 ------------------------- 「知乎」如何证明不可计算的函数比可计算的函数多? WHY IS THERE MORE UNCOMPUTABLE FUNCTIONS? 这篇文章转载自我在知乎上的回答 严谨的证明的话,可以使用「形式语言」(Formal language)来证明: 在可计算理论和计算复杂度理论中,每个「计算问题」都被描述为一个一个「形式语言」,即字符串的集合。比如对于判断一个图是否是无向连通图这个问题:我们可以写为一个描述所有无向连通图的集合: 由于图灵机只能接受字符串,所以这里的尖括号表示对图的「编码」。出于简单,我们全部... Posted by Hux on December 12, 2017 ------------------------- 「知乎」如何通俗地解释停机问题? HOW TO EXPLAIN THE HALTING PROBLEM? 这篇文章转载自我在知乎上的回答 我用 Python 伪代码来解释下,我觉得对这个问题有兴趣的应该都是有点编程基础的,所以直接上 code 应该是最容易的。 背景知识 「停机问题」研究的是:是否存在一个「程序」,能够判断另外一个「程序」在特定的「输入」下,是会给出结果(停机),还是会无限执行下去(不停机)。 在下文中,我们用「函数」来表示「程序」,「函数返回」即表示给出了结果。... Posted by Hux on December 12, 2017 ------------------------- 「知乎」为什么 CSS 这么难学? WHY I DISLIKE CSS AS A PROGRAMMING LANGUAGE 这篇文章转载自我在知乎上的回答 对我来说,CSS 难学以及烦人是因为它「出乎我意料之外的复杂」且让我觉得「定位矛盾」。 @方应杭 老师的答案我赞了:CSS 的属性互不正交,大量的依赖与耦合难以记忆。 @顾轶灵 @王成 说得也没错:CSS 的很多规则是贯彻整个体系的,而且都记在规范里了,是有规律的,你应该好好读文档而不是去瞎试。 「CSS是一门正儿八经的编程语言,请拿出你学C+... Posted by Hux on October 6, 2017 ------------------------- FAREWELL, FLASH. 感谢你,但这一次是真正的永别。 SO LONG, AND THANKS FOR ALL THE FLASH 本文首发于我的知乎专栏 The Little Programmer,转载请保留链接 ;) 一年半前,我曾和 Flash 作过一次告别。那一次,Adobe Flash Professional CC 被重新命名为了 Adobe Animate CC,宣告着 Flash 作为一个创作工具走到了尽头。 而今天,通过 Chromium 博客 So long, and thanks f... Posted by Hux on July 26, 2017 -------------------------* Older Posts →
FEATURED TAGS
知乎 笔记
Coq SF
(软件基础)
PLF
(编程语言基础) Web LF (逻辑基础)UX/UI
产品 PWA
JavaScript Slides
生活 译
阿里
🇬🇧 Vim
计算机科学
计算理论 CSS
Wechat hUX 随想录 -------------------------ABOUT ME
For the next quantum leap 离开世界之前,一切都是过程* __ __
* __ _知_
* __ __
* __ __
-------------------------FRIENDS
* 乱序
* Sherry Wu
* Luke 的自留地
* Ebn's Blog
* SmdCn's Blog
* JiyinYiyong
* David's Game
* DHong Say
* 尹峰以为
* __ __
* __ _知_
* __ __
* __ __
Copyright © Hux Blog 2020 Powered by Hux Blog |Details
Copyright © 2024 ArchiveBay.com. All rights reserved. Terms of Use | Privacy Policy | DMCA | 2021 | Feedback | Advertising | RSS 2.0