Jump to page: 1 26  
Page
Thread overview
Getting action on your favorite D issues
Jun 05, 2020
Walter Bright
Jun 05, 2020
ag0aep6g
Jun 05, 2020
Walter Bright
Jun 06, 2020
mw
Jun 06, 2020
H. S. Teoh
Jun 06, 2020
Walter Bright
Jun 06, 2020
aberba
Jun 06, 2020
ag0aep6g
Jun 06, 2020
Seb
Jun 06, 2020
aberba
Jun 05, 2020
H. S. Teoh
Jun 06, 2020
TheGag96
Jun 06, 2020
Patrick Schluter
Jun 06, 2020
Stanislav Blinov
Jun 06, 2020
Avrina
Jun 06, 2020
ag0aep6g
Jun 06, 2020
Patrick Schluter
Jun 06, 2020
Avrina
Jun 06, 2020
ag0aep6g
Jun 07, 2020
Avrina
Jun 07, 2020
ag0aep6g
Jun 07, 2020
Avrina
Jun 07, 2020
Timon Gehr
Jun 06, 2020
Timon Gehr
Jun 06, 2020
Patrick Schluter
Jun 06, 2020
Avrina
Jun 06, 2020
H. S. Teoh
Jun 06, 2020
David Gileadi
Jun 06, 2020
mw
Jun 06, 2020
Meta
Jun 06, 2020
Timon Gehr
Jun 06, 2020
Meta
Jun 06, 2020
Paul Backus
Jun 06, 2020
ag0aep6g
Jun 06, 2020
Paul Backus
Jun 06, 2020
ag0aep6g
Jun 06, 2020
Avrina
Jun 07, 2020
Paul Backus
Jun 07, 2020
ag0aep6g
Jun 06, 2020
Alex
Jun 06, 2020
Patrick Schluter
Jun 06, 2020
Stefan Koch
Jun 06, 2020
Stefan Koch
Jun 06, 2020
Andrej Mitrovic
Jun 06, 2020
Andrej Mitrovic
June 05, 2020
If you've got problems using D that should be fixed:

1. File bugzilla issue for them. Issues not in bugzilla don't get fixed.

2. When talking about the issue, provide a link to the bugzilla issue so we know what you're talking about and know what the current status is.

3. If you have a laundry list of issues that are important to you, keep a list of bugzilla issue links to them. Then, when you are asked about what problems you're having, cut&paste that list.

Bring them up now and then.

It's that simple!
June 05, 2020
On 05.06.20 22:35, Walter Bright wrote:
> 1. File bugzilla issue for them. Issues not in bugzilla don't get fixed.
[...]
> Bring them up now and then.

How frequent is "now and then"? Like, once a month? Once a year?

Ideally, you would be prioritizing issues based on severity and impact. If you only fix the issues that people nag you about, you risk leaving serious bugs unattended.

Anyway, here are some personal favorites:


1) The DIP 1000 implementation has a glaring accepts-invalid bug with `pure` functions.
https://issues.dlang.org/show_bug.cgi?id=20150

In my opinion, this one is a blocker for DIP 1000. And unfortunately, it probably made DIP 1000 look better than it is.


2) "bool can be both true and false"
https://issues.dlang.org/show_bug.cgi?id=20148

This one is just silly.


3) DMD's codegen for the BT (bit test) instruction is all kinds of wrong.
https://issues.dlang.org/show_bug.cgi?id=18750

A testimony for the questionable quality of DMD's backend.


4) "import doesn't verify module declaration"
https://issues.dlang.org/show_bug.cgi?id=15086

This accepts-invalid (and arguably wrong-code) issue had some lively discussion years ago. There was a PR, the issue was closed as invalid, it was reopened. And finally it was forgotten.


5) std.stdio tries converting between different UTF variants, but fails horribly.
https://issues.dlang.org/show_bug.cgi?id=18789 and
https://issues.dlang.org/show_bug.cgi?id=18801

I tried fixing this one but got stuck when I couldn't reproduce the failures on Windows that the auto-tester shows.
June 05, 2020
On 6/5/2020 2:57 PM, ag0aep6g wrote:
> How frequent is "now and then"? Like, once a month? Once a year?

If you start annoying people, then it's too often.

> Ideally, you would be prioritizing issues based on severity and impact. If you only fix the issues that people nag you about, you risk leaving serious bugs unattended.

Everybody's idea of what is important and what is not is different.
June 05, 2020
On Fri, Jun 05, 2020 at 11:57:39PM +0200, ag0aep6g via Digitalmars-d wrote: [...]
> 2) "bool can be both true and false" https://issues.dlang.org/show_bug.cgi?id=20148
> 
> This one is just silly.
[...]

Nah, it's not silly, it's just that DMD's backend produces code that exhibits quantum uncertainty:

-----------------
bool schrodingersCat() @safe {
	union Box { bool b; int spin; }
	Box u;
	u.spin = 2;
	return u.b;
}
void main() @safe {
	import std.stdio;
	bool b = schrodingersCat();
	if (b) writeln("alive");
	if (!b) writeln("dead");
}
-----------------

