| Project | Commits | Added | Deleted | Net | Summary |
|---|---|---|---|---|---|
| smb2 | 40 | +38,628 | -2,236 | +36,392 | Built an entire SMB2/3 client library from scratch in one day. Wire format for all 19 commands, NTLM auth, signing (HMAC-SHA256/CMAC/GMAC), encryption, compound requests, pipelined I/O, streaming downloads, file watching, CI, benchmarks. Beats native macOS SMB on all operations. |
| cmdr | 13 | +6,725 | -1,064 | +5,661 | MTP move conflict bugs fixed, 8+ new MTP E2E tests, a11y contrast fixes, Docker tooling improvements, watcher cache invalidation bug fix, released v0.10.0 |
| mtp-rs | 4 | +463 | -18 | +445 | Added rescan_virtual_device and pause_watcher APIs for E2E test reliability, released v0.8.0 and v0.9.0 |
| Total | 57 | +45,816 | -3,318 | +42,498 | Built smb2 crate from zero to production-grade, shipped Cmdr v0.10.0 with MTP fixes, published two mtp-rs releases |
Two Rust SMB client libraries. One built by a human over a year, the other vibe-coded in a day by someone who didn't know much Rust. Claude Code tries to figure out which is which, just by reading the code.
David: I have
/tmp/smb2/and/tmp/smb-rs/, two libs for the same thing. One of them is written with hard human work over 1 year, the other one is vibe coded in a day by someone who didn't even know much Rust. Without looking at.gitand the file dates, and not using any subagents to do research work, WDYT, which one is which, based on code quality and lib usability?Read like 1-1 files of each lib at a time, then speak out your thoughts-in-progress loud so I understand where you are in the process of figuring it out :)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <!DOCTYPE html> | |
| <html lang="en"> | |
| <head> | |
| <meta charset="UTF-8"> | |
| <meta name="viewport" content="width=device-width, initial-scale=1.0"> | |
| <title>Cmdr 3D shape gallery</title> | |
| <style> | |
| * { margin: 0; padding: 0; box-sizing: border-box; } | |
| body { |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| export default class OrientationFixer { | |
| /** | |
| * @param {File} file | |
| * @returns {Promise<int>} | |
| */ | |
| async determineOrientation(file) { | |
| const data = await this._readFileToArrayBuffer(file); | |
| const dataView = new DataView(data); | |
| return this._isJpegFile(data, dataView) ? (this._getOrientationValueFromJpegData(dataView) || 1) : 1; | |
| }; |