Kernel, Virus and Programming

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

Mac inconsistence free disk space between “System Information” and “Disk Utility”

This command can fix: sudo tmutil thinLocalSnapshots / 10000000000 4


2019/09/23 0

Assembler dev meeting #14

2019/09/21, as usual, heading to our first milestone. Enhanced the full test output, added two filters. Filter out by instruction or by error. http://www.quantr.hk/wp-content/plugins/NasmWeb/public//viewOutput.php?path=/home/gitlab-runner/output/output_300588484.html Jenny and Kelvin is clearing the ADC instruction Desmond is extending https://gitlab.com/quantr/toolchain/quantr-executable-library to support Windows PE format


2019/09/22 0

成功!ELF文件輸出正常

Heading to goal : Our assembler our elf file directly


2019/09/21 0

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