Output:
-----------------
alive
dead
-----------------

:-D

Unfortunately, LDC's backend seems a lot more classical, as the above code produces this output with absolute certainty:

Output:
-----------------
dead
-----------------

Truly, DMD's backend is in the bright future of strange and wonderful quantum effects, whereas LDC is clearly still stuck in the antiquated classical past. ;-)


T

-- 
Recently, our IT department hired a bug-fix engineer. He used to work for Volkswagen.
June 06, 2020
On Friday, 5 June 2020 at 22:50:35 UTC, Walter Bright wrote:
>
> Everybody's idea of what is important and what is not is different.

Actually I'm wondering if we can have a web poll widget somewhere, so people can vote on the priority of bugs / features / DIPs?

Better be on the front page of https://forum.dlang.org ?


June 05, 2020
On Sat, Jun 06, 2020 at 12:01:46AM +0000, mw via Digitalmars-d wrote:
> On Friday, 5 June 2020 at 22:50:35 UTC, Walter Bright wrote:
> > 
> > Everybody's idea of what is important and what is not is different.
> 
> Actually I'm wondering if we can have a web poll widget somewhere, so people can vote on the priority of bugs / features / DIPs?
[...]

Polls are a dime a dozen, but rarely lead to any actual change. What actually makes a difference is someone who's willing to put in the time and effort to actually work on these bugs, or at least dig further into them to obtain more useful, actionable information.

Just sayin', from past experience.


T

-- 
Computerese Irregular Verb Conjugation: I have preferences.  You have biases.  He/She has prejudices. -- Gene Wirchenko
June 05, 2020
On Fri, Jun 05, 2020 at 04:53:28PM -0700, H. S. Teoh via Digitalmars-d wrote:
> On Fri, Jun 05, 2020 at 11:57:39PM +0200, ag0aep6g via Digitalmars-d wrote: [...]
> > 2) "bool can be both true and false" https://issues.dlang.org/show_bug.cgi?id=20148
> > 
> > This one is just silly.
> [...]
> 
> Nah, it's not silly, it's just that DMD's backend produces code that exhibits quantum uncertainty:
[...]

For even more quantum fun:

----------
bool schrodingersCat() @safe {
	import std.random;
	union Box { bool b; int state; }
	Box u;
	u.state = uniform(2, int.max);
	return u.b;
}
void main() @safe {
	import std.stdio;
	bool b = schrodingersCat();
	if (b) writeln("alive");
	if (!b) writeln("dead");
}
----------

With LDC, this code will output either "alive" or "dead" with a roughly 50% probability of each.  So it's a classical observer.

With DMD, however, this code will perceive the quantum superimposition directly and output both "alive" and "dead" every time.

:-D

//

OK, I'll stop now. :-P


T

-- 
Bare foot: (n.) A device for locating thumb tacks on the floor.
June 05, 2020
On 6/5/20 5:25 PM, H. S. Teoh wrote:
> On Fri, Jun 05, 2020 at 04:53:28PM -0700, H. S. Teoh via Digitalmars-d wrote:
>> On Fri, Jun 05, 2020 at 11:57:39PM +0200, ag0aep6g via Digitalmars-d wrote:
>> [...]
>>> 2) "bool can be both true and false"
>>> https://issues.dlang.org/show_bug.cgi?id=20148
>>>
>>> This one is just silly.
>> [...]
>>
>> Nah, it's not silly, it's just that DMD's backend produces code that
>> exhibits quantum uncertainty:
> [...]
> 
> For even more quantum fun:
> 
> ----------
> bool schrodingersCat() @safe {
> 	import std.random;
> 	union Box { bool b; int state; }
> 	Box u;
> 	u.state = uniform(2, int.max);
> 	return u.b;
> }
> void main() @safe {
> 	import std.stdio;
> 	bool b = schrodingersCat();
> 	if (b) writeln("alive");
> 	if (!b) writeln("dead");
> }
> ----------
> 
> With LDC, this code will output either "alive" or "dead" with a roughly
> 50% probability of each.  So it's a classical observer.
> 
> With DMD, however, this code will perceive the quantum superimposition
> directly and output both "alive" and "dead" every time.
> 
> :-D
> 
> //
> 
> OK, I'll stop now. :-P
> 
> 
> T
> 

These two posts made me very amused. Thank you.
June 06, 2020
On Saturday, 6 June 2020 at 00:33:03 UTC, David Gileadi wrote:
>
> These two posts made me very amused. Thank you.

I just said few days ago: D is fun to work with everyday!

https://forum.dlang.org/post/iqohjalciprrnbxticpi@forum.dlang.org


I think if we have a poll widget, this fun bug will surely be top voted :-)
June 05, 2020
On 6/5/2020 5:01 PM, mw wrote:
> Actually I'm wondering if we can have a web poll widget somewhere, so people can vote on the priority of bugs / features / DIPs?
> 
> Better be on the front page of https://forum.dlang.org ?

You can already vote on Bugzilla issues.

But what matters is finding someone with the time, interest, and expertise to address each problem.
« First   ‹ Prev
1 2 3 4 5 6