On 01/25/2017 05:47 PM, Profile Anaysis wrote:
> a 4x4 matrix and have a history of it. Just
> n 4x4 matrices but each matrix is a fixed size but there can be an
> arbitrary(dynamic) number.
I don't think using aliases is recommended yet. It can simplify things a
lot:
import std.stdio;
alias
On Monday, 30 January 2017 at 02:46:34 UTC, Nestor wrote:
Well, I had downloaded the github version a few days back but
yesterday managed to get dub to fetch properly, so I just
fetched package arsd, and took the units from there.
Oh, that is ancient and not even mine - I don't have access to
On Monday, 30 January 2017 at 02:25:40 UTC, Adam D. Ruppe wrote:
On Monday, 30 January 2017 at 00:06:00 UTC, Nestor wrote:
I wasn't doing it explicitly. However I just did that and
still encountered a few errors, which I removed with this
patch:
Where did you get that ancient version? The lat
On Monday, 30 January 2017 at 00:06:00 UTC, Nestor wrote:
I wasn't doing it explicitly. However I just did that and still
encountered a few errors, which I removed with this patch:
Where did you get that ancient version? The latest versions of
the files work just fine out of the box, and they
On Monday, 30 January 2017 at 00:17:51 UTC, ag0aep6g wrote:
[...]
Great explanation, thank you!
On Sunday, 29 January 2017 at 21:41:57 UTC, albert-j wrote:
int[] arr;
foreach (i; 0..10)
arr ~= i;
writeln("Original array: ",arr);
// [0, 1, 2, 3, 4, 5, 6, 7, 8, 9] -- OK
auto arrMap = arr.filter!(x => x > 5).map!(x => x^^2);
arrMap is a range. The filter and map
On Sunday, 29 January 2017 at 23:48:40 UTC, Jordan Wilson wrote:
You need to do something like this:
auto arrMap = arr.filter!(x => x > 5).map!(x => x^^2).array;
It's because arrMap is lazy evaluated.
So does it mean that I cannot assign FilterResult and MapResult
to a variable and safely u
On Sunday, 29 January 2017 at 17:36:45 UTC, Adam D. Ruppe wrote:
On Sunday, 29 January 2017 at 16:26:30 UTC, Nestor wrote:
dmd yourfile.d database.d sqlite.d
I have just tried your way and I get some errors:
Error 42: Symbol Undefined
_D4arsd8database3Row7opIndexMFkAyaiZAya
Are you sure you
On Sunday, 29 January 2017 at 23:42:40 UTC, Jordan Wilson wrote:
On Sunday, 29 January 2017 at 21:41:57 UTC, albert-j wrote:
On Saturday, 28 January 2017 at 11:54:58 UTC, cym13 wrote:
[...]
I am trying to wrap my head around lazy evaluation during
filtering/mapping, but there's something I d
On Sunday, 29 January 2017 at 21:41:57 UTC, albert-j wrote:
On Saturday, 28 January 2017 at 11:54:58 UTC, cym13 wrote:
[...]
I am trying to wrap my head around lazy evaluation during
filtering/mapping, but there's something I don't understand.
I want to create an array, square some elements,
Need to rez this thread because I ran into a wall. Two little
things:
1) Can't seem to get the Importer class to work ("undefined
identifier 'Importer' ", etc), and
2) GetTexture and GetTextureCount for aiMaterial don't seem to
work
(source\model.d(105,28): Error: no property 'GetTextureCount
On Friday, 27 January 2017 at 23:22:17 UTC, Nick Sabalausky wrote:
Suppose an array is being used like a FIFO:
---
T[] slice;
// Add:
slice ~= T();
// Remove:
slice = slice[1..$];
---
Assuming of course there's no other references to the memory,
as thi
On Saturday, 28 January 2017 at 11:54:58 UTC, cym13 wrote:
I am trying to wrap my head around lazy evaluation during
filtering/mapping, but there's something I don't understand.
I want to create an array, square some elements, remove some
elements from original array and add the squared ones
On Friday, January 27, 2017 18:22:17 Nick Sabalausky via Digitalmars-d-learn
wrote:
> Suppose an array is being used like a FIFO:
>
> ---
> T[] slice;
>
> // Add:
> slice ~= T();
>
> // Remove:
> slice = slice[1..$];
> ---
>
> Assuming of course there's no o
On Sunday, 29 January 2017 at 16:26:30 UTC, Nestor wrote:
dmd yourfile.d database.d sqlite.d
I have just tried your way and I get some errors:
Error 42: Symbol Undefined
_D4arsd8database3Row7opIndexMFkAyaiZAya
Are you sure you passed those two database.d and sqlite.d modules
to the compiler
On Saturday, 28 January 2017 at 19:01:48 UTC, Adam D. Ruppe wrote:
On Friday, 27 January 2017 at 12:01:30 UTC, Nestor wrote:
Is there any other native D implementation of sqlite reader?
My sqlite.d and database.d from here can do it too:
https://github.com/adamdruppe/arsd
Just download those
On Friday, 4 November 2011 at 16:31:30 UTC, Johannes Pfau wrote:
On http://www.digitalmars.com/download/freecompiler.html
there's a link to this file: http://ftp.digitalmars.com/bup.zip
I think that's the implib you want?
I just tried implib with latest sqlite library def (windows x86)
like
On Saturday, 28 January 2017 at 15:40:24 UTC, Nestor wrote:
On Friday, 27 January 2017 at 04:26:31 UTC, Era Scarecrow wrote:
Skipping the BOM is just a matter of skipping the first two
bytes identifying it...
AFAIK in some cases the BOM takes up to 4 bytes (FOR UTF-32),
so when input encodin
On Sunday, 29 January 2017 at 01:53:01 UTC, KP wrote:
Hi,
Is anyone using Oracle's Pro*C with D?
Thanks,
KP
Not yet, but would like to too.
19 matches
Mail list logo