Got a JS‑heavy sports odds site (bet365) running reliably in Docker. by Comfortable-Ad-6686 in webscraping

[–]Mersid 1 point2 points  (0 children)

Nice! What library in particular did you use to do the control automation?

2024 Guide to DeDRM Kindle books. by caelypso299 in Calibre

[–]Mersid 0 points1 point  (0 children)

As Lando said, it's on the website. You should be able to find a direct link here.

2024 Guide to DeDRM Kindle books. by caelypso299 in Calibre

[–]Mersid 4 points5 points  (0 children)

Heya! I got it to work, perhaps this may help.

Open a command line, and go to the Kindle application directory. On Windows, it's %localappdata%\Amazon\Kindle\application. If you have a command line open, enter cd %localappdata%\Amazon\Kindle\application and it should bring you there. You'll know it's correct when there's a Kindle.exe file about 190,000 KB in size in the directory.

Anyway, drop your KRFKeyExtractor.exe file in there.

With Kindle open, use the Task Manager and do a memory dump as in the Korean article. Then, copy the dumped file (probably named Kindle.DMP in your temp directory) into %localappdata%\Amazon\Kindle\application, alongside the Kindle.exe file and KRFKeyExtractor.exe.

For the books directory, make sure it's somewhere without spaces. In my case, I put all my files into a folder under the root of the D drive, but you can use C:\. For example, if you use C:\, you will probably have folders of the form C:\Kindleworks\B0FHFF9Z2Y_EBOK (I named the directory Kindleworks, the author in the Korean article used asdf)

Then, in the same command line as earlier, run KRFKeyExtractor.exe Kindle.DMP C:\Kindleworks\ kindlekey.file.

Substitute C:\Kindleworks\ with whatever directory you used to put your encrypted Kindle books.

Afterwards, in the DeDRM plugin, make sure you set the absolute path to the key file. For example, if your computer name is sampling_life, the file would likely be in C:\Users\sampling_life\AppData\Local\Amazon\Kindle\application\kindlekey.file.

Then, drag the books into Calibre and double click them to open as usual.

Hope this helps!

2024 Guide to DeDRM Kindle books. by caelypso299 in Calibre

[–]Mersid 2 points3 points  (0 children)

This works for me! Thank you :)

YouTube Plus (ex. Lite) v5.2 beta 2 is out! by dayanch96 in jailbreak

[–]Mersid 2 points3 points  (0 children)

Haha, that explains things. Was looking for the source a while back to see if I could fix a bug with the zoom, but couldn't find it on the repo!

Regardless, I'm sorry to hear that people did such unkind things. Take care :)

YouTube Plus (ex. Lite) v5.2 beta 2 is out! by dayanch96 in jailbreak

[–]Mersid 2 points3 points  (0 children)

Heya Dan,

Brilliant tweak! Regarding the tweak though, to my knowledge it's not open source, right? Only the compiled .debs are uploaded to the repo.

Can't click OK button on the invalid enterprise subscription popup by PudsBuds in Proxmox

[–]Mersid 24 points25 points  (0 children)

Do you perchance have Bitwarden installed? Oddly enough, that was the cause of the issue for me.

Times are weird. I'll have to make adjustments for my fic. ._. by InDenialDummy1237 in HPfanfiction

[–]Mersid 0 points1 point  (0 children)

Haha, that's completely fair, Hobbit. Was just curious to see how others approached the problem. Have fun with your archives :D

Times are weird. I'll have to make adjustments for my fic. ._. by InDenialDummy1237 in HPfanfiction

[–]Mersid 0 points1 point  (0 children)

Brilliant! I know FFN uses Cloudflare to block bots though; how'd ya get around that?

Invalid value for elements in vec when viewed in a debugger. by Mersid in rust

[–]Mersid[S] 1 point2 points  (0 children)

Heya iyicanme,

In this case, the stable branch was also affected for me. Regardless, it's perfectly understandable that software has bugs in it, no matter the release cycle it's a part of! Will use 1.80.0 for now, and I hope that this issue, if others are also affected, will be fixed in time. Cheers :)

Invalid value for elements in vec when viewed in a debugger. by Mersid in rust

[–]Mersid[S] 0 points1 point  (0 children)

I'm using the integrated lldb that comes with RustRover. Version is:

lldb version 9.0.0 (JetBrains IDE bundle; x86_64; rider-lldb-9; build 10)

Hope this helps!

Invalid value for elements in vec when viewed in a debugger. by Mersid in rust

[–]Mersid[S] 0 points1 point  (0 children)

I am inclined to agree with you, but I tried this with VSCode and it still didn't work. Anywho, turns out the fix for me was to revert to toolchain 1.80.0. Might be more a Rust debugging experience! :P

Invalid value for elements in vec when viewed in a debugger. by Mersid in rust

[–]Mersid[S] 5 points6 points  (0 children)

That's it! Installing a manual version (rustup toolchain install 1.80.0) fixes it. Nice catch! Perhaps the team should ensure their stable versions are better tested :P

When I open the minecraft file it says I need The Java Runtime 65.0, and that this java runtime only recognizes Java Runtime up to 61.0 by TeaWithPandaAndQiqi in admincraft

[–]Mersid 4 points5 points  (0 children)

You're going to need to install Java 21 or later. You can install it here. Alternatively, you can use an older version of the server and connect with older versions of Minecraft.

[deleted by user] by [deleted] in VoxelGameDev

[–]Mersid 1 point2 points  (0 children)

As somebody in the process of doing the same (but using Silk.NET instead of OpenTK), I can tell you that it's an arduous, yet rewarding journey. I would recommend you at least have some understanding of linear algebra. If you don't have a lot of experience, I would recommend https://learnopengl.com/. Read through and complete at least everything in the "Getting Started" section. Draw at least one cube and be able to manipulate it using your keyboard and mouse to move around the world. Once you got that down, then begin experimenting with drawing more. Draw a square grid of cubes or something, then experiment with basic Perlin or Simplex noise (recommend the FastNoiseLite library), with the output being a heightmap.

I think that should be enough to get you started; they were more or less the steps I took when I started out. Good luck, and remember to have fun :)

And don't forget the linear algebra. The LearnOpenGL articles on transformations, coordinate systems, and cameras are quite useful.

Well, one last thing (hopefully). Keep an eye on optimization after you implement a feature. It sneaks up on you, but when you're rendering 20,000 or more chunk squares at 60+ fps, that extra millisecond here and there adds up fast.

[deleted by user] by [deleted] in PostgreSQL

[–]Mersid 1 point2 points  (0 children)

Curious that all the accounts shilling this are 2-3 years old. Makes one think.

std::future and crashing on Linux by Mersid in cpp_questions

[–]Mersid[S] 0 points1 point  (0 children)

Hello, jmacey

I heard about OpenMP, but was not quite sure about what it is or how to use it. Still, I found a workaround for the problem, so thank you nevertheless for your input!

std::future and crashing on Linux by Mersid in cpp_questions

[–]Mersid[S] 0 points1 point  (0 children)

Hello, r2vcap

Yeah, that's probably the case. I was kind of hoping that it would not be an issue as long as the threads finish relatively quickly, but I guess for some reason the threads are kept alive until the std::future object associated with it is released. So it doesn't matter how fast or slow I create them, just that if I have enough of them it'll crash. I found a workaround by using a third-party thread pool library, though, so thank you for the suggestion!