惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

人人都是产品经理
人人都是产品经理
Blog — PlanetScale
Blog — PlanetScale
MyScale Blog
MyScale Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
WordPress大学
WordPress大学
Vercel News
Vercel News
D
Docker
博客园 - 聂微东
T
Tailwind CSS Blog
aimingoo的专栏
aimingoo的专栏
云风的 BLOG
云风的 BLOG
D
DataBreaches.Net
B
Blog RSS Feed
酷 壳 – CoolShell
酷 壳 – CoolShell
博客园 - Franky
Microsoft Security Blog
Microsoft Security Blog
美团技术团队
F
Fortinet All Blogs
MongoDB | Blog
MongoDB | Blog
T
The Blog of Author Tim Ferriss
GbyAI
GbyAI
N
Netflix TechBlog - Medium
G
Google Developers Blog
腾讯CDC

Stonecharioteer on Tech

I Traced My Traffic Through a Home Tailscale Exit Node What Was I Reading Last? In Three Not-So-Easy Pieces Dogfooding Is Hard Code blocks in your books, finally GoForGo v0.9.0 Merrilin - We built an app to read books I use a Macbook now Data Structures & Algorithms - Preparing for Interviews Using a local DNS namespace for local service discovery Direction KOllector - Publishing KOReader Highlights gbt: branches touched in the last 24 hours A Soiree into Symbols in Ruby Some Smalltalk about Ruby Loops Ruby Blocks Returning from Ruby Blocks, Procs and Lambdas My Linux Laptop Finally Works: How Claude Helped Me Fix Years of Annoyances TIL: Watchexec - Modern File Watching for Development Workflows A Less Busy Mind GoForGo - Learn Go through live examples Migrating My Old Blog to Hugo with Claude The Qtile Window Manager: A Python-Powered Tiling Experience Read the RFCs that Built the Internet Py-x-Protobuf - Or How I Learned to Stop Worrying and Love Protocol Buffers Python Reverse a List New Beginnings Leaving ChainSafe Systems Screen Lock for Cinnamon Desktop using Zenity and Terminal Commands Crews Not Teams A System for Getting Better at LeetCode
TIL: Display Switch KVM, USB Hub Control, Windows Service...
2020-12-15 · via Stonecharioteer on Tech

Today’s learning focused on hardware control, system administration, and engineering management.

USB Switch to KVM Conversion

Display Switch demonstrates how to turn a $30 USB switch into a full-featured multi-monitor KVM switch. This project uses DDC/CI (Display Data Channel Command Interface) to control monitor inputs programmatically, enabling seamless switching between multiple computers without expensive KVM hardware.

The solution works by:

  • Detecting which computer is active based on USB device presence
  • Automatically switching monitor inputs via DDC commands
  • Supporting multiple monitors with independent control
  • Providing hotkey support for manual switching

USB Hub Per-Port Power Control

uhubctl provides per-port power control for USB hubs, allowing you to turn individual USB ports on and off programmatically. This is particularly useful for:

  • Resetting problematic USB devices
  • Power management in embedded systems
  • Automated testing of USB devices
  • Reducing power consumption
1
2
3
4
5
6
7
8
# List controllable USB hubs
uhubctl

# Turn off port 2 on hub 1-1
uhubctl -a off -p 2 -l 1-1

# Turn on all ports
uhubctl -a on

WinSW (Windows Service Wrapper) allows you to run any executable as a Windows service with a permissive license. This is invaluable for:

  • Running non-service applications as services
  • Managing application lifecycle automatically
  • Ensuring applications start on boot
  • Providing service-level logging and error handling

Configuration is done through XML files, making it easy to wrap existing applications without code changes.

Smart Hiring Strategies

Erik Bernhardsson’s article on hiring smarter than the market presents a mathematical model for competitive hiring. Key insights:

  • Focus on qualities that correlate with performance but are undervalued by the market
  • Develop interview processes that identify these hidden signals
  • Consider non-traditional backgrounds and experiences
  • Optimize for long-term value rather than short-term credentials

Additional Discoveries

  • Linux 5.10 Features: Major kernel update with improved hardware support and performance enhancements
  • USB Drive Phantom Load: Investigation into USB drives that consume power even when inactive, important for battery-powered systems

These tools and concepts address practical system administration challenges while providing insights into building more efficient development and hardware environments.