Author Archives: news

compile c++ codes using Visual C++ Build Tools from the command prompt

Introducing the Visual Studio Build Tools “If you have installed Microsoft Visual C++ Build Tools 2015 on Windows 10, open the Start menu and choose All apps. Scroll down and open the Visual C++ Build Tools folder. Choose Visual C++ … Continue reading

Posted in Programming | Comments Off on compile c++ codes using Visual C++ Build Tools from the command prompt

Mibox 2 install youtube and play to kodi (just as chromecast)

1. install shafa TV manager and/or ES file explorer to be enable install apk from USB/SD card http://www.shafa.com/articles/yWNpNK6erhB6Q4dO.html 2. install Kodi/XMBC apk from shafa’s file manager (in toolbox) on USB storage 3. install apk of youtube for Google TV, and … Continue reading

Posted in Uncategorized | Comments Off on Mibox 2 install youtube and play to kodi (just as chromecast)

Evaluation of OpenFOAM on bash on Ubuntu on windows 10

## installation After Anniversary Build (2016 Aug) for x65 windows 10, it is possible to evaluate this beta feature in developer mode without upgrade to claimed unstable insider version. see detailed tutorial: To install ubuntu on windows 10 from power … Continue reading

Posted in Uncategorized | Comments Off on Evaluation of OpenFOAM on bash on Ubuntu on windows 10

disable windows input method hotkey

UPDATE: it seems the following methods still fails, as restart pc or windows update will invalidated the setting =========== Avoid the annoying hotkey to trigger the IME shape/punctation in Chinese for half/full see tutorial: http://superuser.com/questions/327479/ctrl-space-always-toggles-chinese-ime-windows-7 In addition to disapble Ctrl-Space, … Continue reading

Posted in Uncategorized | Comments Off on disable windows input method hotkey

Toshiba L650 laptop disassembling

I got a 5 year old laptop, it does not boot, no screen show, no beeping. So I need to disassemble and check. Generally, this laptop is easy to repalce harddisk or memory on the back.  And the dissabling is … Continue reading

Posted in Uncategorized | Comments Off on Toshiba L650 laptop disassembling

Introduction to Industrial IO (sensor framework for Linux)

introduciton to Industrial IO overview of industrial IO. In short, SPI and I2C sensor framework for Linux sensor categories: “ADC, DAC, light, accel(erometer), gyro, magnetometer, humidity, temperature, amplifier, frequency, orientation, health”, etc merged to mainline kernel 3.14, used by beagleBone, … Continue reading

Posted in Linux, Sensor | Comments Off on Introduction to Industrial IO (sensor framework for Linux)

A recommendation for free of charge 2D CAD and office system, also cross-platform

for office system, I recommend kingsoft  WPS office, which is based on Qt, much faster than java based solution. It has Android, Linux version in alpha, in addition to mature windows ‘s version http://wps-community.org/download.html For 2D CAD drawing, I recommend   … Continue reading

Posted in Linux | Comments Off on A recommendation for free of charge 2D CAD and office system, also cross-platform

Solve CFD via OpenFOAM in free CAx platform FreeCAD

Updated 2016-04-17 Boundary condition setup GUI has been done for preview This is an early preview, only for people with experience of OpenFoam. Test instruction could be found at https://github.com/qingfengxia/FreeCAD/ … /Readme.md I would love to see some feedback for … Continue reading

Posted in Linux, Programming, Research | Comments Off on Solve CFD via OpenFOAM in free CAx platform FreeCAD

Why power adapters for laptop are NOT compatible

see the word document contains figure to demonstrate various power adapters from diff manufacturers and how the claimed incompatible adapter could be reused. why laptop power adapter are not compatible and howto

Posted in Uncategorized | Comments Off on Why power adapters for laptop are NOT compatible

Using paraview to visualise vorticity (Lambda2, vorticity, Q-Criterion)

Please download the word document, which contains the details on setting up the Python Calculator filter to calc lambda2, and use the advanced option of ‘Gradient’ filter to calculate vorticity, Q-Criterion. This code is not tested, some user has already … Continue reading

Posted in Programming, Research | Comments Off on Using paraview to visualise vorticity (Lambda2, vorticity, Q-Criterion)

What is the max array size you can declare (big data challenge)

by Qingfeng Xia @ iesensor.com 2015 With the popularity of BIG DATA concept, have you think about what is the max data structure you can run?http://stackoverflow.com/questions/216259/is-there-a-max-array-length-limit-in-c

Posted in Programming | Comments Off on What is the max array size you can declare (big data challenge)

Ten things you must do after install Openwrt 15.05 on raspberry pi B

This is not a tutorial, but list some interesting things for Openwrt 2015-09-14 by Qingfeng Xia

Posted in Ineternet of Things, Linux | Comments Off on Ten things you must do after install Openwrt 15.05 on raspberry pi B

