Author: admin

SharePoint的專業開發者要多注意Core.js

今天開發SharePoint SPFx項目時見到,大家多多注意Core.js這個比較底層的JS library


2019/09/18 0

Serious hanging problem in Microsoft Flow

I got a list on SharePoint Online, which is a typical list with some single-line col and one lookup field. I create a flow to get all item from it (no filtering), then use “Apply to each” to loop through all items. For testing, i got two identical loops. After i run it, one successful…
Read more


2019/09/17 0

Assembler dev meeting #13

2019/09/14, we met in cityu again. I finished IMM in other project https://gitlab.com/quantr/toolchain/antlr-calculator-library . So Assembler’s parser will eat up the whole numeric string and then pass it to antlr-calculator-library, if it contains a maths expression, it return the final answer which is a number. I created another library to produce ELF output. Jenny and…
Read more


2019/09/16 0

ELF Specification 1.2 is only for 32 bits

I am writing a java library to manipulate 64 bits ELF, so i read ELF specification 1.2 , but one big mistake i took is : this specification is only for 32 bits, and the 64 bits one introduce new data types. So I was trying to guess out what data types it is using…
Read more


2019/09/09 0

Bash script to create a file with increment bytes

for ((x=0;x<=255;x++)); do a=`echo “obase=16; $x”|bc`;echo -n -e “\x$a”; done


2019/09/08 0

強烈推介, 深圳小脚丫fpga

https://detail.tmall.com/item.htm?id=589934876916&ali_refid=a3_430620_1006:1213910051:N:kUYNEKediVRtRcfPZeogQz+fixtE0nqV:4c45447dff14948a212296ee9fa615a2&ali_trackid=1_4c45447dff14948a212296ee9fa615a2&spm=a230r.1.14.1 主要好處是: 面積細 一條USB搞定, 不用其它Jtag Lattice Diamond好易上手, 至少比Quartus和Vivago更易


2019/09/08 0

Azure抄走隻vhd真係好貴

Azure抄走隻vhd真係好貴,抄左兩個file,200GB,成100蚊美金


2019/09/02 0

Assembler dev meeting #11

sync-ed up Jenny coding skill to all of us. Jenny now clearing all useless code, rename variables to a more meaningful name. Our next job is to encode all instructions together, and for me, create an ELF library to output ELF format object code. Here is our tuned assembler grammar https://gitlab.com/quantr/toolchain/Assembler/blob/master/src/main/java/hk/quantr/assembler/antlr/AssemblerParser.g4


2019/09/01 0

Assembler dev meeting #10

As usual, #10 meeting was hold in CityU. We getting more familiar with Intel basic instruction set translating. Here is the actions list for next week: Zero padding, cut of pad “0” Jenny consolidate your code into well format, let us understand and give us tutorial next sat morning Desmond: nasm in linux example, able…
Read more


2019/08/25 0

Assembler Dev Meeting #9 2019/08/16

Meeting #9come up with these fixes: Kelvin fix 66 67 REX Prefix Ending bytes (displacement) Desmond fix IMM* > IMM https://gitlab.com/quantr/toolchain/Assembler/issues/28


2019/08/19 0

Generic E-Form system design

Lots of customers has implemented e-form using different technologies such as Nintex, SPFX, Microsoft Flow. We are going to design a generic E-Form system for them, providing a centralize mechanism for administrators to add/remove eform, user management, log management and etc…


2019/08/14 0

Wheatstone bridge in multisim

Simulation is correct


2019/08/12 0

Why Multisim sometime is 100% accurate than calculation, sometimes is not

This exercise is 100% same as calculation But below one is not 100% same as calculation, it use just same components: VC + Resistors. Is multisim using brute force to guess out the voltage and current values?


2019/08/11 0

Antlr所有Embed action都會跑在Listener前面

意思是會先跑光所有embed action,然後才會跑listener裏面的function


2019/08/06 0

Assembler Dev meeting #6, #7 and #8

Desmond typed all basic instructions to grammar. We found some translation are wrong. I fixed the full test so can test all translated instructions.


2019/08/05 0

I thought Java swing is pixel graphic

In last 20 years, I thought Java swing is pixel graphic, but i found out it is vector. I tried to draw a 1 pixel line with 45 degrees, and when i zoom out, i proved it is not pixel base. So all drawLine, drawRect function calls are vector graphic.


2019/07/30 0

Calling Docusign Restful API with Bearer

In DocuSign, Bearer is same as access token, just two different names. It can be generated by this web https://developers.docusign.com/oauth-token-generator , make sure you have an sandbox account.


2019/07/28 0

Net netbeans-antlr logo

Getting familiar with Adobe illustrator. For drawing GUI/logo from scatch, ai is better than photoshop. But photoshop is still good to draw on top of somebody designs.


2019/07/28 0

C compiler pre-research preparation

Antlr C11 grammar is highly match with the C11 language specification, which is a very good news to us. https://github.com/antlr/grammars-v4/blob/master/c/C.g4


2019/07/21 0

THE 6TH ASSEMBLER DEV MEETING

