« first day (2567 days earlier)      last day (842 days later) » 

2:46 PM
7
Q: Problem with memory allocation in Julia code

steveI used a function in Python/Numpy to solve a problem in combinatorial game theory. import numpy as np from time import time def problem(c): start = time() N = np.array([0, 0]) U = np.arange(c) for _ in U: bits = np.bitwise_xor(N[:-1], N[-2::-1]) N = np.append...

 
 
6 hours later…
8:28 PM
6
Q: Eliminate consecutive duplicates from a string

r00kieI want to eliminate consecutive duplicates from a string like f "aaabbbcccdeefgggg" = "abcdefg" This is my code f :: String -> String f "" = "" f "_" = "_" f (x : xs : xss) | x == xs = f (xs : xss) | otherwise = x : f (xs : xss) I got as error non-exhaustive patterns, I think it's from...

 
8:58 PM
5
Q: Analogue of Bockstein for crossed module extensions and higher Steenrod square

Andi BauerIt is well known that in $\mathbb{Z}_2$-valued simplicial cohomology (and other cohomologies) $$ Sq^1 = \beta\;,$$ where $Sq^1$ is the first Steenrod square and $\beta$ is the Bockstein homomorphism for the short exact sequence $$ \mathbb{Z}_2 \overset{\cdot 2}{\rightarrow} \mathbb{Z}_4 \overset{...

 

« first day (2567 days earlier)      last day (842 days later) »