On Thursday, 7 September 2017 at 04:01:21 UTC, Lionello Lunesu
wrote:
Thought this code ended up really concise and readable:
https://gist.github.com/lionello/60cd2f1524c664d4d8454c01a05ac2c8
Suitable for dlang.org?
L.
The best way to find out it to make a pull request [1]
[1]
https://gist
On 2017-09-06 09:36, Void-995 wrote:
I really appreciate traits and what they are introducing into the
process. I'm curious how I can iterate over all fields of the structure
(s.tupleof pretty much works for that) and properties while ignoring
methods and sub data types that defined inside of s
On Thursday, 7 September 2017 at 07:09:29 UTC, Jacob Carlborg
wrote:
On 2017-09-06 09:36, Void-995 wrote:
I really appreciate traits and what they are introducing into
the process. I'm curious how I can iterate over all fields of
the structure (s.tupleof pretty much works for that) and
propert
On Wednesday, 6 September 2017 at 15:54:41 UTC, Justin Gray wrote:
Is there a resource that explains how to create a file that
stores a response to a question. say I want to introduce a
program like this "Hi, my name is "", what's yours"? I want to
generate an audio profile that's interactive a
On Wednesday, 6 September 2017 at 21:44:01 UTC, jmh530 wrote:
On Wednesday, 6 September 2017 at 20:24:05 UTC, Enamex wrote:
Similarly, a[0] has _strides [4, 1] for universal, [4] for
canonical, and [] for contiguous. Mir is written in such a way
that a[0] the same regardless of the SliceKind. F
On Thursday, 7 September 2017 at 09:40:40 UTC, Ilya Yaroshenko
wrote:
For example, lets takes `transposed` function. It does not
transpose the date. Instead, it swap dimensions.
Assume you have a canonical matrix with _lengths = [3, 4]. So
its strides are [4]. Now we want to swap dimensions, b
On Thursday, 7 September 2017 at 12:04:12 UTC, jmh530 wrote:
I think what's missing from the documentation is a clear
explanation of how the strides determine how the iterator
moves. Even something like below (assuming I have the math
right) would be an improvement, though I'm sure there is a
On Thursday, 7 September 2017 at 12:27:19 UTC, jmh530 wrote:
auto x = data.sliced(2, 3).universal;
Err, (3, 4) not (2, 3)
On Wednesday, 6 September 2017 at 09:50:22 UTC, Kagamin wrote:
On Tuesday, 5 September 2017 at 22:04:15 UTC, Jonathan M Davis
wrote:
Personally, the only times that I've done anything that
involved something like this have been for GUI programming,
and that usually involves mechanisms connected
On Thursday, 7 September 2017 at 12:28:00 UTC, jmh530 wrote:
On Thursday, 7 September 2017 at 12:27:19 UTC, jmh530 wrote:
auto x = data.sliced(2, 3).universal;
Err, (3, 4) not (2, 3)
All kinds of screwed up. This is what I get for not testing
things before I post them.
unittest {
aut
Lately, I've been hit by several compilation errors when phobos
fails to construct an instance of a class or struct I've pass it.
Regardless of what the exact failure is, phobos usually gives you
some generic error that isn't helpful.
Example:
class Test {
@disable this();
}
int main(str
11 matches
Mail list logo