26 / chaotic neutral / autist

Avatar by Orc_Enk.

also on awoo.fyi with the same name for those on Mastodon/Pleroma/Misskey

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

help-circle

  • That’s for mounting, yeah, but when it comes to interacting with the hardware, Linux itself uses letters for some types of devices. For example, serial-connected ones (e.g. SATA internal drives, USB external drives) are /dev/sdx (x being a letter from A-Z). I don’t know what happens when all letters are used up though, maybe someone can chime in there? NVMe uses numbers it seems - my boot drive is /dev/nvme0n1

    There are other ways to access devices and partitions besides that though. I just had to put EndeavourOS on a flash drive and the Arch Wiki recommended doing this by targeting the drive via /dev/disk/by-id/, which lists connected drives by name, connectivity and serial number.


  • Flaky@kbin.socialtoAsklemmy@lemmy.mlDeleted
    link
    fedilink
    arrow-up
    1
    ·
    1 year ago

    What I think has happened is that Reddit performed a rollback after the crash happened during the blackout. I’ve had comments from 2021-22 being restored and which ones did get restored were pretty random. Twitter had a similar situation a while ago.


  • Flaky@kbin.socialtoProgramming@kbin.socialAI and Coding.
    link
    fedilink
    arrow-up
    5
    ·
    edit-2
    1 year ago

    I’ve used ChatGPT to answer questions relating to Python. Notably, I asked it how to use QtNetwork to send and receive requests with authentication, as the application I was using did not use any non-standard modules I was more accustomed to like requests but did have PyQt. Not only did it gave me working code snippets but explained it in a way that I was able to understand. No, it’s not perfect. But man it’s better than hunting Google for that one StackOverflow post.

    I have heard it trips up on certain less-used programming languages like Swift though, so depending on your use case YMMV. I’ve also not used Codex but a friend of mine has. Apparently it really liked to mention this one specific GitHub profile.

    For shits and giggles I asked ChatGPT a while back to represent a Pokemon with a Python class, and it gave me working code. Google Bard would trip up and not use the class when I told it to.