• 40 Posts
  • 2.08K 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.


  • Your way of working is kind of baked into the EWMH standard (which is used e.g. for programmatically sending a window to a specific virtual desktop), in that it assumes there to only be one set of virtual desktops.
    I imagine, that’s a big part of the reason why this implementation got delayed for so long. And it’s why I don’t think your way of working is going anywhere…

    (Honestly, I think most of the people clamoring for this new feature simply don’t know how to use the ‘show on all desktops’ feature that already exists.)

    Well, much like it would be a pain for you to switch each screen individually, it’s a pain for me to enable “show on all desktops” for each window that I drag to the secondary screen. And of course, that still does not allow actually using multiple different desktops on the secondary screen, which is also a legitimate use.

    Personally, I have usually 1 screen, sometimes 2 or 3 screens, and 20+ virtual desktops, so yeah, it really is a pain…



  • 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