redditor since 2008, hoping kbin/the Fediverse can entirely replace it.

  • 0 Posts
  • 15 Comments
Joined 1 year ago
cake
Cake day: June 13th, 2023

help-circle







  • It’s mind-boggling to me that this hasn’t been fixed (in Windows, I assume?), people have been complaining for years.
    It’s not inherent to DisplayPort though. Some monitors that suffer from this issue can disable “deep sleep” and have the issue gone even with DisplayPort, but not all monitors allow turning it off.
    (And others yet, like my old Acer XB271HU, doesn’t have the issue to begin with.)


  • Yes, that shouldn’t be an issue. I believe SFTP would be supported basically out-of-the-box if you install OpenSSH during the install, but you might want to create a group and configure access if you’re not the only user.

    The version thing is what I’m doing with ZFS (also works with BtrFS, but it doesn’t feel as reliable yet). Basically I take snapshots every hour, and the entire state of the filesystem at that point becomes frozen in time, and can be accessed as long as the snapshots exists.
    sanoid automates the process and cleans up so that there’s a reasonable amount of snapshots, not hundreds or thousands.
    Of course, this means that you can’t really regain any space when you delete things, until the oldest snapshot containing the data is deleted.


  • It depends on what your goals are of course, but I use ZFS for the file system, sanoid to take snapshots on a schedule (hourly saved for a few days, daily saved for 1-2 weeks and so on up to monthly saved a year or two), Samba to actually share the files to Windows computers, Plex to share media to my TV.
    Also rsync to a second (offsite) computer for replication/backups of the most important stuff. That computer also takes ZFS snapshots to get easy versioning of the files.

    I wouldn’t recommend it for most people, but it’s nice if you’re comfortable working with Linux to begin with.




  • I mostly agree, I’ve had good results with similar prompts, but there’s usually some mistake in there. It seems particularly bad with python imports, it just uses class A, B, C and imports class A, B and X and calls it a day.

    Here are a few prompts that gave pretty good results:

    Create a QDialog class that can be used as a modal dialog. The dialog should update itself every 500 ms to call a supplied function, and show the result of the call as a centered QLabel.

    How can I make a QDialog move when the user clicks and drags anywhere inside it? The QDialog only contains two QLabel widgets.

    For this one, it ignored the method I asked it to use – but it was possibly correct in doing so, as it doesn’t support arbitrary sizes (but I think that’s only for the request?):

    Hi again! Can you write me a Python function (using PySide) to connect to a named pipe server on Windows? It should use SetNamedPipeHandleState to use PIPE_READMODE_MESSAGE, then TransactNamedPipe to send a request (from a method parameter) to a named pipe, then read back a response of arbitrary size.

    It should have told me why it ignored using TransactNamedPipe, but when I told it that it ignored my request it explained why.