• 0 Posts
  • 17 Comments
Joined 1 year ago
cake
Cake day: July 18th, 2023

help-circle

  • If you can see a polar bear it’s a threat.

    They really aren’t like other bear species. They are an apex predator in an area where basically nothing other than another polar bear can even harm them. They see most things as food, including humans.

    As a bonus, Iceland has a pretty wonky ecosystem that needs protecting as is and polar bears aren’t native to the island. They have to swim extreme distances to get there, making relocation extremely difficult and expensive, plus if they leave it be it will entirely disrupt other wildlife in the area, to say nothing of the human population.

    As others have said, it sucks that it got shot, but Iceland especially has very limited options on how else to deal with it. Shoot on sight is, unfortunately, a very reasonable policy for them.


  • It’s been almost a decade since I used C++ and had to verify, but after some quick searching around it looks like it hasn’t changed a ton since I last looked at it.

    You can use smart pointers, and certainly you should, but it’s a whole extra thing tacked on to the language and the compiler doesn’t consider it an issue if you don’t use them. Using new in C++ isn’t like using unsafe in rust; in rust your code is almost certainly safe unless marked otherwise, whereas in C++ it may or may not be managed properly unless you explicitly mark a pointer as smart.

    For your own code in new codebases this is probably fine. You can just always make your pointers smart. When you’re relying on code from other people, some of which has been around for many years and has been written by people you’ve never heard of, it becomes harder to be sure everything is being done properly at every point, and that’s where many of these issues come into play.


  • brenticus@lemmy.worldtoLinux@lemmy.mlLadybird announcement
    link
    fedilink
    arrow-up
    39
    arrow-down
    1
    ·
    4 months ago

    C and C++ require more manual management of memory, and their compilers are unable to let you know about a lot of cases where you’re managing memory improperly. This often causes bugs, memory leaks, and security issues.

    Safer languages manage the memory for you, or at least are able to track memory usage to ensure you don’t run into problems. Rust is the poster boy for this lately; if you’re writing code that has potential issues with memory management, the compiler will consider that an error unless you specifically mark that section of code as unsafe.




  • If I would stop spending so much time modifying (read: breaking) it it probably would be more productive. I love the ergonomics of my setup.

    But also wouldn’t it be cool to add just one more fancy widget to my already janky-as-fuck eww bar? No? Well I’ll do it anyways.


  • The reason you don’t see a lot of love for Manjaro is because your experience isn’t quite typical. Manjaro is notorious for taking Arch and making it less stable. It’s mostly Arch with some defaults and software to make it easier to set up, but the few cases where it drifts from Arch tend to cause more issues than if you just used Arch directly.



  • The discover store comes with KDE nowadays. GNOME has a similar store. Most recommended distros will preinstall one of those two. Ubuntu has a similar snap store, I think.

    I guess the steam flatpak is unofficial. Works, though. Very simple, lazy solution. Could have gone through the fedora repos, too, where they’ve gone through the effort of repacking the deb for their users.

    Dunno what your package manager problem is. Don’t even know what you’re running. Mine works fine, and certainly better than the windows store 🤷

    Appimages sure aren’t recognized as system apps. They’re basically like an exe on windows. I’d rather manually add my rare appimage to the menu than go through the installer hell windows has.

    Your point seems a little silly because, honestly, my experience is that developers have largely made the Linux desktop experience so simple and stable that it works better than any windows machine I’ve used in the past decade. I’m sorry this hasn’t been your experience, but in the last couple of years I’ve pretty much only needed to open the terminal because I want to, not because I need to.


  • I installed steam by going into my discover app, searching for steam, and clicking install. This is how I get most things, excepting a few appimages I downloaded that just work. I change my settings via GUIs that came with KDE. The only extra configuration GUIs I installed were pavucontrol (just like it for some reason) and protontricks (for doing weird stuff with games most people never need to do).

    I don’t know what distro/de/wm you’re using right now but what you’re saying doesn’t need to be the case. Linux desktop is honestly working better than windows for me lately.



  • I’m not sure that’s quite right in the sense that entropy is still meaningful on the level of individual particles—phenomena like proton decay, for example. But yeah, fundamentally it’s an emergent property from the way energy works, and on a grand scale that tendency is a way to view time.


  • I wish I had a link, I think acollierastro talked about it briefly in one of her videos but I think it was a sidebar on something else so I have no idea which one. It was just one of those things where I heard the statement and it clicked on some weird intuitive level.

    I probably used “chaotic” inaccurately, but entropy strives towards maximum disorder in that there is energy holding things together and that energy won’t hold forever. The big bang was basically a big explosion where a whole lot of order was imposed on the universe, for example by forming particles, and since then there’s this general trend towards things falling apart. Energy can be used to fuse a particle, but left alone that particle will eventually fall apart, even if it’s not moving. That’s entropy. So time is that quantity where, given enough of it, things fall apart.

    Does that make sense? I have no idea if I’m explaining it properly, my physics background is super scattered.


  • A definition I saw recently that I like is that time is the direction of entropy. You follow time one direction and you get the big bang where everything is chaotic and happening, and in the other direction you get the heat death of the universe, where everything has settled into a base state and nothing’s happening.


  • I’ve been using Obsidian lately. Proprietary with an open plugin ecosystem. Works well, makes it easy for me to integrate with other notes and such, but I haven’t figured out a good workflow for exporting work for submission. That said, it’s all markdown and there are lots of plugins for stuff like that, so it’s probably mostly just that I haven’t tried very hard.

    In the past I’ve used Google Docs (proprietary), Scrivener (proprietary), Manuskript (open), Zim (open), and probably a few I’m forgetting. Really it just comes down to what you’re looking for out of the software, there are lots of options.

    The biggest thing to keep in mind from a self-hosting perspective is local storage and easy backups under your own control. I use syncthing to keep my whole Obsidian vault synced across a few devices; for some software that’s easier or harder due to file formats and accessibility.