@KiranWells@pawb.social avatar

KiranWells

@KiranWells@pawb.social

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!

This profile is from a federated server and may be incomplete. Browse more on the original instance.

KiranWells,
@KiranWells@pawb.social avatar

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:

we already had a crate published on crates.io before which used this bug to transmute in safe code, see (comment).

this issue is a priority to fix for the types team and has been so for years now. there is a reason for why it is not yet fixed. fixing it relies on where-bounds on binders which are blocked on the next-generation trait solver. we are actively working on this and cannot fix the unsoundness before it’s done.

KiranWells,
@KiranWells@pawb.social avatar

This is probably not the solution you are looking for, given your opinion of the company, but I wonder if using their 1.1.1.1 app (which acts as a mini VPN to a Cloudflare endpoint and changes your public IP) would fix that for you. The upside is it’s free, the downside is that it is a Cloudflare-run VPN.

KiranWells,
@KiranWells@pawb.social avatar

To be honest, you can say the same about any large cloud provider. What happens if AWS, or Azure, or Google Cloud go down, or become terrible?

KiranWells,
@KiranWells@pawb.social avatar

You might look into displaying images in the terminal as well; many modern terminals support showing actual images natively

KiranWells,
@KiranWells@pawb.social avatar

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,
@KiranWells@pawb.social avatar

Yep; sometimes I will be able to do a search and then when I try to click on a result it has me restart.

KiranWells,
@KiranWells@pawb.social avatar

I 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,
@KiranWells@pawb.social avatar

They said bcachefs; I don’t think BTRFS has it, at least not since I last checked.

KiranWells,
@KiranWells@pawb.social avatar

Actually 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,
@KiranWells@pawb.social avatar

Check out Ollama and its extensions for VSCode; might save you some money paying for other services if your computer can run models locally.

KiranWells,
@KiranWells@pawb.social avatar

Just 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,
@KiranWells@pawb.social avatar

Unfortunately, I don’t have experience with mangohud. Does Legacy work without it? And does mangohud work with other games?

KiranWells,
@KiranWells@pawb.social avatar

Have 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.

KiranWells,
@KiranWells@pawb.social avatar

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.

Yew tutorial not working correctly? (yew.rs)

Hi! I tried out yew last night and was going through the tutorial (the link). At the end the tutorial is using a link to an external resource. My guess is that the tutorial app shall create a website with a list of (empty) videos that is created by reading an external json-file from the yew-website. The problem is that this...

KiranWells,
@KiranWells@pawb.social avatar

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.

KiranWells,
@KiranWells@pawb.social avatar

I think the behavior could actually make sense with real physics, as the vehicle might be designed to mimic what the driver expects rather than real physics. For example, my car often shuts off the engine when I am not accelerating because it is a hybrid. So, if I don’t press the gas pedal, it wouldn’t really make sense for it to move. However, it is designed to artificially engage the engine when none of the pedals are pressed to more closely mimic the behavior of non-hybrid cars.

If most pilots are used to the behavior if a vehicle in atmosphere, a space ship might be designed to mimic that behavior (through weak reverse thrusters or something else) to make it easier for pilots to get used to.

KiranWells,
@KiranWells@pawb.social avatar

Exactly; the idea is familiarity, not efficiency. To be fair, this argument doesn’t make sense for all situations, so it is possible I misunderstood what the original post was talking about specifically.

KiranWells,
@KiranWells@pawb.social avatar

Definitely seems like an AI generated article. I can’t imagine a human actually writing “the sound of legends being printed.”

How an Encrypted Hard-drive Works (monero.town)

There is a difference between an encrypted hard-drive and the sudo password for your Linux user. Sometimes the difference or purpose between these can be unclear to a new user. This article discusses the basics of some key concepts for security and privacy: simplifiedprivacy.com/how-an-encrypted-hard-drive…

KiranWells,
@KiranWells@pawb.social avatar

However, you can configure GRUB to use an encrypted boot partition, and even have detached encryption headers. It does take a bit more work, and you should make sure you know what you are doing. (e.g. losing a detached header basically means your data is all lost)

wiki.archlinux.org/…/Encrypting_an_entire_system#…

KiranWells,
@KiranWells@pawb.social avatar

Just listing some things that I needed to do for working remotely on a personal device: have an antivirus installed, make sure Windows firewall is enabled, enable automatic updates, screensaver or lockscreen configured for 15 minutes of inactivity, and use a strong password (and a good password manager).

KiranWells,
@KiranWells@pawb.social avatar

It is working for me on pawb.social. I am running the latest f-droid version

KiranWells,
@KiranWells@pawb.social avatar

Just installed, and now I’m wondering why I’ve never found this before. Its great - open source, well-designed, and pretty full-featured

KiranWells,
@KiranWells@pawb.social avatar

As far as I have heard, if someone is making social posts about a fursuit, it is almost certainly just a normal costume.

KiranWells,
@KiranWells@pawb.social avatar

Regarding 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.

  • All
  • Subscribed
  • Moderated
  • Favorites
  • JUstTest
  • khanakhh
  • kavyap
  • thenastyranch
  • everett
  • tacticalgear
  • rosin
  • Durango
  • DreamBathrooms
  • mdbf
  • magazineikmin
  • InstantRegret
  • Youngstown
  • slotface
  • megavids
  • ethstaker
  • ngwrru68w68
  • cisconetworking
  • modclub
  • tester
  • osvaldo12
  • cubers
  • GTA5RPClips
  • normalnudes
  • Leos
  • provamag3
  • anitta
  • lostlight
  • All magazines