Author: admin

Assembler Meetup #34, 2020/03/21

Only 42 instructons are wrong. We are close to first milestone. Will study “Island Grammar”, hope it is the way to embed other antlr grammar from the main one.


2020/03/22 0

Let’s encrypt generate wildcard cert

This works https://medium.com/@saurabh6790/generate-wildcard-ssl-certificate-using-lets-encrypt-certbot-273e432794d7


2020/03/15 0

Assembler Meetup #32, 2020/03/07

Still working on the Antlr grammar to supports “Label” Very naive skillset on Antlr, just bouht the english version of this book, re-read it again. Chinese one not very comfortable to read. We think we can complete the first release of the assembler within 3 months.


2020/03/07 0

spfx becoming super slow after added package buffer

After i added : “buffer”: “^5.4.3” , the “gulp serve –nobrowser” become super slow, stuck in Starting subtask ‘configure-webpack’. I am using spfx 1.10.0 my package.json


2020/02/29 0

Netbeans 11.2 still hand in startup, mac catalina

Delete crash modules’ xml in /Users/peter/Library/Application Support/NetBeans/11.2/config/Modules


2020/02/27 0

SharePoint coloring bug using latest spfx 1.10.0

Using the latest SPFx SDK, the theme color varable $ms-color-themeDark doesn’t work, it doesn’t affect the theme color, see below To fix it add this line @import ‘~@microsoft/sp-office-ui-fabric-core/dist/sass/SPFabricCore.scss’;


2020/02/20 0

Assembler Meetup #30, 2020/02/15

As usual, meet in Festival Walk, sync-ed up our verilog skill, stuck in the “imm | label” to grammar. Only 64 instructions left.


2020/02/16 0

Assembler Meetup #29, 2020/02/01

Fixed all wrong testcases excepts ptwrite Only 87 wrong instructions are wrong encoding now


2020/02/02 0

Assembler Meetup #28, 2020/01/25

Nothing special, still doing the “jump/call label”, i can get the information (line number & offset) i need


2020/02/02 0

Assembler Meetup #27, 2020/01/18

Peter : Adding support to “Label”. Rest of people keep encoding x86 instructions.


2020/01/19 0

Assembler Meetup #26, 2019/12/28

Desmond completed encoded all “OR” instructions, that proves the encoding method is mature. We heading toward our first milestone, complete encode all intel basic instructions. Peter has added all test case. To see our progress, go to http://www.quantr.hk/asmweb


2020/01/02 0

Microsoft provides “public client” sample code

https://docs.microsoft.com/bs-latn-ba/azure/active-directory/develop/sample-v2-code


2019/12/19 0

推薦一個國產示波器連logic analyzer

http://www.hantek.com/en/productdetail_153.html


2019/12/15 0

Assembler Meetup #24, 2019/12/14

Good progress on shorten the grammar file. Desmond join the translation. Peter pickup the pe generator task.


2019/12/14 0

SharePoint粉絲注意 : 新書上市Mastering Sharepoint Framework

Table of Contents1. Getting Started with SharePoint Framework2. Develop Your First SPFx Web Part3. SPFx Web Part Property Pane4. Custom Controls for Web Part Property Pane5. PnP Controls for Web Part Property Pane6. CSS Considerations7. Configure SPFx Web Part Icon8. Examine SPFx Web Parts on Modern SharePoint9. Host SPFx Web Parts from MS Azure CDN10.…
Read more


2019/12/14 0

Assembler Meetup #23, 2019/12/07

Meet in MongKok. Mainly shorten the grammar. Jenny confirmed each instruction can be translated by same five functions. We confirmed if instruction has only one operand, we have to add byte/word/dword/qword, e.g.: inc byte [ax] And some instructions such as call doesn’t support all four combinations of byte/word/dword/qword, this “call byte [ax]” will report error…
Read more


2019/12/07 0

參觀港產FPGA生產商Efinix

參觀Efinix公司, 一定要支持一下香港公司


2019/12/01 0

Assembler Meetup #22, 2019/11/30

Jenny teach me code translate Not sure our method is unify or not Trying to make the grammar file shorter and uniform


2019/11/30 0

Assembler Meetup #21, 2019/11/23

Cityu is close, we change to meet in Moko


2019/11/30 0

Verilog syntax conflict

I guess syntax conflict or not is depend on how fpga vendor implement their verilog compile, nothing about the verilog language specification


2019/11/29 0

Hacking Lattice toolchain lesson 1

