On Thursday, 17 September 2015 at 04:58:05 UTC, WhatMeWorry wrote:
Compiling and linking was error free, but when I hit
DerelictFT.load();
my program aborts with the following run time message:
derelict.util.exception.SymbolLoadException@source\derelict\util\exception.d(35):
Failed to load s
Compiling and linking was error free, but when I hit
DerelictFT.load();
my program aborts with the following run time message:
derelict.util.exception.SymbolLoadException@source\derelict\util\exception.d(35):
Failed to load symbol FT_Reference_Face from shared library freetype.dll
First of a
On Wednesday, 16 September 2015 at 22:30:26 UTC, Ali Çehreli
wrote:
On 09/16/2015 02:01 PM, BBasile wrote:
> On Wednesday, 16 September 2015 at 18:19:07 UTC, Ali Çehreli
wrote:
>> On 09/15/2015 04:49 PM, BBasile wrote:
>>> Under Windows this works fine but under Linux I got a
runtime error.
>>
>>
On 09/16/2015 02:01 PM, BBasile wrote:
> On Wednesday, 16 September 2015 at 18:19:07 UTC, Ali Çehreli wrote:
>> On 09/15/2015 04:49 PM, BBasile wrote:
>>> Under Windows this works fine but under Linux I got a runtime error.
>>
>> Can it be because 'param' is invalid at the time clbck is called?
>
On Wednesday, 16 September 2015 at 16:30:46 UTC, Mike McKee wrote:
This really shows the beauty and simplicity of the D language
compared to C++. Check this out in Qt/C++:
http://stackoverflow.com/questions/32593463/spawn-async-qprocess-from-dynamic-library-peek-output-until-done
...see how mu
On Wednesday, 16 September 2015 at 18:19:07 UTC, Ali Çehreli
wrote:
On 09/15/2015 04:49 PM, BBasile wrote:
Under Windows this works fine but under Linux I got a runtime
error.
Can it be because 'param' is invalid at the time clbck is
called?
No the callback and its user parameter are set at
On 09/15/2015 09:36 PM, Steven Schveighoffer wrote:
On 9/16/15 12:03 AM, Mike McKee wrote:
Unfortunately, the http://dsource.org/forums/ doesn't appear to be
active -- I can't login after I registered. This is where the QtD
project has their forum. So, I'm asking this here.
Seems to have moved
On 09/15/2015 04:49 PM, BBasile wrote:
Under Windows this works fine but under Linux I got a runtime error.
Can it be because 'param' is invalid at the time clbck is called? The
following program works under Linux. However, removing thread_joinAll()
is a bug:
import std.parallelism;
import
Looking for a RPC library, thrift looked promising, but i can't
even compile the simple example given here
https://thrift.apache.org/tutorial/d
to compile i've
1. copied the thrift/lib/d/src/thrift folder to my source
directory
2. copied the generated sources ( tutorial and share folder )
int
This really shows the beauty and simplicity of the D language
compared to C++. Check this out in Qt/C++:
http://stackoverflow.com/questions/32593463/spawn-async-qprocess-from-dynamic-library-peek-output-until-done
...see how much nicer the D version is here that Ali did, versus
the Qt/C++ tech
Beautiful, Ali. Took me a bit to read here...
http://dlang.org/phobos/std_concurrency.html
...but I realized that receiveTimeout() was a std.concurrency
class method.
On Monday, 14 September 2015 at 16:59:20 UTC, Adam D. Ruppe wrote:
On Monday, 14 September 2015 at 15:44:36 UTC, Taylor Hillegeist
wrote:
So, Actually I am using NI LabVIEW to interact with my DLL. I
imagine even getting hold of of that would troublesome or
expensive.
Ah, all right. Here's a
On Wednesday, 16 September 2015 at 12:04:38 UTC, Gary Willoughby
wrote:
On Wednesday, 16 September 2015 at 10:42:13 UTC, Alex_Freeman
wrote:
Hey all! I'm just wondering how to run dub with different
debug versions, or running it with different versions
generally? Is there also a way to have cod
On Wednesday, 16 September 2015 at 14:57:49 UTC, Meta wrote:
In that case, you can use std.array.uninitializedArray or
std.array.minimallyInitializedArray as needed.
http://dlang.org/phobos/std_array.html#uninitializedArray
http://dlang.org/phobos/std_array.html#.minimallyInitializedArray
T
On Wednesday, 16 September 2015 at 14:51:51 UTC, ref2401 wrote:
On Wednesday, 16 September 2015 at 14:48:59 UTC, Meta wrote:
Don't do this with a dynamic array, though, as they work a bit
differently from static arrays.
Unfortunately I have to deal with dynamic arrays.
In that case, you can
On Wednesday, 16 September 2015 at 14:48:59 UTC, Meta wrote:
Don't do this with a dynamic array, though, as they work a bit
differently from static arrays.
Unfortunately I have to deal with dynamic arrays.
On Tuesday, 15 September 2015 at 18:12:56 UTC, Johannes Pfau
wrote:
Am Tue, 15 Sep 2015 12:19:34 +
schrieb Atila Neves :
gdmd supports those options but gdc doesn't. Is that likely to
always be the case?
Atila
gdmd is just a wrapper around gdc. If something is supported by
gdmd it must
On Wednesday, 16 September 2015 at 14:45:06 UTC, ref2401 wrote:
struct MyStruct {
@disable this();
this(int a, string b) {
this.a = a;
this.b = b;
}
int a;
string b;
}
I know there is a way to create one instance of `MyStr
On Wednesday, 16 September 2015 at 14:08:11 UTC, Kagamin wrote:
On Wednesday, 16 September 2015 at 13:18:51 UTC, Meta wrote:
It's the exact same as in Java, and probably C# as well. I
don't know if there's any OOP language that overloads methods
between the base and super class.
https://ideon
struct MyStruct {
@disable this();
this(int a, string b) {
this.a = a;
this.b = b;
}
int a;
string b;
}
I know there is a way to create one instance of `MyStruct` and
initialize it to void.
MyStruct s = void;
s = MySt
On Wednesday, 16 September 2015 at 13:18:51 UTC, Meta wrote:
It's the exact same as in Java, and probably C# as well. I
don't know if there's any OOP language that overloads methods
between the base and super class.
https://ideone.com/En5JEc
https://ideone.com/aIIrKM No, there's nothing like
On Wednesday, 16 September 2015 at 03:48:59 UTC, Random D user
wrote:
Yeah... I guess I was expecting it to overload across class
boundaries. I mean there's already a member eat in base class
and sub class can't override that since it's got different
parameters, and it's a function (can't be va
On Wednesday, 16 September 2015 at 12:55:13 UTC, smadus wrote:
Hello
Searching after hours, i give up and here is the question. ;)
I will make a programm, this searching all txt files on the
system or the path from user and searching a user tiped term in
this file.
http://dpaste.dzfl.pl/dec
A lot of thanks... i choose the (line.canFind(term)).
No is not my first language, Python was my first, but i dont
coding a long time...
On 17/09/15 12:55 AM, smadus wrote:
Hello
Searching after hours, i give up and here is the question. ;)
I will make a programm, this searching all txt files on the system or
the path from user and searching a user tiped term in this file.
http://dpaste.dzfl.pl/dec09a0f849c
The Problem is in t
On Wednesday, 16 September 2015 at 12:55:13 UTC, smadus wrote:
Hello
Searching after hours, i give up and here is the question. ;)
I will make a programm, this searching all txt files on the
system or the path from user and searching a user tiped term in
this file.
http://dpaste.dzfl.pl/dec
Hello
Searching after hours, i give up and here is the question. ;)
I will make a programm, this searching all txt files on the
system or the path from user and searching a user tiped term in
this file.
http://dpaste.dzfl.pl/dec09a0f849c
The Problem is in the if() "line 17" i searching in
On Wednesday, 16 September 2015 at 10:42:13 UTC, Alex_Freeman
wrote:
Hey all! I'm just wondering how to run dub with different debug
versions, or running it with different versions generally? Is
there also a way to have code behind multiple debug versions,
or run more than one debug version at
Thanks, it works like a charme.
Kind regards
André
Hey all! I'm just wondering how to run dub with different debug
versions, or running it with different versions generally? Is
there also a way to have code behind multiple debug versions, or
run more than one debug version at once?
Thanks!
On Wednesday, 16 September 2015 at 09:31:25 UTC, Jacob Carlborg
wrote:
On 2015-09-16 10:49, FiveNights wrote:
Every so often I'll get a compiler error that isn't
particularly clear
on what's wrong and eventually I'll figure out that what's
causing it is
having a function in an abstract class so
On 2015-09-16 10:49, FiveNights wrote:
Every so often I'll get a compiler error that isn't particularly clear
on what's wrong and eventually I'll figure out that what's causing it is
having a function in an abstract class somewhere that isn't defined:
abstract class SomeClass {
int someVari
Well, arguably disjunctive combination doesn't make much sense
here, because renamed import disambiguates it all enough, but
makes it impossible to merge arbitrary namespaces ad hoc, a
feature I missed several times.
declare as
abstract void someFunction();
On Tuesday, 15 September 2015 at 23:49:23 UTC, BBasile wrote:
Under Windows this works fine but under Linux I got a runtime
error.
this could be reduced to :
[...]
If it can help to understand the problem, here is the unreducted
case:
https://github.com/BBasile/Coedit/blob/master/cedast/src/
Every so often I'll get a compiler error that isn't particularly
clear on what's wrong and eventually I'll figure out that what's
causing it is having a function in an abstract class somewhere
that isn't defined:
abstract class SomeClass {
int someVariable;
void someFunction();
}
the s
On Wednesday, 16 September 2015 at 08:28:24 UTC, NX wrote:
import std.stdio;
void main()
{
Stuff!(Thing!float) s;
writeln(typeid(s.var));
writeln(typeid(s.var.varling));
writeln(typeid(s));
}
class Stuff(T)
{
T!int var;
}
class Thing(T)
{
T varling;
import std.stdio;
void main()
{
Stuff!(Thing!float) s;
writeln(typeid(s.var));
writeln(typeid(s.var.varling));
writeln(typeid(s));
}
class Stuff(T)
{
T!int var;
}
class Thing(T)
{
T varling;
}
On Wednesday, 16 September 2015 at 01:46:09 UTC, Prudence wrote:
In any case, Maybe you are not as smart as you think you are if
you can't understand it? Maybe next time you shouldn't assume
you are the oracle of all knowledge and if you can't understand
it then it's bad/wrong.
In fact, it's
On 09/15/2015 09:21 PM, Mike McKee wrote:
What's the best direction from...
http://dlang.org/phobos/std_process.html
...on spawning an async process and then peeking at it occasionally as
it runs, and then get notified when it finishes? In other words, what
std.process functions would you recom
40 matches
Mail list logo