You might look into displaying images in the terminal as well; many modern terminals support showing actual images natively
KiranWells
I’m a Christian and software engineer; I create random graphics projects and websites. Feel free to ask me for help with programming, or about my faith!
- 1 Post
- 25 Comments
Yep; sometimes I will be able to do a search and then when I try to click on a result it has me restart.
For anyone who is still confused about what causes this: Firefox launches copies of itself when creating new website instances (usually when loading a website that has not already been loaded). Because of this, if it is updated in the background (through any means; I usually see this after a manual system update), Firefox has to restart when you try and load a new site because it cannot create any compatible copies of itself, since the old version is the one that is still running and the copies would use the new (updated) version.
The solution is to only update when Firefox is closed, or restart it when it asks.
KiranWells@pawb.socialto Rust@programming.dev•The rabbit hole of unsafe Rust bugs – notgull – The world's number one source of notgull5·2 years agoI believe you are correct; if the unsafe code can cause undefined behavior if input data is not following a specific contract, then the entire function should be labeled unsafe so the caller knows that.
The other option is to check to make sure the contract is valid, and return an error or panic if it is not. That function would be sound, as no inputs cause undefined behavior.
KiranWells@pawb.socialto Linux@lemmy.ml•What's with all these hip filesystems and how are they different?1·2 years agoThey said bcachefs; I don’t think BTRFS has it, at least not since I last checked.
KiranWells@pawb.socialto Linux@lemmy.ml•systemd 255 Released With A "Blue Screen of Death" For Linux Systems4·2 years agoActually looking forward to the btrfs swapfile hibernation; I have tried setting it up on my machine before but the documentation was never clear on whether it would work (or why mine wasn’t).
KiranWells@pawb.socialto Programming@programming.dev•Google unveils AlphaCode 2, powered by Gemini4·2 years agoCheck out Ollama and its extensions for VSCode; might save you some money paying for other services if your computer can run models locally.
KiranWells@pawb.socialto Linux Gaming@lemmy.world•Linux Mint 21.2 multiple ProblemsEnglish3·2 years agoUnfortunately, I don’t have experience with mangohud. Does Legacy work without it? And does mangohud work with other games?
KiranWells@pawb.socialto Linux Gaming@lemmy.world•Linux Mint 21.2 multiple ProblemsEnglish2·2 years agoJust going to ask this just in case: have you tried doing a full update and reboot? If you updated and have not rebooted, sometimes drivers get messed up.
KiranWells@pawb.socialto Linux@lemmy.ml•One single partition for Linux versus using a partition table?4·2 years agoHave you had any luck with hibernation with a BTRFS swapfile? My computer still does not start from hibernation, and I am not sure why, even though I followed the Arch wiki to set it up.
My computer was taking too long to start up, which I interpreted as failing to boot, but in hindsight was probably just my hard drive being slow. So, I booted into recovery mode, and ran an update. At one point, apt said “there are unnecessary packages” and would I like to remove them? I figured that apt knew better than I did (after all, maybe a package dropped a dependency), so I said yes.
It was after I noticed the very large number of packages that I suspected I messed up. Turns out, apt uninstalled the entire desktop environment, and network manager, so I had to boot into a USB drive with Network Manager installed, chroot into my main drive, and reinstall plasma. As a bonus, I think I missed the main group for the plasma desktop and only installed only most of it, so some of my extensions just didn’t work anymore.
The link they use is working for me; what is the code you are using to fetch the data?
Also,
dbg!()
is a very useful macro for inspecting state. Might help see what is going on.
That link seems broken (the date is wrong). This worked for me:
https://this-week-in-rust.org/blog/2023/11/08/this-week-in-rust-520/
KiranWells@pawb.socialto Programming@programming.dev•Where are some places I can find people to study for data structures and algorithms.4·2 years agoI haven’t taken it myself, but “The Last Algorithms Course You’ll Need” is free and is written by The Primeagen. He works at Netflix and runs a programming-focused YouTube channel, and as far as I can tell is very knowledgeable and level-headed.
Definitely seems like an AI generated article. I can’t imagine a human actually writing “the sound of legends being printed.”
KiranWells@pawb.socialto Open Source@lemmy.ml•Cult of the Dead Cow unveils Veilid peer-to-peer project2·2 years agoRegarding exit nodes, I have heard that Veilid does not distinguish normal nodes from exit nodes, meaning any node can be an exit node. However, I did not see this in their presentation, and the system seems to be more focused on peer-to-peer communication within the network than private accessing of outside web sources.
KiranWells@pawb.socialto Open Source@lemmy.ml•Cult of the Dead Cow unveils Veilid peer-to-peer project12·2 years agoRegarding exit nodes, I have heard that Veilid does not distinguish normal nodes from exit nodes, meaning any node can be an exit node. However, I did not see this in their presentation, and the system seems to be more focused on peer-to-peer communication within the network than private accessing of outside web sources.
KiranWells@pawb.socialto Open Source@lemmy.ml•Cult of the Dead Cow unveils Veilid peer-to-peer project3·2 years agoI think Lokinet and Veilid are two different solutions to the same problem. Lokinet is intentionally based on the block chain to prevent attacks, while Veilid is intentionally non-blockchain based. Additionally, Lokinet seems to be more similar to Tor in its makeup and purpose, but I can’t find any information on how the encryption functions to compare to Veilid’s.
KiranWells@pawb.socialOPto Mechanical Keyboards@lemmy.ml•Searching for a Budget Numpad Kit1·2 years agoThanks for the offer, but if I have to solder, I would rather do it myself. Might be able to find someone at my college that I can borrow an iron from.
For anyone who is confused: This is exploiting an old soundness bug in the Rust compiler that is still present. The GitHub issue page has this comment from maintainers: