Month: May 2018

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