开发者
编程技术、框架工具、最佳实践
共 6698 篇 · 第 54/335 页
11,700 Free Photos from John Margolies' Archive of Americana Architecture
Show HN: CloudDM 4.0 – open-source database development platform
Show HN: One More Letter
I stopped trusting my own app's encryption, so I rebuilt it — ATLOCK v4 is Here.
🔒 ATLOCK v4 — I stopped trusting my own app's encryption, so I rebuilt it TL;DR — ATLOCK is a...
Nul Characters in Strings in SQLite
Metal-Organic Frameworks, Chemistry's New Miracle Materials
LeetCode in Your Terminal
The Anti-Mac User Interface (1996)
HP’s OLED-equipped 2-in-1 laptop is a solid back-to-school deal
With storage and memory prices still at an all-time high, we’re happy to tell you about a solid deal on a good laptop when we find one, rare as they are. Best Buy is selling the HP OmniBook X Flip 2 in 1 for $999.99 (usually $1,649.99) with an Intel Core 7 Ultra CPU, 16GB […]
SQLite should have (Rust-style) editions
Concurrent JavaScript: It can work (2017)
P2P local file transfer based on WebRTC
The FCC's Spam Call Proposal Is Just a Data Collection Scheme
Cursor 0day: When Full Disclosure Becomes the Only Protection Left
submitted by /u/alexeyr [link] [留言]
How I Shipped 341 MB of JSON Through Google Apps Script
submitted by /u/Happycodeine [link] [留言]
Sokoban Speedrun for RL
How would I go about creating a port of adobe flash for android or web browser
I really think it be monumental to do submitted by /u/HumbleEbb9857 [link] [留言]
Rzk: A Proof Assistant for Synthetic ∞-Categories
Fleet-Scale Robotics: Reliable USB Device Binding on NVIDIA Jetson Orin
If you have ever built an autonomous mobile robot, you have likely run into the dreaded "Shuffled USB Port" problem. You boot up your robot, fire up your ROS 2 launch files, and... crash. Your LiDAR driver is trying to parse data from your IMU, and your IMU node is screaming about invalid serial frames. Because Linux assigns virtual serial paths like /dev/ttyUSB0 and /dev/ttyUSB1 based purely on which device initialized milliseconds faster, relying on default OS paths is a recipe for system instability. When you are scaling up to dozens of Jetson Orin nodes —each equipped with an RPLIDAR C1 and a Yahboom 10-axis IMU —manually hardcoding paths or writing rigid scripts on every individual machine isn't viable. Here is how production-grade robotics fleets handle plug-and-play USB binding dynamically using configuration-driven udev rules. The Core Concept: Vendor ID vs. Physical Port vs. Serials Linux's udev (device manager) allows us to dynamically create stable symbolic links (symlinks) like /dev/rplidar and /dev/imu when hardware is plugged in. How we identify those devices determines our fleet's flexibility: USB Serials: Unique to each individual chip. Highly secure, but requires registering every single replacement sensor in your codebase. Physical USB Ports ( KERNELS ): Tied to a physical slot on the carrier board. Great if you have identical sensors, but forces technicians to plug cables into highly specific, undocumented ports. Vendor ID (VID) & Product ID (PID): Identifies the USB-to-serial converter chip on the sensor board. Because the RPLIDAR C1 uses a Silicon Labs CP210x chip ( 10c4:ea60 ) and the Yahboom IMU uses a QinHeng CH340 chip ( 1a86:7523 ), they use completely distinct silicon. This means we can map them dynamically and reliably using just their VID/PID —allowing field technicians to plug them into any USB port on the Jetson without breaking the system. Step 1: The Configuration-Driven File ( devices.conf ) Hardcoding vendor rules inside shell scri