21/09/2016 – Moody Chart Checker – 莫迪图查询器

(English version follows Chinese Part)

这个学期在上空气动力学这门课,其中很多计算涉及到查询莫迪图。我在想能不能弄个网页版的莫迪图查询器帮助提高效率。具体实现方法可能要参考公差查询器,用excel数据表来记录离散的莫迪图线的值,或者更加复杂的方法。先在这里提出一个设想。

I have a course this semester, which is aerodynamics. Large parts of calculations are based on checking moody chart. I am considering about set up a web-base checker to assist my calculating efficiently.  Maybe similar method from tolerance checker is applied. Discrete points of moody chart recorded in excel and read by php. Or more complicated. Mark here.

20/08/2016 – Dewey Decimal Classification – 杜威十进制图书分类法

(English version follows Chinese Part)

如已经建成的那样,我的个人图书馆采用的是国际十进分类法(维基链接),其实我一开始是希望能与国际院校及图书馆的分类法接轨,所以采用了这个“国际”分类法。出乎意料的是,我来到阿德莱德大学以后,阿大的图书馆用的是“杜威十进制图书分类法”(维基链接),差点以为整个个人图书馆要从头再录入。还好杜威法和十进法二者比较接近(不像中图法那样另起炉灶),可以互通,省去更换分类法的麻烦。

As my web library has been built, it is based on Universal Decimal Classification(Wiki UDC),  for the purpose of connecting my web library to international universities’ libraries. Unexpectedly, when I came to University of Adelaide, they use Dewey Decimal Classification(Wiki DDC). I was thinking change the whole records of my lib, luckily UDC and DDC are similar(unlike Chinese Library Classification, which is totally a different system), main structures are almost the same.

不过对杜威法的具体内容还没了解,近期找一些资料看看。

But I still unfamiliar with DDC, read some materials later.

06/07/2016 – Cheers For Successful First Launch of CZ-7 Rocket – 祝贺长征七号首发成功

(English version follows Chinese Part)

科技的进步永远是人类发展的动力,长征系列运载火箭成功发射的喜悦值得我们与世界人民一同分享。除了能够观看有关太空的电影比如<星际穿越><星际迷航>一类的科幻电影,玩<群星><坎巴拉太空计划>这样的太空游戏,还能够生活在人类太空技术发展的现代,无疑是一件幸事。

Human progress powered by technology advancing, and it is worth to share the success and happiness of CZ-7 launching with people all over the world. Luckily born in the era, which I can not only watch science fiction movies like ‘Star Wars’, ‘Interstellar’, play games like ‘Stellaris’, ‘Kerbal Space Program’, but also I can enjoy the aero tech in real life. 

太空探索本身就是一种美学。当长征7号火箭从中国海南文昌的发射阵地腾空而起,

Space exploration itself, is a kind of aesthetics. It reminds me something when CZ-7 taking of,

2016-7-6-CZ7Launched (1)

(CZ-7 Launching Photo by Weibo.Com@goneless)

让我想起地球另一端猎鹰9号从美国佛罗里达州卡角腾空而起的场面。

it must be the similar scene at the other place of the planet.

2016-7-6-CZ7Launched (2)

(Falcon 9 Launching Photo form SpaceX official website)

正是人类在地球的各个角落里不断地发展太空技术,我们才有畅想未来星际旅行的机会。愿全世界的航空航天工作者都能取得成功!

Thanks to pioneers working at the corners around the Earth, we have our dreams to looking forward a chance to travel through the stars.

 

06/07/2016 – Yuwei’s Recipes Launched! – 惟之食谱栏目上线 !

由于我从小学二年级开始就对烹饪这项爱好投入了巨大的热情直至今日

I dived into hobby of cooking since I was 9, until today

博客内的<烹饪与饮食>板块或许没法满足我

I knew a ‘Cook&Food’ block in blog would be not enough

我便单独开设了<惟之食谱>板块,在站点主页拥有一个入口

So I setup an independent area ‘Yuwei’s Recipes’, and its own entry on front page

