Posts by Year

Posts can be viewed by Year, Category or Language.


Don’t use STL regex library in Microsoft Visual C++ (MSVC), at least for now

It’s great to see the C++ standard getting periodical updates every 3 years since 2011: new STL components, syntax sugars, and a lot of other stuffs, which I (and probably many other people) have been waiting for years. However, regex library is unfortunately an exception: apparently there is something wrong with MSVC’s underlying implementations, and the performance is surprisingly bad.

Back to Top ↑


Towards 2.5GbE (NBASE-T) on ASUS RT-AX88U with RTL8156B and Asuswrt-Merlin 384.19

The lack of integrated 2.5GbE port makes ASUS RT-AX88U less powerful in my mind, especially when taking its processor BCM49408, which natively supports 2.5GbE, into account. The game however has changed, after I managed to finally reveal the full potential of AX88U with Realtek’s USB-based 2.5GbE solution: RTL8156B.


在 AX88U + Merlin 384.19 上配置基于 RTL8156B 的 2.5GbE 网卡

摘要:AX88U 缺少板载的 2.5GbE 网卡实为一大遗憾,尤其是考虑到它的 CPU BCM49408 提供了原生支持。幸好螃蟹家(Realtek)提供了一个经济的 USB 3.0 解决方案 —— RTL8156B,本文将介绍如何在 AX88U + Merlin 384.19 上配置基于 RTL8156B 的 2.5GbE 网卡。

Parse MATLAB classification tree and Generate corresponding JSON

MATLAB Classification Learner is a powerful tool for building and testing classification model. However, the generated classification tree is not very user-friendly to use outside of MATLAB. This post introduces a context-free grammar for parsing MATLAB classification tree and a tool to generate the corresponding JSON file.

LAN port isolation (port-based VLAN) on ASUS RT-AX88U with Asuswrt-Merlin 384.16

Although there is no more robocfg command on HND platform and Asuswrt-Merlin lacks GUI support on creating VLAN, port-based VLANs (or static VLAN) can still be achieved by separating ethernet interfaces into isolated bridges and applying firewall (ebtables or iptables) rules.


在 AX88U + Merlin 384.16 上实现 LAN 端口隔离(静态 VLAN)

摘要:尽管博通 HND 平台移除了 robocfg 命令,梅林固件也没有提供划分 VLAN 的 GUI 支持,但通过把以太网端口分离至独立网桥 + 防火墙规则 (ebtablesiptables) 的方式,仍然可以在 AX88U + Merlin 384.16 上实现 LAN 端口隔离(静态 VLAN)。

Hello, World!

I’m glad you found this place from somewhere on the Internet! Hope the following Java code snippet may give you the idea of this post ;)

Back to Top ↑