• 5 Posts
  • 13 Comments
Joined 2 years ago
cake
Cake day: March 9th, 2024

help-circle
  • The tldr app is in Debian official repos so I installed it with apt tools. From there, it failed me:

    $ tldr wg
    Downloading tldr pages to ~/.local/share/tldr
    tldr: HttpExceptionRequest Request {
      host                 = "tldr.sh"
      port                 = 443
      secure               = True
      requestHeaders       = []
      path                 = "/assets/tldr.zip"
      queryString          = ""
      method               = "GET"
      proxy                = Nothing
      rawBody              = False
      redirectCount        = 10
      responseTimeout      = ResponseTimeoutDefault
      requestVersion       = HTTP/1.1
      proxySecureMode      = ProxySecureWithConnect
    }
     (ConnectionFailure Network.Socket.getAddrInfo (called with preferred socket type/protocol: AddrInfo {addrFlags = [], addrFamily = AF_UNSPEC, addrSocketType = Stream, addrProtocol = 0, addrAddress = 0.0.0.0:0, addrCanonName = Nothing}, host name: Just "tldr.sh", service name: Just "443"): does not exist (Temporary failure in name resolution))
    

    Looks like it needs cloud access. My gear only works on Tor, so then I tried it this way:

    $ torsocks tldr wg
    No tldr entry for wg
    $ torsocks tldr wget
    No tldr entry for wget
    $ torsocks tldr find
    No tldr entry for find
    $ torsocks tldr rsync
    No tldr entry for rsync
    $ torsocks tldr -u
    Downloading tldr pages to ~/.local/share/tldr
    tldr: Data.Binary.Get.runGet at position 4: Did not find end of central directory signature
    CallStack (from HasCallStack):
      error, called at libraries/binary/src/Data/Binary/Get.hs:351:5 in binary-0.8.8.0:Data.Binary.Get
    

    Also checked for kmdr but that’s not in the official debian repos, which I try to stick to. I appreciate the tips though.



  • I was quite confused when I read your post because Tesseract is an OCR engine. Your link helped sort it out.

    I think I have come across various fedi web clients that do conversions. I think peertube shrinks videos, IIRC. The auto conversions are useful but they must be conservative in the extent of their changes. The posterizing that I do w/Imagemagick makes a dramatic change so it could not be done automatically by a client or server, as users need to review the output and decide. So I believe the best compression will always require manual effort in order to judge whether the quality loss is still acceptable for the application.

    Regarding Tesseract (the lemmy client) – does that work offline? I’m always looking for a Lemmy client that can briefly connect to sync content and then support reading and writing messages when offline.










  • Consider florida, where if you are caught with shrooms that are wet, freshly picked, they cannot convict you for carrying contraband because you do not necessarily know what you picked.

    Laws are often based on intent. In some cases, penalties vary depending on intent. It would be an unacceptably brutally harsh law to judge someone under a presumption of harmful intent for something they might have no awareness of.

    QR codes can have icons on them. Certainly if I created such a t-shirt, I would put some cool looking icon in the center of it. Someone being dragged through the system might argue “i did not know that qr code was real… i just liked the cat in the middle of it”.



  • Not sure but I think QR codes that hold wi-fi creds would more likely be automatically processed by phones. Seems like an adequate attack surface. Maybe dodgy creds could overflow or do some kind of DB attack. Or even legit creds could lead someone to connect to a malicious hot-spot captive portal that the attacker carries.