« first day (2395 days earlier)      last day (993 days later) » 

12:06 AM
0
Q: Python nmap - PortScannerAsync(), cannot trap callback function data globally

Diarmuid O'BriainI am using the nma = nmap.PortScannerAsync() from nma.scan(target, port, arguments='-A', callback=callback_p) From the function callback_p() I can print each return without difficulty, what I cannot seem to do it trap each globally. Globally I declared a dictionary data_dict = dict() def callback...

 
 
3 hours later…
3:30 AM
9
Q: Weakened version of the Artin's primitive root conjecture

Daniel Loughran$\DeclareMathOperator{\ord}{ord}$ Artin's conjecture stipulates that $\ord_p(2) = p -1$ for infinitely many primes $p$, where $\ord_p(2)$ denotes the multiplicative order of $2$ modulo $p$. More generally one expects that $\ord_p(2)$ is often quite large. I'm looking for a weakened version of thi...

 
4:00 AM
3
Q: Is there a algorithm to compute the Schur multiplier of a finite group from a group presentation

Cloud jrSuppose we have a finite group $G$ whose presentation or Cayley table is given. Is there an algorithm (at least theoretically - without considering computational complexity) to compute the Cayley table or a presentation of the Schur multiplier? If possible please refer me to a paper which talks a...

 
 
1 hour later…
5:30 AM
9
Q: Conceptualized `operator auto` in C++20

Tio TeoStarting from C++20 we can precede auto keyword with the name of the concept to limit possible types. And in particular this combination is possible in class conversion operator auto, e.g. template <typename T> concept x = true; struct S { operator x auto() { return 2; } operator auto() ...

 
6:00 AM
3
Q: What's wrong with this "proof"? (real number to integer injection)

daanolavIt's easy to prove that there's more real numbers between 0 and 1 than there are integers, so in what way is this wrong? For any number between 0 and 1, you can write it as $0.abcde\ldots$ (where $a, b, c\ldots$ are digits). This number "corresponds" to $2^a3^b5^c7^d11^e\cdots$ (the primes as bas...

 
 
12 hours later…
6:24 PM
6
Q: Haskell: strange behavior of groupBy

gefeiI am wondering why the following call of groupBy does not work: My predicate is x < y, so I expect [1, 6] to be a group, but instead, Haskell put [1, 6, 4, 2] into a group. Prelude Data.List> groupBy (\x y -> x < y) [8,5,3,2,1,6,4,2] [[8],[5],[3],[2],[1,6,4,2]] More strangely, when I change the ...

 
 
1 hour later…
7:42 PM
7
Q: Why does double negation change the value of C++ concept?

FedorA friend of mine shown me a C++20 program with concepts, which puzzled me: struct A { static constexpr bool a = true; }; template <typename T> concept C = T::a || T::b; template <typename T> concept D = !!(T::a || T::b); static_assert( C<A> ); static_assert( !D<A> ); It is accepted by all com...

 
 
4 hours later…
11:24 PM
3
Q: How does every real number have a decimal representation?

danielspaniolI am a little bit confused at how every real number can have at least one decimal representation, because: There are uncountable many real numbers There are countable strings of infinite length over a finite alphabet I would expect that there can be no injection from the real numbers to the inf...

 
11:42 PM
3
Q: On showing that three complex points form an equilateral triangle

Epsilon AwayI'm asking for further clarification on two presented ways for the following problem. The problem: Given three complex number $z_1, z_2, z_3$, prove that the the points $z_1, z_2, z_3$ are vertices of an equilateral triangle in $\mathbb{C}$ iff $z_1^2 + z_2^2 + z_3^2 = z_1z_2 + z_1z_3 + z_2z_3$ ...

 

« first day (2395 days earlier)      last day (993 days later) »