A computer science enthusiast.

https://myxi.envs.net

  • 2 Posts
  • 24 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
    7
    ·
    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.


  • Thanks for note. Do they currently have that backend?

    That aside, you might want to try Nim. It’s pretty cool. It can compile to C and C++, and JS. There have been browser extensions made with it. Heck, it even has an LLVM backend. And the C code it generates it pretty fast on benchmarks. It’s filled with tons of metaprogramming stuff and AST-level macros. And it has this cool thing where it can ignore name casing of identifiers like variables and functions; so isSome == is_some.








  • 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.








  • myxi@feddit.nltoMemes@lemmy.mlImportant distinction
    link
    fedilink
    English
    arrow-up
    5
    arrow-down
    2
    ·
    5 months ago

    No one has any Idea what happens after death

    What happens after is that brain stops functioning, as a result of that, your body starts to rot. Nothing else happens. Your brain, that I argue is the real you, stops functioning.

    which religion is taking away your freedom?

    My parents circumcised my penis when I didn’t know what they were doing, they permanently stole a part of me; and as a result of that crap, my sex life is ruined forever. They took away my freedom because of you shitheads who are ruining our world by influencing people into accepting religion. You guys have the audacity to claim that people have a choice after indoctrinating children of religions so that once they are adult they follow your religion.

    If you are so about choices, then make sure your kids don’t get to know about superstitious beliefs until they are an adult and only then tell them about your fantasies that you believe that a bearded man is watching us from the sky. I bet your kid is going to think you’ve gone crazy.


  • myxi@feddit.nltoLinux@lemmy.mlThe future of Linux
    link
    fedilink
    English
    arrow-up
    2
    ·
    edit-2
    8 months ago

    “send a patch via mail” process.

    I don’t see a problem with it. I don’t know what tools you use, but the current process certainly isn’t ancient. Even if I use GitHub or something else, I still highly depend on my e-mail to actually know somebody published a patch and if I am supposed to review it. I don’t have to use a GUI coupled with shitty UI decisions. E-mails are very simple in their own way and I don’t find it ancient or bad.