« first day (2937 days earlier)      last day (463 days later) » 

1:43 AM
2
Q: Blinding a message with PyCrypto in Python 3+

Tom Cusack-HuangIn Python 2, there were two methods called blind/unblind. Their docs recommend that you should now use pkcs1_15, however they only show how to sign/verify a message. Their sample code looks like this: from Crypto.Signature import pkcs1_15 from Crypto.Hash import SHA256 from Crypto.PublicKey impor...

 
 
8 hours later…
9:43 AM
0
Q: ggpubr and ggbarplot: how to change data labels to percent format?

hannahdv35A really simple question (I am fairly new to R): I have created a ggbarplot using ggpubr package, and whilst I can get the y scale to be formatted as a percentage (e.g. 80% instead of 0.8), I am unable to change the format of the data labels. Here is the code: ggbarplot(x = "Trophic level", ...

 
10:22 AM
6
Q: How to avoid using #define macros in C++ in a case where I have to concatenate two const char* variables?

Vinícius FerrãoI would like to remove the reliance of #define macros in my code, and I'm unable to achieve the same functionality with constexpr. To be pratical consider the following example: #define PRODUCT_NAME "CloysterHPC" constexpr const char* productName = PRODUCT_NAME; class Newt : public View { privat...

 
 
4 hours later…
2:51 PM
2
Q: Curious infinite product, convergence, connection to prime numbers

Vincent GranvilleI have been playing with the following function: $$ f(x)=\frac{\pi x (1-x^2)}{\sin\pi x}\prod_{k=2}^\infty \frac{\sin(\pi x/k)}{\pi x/k} $$ It is hard to get correct numerical values. I'll start with the basic. Can you confirm that (1) we have absolute convergence, (2) the limit exists if $x$ is ...

 
3:21 PM
1
Q: What are the way to read years B. C.?

JuandevDo years before Christ (or zero) follow the same reading pattern as here? How do we say and write B. C. in German? Do they have other forms of expressing that (e. g. non-religious ones)? What about other calendars (Jewish, Eastern Orthodox)?

 
 
2 hours later…
5:43 PM
0
Q: How to unlock a locked enterprise architect diagram?

Michel KeijzersI got an Enterprise Architect document which has its diagrams locked, see screenshot below from clicking in the diagram background using the context menu: The Lock Diagram option is active and cannot be selected. (How) can I unlock the diagram?

 
 
1 hour later…
7:01 PM
0
Q: Has anyone had problems installing Q# QDK on VS2022? looks like you need dotnet 4.5

johndalyI installed VS2022 Community Edition, then installed the Microsoft Quantum Development Kit Extension from the Visual Studio marketplace from within VS. The extension downloaded and the VSIX installer started when I exited VS. The installer appeared to complete successfully, but when I went to cre...

 
 
1 hour later…
8:25 PM
0
Q: js files don't appear in the sources of chrome DevTools when I open localhost with Xampp

LauranElizaldeI'm using Xampp on Ubuntu. When I open my localhosted website, the js files don't seem to be loaded. When I check the sources, none of them appear. And my website isn't working fine. Please check the pictures below. Thanks for your help. htdocs folder my website folder js missing files sources on...

 
 
3 hours later…
10:58 PM
4
Q: In knot theory, what is this link property and how to detect it: "linkings between components separate nicely"

M. WinterThe following could be made more general (see below), but let's focus on a link $L$ that consists of three components (closed curves) $\gamma_1,\gamma_2,\gamma_3\subset\Bbb R^3$. Call $L$ a necklace if there are 3-balls $B_1,B_2,B_3\subset\Bbb R^3$ so that $B_1\cap B_2\cap B_3=\varnothing$, $\ga...

 
11:40 PM
4
Q: Overloading of the word "local" in category theory

anuytsThe word "local" in category theory does not seem to have a precise definition in itself but it often appears as part of other terminology. To my understanding, it is then used in the following ways, which AFAIU are quite unrelated: A category is locally $P$ if all of its slice categories are $P...

 

« first day (2937 days earlier)      last day (463 days later) »