Author: admin

Free Assembly programming training in Cityu AppsLab

Thanks for Professor Ray from AppsLab holding this meaningful training for public about assembly language programming training, bringing system level programming experience to all joiners. Register links are http://www.hochk.hk/18-aug-registration-cityu and http://www.hochk.hk/25-aug-registration-cityu If you are interest to build a toolchain from the ground up, join us at https://gitlab.com/quantr/toolchain/Assembler or contact me at https://www.facebook.com/mcheung63  


2018/08/18 0

Hyper-V是Type 1的Hypervisor

Hyper-V是Type 1的Hypervisor, 當你安裝完它的時侯, 它會比所在的windows更加底層, Bootloader是會首先加載它然後由它去啓動完先的那一個windows, 所以之後…


2018/08/14 0

.net core CLR ELF analyst in Ubuntu 16.04

Analyst the ELF files build from .net core CLR in Ubuntu 16.04 by https://sourceforge.net/projects/elf-dependency-walker/


2018/08/12 0

Manually create sharepoint configuration database

1. you have to run sharepoint shell using administrator 2. when credential dialog popup, you have to input the user name as machine_name\administrator 3. when hitting error, you must close the shell and restart it, otherwise whatever you do, last error message still happen Tips: 1. if you hit “Requested registry access is not allowed”,…
Read more


2018/08/03 0

Powershell學習之旅 – Object Type

Powershell是一種typed的語言,和其它同種的語言比,它有一個我認為比較特別的地方,就是它支援不同的Object typ。Windows世界裏幾個大的Object家族它都支持: Common…


2018/08/01 0

Misleading information from Microsoft Docs

I just deployed my outlook addin to office 365 admin center, information from the below page is misleading. https://docs.microsoft.com/en-us/office/dev/add-ins/publish/publish?context=outlook/context  


2018/07/06 0

[solved] WordPress excerpt function can’t break chinese text

http://www.dezzain.com/snippets/how-to-fix-chinese-language-wordpress-excerpts-issue/ vi ./wp-content/themes/one-page-express/functions.php


2018/07/04 0

打水程式

「打水程式」的電腦簽賭程式,利用兩個網站間對同一場比賽的不同賠率,自動找出同時押注兩隊均可獲利的比賽,從中賺取差價,獲利率幾乎百分之百。利用不同簽賭網站對同一場比賽訂定的賠率不同,從中賺取差價,早在國…


2018/06/18 0

發現左一個可以玩殘你嘅咪記大bug

發現左一個可以玩殘你嘅咪記大bug,如果你寫sharepoint兼用typescript但係又想用jquery, 你好可能會用: import * as $ from ‘jquery&#8…


2018/06/18 0

佛教根本就放唔落人類的道德

佛教根本無一本書講明做好人一定有好報,無一位過去嘅論師可以或嘗試過論證呢一點,龍樹無,無著無,世親無,十大弟子都無。佛教的根本立命之題就係世界是無常,呢種無常係終極嘅無常,甘仲點可能做好人一定好有報呢…


2018/06/17 0

Autoconf不能跑得很快的原因

Autoconf不能跑得很快的原因是因為它會為每一個feature去compile一個很小的測試程式去測試那個feature能不能被正確編譯出來,在底層系統的世界,因為歷史原故,我們不能好簡單的判斷在…


2018/06/17 0

Simplest websocket with nodejs example

1. express –view=ejs myspp 2. var server = http.createServer(app); 3. Source : myapp


2018/06/14 0

太失望,Redis比H2慢很多很多

插一百萬行record, Redis比H2慢太多,H2只需要七秒,redis用了40秒,為什麼用c++寫出來的redis會比用java寫出來的h2慢這麼多的? NoSQL不是比傳統database爽快…


2018/06/12 0

Solved: vscode [tslint] ‘ should be ” (quotemark)

