« first day (2453 days earlier)      last day (955 days later) » 

3:35 AM
8
Q: When is reference-counting needed in a single threaded application that doesn't model circular data structures?

Evan CarrollRust can handle reference counting very elegantly with Rc. It seems many members of the community prefer not to use this and instead use the ownership/borrowing semantics of the language. This results in simpler programs to write, but aside from circular references is it ever necessary? Clearly a...

 
0
Q: Specific math functions in C++ used by techwinder

piechnyIn this answer @techwinder used in his-own code functions: matMult() with 6 args where are this function from? Also where I could find functions: invert33(), invert44(), inverseMatrixLapack(), and matMult(), which are used in @techwinder code?

 
4:06 AM
4
Q: The digits of the cube of a 3-digit number X

Daniel AsimovThe digits of the cube of a certain 3-digit number X are, from left to right, the square of a 2-digit number, followed by the square of another 2-digit number, followed by one digit. (Everything is base 10.) What number is X?

 
4:23 AM
8
Q: Taking a theorem as a definition and proving the original definition as a theorem

Timothy ChowGian-Carlo Rota's famous 1991 essay, "The pernicious influence of mathematics upon philosophy" contains the following passage: Perform the following thought experiment. Suppose that you are given two formal presentations of the same mathematical theory. The definitions of the first presentation...

 
5:05 AM
7
Q: Cardinality of the untyped lambda calculus embedded in Haskell

V. SemeriaHaskell accepts the definition of the following type data Lam = Func (Lam -> Lam) which intends to represent untyped lambda-terms. For example, Church's booleans are in this type trueChurch :: Lam trueChurch = Func (\x -> Func (\y -> x)) falseChurch :: Lam falseChurch = Func (\x -> Func (\y -> y...

 
 
11 hours later…
4:23 PM
8
Q: Throwing data member's destructor

UrazaI have a class that holds an object which destructor's can throw (it is actually a tbb::task_group, but I named it MyObject for simplicity here). The code is like this: #include <stdexcept> class MyObject { public: MyObject() {} ~MyObject() noexcept(false) {} }; class A { public: A(...

 
 
4 hours later…
8:06 PM
Nobody here?
 

« first day (2453 days earlier)      last day (955 days later) »