Bun 博客实战(5):htmx 局部刷新与 PRG
只有一个小文件、没有前端框架:用 HX-Request 区分整页/片段,用 hx-target/outerHTML 换列表,用 303 和 HX-Redirect 避免重复提交。
Engineering notes and ranked practice on OpenWrt / Yocto / NVIDIA Tegra and edge AI gateways: understand by reading, grow through practice; traceable, reproducible, bounded.
Practice and exams · routing/bridging/debugging
138 questions cover ip addr / ip link / ip route / bridge, VLANs, policy routing, NAT, raw IP and iPerf3 throughput. Exams grade at the end; practice gives instant feedback.
This is not command memorization; it builds a troubleshooting order: link → bridge → rule → table → route → NAT → capture.
Draw 25 random questions from the 100 / 38 bank; 20 to pass. Submit at the end.
PracticeGrade immediately; previous, skip and jump to any question.
Attention, FFN, positional encoding, training and inference
OpenWrtUCI, netifd, ubus, fw4, ImageBuilder
OpenWrtUCI, netifd, bridge/VLAN, static routes, PPPoE
VLAN802.1Q, PVID, access/trunk, bridge vlan filtering
ACLgetfacl/setfacl, mask, default ACLs, inheritance and backup
prplOS / AMXData model, transactions, NetModel, USP
YoctoLayers, recipes, BitBake, images
PPPoEpppd, LCP, auth, DNS, teardown
iPerf3TCP/UDP, reverse, loss, trustworthy results
只有一个小文件、没有前端框架:用 HX-Request 区分整页/片段,用 hx-target/outerHTML 换列表,用 303 和 HX-Redirect 避免重复提交。
app.tsx 只做装配:中间件顺序、路由挂载、中英文前缀、404 和静态资源边界。请求如何从 URL 走到 renderHtml。
不用 bcrypt/argon2,也能用 Web 标准做认证:WebCrypto PBKDF2、随机 salt、常量时间比较、DB 会话和 HttpOnly Cookie。
A Yocto layer is not just a directory; it is a metadata collection declared by layer.conf. This article starts from create-layer, explains BBFILES/BBFILE_PATTERN/priority/compatibility line by line, and gives verification commands.
KAS is a YAML orchestration tool for BitBake projects: declare repos/layers, machine/distro/target, local.conf snippets and lockfiles, then use kas build/checkout/shell to reproduce the build. It is not BitBake and not a layer.
OpenWrt software acceleration mainly means fw4/nftables software flow offloading, plus packet steering, NIC offload and IRQ/queue tuning. It is not SQM/CAKE; this article covers configuration, verification and boundaries.
Subscribe via RSS to get new posts automatically.
Technical questions, feedback and leads: use the guestbook.