« first day (2694 days earlier)      last day (715 days later) » 

4:19 AM
13
Q: Previous Fibonacci number

pxegerThe sequence of Fibonacci numbers is defined as follows: \$ F_0 = 0 \\ F_1 = 1 \\ F_n = F_{n-1} + F_{n-2} \$ Given a Fibonacci number, return the previous Fibonacci number in the sequence. You do not need to handle the inputs \$ 0 \$ or \$ 1 \$, nor any non-Fibonacci numbers. This is code-golf, s...

 
 
2 hours later…
6:16 AM
5
Q: How to read an article and make it actually useful?

tommy1996qI've been wondering for a while: how should mathematicians read an article in order to "take most" from it? For example, when I did my Master's thesis I based it on an article (I'm into analysis) and of course I eviscerated every and each part of it, extending some results in there and filling so...

 
6:31 AM
8
Q: What's the size of the biggest set of numbers from 1 to 100 so that no number is the average of any other two?

PauloJohn wants to build a set of numbers, from the range of 1 to 100. The only rule is that in that set no number can be the average of any other two. For example, if the set contains the numbers 1 and 3, then 2 cannot be present. What’s the size of the biggest set that John can build? More precisely...

 
hi! ... bye!
 
 
1 hour later…
7:58 AM
6
Q: Can we interpret arithmetic in set theory, with exactly PA as the ZFC provable consequences?

Joel David HamkinsThere are many interpretations of arithmetic in set theory. The Zermelo interpretation, for example, begins with the empty set and applies the singleton operator as successor: $$0=\{\ \}$$ $$1=\{0\}$$ $$2=\{1\}$$ $$3=\{2\}$$ and so on... The von Neumann interpretation, in contrast, is guided by t...

 
 
1 hour later…
9:16 AM
5
Q: How to count the total zeros of a complex polynomial outside a closed curve?

GuoqingSet up Suppose $\gamma$ a simple closed curve, oriented in a counterclockwise direction. $f(z)$ is a complex polynomial $$ f(z)=a_nz^{n}+a_{n-1}z^{n-1}+\cdots+a_0. $$ We already know that the integral $$ N=\frac{1}{2\pi i}\oint_{\gamma}{\frac{f'(z)}{f(z)}dz} $$ which we called the winding number,...

 
 
3 hours later…
11:52 AM
0
Q: Where is the Android libc documentation?

somegaFor glibc you can find an online documentation here. I am looking for an equivalent documentation for Android's libc implementation (headers located under sysroot/usr/include). Is there a documentation for these? (For example the call statfs() under sysroot/usr/include/sys/vfs.h).

 
 
3 hours later…
2:58 PM
0
Q: Use youtubedl on Python to change the sampling rate

Rohan WaliaI am using youtubedl on pycharm and was wondering how I could add in an argument into ydl_opts to change the sampling rate to always be the number 44100. These are my ydl_opts: ydl_opts = { 'outtmpl': name + '.%(ext)s', 'format': 'bestaudio/best', 'postprocessors': [{ 'key': '...

 
 
4 hours later…
7:04 PM
2
Q: Are eigenvalues preserved under derived equivalence?

Sola.322Let $A$ and $B$ be finite dimensional algebras such that $A$ and $B$ are derived equivalent. Denote by $C_A$ (resp. $C_B$) the Cartan matrix of $A$ (resp. $B$). Then does the set of eigenvalues of $C_A$ equal to that of $C_B$?

 
 
1 hour later…
8:04 PM
8
Q: Template parameter type `void` vs explicit use of `void`

Richard CrittenIn the following code why does the explicit expansion of template function foo fail to compile, yet the expansion of bar compiles successfully ? Live link - https://godbolt.org/z/o8Ea49KEb template <typename T1, typename T2> T1 foo(T2) { T2(42); return T1{}; }; template <typename T1, typename T2>...

 
 
4 hours later…
11:46 PM
0
Q: RuntimeError: min(): Expected reduction dim to be specified for input.numel() == 0. Specify the reduction dim with the 'dim' argument

Harshit JoshiRuntimeError Traceback (most recent call last) /tmp/ipykernel_33/2056227650.py in ----> 1 learn.fit_one_cycle(n, max_learning_rate) 2 learn.recorder.plot_losses() /opt/conda/lib/python3.7/site-packages/fastai/train.py in fit_one_cycle(learn, cyc_len, max_lr, moms, di...

 

« first day (2694 days earlier)      last day (715 days later) »