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

推荐订阅源

V
Visual Studio Blog
博客园 - 司徒正美
Hugging Face - Blog
Hugging Face - Blog
博客园 - 叶小钗
The Cloudflare Blog
D
DataBreaches.Net
J
Java Code Geeks
G
Google Developers Blog
L
LangChain Blog
N
Netflix TechBlog - Medium
Stack Overflow Blog
Stack Overflow Blog
月光博客
月光博客
酷 壳 – CoolShell
酷 壳 – CoolShell
WordPress大学
WordPress大学
小众软件
小众软件
量子位
Apple Machine Learning Research
Apple Machine Learning Research
P
Proofpoint News Feed
博客园_首页
罗磊的独立博客
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
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.