To solve “[tslint] ‘ should be ” (quotemark)” when developing spfx webpart using visual studio code, do these: open config/tslint.json add {     “$schema”: “https://dev.office.com/json-schemas/core-build/tslint.schema.json”,     // Display errors as warnings     “displayAsWarning”: false,     // The TSLint task may have been configured with several custom lint rules     // before this config file is read (for example lint rules…
Read more


2018/06/10 0

SPfx on-premises solution is lagging behind to SPO

極嚴重, sharepoint framework個generator仲停留緊係1.1.0俾on-premises, 而sharepoint online已經去到1.5.0, 兩個世界再次被split…


2018/06/10 0

最為強大嘅programming法門

Programming就係體驗佛教空性嘅其中一種法門, 但要用它來體驗空性, programmer必需揭而不捨地向程式嘅本質進發, 呢一種就係最為強大嘅programming法門, 與真理接軌嘅修練方…


2018/06/06 0

IT人嘅朵與Framework guideline

一本由framework作者寫的framework設計手則書,內容由作者的角度講出設計framework的重點,思路同手則,如果要寫一份doc去形容自己出黎嘅framework可以參考下呢本書的鋪排:…


2018/06/03 0

Autotool太複雜

Autotool太複雜,個人認為它阻礙了system programming的發展應該給斷除。AutoTool由三大組件所構成:autoconf, automake和libtool。Autoconf是…


2018/06/03 0

Remove the “Logging” menu from putty

Below are the steps to remove the “Logging” menu from putty Download windows source from putty website, don’t clone from the github because it missing Makefile.vc. Search for “Windows source archive” in https://www.chiark.greenend.org.uk/~sgtatham/putty/latest.html Comment out line 1488 to 1543 in config.c which in the root folder (see below image) cd windows nmake -f Makefile.vc If everything…
Read more


2018/06/02 0

Dynamics 365 crm language bug

Change the language from chinese back to english, some texts are still in chinese, no way to solve !


2018/06/02 0

I think there is a bug in Intel Manual

In the intel manual “Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 2 (2A, 2B, 2C & 2D): Instruction Set Reference, A-Z”, section 2.1.5, table 2-1, i think it is a bug


2018/05/27 0

What is ISA (Instruction set architecture) ?

From the book Embedded Computing, it has a ISA chapter, below is the summary of “what is ISA” ISA helps compiler’s life easy. Hardware engineer often saving a few gates or some code, but that hurt the design of compiler ISA can both hide and expose key implementation details to the programmer or compiler Process…
Read more


2018/05/22 0

Building a small workflow using Microsoft Flow

I am building a small workflow using Microsoft flow to auto move the Nintex status email from my inbox to a SharePoint list. I found out some advantages of Flows than Nintex workflows. First it support a debug button to either : replay the last trigger or halt the workflow and want for you trigger.…
Read more


2018/05/22 0

Netbeans console has no color, but has color in my other Mac

Netbeans console has no color, but has color in my other Mac. Both Mac OS are same, JDK same too. Don’t know why. The code i use to print color text are:


2018/05/22 0

Is is real Buddha photo? He looks like a Chinese

I don’t think Buddha looks like a Chinese instead of an Indian 🙂


2018/05/21 0

The definition of a toolchain

This book from Shatin Library has a definition of toolchain. A toolchain should contains: Compiler Assembler Libraries Linker Post-link optimizer Run-time program loader simulator Debugger and monitor Automated Test System (Makefile ?) Profiling tools Binary Utilities


2018/05/21 0

Assembler嘅HLA邊界

寫Assembly用到Marco就試過N次,之前都係用到點就學到邊,無了解過佢嘅邊界,而家差唔多去到要為自己嘅assembler研發marco,所以要先睇下HLA嘅Marco大約可以做到啲乜。沙田圖書…


2018/05/17 0

Microsoft workflow foundation係幾勁嘅, 不過香港少人知

Microsoft workflow foundation係幾勁嘅, 不過香港少人知。成套野包哂所有你要做一個完workflow engine嘅framework。Nintex係由WF做出黎就足以證明…


2018/05/13 0

The setting to identify an SPO/Onprem project for spfx

In file .yo-rc.json, the value of “environment” is either “spo” or “onprem”, it identify your project is on-premises or sharepoint online. If you want to create extension, you have to use “spo” { “@microsoft/generator-sharepoint”: { “version”: “1.4.1”, “libraryName”: “quantr-express”, “libraryId”: “1a6a217f-6fb8-44b4-981f-35d0ebe7025b”, “environment”: “onprem” } }


2018/05/12 0

My notes on command set development for SPO

current list id : this.context.pageContext.list.id current list title : this.context.pageContext.list.title for (let row of event.selectedRows) { let itemId: number = row.getValueByName(‘ID’); Dialog.alert(`${itemId}`); } Get current user email : this.context.pageContext.user.email import * as strings from ‘SpfxCloneCommandSetStrings’; this._fieldTypesToIgnore = new Array( strings.typeCounter, strings.typeContentType, strings.typeAttachments, strings.typeModStat, strings.typeComputed ); this._fieldsToIgnore = new Array( strings.fieldModified, strings.fieldCreated, strings.fieldAuthor, strings.fieldEditor, strings.field_HasCopyDestinations, strings.field_CopySource,…
Read more


2018/05/12 0

I think i found an azure bug

I think i found an azure bug, the ftp option is disappear when i create a “NodeJS Empty web” app service.


2018/05/06 0

MODRM


2018/05/06 0

m8 vs m16

The reason nasm need to add the keyword “byte” in “adc byte [si], 0x12” is that in intel manual, m8 and m16 are same, so without this keyword the assembler don’t know what you want for.


2018/05/03 0