• 0 Posts
  • 30 Comments
Joined 3 months ago
cake
Cake day: August 11th, 2024

help-circle



  • pemptago@lemmy.mltolinuxmemes@lemmy.worldFixed a post I saw earlier
    link
    fedilink
    English
    arrow-up
    9
    arrow-down
    1
    ·
    13 days ago

    It’s available to whoever is willing to pay. Consent is given when users agree to privacy policies and ToS. Unfortunately, unless you’re in the EU, it’s legal, and when companies violate permissive laws or suffer a data breach, the penalties are often inconsequential. The original comment was vague and didn’t specify the case. In the context of linux users vs MS and Apple, I’m leaning towards a distrust of big tech and “readily available for anyone” being inclusive of a multibillion dollar ad industry and the ecosystems developed around it. Though, technically not anyone can access every piece, so I guess we could dismiss it as a thing of the past.












  • I have used inkscape for this purpose and it can be effective. The display units can be changed in the preferences (inch, cm, etc) and basic shape dimensions input directly. You can input absolute position for shapes and nodes, but I didn’t notice an easy way for relative position. They also have a path effect called “Measure Segments” for that functionality. FWIW, I later preferred blender, but I might try a dedicated tool like LibreCAD mentioned in another comment. They seem to have decent documentation and a wiki.



  • I went a little overboard and wrote a one-liner to accurately answer this question

    history|cut -d " " -f 5|sort|uniq -c|sort -nr|head -5
    

    Note: history displays like this for me 20622 2023-02-18 16:41:23 ls I don’t know if that’s because I set HISTTIMEFORMAT='%F %T ' in .bashrc, or if it’s like that for everyone. If it’s different for you change -f 5 to target the command. Use -f 5-7 to include flags and arguments.

    My top 5 (since last install)

       2002 ls
       1296 cd
        455 hx
        427 g
        316 find
    

    g is an alias for gitui. When I include flags and arguments most of the top commands are aliases, often shortcuts to a project directory.

    Not to ramble, but after doing this I figured I should alias the longest, most-used commands (even aliasing ls to l could have saved 2002 keystrokes :P) So I wrote another one-liner to check for available single characters to alias with:

    for c in a b c d e f g h i j k l m n o p q r s t u v w x y z; do [[ ! $(command -v $c) ]] && echo $c; done
    

    In .bash_aliases I’ve added alias b='hx ${HOME}/.bash_aliases' to quickly edit aliases and alias r='source ${HOME}/.bashrc' to reload them.


  • I wanted something similar from a remote company I was working for. They were pretty good about fulfilling requests, but when I asked for a good kvm switch they said they had trouble in the past and instead recommended a usb hub that can toggle between machines. Then connect both machines to the same monitor and toggle the input. Not ideal, but low cost and functional. Might not suit your needs (would be annoying if you have to frequently toggle back and forth), but if you’re just trying to share your desk space between a work machine and personal, and the monitor input is easy to toggle, it’s worth considering.