« first day (2400 days earlier)      last day (1009 days later) » 

4:27 AM
8
Q: Why is public destructor necessary for mandatory RVO in C++?

FedorPlease consider the simple example as follows, where the function bar returns an object of class A with private destructor, and mandatory return value optimization (RVO) must take place: class A { ~A() = default; }; A bar() { return {}; } The code is accepted by Clang, but rejected by GCC with t...

 
4:39 AM
3
Q: Are there infinitely many Fermat prime pairs?

Yanior WegSuppose $p$ and $q$ are prime numbers. Let’s call the pair $(p, q)$ a Fermat pair iff $| p - q | < 2\sqrt{2} (pq)^{\frac{1}{4}}$. Such prime pairs possess a rather interesting property: they can neatly be expressed using only their product (despite prime decomposition is generally a computational...

 
 
5 hours later…
9:27 AM
9
Q: error: Expected node to be of a type ["Statement"] but instead got "AssignmentExpression" | React Native IOS

McrunnyI'm having this problem when trying to run react native app on ios emulator. I literally just created the project running npx react-native init app_test and when i run npx react-native run-ios i got this error. enter image description here I'm not installing dependencies or pods or anything. Just...

 
 
3 hours later…
12:27 PM
0
Q: Linux terminal command using GTK C

AndThePandaHow can I make it so by using GTK C once I click a button it executes a terminal command?

 
12:51 PM
0
Q: Have a Composite key in M:N assosciation Using Composite Key rather having Primary Key

Kunal ZankeI am creating a new database and I am using sequelize. I have two tables Table1, Table2 which has m:n relationship and third table Table3 which has a mapping of the other two tables and one more field level Table A { id : P.K name } Table 2 { id:P.K name } Table 3 { Ta...

 
 
3 hours later…
3:57 PM
0
Q: Is there a way to find out the 2 X 2 contingency table consisting of the count of values by applying a condition from two dataframe

TapasI have two 2-D dataframes of same size say 7x8. All the elements of the two dataframes have positive values including zero. Now I want to generate a 2 X 2 contingency table having the count of Dataframe1 >= 0.5, Dataframe2 < 0.5 Dataframe1 >= 0.5, Dataframe2 < 0.5 Dataframe1 < 0.5, Dataframe2 >=...

 
4:57 PM
2
Q: How can I prevent the React build and npm from adding files to the project?

RandyI have Visual Studio 2019 Professional and we use Azure DevOps TFS for our source control. I am working on a brand new Asp.Net Core 5 app with React. There are two developers on this project including me. Somehow ./ClientApp/node_modules/ and ./ClientApp/build/ got placed in TFS. When I check in...

 
5:39 PM
3
Q: recognize if two random values raised to the same power or not

Mahsa BastankhahAlice selects two random numbers from a finite field $Z_p$ : $a$ and $b$. Bob does one of the two following steps randomly(sometines he does step 1, sometimes step 2): Bob chooses a random number $r$ from $Z_p$ and calculates $a^r\;mod\;p$ and $b^r\;mod\;p$ and gives these two values to Alice. B...

 
6:27 PM
5
Q: Vanishing rate of a harmonic function near a boundary point

Jacob LuLet $u(x, y)$ be a harmonic function on the upper half-plane $\mathbb{R}^2_+$, that is, $$\partial_x^2 u(x, y) + \partial_y^2 u(x, y) = 0$$ for $x \in \mathbb{R}, y>0$. Assume $u(x, 0)$ is smooth for $x \in \mathbb{R}$. In addition, we assume that both $u(x, 0)$ and $\partial_yu(x, 0)$ vanish at ...

 
 
2 hours later…
8:27 PM
0
Q: How do i bypass a NameError name is not defined in python

tarlemnI have code that loops through checking users and storing the returned values in an array write them in a csv. At the moment I am getting an NameError because while it's looping the first time it's returning an empty value as there are no users to collect; I wanted to bypass this error. How can ...

 
9:27 PM
6
Q: Unknot recognition - how tangled does it get?

Hauke ReddmannA recent algorithm unknots in quasipolynomial time. But I want to know what happens to the crossing number. Assuming your unknot has $n$ crossings, if I remember correctly it might be necessary to increase $n$ temporarily. But to what? $n+C$? $C*n$? Even worse? (I don't even know if the mentioned...

 
10:09 PM
-2
Q: Need recommendations for image processing software for short video clips

NitinI have a video clip in which a surface undulates with a steady period - I need to be able to use image processing to count the frequency and do it repeatably in an automated fashion when other clips of other such surfaces are uploaded to a site. I am exploring simple ways to do this in Python (re...

 

« first day (2400 days earlier)      last day (1009 days later) »