properly -> probably
Awesome, properly tedious, work.
Thank you
On Wednesday, 21 October 2020 at 17:58:53 UTC, Sönke Ludwig wrote:
The thing is just that I don't think it is possible to find a
set of rules that always work. There will always be something
that should "obviously" be flagged as a breaking change and
something that is extremely annoying to be
On Wednesday, 21 October 2020 at 17:55:00 UTC, Sönke Ludwig wrote:
0.x.y vs. 1+.x.y is about the development process/state. Quite
often a design is not yet fully fleshed out in the beginning
and there are many incremental changes to the API. If 0.x.y
didn't exist, that would simply mean that
On Wednesday, 21 October 2020 at 15:27:46 UTC, Sönke Ludwig wrote:
To really get it correct properly most of dmd is needed anyway.
But this might a good first step to get out under the 0.x.x rug
we are currently in
and a lot closer to actual meaning in the semver of a lib on
code.dlang.org
On Wednesday, 21 October 2020 at 15:27:46 UTC, Sönke Ludwig wrote:
However, I definitely don't see this as a potential feature of
the registry in the sense that it automatically creates new
versions for all packages.
That is why I said in an ideal world and baby steps.
Also, dsemver does
https://code.dlang.org/packages/dsemver
is a program that computes the next SemVer for your dlang package.
It uses a slightly modified SemVer definition.
It does this by using the -X flag for dmd to get a json file of
the symbols
and then compares them to the most recent git tag that
On Friday, 20 December 2019 at 21:26:00 UTC, Andre Pany wrote:
In the new iX (1 Januar 2020) there is also a Leserbrief for
the article;)
Kind regards
André
I assume you wrote it? As I think the Jan. issue isn't out yet.
I hope you are not destroying the article too hard ;-)
After working some with Angular and ngrx/store I really came to
like the redux pattern.
Unfortunately, I couldn't find a package on code.dlang.org that
filled that spot when coming back to D.
So I build my own.
It is called reduxed.
If you're interested you can find reduxed here
I think https://issues.dlang.org/show_bug.cgi?id=18047 is also
fixed in 2.078.
It was fixed in https://github.com/dlang/phobos/pull/5911, but it
is not shown in the changelog.
https://issues.dlang.org/show_bug.cgi?id=17459 was also fixed in
the same PR and
it is shown in the changelog.
Could
On Wednesday, 29 November 2017 at 21:40:13 UTC, Jonathan M Davis
wrote:
It was my understanding that there were still problems with its
design that Robert wanted to fix, but I don't know where any of
that stands. But certainly, I don't think that it makes sense
to push forward with trying to
On Wednesday, 29 November 2017 at 21:14:57 UTC, Claude wrote:
...
Did I miss anything?
to write a bugzilla issue about it
On Wednesday, 29 November 2017 at 19:48:44 UTC, Nathan S. wrote:
Considering that one of those issues is that the logger outputs
garbage when given a wstring or a dstring, I would not take
this as an indication that it's time to "graduate" the logger
from experimental.
That was fixed at
On Tuesday, 1 August 2017 at 17:46:57 UTC, H. S. Teoh wrote:
I think UDA-driven configuration parsing is ultimately the
right direction to go. And by that I mean more than just
command-line parsing, but the parsing of configuration
parameters in general, including command-line options,
args.d is a command line argument and config file parser.
The basic idea of args.d is that that command line options and
config file options are basically the same or should be.
The configuration options are build from UDA annotated structs
that can be nested.
The package can be used with dub
On Friday, 2 June 2017 at 18:51:24 UTC, Andrei Alexandrescu wrote:
That's indeed worth it. Robert, we discussed first deploying
the library and a driver for dmd/druntime/phobos on dub, is
this your plan? Thanks! -- Andrei
I think a practical approach is to create another dub project
that
On Friday, 2 June 2017 at 18:49:49 UTC, Jack Stouffer wrote:
And reject out of hand any PR which reduces performance in
order to "ratchet" performance over time.
I would also do this to a lesser degree to DMD as well.
I think being binary about it is the wrong approach.
Lets say we fix a
On Thursday, 1 June 2017 at 21:08:43 UTC, Robert burner Schadek
wrote:
they do not cover performance regressions. That is bad, we are
basically, currently just hoping that performance diminishes.
diminishes -> does not diminishes
At this years DConf I gave a very short overview of the
benchmarking library I'm working on [1]. The source can be found
here [2]
The general idea goes as following.
Unit tests in D help us to find bugs and avoid regressions, but
they do not cover performance regressions. That is bad, we are
checkedint got voted in. With 2 Yes and 2 yes with remarks.
I will set the autotester to merge.
Thank you @andralex for the hard work.
Nice idea, but didn't work either. Just got more errors. And my
eyes hurt now.
I have this program that used to compile with 72 but with 73 dmd
is complaining that
"Error: escaping reference to local variable t"
auto ref f2(T)(auto ref T t, auto ref T s) {
return t;
}
auto ref f1(T)(auto ref T t, auto ref T s) {
return f2(t, s);
}
unittest {
int
On Friday, 13 January 2017 at 12:49:53 UTC, deadalnix wrote:
Is the doc available somewhere in a readable form ?
CyberShadow/DAutoTest build the docs, you can find the link at
the end of the PR under checks
http://forum.dlang.org/post/wgsguzbgrcejptuxf...@forum.dlang.org
This is the voting thread to decide if the proposed addition to
Phobos, std.experimental.checkedint, should be accepted.
To vote, please respond to this post. You have three options:
* Yes
* Yes with a single condition
* No
If you vote "yes" you can still mention something you'd like
The review is over, there has been one comment on github "build
error with DAutoTest:". It has been fixed.
If there are no comments until 2017-01-12 and Andrei agrees I
will put checkedint to a vote.
On Thursday, 5 January 2017 at 02:57:40 UTC, Jack Stouffer wrote:
You were the one who told me about it:
https://github.com/dlang/phobos/pull/1500#issuecomment-155457980
I totally forgot about that, I guess I need to start to write
things down. Sorry for the noise.
On Wednesday, 4 January 2017 at 19:33:13 UTC, Jack Stouffer wrote:
Promotion of std.logger has been officially stalled until
reference counted strings are part of D.
When? That is the first I hear about that.
The ugly way is to create a @trusted function/lambda that coverts
the threadId to a string.
Not sure about the pretty way.
**2017-01-05 (AoE)** of course
http://forum.dlang.org/post/mnounbaobgphbmanf...@forum.dlang.org
It is time to formally review Andrei's checkedint.
Checkedint is a wrapper for integer types that allows to run code
on over/underflows, define NaN like init states and more.
The PR can be found here:
https://github.com/dlang/phobos/pull/4613
The dub package can be found here: (1)
On 2016-12-14 14:26, Dominikus Dittes Scherkl via Digitalmars-d wrote:
> On Tuesday, 13 December 2016 at 22:33:24 UTC, Andrei Alexandrescu wrote:
>> Destroy.
>>
>> https://github.com/dlang/DIPs/pull/51/files
>
> Why not leave it as it is and only change the compiler to
> perform inputs _within_ a
I really like that solution. +1
Not that I know of, https://github.com/dlang/phobos/pull/4399. I
think std.parallelism was designed around a D feature that was
more a bug than a feature. This bug/feature seamed to be fixed
some years ago. But I'm not 100%, as this was before my time.
On Friday, 11 November 2016 at 09:43:51 UTC, Jacob Marek wrote:
Hi! so I'm probably being dumb here however I'm having an issue
getting readf and readln to work properly. It seems to be
superseding the rest of my code. Allow me to explain. No matter
where I put the readf/readln function it
I used text files and LaTeX in the past, it works with everything
textfile -> process -> LaTeX -> pdf
On Tuesday, 8 November 2016 at 01:50:26 UTC, Walter Bright wrote:
You don't. The exception is also rethrown, so it isn't an exact
replacement. (The 'nothrow' is a mistake on my part.)
this:
scope(failure, Exception e) {
// Do something with e
}
would be nice
On Tuesday, 8 November 2016 at 00:12:09 UTC, Robert burner
Schadek wrote:
Who to get the Exception thrown in the scope(failure)
Who to --> How do you ...
On Monday, 7 November 2016 at 23:37:18 UTC, Walter Bright wrote:
void callback() nothrow
{
scope (failure)
{
...log error or abort...
}
...lots of code...
}
Who to get the Exception thrown in the scope(failure)
the backend/view for it:
https://github.com/kamon-io/docker-grafana-graphite
On Tuesday, 11 October 2016 at 12:47:55 UTC, Atila Neves wrote:
I didn't even know that this existed, and I have a feeling that
soon I'll wonder how I lived without it. Awesome!
I had the exact same feeling
http://code.dlang.org/packages/dstatsd
StatsD allows to collect statistics about any application by
using counters, gauges and more through UDP.
Usage:
auto s = new StatsD("127.0.0.1", 1234, ""); // connect to statsd
server
s(Counter("Foo")); // increment counter "Foo"
s.inc("Bar"); //
Is anybody working on a falcor-router [1] written in D?
[1] https://github.com/Netflix/falcor
Who is your review manager?
The last commit to https://github.com/andralex/checkedint was 21
days ago? Something is off! Or was the last change to checkedint
21 days ago?
They also have kanban style project management stuff now.
I would really like to see anything (bugzilla, trello) moved to
github.
could you please update the dub package
Awesome Job
what about two types.
alias BI = Bound!int;
alias CBI = CheckedInt!BI;
if Bound behaves as an integer people can choose.
Lets move that back to https://github.com/dlang/phobos/pull/2995
On Monday, 22 August 2016 at 06:44:11 UTC, Jacob Carlborg wrote:
It would be nice to have the whole picture now, before
implementing DIP1000. Then it's possible to review them
together, making sure the end goal is actual possible to
achieve. Now we just have to trust Andrei and Walter that all
On Wednesday, 17 August 2016 at 07:48:02 UTC, kookman wrote:
I was interested low(er) cost logging and stumbled across a
proposal by Max Klimov from about 16 months ago to add an
AsyncLogger to std.experimental.logger (ref
http://forum.dlang.org/thread/lcsjtxorbbagmbvbl...@forum.dlang.org).
public final void foo() scope inout @nogc nothrow @safe pure {}
I think the solution is to turn every function into a no-args
template, but then you can't use virtual methods.
** sarcasm on **
Don't say that, you give them ideas ;-)
** sarcasm off **
On Friday, 12 August 2016 at 14:02:50 UTC, Chris Wright wrote:
In the worst case, you can change the API so you can write:
rcs.update("bar", (x) { x.a = 1337; x.b = 1338; });
yes, but that will not catch on. And I think (x) must be (scope
ref x)
No, the DIP doesn't handle several levels of indirection.
What about:
struct Bar { int a; int b }
auto rcs = RefCountedTree!(string,Bar)();
fcs["bar"].a = 1337; // log n
fcs["bar"].b = 1338; // log n
? I need to pay log n twice to assign two members
On Thursday, 11 August 2016 at 22:00:06 UTC, Walter Bright wrote:
On 8/11/2016 4:46 AM, Robert burner Schadek wrote:
Can I do this:
```
struct Foo { int a; }
auto rcs = RefCountedSlice!Foo(); // assume rcs.length > 0
scope Foo zero = rcs[0];
zero.a = 1337;
assert(rcs[0].a == 1337);
```
No,
Can I do this:
```
struct Foo { int a; }
auto rcs = RefCountedSlice!Foo(); // assume rcs.length > 0
scope Foo zero = rcs[0];
zero.a = 1337;
assert(rcs[0].a == 1337);
```
with the DIP. I could find it.
Ok, I disagree, but there is no way that I can proof to be right.
You can also not proof that you're right, so I'll trust your
judgement.
On Thursday, 11 August 2016 at 09:45:07 UTC, Martin Nowak wrote:
It's already clear that we need much better escape analysis and
guards for safe reference counting.
There isn't any open question that this is the necessary
enabler for more RC and less GC.
How do you know? Is there a sketch for
```
void foo() {
int c;
int* e;
e = // Error, lifetime(e's view) is and is
greater than lifetime(c)
}
```
The DIP should make clear that this is wanted for a container
library.
Additionally, I miss how this DIP fits in the overall plan of
getting rid of the GC. As
On Wednesday, 3 August 2016 at 09:04:30 UTC, Jacob Carlborg wrote:
Another question. I see that there are a couple of different
lexers available. Can those be exposed with the same
interface/type instead of using different types? Perhaps based
on the input type.
Well, currently you have to
On Friday, 29 July 2016 at 11:30:20 UTC, Stefan Koch wrote:
please share your thoughts.
When is this moving into dmd master?
A perfect example for an item for your action list.
** RANT ON **
A perfect example for an item for your action list.
And it pretty much looks like the syntax the wiki is using
already.
I bet you a drink at next years DConf that it will take you at
least 10 minutes to find and reread this thread next time you
create a vision document just to
On Friday, 8 July 2016 at 18:04:16 UTC, Andrei Alexandrescu wrote:
It seems to me six months is a sweet spot. Large companies such
as Google and Facebook also use a six-months horizon because
it's long enough to avoid micromanagement hysteria and short
enough to be verifiable and accountable.
On Thursday, 7 July 2016 at 20:44:05 UTC, Andrei Alexandrescu
wrote:
On 7/7/16 3:55 PM, Andrei Alexandrescu wrote:
https://wiki.dlang.org/Vision/2016H2 -- Andrei
In the next pass I will integrate Walter_Andrei_Action_List
I'm quite underwhelmed by the Vision Document (VD). I think that
is
IMO, this is one of these places where theory meets practice. Do
what works, write a comment explaining the problem, and move on
;-)
On Monday, 27 June 2016 at 19:33:45 UTC, Walter Bright wrote:
Sorry to have offended you, I worded things badly. Thank you
for making the list. It's just that I'm feeling a bit
overwhelmed at the moment with trying to get things done and
being asked to do more every day, and I'd like to
Awesome, releases are becoming more and more boring. I like it!
On Sunday, 26 June 2016 at 22:38:54 UTC, Walter Bright wrote:
It's a wiki, feel free to add it.
I have to say that reply really makes me angry. I created that
list so Andrei and you have an easy to find spot where you can
write down tasks so people can work on them. You did not disagree
On Sunday, 26 June 2016 at 16:03:57 UTC, Andrei Alexandrescu
wrote:
like. Default to NaN or throwing Exceptions.
That is a side discussion as trivial as deciding the defaul
second argument for Checked(T, Hook = DefaultHook).
Fair enough.
I was looking into creating a NaN Hook. I could
It would be awesome if you would create that process model in the
wiki and at it to your action list
http://wiki.dlang.org/Walter_Andrei_Action_List#Walter_and_Andrei.27s_Action_List
So it does not get lost and people can find it.
On Saturday, 25 June 2016 at 21:32:00 UTC, Andrei Alexandrescu
wrote:
So it stands to reason that if you want to design a checked
integral types offering a variety of checking policies, one
point in the design space that needs to be attainable is "no
checks at all". Then the syntactic shell
On Friday, 24 June 2016 at 21:31:14 UTC, Andrei Alexandrescu
wrote:
By default, if Hook has no state and implements none of these
methods, e.g. is void, then Checked!(int, void) is a
user-defined type that mimics the behavior of int to the
maximum extent possible.
I think there is a major
On Sunday, 19 June 2016 at 18:51:09 UTC, Jack Stouffer wrote:
I would like to try this out on my date parsing library, but I
don't see a way to generate strings of a specific format.
take a look at
https://github.com/dlang/phobos/pull/2995/files#diff-1a5f159e09980950bb9931ac674cbf40R358
Thank you Seb for taking over the review management.
Some additional feature for the proposed module is.
* Simple way to create test data for user defined types
* Benchmark data is stored into csv file for comparing the
benchmark results between runs
* Standalone tool to create gnuplot graphs
I created this: https://wiki.dlang.org/Walter_Andrei_Action_List
And PR's to dmd, druntime, and phobos' README.md that points to
it.
If you could keep that list up to date, would be really hopeful
IMO.
https://github.com/dlang/druntime/pull/1597
https://github.com/dlang/dmd/pull/5874
Ok, where is this list? And where is list for phobos?
Sure, some people are a allowed to pull stuff into phobos. But
only stuff that does not introduce new names and Andrei does not
veto.
Of course you can not appoint people, but you should have an idea
who you think is sharing your overall
What you said is true, but IMO you're missing the point.
IMO the current D Process is just backward. Having people working
on stuff openly, with intend for phobos inclusion, for a lot of
months and that putting it up for review clearly does not work.
And if you and/or Andrei at that point say
In two weeks I will talk to tsbockmann how much time he needs to
work in all comments.
After he is done I will start the formal review phase.
p.s.
@everybody please take an interest. This module can give D
another strategic advantage over our competition.
http://forum.dlang.org/post/jxaisipbdqfifpncn...@forum.dlang.org
As with many other languages (C, C++, Java, etc.), D's built-in
integer data types are quite difficult to use correctly.
It is tempting to think of int, for example, as if it were an
actual mathematical integer. Doing so, however leads to buggy
code due to unintuitive behaviour like:
*
On Thursday, 26 May 2016 at 09:42:59 UTC, Atila Neves wrote:
Internal, and not really a mock. I used a range as an example -
anything with an accompanying interface would be supported.
I see, I thought as much
What's wrong with dmocks revived (I've never used it)? I'm not
afraid of classes,
+1 having a look at AutoImplement
For testing ranges, I usually use
https://github.com/dlang/phobos/blob/master/std/internal/test/dummyrange.d
even though its internal ;-)
anyway, more and better testing always good.
p.s. I think at some point we have to build some (the perfect)
mocking
what about Singapore.
* pretty easy to travel to from all over the world
* english speaking
awesome news :-) thanks you
On Monday, 9 May 2016 at 09:10:19 UTC, Walter Bright wrote:
So, should the compiler emit a warning for the former case?
I'm not for a compiler change. IMO a library called
std.sanity_float with a equal and a notequal function would be
better.
On Friday, 6 May 2016 at 09:00:24 UTC, Dicebot wrote:
Deprecated modules don't get bugfixes. It
is quite important to put it into undead the same moment it gets
deprecated because there is no real replacement available so
existing
projects must have a clean migration path to keep working.
On Friday, 6 May 2016 at 08:43:09 UTC, Johannes Pfau wrote:
Wouldn't it make sense to do 3.1 right now so people can switch
earlier?
Then every bugfix to curl needs to be put in two repos. And the
idea is that people have two years to find a better solution. So
hopefully when we put curl in
As discussed yesterday at DConf, curl in phobos must go.
The plan is as follows.
1. undocument everything curl related in may 2016
2. deprecate everything curl related in may 2017
3. delete everything curl related in may 2018
3.1 move curl stuff to undead
PR:
On Wednesday, 27 April 2016 at 18:36:54 UTC, Andrei Alexandrescu
wrote:
The folks at Sociomantic suggested to start at 10:00 AM instead
of 9:00 AM, therefore shifting the end time by one as well.
Please reply with thoughts on this! We're particularly
concerned about folks who need to take off
On Tuesday, 15 March 2016 at 09:08:11 UTC, Nordlöw wrote:
On Monday, 14 March 2016 at 19:08:18 UTC, Robert burner Schadek
wrote:
have a look at this!
https://github.com/biozic/quantities
Could you briefly outline why you prefer this over David's work?
- has been in code.dlang.org since
have a look at this!
https://github.com/biozic/quantities
On Friday, 11 March 2016 at 14:26:34 UTC, Atila Neves wrote:
Didn't Robert have a QuickCheck-alike as well?
Yes, https://github.com/D-Programming-Language/phobos/pull/2995
On Wednesday, 9 March 2016 at 12:58:24 UTC, Andrei Alexandrescu
wrote:
Next on my coding agenda is rcstring.
I thought you were working on the container, or has [1]
established itself as pseudo standard.
About rcstring, I have [2] which works for what I need for. I
plan to extend it some
On Saturday, 5 March 2016 at 15:20:12 UTC, Craig Dillabaugh wrote:
Robert, we have had some student interest in GSOC for XML.
Would you be interested in mentoring a student to work with you
on this.
Craig
Of course
On Thursday, 18 February 2016 at 15:39:01 UTC, Robert burner
Schadek wrote:
On Thursday, 18 February 2016 at 12:30:29 UTC, Andrei
Alexandrescu wrote:
Would the measuring be possible with 2995 as a dub package? --
Andrei
yes, after have synced the dub package to the PR
brought the dub
On Friday, 19 February 2016 at 12:55:52 UTC, Kagamin wrote:
http://dpaste.dzfl.pl/2f8a8ff10bde like this?
yes
On 2016-02-19 11:58, Kagamin via Digitalmars-d wrote:
> On Thursday, 18 February 2016 at 16:56:08 UTC, Robert burner Schadek
> wrote:
>> the hex dump is "3C 66 6F 6F 3E C2 80 3C 2F 66 6F 6F 3E"
>
> http://dpaste.dzfl.pl/80888ed31958 like this?
No, The program just takes the hex dump as string.
1 - 100 of 417 matches
Mail list logo