On Friday, 27 January 2017 at 18:20:53 UTC, Jon Degenhardt wrote:
On Friday, 27 January 2017 at 16:21:51 UTC, Jack Stouffer wrote:
On Friday, 27 January 2017 at 03:58:26 UTC, Ali Çehreli wrote:
And this:
http://youtu.be/-DK4r5xewTY
Hey Jon, if you're in this thread, are you able to post
On Saturday, 18 February 2017 at 04:45:00 UTC, Michael Coulombe
wrote:
On Saturday, 18 February 2017 at 02:20:07 UTC, Arun
Chandrasekaran wrote:
On Saturday, 18 February 2017 at 00:08:28 UTC, Steven
Schveighoffer wrote:
On 1/30/17 4:48 PM, Steven Schveighoffer wrote:
[...]
Here is the live
On Saturday, 18 February 2017 at 02:20:07 UTC, Arun
Chandrasekaran wrote:
On Saturday, 18 February 2017 at 00:08:28 UTC, Steven
Schveighoffer wrote:
On 1/30/17 4:48 PM, Steven Schveighoffer wrote:
Attention fellow Boston D enthusiasts: I have set up a meetup
for
February, and Michael Coulombe
https://issues.dlang.org/show_bug.cgi?id=16470
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=16470
--- Comment #5 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/druntime
https://github.com/dlang/druntime/commit/2d38937e3ff6597a143e83cf2d2d38c76b117d56
Fix issue 16470: Segfault with negative array length
On 2/17/2017 2:47 PM, ketmar wrote:
i see. anyway, i added "References:" generation, so it should work now. feel
free to write here or contact me via e-mail if it is still broken, so we can
work it out then.
It seems to be working fine now. Thanks!
On Saturday, 18 February 2017 at 00:08:28 UTC, Steven
Schveighoffer wrote:
On 1/30/17 4:48 PM, Steven Schveighoffer wrote:
Attention fellow Boston D enthusiasts: I have set up a meetup
for
February, and Michael Coulombe will give a presentation on his
experiences with shared.
As before, this
On Friday, 17 February 2017 at 23:24:57 UTC, Nicholas Wilson
wrote:
Something like this would be a goods use for struct multiple
alias this, except that we haven't implemented that yet
unfortunately.
What's the deal with that? It seems someone made progress on this
issue 2 years ago and then
On Wednesday, 15 February 2017 at 21:07:06 UTC, Arun
Chandrasekaran wrote:
On Wednesday, 15 February 2017 at 19:47:28 UTC, Cym13 wrote:
There's little point in having more features if what's already
there is
half broken and not well-defined.
+1
Indeed.
On 1/30/17 4:48 PM, Steven Schveighoffer wrote:
Attention fellow Boston D enthusiasts: I have set up a meetup for
February, and Michael Coulombe will give a presentation on his
experiences with shared.
As before, this will be at the Capital One Cafe in the back bay (across
from Prudential
On Friday, 17 February 2017 at 23:31:41 UTC, Adam D. Ruppe wrote:
On Friday, 17 February 2017 at 23:11:25 UTC, Jean Cesar wrote:
so I changed the code to use interface but how would I do so I
could use the constructor in the same way as such a C ++ code?
Interfaces + mixin templates give you
On Friday, 17 February 2017 at 23:11:25 UTC, Jean Cesar wrote:
so I changed the code to use interface but how would I do so I
could use the constructor in the same way as such a C ++ code?
Interfaces + mixin templates give you something very similar to
multiple inheritance. You can have named
On Friday, 17 February 2017 at 23:11:25 UTC, Jean Cesar wrote:
import std.stdio;
import std.string;
I've been reading a bit about multi-inheritance in D, but I
have to use interface like C # to use multiple inheritance, but
I have the code in C ++ that I've been testing to understand
how it
import std.stdio;
import std.string;
I've been reading a bit about multi-inheritance in D, but I have
to use interface like C # to use multiple inheritance, but I have
the code in C ++ that I've been testing to understand how it
would be possible to implement multi-inheritance constructor
Walter Bright wrote:
My news archiver program:
https://github.com/DigitalMars/ngArchiver
relies on "References:", and if that is absent, looks for a "Re:" as
the start of the "Subject:" text.
i see. anyway, i added "References:" generation, so it should work now.
feel free to write here or
We deal and specialize in IELTS,GRE,TOEIC,TOEFL,PET, FCE, CAE,
CPE, BEC,YLE, KET,BULATS,ILEC, ICFE CELTA/DELTA & all
Certificates.
All our documents are real,register and you can verify online ...
Apply without any limitation to obtain valid and authenticated
docs :
On 2/17/17 10:37 PM, jmh530 wrote:
On Friday, 17 February 2017 at 21:01:33 UTC, Dmitry Olshansky wrote:
This is a common misconception. LLVM as AoT optimizing compiler is
great, but for the JIT compiler it's actually far too slow at codegen
to be a sensible choice.
I don't know how big of a
On 2/17/2017 10:46 AM, ketmar wrote:
Ali Çehreli wrote:
On 02/17/2017 09:52 AM, ketmar wrote:
that one didn't had "References:" set -- i forgot to append 'em to
headers. this one should have 'em.
This one worked.
Ali
thank you. so mail readers aren't that smart after all. ;-)
My news
On Friday, 17 February 2017 at 21:34:16 UTC, ag0aep6g wrote:
On 02/17/2017 09:24 PM, Ali Çehreli wrote:
It's the Unicode character "U+FFFD
REPLACEMENT CHARACTER", which is represented by 2 chars in D.
It takes 3 `char`s to represent U+FFFD:
void main()
{
import std.stdio;
On Friday, 17 February 2017 at 21:01:33 UTC, Dmitry Olshansky
wrote:
This is a common misconception. LLVM as AoT optimizing compiler
is great, but for the JIT compiler it's actually far too slow
at codegen to be a sensible choice.
I don't know how big of a misconception it is. The Dropbox
On 02/17/2017 09:24 PM, Ali Çehreli wrote:
It's the Unicode character "U+FFFD
REPLACEMENT CHARACTER", which is represented by 2 chars in D.
It takes 3 `char`s to represent U+FFFD:
void main()
{
import std.stdio;
writeln("\uFFFD".length); /* prints "3" */
}
On 02/17/2017 07:41 PM, berni wrote:
The command that works is
dmd a.d b.o
where b.o is a precompiled c file, similar to
https://github.com/dlang/druntime/blob/master/src/core/stdc/errno.c
When using rdmd it doesn't work anymore. When I make rdmd --chatty, I
can find the reason: b.o is
On 2/17/17 6:06 AM, Seb wrote:
On Saturday, 7 January 2017 at 16:12:49 UTC, Andrei Alexandrescu wrote:
Following https://github.com/dlang/dlang.org/pull/1532, the new-style
docs now also allow editing and running examples. Start at
http://dlang.org/library-prerelease/ and go anywhere to check
On 2/17/17 8:44 PM, Temtaime wrote:
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote:
I hope this thread is informative and will continue to be that way.
Cheers,
Stefan (aka UplinkCoder)
Just get LDC.
Make it use JIT.
And you'll get all the features working.
Writing slow
On Monday, 13 February 2017 at 14:22:25 UTC, Guillaume Piolat
wrote:
It's the 10th update for this abstract shooter made in D.
This is the first time I've heard of this game. Downloaded the
demo, and first impressions were mind blowing!
Gameplay seems very fluid and well calibrated. But,
On Friday, 17 February 2017 at 19:44:10 UTC, Temtaime wrote:
Just get LDC.
Make it use JIT.
And you'll get all the features working.
Writing slow interpreter is ... wasting efforts.
For your information LLVM takes about 5 milliseconds to start up,
it also takes a lot of time to generate code
On Saturday, 7 January 2017 at 21:19:42 UTC, Seb wrote:
On Saturday, 7 January 2017 at 20:14:56 UTC, Martin Nowak wrote:
On 01/07/2017 05:12 PM, Andrei Alexandrescu wrote:
Following https://github.com/dlang/dlang.org/pull/1532, the
new-style docs now also allow editing and running examples.
On 02/17/2017 12:05 PM, wiki wrote:
> So I executed it here anyway but still it presents arbitrary characters
> in the char ..
Right. char[50] is not suitable for user interaction like that. Use
string, char[], etc.
> What I thought was to create a reader where I could receive,
> Char,
On Friday, 17 February 2017 at 20:06:19 UTC, berni wrote:
I wonder if it's possible to do something like this:
import std.stdio;
void main(string[] args)
{
if (args[1]=="a")
{
write("A");
scope (exit) write("B");
}
write("C");
}
I expected the output to be ACB not
I wonder if it's possible to do something like this:
import std.stdio;
void main(string[] args)
{
if (args[1]=="a")
{
write("A");
scope (exit) write("B");
}
write("C");
}
I expected the output to be ACB not ABC. I understand, that the
scope ends at the end of the
On Friday, 17 February 2017 at 18:57:55 UTC, Ali Çehreli wrote:
On 02/17/2017 07:48 AM, Jean Cesar wrote:
import std.stdio;
import std.string;
auto read(C)(ref C c, char[80] message)
if (isSomeChar!C) {
writef("\n\t%s: ", message);
c = strip(readf());
readf(" %s", );
return c;
On Friday, 17 February 2017 at 19:36:50 UTC, berni wrote:
What I didn't understand was that large box below write in
stdio. Maybe, it's because I'm not familiar with templates yet.
That's the function signature, listing the arguments, types, etc.
On write, it is mostly empty, write is
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote:
Hi Guys, due to the old CTFE status thread getting to page 30,
I am now starting a new one.
First let me summerize which features are currently working:
In order of date, the latest features come first.
- fixed continue and
https://issues.dlang.org/show_bug.cgi?id=17195
Issue ID: 17195
Summary: [Reg 2.074] isFloatingPoint!cfloat is now true
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: regression
On Friday, 17 February 2017 at 19:16:44 UTC, Adam D. Ruppe wrote:
Yes, that is my documentation fork, it has a search feature if
you do dpldocs.info/some_term and it tries to be easier to read
and navigate, let me know how you like it!
What I've seen so far, looks quite good.
What I didn't
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote:
Hi Guys, due to the old CTFE status thread getting to page 30,
I am now starting a new one.
...
--
I hope this thread is informative and will continue to be that
way.
Cheers,
Stefan (aka UplinkCoder)
Thanks Stefan for your
On 02/17/2017 07:48 AM, Jean Cesar wrote:
import std.stdio;
import std.string;
auto read(C)(ref C c, char[80] message)
if (isSomeChar!C) {
writef("\n\t%s: ", message);
c = strip(readf());
readf(" %s", );
return c;
}
void main()
{
char[50] message;
read(message,"Digite Seu
On Tuesday, 14 February 2017 at 23:24:03 UTC, Stefan wrote:
Want to share the outcome of a vivid discussion today at the
Munich D Meetup with you.
Installation of a D Compiler is ok-ish. But sometime you don't
want to install it. Sometimes you want a very clean
compiler-environment.
Ali Çehreli wrote:
On 02/17/2017 09:52 AM, ketmar wrote:
that one didn't had "References:" set -- i forgot to append 'em to
headers. this one should have 'em.
This one worked.
Ali
thank you. so mail readers aren't that smart after all. ;-)
On Friday, 17 February 2017 at 16:08:11 UTC, Adam D. Ruppe wrote:
Try
fileno(core.stdc.stdio.stderr);
to force it to use the C stderr object instead of the D one.
Alternatively, fileno(stderr.getFP()) should do it too.
http://dpldocs.info/experimental-docs/std.stdio.File.getFP.html
Many
Something similar happend now, but this time it works with dmd
and rdmd produces the error:
The command that works is
dmd a.d b.o
where b.o is a precompiled c file, similar to
https://github.com/dlang/druntime/blob/master/src/core/stdc/errno.c
When using rdmd it doesn't work anymore. When
On 02/17/2017 09:52 AM, ketmar wrote:
that one didn't had "References:" set -- i forgot to append 'em to
headers. this one should have 'em.
This one worked.
Ali
Jacob Carlborg wrote:
On 2017-02-17 08:56, ketmar wrote:
Walter Bright wrote:
Something is going on with your newsreader client. It's replies break
the thread.
i honestly don't know what is wrong there. i creating "In-Reply-To:"
field, and DFeed is able to correctly link my posts (see web
On Thu, Feb 16, 2017 at 08:43:57AM +, Seb via Digitalmars-d wrote:
> On Thursday, 16 February 2017 at 05:20:32 UTC, H. S. Teoh wrote:
> > On Thu, Feb 16, 2017 at 05:02:41AM +, Yuxuan Shui via Digitalmars-d
> > wrote:
> > > On Wednesday, 15 February 2017 at 22:02:01 UTC, Seb wrote:
[...]
>
On 2017-02-17 08:56, ketmar wrote:
Walter Bright wrote:
Something is going on with your newsreader client. It's replies break
the thread.
i honestly don't know what is wrong there. i creating "In-Reply-To:"
field, and DFeed is able to correctly link my posts (see web interface),
and my own
On 01/07/2017 11:12 AM, Andrei Alexandrescu wrote:
Following https://github.com/dlang/dlang.org/pull/1532, the new-style
docs now also allow editing and running examples. Start at
http://dlang.org/library-prerelease/ and go anywhere to check it out.
Thanks are due to Sönke Ludwig and Sebastian
On Friday, 17 February 2017 at 16:02:39 UTC, berni wrote:
int no = fileno(stderr);
Try
fileno(core.stdc.stdio.stderr);
to force it to use the C stderr object instead of the D one.
Alternatively, fileno(stderr.getFP()) should do it too.
The following code doesn't work:
int no = fileno(stderr);
The error message is:
test.d(7): Error: function core.stdc.stdio.fileno
(shared(_IO_FILE)*) is not callable using argument types (File)
How can I cast stderr to something, that fileno() accepts?
import std.stdio;
import std.string;
auto read(C)(ref C c, char[80] message)
if (isSomeChar!C) {
writef("\n\t%s: ", message);
c = strip(readf());
readf(" %s", );
return c;
}
void main()
{
char[50] message;
read(message,"Digite Seu nome: ");
writeln(message);
}
estou
On Friday, 17 February 2017 at 13:50:48 UTC, John Colvin wrote:
Might I suggest you change the output s to s
with border: none; and max-height: 30em;
This would make them auto-grow to the right height to fit the
content (with max-height for sanity). It does mean you lose
manual resizability
On Friday, 17 February 2017 at 05:06:20 UTC, Seb wrote:
On Saturday, 7 January 2017 at 16:12:49 UTC, Andrei
Alexandrescu wrote:
Following https://github.com/dlang/dlang.org/pull/1532, the
new-style docs now also allow editing and running examples.
Start at http://dlang.org/library-prerelease/
On Thursday, 16 February 2017 at 17:49:07 UTC, John Colvin wrote:
For some reason it doesn't seem to be on the website, but the
source is here to read:
https://github.com/dlang/druntime/blob/master/src/core/sys/posix/stdlib.d
Use the Source, Luke!
On Friday, 17 February 2017 at 11:40:35 UTC, Jonathan M Davis
wrote:
Well, there's a _long_ history of it being called rename on
POSIX systems, and since the D function is a simple wrapper
around rename, it makes sense that it's called rename, much as
I agree that the name isn't the best for
On Friday, 17 February 2017 at 01:29:48 UTC, Guillaume Piolat
wrote:
For macOS, the prospect of not having to use XCode is rather a
positive :)
Really? I find XCode 8 to do most of what I need. Refactoring is
somewhat limited, but otherwise it works fine.
On Wednesday, 15 February 2017 at 19:56:31 UTC, berni wrote:
On Wednesday, 15 February 2017 at 16:11:36 UTC, drug wrote:
No, you recursively call main() and get segfault (due to stack
overflow) as expected
I thought, that an stack overflow leeds to an exception. But
that's not true, as I now
On Friday, February 17, 2017 11:00:30 Chris via Digitalmars-d-learn wrote:
> On Thursday, 16 February 2017 at 17:06:30 UTC, Jonathan M Davis
>
> wrote:
> > Well, there's zero difference between renaming the file or
> > directory and moving it. It's simply a difference in name.
> > rename actually
On Friday, 17 February 2017 at 04:09:14 UTC, timotheecour wrote:
* with(module_!"std.foo") is useful for scoping imports to
cover several declarations and being DRY; at the expense of
adding indentation/nesting and less nice syntax
Doesn't add indentation:
with (module_!"std.stdio,
On Thursday, 16 February 2017 at 17:06:30 UTC, Jonathan M Davis
wrote:
Well, there's zero difference between renaming the file or
directory and moving it. It's simply a difference in name.
rename actually comes from POSIX, where rename is used in C
code, and mv is used in the shell. So, I
On Friday, February 17, 2017 08:48:03 Kagamin via Digitalmars-d-learn wrote:
> On Thursday, 16 February 2017 at 17:06:30 UTC, Jonathan M Davis
>
> wrote:
> > Well, there's zero difference between renaming the file or
> > directory and moving it. It's simply a difference in name.
>
> Isn't there a
I am not sure about it.
On Thursday, 16 February 2017 at 17:06:30 UTC, Jonathan M Davis
wrote:
Well, there's zero difference between renaming the file or
directory and moving it. It's simply a difference in name.
Isn't there a difference?
I though
move("/path/dir1","dir2") moves folder to current directory and
On Thursday, 16 February 2017 at 21:05:51 UTC, Stefan Koch wrote:
[...]
I hope this thread is informative and will continue to be that
way.
Cheers,
Stefan (aka UplinkCoder)
Yes, it is!
On Friday, 17 February 2017 at 05:06:20 UTC, Seb wrote:
Short follow-up: this is now live for the released
documentation pages. Enjoy!
Please make a post on Reddit!
I firmly believe that this puts D at the top of programming
language docs. We should advertise!
Walter Bright wrote:
Something is going on with your newsreader client. It's replies break
the thread.
ooops. created the content, but forgot to actually send it. ;-)
Walter Bright wrote:
Something is going on with your newsreader client. It's replies break
the thread.
i honestly don't know what is wrong there. i creating "In-Reply-To:"
field, and DFeed is able to correctly link my posts (see web
interface), and my own reader correctly links 'em too.
65 matches
Mail list logo