Programmatically Retrieving the Inode For a File In Linux

ls uses the stat structure to provide this information via ls -i. Therefore, it should be available via any programming language whose stat implementation passes this information through:

$ ls -i .bashrc
18731977 .bashrc
$ python
>>> import os
>>> s = os.stat('.bashrc')
>>> s.st_ino
18731977

Reduce Rust Verbosity In Sublime

The “Rust Enhanced” Sublime package is extremely noisy (“fruit salad”) with its syntax checks, by default:

To reduce the amount of this noise, I use these settings:

{
    "rust_syntax_hide_warnings": true,
    "rust_message_status_bar": true,
    "rust_region_style": "stippled_underline",
    "rust_phantom_style": "none",
}

..which results in:

This is much less intrusive. However, you’ll have to run a manual build and look in the bottom panel for the error messages as the markers in the gutter don’t expose them. This should be, at least, less intrusive for most developers.