« first day (2728 days earlier)      last day (664 days later) » 

1:16 AM
2
Q: Can the surreal numbers be completed to form an ordered field?

Lave CaveThe surreal number line isn’t Cauchy complete as it’s filled with “gaps”. When constructing the real numbers from the rationals, one could take the ring of all Cauchy sequences and take the quotient by identifying the sequences that approach $0$ with $0$ and getting the real numbers as a result. ...

 
 
6 hours later…
7:10 AM
2
Q: Moebius transformations preserving unit circle

Ethakka appam with Chai Find all Moebius Transformations preserving unit circle Note: I am more interested if I got these computations right than the answer. Approach-1 From page-124 of Needham, a general moebius transformation of form $f(z) = \frac{az+b}{cz+d}$ can be decomposed as: $z \to z + \frac{d}{c}$ (transla...

 
 
2 hours later…
9:31 AM
hi! ... bye!
 
 
2 hours later…
11:26 AM
2
Q: Curves and semi-abelian varieties

Kelvin LianFix $k$ a number field, and let $C$ be a smooth geometrically integral affine curve over $k$. We can "associate" to $C$ a semi-abelian variety in the following way: One knows that $C$ is a finite number of (closed) points away from its smooth compactification, which is a projective curve $X$. Let...

 
 
3 hours later…
2:14 PM
1
Q: Definite integral of power of sine ratio

Timothy BuddI stumbled on the following rather appealing trigonometric definite integral, \begin{equation} \int_0^y \left(\frac{\sin x}{\sin (y-x)}\right)^a \mathrm{d}x = \pi \frac{\sin(ya)}{\sin(\pi a)} \end{equation} for $a\in (-1,1)$ and $y\in[0,\pi]$. Does anyone know a reference or a simple proof?

 
2:36 PM
0
Q: calculate ext4 inode checksum

RobI am not very good at C and yet I would like to know how to calculate the checksum of inodes in ext4 v4.19 (or above). I understand the OS uses crc32c, and input is the UUID, the inode number, and the inode itself. But sometimes I read that also the inode-generation number goes in, while it is a ...

 
 
2 hours later…
4:54 PM
0
Q: I'm iterating a dataframe with a for loop, does anybody know a faster way of doing this?

CamilloI'm working on a dataframe where I need to add a new column which is based on other existing rows in the dataframe. Here is a simplified version of what I'm trying to do. Basically there is a dataframe with the purchase and sale record of a particular stock: data = {'Name' :['Al', 'John', 'Jack',...

1
Q: python compare 2 dataframes

iulianpnin reference to this post, python-pandas-compare-columns-in-separate-dataframes-then-delete-non-matching, I can't get the isin function to work with my 2 example dataframes : df 1 : ID_NUMBER;ITEM_TYPE;OUTCOME AA1;AIR;GO AA2;SEA;STOP AA3;LAND;GO AA4;AIR;GO AA5;AIR;PENDING AA6;RAIL;STOP F15;SEA;GO...

0
Q: Error in model.fit in keras

Anwesh sahaI was building a model for a classification problem in keras. However, it is throwing the following error:- InvalidArgumentError Traceback (most recent call last) c:\Users\anwes\Downloads\chest_xray.ipynb Cell 15' in <cell line: 7>() 1 # Training model 2 # Data ->...

0
Q: How to re-write gradients calculation in GradientTape- tensorflow

Eva AndresI'm trying to integrate a function which calculates the gradients following the Backpropagation algorithm using numpy, in a optimizer re-writing compute_grads methods or using decorate function @tf.custom_gradient or @ops.RegisterGradient("MyGrads"). But I am totally stuck. Researching in tf.kera...

 
 
2 hours later…
6:54 PM
0
Q: Graph API cannot use $search

John LeeGraph API newbie here using Powershell to call Graph API. I have no problem in using filter and contains to search for messages with a particular subject as follows: $upn = 'john.doe@a.com.au' $api = "https://graph.microsoft.com/v1.0/users/$upn/messages?filter=contains(subject,'INC0343928')&count...

 
 
2 hours later…
9:02 PM
6
Q: Why do I get the "child has a base whose type uses the anonymous namespace" warning here

alexandre-tsu-manuelI am trying to understand why I get a warning -Wsubobject-linkage when trying to compile this code: base.hh #pragma once #include <iostream> template<char const *s> class Base { public: void print() { std::cout << s << std::endl; } }; child.hh #pragma once #include "base.hh" conste...

2
Q: How restrictive is having zero Chern numbers for a compact complex manifold ? Same for negative Chern number?

IrèneIn complex dimension $2$, if a surface $S$ is a blowup of a surface $S'$, one has the following relation between their Chern numbers : $c_1^2(S) + 1 = c_1^2(S')$ $c_2(S) - 1 = c_2(S')$ By using this fact one gets : for the Chern numbers $c_1^2$ and $c_2$ of the tangent bundle of a compact complex...

 
9:24 PM
0
Q: Make FrameLayout element scrollable

nmyshkinI am working on adapting an app which was designed for a larger vertical screen dimension (1200px) to a device with a smaller size (vertical=800px). I've managed to get things displaying properly by editing the layout XML files--except for one thing. As you can see, the crossword puzzle is cut of...

 
 
2 hours later…
11:32 PM
6
Q: Phantom type makes pattern matching irrefutable, but that seemingly does not work inside do notation

amakarovPlease look at the code. I believe using phantom type makes the pattern matching irrefutable so there is no need in MonadFail instance. {-# LANGUAGE DataKinds #-} {-# LANGUAGE GADTs #-} {-# OPTIONS_GHC -Wall #-} {-# OPTIONS_GHC -Wincomplete-uni-patterns #-} data Type = I | S data T t where ...

 

« first day (2728 days earlier)      last day (664 days later) »