Gmail backup to your google drive using app script (isenensor.com)

  Link to my google spread sheet with script: Gmail backup isenensor.com https://docs.google.com/spreadsheets/d/1vcQ-dJ_9iEmISLDnDjAFWrb4zcGOhEJzIJmMoq_MLYQ/pubhtml

Posted in Uncategorized | Comments Off on Gmail backup to your google drive using app script (isenensor.com)

Electronics under extreme environment (high temperature, low temperature)

Electronics under extreme environment         Collection of public resource, product catalog, NASA presentation, etc

Posted in Uncategorized | Comments Off on Electronics under extreme environment (high temperature, low temperature)

smoother python 2.7 to 3.x transition (scite as IDE)

I aim to write code in python script, most of time, single file script, to run on both 2.x and 3.x with my favorite light-weighted IDE scite. So here is my setup

Posted in Programming | Comments Off on smoother python 2.7 to 3.x transition (scite as IDE)

readonly root file system for raspbian

crash of SD card file system make me crasy, so I need to to sth!

Posted in Linux | Comments Off on readonly root file system for raspbian

raspberry pi 2 is tested in compressed air vessel working at 5bar

Recently, as a byproduct of exp work in Ox Uni,  I tested raspberry pi 2 works at 5 bar, it could work at higher pressure but not tested. All the rpi 2 use no electrolytic capacitor (all components are supposed … Continue reading

Posted in Sensor | Comments Off on raspberry pi 2 is tested in compressed air vessel working at 5bar

Allyoyn 14.12 compiled on raspberry pi and ubuntu

based on ref in Chinese:  [blog.csdn.net/huangjuegeek/article/details/38515445]

Posted in Ineternet of Things | Comments Off on Allyoyn 14.12 compiled on raspberry pi and ubuntu

using raspberry pi and beaglebone launchpad as USB-uart

This is a note collected from internet source

Posted in Uncategorized | Comments Off on using raspberry pi and beaglebone launchpad as USB-uart

《思学篇》

序: 今吾留学已逾二载,尚且彷徨。观乎同辈,或有身兼中西之学,文理书乐皆通,踌躇满志者,窃以为不如。 吾温顺静思,非浪荡轻浮之人,奈何拘于家学见闻。究其根本,盖教育环境之异。 吾祖世代或农或商,非书香门第,几无藏书,唯《本草》《毛选》,皇历账本数册而已,想儿时亦无此趣。闲暇务农而少游冶,亦无良师益友导引。既入大学,尚忧衣食。而后随波逐流,年华暗换,而立之年近,尚且浑噩。 余常叹:幼不得读书以茂才,少不能观史以宏志,壮不及交游以广识。幸入大学门径,博览群书,略晓古今之智士,初窥大道;偶得游历机缘,登堂入室,声闻中外之贤达,眼界始开。 “穷则思,思则变”,听闻“苏老泉,二十七,始发愤”,吾以为桑隅非晚,故思学。身已后人,当奋发图前,奈何心力见衰,难以专志。唯恐心有余而力不足,观荀子之《劝学篇》,做《思学篇》以自勉。 —- 方今之世,风云变幻。万马奔腾,先者领之;鱼跃龙门,能者居上。 人皆有天赋,需发而养之。欲增其才,识不可以不广;欲显其能,学不可以不精。雄韬武略,非生而有之;高瞻远瞩,需广学精思。古今中外不乏先例。魏吴起身先士卒,吸疮负粮,众人争死。拿破仑博闻强识,因势利导,举国拥戴。丘吉尔文武双修,弘毅独行,力挽狂澜。 或曰纵子勤勉,无家学家世可承,抑将有成乎?吾以为不尽然也! 谋 国之举,一代难成;佐国之臣,出于当世;鸿儒巨硕,自励自成。王莽篡国,三代之力;三国鼎立,各有家承。然煮酒论英雄之时,袁绍承四世三公之势,虎踞冀州 之地,曹操不以英雄论之,何也?善始不必善成,非有能者不能成其大。乱世出英豪,时势造英雄。刘邦布衣起家,而夺项王之天下。朱元璋由卑至尊,今谓之草根 皇帝。北宋一代,治世能臣多出寒门。自古大儒多出寒门。穷则益坚,安贫知命,不为逢迎攀比而劳身,虚名福利损命。 家世显赫,乃生之幸,非众人之福;良师益友,世人皆可寻而得之。 盖今世之教育,童蒙重在家教,小学贵在师严,中学益在志高,大学旨在求索。 所闻所见所识所能,皆可后天补养,所需者,时也! 而立之年吾志方立,其晚乎?尽人事而听天命。 诚能守一毅行,去躁守静,当有所成。 — 西元二零零九年年末 英国曼彻斯特

Posted in 时评随笔 | Comments Off on 《思学篇》