Peter updated netbeans-antlr plugin, increase our productivity: Jenny finished the REX.W translate, she keeps translating other instructions to see if our current coding facilities enough or not. Desmond is adding all the rest of the intel instructions to the grammar file, still need sometimes.


2019/07/20 0

Ebook: Custom chips for dummies

https://peter.quantr.hk/wp-content/uploads/2019/07/custom-chips-for-dummies-arm.pdf


2019/07/15 0

完全痴線 – JTextComponent個setCaretPosition完來係錯

如果你放”abc\ndef”落JTextComponent, 佢會變Q左”abc\r\ndef”, 連帶影響埋setCaretPosition()會錯位,補救方法如下: 經過修正之後, 我個netbeans outline plugin回復正常了


2019/07/13 0

The 5th Assembler dev meeting

Jenny has done SIB table, Kelvin is working on 66h 67h, Desmond is adding rest of the instructions. Thanks for Professor Ray visiting us and giving us advice.


2019/07/12 0

x86 disassembler預研成功

x86 disassemble預研成功,感謝Rod Pemberton朋友在alt.lang.asm上面的幫忙,原來Intel instruction雖然係CISC但可以在未decode所有Byte之前把Instruction切割出來。還有,切割比我想像人來得簡單。我現在的問題就是,RISC的所謂固定長度指令好像不是傳說中所說的巨大優勢。


2019/07/10 2

一本由讀computer science嘅人所寫嘅哲學書

我而家總結一下書中所帶出的哲學問題,所有讀computer science嘅人都應該花時間思考一下: 神。人。機械人。三者之關係 機械人的超限作用 人好明顯就是當機械人係奴隸 機械人之自我認同,自我意識 克隆人是機械人? 人是機械人?


2019/07/08 0

Netbeans 11.0終於有plugin嘅library了

Netbeans自從貢獻左俾apache, maven central好耐無update, 由netbeans 9到netbeans 10都無library可用,以至8.1的plugin無從升級至netbeans 11. 今日check多次終於見到有11.0嘅lib了 https://mvnrepository.com/artifact/org.netbeans.api/org-netbeans-api-annotations-common


2019/07/01 0

4th Assembler dev meeting

We heading into Antlr Grammar, got one problem : We don’t know how anltr prioritise parse rules, so next week will be our study week. A new friend https://www.facebook.com/waiwailk visited us in meetup too.


2019/06/29 0

dotnet core dependency graph

My other open source project https://gitlab.com/quantr/toolchain/dotnet-core-dependence-walker can generate a dependency graph for dotnet core dll.


2019/06/15 0

Framework 4.6 Namespace-to-Assembly Reference

Below is the table show you the mapping between namespace and assembly, thanks to the book “C# 7.0 in a Nutshell” Namespace Assembly Microsoft.CodeAnalysis Microsoft.CodeAnalysisMicrosoft.CodeAnalysis.CSharpMicrosoft.CodeAnalysis.VisualBasic Microsoft.CodeAnalysis.CSharp Microsoft.CodeAnalysis.CSharp Microsoft.CodeAnalysis.CSharp.Syntax Microsoft.CodeAnalysis.CSharp Microsoft.CodeAnalysis.Diagnostics Microsoft.CodeAnalysis Microsoft.CodeAnalysis.Diagnostics.Telemetry Microsoft.CodeAnalysis Microsoft.CodeAnalysis.Emit Microsoft.CodeAnalysis Microsoft.CodeAnalysis.Semantics Microsoft.CodeAnalysis Microsoft.CodeAnalysis.Text Microsoft.CodeAnalysis Microsoft.CodeAnalysis.VisualBasic Microsoft.CodeAnalysis.VisualBasic Microsoft.CodeAnalysis.VisualBasic.Syntax Microsoft.CodeAnalysis.VisualBasic Microsoft.CSharp System Microsoft.CSharp.Activities System.Activities Microsoft.CSharp.RuntimeBinder Microsoft.CSharp Microsoft.SqlServer.Server System.Data Microsoft.VisualBasic System Microsoft.VisualBasic.Activities System.Activities…
Read more


2019/06/08 0

基本上掌握到JVM生成byte code

基本上掌握到JVM生成byte code,初步了解jvm的指令,能夠徒手用apache bcel生成class文件. 但感覺上jvm比.net core的vm重,所以先看看CLR才作最後決定。 題外話:基於jvm的語言除了java之外,沒一隻能夠有大的成功。


2019/06/02 0

A new SharePoint Online error

Haven’t seen this kind of error before, i was hijacking the css by my Embed webpart, suddenly becoming this


2019/06/02 0

一本唔錯的vSphere SDK書

書中是6.0,雖然和6.7有點距離,但不失為一個入門書。 最重的是有一個學習規劃。 以下是一個vSphere programmer應該要懂的topic: managing inventory managing host systems managing virtual machines, snapshots, and vmotion managing clusters and resource pools managing networks managing storage and datastores event and alarms performance monitoring task and scheduled task user and license administration extending VI client scrioting the VI sdk with jython, perl and powershell 必需把以上topic用sdk寫一次!!!


2019/06/01 0

Java is fast


2019/05/31 0