A computer science enthusiast.

https://myxi.envs.net

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

help-circle

  • myxi@feddit.nltoProgrammer Humor@programming.devVariable Declaration
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    3 months ago

    I also leave out little syntax errors and only only focus on the rough idea during my train of thoughts. And the variables, aren’t really supposed to be implied as private or unused – I do eventually meaningfully use them. If I have to prefix all my variables with a underscore to avoid the LSP, I might instead just disable the LSP. When I eventually turn the LSP back on, it tells me the actually unused variables and imports that I can now get rid of.

    Because of the LSP, I used to write maybe three hundred lines of code per hour, but now I probably average at least five hundred or more.


  • myxi@feddit.nltoProgrammer Humor@programming.devVariable Declaration
    link
    fedilink
    English
    arrow-up
    8
    ·
    edit-2
    3 months ago

    I turn off LSPs during my train of thoughts. I don’t want all red and yellow underline bullshit to disrupt my thoughts. Like, calm the fuck down. I WILL write the correct code eventually; just give me some fucking time.

    Well, I use Neovim, so turning off the LSPs or restarting them is sufficiently simple.

    When I work on a new project, or on a new feature, I temporarily turn off the LSP, and rely on the compiler to figure out where the code errors. Plain white text gives me the freedom to write whatever the fuck I want without any disruption. Of course, I eventually turn on the LSP again to fix the little issues.


  • I agree fully. I basically never download music anymore, because I can get all the music I can think of on Spotify for a few bucks a month.

    I recently started music pirating because I listen to a lot of genres and I want to shuffle them. If I use Spotify, I am limited to their shitty shuffler, but if I download my music offline, I can shuffle however I want. My favorite algorithm to shuffle my huge bunch of music is to shuffle them by genre. Now I get to listen to interesting music with full control over the algorithm used.

    Also, there are frequent power cuts in my area, so an offline library always proves useful. I also visit places where internet connections are not available.












  • The torrent client can get confused about the authenticity of the files if you make any changes to the files that were downloaded. It can also have trouble finding all the files required for seeding, so moving the needed files to media is a no.

    Once the torrent client finishes downloading the files, instead of copying the needed files among them to media’s respective folder, we simply make a hardlink to it to save space and to ensure the authenticity of the files in torrents folder such that the torrent client has no trouble seeding the files.

    The seeded folder which contains the needed files can also contain media that can potentially confuse Jellyfin such that it shows it; furthermore, less useless files also decreases the scanning time taken by Jellyfin. So instead of directly linking the respective folders in torrents we have a separate and more clean directory for Jellyfin media.

    TL;DR: to save space and to ensure your torrent client can keep seeding the files.


  • I use Prowlarr + Radarr + Sonarr + Jellyfin.

    I have /data directory organised like this:

    /data
    ├── media
    │   ├── books
    │   ├── movies
    │   ├── music
    │   └── tv
    └── torrents
        ├── books
        ├── movies
        ├── music
        └── tv
    

    Files added from Sonarr goes to torrents/tv and that for Radarr torrents/movies. Once the torrent client has downloaded the files, Sonarr and Radarr hardlinks the needed files to media’s respective folders. I have set media/tv for shows and media/movies for movies on Jellyfin. Everything is automated, I love it.