On Sunday, 20 November 2016 at 21:03:57 UTC, John Colvin wrote:
If blocking is an error, you could close stdin and assuming the
process checks the error codes correctly
No, I mean blocking is not error.
One method to find it, run gdb or strace and see where the
process stopped, or which
On Monday, 21 November 2016 at 06:45:04 UTC, ag0aep6g wrote:
On 11/21/2016 07:36 AM, Stefan Koch wrote:
On Monday, 21 November 2016 at 03:58:00 UTC, MGW wrote:
On Sunday, 20 November 2016 at 18:58:04 UTC, Basile B. wrote:
On Sunday, 20 November 2016 at 17:47:50 UTC, MGW wrote:
[...]
[...]
https://issues.dlang.org/show_bug.cgi?id=16706
liangwen changed:
What|Removed |Added
Priority|P1 |P2
--- Comment #2 from
On 11/21/2016 07:36 AM, Stefan Koch wrote:
On Monday, 21 November 2016 at 03:58:00 UTC, MGW wrote:
On Sunday, 20 November 2016 at 18:58:04 UTC, Basile B. wrote:
On Sunday, 20 November 2016 at 17:47:50 UTC, MGW wrote:
import core.sys.windows.windows: MessageBoxA;
void test() {
for(int i;
On Monday, 21 November 2016 at 04:06:31 UTC, rikki cattermole
wrote:
No, snn.lib is the exact thing that you don't need.
I need to resolve conflict between snn.lib and cygwin1.dll.
And I can see only 2 methods:
1) recompile all dmd libraries including snn.lib with replacing
open->_open,
On Monday, 21 November 2016 at 03:58:00 UTC, MGW wrote:
On Sunday, 20 November 2016 at 18:58:04 UTC, Basile B. wrote:
On Sunday, 20 November 2016 at 17:47:50 UTC, MGW wrote:
import core.sys.windows.windows: MessageBoxA;
void test() {
for(int i; i != 10; i++) {
ubyte[]
On 21/11/2016 4:47 AM, unDEFER wrote:
On Sunday, 20 November 2016 at 14:39:24 UTC, Mike Parker wrote:
Not impossible. It's just going to require some backend work. It's not
something you can make happen from the command line.
Possible of course.. But looks like it needed at least snn.lib
On Sunday, 20 November 2016 at 18:58:04 UTC, Basile B. wrote:
On Sunday, 20 November 2016 at 17:47:50 UTC, MGW wrote:
import core.sys.windows.windows: MessageBoxA;
void test() {
for(int i; i != 10; i++) {
ubyte[] buf;
for(int j; j != 1; j++) buf
On Sunday, 20 November 2016 at 11:21:55 UTC, Joakim wrote:
Mike Parker has done a fantastic job with the D blog: I really
like the unique direction he's taken, focusing on D users and
their first-hand experiences.
Thanks! And thanks for writing this post.
We're missing these tech posts on
https://issues.dlang.org/show_bug.cgi?id=16611
Alexandru Razvan Caciulescu changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=16706
--- Comment #1 from liangwen ---
if put project in the dir with chinese words,cannot show the coverage.
--
https://issues.dlang.org/show_bug.cgi?id=16706
Issue ID: 16706
Summary: chinese dir coverage.
Product: D
Version: D2
Hardware: x86
OS: Windows
Status: NEW
Severity: normal
Priority: P1
I've always been interested in trying to get more compression
out of data. However the approach depending on circumstances can
result in general purpose extra compression or not.
Regardless. A while back in 2013 I wrote an appended function
that was part of my BitArray extensions for
On Sunday, 20 November 2016 at 13:19:57 UTC, Russel Winder wrote:
On Sat, 2016-11-19 at 23:03 +, deadalnix via Digitalmars-d
wrote:
A lot of users are reporting errors on debian and ubuntu. .o
generated by dmd do not link and libphobos.a is unusable.
This is very bad and we should
https://issues.dlang.org/show_bug.cgi?id=11214
liangwen changed:
What|Removed |Added
CC||liang...@msn.com
--
On Sunday, 20 November 2016 at 18:58:04 UTC, Basile B. wrote:
On Sunday, 20 November 2016 at 17:47:50 UTC, MGW wrote:
[...]
For me there's no exception. Maybe the GC is poluted. Try to
add this after each iteration in the first test loop:
import core.memory: GC;
https://issues.dlang.org/show_bug.cgi?id=16667
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/0556bf138ed4678cb5ad870367065324fd4a5b4f
fix Issue 16667 - wrong @safe unittest compilation
https://issues.dlang.org/show_bug.cgi?id=16582
--- Comment #6 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/f783d975a28febea3a323bae3ce5f902cec17aa9
fix Issue 16582 - ParameterDefaults fails w/ scope
https://issues.dlang.org/show_bug.cgi?id=16514
--- Comment #13 from github-bugzi...@puremagic.com ---
Commit pushed to master at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/448ddbe2e88d66feb0df3f679bc282840ac4bb26
std.socket: Add test for issue 16514
--
On Sunday, 20 November 2016 at 22:36:12 UTC, Chainingsolid wrote:
I'm making an rts so the client/server model would require very
unrealistic bandwidth, hence the lock step peer to peer system.
Indeed, peer to peer require determinism I guess.
https://issues.dlang.org/show_bug.cgi?id=16574
Martin Nowak changed:
What|Removed |Added
CC||jesse.k.phillip...@gmail.co
https://issues.dlang.org/show_bug.cgi?id=16696
Martin Nowak changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=14720
b2.t...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://issues.dlang.org/show_bug.cgi?id=9204
b2.t...@gmx.com changed:
What|Removed |Added
CC||ag0ae...@gmail.com
--- Comment #1 from
https://issues.dlang.org/show_bug.cgi?id=14657
b2.t...@gmx.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=16696
Martin Nowak changed:
What|Removed |Added
CC||c...@dawg.eu
--- Comment #2
On Sunday, 20 November 2016 at 21:42:30 UTC, ketmar wrote:
On Sunday, 20 November 2016 at 21:31:09 UTC, Guillaume Piolat
wrote:
I think you can roughly have that with ldc, always using SSE
and the same rounding-mode.
ARM. oops.
No problem with ARM + x86 for double and float.
https://issues.dlang.org/show_bug.cgi?id=16663
--- Comment #5 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/8f8979ebe15adf6ef82c3f43b81388a61be99700
Revert "Merge pull request #4790 from
https://issues.dlang.org/show_bug.cgi?id=16680
Martin Nowak changed:
What|Removed |Added
CC||c...@dawg.eu
--- Comment #1
On Sunday, 20 November 2016 at 21:31:09 UTC, Guillaume Piolat
wrote:
If you use client prediction, and the server (authoritative)
sends the correct player position to clients regularly (action
game), then no determinism is actually needed. Ask Manu who
knows more about this.
I'm making an
On 11/14/2016 1:39 AM, qznc wrote:
On Monday, 14 November 2016 at 06:57:07 UTC, Walter Bright wrote:
· Follow our YouTube channel.
So, there will be a recording? Great!
Unfortunately, the audio was lost 18 minutes in. Looks to be not worth posting.
I do have the slides up, though.
On Sunday, 20 November 2016 at 21:31:09 UTC, Guillaume Piolat
wrote:
I think you can roughly have that with ldc, always using SSE
and the same rounding-mode.
ARM. oops.
On Sunday, 20 November 2016 at 19:12:06 UTC, Chainingsolid wrote:
I planning out a game that has to use a lock step, peer to peer
networking model to achieve multiplayer, and thus I need to
have any floating point used produce the exact same results, no
matter what, aka be completely
On Sunday, 20 November 2016 at 12:21:19 UTC, unDEFER wrote:
Hello!
I'm using pipeProcess() to create a process:
pipes = pipeProcess(["bash", "-c", BASH_COMMAND],
Redirect.stdin | Redirect.stdout | Redirect.stderr);
Is it possible detect that the child is waiting for input on
stdin?
I can't
https://issues.dlang.org/show_bug.cgi?id=8
--- Comment #1 from ag0ae...@gmail.com ---
*** Issue 16695 has been marked as a duplicate of this issue. ***
--
https://issues.dlang.org/show_bug.cgi?id=16695
ag0ae...@gmail.com changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|---
https://issues.dlang.org/show_bug.cgi?id=8
ag0ae...@gmail.com changed:
What|Removed |Added
Keywords||rejects-valid
CC|
https://issues.dlang.org/show_bug.cgi?id=16695
--- Comment #1 from Oleg B ---
Forget what I report this 3 years before.
duplicate of https://issues.dlang.org/show_bug.cgi?id=8
--
On 11/20/2016 09:09 PM, Charles Hixson via Digitalmars-d-learn wrote:
Thinking it over a bit more, the item returned would need to be a
struct, but the struct wouldn't contain the array, it would just contain
a reference to the array and a start and end offset. The array would
need to live
On 11/20/2016 03:42 AM, ag0aep6g via Digitalmars-d-learn wrote:
On 11/20/2016 04:34 AM, Charles Hixson via Digitalmars-d-learn wrote:
Whether you would call the change "break things for your code" might be
dubious. It would be effectively broken, even if technically my code
was doing the
On Sunday, 20 November 2016 at 17:50:38 UTC, Konstantin
Kutsevalov wrote:
Ok, thank you. But I cannot to find good example. May be you
know some good article about it?
The Phobos documentation is a good place to start, as it has
examples as well as the documentation for all the APIs:
write your own software fp library. this is the only way to cover
all your broad cases.
On 11/20/2016 08:30 PM, Charles Hixson via Digitalmars-d-learn wrote:
Well, that precise approach wouldn't work. (The traits aren't a part of
the sturct, e.g.),
What do you mean by "traits"?
https://issues.dlang.org/show_bug.cgi?id=16705
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=16705
--- Comment #2 from github-bugzi...@puremagic.com ---
Commits pushed to stable at https://github.com/dlang/phobos
https://github.com/dlang/phobos/commit/a7597df60ed7f78988e875d25b6d48b48189cc33
Fix issue 16705 - TaskPool.reduce fails to compile
On 11/20/2016 03:42 AM, ag0aep6g via Digitalmars-d-learn wrote:
On 11/20/2016 04:34 AM, Charles Hixson via Digitalmars-d-learn wrote:
Whether you would call the change "break things for your code" might be
dubious. It would be effectively broken, even if technically my code
was doing the
I planning out a game that has to use a lock step, peer to peer
networking model to achieve multiplayer, and thus I need to have
any floating point used produce the exact same results, no matter
what, aka be completely deterministic. What would I need to do to
achieve this?
On Sunday, 20 November 2016 at 17:47:50 UTC, MGW wrote:
import core.sys.windows.windows: MessageBoxA;
void test() {
for(int i; i != 10; i++) {
ubyte[] buf;
for(int j; j != 1; j++) buf ~= 65;
MessageBoxA(null, "--on for--".ptr,
On Saturday, 19 November 2016 at 19:04:12 UTC, Nicolas Gurrola
wrote:
On Saturday, 19 November 2016 at 17:29:30 UTC, Konstantin
Kutsevalov wrote:
I need to receiving data in main thread and send its to other
thread for processing. There is a simple (but wrong) code for
example.
What need I to
import core.sys.windows.windows: MessageBoxA;
void test() {
for(int i; i != 10; i++) {
ubyte[] buf;
for(int j; j != 1; j++) buf ~= 65;
MessageBoxA(null, "--on for--".ptr, "".ptr, 0);
// delete buf; // if ON - then
On Sunday, 20 November 2016 at 16:36:18 UTC, Q. Schroll wrote:
How can I have relative-@attrib functions without unnecessary
manual overloading?
import std.traits;
auto f1(DG) (DG dg) if (isCallable!DG && Parameters!DG.length ==
1 && is(Parameters!DG[0] == int)) { // check other things here
On Sun, 20 Nov 2016 14:35:16 +1300, rikki cattermole wrote:
> I was thinking maybe option 3 but not have the body first.
>
> int func(int arg) {
> return 8 * arg;
> } in {
> assert(arg > 0);
> } out(int value) {
> assert(1);
> }
>
> Would break code but its a simple
When using functions with delegate (or function ptr) parameters
which should comply with some attributes, I cannot call the
delegate in the function what makes it pretty useless (I haven't
done research, but I claim that generally most functions taking
delegate parameters call them).
void
On Sunday, 20 November 2016 at 15:37:50 UTC, Stefan Koch wrote:
Furthermore I need to extend my bc_tests. to make sure the
interpretation is the same.
Such that this bug cannot happen again.
I have extended my test-suite to test this case.
It is crucial that the c backend and the interpreter
https://issues.dlang.org/show_bug.cgi?id=16705
ZombineDev changed:
What|Removed |Added
Keywords||pull
--- Comment #1
On Sunday, 20 November 2016 at 14:39:24 UTC, Mike Parker wrote:
Not impossible. It's just going to require some backend work.
It's not something you can make happen from the command line.
Possible of course.. But looks like it needed at least snn.lib
sources and maybe something more.
On Sunday, 20 November 2016 at 09:02:30 UTC, Stefan Koch wrote:
On Saturday, 19 November 2016 at 11:22:18 UTC, Stefan Koch
wrote:
On Saturday, 19 November 2016 at 09:42:33 UTC, Stefan Koch
wrote:
Another small update.
I got rid of the heapClearing overhead.
By using ddmds allocator.
Because of
https://issues.dlang.org/show_bug.cgi?id=16705
ZombineDev changed:
What|Removed |Added
CC|
On Sunday, 20 November 2016 at 11:55:49 UTC, rikki cattermole
wrote:
So work with cygwin under D is impossible..
Not impossible. It's just going to require some backend work.
It's not something you can make happen from the command line.
On Sunday, 20 November 2016 at 01:01:16 UTC, Darren wrote:
Thank you for this! Great information.
So dub dynamically "add" code from the dll into the source code
at runtime?
No. DUB doesn't have anything to do with runtime and doesn't know
anything about the DLLs you use. The Derelict
https://issues.dlang.org/show_bug.cgi?id=16683
ZombineDev changed:
What|Removed |Added
CC|
https://issues.dlang.org/show_bug.cgi?id=15421
Andrei Alexandrescu changed:
What|Removed |Added
Keywords||bootcamp
--
https://issues.dlang.org/show_bug.cgi?id=12141
Andrei Alexandrescu changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=15583
Andrei Alexandrescu changed:
What|Removed |Added
Status|NEW |RESOLVED
On 2016-11-20 12:21, Joakim wrote:
Mike Parker has done a fantastic job with the D blog: I really like the
unique direction he's taken, focusing on D users and their first-hand
experiences. It is what I tried to do with my interviews that ran in
the newsletter, and he's taken it to another
On Sat, 2016-11-19 at 23:03 +, deadalnix via Digitalmars-d wrote:
> A lot of users are reporting errors on debian and ubuntu. .o
> generated by dmd do not link and libphobos.a is unusable.
>
> This is very bad and we should consider a hotfix. Is someone on
> it ?
Is this related to the gdc
On Sunday, 20 November 2016 at 08:59:19 UTC, Tourist wrote:
Please implement the suggestion. Thanks.
http://imgur.com/X7fJLpF
For mobile I would prefer it to use the whole width for the title
and convert the other two columns into "subtitle text" below.
https://issues.dlang.org/show_bug.cgi?id=16705
Issue ID: 16705
Summary: TaskPool.reduce fails to compile "cannot get frame
pointer to D main"
Product: D
Version: D2
Hardware: x86_64
OS: Mac OS X
On Saturday, 19 November 2016 at 22:19:58 UTC, deadalnix wrote:
Err.. I mean, what is PIE and what kind of problems with D are
there?
DMD emit relocation data that linker can't make sense of,
that's what happens. So you can't link anything that wasn't
compiled with -fPIC, even if you aren't
Hello!
I'm using pipeProcess() to create a process:
pipes = pipeProcess(["bash", "-c", BASH_COMMAND], Redirect.stdin
| Redirect.stdout | Redirect.stderr);
Is it possible detect that the child is waiting for input on
stdin?
I can't find decision even for C. I think it is impossible if the
On Saturday, 19 November 2016 at 19:42:27 UTC, Marduk wrote:
On Saturday, 19 November 2016 at 16:17:08 UTC, Meta wrote:
On Saturday, 19 November 2016 at 09:38:38 UTC, Marduk wrote:
[...]
D used to support complex numbers in the language (actually it
still does, they're just deprecated).
On Sunday, 20 November 2016 at 11:52:01 UTC, Tofu Ninja wrote:
...
Also does not include function linkage :/
I had tried std.net.curl.get (). However, the following error
occurs
--
std.net.curl.CurlException@std\net\curl.d(4097): Peer certificate
cannot be authenticated with given CA certificates on handle
2175BB8
--
Guess it seems to be a
On 21/11/2016 12:46 AM, unDEFER wrote:
On Friday, 18 November 2016 at 17:33:41 UTC, unDEFER wrote:
Wow, Thank you! I have bought. I'm waiting instructions for download.
Google is a stranger to fear: it have sent to spam the message from
Walter Bright himself!
Walter prompt to me LIB.EXE
On Saturday, 19 November 2016 at 20:24:09 UTC, Marduk wrote:
On Saturday, 19 November 2016 at 12:55:57 UTC, Marc Schütz
wrote:
On Saturday, 19 November 2016 at 11:11:36 UTC, Nordlöw wrote:
On Saturday, 19 November 2016 at 09:38:38 UTC, Marduk wrote:
The difference is that D is more verbose. Am
On Sunday, 20 November 2016 at 11:23:37 UTC, Nicholas Wilson
wrote:
On Sunday, 20 November 2016 at 11:19:24 UTC, Tofu Ninja wrote:
I feel like this should be simple but I can't seem to figure
it out. How do I declare a function to have the same call
signature as another function/callable type?
On Friday, 18 November 2016 at 17:33:41 UTC, unDEFER wrote:
Wow, Thank you! I have bought. I'm waiting instructions for
download.
Google is a stranger to fear: it have sent to spam the message
from Walter Bright himself!
Walter prompt to me LIB.EXE utility, and I have removed from
snn.lib
On Saturday, 19 November 2016 at 20:08:42 UTC, Marduk wrote:
On Saturday, 19 November 2016 at 11:11:36 UTC, Nordlöw wrote:
On Saturday, 19 November 2016 at 09:38:38 UTC, Marduk wrote:
The difference is that D is more verbose. Am I missing
something? Can we have C's behaviour in D?
Something
On Saturday, 19 November 2016 at 09:35:33 UTC, Basile B. wrote:
Is the message is about double definition ?
I knew the cause. You were right. It is my mistake.
I'm really sorry.
On 11/20/2016 04:34 AM, Charles Hixson via Digitalmars-d-learn wrote:
Whether you would call the change "break things for your code" might be
dubious. It would be effectively broken, even if technically my code
was doing the correct thing. But my code wouldn't be storing the data
that needed
On Sunday, 20 November 2016 at 10:22:10 UTC, deadalnix wrote:
On Sunday, 20 November 2016 at 09:00:08 UTC, John Colvin wrote:
On Sunday, 20 November 2016 at 05:01:06 UTC, Nicholas Wilson
wrote:
On Saturday, 19 November 2016 at 23:03:05 UTC, deadalnix
wrote:
A lot of users are reporting errors
https://issues.dlang.org/show_bug.cgi?id=16679
Brad Roberts changed:
What|Removed |Added
Status|RESOLVED|REOPENED
On Sunday, 20 November 2016 at 11:19:24 UTC, Tofu Ninja wrote:
I feel like this should be simple but I can't seem to figure it
out. How do I declare a function to have the same call
signature as another function/callable type?
Like if I have:
alias Sig = int function(int x, int y);
How do I
https://issues.dlang.org/show_bug.cgi?id=16381
--- Comment #9 from Walter Bright ---
https://github.com/dlang/dmd/pull/6268
--
Mike Parker has done a fantastic job with the D blog: I really
like the unique direction he's taken, focusing on D users and
their first-hand experiences. It is what I tried to do with my
interviews that ran in the newsletter, and he's taken it to
another level. Compare other recent compiled
On Sunday, 20 November 2016 at 11:19:24 UTC, Tofu Ninja wrote:
I feel like this should be simple but I can't seem to figure it
out. How do I declare a function to have the same call
signature as another function/callable type?
Like if I have:
alias Sig = int function(int x, int y);
How do I
I feel like this should be simple but I can't seem to figure it
out. How do I declare a function to have the same call signature
as another function/callable type?
Like if I have:
alias Sig = int function(int x, int y);
How do I define a function such that it will have the same call
On Sunday, 20 November 2016 at 09:00:08 UTC, John Colvin wrote:
On Sunday, 20 November 2016 at 05:01:06 UTC, Nicholas Wilson
wrote:
On Saturday, 19 November 2016 at 23:03:05 UTC, deadalnix wrote:
A lot of users are reporting errors on debian and ubuntu. .o
generated by dmd do not link and
https://issues.dlang.org/show_bug.cgi?id=16381
--- Comment #8 from Walter Bright ---
Simpler test case:
__vector(float[4]) foo();
void bar() {
float g = foo().ptr[0];
}
--
On Sunday, 20 November 2016 at 08:59:19 UTC, Tourist wrote:
Please implement the suggestion. Thanks.
http://imgur.com/X7fJLpF
I have this problem as well. The usual workaround of long
pressing on the link to see the full URL is useless because the
URL do not show the topic title in them..
On Saturday, 19 November 2016 at 11:22:18 UTC, Stefan Koch wrote:
On Saturday, 19 November 2016 at 09:42:33 UTC, Stefan Koch
wrote:
Another small update.
I got rid of the heapClearing overhead.
By using ddmds allocator.
Because of that I was able to shave off 20ms overhead.
Allocation of
On Sunday, 20 November 2016 at 05:01:06 UTC, Nicholas Wilson
wrote:
On Saturday, 19 November 2016 at 23:03:05 UTC, deadalnix wrote:
A lot of users are reporting errors on debian and ubuntu. .o
generated by dmd do not link and libphobos.a is unusable.
This is very bad and we should consider a
Please implement the suggestion. Thanks.
http://imgur.com/X7fJLpF
On Saturday, 19 November 2016 at 22:18:39 UTC, Sai wrote:
I have seen luad and Walters own JavaScript VM that can be used
in D for embedded scripting purpose in an application.
I was wondering which is more popular among D applications? Any
suggestions?
Thanks, sai
I've used LuaD in a
https://issues.dlang.org/show_bug.cgi?id=16679
github-bugzi...@puremagic.com changed:
What|Removed |Added
Status|NEW |RESOLVED
https://issues.dlang.org/show_bug.cgi?id=16679
--- Comment #3 from github-bugzi...@puremagic.com ---
Commits pushed to master at https://github.com/dlang/dmd
https://github.com/dlang/dmd/commit/a5bffa8b35bb519ca7a5cd41fee86f541a1c2e76
fix Issue 16679 - prefetch on old pentium d results in an
https://issues.dlang.org/show_bug.cgi?id=10636
Walter Bright changed:
What|Removed |Added
Keywords||SIMD
https://issues.dlang.org/show_bug.cgi?id=10445
Walter Bright changed:
What|Removed |Added
Keywords||SIMD
--
https://issues.dlang.org/show_bug.cgi?id=7509
Walter Bright changed:
What|Removed |Added
Keywords||SIMD
https://issues.dlang.org/show_bug.cgi?id=16381
Walter Bright changed:
What|Removed |Added
Keywords||SIMD
1 - 100 of 124 matches
Mail list logo