On Thursday, 17 May 2018 at 13:36:39 UTC, kdevel wrote:
On Thursday, 17 May 2018 at 12:34:25 UTC, Andre Pany wrote:
this applications throws an error in std.numeric (Line 2826).
=> assert(isPowerOf2(range.length));
Isn't it possible to give an arbitrary length
of data to fft like in numpy?
On Thursday, May 17, 2018 21:10:35 Dennis via Digitalmars-d-learn wrote:
> On Wednesday, 16 May 2018 at 10:30:34 UTC, Jonathan M Davis wrote:
> > For various reasons, that doesn't always hold true like it
> > should, but pretty much all of Phobos is written with that
> > assumption and will general
On Thursday, 17 May 2018 at 23:18:32 UTC, Basile B. wrote:
On Thursday, 17 May 2018 at 22:07:46 UTC, Bastiaan Veelo wrote:
Hi!
The code in [1] compiles and runs flawlessly on Windows, but
not on Linux (neither run.dlang nor Travis docker image). Any
idea what can be done?
Hello. Yes, add `i
On Thursday, 17 May 2018 at 20:08:09 UTC, Dennis wrote:
On Wednesday, 16 May 2018 at 15:47:29 UTC, Jon Degenhardt wrote:
If you write it in the style of my earlier example and use
counters and if-tests it will work. byLine by itself won't try
to interpret the characters (won't auto-decode them)
On Thursday, 17 May 2018 at 22:07:46 UTC, Bastiaan Veelo wrote:
Hi!
The code in [1] compiles and runs flawlessly on Windows, but
not on Linux (neither run.dlang nor Travis docker image). Any
idea what can be done?
Hello. Yes, add `import core.stdc.stdarg;` in your module and it
works.
I do
On 05/17/2018 11:40 PM, Neia Neutuladh wrote:
0b1100_ through 0b_1110 is the start of a
multibyte character
Nitpick: It only goes up to 0b_0100. The highest code point is
U+10. There are no sequences with more than four bytes.
Hi!
The code in [1] compiles and runs flawlessly on Windows, but not
on Linux (neither run.dlang nor Travis docker image). Any idea
what can be done?
errors:
Error: undefined identifier __va_list_tag
onlineapp.d(282): Error: template instance
`onlineapp.SetFactory!byte` error instantiating
On Tuesday, 15 May 2018 at 20:36:21 UTC, Dennis wrote:
I have a file with two problems:
- It's too big to fit in memory (apparently, I thought 1.5 Gb
would fit but I get an out of memory error when using
std.file.read)
Memory mapping should work. That's in core.sys.posix.sys.mman for
Posix s
On Wednesday, 16 May 2018 at 10:30:34 UTC, Jonathan M Davis wrote:
For various reasons, that doesn't always hold true like it
should, but pretty much all of Phobos is written with that
assumption and will generally throw an exception if it isn't.
It's unfortunate that Phobos tells you 'there's
On Thursday, 17 May 2018 at 20:38:13 UTC, Sjoerd Nijboer wrote:
But then how do you put this into a mixin template so I can ...
mixin castingRules(typeof(this) T);
I guess I can refine my question to "How do you let a mixin
template detect the template name it is instantiated with and
On Thursday, 17 May 2018 at 16:27:48 UTC, Paul Backus wrote:
On Thursday, 17 May 2018 at 15:25:37 UTC, Sjoerd Nijboer wrote:
I want to make a template mixin that is able to cast one of
these generic structs to the other explicitly. I have a bunch
of these structs and therefore I thought it woul
On Tuesday, 15 May 2018 at 14:25:31 UTC, Dr.No wrote:
Has gdc been supported for Windows? if so, where can I find it?
I've only find Linux versions so far...
ldc has good Windows support:
https://github.com/ldc-developers/ldc/releases
On Wednesday, 16 May 2018 at 15:47:29 UTC, Jon Degenhardt wrote:
If you write it in the style of my earlier example and use
counters and if-tests it will work. byLine by itself won't try
to interpret the characters (won't auto-decode them), so it
won't trigger an exception if there are invalid
On Thursday, 17 May 2018 at 17:42:21 UTC, Bastiaan Veelo wrote:
Isn't preGenerateCommands meant to cover this case?
Appears to be a bug. Filed
https://github.com/dlang/dub/issues/1474
Hi,
Context: https://github.com/veelo/Pascal2D
One of my source files is generated by executing `cd source &&
rdmd generate.d`, which creates the file `source/epparser.d`.
(There is actually one step in between, calling `rdmd make.d`,
which checks creation times, but that's not relevant here)
On Thursday, 17 May 2018 at 15:25:37 UTC, Sjoerd Nijboer wrote:
Given the following code
`struct Foo(T)
if(isNumeric!T)
{
T t;
.. other code
}
struct Bar(T)
if(isNumeric!T)
{
T t;
.. other code
}
Foo!float foo_float;
Foo!double foo_double;
Bar!f
On Thursday, 17 May 2018 at 15:25:37 UTC, Sjoerd Nijboer wrote:
I want to make a template mixin that is able to cast one of
these generic structs to the other explicitly. I have a bunch
of these structs and therefore I thought it would make sense to
do it by template mixin. I just don't know wh
Given the following code
`struct Foo(T)
if(isNumeric!T)
{
T t;
.. other code
}
struct Bar(T)
if(isNumeric!T)
{
T t;
.. other code
}
Foo!float foo_float;
Foo!double foo_double;
Bar!float bar_float;
`
I want to make a template mixin that is able t
On Thursday, 17 May 2018 at 12:34:25 UTC, Andre Pany wrote:
this applications throws an error in std.numeric (Line 2826).
=> assert(isPowerOf2(range.length));
Isn't it possible to give an arbitrary length
of data to fft like in numpy?
There is a mathematical background which is well explaine
Hi,
this applications throws an error in std.numeric (Line 2826).
=> assert(isPowerOf2(range.length));
---
module std.numeric
void fftImplPureReal(Ret, R)(R range, Ret buf) const
in
{
assert(range.length >= 4);
assert(isPowerOf2(range.length));
}
---
20 matches
Mail list logo