On Thursday, 8 October 2015 at 09:25:36 UTC, tcak wrote:
On Thursday, 8 October 2015 at 05:46:31 UTC, ketmar wrote:
On Thursday, 8 October 2015 at 04:38:43 UTC, tcak wrote:
Is it possible to modify GC (without rebuilding the
compiler), so it uses a given shared memory area instead of
heap for
On 10/11/2015 10:35 PM, anonymous wrote:
On Monday 12 October 2015 07:28, Ali Çehreli wrote:
For example, you cannot get current time at run time.
I think you mean compile time here.
Thanks. :)
Ali
On Monday 12 October 2015 07:28, Ali Çehreli wrote:
> For example, you cannot get current time at run time.
I think you mean compile time here.
On Monday 12 October 2015 07:23, Rikki Cattermole wrote:
> On 12/10/15 6:19 PM, Andre wrote:
[...]
>> // assert("foo "~ true ? "bar" : "baz" == "foo bar"); does not
compile
[...]
> I read it as:
>
> assert("foo "~ (true ? ("bar") : ("baz" == "foo bar")));
>
> Oh hey look:
> /d434/f138.d(6)
On Monday, 12 October 2015 at 05:25:46 UTC, H. S. Teoh wrote:
On Mon, Oct 12, 2015 at 05:19:38AM +, Andre via
Digitalmars-d-learn wrote:
[...]
[...]
It's best to parenthesize when mixing other operators with ?,
because ? has a pretty low precedence and may "steal" arguments
from surround
On 10/11/2015 08:26 PM, holo wrote:
> On Monday, 12 October 2015 at 02:30:43 UTC, Meta wrote:
>> On Monday, 12 October 2015 at 02:14:35 UTC, holo wrote:
>>> class credential
>>> {
>>> auto accessKey = environment.get["AWS_ACCESS_KEY"];
>>> auto secretKey = environment.get["AWS_SECRET_KEY"]
On Mon, Oct 12, 2015 at 05:19:38AM +, Andre via Digitalmars-d-learn wrote:
> Hi,
>
> I am not sure, whether the output of following coding is correct:
>
> import std.stdio;
>
> void main()
> {
> writeln("foo "~ true ? "bar" : "baz");
> writeln("foo "~ false ? "bar" : "baz");
>
On 12/10/15 6:19 PM, Andre wrote:
Hi,
I am not sure, whether the output of following coding is correct:
import std.stdio;
void main()
{
writeln("foo "~ true ? "bar" : "baz");
writeln("foo "~ false ? "bar" : "baz");
// assert("foo "~ true ? "bar" : "baz" == "foo bar"); does not c
Hi,
I am not sure, whether the output of following coding is correct:
import std.stdio;
void main()
{
writeln("foo "~ true ? "bar" : "baz");
writeln("foo "~ false ? "bar" : "baz");
// assert("foo "~ true ? "bar" : "baz" == "foo bar"); does not
compile
}
Output:
bar
bar
I
On Sunday, 11 October 2015 at 23:16:51 UTC, holo wrote:
After long fight with previous code i try to rewrite
"one-to-one" python example from
http://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html (GET part) from begging to D with full success. Here is working code in cl
On Monday, 12 October 2015 at 03:29:12 UTC, Rikki Cattermole
wrote:
On 12/10/15 4:13 PM, holo wrote:
By the looks, I'm guessing you do not have much experience
when it
comes to OOP.
I think you are wanting something a bit closer to:
import std.typecons : tuple, TypeTuple;
interface Credent
On 12/10/15 4:13 PM, holo wrote:
By the looks, I'm guessing you do not have much experience when it
comes to OOP.
I think you are wanting something a bit closer to:
import std.typecons : tuple, TypeTuple;
interface Credential {
string encode();
}
class SigV4 : Credential {
this(.
On Monday, 12 October 2015 at 02:30:43 UTC, Meta wrote:
On Monday, 12 October 2015 at 02:14:35 UTC, holo wrote:
class credential
{
auto accessKey = environment.get["AWS_ACCESS_KEY"];
auto secretKey = environment.get["AWS_SECRET_KEY"];
}
class sigv4 : credential
{
private
By the looks, I'm guessing you do not have much experience when
it comes to OOP.
I think you are wanting something a bit closer to:
import std.typecons : tuple, TypeTuple;
interface Credential {
string encode();
}
class SigV4 : Credential {
this() {
.
On Monday, 12 October 2015 at 02:14:35 UTC, holo wrote:
class credential
{
auto accessKey = environment.get["AWS_ACCESS_KEY"];
auto secretKey = environment.get["AWS_SECRET_KEY"];
}
class sigv4 : credential
{
private:
const algorithm = "AWS4-HMAC-SHA256";
On 12/10/15 3:14 PM, holo wrote:
Hello
I'm trying to write my first class. I want to use it as module and build
anothers on top of it. I read that default functions attributes are not
inherited. Is it that same for constructor? This is how my class (not
finished) is looking right now:
class cre
Hello
I'm trying to write my first class. I want to use it as module
and build anothers on top of it. I read that default functions
attributes are not inherited. Is it that same for constructor?
This is how my class (not finished) is looking right now:
class credential
{
auto accessK
After long fight with previous code i try to rewrite "one-to-one"
python example from
http://docs.aws.amazon.com/general/latest/gr/sigv4-signed-request-examples.html (GET part) from begging to D with full success. Here is working code in clear D. Im using hmac function which is available from 2.0
On Sunday, October 11, 2015 05:10:34 tcak via Digitalmars-d-learn wrote:
> On Saturday, 10 October 2015 at 20:07:11 UTC, Jonathan M Davis
> wrote:
> > On Saturday, October 10, 2015 15:20:02 tcak via
> > Digitalmars-d-learn wrote:
> >> [code]
> >> int[] list;
> >>
> >> list = new int[0];
> >>
>
On Sunday, 11 October 2015 at 05:06:04 UTC, Nordlöw wrote:
On Sunday, 11 October 2015 at 00:16:44 UTC, Meta wrote:
There was something like this proposed quite awhile ago (can't
remember what it was, might've been extending unary/binaryFun
to accept an AA), but it was rejected.
With static fo
On Saturday, 10 October 2015 at 15:46:51 UTC, Meta wrote:
On Saturday, 10 October 2015 at 15:20:04 UTC, tcak wrote:
[code]
int[] list;
list = new int[0];
std.stdio.writeln("Is Null ? ", (list is null));
[/code]
Result is "Is Null? true".
}
Do I miss the point
21 matches
Mail list logo