26 / chaotic neutral / autist

Avatar by Orc_Enk.

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

  • 0 Posts
  • 11 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.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.






    • YouTube, with a watch later playlist. I heard on fedi that YouTube’s recommendations are absolute garbage if you use an adblocker. I don’t know how true it is, but if it is it explains why I’ve transitioned to using Watch Later.
    • The fediverse instance I use that’s solely for microblogging.
    • Rate Your Music. Probably my favourite music site right now, and one of the few sites I’ve given money to. It’s great for discovering new music that you’ll love IMO. It’s been going on for a couple decades now, definitely worth having a look.
    • MusicBrainz, which is basically a giant encyclopedia of music releases for computers to use. I’ve added releases to MusicBrainz from stuff I’ve bought. If you’ve used MusicBee, MP3Tag, or their own tagger Picard, you’ve used MusicBrainz. I’ve since replaced Last.fm with ListenBrainz since the data quality on the latter is much better than Last.fm.