• 21 Posts
  • 1.05K 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.




  • Servo company? It’s an open-source project underneath the Linux Foundation. The Servo Shell source code seems to be here: https://github.com/servo/servo/tree/main/ports/servoshell
    It probably wouldn’t be too difficult to compile it yourself, if you really want it.

    However, you have to mind that it’s damn near impossible to build a browser from scratch that supports the majority of web standards at this point. Servo does not do so. Most webpages will not be usable on it.
    That’s the reason why they don’t care to provide a general-purpose browser interface. Because Servo is only useful at this point when only a specific webpage or specific set of webpages needs to be displayed.
    So, generally when it’s embedded into hardware or into a software application, where the user does not have a URL bar to type arbitrary addresses into, and where the webpage to display can be specifically crafted for Servo.



  • Ephera@lemmy.mltoMemes@lemmy.mlNever Forget
    link
    fedilink
    English
    arrow-up
    11
    ·
    5 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
    2
    ·
    7 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.