A computer science enthusiast.

https://myxi.envs.net

  • 1 Post
  • 35 Comments
Joined 1 year ago
cake
Cake day: June 30th, 2023

help-circle

  • myxi@feddit.nlto196@lemmy.blahaj.zonepangram rule
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    7 months ago

    There’s a "the’ in the quote.

    The quick brown fox jumps over the lazy dog.

    >>> sorted(set("The quick brown fox jumps over the lazy dog"))[2:]
    ['a', 'b', 'c', 'd', 'e', 'f', 'g', 'h', 'i', 'j', 'k', 'l', 'm', 'n', 'o', 'p', 'q', 'r', 's', 't', 'u', 'v', 'w', 'x', 'y', 'z']
    

  • Yesterday, I made a choice that was very tough for me to make. So three years ago, I had a best friend, and we both liked each other. Things got hard because my feelings went too far, I became emotionally unstable and turned into an attention seeker. So because of that, I then ended the friendship.

    Recently, she added me back. I thought we could be friends again because I felt like I improved my mental state in the last two years and won’t turn into an attention seeker again. Well, a week later, I was the same as I was three years ago.

    It was ruining my mental health severely. I couldn’t focus on anything. But I still wasn’t ready to give up on the friendship because she was a very nice friend, and I still liked her for some reason. So I refused to give up. But things got worse real quick, and then I decided to write a long message to her explaining why I can’t continue this friendship and then I blocked her everywhere.

    At the cost of ending all probabilities of a future with her, I feel much better now.

    Gotta do something about this attention-seeking thing, though.








  • myxi@feddit.nltoProgrammer Humor@programming.devVariable Declaration
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    7 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
    9
    ·
    edit-2
    7 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.






  • It was a decent experience, but it had too many features to meet my taste. I like basic things. Their automatic timer detection supports a lot of formats, but it doesn’t support something like “in 5 minutes,” but it does support “in 5 hours/months/weeks.”. Too bad, I frequently forget to do things throughout the day, so I have trained myself to set up quick-to-do tasks to remind myself a few minutes later. But doing it an hour later is asking for too much.