[–] 35 points 2 years ago*

No, no, it's fine -- I saw a Python2 sample squeeblimator that was never fully fleshed out. I just need to rewrite it... dodge the deprecations... use a few list comprehensions...

The next dev 5 years in the future: wtf is this?

  • source
  • [–] [S] 4 points 2 years ago (1 child)

    I think I mentioned it but here it is again in case the comment didnt federate

    click to enlarge

    # snippet based on end4 dotfiles -- FIXME edge case where a
    #     preexisting tmp.png might be overwritten
    # English
    bind = Super+Shift,T,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l eng "tmp.png" - | wl-copy && rm "tmp.png"
    # Korean
    bind = Super+Shift,K,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l kor "tmp.png" - | wl-copy && rm "tmp.png"
    # Japanese
    bind = Super+Shift,J,exec,grim -g "$(slurp $SLURP_ARGS)" "tmp.png" && tesseract -l jpn "tmp.png" - | wl-copy && rm "tmp.png"
    

    Pipe grim and slurp (selects part of the Wayland screen then copies) into a tmp.png, tesseract it into the clipboard, then delete the tmp.png. Has like 1 sec of lag tho :]

  • source
  • parent
  • context
  •  

    Just wondering since I know a lot of people quietly use a screen-area-select -> tesseract OCR -> clipboard shortcut.

    • I separate subjects of interest into different Firefox windows, in different workspaces -- so I have an extension title them and a startup script parse text to ask the compositor to put them in the correct workspace (lets me restart more conveniently).
    • I have automatically-set different-orientation wallpapers for using my 2-in-1 depending on whether I use it in portrait or landscape (kind of just for looks, but I don't think if anyone else adds a wallpaper change to their screen rotation keybind).
     

    I'd learned about this last week, and this stuff is a bunch of Wikipedia searches so forgive me if I miss anything :]

    Similar to git master and whitelist/blacklist having addressed racist origins, I've just learned that "ricing" -- i.e. way-far-from-default, colorfully souped-up *nix customizations -- came from a derogatory word for Asian "riced out" cars.

    (click to enlarge spot where I came to learn about this)


    Example in the lemmy.ml/c/linux community.

    The linked Wikipedia article doesn't list *nix ricing specifically, but it's probably not a far reach -- for example, tech's master-slave came from cars too.


    Now I'm not here to start a debate on whether the term itself is bad. The arguments are done to death and predictable (old threadhope I can link here). Rather, I posit that we could probably invent a new term if we forced it hard enough.

    For example, 4chan forcibly invented the use of the ok hand for "white power", as a collective prank (Wikipedia).

    Further, Tumblr invented 'then beg' as an insult response to 'I beg your pardon/to differ'. (click to enlarge)

    Based on Pukicho.

    So why can't Lemmy invent something too?

    Here are some earlier takes. (click to enlarge for source, but they are listed below anyway)

    I surmise it has to be (1) somewhat unique and (2) short and nounable/verbable.

    • Customization doesn't fit -- it's too broad. Changing the wallpaper is a customization -- diagonalizing your screen is a rice (term to be replaced...).
    • Bespoke doesn't fit either. That's for a duct-tape script you hack together.
    • Pimping out... is not a good alternative. It preexists^(citation^ ^needed?)^ and has inertia but it's not any better.
    • Souping up... doesn't roll off the tongue so much. But it's food-related (and thus not far from "rice"). Though I can't see myself saying "Yo, check out this epic soup."

    Brainstorming welcome :P

    view more: next ›