You can also use o1e as there are never more than a single shared character. It also doesn't change the string size so it can be done in place. Still an ugly hack of a solution.
You can also use o1e as there are never more than a single shared character. It also doesn't change the string size so it can be done in place. Still an ugly hack of a solution.
I think I remember running into that as well but for whatever reason I couldn't get accelerated-x working with the opengl libraries I was using for school. Likely the issue was just a lack of understanding on my part as I don't think I had a good grasp of the Linux library loader until well after I graduated.
I've had a system in the late 90s with a 3dfx voodoo card. Also had a laptop with a SIS card from the early 2000 era.
The voodoo card was THE card to have it it's day (mine was an older second hand system though). The SIS card... for some reason they decided that standard VESA mode probing wasn't a thing they supported and would hardware crash when that API was used. I eventually got it working in Linux after patching xfree86 to not attempt probing when loading the VESA driver.
It's very likely that your disk is failing.
dd if=/path/to/file.mkv of=/new/file/path.mkv conv=noerror,sync bs=4k
Should give you a file with just the damaged bits missing.
Are they on a local disk? Thunar doesn't render any thumbnails for remote storage by default.
If it isn't showing up in lspci then it isn't currently attached to a PCI port. lspci will show all devices with or without a driver, known and unknown. You can try lsusb to see if it is attached internally to USB (very uncommon). It might also have a firmware level power saving disconnect feature that needs to be either disabled or managed by the OS in some way. It might also be showing up as a different device than you expect (also very uncommon) most cards will show as either Ethernet controller: or Network controller:.
Make and model of the laptop and any identification details from the ethernet device under windows would be helpful for diagnosis.
If I'm reading it right I think the issue is using a HashSet to store the list of numbers for the sum. Some of the input numbers are repeated and the set discards them.
I could be wrong though as I only just started learning rust for AoC.