« first day (2945 days earlier)      last day (451 days later) » 

9:31 AM
0
Q: How does the Mongomery Algorithm work, and how can i implement it using python?

meran_kudcan someone please explain to me what's the role of montgomery reduction algorithm and how to implement it in python. I wrote the code below to calculate a*b mod m but it doesn't seem to work well. def montgomery(a,b,m): bin_m=format(m,'b') R=pow(2,len(bin_m)) a_prim= a *(R % m) ...

 
 
5 hours later…
2:49 PM
0
Q: FFmpeg not working in android 13, give : error=13, Permission denied

Yasir KhanI have created an application for a video editor it's working on android 10 but not working on android 13. I'm using this library implementation 'com.arthenica:mobile-ffmpeg-full:4.4' Cannot run program "/data/user/0/com.bettingsite.videoeditorprac/files/ffmpeg": error=13, Permission denied E/FFm...

 
 
8 hours later…
10:37 PM
7
Q: Do I need a virtual destructor for a second interface class?

EdzijuI've got classes called "Base" and "Derived". struct Base { Base() = default; virtual ~Base() = default; Base(const Base&) = delete; Base& operator=(const Base&) = delete; virtual void DoStuff() = 0; }; The "Base" class needs virtual destructor and it's understandable. Also ...

 

« first day (2945 days earlier)      last day (451 days later) »