• 1 Post
  • 11 Comments
Joined 2 年前
cake
Cake day: 2023年8月5日

help-circle




  • I am currently working on a project that requires me to use Brother P-touch printers with NixOS on Raspberry Pi. Manufacturer does not offer ARM64 drivers. Last driver update was from 2017 for the model I am using.

    I spent the entire week figuring out why CUPS does not play well with open source drivers which are maintained by some unpaid heroes who are doing their best.

    Eventually, I hacked together some code that implements printer’s raster language and uses usblp printer class driver.

    It saddens me to see that there is little to no interest from manufacturers to provide and, most importantly, maintain working drivers.

    I would have been certainly lost without open source alternatives and implementation examples.


  • koratoProgrammer Humor@programming.dev.DS_Store
    link
    fedilink
    arrow-up
    7
    arrow-down
    2
    ·
    1 个月前

    I elaborated on it below. Your team will grow and shrink. No guarantee that each developer will bring the same IDE. This is especially true for open source projects.

    If it works your team, no need to be dogmatic about it. Just be careful about what you put there and agree on a set of sane defaults with your team. Your project should build and run tasks without needing a specific IDE.


  • koratoProgrammer Humor@programming.dev.DS_Store
    link
    fedilink
    arrow-up
    8
    arrow-down
    3
    ·
    edit-2
    1 个月前

    Linting rules and scripts should never live in an IDE-specific directory. I should not need to know your IDE configuration to run scripts and lint my files.

    I have yet to come across a language that requires configuration to be stored that way. All modern languages have separate configuration and metadata files for use cases you have defined.

    As for workspace defaults, whatever IDE configuration works for you is not guaranteed to work for others. Shoving extension suggestions down their throat each time IDE is booted should not be a part of your source code, as IDE extensions should not be needed to run your code.