Hi,
for the source code below, the compiler says:
app.d(26): constructor `app.TObject.this` hides base class
function `app.DelphiObject.this`
app.d(26): add `alias this = app.DelphiObject.this` to
`app.TObject`'s body to merge the overload sets
But if I add `alias this =
On Saturday, 2 April 2022 at 11:53:12 UTC, alexanderzhirov wrote:
I don't quite understand why compiling unit tests using DUB
doesn't work.
[...]
Have a look here
https://andre2007.github.io/d-tips/dub/application_template/
Kind regards
Andre
On Monday, 13 December 2021 at 18:24:07 UTC, Andre Pany wrote:
On Sunday, 12 December 2021 at 05:54:44 UTC, Chris Katko wrote:
Running 64-bit Linux
```
dmd --version
DMD64 D Compiler v2.098.0-beta.2
[...]
I really recommend always using dub configurations, especially
when you want to use
On Sunday, 12 December 2021 at 05:54:44 UTC, Chris Katko wrote:
Running 64-bit Linux
```
dmd --version
DMD64 D Compiler v2.098.0-beta.2
[...]
I really recommend always using dub configurations, especially
when you want to use unit tests.
The name of the first configuration doesn't matter.
On Thursday, 2 September 2021 at 11:04:12 UTC, JG wrote:
Hi,
We hit a linking error (after upgrading to dub 1.26.0). I
thought I would try to use dustmite to create a reduced error
test case. One week later it is still running (depth 22). I
don't suppose there is anyway of determining when
On Wednesday, 30 June 2021 at 03:15:46 UTC, someone wrote:
Is the following code block valid ?
```d
float price; /// initialized as float.nan by default ... right ?
if (price == float.nan) {
/// writeln("initialized");
} else {
/// writeln("uninitialized");
}
```
if so, the
On Monday, 28 June 2021 at 13:53:05 UTC, vnr wrote:
Hello,
I'm trying to deploy my vibe.d application to Heroku via the
GitHub deployment method, so that I can post the source code to
my repo publicly, as well as use it so that Heroku can host it.
I followed the instructions from Heroku and
On Friday, 7 May 2021 at 08:58:33 UTC, Dennis wrote:
On Friday, 7 May 2021 at 08:52:13 UTC, Dennis wrote:
If you want to use it on Windows as well, this is a code
snippet I wrote for that:
For completeness, the imports it uses:
```D
version(Windows) {
import core.sys.windows.windows;
On Friday, 7 May 2021 at 08:37:47 UTC, Imperatorn wrote:
On Friday, 7 May 2021 at 08:25:43 UTC, Andre Pany wrote:
Hi,
I try to convert some python code to D. On python I can get
the cpu time for the current
process using
``` python
dcpu: float = time.process_time()
```
Is there some
Hi,
I try to convert some python code to D. On python I can get the
cpu time for the current
process using
``` python
dcpu: float = time.process_time()
```
Is there some equivalent function in Phobos to get the cpu time
on linux?
Kind regards
André
On Tuesday, 20 April 2021 at 17:15:15 UTC, JG wrote:
Hi
I want to put some code together in a local library that is
then used by several other projects. I am running into a few
problems. Firstly when I try and configure the code to be a
library (dub init, add d files to source, and remove
On Saturday, 10 April 2021 at 18:08:55 UTC, Alain De Vos wrote:
dub lint returns,
[...]
Unknown command: lint
USAGE: dub [--version] [] [] [--
[]]
Manages the DUB project in the current directory. If the
command is omitted,
DUB will default to "run". When running an application, "--"
can
On Saturday, 10 April 2021 at 11:44:12 UTC, Alain De Vos wrote:
In order to run commands correctly I have to put soft links :
I.e.
dfmt -> /home/x/.dub/packages/dfmt-0.13.4/dfmt/bin/dfmt
or,
dscanner ->
/home/x/.dub/packages/dscanner-0.11.0/dscanner/bin/dscanner
Then ./dfmt or ./dscanner run
On Saturday, 10 April 2021 at 02:10:48 UTC, Marcone wrote:
How make dub import local D modules (mymodule.d) dependencies?
Could you please provide more details about your scenario,
otherwise it is quite hard to understand your question.
Kind regards
Andre
On Monday, 29 March 2021 at 19:25:06 UTC, Marcone wrote:
On Monday, 29 March 2021 at 19:14:41 UTC, Andre Pany wrote:
On Monday, 29 March 2021 at 19:06:33 UTC, Marcone wrote:
Why can't I just use: import vibe.vibe; for import packages
like Nim or Python? Why I still use DUB?
In python you
On Monday, 29 March 2021 at 19:21:34 UTC, Marcone wrote:
On Monday, 29 March 2021 at 19:14:41 UTC, Andre Pany wrote:
On Monday, 29 March 2021 at 19:06:33 UTC, Marcone wrote:
Why can't I just use: import vibe.vibe; for import packages
like Nim or Python? Why I still use DUB?
In python you
On Monday, 29 March 2021 at 19:06:33 UTC, Marcone wrote:
Why can't I just use: import vibe.vibe; for import packages
like Nim or Python? Why I still use DUB?
In python you also have pip.
It is possible to use vibe.d (any dub package) without dub but
you have a few manual steps involved.
On Sunday, 28 March 2021 at 15:52:43 UTC, Zardoz wrote:
So, we get this dub.json :
{
"name": "example",
"configurations": [
{
"name": "example",
"targetType": "library"
},
{
"name": "unittest",
"targetType": "library",
"importPaths": ["source",
On Sunday, 28 February 2021 at 11:11:27 UTC, bogdan wrote:
Hi,
I remember that I saw a while ago some PRs related to adding a
git url for a dependency in the dub's package.json. I looked
today in the docs and I can't find any info about this. What is
the progress for this feature? Can we use
On Tuesday, 2 February 2021 at 23:10:50 UTC, Steven Schveighoffer
wrote:
On 2/2/21 5:27 PM, Tim wrote:
Hi all,
I have to serialize an array like [0.0, 0.0, 0.0] to a Json
object. During this process, the serializer creates a string
of the array, but it creates "[0, 0, 0]", dropping the
On Tuesday, 26 January 2021 at 20:36:58 UTC, Steven Schveighoffer
wrote:
On 1/26/21 3:17 PM, Andre Pany wrote:
On Tuesday, 26 January 2021 at 20:09:27 UTC, Steven
Schveighoffer wrote:
Hold on, where do you see this? mysql-native has dub.sdl, and
it doesn't have these in there.
I executed
On Tuesday, 26 January 2021 at 20:09:27 UTC, Steven Schveighoffer
wrote:
On 1/26/21 2:59 PM, Steven Schveighoffer wrote:
On 1/26/21 2:41 PM, Andre Pany wrote:
For your specific problem, this issue is related to your
dub.json:
"configurations": [
{
On Tuesday, 26 January 2021 at 16:04:29 UTC, Steven Schveighoffer
wrote:
I have a bug report in mysql-native that if you try to create
the following file, and add mysql-native as a dependency it
fails to link on Windows 10:
import std.stdio;
import mysql;
void main()
{
writeln("Edit
On Tuesday, 26 January 2021 at 16:04:29 UTC, Steven Schveighoffer
wrote:
I have a bug report in mysql-native that if you try to create
the following file, and add mysql-native as a dependency it
fails to link on Windows 10:
import std.stdio;
import mysql;
void main()
{
writeln("Edit
On Wednesday, 23 December 2020 at 07:08:31 UTC, Daniel Kozak
wrote:
Dne st 23. 12. 2020 1:00 uživatel Steven Schveighoffer via
Digitalmars-d-learn napsal:
On 12/22/20 5:44 PM, Daniel Kozak wrote:
> [...]
Yeah:
void sample_valid(int[int] s = null)
-Steve
Yes AA.init is null per doc.
On Tuesday, 22 December 2020 at 22:02:54 UTC, ag0aep6g wrote:
On Tuesday, 22 December 2020 at 21:11:12 UTC, Andre Pany wrote:
[...]
Looks like an oddity in the grammar.
`string` is an alias, meaning it's an identifier. And an
identifier is a valid expression to the grammar. So
Hi,
I am really confused, why is this valid:
void sample(string[string] s = string[string].init){}
while this causes syntax errors?
void sample_invalid1(double[string] s = double[string].init){}
void sample_invalid2(int[int] s = int[int].init){}
Kind regards
André
On Saturday, 12 December 2020 at 12:47:59 UTC, Tobias Pankrath
wrote:
On Saturday, 12 December 2020 at 12:18:47 UTC, Andre Pany wrote:
In any case you should have configurations in your dub json.
Thank you for your detailed reply and I am sure I can make it
work in the way you described.
On Saturday, 12 December 2020 at 12:18:47 UTC, Andre Pany wrote:
On Saturday, 12 December 2020 at 11:13:45 UTC, Tobias Pankrath
wrote:
[...]
In any case you should have configurations in your dub json.
For the first configuration, the name does not matter, it is
used by default for command
On Saturday, 12 December 2020 at 11:13:45 UTC, Tobias Pankrath
wrote:
Whenever I come back to some D, I seem to be stumbling over
dub. Somehow dub and I don't align:
$ dub init dubtest && cd dubtest
$ dub test
-> creates executable `dubtest` (saying Falling back to "dub -b
unittest".)
$
On Thursday, 10 December 2020 at 05:49:12 UTC, 9il wrote:
On Wednesday, 9 December 2020 at 14:34:18 UTC, Andre Pany wrote:
[...]
For .member access mir.algebraic checks at compile time that
all underlying types (except typeof(null)) can be called with
provided arguments. It is kind of API
Hi,
I want to port some Python coding and try have as much similiar
coding as
possible.
I thought I can have a mir variant which stores either class A or
B
and I can call at runtime a method like this:
```
/+ dub.sdl:
name "app"
dependency "mir-core" version="1.1.51"
+/
On Wednesday, 2 December 2020 at 15:40:09 UTC, Adam D. Ruppe
wrote:
On Wednesday, 2 December 2020 at 11:46:26 UTC, Andre Pany wrote:
[...]
Function pointers don't really have parameter names. They are
allowed for user habit and documentation purposes, but the
compiler mostly* ignores them;
Hi,
I need to retrieve the parameter identifier but only empty
strings are returned:
tuple("", "")
``` d
alias fpt = extern(C) nothrow void function(int a, int b);
void main()
{
import std.traits : ParameterIdentifierTuple;
pragma(msg, ParameterIdentifierTuple!(fpt));
}
```
Where is
On Saturday, 28 November 2020 at 12:01:59 UTC, Alex NL wrote:
Is there libs for SQLITE?
How to use it? thanks.
You may use google translate,
https://d-land.sepany.de/tutorials/datenbanken/sqlite-erste-schritte/
Here I describe how to use Sqlite using dub package arsd-official.
Kind regards
On Thursday, 26 November 2020 at 12:13:59 UTC, vnr wrote:
Hello,
I have a program written in D which is open-source on GitHub.
I would appreciate it if, when I release a new version, users
would be notified by the program and that it offers an
automatic update, i.e. the user doesn't have to
On Friday, 6 November 2020 at 04:58:05 UTC, Vino wrote:
Hi All,
We recently tested the below components and the test results
are as below, even though hunt-database is faster than
mysql-native it is hard to use this package as it lacks on
documentation, non of the example provided in the
On Tuesday, 3 November 2020 at 18:48:16 UTC, Vino wrote:
On Tuesday, 3 November 2020 at 18:14:33 UTC, Andre Pany wrote:
[...]
Hi Andre,
We have also tried to change the connection (con) as
dbconnect (con) as below, as per the example provided in the
link
On Tuesday, 3 November 2020 at 14:05:18 UTC, Vino wrote:
Hi All,
Currently testing Hunt database, and facing an issue as
below, hence request your help
File : GetConnections.d
###
module common.GetConnections;
import hunt.database;
class Connections
{
public Database
On Sunday, 1 November 2020 at 05:23:42 UTC, Vino wrote:
On Saturday, 31 October 2020 at 15:16:22 UTC, Vino wrote:
[...]
Hi All,
I was able to find a solution using a different approach,
the code is in the link
https://run.dlang.io/is/Jx4NLw, request your help on to get the
value using
On Friday, 30 October 2020 at 10:23:22 UTC, Vino wrote:
Hi,
Request your help on the below code
Code:
import asdf: parseJson;
import std.algorithm;
import std.container.array;
import std.stdio: writeln;
import std.typecons: Tuple, tuple;
void main()
{
string apidata1 = `{"items":
[
On Saturday, 17 October 2020 at 16:35:29 UTC, shamsmehra90 wrote:
I could not even find demo code doing a redirect which is the
most basic stuff. https://mcdvoicesurvey.onl
https://mybk-experience.onl
There are 6 examples doing a redirect:
https://github.com/vibe-d/vibe.d/search?q=redirect=
On Thursday, 15 October 2020 at 14:26:37 UTC, Steven
Schveighoffer wrote:
On 10/15/20 10:22 AM, Steven Schveighoffer wrote:
On 10/15/20 9:55 AM, Andre Pany wrote:
I meant this one:
https://github.com/vibe-d/eventcore/pull/154
I testing it at the moment, while there still "leaking"
On Thursday, 15 October 2020 at 13:17:57 UTC, Steven
Schveighoffer wrote:
On 10/14/20 2:25 PM, Andre Pany wrote:
On Wednesday, 14 October 2020 at 18:08:40 UTC, H. S. Teoh
wrote:
On Wed, Oct 14, 2020 at 05:30:37PM +, Andre Pany via
Digitalmars-d-learn wrote
On Wednesday, 14 October 2020 at 18:08:40 UTC, H. S. Teoh wrote:
On Wed, Oct 14, 2020 at 05:30:37PM +, Andre Pany via
Digitalmars-d-learn wrote:
On Wednesday, 14 October 2020 at 16:39:39 UTC, Imperatorn
wrote:
> On Wednesday, 14 October 2020 at 15:27:46 UTC, Andre Pany
>
On Wednesday, 14 October 2020 at 16:39:39 UTC, Imperatorn wrote:
On Wednesday, 14 October 2020 at 15:27:46 UTC, Andre Pany wrote:
On Wednesday, 14 October 2020 at 13:20:53 UTC, Bruno Rodrigues
wrote:
On Wednesday, 14 October 2020 at 01:32:34 UTC, Steven
Schveighoffer wrote:
[...]
Thank you,
On Wednesday, 14 October 2020 at 13:20:53 UTC, Bruno Rodrigues
wrote:
On Wednesday, 14 October 2020 at 01:32:34 UTC, Steven
Schveighoffer wrote:
[...]
Thank you, Steve!
It did work but none of the examples on the Vibe.d page are
working with current D version...
Some errors I got
When
On Wednesday, 14 October 2020 at 12:29:24 UTC, Alaindevos wrote:
One concept at a time.
This is one of the simplest examples in vibe.d.
I look for the code for the same functionality but without
authentication/login.
https://github.com/vibe-d/vibe.d/blob/master/examples/web/source/app.d
Where
On Tuesday, 13 October 2020 at 17:08:04 UTC, Robert M. Münch
wrote:
On 13 Oct 2020 at 09:57:14 CEST, "aberba"
wrote:
D is a great language that is capable of solving any problem
easier than what it'll take to do in equivalent languages.
Don't get me wrong, D is great, it has a lot of
On Monday, 12 October 2020 at 11:21:40 UTC, Robert M. Münch wrote:
On 12 Oct 2020 at 13:13:27 CEST, "Ola Fosheim Grøstad"
wrote:
Yes, it is a good fit for web services with medium sized code
bases.
We don't have a lot of "big project" experience with Go yet,
but we would use it for a
On Sunday, 11 October 2020 at 08:48:16 UTC, Vino wrote:
On Friday, 9 October 2020 at 17:50:16 UTC, Andre Pany wrote:
[...]
Hi Andre,
Thank you very much, now we are able to get the data as
expected using jv["Name"], now when we try to print all the
returned data with Key and Values as
On Saturday, 10 October 2020 at 16:00:47 UTC, Alaindevos wrote:
For a framework to be successful you need at least a minimum of
sample code in public domain.
For vibe it is none existent.
I could not even find demo code doing a redirect which is the
most basic stuff.
The number of books on a
On Friday, 9 October 2020 at 05:56:05 UTC, Vino wrote:
On Friday, 9 October 2020 at 05:30:34 UTC, ikod wrote:
On Friday, 9 October 2020 at 01:45:37 UTC, Vino wrote:
On Friday, 2 October 2020 at 23:20:48 UTC, Imperatorn wrote:
On Friday, 2 October 2020 at 21:12:09 UTC, Vino wrote:
Hi All,
On Sunday, 4 October 2020 at 19:45:29 UTC, Imperatorn wrote:
Just a tip to everyone.
If you're trying to learn D, you can try to implement some of
these missing tasks and update the corresponding page:
http://rosettacode.org/wiki/Reports:Tasks_not_implemented_in_D
In addition you can solve
On Sunday, 4 October 2020 at 18:45:34 UTC, jerome wrote:
I am trying to compile a simple lib, and a simple demo using
this lib.
[...]
If I am not wrong there is following issue: in D a package is a
folder. Having the package.d file as child of folder source is
not correct. Moving the file
On Sunday, 4 October 2020 at 14:08:24 UTC, Anonymouse wrote:
My project depends on the requests dub package, which has two
build configurations; one with an extra vibe-d dependency, one
without (default).
"configurations": [
{
"name": "std"
},
{
On Sunday, 27 September 2020 at 07:55:56 UTC, Imperatorn wrote:
On Friday, 25 September 2020 at 15:03:56 UTC, Marcone wrote:
I need windowsx.d but for I don't know the reason is not in
dmd. Someone that have it can send to me? I don't know convert
windowsx.h to windowsx.d
You don't want to
Hi,
I am confused by the description of isLoggingEnabled.
In my unittest version I want to disable logging and use this
command:
``` d
sharedLog = new NullLogger(LogLevel.off);
```
If have some stdout writeln coding (to avoid the timestamp /
module prefix):
``` d
private void
On Saturday, 19 September 2020 at 13:31:35 UTC, Jack wrote:
On Saturday, 19 September 2020 at 13:13:56 UTC, Jack wrote:
Hi,
I am building a webapp using vibe.d which is working well on
macOS and Linux. However, when I run it on windows I get:
Program exited with code -1073741701
I created a
On Saturday, 19 September 2020 at 17:57:09 UTC, Andre Pany wrote:
On Saturday, 19 September 2020 at 13:31:35 UTC, Jack wrote:
On Saturday, 19 September 2020 at 13:13:56 UTC, Jack wrote:
Hi,
I am building a webapp using vibe.d which is working well on
macOS and Linux. However, when I run it
On Thursday, 10 September 2020 at 15:41:17 UTC, Adam D. Ruppe
wrote:
On Thursday, 10 September 2020 at 14:31:41 UTC, Andre Pany
wrote:
[...]
You messed up the pointers.
[...]
Fantastic, thank you so much Adam.
Kind regards
André
Hi,
I have this coding. Function `sample` will later be called from C
and should provide access to a string array.
I tried to read the string values after the function call
and I can access the first string, but for the second string,
there is an access violation.
Why does it crash?
Kind
On Tuesday, 8 September 2020 at 07:43:05 UTC, Cecil Ward wrote:
I can’t remember, do Ada or Modula2 have something like
myfunc( x => 100, y => 200, color => blue )[1]
which has named parameters that can be passed in any order.
[...]
I hope we have it this year or next year, as we
On Tuesday, 1 September 2020 at 19:38:39 UTC, ParticlePeter wrote:
On Tuesday, 1 September 2020 at 14:45:43 UTC, Andre Pany wrote:
On Tuesday, 1 September 2020 at 11:45:34 UTC, ParticlePeter
wrote:
[snip]
I have a enhancement for dub in my mind, which would also
solve your issue. Similiar
On Tuesday, 1 September 2020 at 11:45:34 UTC, ParticlePeter wrote:
Hello,
I have a targetType sourceLibrary and demonstrate its usage
through a subPackage. For the library itself 'dub run' is
meaningless, but not for the subPackage.
Is there a way to tell dub through dub.sdl or dub.json to
On Tuesday, 1 September 2020 at 01:29:43 UTC, Marcone wrote:
I need package Dlang in a standalone portable executable.
I need packcages all dependencies, dlls, files, etc in one
executable file.
Please see here
https://p0nce.github.io/d-idioms/#Embed-a-dynamic-library-in-an-executable
Kind
On Sunday, 30 August 2020 at 10:02:09 UTC, Arjan wrote:
On Sunday, 30 August 2020 at 06:00:20 UTC, Andy Balba wrote:
going nuts trying to figure out which D functions will
read/write binary files
see this blog:
http://nomad.uk.net/articles/working-with-files-in-the-d-programming-language.html
On Saturday, 29 August 2020 at 11:27:28 UTC, Kirill wrote:
I need a stand-alone executable that does not require the user
to install any libraries on their computer. Everything should
be packed into the executable.
I understand that I need to statically link all of the
libraries I use in my
On Sunday, 23 August 2020 at 06:41:03 UTC, Pierce Ng wrote:
On Thursday, 20 August 2020 at 18:13:46 UTC, ddcovery wrote:
[...]
Recently I too started to look at web frameworks for compiled
languages. Currently playing with Free Pascal - fast compiler,
several web frameworks to evaluate, and
On Thursday, 20 August 2020 at 18:13:46 UTC, ddcovery wrote:
On Monday, 17 August 2020 at 15:45:05 UTC, aberba wrote:
[...]
After 18 years following DLang, and some disagrees about
productivity lacks at the beggining (no IDE, Debugging?, an
standard library battle, not a good database
Hi,
I want to call a python method, which can only be called using
key arguments.
(https://boto3.amazonaws.com/v1/documentation/api/latest/reference/services/sqs.html#SQS.Client.get_queue_url)
I assume pyd is able to pass somehow key arguments to the python
method, but
I cannot find anything
On Thursday, 13 August 2020 at 21:10:57 UTC, Steven Schveighoffer
wrote:
On 8/13/20 4:51 PM, Andre Pany wrote:
[...]
So in your real world scenario, a non-D thread/program is
calling sample, and it controls the location of *i? If so, then
no, you can't depend on D not collecting that data,
On Thursday, 13 August 2020 at 20:11:50 UTC, Steven Schveighoffer
wrote:
On 8/13/20 4:04 PM, Andre Pany wrote:
Hi,
in the specification
https://dlang.org/spec/interfaceToC.html#storage_allocation
there is this paragraph:
"Leaving a pointer to it on the stack (as a parameter or
automatic
Hi,
in the specification
https://dlang.org/spec/interfaceToC.html#storage_allocation there
is this paragraph:
"Leaving a pointer to it on the stack (as a parameter or
automatic variable), as the garbage collector will scan the
stack."
I have some trouble to understand what does this mean.
On Wednesday, 29 July 2020 at 17:42:20 UTC, jeff thompson wrote:
On Wednesday, 29 July 2020 at 13:26:45 UTC, Andre Pany wrote:
On Tuesday, 28 July 2020 at 22:10:58 UTC, jeff thompson wrote:
On Tuesday, 28 July 2020 at 22:08:14 UTC, Steven
Schveighoffer wrote:
[...]
Thanks Steve!, ya i know
On Tuesday, 28 July 2020 at 22:10:58 UTC, jeff thompson wrote:
On Tuesday, 28 July 2020 at 22:08:14 UTC, Steven Schveighoffer
wrote:
On 7/28/20 5:50 PM, jeff thompson wrote:
Hello
Im brand new to D (loving it btw!) and have decided to build
a largish windows project in the language. First
On Saturday, 18 July 2020 at 09:10:04 UTC, Mr. Backup wrote:
Hello,
I wanted to create simple web service to start learning more
about D lang and compare with another languages. I have used
"dub init -t vibe.d" to create basic example:
import vibe.vibe;
void main()
{
auto settings
On Thursday, 16 July 2020 at 05:03:36 UTC, Jon Degenhardt wrote:
On Wednesday, 15 July 2020 at 07:12:35 UTC, Andre Pany wrote:
[...]
An enhancement is likely to hit some corner-cases involving
list termination requiring choices that are not fully generic.
Any time a legal list value looks
On Thursday, 16 July 2020 at 11:06:01 UTC, Marcone wrote:
I just want import in file and run with dmd.
Execute dub build with verbose output. You will find the info how
dub is calling dmd.
Kind regards
Andre
On Wednesday, 15 July 2020 at 09:31:27 UTC, Cecil Ward wrote:
On Tuesday, 14 July 2020 at 23:10:28 UTC, Max Haughton wrote:
On Tuesday, 14 July 2020 at 21:58:49 UTC, Cecil Ward wrote:
I have written something which may or may not be novel and
I’m wondering about how to distribute it to as many
On Tuesday, 14 July 2020 at 15:48:59 UTC, Andre Pany wrote:
On Tuesday, 14 July 2020 at 14:33:47 UTC, Steven Schveighoffer
wrote:
On 7/14/20 10:22 AM, Steven Schveighoffer wrote:
The documentation needs updating, it should say "parameters
are added sequentially" or something like that, instead
On Tuesday, 14 July 2020 at 14:33:47 UTC, Steven Schveighoffer
wrote:
On 7/14/20 10:22 AM, Steven Schveighoffer wrote:
The documentation needs updating, it should say "parameters
are added sequentially" or something like that, instead of
"separation by whitespace".
Hi,
by reading the documentation of std.getopt I would assume, this
is a valid call
dmd -run sample.d --modelicalibs a b
``` d
import std;
void main(string[] args)
{
string[] modelicaLibs;
getopt(args, "modelicalibs", );
assert(modelicaLibs == ["a", "b"]);
}
```
but it fails,
On Tuesday, 16 June 2020 at 06:19:51 UTC, Joel wrote:
I've tired different unit test libraries, but they jump out on
errors instead of just adding to failed numbers.
I'm thinking like this:
```
@("dummy");
unittset {
0.shouldEqual(0);
1.shouldEqual(2);
2.shouldEqual(3);
}
```
Test:
On Saturday, 13 June 2020 at 19:27:53 UTC, Jean-Louis Leroy wrote:
On Monday, 18 November 2019 at 23:06:14 UTC, Per Nordlöw wrote:
Have anybody written support for DUB project types in Emacs'
projectile?
See:
https://www.projectile.mx/en/latest/projects/#adding-custom-project-types
On Wednesday, 10 June 2020 at 12:59:33 UTC, Jesse Phillips wrote:
On Wednesday, 10 June 2020 at 01:06:30 UTC, aberba wrote:
On Tuesday, 9 June 2020 at 14:23:34 UTC, Jesse Phillips wrote:
I notice that in the new release for Alpine Linux it mentions
support for D.
I was curious what was meant
On Wednesday, 10 June 2020 at 08:31:47 UTC, Mathias LANG wrote:
On Wednesday, 10 June 2020 at 06:43:24 UTC, Andre Pany wrote:
[...]
Depending on your needs, it might be trivial. We use this, and
it works accross all 3 platforms:
Hi,
I would like to interface with the library
https://github.com/NTNU-IHB/FMI4cpp
and have following class definitions in the header file:
``` c++
namespace fmi4cpp {
template
class fmu_base {
public:
const std::string guid() const {
return
On Monday, 8 June 2020 at 18:38:17 UTC, Paul Backus wrote:
On Monday, 8 June 2020 at 17:55:24 UTC, Andre Pany wrote:
I had a second look on the descriptions and from a non native
speaker view it sounds correct.
But you are right from a native speaker view the wording might
be incorrect.
If
On Sunday, 7 June 2020 at 16:54:48 UTC, Paul Backus wrote:
On Sunday, 7 June 2020 at 16:26:17 UTC, Andre Pany wrote:
On Sunday, 7 June 2020 at 15:37:27 UTC, Paul Backus wrote:
On Sunday, 7 June 2020 at 12:52:12 UTC, Andre Pany wrote:
I am not sure but $DUB is a variable which could be used
On Sunday, 7 June 2020 at 15:37:27 UTC, Paul Backus wrote:
On Sunday, 7 June 2020 at 12:52:12 UTC, Andre Pany wrote:
I am not sure but $DUB is a variable which could be used in
dub descriptor file but it isn't an environment variable.
$DUB_EXE is an environment variable.
Kind regards
Andre
On Sunday, 7 June 2020 at 10:06:14 UTC, Russel Winder wrote:
On Sun, 2020-06-07 at 10:24 +0100, Russel Winder wrote:
Hi,
Why on earth is Dub sending out this error message (Invalid
variable: DUB)
on
GitLab but not on Travis-CI or locally?
OK, that was slightly rhetorical, more reasonably,
On Sunday, 7 June 2020 at 11:21:03 UTC, Jacob Carlborg wrote:
On 2020-06-07 11:24, Russel Winder wrote:
Hi,
Why on earth is Dub sending out this error message (Invalid
variable: DUB) on
GitLab but not on Travis-CI or locally?
OK, that was slightly rhetorical, more reasonably, why is dub
On Saturday, 6 June 2020 at 08:06:02 UTC, Luis wrote:
On Friday, 5 June 2020 at 18:13:52 UTC, WebFreak001 wrote:
To build before running the debugger, add the following task
to your task definitions file (Ctrl-Shift-B):
{
"label": "dub build", // <-- add a good name here
On Friday, 5 June 2020 at 18:00:40 UTC, Poyeyo wrote:
Hello everyone.
I want to create a windows plugin.dll that could be called from
rFactor, and I want to try D first, instead of going directly
to C++ as the rFactor example.
I am trying to wrap my head around this:
On Saturday, 30 May 2020 at 18:17:21 UTC, mw wrote:
On Thursday, 25 April 2019 at 10:33:00 UTC, Vladimirs Nordholm
wrote:
Hello.
Is there a current "Best Practices" for logging in D?
For the actual logging, I know of `std.experimental.logger`.
However, the `experimental` has kept me away
On Saturday, 30 May 2020 at 00:12:20 UTC, kookman wrote:
On Friday, 29 May 2020 at 11:45:24 UTC, Andre Pany wrote:
André
I do it by defining a configuration “build-deps” in my dub.sdl
with target type “none” and then doing the build as two steps
in the dockerfile:
``` dockerfile
...
Hi,
I have a docker image in which a vibe-d application is build from
source code. Every time a file is changed, unfortunately the
whole vibe-d dub packages are retrieved again from dub registry
and compiled again (which takes ages).
In my app.json I have these dependency declaration:
```
On Wednesday, 27 May 2020 at 04:19:46 UTC, Tim wrote:
On Tuesday, 26 May 2020 at 09:17:52 UTC, Andre Pany wrote:
Hi,
What version of dub do you use? I am not 100 % sure but
thought platform probes do not longer write files with recent
dub version.
Do you use DMD or LDC or GDC?
Kind regards
On Monday, 25 May 2020 at 22:58:54 UTC, Tim wrote:
Hi all
I end up with a directory flooded with platform probes. How can
I make sure that old ones are deleted automatically?
Thanks
Hi,
What version of dub do you use? I am not 100 % sure but thought
platform probes do not longer write
1 - 100 of 400 matches
Mail list logo