Lattice Diamond use these commands to compile my project into jed file Synthesize Design: synthesis -f ControlLed_impl1_lattice.synproj -gui -msgset C:/workspace/fpga/ControlLed/promote.xml Place & Route Design: par -w -l 5 -i 6 -t 1 -c 0 -e 0 -gui -msgset C:/workspace/fpga/ControlLed/promote.xml -exp parUseNBR=1:parCDP=0:parCDR=0:parPathBased=OFF ControlLed_impl1_map.ncd ControlLed_impl1.dir/5_1.ncd ControlLed_impl1.prf trce -v 10 -gt -sethld -sp 4 -sphld m -o ControlLed_impl1.twr…
Read more


2019/11/27 0

Simplest guide to config tomcat to use https with lets encrypt’s free cert

Support you have generate a standalone cert using certbot command, and your cert is in /etc/letsencrypt/live/ . If not, follow this https://www.digitalocean.com/community/tutorials/how-to-use-certbot-standalone-mode-to-retrieve-let-s-encrypt-ssl-certificates-on-ubuntu-16-04 Execute openssl command and remember your password Edit tomcat’s conf/server.xml, you just need one connector to serve 8443, no need other conntector Restart your tomcat, it is done. Below is the virtualhost to…
Read more


2019/11/23 0

Simplest tutorial to read yammer message in SPfx

Step 1 : Browser https://www.yammer.com/client_applications create your app Step 2 : Make sure you fill in the Javascript Origins, otherwise you will get an cors error Step 3 : Generate the developer token, we need it to send get/post form spfx Result:


2019/11/16 0

PowerApps for PowerBI終於都來了

我們終於可以用PowerApps去加強PowerBI Dashboard的動性, 亦可以用PowerApps作為一個UI的接口去程現不同的外部資料 https://docs.microsoft.com/en-us/powerapps/maker/canvas-apps/powerapps-custom-visual


2019/11/16 0

My first notebook that can run SP2019 on-premises

I have to switch back to windows because almost all verilog toolchain only work in windows. And I bought MSI Prestige-15-A10X which has 32GB ram and 1TB nvms ssd, it is only $15300 HKD, super valueable. It is the first notebook which i can run a SharePoint 2019 VM locally.


2019/11/14 0

Netbeans in Mac vs Windows

Netbeans in windows is much more ugly than in Mac, here is my point of view: Font is not align and not beautiful The java swing L&F in mac match with OS, but not the one in windows Toolbar icon style not match with windows


2019/11/13 0

Gitlab CI + Asp.net core

Add auto build and publish using gitlab ci/cd services and deploy to ubuntu.


2019/11/12 0

Assembler Meetup #20, 2019/11/09

Kelvin and Jenny heading to encode b* and c* instructions Desmond keep going to PE format Peter try to add assembler marco. I will think about our own linker format next week.


2019/11/09 0

Assembler Dev #19 2019/11/02

We think the encoding method is stable, asked Jenny to write a wiki, describe how we can encode each instruction https://gitlab.com/quantr/toolchain/Assembler/wikis/Tutorial-of-decoding


2019/11/09 0

Netbeans hangs in Mac since Netbeans 8.2 to now

I have a Netbeans module call “Maven Runner“, it was originally in Ant. When I install it into my local netbeans, it regularly cause the netbeans failed to start. When I was starting Netbeans, the splash came out, then it disappear, but the main screen never show up. Two months ago, i rewrite it into…
Read more


2019/11/06 0

玩了14年QQ終於被永久凍結

玩了14年QQ終於被永久凍結了, 原因為了說了一些大陸不想聽的說話


2019/10/14 0

Assembler Dev #16 2019/10/12

We finalize our error handling method, in both antlr grammar and java instruction “ADC” fully encoded, but still some combination mis-encoded. That means nasm don’t encode it, but we do https://www.quantr.hk/asmweb , our new testing site is launched


2019/10/12 0

Netbeans module failed to install nb-javac

If you netbeans maven module used this in pom.xml, then you will have this problem


2019/10/06 0

YEAH ! 咪記終於有個Portal可以search哂所有sample code

YEAH ! 咪記終於有個Portal可以search哂所有sample code, 仲有埋azure on-click deploy https://docs.microsoft.com/en-us/teamblog/code-samples https://docs.microsoft.com/en-us/samples/browse


2019/10/05 0

Getting started with RISC-V

https://dantalion.nl/en/getting-started-with-risc-v/ So you have heard of this RISC-V thing typically talked about in the context of microprocessors and to a lesser degree also for desktop processors. RISC-V is an open-source hardware instruction set architecture (ISA). Similarly to how X86 for Intel and AMD is a closed source ISA. Being an open-source ISA any manufacturer can…
Read more


2019/10/05 0

Assembler Dev #16 is cancelled

It is because of Carrie Lam


2019/10/05 0

Assembler dev meeting #15

2019/09/28 meeting in cityu. We soonly clear up all combination of ADC instruction. Updated the testing web https://www.quantr.hk/asmweb


2019/10/02 0