• 6 Posts
  • 1.09K Comments
Joined 6 years ago
cake
Cake day: May 31st, 2020

help-circle

  • Hmm, that sounds exactly like my setup. Weird.

    I did have the file created, with {} inside (empty Nix expression). If I git add it, it works as well:

    And yeah, I understand that it’s supposed to be a stacktrace, but other error messages look similarly horrendous and I can often only try to guess what’s wrong by reading the stacktrace top-to-bottom, so I’ve somewhat gotten used to doing that.

    But good to know that these terrible error messages might be a problem with my system. Thanks!


  • Hmm, that’s interesting. For me, it looks like this:

    I actually thought, it said somewhere in there, that the file isn’t staged, but apparently not even that (anymore?).

    You don’t happen to be using Lix or something, do you? I’ve heard that it’s supposed to have better error messages, but I was never sure how much better it might be…

    Edit: Perhaps I should add that those code locations it shows, are not from my code. Only the modules/terminal/new_file.nix in the second-last line is relevant.




  • Yeah, I was gonna say, that might be the root cause.

    In the vast majority of cases, you want Box<dyn Error + Send + Sync>, but folks tend to leave out the Send + Sync, because it looks like additional complexity to them, and because it doesn’t cause problems when they’re not doing async/await.
    It’s better to define a type alias, if you don’t want that long type name everywhere.






  • Ephera@lemmy.mltoMemes@lemmy.mlNever Forget
    link
    fedilink
    English
    arrow-up
    9
    ·
    7 days ago

    Oh yeah, when I double-checked my information for the above comment, I also ran across this section, which is kind of wild (Hitler was clean-edge in some disciplines, while not at all in others):

    Hitler stopped drinking alcohol around the time he became vegetarian […] He was a non-smoker for most of his adult life, but smoked heavily in his youth (25 to 40 cigarettes a day); he eventually quit, calling the habit “a waste of money”. […] Hitler began using amphetamine occasionally after 1937 and became addicted to it in late 1942. Speer linked this use of amphetamine to Hitler’s increasingly erratic behaviour and inflexible decision-making (for example, rarely allowing military retreats).

    Prescribed 90 medications during the war years by his personal physician, Theodor Morell, Hitler took many pills each day for chronic stomach problems and other ailments. He regularly consumed amphetamine, barbiturates, opiates, and cocaine, as well as potassium bromide and atropa belladonna

    https://en.wikipedia.org/wiki/Adolf_Hitler#Health




  • Ephera@lemmy.mltocats@lemmy.worldIt would crack so good
    link
    fedilink
    English
    arrow-up
    3
    ·
    9 days ago

    I, uh, haven’t yet. 😅

    I’m not sure, what it’s called in English. In German, we have the sexy term “Lendenwirbelsäulenblockade” for it.
    The internet tells me that it might be a “lumbar vertebral subluxation” in English, although that Wikipedia article sounds a lot more like quackery than my German impression of it. It might also be a “lumbar blockage”…?

    But basically, one of the many joints in the spine for some reason loses its ability to move. And often times, the solution is to apply a bit of force, to get it unstuck. You *should* talk to a professional about this, or at least a chiropractor, because force won’t always be the correct solution.
    But yeah, if you ignore those safety instructions, what you can do, is to slowly move your back into the position that the right cat is in (while on your knees and hands). Then slowly arch your back into the other direction. At some point, you might hear a pop, as the joint regains its ability to move and then that’s that.