Mindon.IDEA

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

开心,怒气和烦恼

开心:开放的心,放开的心。

怒气:基本上源于对相关不相关的人要求过多或者过高。

烦恼:大概都来自对自己过多或者过高的要求。

让心充满阳光,你才会体会到世界的美好;

让心充满好奇,你才会感受到世界的奇妙;

让心放空,你才能接收更多的幸福。

世界是丰富多彩的,未来是变幻莫测的。

宽容和感恩之心是走向未来的必备食粮。

My Next Mobile Phone and BlackBerry 10.3

Yesterday, I updated my BlackBerry Q10 Dev Device to BlackBerry OS 10.3.0.738, It was from the 10.3.0.1154 autoloader.

It’s flat styled - it looks much better.

But its camera shot method is changed to an android style, it’s bad - it’s a great part of the camera in BlackBerry 10 devices. Taking photo and its NFC are the features I enjoy everyday.

Yes, I’m using a BlackBerry mobile phone, a dev device not for sell. Last mobile phone I bought for myself is a Nokia, now it’s such a tiny one. Here they are

I’m always waitting for my next mobile phone.

iPhone? Yes, it’s a great mobile phone, but I still find no reason for it - at least there’s not enough reasons right now. Even the iPhone 6 - hmm, It’s great and with a high price and not sell in China mainland yet :)

I was planning to buy a Nexus 4, then a Moto X, then a Next 5…

Google services is blocked in mainland China.

You may say a VPN may works - but I don’t like it.

You may say a hosts with a rooted device works - But I don’t like it either.

Before a mobile device hit my heart, I will still prefer my dev version BlackBerry Q10.

I have a Nexus 7(2013) and a Kindle, they are awesome devices.

But choosing a mobile phone, I could wait.

那些恼人的尘灰

前两天台风“海鸥”的飞过,让周末刚大扫除干净的房子又满是尘灰。我们家在一栋有些老的高楼里,一到刮大风的时候就不知道哪刮出的尘灰,弄得到处都是,每次我都会想:要是有个一大的吸尘器,把整栋楼吸吸尘就好了 :p

有一定年限的房子,积尘和设计上缺陷带来的漏水问题一直是让人头大的问题,有什么技术和办法能改善一下呢?

有待探讨。

西少爷.肉夹馍,开分店啦

这个周日(Aug 23, 2014),西少爷肉夹馍望京分店要开业了。这个肉夹馍品牌今年可算是IT圈里的热门话题。主题团队均来自BAT等大公司的离职员工——他们传递出一种信息:选择的自由,奋斗的激情,学习的能力和感染的力量。

孟兵,是个我没有认识和见面之前就能感受到他行动能力的小伙子。他在T工作期间,学习和工作都异于常人地努力和拼命,而且方向很明确和坚定。

昨天微信上看到他的分店开张的消息,可以感觉到他在一步步朝着自己的目标前行,很棒!

其实写这篇日志,不是因为他的新店开张,而是因为看到“肉夹馍”几个字,有点造字的一个想法,作品是……

Seeing Is Not Always Believable

“This is an illusion that’s so good it’s hard to believe it’s an illusion. When the black and white lines disappear, it’s easy to see the rectangles are moving at constant speed. But before that they seem to be taking turns, and pausing when they reach each new line.”

The original illusion image is a gif. I cannot believe it’s a true illusion - it may be a gif animation trick. So I decided to check on the gif animation inside - frame by frame: It’s a true illusion! Amazing!

To clean your doubt. I make a interactive image for this illusion:

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.