« first day (2776 days earlier)      last day (618 days later) » 

2:24 AM
9
Q: How exotic can an infinite biproduct in an additive category be?

Tim CampionLet $C$ be a category with a zero object $0$, small products, and small coproducts. Let $(A_i)_{i \in I}$ be a (possibly infinite) list of objects. There is a canonical map $\amalg_{i \in I} A_i \to \prod_{i \in I} A_i$. If this map is an isomorphism, we denote the product / coproduct by $\oplus_...

 
 
2 hours later…
4:06 AM
6
Q: Why does Rust fail to correctly infer the type?

toconnWhy does this work fine: let items = [1, 2, 3]; let mut cumulator = 0; for next in items.iter() { cumulator += next; } println!("Final {}", cumulator); But this fail?: let items = [1, 2, 3]; let mut cumulator = 0; for next in items.iter() { cumulator += next.pow(2); } println!("Final {}

 
 
4 hours later…
7:50 AM
5
Q: Simple motivation to study arithmetic geometry

rflocIs there a simple-to-understand diophantine equation (in the sense that it's easy to explain to a child) that has a positive integer solution, but to prove that such a solution exists and to find it requires the most modern/advanced techniques of arithmetic geometry? My intention is to find a sim...

 
 
7 hours later…
3:08 PM
7
Q: Why overloading operator< for std::tuple doesn't seem to work in priority_queue?

MKCCTHere is the MWE: #include <iostream> #include <tuple> #include <queue> using namespace std; bool operator<(tuple<int, int, int> lhs, tuple<int, int, int> rhs) { return get<1>(lhs) < get<1>(rhs); } int main() { priority_queue<tuple<int, int, int>> q; q.push(make_tuple(2, 5, 3)); ...

 
3:38 PM
8
Q: Why does only `case_when` give different results in R?

ryotoI noticed this behavior below when I used dplyr::case_when instead of if in reference to this article. If the output of the second branch is an explicit string, it works as intended, but if the x itself is specified, the result changes. Why does only case_when give different results? x <- charact...

 
 
2 hours later…
5:38 PM
6
Q: How to implement Passkeys with Java

James BindingI currently run all my sites off SpringBoot (Java). How would I go about implementing support for Passkeys within SpringBoot? I'm looking for a library or any method of doing this.

 
 
6 hours later…
11:32 PM
2
Q: On conjectures about the arithmetic function that counts the number of Sophie Germain primes

user142929I've edited this post two years ago on Mathematics Stack Exchange, with identifier 3590406 and same title On conjectures about the arithmetic function that counts the number of Sophie Germain primes, there were some comments from professors (about the veracity of these consejectures). I ask what ...

 
11:50 PM
1
Q: Should I publish a paper if the main idea overlaps with an existing preprint which has some error?

SantevitaSuppose we have a preprint of author A related to number theory posted on arxiv in General Mathematics (GM) section. Suppose the author A has given a wrong proof of a result in number theory. Using the idea of the preprint if author B gives a correct proof of the result and also author B cites th...

 
0
Q: Eliminating the need for packages in base R?

Ricky_NelsonI know one of the reasons R is so popular is because of its amazing packages. But for data security reasons, I can't install packages on my work computer. So, it got me thinking if I could still make R do what I would typically make it do using packages with just base R, since packages are, after...

 

« first day (2776 days earlier)      last day (618 days later) »