Re: Detect that a child is waiting for input

2016-11-20 Thread unDEFER via Digitalmars-d
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 sy

Re: D with CygWin

2016-11-20 Thread unDEFER via Digitalmars-d
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, close-

Re: D with CygWin

2016-11-20 Thread rikki cattermole via Digitalmars-d
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 sour

Re: More technical material for the blog? Merge the newsletter?

2016-11-20 Thread Mike Parker via Digitalmars-d
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 t

interest in writing ints (to BitArray)?

2016-11-20 Thread Era Scarecrow via Digitalmars-d
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 reading

Re: What is going on with the ubuntu/debian debacle ?

2016-11-20 Thread deadalnix via Digitalmars-d
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 consider

Re: Detect that a child is waiting for input

2016-11-20 Thread John Colvin via Digitalmars-d
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 f

Re: CTFE Status

2016-11-20 Thread Stefan Koch via Digitalmars-d
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 b

Re: D with CygWin

2016-11-20 Thread unDEFER via Digitalmars-d
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.

Re: CTFE Status

2016-11-20 Thread Stefan Koch via Digitalmars-d
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

Re: D with CygWin

2016-11-20 Thread Mike Parker via Digitalmars-d
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.

Re: More technical material for the blog? Merge the newsletter?

2016-11-20 Thread Jacob Carlborg via Digitalmars-d
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 level

Re: What is going on with the ubuntu/debian debacle ?

2016-11-20 Thread Russel Winder via Digitalmars-d
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

Re: Don't truncate forum titles, use multiple lines instead

2016-11-20 Thread qznc via Digitalmars-d
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.

Re: TechEmpower Web Framework Performance Comparison Round 13 -- vibe.d non-starter?

2016-11-20 Thread thedeemon via Digitalmars-d
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

Detect that a child is waiting for input

2016-11-20 Thread unDEFER via Digitalmars-d
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 chi

Re: D with CygWin

2016-11-20 Thread rikki cattermole via Digitalmars-d
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 utilit

Re: D with CygWin

2016-11-20 Thread unDEFER via Digitalmars-d
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 "io

Re: What is going on with the ubuntu/debian debacle ?

2016-11-20 Thread John Colvin via Digitalmars-d
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 o

More technical material for the blog? Merge the newsletter?

2016-11-20 Thread Joakim via Digitalmars-d
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

Re: What is going on with the ubuntu/debian debacle ?

2016-11-20 Thread deadalnix via Digitalmars-d
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 libph

Re: Don't truncate forum titles, use multiple lines instead

2016-11-20 Thread MakersF via Digitalmars-d
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.. A

Re: CTFE Status

2016-11-20 Thread Stefan Koch via Digitalmars-d
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 dynam

Re: What is going on with the ubuntu/debian debacle ?

2016-11-20 Thread John Colvin via Digitalmars-d
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 h

Don't truncate forum titles, use multiple lines instead

2016-11-20 Thread Tourist via Digitalmars-d
Please implement the suggestion. Thanks. http://imgur.com/X7fJLpF