Set to a better font size 4. Set the color
IoT sensors
Good ELF diagram
http://blog.k3170makan.com/2018/10/introduction-to-elf-format-part-vi.html
Fixed dwarf bug
When i change kernelvec.S to -ggdb, my dwarf library broken but now fixed. Commit :e640c3d9 And I still don’t understand why .S won’t be an compile unit in dwarf, why design like that.
Quantr Dwarf Library – Print address/lineNo/ColNo from specific address
Teaching students for competition in THEi
Install apache and php for http research
I need a super clean apache and forward all PHP requests to a independent php-cgi process which host by a specific port 1. Install Apache Mac In ubuntu, no need to build apache from source, just “sudo apt-get install apache2” Linux 2. Install PHP Mac Linux if you meet this error “configure: error: re2c 1.0.3 […]
Dinner with HKI MEICOM
有關於ESG之IT項目
IT projects play a crucial role in advancing Environmental, Social, and Governance (ESG) goals. Let’s explore how digital initiatives can contribute to ESG efforts: In summary, IT projects can drive positive change by integrating ESG principles, optimizing energy usage, and contributing to global sustainability.
ubuntu , allow root to login mysql without sudo
公關力
fix TS1005 in spfx project
“extends”: “./node_modules/@microsoft/rush-stack-compiler-3.9/includes/tsconfig-web.json”,
Linear Regression in java
Road map to learn AI
The way to extend qemu TCG plugin functionality
Hi, if want to to provide other function-calls to TCG plugin, such as reading guest memory, follow these steps: 5. Run in qemu 6. Edit xv6-riscv Makefile: References:
QEMU risc-v , log all memory operations
Step 1: Step 2: modify tests/plugin/mem.c , add this code in vcpu_mem() Step 3: in xv6-riscv change this to Then you see this References
Qemu’s trace_memory_region_ops_write
I was trying to find the body of trace_memory_region_ops_write function in qemu source code, can’t find it. It is generated by python script (log.py)
X11 is good but slow in starbucks
I am sitting in Starbucks with network speed 15Mbps and try to use X11 forward for Netbeans coding. XMing is very low screen resolution so I changed to x410. The text is super clear now but the bandwidth not enought, so a little bit lagging. You can see xming font is not clear in my […]
Corsair MP600 needs to upgrade SSD firmware otherwise speed is very slow
Latest SPFx, web parts not appear
Using latest SPFx with node v18, pack and deploy the app no error, but web parts not appear, because you missed this. When you upgrade your SharePoint project, beware of this
Netbeans programmatically add watch expression to the “watch window”
use this code pom.xml
RISC-V qemu doesn’t log “PRIV” in every instruction
RISC-V qemu seems wrong because it doesn’t log “PRIV:” in every instruction in qemu.log. Even mret is execute and the mode is changed, it doesn’t log “PRIV”. To fix this:
Create a breadboard FPGA
We tried to ask GOWIN to let us generate the bitstream but seems they are not willing to open their standard, xilinx and altera has no hope too. So for education purpose we now go for build a simple one. We found the way to break logic into LUTs, so we want to build a […]
NOR vs NAND flash
i finally found the differences between NOR and NAND flash, but just dont know what is it
WordPress Theme to support post-views-counter
To make the plugin works, need to call wp_footer() in footer.php
ENC28J60 + Arduino
CS人如何同EE人溝通
首先,你要承認幾點先 千萬唔可以俾佢地知你知呢幾樣野,否則死得好慘 要不停贊美呢幾樣野
Arduino Function Generator
I am using Nano and AD9833 to build a simple function generator. Code in here https://gitlab.com/quantr/hardware/arduino-function-generator
Arduino + AD9833 using library by Rob Tillaart
Buy the board here : https://item.taobao.com/item.htm?spm=a1z09.2.0.0.6caf2e8dU9c4dS&id=590166217396&_u=6buhab0a8d9 Install the library, see below Make sure connect these pins to the board, total 5 pins, follow below Refer to https://github.com/RobTillaart/AD9833 , more examples in https://github.com/RobTillaart/AD9833/tree/master/examples
Arduino + AD9833
Buy from here. I am using the example from here but ignore the switch buttons. You need to add this zip into the library and make sure don’t install the other library call “AD9833”, very important
Program與輪廻之對比
我想探討一下用電腦program與佛教輪廻之對比,唯先你必需要明白佛教講的核心理論就是無我,無常 Program之空性體驗 當你寫一段program去令電腦運行時,你所寫的每一行代碼你都會解釋到它的用途,所以你會有一種非常實在的感覺,但當你越鑽越深的時候,你會發現一個有趣現象就是你認為一個好實在的個體,例如 int x,去到深處你會發現它消失不見,又或者它可以同時出現在不同的空間之中。這正正體驗到佛教所講的無我,無我的意思是一件物件必定是由多個因緣所組成,它要在特定時刻和經由特定情況先至可以顯露在你面前,program都是一樣,你看不到只是你編程功力不夠
TheDB發展戰略圖
Rotate button by Arduino
Refer to https://zhuanlan.zhihu.com/p/349824627 , buy from here
MCP4725 I2C DAC Breakout board
Bought from here Testing maximum frequency, around 800us
GY-4725 board
Bought from here. This code test maximum frequency, around 1ms period is peak Documents
計準NPN了
Main point: calculate Ib, we can do it by Ib=Ic / Beta min OR Ib=(Vb – 0.7) / Rb
syscall.c for STM32 + XCubeAI
Redis uses its own protocol to communicate between redis-server and redis-client
I thought db client sending plain text command (in SQL) to server and server parse the command. But I found Redis and Mysql client communicate to server via a custom protocol, that prove the client parse the command, not the server socat -v tcp-listen:8001,reuseaddr,fork tcp:localhost:6379
FPGA Research
This is a synthesis of a simple verilog program in vivado
“大中華程序員”及”大香港程序員”之定義
“紅色程序員”又或者”大中華程序員”之定義: “大香港程序員”之定義