Mindon.IDEA

Air off, Mind on ~ / Javascript+Golang, Sci, Health... /

The Programming Language: Swift

Swift是苹果公司今年推出的新编程语言。花了差不多两个星期看完iBooks里官方的《The Swift Programming Language》之后,感觉Swift简单易用的脚本式语法,灵活性,扩展性,清晰严格的规范确实是集成了很多语言的优点。

Swift + LLVM,如果再有跨平台的开发环境的话,纯从编程语言的角度来看,是具有替代C++,PYTHON,Java的强大实力。

不过现实是目前如此庞大的软件开发人群,要投入到一种新的即使是设计精良的编程语言,必然是一个长期的过程,而且需要需求的必要性来驱动。

如果Swift做不到别的语言不可替代的事情,不管语言设计本身好到什么程度,应用和推广始终会是硬伤。

愿Swift能顺利成长壮大,发挥威力! :-p

WordPress, Golang & Swift

“WordPress is web software you can use to create a beautiful website or blog. We like to say that WordPress is both free and priceless at the same time.” – wordpress.org

It’s welcomed worldwide with lots of themes and plugins to enpower its features and functions. WordPress has more than ten years history. But I setup and got into its details only at the end of June this year.

Customize one of its theme to our style, separated it into two versions - one is readonly without admin features as the live product for public, the other is the full version accessible only for internal network.

Cache, Share to facebook and sitemap.xml for SEO is also important features you cannot miss.

Make the blog online in 2 weeks, fixing bugs, improve SEO and share time to time in another 3 weeks.

Now, simple plugins, update themes, shortcode features, wordpress editor - tinymce plugin, facebook share metas … that’s what i got from the one month project with WordPress. It’s great to get such a project to get into WordPress, from its apache/nginx settings, .htaccess controls to some coding details all by myself.

激活备份的敏思日志

10年前,开始在敏思博客写日志,并在那里认识了我们家的Aby。不过后来敏思博客网站关闭,我就用一个自己写的工具把日志备份了下来。

昨天用go语言(golang)写了一个读取mht格式的程序,才发现当初备份的日志里,几乎有一半的日志对应的照片和图片没能保存成功,看来mht保存并不是那么靠谱的。还好文字都保存基本没问题。

Free Prototype Design Tools

原型设计工具推荐

Here’s some great free prototype design tools:

AXure RP

An Interactive Wireframe Software and Mockup Tool.

Axure RP gives you the wireframing, prototyping and specification tools needed to make informed design choices, persuade any skeptics, get your design built to spec… and maybe win a few fans along the way. Choose the Standard edition for prototyping or go Pro to add documentation and collaboration features.

Axure RP 是一个专业的快速原型设计工具。Axure(发音:Ack-sure),代表美国Axure公司;RP则是Rapid Prototyping(快速原型)的缩写。

Axure RP是美国Axure Software Solution公司旗舰产品,是一个专业的快速原型设计工具,让负责定义需求和规格、设计功能和界面的专家能够快速创建应用软件或Web网站的线框图、流程图、原型和规格说明文档。作为专业的原型设计工具,它能快速、高效的创建原型,同时支持多人协作设计和版本控制管理。

Origami

Origami is a free design prototyping with Quartz Composer — created by the Facebook Design team—that makes interactive design prototyping easy and doesn’t require programming.

Swift - the New iOS Language

Apple’s top secret Swift language grew from work to sustain Objective-C, which it now aims to replace

Feature By Daniel Eran Dilger

Work on Swift—Apple’s surprise new programming language unveiled at WWDC—started development four years ago in conjunction with efforts to keep Objective-C relevant. Swift now aims to quickly replace Objective-C for modern Cocoa development on iOS and OS X.

LLVM

Rather than being an entirely new “beta” idea, work on Swift started in the summer of 2010, according to the new language’s originator Chris Lattner (below), who has worked at Apple since 2005. Lattner is probably best known for LLVM, the Low Level Virtual Machine compiler infrastructure project with a wyvern dragon mascot (above).

LLVM: A new compiler for Objective-C

LLVM originated as Lattner’s research project while a student at the University of Illinois, Urbana-Champaign in 2000. It was first publicly released as version 1.0 in 2003. In 2004, Lattner was a summer intern at Microsoft Research, where he worked on the Phoenix complier infrastructure, working to allow LLVM to compile and run .NET code.

Chris Lattner

Lattner caught the attention of Apple after posting questions about Objective-C to the company’s objc-language mailing list. Apple in turn began contributing to Lattner’s LLVM open source project in 2005 and subsequently hired Lattner and began funding his work.

In 2007, the LLVM project released Clang, a front end code parser for Objective-C/C/C++ aimed to provide fast compiling with low memory use, expressive diagnostics, a modular library-based architecture, and tight integration within an IDE such as Apple’s Xcode.

关于健康,我们忘掉了什么?

当我们在争论中医还是西医更强大更有效的时候,不自觉中却忘掉了医术是为什么而生的。而身体的状态和需求,才是医术需要关注的主角。

第一次在书城看到王唯工教授的《气的乐章》已经是数年前的事情了,至今依旧印象深刻。这是难得的一部结合现代科学技术来解读传统中医原理的著作:试图解释人体身上看起来不寻常的结构和状态。《气的乐章》以心脏的博动为核心,五脏处于不同共振谐波态,之间通过共振来交互协调。

上周末看了几年前梁冬主持的《国学堂》对话王唯工教授的节目,提到了另外一本《水的漫舞》,讲述的是二氧化碳和酸水的危害。这两本书都是王唯工教授近三十余年来用现代科学实验手段通过试验和实践总结出来的成果,给现代医学的发展带来了令人鼓舞的火花。其中具体的细节和观点可能跟复杂的实际多少可能会有所偏向,也不一定就是真理。但带来的思考和对未来中医发展方向的反思确是异常宝贵的。

抛开医学的阵营,一切繁复丰富的技术和理论,如果回归到人体这个生命体本身,医术需要关注的是什么呢?