On Thursday, 27 May 2021 at 02:55:14 UTC, Adam D. Ruppe wrote:
Well, you don't strictly have to use gtkd, you can always just
extern(C) define the stuff yourself (or only use them from
gtkd's generated files) and call them. But if you do use gtk,
I'd suggest just sticking to the gtkd wrapper.
I think the reason for the library build failure is, it directly
calls dmd instead of dub to build the library:
dmd -oflibthriftd-ssl.a -w -wi -Isrc -lib src/thrift/async/ssl.d
src/thrift/internal/ssl.d ...
So my next question is what should be the correct dmd equivalent
of the dub command?
On Thursday, 27 May 2021 at 01:17:44 UTC, someone wrote:
- like a simple classical UI: favored over any modern one:
My minigui is a thing of beauty. Behold:
http://arsdnet.net/minigui-linux.png
http://arsdnet.net/minigui-sprite.png
its docs:
http://dpldocs.info/experimental-docs/arsd.minigui.
On Wednesday, 26 May 2021 at 02:57:46 UTC, data pulverizer wrote:
Hi,
A [previous
post](https://forum.dlang.org/post/hxlhyalzqmzzzihdj...@forum.dlang.org) shows how to link individual C flags with `-L`, but is there a convenient way of linking lots of C flags? I've tried variations of
```
dmd
Yes, I know this is a question lacking a straightforward answer.
Requirements:
- desktop only: forget about support for mobile tablets whatever
- wide cross-platform support not needed at all: linux and/or
some BSD distro like FreeBSD/DragonFlyBSD and that's all; don't
care at all for the Win
BTW, is the version string quote causing the problem:
"use_openssl_1_0_x" is defined as a version string in the
dub.json, but in the code:
https://github.com/apache/thrift/pull/2397/files#diff-731671345667ab400d85c10e38fb33ed0c39b1e4d6b38456949284e4e1f47b66R93
I'm checking it as:
```
On Wednesday, 26 May 2021 at 00:25:17 UTC, Mike Parker wrote:
On Wednesday, 26 May 2021 at 00:19:23 UTC, mw wrote:
Hi,
I just did a build fix, and added two configurations to
thrift's dub.json (whose "targetType": "library")
https://github.com/apache/thrift/pull/2397/files
I want to know
On Wednesday, 26 May 2021 at 18:58:47 UTC, JN wrote:
On Tuesday, 13 August 2019 at 04:40:53 UTC, Chris Katko wrote:
You can drop this straight into run.dlang.io:
import std.stdio;
class base{ float x=1;}
class child : base {float x=2;} //shadows base variable!
void main()
{
base []array;
On Wednesday, 26 May 2021 at 18:58:47 UTC, JN wrote:
I am not buying the "C++ does it and it's legal there" argument.
A point for it is the consistency with methods which also
redefine super methods as default strategy.
The question is if the default strategy needs to be changed?
I wouldn't a
On Wednesday, 26 May 2021 at 18:58:47 UTC, JN wrote:
Is there any viable usecase for this behavior? I am not buying
the "C++ does it and it's legal there" argument. There's a
reason most serious C++ projects use static analysis tools
anyway. D should be better and protect against dangerous code
On Tuesday, 13 August 2019 at 04:40:53 UTC, Chris Katko wrote:
You can drop this straight into run.dlang.io:
import std.stdio;
class base{ float x=1;}
class child : base {float x=2;} //shadows base variable!
void main()
{
base []array;
child c = new child;
array ~= c;
writeln
On Wednesday, 26 May 2021 at 13:58:56 UTC, Elmar wrote:
This example will not compile:
```
auto starts = arr[0..$].stride(2);
auto ends = arr[1..$].stride(2);
randomNumbers[] = ends[] - starts[];
```
Because `[]` is not defined for the Result range. Is there a
standard
On 5/26/21 8:07 AM, Jack wrote:
maybe array from std.array to make that range in array of its own?
Yes, something like this:
import std;
void main() {
auto arr = 10.iota.map!(i => uniform(0, 100));
auto starts = arr[0..$].stride(2);
auto ends = arr[1..$].stride(2);
auto randomNumbe
On Wednesday, 26 May 2021 at 13:58:56 UTC, Elmar wrote:
On Saturday, 8 December 2018 at 03:51:02 UTC, Adam D. Ruppe
wrote:
[...]
That's amazing, this should be one thing that should appear in
every tutorial just right at the start! I was looking hours for
a way to generate an "iterator" (a r
On Wednesday, 26 May 2021 at 11:31:31 UTC, Ola Fosheim Grostad
wrote:
On Wednesday, 26 May 2021 at 08:38:29 UTC, Imperatorn wrote:
On Wednesday, 26 May 2021 at 07:34:06 UTC, Ola Fosheim Grøstad
wrote:
On Tuesday, 25 May 2021 at 17:55:17 UTC, Ola Fosheim Grostad
wrote:
Is it possible to use a te
On Saturday, 8 December 2018 at 03:51:02 UTC, Adam D. Ruppe wrote:
On Saturday, 8 December 2018 at 03:48:10 UTC, Murilo wrote:
Try passing `ps[]` to the function instead of plain `ps` and
see what happens.
How do I transform an array into a range?
With the slicing operator, [].
That's amaz
On Wednesday, 26 May 2021 at 08:38:29 UTC, Imperatorn wrote:
On Wednesday, 26 May 2021 at 07:34:06 UTC, Ola Fosheim Grøstad
wrote:
On Tuesday, 25 May 2021 at 17:55:17 UTC, Ola Fosheim Grostad
wrote:
Is it possible to use a template to write a "function" that
provides initialized stack allocated
On Wednesday, 26 May 2021 at 07:34:06 UTC, Ola Fosheim Grøstad
wrote:
On Tuesday, 25 May 2021 at 17:55:17 UTC, Ola Fosheim Grostad
wrote:
Is it possible to use a template to write a "function" that
provides initialized stack allocated memory (alloca)? Maybe I
would have to use mixin?
Nevermin
On Tuesday, 25 May 2021 at 17:55:17 UTC, Ola Fosheim Grostad
wrote:
Is it possible to use a template to write a "function" that
provides initialized stack allocated memory (alloca)? Maybe I
would have to use mixin?
Nevermind, I've realized that I only need a way to force a
function to be inli
19 matches
Mail list logo