On 7/3/2016 5:27 PM, Mathias Lang via Digitalmars-d wrote:
Labels can only be applied by contributors, in other words people with merge
access. So this is only useful for P.R. made by contributors.
I didn't know that.
I doubt a
contributor seeing a trivial P.R. (made by a non-contributor)
On 07/04/2016 07:16 AM, Hiemlick Hiemlicker wrote:
But static isn't per instance, is it?
Sure isn't. __gshared isn't either.
That means every thread created will have the same value of Paused.
Calling Pause will pause all threads. That can't be right.
I don't know what exactly you're doing
On Wednesday, 29 June 2016 at 09:07:18 UTC, ketmar wrote:
i decided to make some noise about those, as people may
thinking about doing the ports themselves, and effectively
double (or triple, or...) the work.
so, here they are:
* Vorbis decoder[1] (stb_vorbis port), PD;
* FLAC decoder[2]
On Monday, 4 July 2016 at 05:08:34 UTC, ag0aep6g wrote:
On 07/04/2016 01:20 AM, Hiemlick Hiemlicker wrote:
I have thread. It locks up. If I changed from a bool val it is
using
from shared to __gshared it works. I checked the address
inside and
outside of the thread and they are different for
On 07/04/2016 01:20 AM, Hiemlick Hiemlicker wrote:
I have thread. It locks up. If I changed from a bool val it is using
from shared to __gshared it works. I checked the address inside and
outside of the thread and they are different for shared and same for
__gshared.
[...]
shared bool
On Sunday, 3 July 2016 at 22:00:39 UTC, MMJones wrote:
I like the term var better than auto. Is there a way to alias
auto?
If you're thinking of var as in JS's var, they're not the same
thing.
Even if you could alias it I would advise against doing something
like that; assume your code
https://issues.dlang.org/show_bug.cgi?id=16234
Issue ID: 16234
Summary: ICE on opEquals
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component:
https://issues.dlang.org/show_bug.cgi?id=16226
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/0456f3f05909c510d2c2631c4364aaf2876c74ac
fix Issue 16226 - -dip25 doesn't work if the return type is
version(Windows)
void main()
{
import std.random;
while(getchar() != EOF)
{
auto x = new int[std.random.uniform(100, 1000)];
writeln("");
bThread.Now();
}
}
more or less, ends up with a huge
On Thursday, 30 June 2016 at 14:26:29 UTC, Stefan Koch wrote:
On Thursday, 30 June 2016 at 14:17:30 UTC, Timon Gehr wrote:
Sorry, I had missed this. I see you were able to make progress.
It's fine.
Honestly the hardest thing was to actually get started.
Once I see something working the
On Monday, 4 July 2016 at 01:36:00 UTC, Mike Parker wrote:
On Sunday, 3 July 2016 at 23:20:35 UTC, Hiemlick Hiemlicker
wrote:
The only difference is that the thread is a windows
CreateThread. I guess D doesn't know about such threads and
hence shared doesn't extend across to them?
The
On Sunday, 3 July 2016 at 17:55:05 UTC, Schrom, Brian T wrote:
A semi related experience is that I was using dlangui
successfully on the Mac, and ported to a windows system I had
and it worked no issues. However, then I tried to deploy to the
1/2 dozen windows setups we have and it segfaults
On Sunday, 3 July 2016 at 23:20:35 UTC, Hiemlick Hiemlicker wrote:
The only difference is that the thread is a windows
CreateThread. I guess D doesn't know about such threads and
hence shared doesn't extend across to them?
The runtime doesn't know about external threads, no. You have to
On Monday, 4 July 2016 at 00:27:45 UTC, Mathias Lang wrote:
Labels can only be applied by contributors, in other words
people with
merge access. So this is only useful for P.R. made by
contributors. I doubt
a contributor seeing a trivial P.R. (made by a non-contributor)
You should use
https://issues.dlang.org/show_bug.cgi?id=15936
Mathias Lang changed:
What|Removed |Added
CC|
On Monday, 4 July 2016 at 00:58:49 UTC, Jonathan M Davis wrote:
I confess that my first thought was that it should just result
in an error, since it's obviously wrong, but then you have an
error that depends on how good VRP is, which may not be a great
idea. Still, I don't see any reason why
On Sunday, July 03, 2016 23:18:58 deadalnix via Digitalmars-d wrote:
> Question is, what should VRP do when the denum range contains 0 ?
>
> I see 2 way forward:
> - 0 will fault, so not yield a result - hardware will fault. It
> can be ignored when doing VRP.
> - denum with 0 return a full
https://issues.dlang.org/show_bug.cgi?id=16233
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/5cd44d97235b2ac36e33137f093883d8e64dee5b
fix Issue 16233 - ICE on wrong code
https://issues.dlang.org/show_bug.cgi?id=16233
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Labels can only be applied by contributors, in other words people with
merge access. So this is only useful for P.R. made by contributors. I doubt
a contributor seeing a trivial P.R. (made by a non-contributor) will label
it, instead of just pulling the auto-merge trigger.
So I'll stick with
On Sunday, 3 July 2016 at 04:37:02 UTC, D is crap wrote:
I'm sorry many of you have spent your lives working on
something that won't amount to much in the real world.
A friend asked me yesterday if I feel any kind of fulfillment
from my job, like in a religious "this is what I am meant to do"
On Sunday, 3 July 2016 at 13:41:27 UTC, Ola Fosheim Grøstad wrote:
On Sunday, 3 July 2016 at 11:49:15 UTC, Andrei Alexandrescu
wrote:
Well to be more precise here's what I'm looking for. When you
compare an integral with a floating point number, the integral
is first converted to floating
Question is, what should VRP do when the denum range contains 0 ?
I see 2 way forward:
- 0 will fault, so not yield a result - hardware will fault. It
can be ignored when doing VRP.
- denum with 0 return a full range for division, union result's
range while ignoring 0 and num range for
There was a "Trivial" label on dlang/dmd, and I added it to dlang/druntime and
dlang/phobos.
Please use it to tag trivial pull requests, so that they can be quickly checked
and merged.
A trivial PR should be:
1. really easy to review
2. highly unlikely to break anything, i.e. its effects
On Sunday, 3 July 2016 at 04:37:02 UTC, D is crap wrote:
10. Most user contributed D packages are outdated. They simply
don't work anymore due to all the language changes.
This is the only point in the rant that I can agree with. I've
been stung a few times by dub dependencies preventing me
https://issues.dlang.org/show_bug.cgi?id=2444
Mathias Lang changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=16233
Walter Bright changed:
What|Removed |Added
Keywords|ice |ice-on-valid-code,
https://issues.dlang.org/show_bug.cgi?id=16233
ag0ae...@gmail.com changed:
What|Removed |Added
Keywords||ice
CC|
https://issues.dlang.org/show_bug.cgi?id=16233
Issue ID: 16233
Summary: ICE on wrong code
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: major
Priority: P1
Component:
On 07/04/2016 12:00 AM, MMJones wrote:
I like the term var better than auto. Is there a way to alias auto?
no
I like the term var better than auto. Is there a way to alias
auto?
On Sunday, 3 July 2016 at 21:23:56 UTC, D wrote:
Have you read Christopher Alexander's `A Pattern Language`? It
applies not only to architecture, computer programming,
compilers, etc but life itself.
I hope not. It is an opinionated book on what they thought were
good aspects of
Sometimes I idly wonder what would have happened if D were
available in the 80's. Sort of like if you put a modern car for
sale in the 1960's.
Sure, but that violates causality and means nothing. Instead,
lets go into the future, which we can do(with our minds at
least), and see what D
On Sunday, 3 July 2016 at 04:37:02 UTC, D is crap wrote:
Sorry, I've spend the last month trying my best to get simple
shit done. At every turn there is some problem that has to be
dealt with that is unrelated to my actual work. Be it the IDE,
debugging, the library, or user shared code, it
On Sunday, 3 July 2016 at 08:01:45 UTC, Ola Fosheim Grøstad wrote:
even then a language like Whiley is more advanced. Whiley has
a floating type system with static typing where you can write
Typo, not «floating type system», but flow-typing:
https://issues.dlang.org/show_bug.cgi?id=16230
ag0ae...@gmail.com changed:
What|Removed |Added
Keywords||pull
On Saturday, 2 July 2016 at 12:10:28 UTC, qznc wrote:
With AA cache eviction is inefficient. It requires to sort the
keys of the AA with respect to a field in the value. Stack
No, you just need the hash of the key in the object for many
types of hash-tables. There are many solutions, but here
On 7/2/16 11:27 PM, Walter Bright via Digitalmars-d wrote:
> Thanks for taking the time to write this. Let me see if I can help.
>
> This is true. I'm interested in which of these have caused you problems.
> Naturally, people in the forum are going to debate the edge cases, as they do
> in
>
On Sunday, 3 July 2016 at 18:25:32 UTC, tcak wrote:
Well, I actually have found out about the issue, and solved it
a different way.
I put memory limit on the process for testing.
At some point, due to memory limitation, thread.start() method
fails. But, this method cannot recover the system
On 07/03/2016 01:31 AM, Walter Bright via Digitalmars-d wrote:
On 7/3/2016 12:21 AM, Charles Hixson via Digitalmars-d wrote:
I do wish that phobos included a D wrapper around SQLite,
There was one recently announced.
Thanks. I missed the announcement.
I'd also like to be able to depend
On Sunday, 3 July 2016 at 17:15:32 UTC, Lodovico Giaretta wrote:
To avoid the ~= operator and reallocations of the cache array,
you could impose a max number of cache entries, preallocate the
array and use it as a circular buffer.
Here's a simple ring buffer I use, feel free to take it
On Sunday, 3 July 2016 at 17:19:04 UTC, Lodovico Giaretta wrote:
On Friday, 1 July 2016 at 12:02:11 UTC, tcak wrote:
I have my own Http Server. Every request is handled by a
thread, and threads are reused.
I send 35,000 request (7 different terminals are sending 5000
requests each) to the
https://issues.dlang.org/show_bug.cgi?id=16229
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=16229
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/5abf564bc6b852acd386e2e4b7a433ec9339c762
fix issue 16229: don't use alloca for huge symbols
On Saturday, 2 July 2016 at 18:21:10 UTC, Atila Neves wrote:
http://code.dlang.org/packages/unit-threaded
After merging code from Robert's fork I added some support for
property-based testing. There's no shrinking yet and
user-defined types aren't supported. Right now most if not all
https://issues.dlang.org/show_bug.cgi?id=16232
--- Comment #2 from ag0ae...@gmail.com ---
(In reply to Robert Schadek from comment #1)
> There is nothing we can do about user defined code
We have to accommodate for it. sharedLog suggests that it takes care of thread
safety, but it doesn't.
https://issues.dlang.org/show_bug.cgi?id=16232
Robert Schadek changed:
What|Removed |Added
CC||rburn...@gmail.com
---
On Friday, 1 July 2016 at 12:02:11 UTC, tcak wrote:
I have my own Http Server. Every request is handled by a
thread, and threads are reused.
I send 35,000 request (7 different terminals are sending 5000
requests each) to the server again and again (each of them
lives for short).
Anyway,
On Sunday, 3 July 2016 at 16:03:51 UTC, qznc wrote:
On Saturday, 2 July 2016 at 12:21:14 UTC, Lodovico Giaretta
wrote:
On Saturday, 2 July 2016 at 12:10:28 UTC, qznc wrote:
Alternatively, any better idea to implement the cache? I
guess there is no off-the-shelf/dub solution.
For now, I
https://issues.dlang.org/show_bug.cgi?id=15970
--- Comment #2 from Guillaume Chatelet ---
I meant to point at this test:
https://github.com/gchatelet/dmd/blob/new_cpp_mangling2/test/mangling/t0020.d
--
https://issues.dlang.org/show_bug.cgi?id=15970
--- Comment #1 from Guillaume Chatelet ---
FYI this is mangled correctly in
https://github.com/gchatelet/dmd/blob/new_cpp_mangling2.
It is not yet ready to for a PR though.
--
https://issues.dlang.org/show_bug.cgi?id=16232
Issue ID: 16232
Summary: std.experimental.logger.core.sharedLog isn't
thread-safe
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
https://issues.dlang.org/show_bug.cgi?id=16142
--- Comment #4 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/dbb412d49ce76e1bf939ee5dd8fb10093e27bdbe
Issue 16142 - Enable test for disabled recursive
On Saturday, 2 July 2016 at 12:21:14 UTC, Lodovico Giaretta wrote:
On Saturday, 2 July 2016 at 12:10:28 UTC, qznc wrote:
Alternatively, any better idea to implement the cache? I guess
there is no off-the-shelf/dub solution.
For now, I settled for a sorted array of cache entries plus an AA
to
On Sunday, 3 July 2016 at 11:49:15 UTC, Andrei Alexandrescu wrote:
Well to be more precise here's what I'm looking for. When you
compare an integral with a floating point number, the integral
is first converted to floating point format. I.e. for long x
and double y, x == y is the same as
https://issues.dlang.org/show_bug.cgi?id=16231
Issue ID: 16231
Summary: Language specification: rename std.regexp -> std.regex
Product: D
Version: D2
Hardware: All
OS: All
Status: NEW
Severity: trivial
https://issues.dlang.org/show_bug.cgi?id=16230
Issue ID: 16230
Summary: core.atomic.atomicLoad removes shared from aggregate
types too eagerly
Product: D
Version: D2
Hardware: All
OS: All
Status:
https://issues.dlang.org/show_bug.cgi?id=15831
--- Comment #10 from Rainer Schuetze ---
> What's left to be done, apart from PR 5904, before PR 5855 can be merged?
The PR fails because it seems there are some issues with building shared
libraries. In addition, a number of
On 07/03/2016 05:52 AM, Guillaume Boucher wrote:
On Sunday, 3 July 2016 at 09:08:14 UTC, Ola Fosheim Grøstad wrote:
On Saturday, 2 July 2016 at 20:17:59 UTC, Andrei Alexandrescu wrote:
So what's the fastest way to figure that an integral is convertible
to a floating point value precisely (i.e.
On Sunday, 3 July 2016 at 11:20:14 UTC, bachmeier wrote:
What is "real world software development"? Of course it is
exactly what I happen to do and it is done exactly the way I do
it. Nobody uses scripting languages, nobody uses Python, all
programming is web development, real development is
On Sunday, 3 July 2016 at 04:37:02 UTC, D is crap wrote:
I'm sorry many of you have spent your lives working on
something that won't amount to much in the real world. It was a
valiant effort. Maybe it will seed new languages that will
actually work and have the tooling to be useful. D itself
https://issues.dlang.org/show_bug.cgi?id=15831
--- Comment #9 from ZombineDev ---
Thanks, Rainer! That's really great. What's left to be done, apart from PR
5904, before PR 5855 can be merged?
--
On Sunday, 3 July 2016 at 09:52:38 UTC, Guillaume Boucher wrote:
This is the correct answer for another definition of "precisely
convertible", not the one Andrei gave.
True, I see now that he actually asked for unique representation,
not precisely convertible.
On Sunday, 3 July 2016 at 09:42:35 UTC, Guillaume Piolat wrote:
The fact is that rants about D complain about more and more
elaborated and "end-userish" issues.
For example, if we look back to the "Angry Emo D Rant" from 2010.
http://dlang.group.iteye.com/group/topic/20404
Of the 17
On Sunday, 3 July 2016 at 09:08:14 UTC, Ola Fosheim Grøstad wrote:
On Saturday, 2 July 2016 at 20:17:59 UTC, Andrei Alexandrescu
wrote:
So what's the fastest way to figure that an integral is
convertible to a floating point value precisely (i.e. no other
integral converts to the same floating
On Sunday, 3 July 2016 at 09:42:35 UTC, Guillaume Piolat wrote:
People now expects
an experience without surprise.
On Sunday, 3 July 2016 at 04:37:02 UTC, D is crap wrote:
I'm sorry but it seems too much focus on enhancements while
there are too many bugs and lack of tools to actually do
anything useful.
I'm sorry if this hurts some of you guys feelings but it is
fact that D sucks as a whole. A modern
https://issues.dlang.org/show_bug.cgi?id=15831
--- Comment #7 from Rainer Schuetze ---
https://github.com/dlang/dmd/pull/5855 yields these symbols:
_D13testexpansion__T1sTiZ1@FiZ6Result3fooMFNaNfZv
_D13testexpansion__T1sTS0@__T1@TiZ1@FiZ6ResultZ1@F%0Z2@3fooMFNaNfZv
https://issues.dlang.org/show_bug.cgi?id=16228
--- Comment #4 from Dicebot ---
Also: is `return ref` supposed to work with @trusted exactly the same as with
@safe?
--
https://issues.dlang.org/show_bug.cgi?id=16229
Rainer Schuetze changed:
What|Removed |Added
Keywords||pull
--- Comment #1
On Saturday, 2 July 2016 at 20:17:59 UTC, Andrei Alexandrescu
wrote:
So what's the fastest way to figure that an integral is
convertible to a floating point value precisely (i.e. no other
integral converts to the same floating point value)? Thanks! --
Andrei
If it is within what the mantissa
https://issues.dlang.org/show_bug.cgi?id=16229
Issue ID: 16229
Summary: [Win64] Crash when generating huge symbols
Product: D
Version: D2
Hardware: x86_64
OS: Windows
Status: NEW
Keywords: ice-on-valid-code
On 02/07/16 14:00, Walter Bright wrote:
I don't understand why it would be a language burden.
One can argue that every new keyword (this happens to reuse two existing
keywords) or every new feature is burden.
--
/Jacob Carlborg
reactions are as expected - dumb.
nice signature.
On Saturday, 2 July 2016 at 20:30:03 UTC, Walter Bright wrote:
On 7/2/2016 1:17 PM, Andrei Alexandrescu wrote:
So what's the fastest way to figure that an integral is
convertible to a
floating point value precisely (i.e. no other integral
converts to the same
floating point value)? Thanks! --
On Sunday, 3 July 2016 at 04:37:02 UTC, D is crap wrote:
Sorry, I've spend the last month trying my best to get simple
shit done. At every turn there is some problem that has to be
dealt with that is unrelated to my actual work. Be it the IDE,
debugging, the library, or user shared code, it
On 7/3/2016 12:21 AM, Charles Hixson via Digitalmars-d wrote:
I do wish that phobos included a D wrapper around SQLite,
There was one recently announced.
I'd also like to be able to depend on class finalizers being called.
Sometimes I wrap a class in a struct just so I can depend on the
On Sunday, 3 July 2016 at 07:48:39 UTC, ketmar wrote:
On Sunday, 3 July 2016 at 07:04:58 UTC, Ola Fosheim Grøstad
wrote:
3. Improve on it for 3-10 years without changing the
functionality.
if i want to use "stable language", i know where to download
C89 compiler.
That's ok for spare time
On Sunday, 3 July 2016 at 07:21:15 UTC, Charles Hixson wrote:
portable. And I really like having garbage collection, and
especially the syntax that it enables. I was just considering
a hash table (associative array) in C++, and realized that I
had to either allocate on the heap, or I couldn't
On Sunday, 3 July 2016 at 07:04:58 UTC, Ola Fosheim Grøstad wrote:
3. Improve on it for 3-10 years without changing the
functionality.
if i want to use "stable language", i know where to download C89
compiler.
FWIW, I feel that the elaboration of the template language doesn't serve
me well. That's my use case, so I try to ignore it as much as possible,
but phobos has been re-written to be much less intelligible to me. I'm
sure that many people find the inclusion of ranges into everything
useful,
On Sunday, 3 July 2016 at 04:37:02 UTC, D is crap wrote:
Sorry, I've spend the last month trying my best to get simple
shit done. At every turn there is some problem that has to be
dealt with that is unrelated to my actual work. Be it the IDE,
debugging, the library, or user shared code, it
On Sunday, 3 July 2016 at 04:37:02 UTC, D is crap wrote:
Sorry, I've spend the last month trying my best to get simple
shit done. At every turn there is some problem that has to be
dealt with that is unrelated to my actual work. Be it the IDE,
debugging, the library, or user shared code, it
On Sunday, 3 July 2016 at 06:42:23 UTC, ketmar wrote:
small summary of the starting post: "i am an idiot, and i can't
use D. of course, you all guilty of my idiocity."
No, it is the result of beta-quality. You see the same reaction
in other languages/frameworks when they claim to be
small summary of the starting post: "i am an idiot, and i can't
use D. of course, you all guilty of my idiocity."
On Sunday, 3 July 2016 at 04:37:02 UTC, D is crap wrote:
Basically there is no great IDE for D, in fact, there is none.
They are all general purpose IDE's that have been configured to
compile D code. Great! Except they don't work well because they
wern't designed for D. (e.g., template
On Sunday, 3 July 2016 at 00:57:04 UTC, Timon Gehr wrote:
How do you decide what 'redundant work' is? Is this combination
of branches and type casts really particularly cheap to execute?
He just provided an example, so preserving the essence of the
logic for all kinds of U and T is
Thanks for taking the time to write this. Let me see if I can help.
On 7/2/2016 9:37 PM, D is crap wrote:
1. The language is not completely well defined. While the language itself
contains many nice features and what makes D appealing, too many features are
cobbled together and don't completely
88 matches
Mail list logo