On Friday, 25 August 2017 at 05:25:09 UTC, Hasen Judy wrote:
What libraries are people using to run webservers other than
vibe.d?
Don't get me wrong I like the async-io aspect of vibe.d but I
don't like the weird template language and the fact that it
caters to mongo crowd.
I think for D to
On Thursday, 24 August 2017 at 22:38:29 UTC, Meta wrote:
https://dlang.org/phobos/std_meta.html#aliasSeqOf
Thanks!
Your advice led to the following sample solution
import std.meta : aliasSeqOf;
immutable englishIndefiniteArticles = [`a`, `an`];
bool isEnglishIndefiniteArticle(S)(S s)
{
re
What libraries are people using to run webservers other than
vibe.d?
Don't get me wrong I like the async-io aspect of vibe.d but I
don't like the weird template language and the fact that it
caters to mongo crowd.
I think for D to a have good web story it needs to appeal to
serious backend
Anyone?
On Tuesday, 22 August 2017 at 12:52:24 UTC, Vino.B wrote:
Request your help on sending Mails, I am able to receive
mails with empty body the line "smtp.message ="Example Message"
doesn't seem to be working and also please let me know how do i
send a file as a attachment in a email.
The mess
On Thursday, 24 August 2017 at 19:41:46 UTC, Nordlöw wrote:
Given
enum e = ['a', 'b', 'c'];
import std.meta : AliasSeq;
enum a = AliasSeq!['a', 'b', 'c'];
is it somehow possible to convert (at compile-time) `e` to `a`?
Is it cheaper CT-performance wise to use AliasSeq instead of
enu
zeroMemory(&scd, scd.sizeof);
void zeroMemory(void* ad,size_t size){
(cast(byte*)& ad)[0 .. size] = 0;
}
I was totally corrupting my stack and it's not even needed in D, the
compiler zero's it out automatically.
Mystery solved, thanks a lot irc (adam,wolfgang,...)
2017-08-24 17:26 GMT+
Given
enum e = ['a', 'b', 'c'];
import std.meta : AliasSeq;
enum a = AliasSeq!['a', 'b', 'c'];
is it somehow possible to convert (at compile-time) `e` to `a`?
Is it cheaper CT-performance wise to use AliasSeq instead of enum
static arrays?
My use case is expressed by the TODOs in t
On Thursday, 24 August 2017 at 12:16:22 UTC, Vino.B wrote:
On Wednesday, 23 August 2017 at 13:50:18 UTC, Vino.B wrote:
On Wednesday, 23 August 2017 at 13:14:31 UTC, Moritz Maxeiner
wrote:
[...]
Hi,
[...]
Hi,
Any idea of what is causing this issue.
Hi,
Thanks for your support, was a
I should probably add that the error is a hresult, being 0 when it works
but -2005270527 when it fails.
2017-08-24 17:24 GMT+02:00 maarten van damme :
> Hi all.
>
> This works (dub --arch=x86_mscoff) http://dpaste.com/1XCJEX7 but this
> fails : http://dpaste.com/1C7WMB7 .
>
> Notice that all I've
Hi all.
This works (dub --arch=x86_mscoff) http://dpaste.com/1XCJEX7 but this fails
: http://dpaste.com/1C7WMB7 .
Notice that all I've done is manually inlined init3d...
You can compile this with the following dub.json
http://dpaste.com/2QBQFSX
Any help would be appreciated, it make absolutely
On Wednesday, 23 August 2017 at 13:50:18 UTC, Vino.B wrote:
On Wednesday, 23 August 2017 at 13:14:31 UTC, Moritz Maxeiner
wrote:
[...]
Hi,
[...]
Hi,
Any idea of what is causing this issue.
On Saturday, 18 March 2017 at 13:47:34 UTC, alex1974 wrote:
On Saturday, 18 March 2017 at 13:41:12 UTC, Mike Parker wrote:
On Saturday, 18 March 2017 at 12:49:33 UTC, alex1974 wrote:
This simple layout works, but then all parts will be compiled
every time. Is there a way to just compile the
I've started a thread at the beginning of my program that waits
for user input:
`thread = new Thread(&checkInput).start;`
`static void checkInput(){
foreach (line; stdin.byLineCopy) { ... }
}`
I need to stop checking for user input at some point in my
program but I'm not sure how to kill
14 matches
Mail list logo