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
...
WORKDIR /build
COPY dub.s* ./
RUN dub build -v —config=build-dep
On Thursday, 28 May 2020 at 20:26:55 UTC, Quantium wrote:
I need to create a variable with custom name, like this
import std;
void main()
{
string name;
readf(" %s", &name);
// some code that generates a variable of type integer and
value 0
}
Could you help me with that?
This migh
On Thursday, 28 May 2020 at 20:26:55 UTC, Quantium wrote:
I need to create a variable with custom name, like this
import std;
void main()
{
string name;
readf(" %s", &name);
// some code that generates a variable of type integer and
value 0
}
Could you help me with that?
This is n
I didn't know the spec was changed to include a section on
@safe/@trusted/@system interfaces, because otherwise I wouldn't
have made this thread. But regardless, thank you everyone for
your time: your posts are very helpful.
On 5/28/20 8:09 PM, Clarice wrote:
It seems that @safe will be de jure, whether by the current state of
DIP1028 or otherwise. However, I'm unsure how to responsibly determine
whether a FFI may be @trusted: the type signature and the body. Should I
run, for example, a C library through valgrind
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:
``` js
On Friday, 29 May 2020 at 09:04:30 UTC, WebFreak001 wrote:
[...]
I realized it may be useful to have a much more complete example,
so replace the while (true) loop in my first code with this to
get much more information dumped:
while (true)
{
enumerator.Next
On Wednesday, 27 May 2020 at 14:16:56 UTC, BoQsc wrote:
I always wanted to know if there is any proven example on how
to interface with USB devices by using Windows operating
system. Any explanations, snippets in relation to topic would
help.
What I expect:
Being able to detect if a new USB d