On Friday, 3 April 2020 at 16:10:55 UTC, Baby Beaker wrote:
I create Bots for Telegram using Python or PHP. But I love
Dlang and would like to create my Bots in Dlang. Is there any
support for Dlang to create Telegram Bots?
My bots use https://code.dlang.org/packages/telega without any
On Sunday, 5 April 2020 at 22:24:27 UTC, solidstate1991 wrote:
My game engine is currently broken due to some race issue I
don't really know how to resolve.
It seems that the compiler tries to skip instructions that are
not locked with a `writeln()` or something similar. Usually I
can safely
OK so I am using the intel intrinsics library, I ws just copying
it into my source tree. So in the interests of automation I added
it as a dependency in dub, but now my code is anywhere up to 3
times slower. So I figure maybe as its being compiled as a
library, it's not getting inlined because
On Sunday, 5 April 2020 at 22:24:27 UTC, solidstate1991 wrote:
My game engine is currently broken due to some race issue I
don't really know how to resolve.
It seems that the compiler tries to skip instructions that are
not locked with a `writeln()` or something similar. Usually I
can safely
My game engine is currently broken due to some race issue I don't
really know how to resolve.
It seems that the compiler tries to skip instructions that are
not locked with a `writeln()` or something similar. Usually I can
safely remove the writeln after compiling it once with that way.
On Wednesday, 31 October 2018 at 23:14:08 UTC, Bastiaan Veelo
wrote:
Currently, BitArray is not usable at compile time, so you
cannot do
```
enum e = BitArray([1, 1, 1, 0]);
```
This gives
/dlang/dmd/linux/bin64/../../src/phobos/std/bitmanip.d(1190):
Error: `bts` cannot be interpreted at
On Sunday, 5 April 2020 at 18:58:17 UTC, p.shkadzko wrote:
On Saturday, 4 April 2020 at 09:25:14 UTC, Giovanni Di Maria
wrote:
[...]
Why not use "chunks" from std.range?
import std.range: chunks;
void main() {
int[] arr = [10,20,30,40,50,60,70,80,90,100,110,120];
auto matrix1 =
On Saturday, 4 April 2020 at 09:25:14 UTC, Giovanni Di Maria
wrote:
Hi.
Is there a Built-in function (no code, only a built-in function)
that transform a linear array to a Matrix?
For example:
From
[10,20,30,40,50,60,70,80,90,100,110,120];
To
[
[10,20,30],
[40,50,60],
[70,80,90],
On Thursday, 2 April 2020 at 17:16:56 UTC, burt wrote:
On Thursday, 2 April 2020 at 12:13:27 UTC, Adam D. Ruppe wrote:
On Thursday, 2 April 2020 at 11:29:24 UTC, burt wrote:
Anyway, I don't think this fails to work because of an error
in the d_android library. If you find anything else that
On Sunday, 5 April 2020 at 14:02:19 UTC, Baby Beaker wrote:
On Saturday, 4 April 2020 at 21:54:34 UTC, Andre Pany wrote:
On Saturday, 4 April 2020 at 20:21:03 UTC, Marcone wrote:
[...]
[...]
If you can copy the D packages from the Dub packages into your
main source folder, the command
On Saturday, 4 April 2020 at 21:54:34 UTC, Andre Pany wrote:
On Saturday, 4 April 2020 at 20:21:03 UTC, Marcone wrote:
I want import modules from dub packages in my program.d and
run using dmd.exe without dub.exe. How can I make it? Becouse
when I try to import it says that can not found.
Ag
On Sunday, 5 April 2020 at 14:02:19 UTC, Baby Beaker wrote:
On Saturday, 4 April 2020 at 21:54:34 UTC, Andre Pany wrote:
On Saturday, 4 April 2020 at 20:21:03 UTC, Marcone wrote:
[...]
Ag the end dub is calling DMD/LDC with some arguments. You can
run dub with verbose output and check the
On Saturday, 4 April 2020 at 14:40:16 UTC, Baby Beaker wrote:
Program.d
#!/usr/bin/env dub
/+ dub.sdl:
name "hello_vibed"
dependency "vibe-d" version="~>0.8.0"
+/
import vibe.vibe;
import std;
[...]
First of all try using the latest vibe.d release instead:
/+ dub.sdl:
name
On Friday, 3 April 2020 at 16:10:55 UTC, Baby Beaker wrote:
I create Bots for Telegram using Python or PHP. But I love
Dlang and would like to create my Bots in Dlang. Is there any
support for Dlang to create Telegram Bots?
Hi,
A quick search yielded this dub package:
14 matches
Mail list logo