• 0 Posts
  • 698 Comments
Joined 2 years ago
cake
Cake day: June 10th, 2023

help-circle
  • No. Red is a single wavelength, we call red to anything that emits light waves with length between 625 to 750 nanometers, green anything between 500 to 565 and blue anything 450 to 485.

    White is not real, white is what your eyes percebe multiple wavelengths together, if we had evolved near a red dwarf, there would probably be less blue light so out white would likely be independent of blue, just like it is independent of UV currently (because we don’t see those wavelengths).

    Curious thing is that purple is also not real, purple is what your brain interprets blue+red, which are two separate wavelengths, so it’s not a color like red or green, but rather an illusion that your brain creates to show you red and blue at the same time.


  • This is the dictionary definition:

    the deliberate and systematic destruction of a racial, political, or cultural group

    And this is a quote from Israel’s Defence Minister, Yoav Gallant:

    We will eliminate everything - they will regret it

    He also said:

    We are fighting human animals, and we are acting accordingly

    And here’s a quote from Amit Halevi, a Likud member in parliament:

    There should be two goals for this victory: One, there is no more Muslim land in the land of Israel … After we make it the land of Israel, Gaza should be left as a monument, like Sodom

    Those are just some examples that I could find with a quick search, but they clearly show a will to perform a deliberate and systematic destruction of the Palestine people. Therefore since they act on those wishes I would definitely define it as a genocide.


  • Hahaha, I had a friend around college time where we had the exact same dialogue every time:

    • Hey, wanna go watch a movie?
    • I can’t, I don’t have any money
    • How many times have I told you, I’m asking you if you want to, not if you can, I’ll pay for you

    I wasn’t rich or anything, but paying for that extra ticket or meal wouldn’t break my bank and he was my friend, I enjoyed hanging out with, so I would gladly spend that money to hang out with him.










  • Absolutely, but you need to set plugins for that and it’s not easy to get to the same state, but once you’re there it’s easy to surpass it. Vim has a very steep learning curve, this applies to everything from moving around the text to plugin specific stuff, but once you learn it it’s much better than any alternative I’ve ever come across (and I’ve been programming for 20 years, only switched to Nvim recently, although I’ve known basic vim since forever).

    First let me tell you that I don’t know how to do all that you asked, some of it I’ve never needed, but I’m 100% sure it’s possible due to all of the other much more difficult stuff I have on my setup. The stuff that I do have, is much more convenient, e.g. with the cursor on a function/variable I can type gd (Go-to Declaration) to go to the declaration of it, or gr (Go-to References) to go to a list of references for that function/variable, that’s much more efficient than using a mouse, especially when it takes me at most 4 key presses to go to anywhere on the visible screen using jumps. So at the worst case scenario it takes me 6 keystrokes to go to the declaration of something I have on my screen, which even at 70WPM it means a bit over a second, whereas moving your hand to your mouse, mouse to the thingand Ctrl+click probably takes longer and is worse for the wrist.

    But it’s the things that you can only do on vim that make it worth it, really you might gain a few seconds here and there, which do accumulate but it’s the stuff that seems like magic, e.g. have you ever had to replace ' with " on a string because you wanted to write can't? <space>srq" that’s my shortcut for that, i.e. space to enter a “special mode” Surround Replace Quotes with " (srq"), and if I wanted to change from " to ' it would be <space>srq' so only the character I want to use change. Similarly I can do <leader>srb( to replace parantesis/brace/brackets with a parenthesis, heck I can even do <space>srq) to replace a quote with a parenthesis (notice I used open in the other and closed here? Open parenthesis means to add a space, closing one no space, same thing for brackets or braces). Another cool thing this plugin lets me do is ciq (Change Inside Quotes) to change all of the text inside the current/next quotes or dab (Delete Around Brackets) to delete everything inside the brackets and the brackets themselves. And all of that is just ONE plugin that extends the basic around/inside keywords in vim. There are dozens of plugins that completely revolutionize the way you move around and edit stuff. It’s hard to learn, but it’s incredibly rewarding.


  • Great, go with that, what if?

    What if trans people are just mentally ill? Well, if they’re mentally ill then that implies that there’s a cure, we don’t know what that cure is, therefore treating it like an illness is pointless. Instead we should treat it like a condition, i.e. something that the person has to live with. Other examples of conditions are ADHD or Autism, and how do we deal with those? Well, the first step is always for the person to accept that they have that condition and make arrangements so that they can live a “normal” life, these might include taking prescription drugs to normalize their brain chemistry but also behavioral and environmental changes to make their situation more comfortable, including asking people to have leniency on stuff like tardiness which is difficult for them to control. And how is that any different from a trans person taking hormones and asking people to use different pronouns? Why does it matter to me if the person wants to transition? It’s their body, I don’t care if someone does plastic surgery to change their nose, why should I care about their genitalia?. So what if being trans was a mental illness? Until a cure is found nothing changes, whenever a cure gets found then we can reopen the discussion, but unless a person is being a menace to others I oppose the idea of mandatory treatment, so it would be up to trans people whether they wanted to change their body or their minds, and I know what I would choose 100% (I’m a mind, I have a body, changing my body doesn’t change who I am, so that’s an easy choice for me).

    What of gay people are just deviants? First you would have to define deviant, but in any sense of that word it honestly doesn’t matter, because what two consenting adults decide to do, deviant or not, is their own business. So why should you care?. The only “valid” answer here that I can think of involves religion, but we live in a secular society, where we recognize freedom of religion, therefore your religious ideas can’t be imposed onto others, so it’s not a valid argument in our society either.

    So long story short, what if trans are mentally ill? Nothing changes, they should still be able to choose the sort of treatment they would prefer for their “illness”, and hormonal therapy, surgery and asking people to use different pronouns is a valid treatment. What if gays were deviant? Nothing changes, any group of people where all of them are consenting adults should be able to do whatever the hell they want to. So what if you’re wrong? You still should behave the way you already do, so nothing changes.


  • I had that same problem, then I saw some YouTube videos where the guy recommended using Ansible to do stuff and it’s been night and day, not only it’s reproducible so if I ever want to move a service to another machine all I have to do is move a couple of roles around and possibly copy stuff over to keep the data but also it acts as documentation, because if I ever forget something I can look at the code.

    Also I decided to write the roles myself instead of relying on pre-existing ones, so there’s some logic to how my stuff gets deployed and it’s easy to extend for any new stuff I want to add.





  • sigh can’t believe that no one mentioned that there is a default set of shortcuts that are used across all GNU programs, and it’s been the default since way before Ctrl+C/Ctrl+V existed. You can easily copy/paste stuff in any terminal using the same keypresses you would on Emacs, I.e. Ctrl+space to start selection, Alt+W to copy and Ctrl+Y to paste. In fact you can navigate the entire line the same way, not just copy/pasting but moving back and forward, selecting and deleting stuff, e.g. Ctrl+A Ctrl+K cuts the entire line.

    Unless you activate Vi mode (which most terminals support) and then you can use the same keypresses you would on Vi, including ci" and other cool stuff that’s much more powerful that simple copy/paste.

    There is a default, it’s just not the same as word uses.




OSZAR »