当然,也欢迎直接通过网址访问:Food.GoYuwei.Com

Visit by link would be nice: Food.GoYuwei.Com

05/06/2016 – Index 4.0 & Bootstrap & Debug – 主页4.0版本和Bootstrap框架以及Debug

(English version follows Chinese Part)

由于之前几个版本的主页对移动端和小屏设备都不太友好,所以我决定给主页改改版。这回采用的是Bootstrap框架,Bootstrap除了开发对我这样的入门级人士比较简便易学,浏览器兼容性和移动设备兼容性也是优点。

The old version index pages were not friendly to mobile devices and small screen devices. So I decide to update the index page just after the 1st anniversary of my website. It is base on Bootstrap, a frame that is easy to learn for code rookie like me. And the point is, Bootstrap is suit for PC and most mobile devices.

我使用的是Pingendo工具,一个可视化的网页创建工具,官网是http://pingendo.com/

My tool is Pingendo, a visualized webpage builder. Official web site :http://pingendo.com/

简单设计一下(本来我的主页也不复杂,就是一般的导航页而已),就由Pingendo自动导出html和css了。

My index page is not gaudy. It took little time to rebuild it in Pingendo, then export the html and css files automatically.

本地打开没问题,上传到服务器以后用Chrome打开也没问题。效果如图1。

Loading the local files was a success. And it was still OK when I visit the page by Chrome after uploading to the server. Just like Fig.1.

20160605-index3 (2)

图.1(Fig.1)

可是,当我用火狐浏览器打开以后,Boom!如图2。

However, when I use the Firefox, Boom! Check Fig.2.

20160605-index3 (1)

图.2(Fig.2)

我就不明白了,用Chrome和IE都可以载入,偏偏火狐不行?!一开始我以为是火狐对Bootstrap兼容性问题,又怀疑是服务器问题……我就让一位朋友用他的火狐打开试试,结果没问题?!因为他是信息行业业内人士,他告诉我他用的是开发者版火狐,而且控制台显示有bug,就让我自己看看bug是什么,然而我发现普通版火狐并没有类似功能,就装了个firebug组件。一刷新……报错出现!如图3。

I did not get it, only Firefox report error when Chrome and IE can load the page?! I considered that the problems of compatibility between Firefox and Bootstrap. And maybe it was a server’s error ? I asked one of my friends who works in information enterprise to visit the page with his Firefox. Not thing wrong! Then he told me about his Firefox Developer Edition and teach me to find the bug with firebug. The bugs were listed in firebug as fig.3!

20160605-index3 (3)

图.3(Fig.3)

竟然是‘\’和‘/’写反了!进源码一看,问题出在这:

Seriously? A simple code writing mistake between ‘/’ and ‘\’ ? ! Check the source code :

[html]

<link href="css\default.css" rel="stylesheet" type="text/css">

……

<img src="img\profile.png" class="center-block img-responsive">

[/html]

这两段代码就不是我自己写的啊!是Pingendo自动生成的啊!这个锅我不背……

These code were written by myself ! They are original code exported by Pingendo automatically!

所以出Bug的根本原因就是:css和img文件路径错误,火狐在访问这两个文件失败,导致只能显示html信息。

So the problem is that: wrong path of .css and img file, which result in the failure of page resource  loading.

Debug以后就完全没问题了。

It all right after debug.

不过有个地方值得注意,就是bug还存在的时候Chrome和IE(IE11)还有火狐开发者版是可以正常打开的,说明它们都自带自动纠正一类的功能。

Notabily, Chrome and IE can load the page successfully alone with the bug, it proves the function of automatic code correction.

其实,除了这一点小小的bug,Pingendo工具还是很好用的,尤其是可视化的编辑界面对只需要简单页面编辑的站长非常友好。

Despite the little bug I met,  Pingendo is an excellent tool for rookie developer , especially the visualized interface is so friendly to junior developer.

最后,祝贺一下主页4.0版本正式上线!

Cheers for the launching of index 4.0!