https://issues.dlang.org/show_bug.cgi?id=19091
--- Comment #1 from FeepingCreature ---
Note that __traits(compiles) evaluates to true?!
--
On Tuesday, 17 July 2018 at 07:27:32 UTC, Jacob Carlborg wrote:
On Tuesday, 17 July 2018 at 00:04:12 UTC, Andrei Alexandrescu
wrote:
Then "negative" :o). In brief @implicit follows the same
implementation as @safe and @nogc/
Why? This is a breaking change. Why not go with an approach
that
So we managed to revive the rcstring project and it's already a
PR for Phobos:
https://github.com/dlang/phobos/pull/6631 (still WIP though)
The current approach in short:
- uses the new @nogc, @safe and nothrow Array from the
collections library (check Eduardo's DConf18 talk)
- uses
On Tuesday, 17 July 2018 at 06:57:37 UTC, drug wrote:
I just build it using dub then do something like that(from
memory):
`d++ some_c_header.h --include-path
path/to/other/c/header/files --keep-d-files` and it generates d
file for the corresponding c header. Although dpp is intended
to be
https://issues.dlang.org/show_bug.cgi?id=15206
Stingertough changed:
What|Removed |Added
CC||wolfsp...@gmail.com
--
On Thursday, 12 July 2018 at 10:24:40 UTC, Shachar Shemesh wrote:
On 29/06/18 15:35, aliak wrote:
On Wednesday, 27 June 2018 at 07:24:05 UTC, Mike Parker wrote:
On Wednesday, 27 June 2018 at 07:13:14 UTC, Mike Parker wrote:
Thanks in advance for your participation.
For those of you using
On Friday, 13 July 2018 at 18:37:35 UTC, vino.B wrote:
Hi All,
How do i check whether a range is empty. eg.
(!PFResutl.toRange).empty. I tired the below, but it is no
printing Empty if the range is empty it just prints blank line.
if (!(!PFResutl.toRange).empty) { writeln("Empty"); }
On Tuesday, 17 July 2018 at 13:59:45 UTC, Gary Willoughby wrote:
I thought every range at the lowest level has an `empty`
property. So, in this case, it would be:
if (PFResutl.toRange.empty)
{
writeln("Empty");
}
Yeah, but it seems, that PFResutl is a range of ranges, and the
OP has the
Amazon has a nonprofit arm:
https://smile.amazon.com
Go there and choose The D Language Foundation as your charity of choice,
then shop normally through smile.amazon.com. A fraction of your
expenditure will go to the Foundation.
Thanks,
Andrei
Amazon has a nonprofit arm:
https://smile.amazon.com
Go there and choose The D Language Foundation as your charity of choice,
then shop normally through smile.amazon.com. A fraction of your
expenditure will go to the Foundation.
Thanks,
Andrei
On 7/16/18 8:57 PM, docandrew wrote:
I think in this case, a more obscure name like @copyctor is more
descriptive.
On the contrary, it is redundant and uninformative. It applies to
exactly a constructor that copies, so it adds no information.
"@implicit" describes precisely what the
On Tuesday, 17 July 2018 at 14:41:06 UTC, ag0aep6g wrote:
On 07/17/2018 03:03 PM, aliak00 wrote:
[...]
In a UDA `@implicit`, `implicit` is just a normal symbol. So
the normal lookup rules apply. In particular, you can shadow an
imported `implicit` with a local one:
[...]
Ah, gotcha!
https://issues.dlang.org/show_bug.cgi?id=19091
Issue ID: 19091
Summary: __traits(compiles) and error in templated structs
leads to missing symbol
Product: D
Version: D2
Hardware: x86_64
OS: Linux
On Saturday, 14 July 2018 at 00:57:14 UTC, Andrei Alexandrescu
wrote:
[...]
chucklesomely profligate and ridiculously baroque.
Andrei
Hahaha this sentence... amazing! :D
I was going to propose auto this(ref A other) {} but nevermind :p
Cheers,
- Ali
On Monday, 16 July 2018 at 18:16:45 UTC, ag0aep6g wrote:
On 07/16/2018 11:30 AM, zhani wrote:
[...]
Try this:
import std.stdio: writeln;
import std.exception: enforce;
import core.sys.windows.windows: CP_UTF8, SetConsoleOutputCP;
void main()
{
SetConsoleOutputCP(CP_UTF8).enforce;
https://issues.dlang.org/show_bug.cgi?id=19082
Seb changed:
What|Removed |Added
Severity|enhancement |major
--
On Tuesday, 17 July 2018 at 04:04:33 UTC, Manu wrote:
On Mon., 16 Jul. 2018, 6:00 pm docandrew via Digitalmars-d, <
digitalmars-d@puremagic.com> wrote:
On Saturday, 14 July 2018 at 10:53:17 UTC, Andrei Alexandrescu
wrote:
> On 7/14/18 5:03 AM, Luís Marques wrote:
>> If there is "no other
https://issues.dlang.org/show_bug.cgi?id=19055
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/841ca3433340b4129dda9bb879720f3c810e93f1
Issue 19055 - [404 Not Found] std.digest.digest
https://issues.dlang.org/show_bug.cgi?id=19082
--- Comment #6 from Seb ---
Oh I see.
This should fix it: https://github.com/dlang/phobos/pull/6636
--
Thanks, Dave, for the good points.
All: please refrain from commenting on the mental disposition of
community members publicly.
Thanks,
Andrei
On 7/17/18 12:04 AM, Manu wrote:
But that's the point, and the key advantage of the name ;)
[:nod:]
On Saturday, 14 July 2018 at 10:53:17 UTC, Andrei Alexandrescu
wrote:
I think it's better to choose a more general attribute name
with reduced initial applicability. Then application of said
attribute can be extended to other functions with ease. In
contrast, an obscure attribute name is sure
On 07/17/2018 03:03 PM, aliak00 wrote:
Can you explain a bit more here? How does having implicit as a compiler
recognized UDA avoid breaking changes as opposed to it being implemented
like @nogc/@safe (how are those implemented differently anyway?)
In a UDA `@implicit`, `implicit` is just a
On Tuesday, 17 July 2018 at 15:39:39 UTC, Zheng (Vic) Luo wrote:
Hi,
I built a simple program with dmd a.d and tried to observe
symbols with nm --demangle=dlang ./a. However, I can observe
that only part of the symbols (e.g., std.stdio.File.size()) are
demangled, while others remain in their
On Tuesday, 17 July 2018 at 15:55:03 UTC, bachmeier wrote:
On Tuesday, 17 July 2018 at 06:57:37 UTC, drug wrote:
[...]
I'm going to create an issue on Github. This is the output I
get:
[...]
I solved that problem but now I have others. dpp is a good thing
on paper but maybe not yet in
I then tried with ldc2, which on Debian Sid in 1.8.0 :-(
|> dub build --compiler=ldc2
Performing "debug" build using ldc2 for x86_64.
taggedalgebraic 0.10.11: building configuration "library"...
eventcore 0.8.35: building configuration "epoll"...
stdx-allocator 2.77.2: building configuration
On Tuesday, July 17, 2018 15:21:30 Seb via Digitalmars-d wrote:
> So we managed to revive the rcstring project and it's already a
> PR for Phobos:
>
> https://github.com/dlang/phobos/pull/6631 (still WIP though)
>
> The current approach in short:
>
> - uses the new @nogc, @safe and nothrow Array
Hi,
Hopefully, people are preparing their submissions for this CVu Code
Critique. I am writing one as we speak, but as I know absolutely SFA
about Vibe.d I am sure it will be as crap as the code below. ACCU
members would I suspect like to have some constructive material on
using D for Web
On Tuesday, 17 July 2018 at 15:21:30 UTC, Seb wrote:
So we managed to revive the rcstring project and it's already a
PR for Phobos:
[snip]
I'm glad this is getting worked on. It feels like something that
D has been working towards for a while.
Unfortunately, I haven't (yet) watched the
On Tue, 2018-07-17 at 18:49 +, kinke via Digitalmars-d wrote:
> On Tuesday, 17 July 2018 at 18:31:18 UTC, Russel Winder wrote:
> > This would seem to imply that you can't use Vibe.d 0.8.4 with
> > DMD 2.081.0.
>
> I think that regression was the main reason for early 2.081.1.
Ah, OK. I'll
On Tuesday, 17 July 2018 at 09:08:03 UTC, Dave Jones wrote:
On Monday, 16 July 2018 at 16:20:24 UTC, Mr.Bingo wrote:
On Tuesday, 3 July 2018 at 07:31:46 UTC, Nick Sabalausky
(Abscissa) wrote:
On 07/01/2018 05:34 AM, ag0aep6g wrote:
On 07/01/2018 08:00 AM, Ali Çehreli wrote:
Apparent from
On Tuesday, July 17, 2018 17:28:19 Seb via Digitalmars-d wrote:
> On Tuesday, 17 July 2018 at 16:58:37 UTC, Jonathan M Davis wrote:
> > On Tuesday, July 17, 2018 15:21:30 Seb via Digitalmars-d wrote:
> >> [...]
> >
> > If it's not a range by default, why would you expect _anything_
> > which
As we know, when opCmp is defined for a user type, then opEquals must
also be defined in order for == to work, even though in theory the
compiler could translate x==y into x.opCmp(y)==0.
In the past, it was argued that this was so that partial orders could be
made to work, i.e., it could be the
On Tuesday, 17 July 2018 at 11:10:07 UTC, Suliman wrote:
On Tuesday, 17 July 2018 at 09:27:26 UTC, Brian wrote:
Hello, hunt framework fix bugs version release.
Major updates:
1. Add simplify functions
2. You can use createUrl() to create link url from
module.controller.action
3. support
On Tuesday, 17 July 2018 at 18:31:18 UTC, Russel Winder wrote:
This would seem to imply that you can't use Vibe.d 0.8.4 with
DMD 2.081.0.
I think that regression was the main reason for early 2.081.1.
Hi,
I set up the CVu Code Critique 112 code in a cannical D project with a
minimal dub.sdl file.
name "server"
description "A sample server using vibe.d for CVu Code Critique 112"
dependency "vibe-d" version="*"
I am on Debian Sid with Dub and DMD from d-apt (so Dub 1.1.0.0 and DMD
2.081.0) and
On Friday, 13 July 2018 at 12:31:41 UTC, Atila Neves wrote:
On Friday, 13 July 2018 at 03:01:25 UTC, Manu wrote:
On Thu, 12 Jul 2018 at 19:15, Andrei Alexandrescu via
Digitalmars-d wrote:
On 7/12/18 6:34 PM, Manu wrote:
> On Thu, 12 Jul 2018 at 06:50, Andrei Alexandrescu via
> Digitalmars-d
On Tuesday, 17 July 2018 at 16:58:37 UTC, Jonathan M Davis wrote:
On Tuesday, July 17, 2018 15:21:30 Seb via Digitalmars-d wrote:
[...]
If it's not a range by default, why would you expect _anything_
which operates on ranges to work with rcstring directly? IMHO,
if it's not a range, then
On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D
Language Foundation is happy to announce the Symmetry Autumn of
Code!
We're looking for three university students to hack on D this
autumn, from September - January. We're
On 2018-07-17 17:21, Seb wrote:
- _no_ range by default (it needs an explicit `.by!{d,w,}char`) (as in
no auto-decoding by default)
What do you think about this approach? Do you have a better idea?
I vote for .by!char to be the default.
--
/Jacob Carlborg
On Tuesday, 17 July 2018 at 17:47:57 UTC, Mr.Bingo wrote:
On Tuesday, 17 July 2018 at 09:08:03 UTC, Dave Jones wrote:
On Monday, 16 July 2018 at 16:20:24 UTC, Mr.Bingo wrote:
On Tuesday, 3 July 2018 at 07:31:46 UTC, Nick Sabalausky
I see we have the resident genius on hand. Yes, anything
I have also faced this same issue. But I couldn't recover from
it. One of my friends suggests me to contact
https://applesupportnumber.net/apple-customer-support/ for help.
AS he said I contact them and they solved my issue. You should
also try them.
On Tuesday, 17 July 2018 at 16:39:48 UTC, bachmeier wrote:
On Tuesday, 17 July 2018 at 15:55:03 UTC, bachmeier wrote:
On Tuesday, 17 July 2018 at 06:57:37 UTC, drug wrote:
[...]
I'm going to create an issue on Github. This is the output I
get:
[...]
I solved that problem but now I have
On Tuesday, 17 July 2018 at 18:21:26 UTC, H. S. Teoh wrote:
As we know, when opCmp is defined for a user type, then
opEquals must also be defined in order for == to work, even
though in theory the compiler could translate x==y into
x.opCmp(y)==0.
In the past, it was argued that this was so
On Tuesday, 17 July 2018 at 17:36:12 UTC, Ecstatic Coder wrote:
I'd suggest adding the following to SAOC 2018 project proposals
:
[snip]
Things on my wishlist:
Improved REPL support (esp Windows)
Jupyter kernel for D (someone might be working on this)
Very smooth integration between
On Tuesday, 17 July 2018 at 19:39:32 UTC, Russel Winder wrote:
It seems that the LDC 1.11 branch in the GitHub repository has
the DMD 2.081.0 problem.
If you're referring to branch merge-2.081, that one doesn't exist
anymore. master/beta2 are based on 2.081.1+ and should thus be
fixed.
On Tue, 2018-07-17 at 20:23 +0100, Russel Winder wrote:
> On Tue, 2018-07-17 at 18:49 +, kinke via Digitalmars-d wrote:
> > On Tuesday, 17 July 2018 at 18:31:18 UTC, Russel Winder wrote:
> > > This would seem to imply that you can't use Vibe.d 0.8.4 with
> > > DMD 2.081.0.
> >
> > I think
On Tuesday, 17 July 2018 at 18:55:07 UTC, Russel Winder wrote:
[...]
Missing openssl libs? Try installing openssl-dev package.
On Wednesday, 18 July 2018 at 01:35:11 UTC, Ali wrote:
On Sunday, 15 July 2018 at 19:46:24 UTC, kinke wrote:
Glad to announce the second beta for LDC 1.11.
* Prebuilt packages now using LLVM 6.0.1 and including
additional cross-compilation targets (MIPS, MSP430, RISC-V and
WebAssembly).
*
On Tuesday, 17 July 2018 at 15:21:30 UTC, Seb wrote:
So we managed to revive the rcstring project and it's already a
PR for Phobos:
https://github.com/dlang/phobos/pull/6631 (still WIP though)
The current approach in short:
- uses the new @nogc, @safe and nothrow Array from the
collections
On 18/07/2018 5:41 AM, Jacob Carlborg wrote:
On 2018-07-17 17:21, Seb wrote:
- _no_ range by default (it needs an explicit `.by!{d,w,}char`) (as in
no auto-decoding by default)
What do you think about this approach? Do you have a better idea?
I vote for .by!char to be the default.
I'm
On 18/07/2018 5:36 AM, Ecstatic Coder wrote:
On Saturday, 14 July 2018 at 06:02:37 UTC, Mike Parker wrote:
Thanks to the sponsorship of Symmetry Investments, the D Language
Foundation is happy to announce the Symmetry Autumn of Code!
We're looking for three university students to hack on D
On Sunday, 15 July 2018 at 19:46:24 UTC, kinke wrote:
Glad to announce the second beta for LDC 1.11.
* Prebuilt packages now using LLVM 6.0.1 and including
additional cross-compilation targets (MIPS, MSP430, RISC-V and
WebAssembly).
* Rudimentary support for compiling & linking directly to
On 7/17/18 12:58 PM, Jonathan M Davis wrote:
If it's not a range by default, why would you expect_anything_ which
operates on ranges to work with rcstring directly?
Many functions do not care about the range aspect, but do care about the
string aspect. Consider e.g. chdir.
On Sunday, 15 July 2018 at 19:46:24 UTC, kinke wrote:
* Rudimentary support for compiling & linking directly to
WebAssembly. See the dedicated Wiki page [1] for how to get
started.
This is really awesome! I tried the examples, is there any other
documentation about it currently? I tried
On Tue, 17 Jul 2018 at 10:20, aliak via Digitalmars-d
wrote:
>
> On Friday, 13 July 2018 at 12:31:41 UTC, Atila Neves wrote:
> > On Friday, 13 July 2018 at 03:01:25 UTC, Manu wrote:
> >> On Thu, 12 Jul 2018 at 19:15, Andrei Alexandrescu via
> >> Digitalmars-d wrote:
> >>>
> >>> On 7/12/18 6:34
On 17/07/18 16:29, aliak00 wrote:
A postblit on a class issues a compiler error. And an identity opAssign
on a class also issues a compiler error. So I'm not sure how this would
be different. And the page In
https://dlang.org/spec/operatoroverloading.html also explicitly mentions
...
string key = "blahblahblah";
auto mac = hmac!SHA256(key.representation);
string s = ...,t=...u=...,v=...;
foreach(w;AliasSeq!(s,t,u,v))
mac.put(w.representation);
ubyte[32] s = mac.finish;
string sig = toHexString!(LetterCase.lower)(s);
writeln(sig);
// From what I understand
On Tuesday, July 17, 2018 22:45:33 Andrei Alexandrescu via Digitalmars-d
wrote:
> On 7/17/18 12:58 PM, Jonathan M Davis wrote:
> > If it's not a range by default, why would you expect_anything_ which
> > operates on ranges to work with rcstring directly?
>
> Many functions do not care about the
https://issues.dlang.org/show_bug.cgi?id=19089
ag0aep6g changed:
What|Removed |Added
Keywords||ice
CC|
On Saturday, 14 July 2018 at 16:19:29 UTC, Joakim wrote:
On Friday, 13 July 2018 at 14:20:19 UTC, Mike Parker wrote:
As promised in my tweet of June 30 (and to the handful of
people who emailed me), the cloud of mystery surrounding the
use of the money raised for code-d and its supporting
On Monday, 16 July 2018 at 16:20:24 UTC, Mr.Bingo wrote:
On Tuesday, 3 July 2018 at 07:31:46 UTC, Nick Sabalausky
(Abscissa) wrote:
On 07/01/2018 05:34 AM, ag0aep6g wrote:
On 07/01/2018 08:00 AM, Ali Çehreli wrote:
Apparent from uncharacteristic messages from Dmitry's
account to multiple
https://issues.dlang.org/show_bug.cgi?id=13926
Rainer Schuetze changed:
What|Removed |Added
CC||r.sagita...@gmx.de
--- Comment #1 from
On Monday, 16 July 2018 at 13:13:53 UTC, Timoses wrote:
On Monday, 16 July 2018 at 12:00:57 UTC, Simen Kjærås wrote:
On Monday, 16 July 2018 at 11:43:03 UTC, Timoses wrote:
Why does this fail?
It doesn't. Not using DMD 2.081.1 under Windows, at least. I
tried adding a bitfield since you
16.07.2018 17:32, bachmeier пишет:
On Friday, 13 July 2018 at 19:53:45 UTC, Laeeth Isharc wrote:
On Wednesday, 20 June 2018 at 18:47:10 UTC, Jordi Gutiérrez Hermoso
wrote:
What are your ideas?
If you would like to expose C function and type declarations to D, you
could take a look at DPP,
On Tuesday, 17 July 2018 at 00:04:12 UTC, Andrei Alexandrescu
wrote:
Then "negative" :o). In brief @implicit follows the same
implementation as @safe and @nogc/
Why? This is a breaking change. Why not go with an approach that
does not cause any breaking changes, which is just as easy to do?
On 7/15/18 9:06 AM, John Colvin wrote:
Currently the API's don't support const(void)[], e.g.
import std.experimental.allocator : makeArray, theAllocator, dispose;
import std.experimental.allocator.mallocator : Mallocator;
void main()
{
const a = theAllocator.makeArray!ubyte(100);
On 7/15/18 8:56 AM, vino.B wrote:
On Sunday, 15 July 2018 at 12:18:27 UTC, Steven Schveighoffer wrote:
On 7/15/18 7:45 AM, vino.B wrote:
[...]
I still don't know why you are using chain here as it equates to the
identity function in this instance:
https://issues.dlang.org/show_bug.cgi?id=19082
--- Comment #5 from Mitu ---
(In reply to Seb from comment #4)
> I'm sorry, but I can't reproduce this:
>
> https://run.dlang.io/is/W8BEnJ
> https://run.dlang.io/is/mHxy3W
>
> Have you tried DustMite?
You seem to have forgotten that dub release
https://issues.dlang.org/show_bug.cgi?id=19055
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dlang.org
https://github.com/dlang/dlang.org/commit/0f867b7e39175a5a6a3d8cdb50ed3ad9f46c9227
Fix Issue 19055 - [404 Not Found]
https://issues.dlang.org/show_bug.cgi?id=19055
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=15119
Seb changed:
What|Removed |Added
CC||greeen...@gmail.com
--- Comment #3 from Seb ---
The
https://issues.dlang.org/show_bug.cgi?id=19055
--- Comment #2 from Nicholas Wilson ---
As in on https://dlang.org/phobos/index.html
The "Library overview" panel thing on the left hand side expand "std" go to
digest digest. Alternately look for the link that points to
https://issues.dlang.org/show_bug.cgi?id=19055
--- Comment #3 from Seb ---
I see. Sorry I was looking at the Ddox version.
This is then required:
https://github.com/dlang/phobos/pull/6635
https://github.com/dlang/dlang.org/pull/2421
--
https://issues.dlang.org/show_bug.cgi?id=18720
Seb changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=18991
Seb changed:
What|Removed |Added
CC||greeen...@gmail.com
--- Comment #1 from Seb ---
DMD
https://issues.dlang.org/show_bug.cgi?id=19081
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/89639f2876a72015ef4ade085293deb55c2f459f
Fix issue 19081 - defining enum with UDA at statements level
https://issues.dlang.org/show_bug.cgi?id=19081
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Hi,
I built a simple program with dmd a.d and tried to observe
symbols with nm --demangle=dlang ./a. However, I can observe that
only part of the symbols (e.g., std.stdio.File.size()) are
demangled, while others remain in their original name (e.g.,
_D3std5stdio4File8opAssignMFNfSQBdQBcQzZv).
https://issues.dlang.org/show_bug.cgi?id=19055
Seb changed:
What|Removed |Added
CC||greeen...@gmail.com
--- Comment #1 from Seb ---
https://issues.dlang.org/show_bug.cgi?id=17268
Seb changed:
What|Removed |Added
CC||greeen...@gmail.com
--- Comment #2 from Seb ---
On Friday, 13 July 2018 at 15:05:05 UTC, Michael wrote:
On Friday, 13 July 2018 at 14:20:19 UTC, Mike Parker wrote:
As promised in my tweet of June 30 (and to the handful of
people who emailed me), the cloud of mystery surrounding the
use of the money raised for code-d and its supporting tools
Hello, hunt framework fix bugs version release.
Major updates:
1. Add simplify functions
2. You can use createUrl() to create link url from
module.controller.action
3. support date() / url() function for template engine
4. fix multi-domain use other port
5. use portgresql / mysql / sqlite on
https://issues.dlang.org/show_bug.cgi?id=18791
Seb changed:
What|Removed |Added
CC||greeen...@gmail.com
--
84 matches
Mail list logo