Re: Auto-testing of GitHub pull requests

2013-09-24 Thread Jacob Carlborg
On 2013-09-24 18:25, Brad Roberts wrote: https://github.com/braddr/d-tester Could you add a link to this on the test results page? I always forget where this code is located. -- /Jacob Carlborg

Re: D language manipulation of dataframe type structures

2013-09-24 Thread lomereiter
I thought about it once but quickly abandoned the idea. The primary reason was that D doesn't have REPL and is thus not suitable for interactive data exploration.

D language manipulation of dataframe type structures

2013-09-24 Thread Jay Norwood
I've been playing with the python pandas app enables interactive manipulation of tables of data in their dataframe structure, which they say is similar to the structures used in R. It appears pandas has laid claim to being a faster version of R, but is doing so basically limited to what they c

Re: Grabbing a subset of a range if a particular value is found?

2013-09-24 Thread Ali Çehreli
On 09/24/2013 02:10 PM, Gary Willoughby wrote: > import std.algorithm; > import std.range; > import std.stdio; > > /** > * Each new term in the Fibonacci sequence is generated by adding the > previous > * two terms. By starting with 1 and 2, the first 10 terms will be: 1, > 2, 3, 5, > * 8,

Re: Grabbing a subset of a range if a particular value is found?

2013-09-24 Thread Gary Willoughby
On Tuesday, 24 September 2013 at 20:54:30 UTC, Ali Çehreli wrote: On 09/24/2013 01:48 PM, Gary Willoughby wrote:> I'm using std.range.recurrence to generate a range but i want to stop it > generating and grab the range when a particular value is added. e.g.: > > recurrence!("a[n-1] + a[n-2]

Re: Grabbing a subset of a range if a particular value is found?

2013-09-24 Thread Ali Çehreli
On 09/24/2013 01:48 PM, Gary Willoughby wrote:> I'm using std.range.recurrence to generate a range but i want to stop it > generating and grab the range when a particular value is added. e.g.: > > recurrence!("a[n-1] + a[n-2]")(1, 2) > .take(10) > .writeln; > > This writes ten numb

Grabbing a subset of a range if a particular value is found?

2013-09-24 Thread Gary Willoughby
I'm using std.range.recurrence to generate a range but i want to stop it generating and grab the range when a particular value is added. e.g.: recurrence!("a[n-1] + a[n-2]")(1, 2) .take(10) .writeln; This writes ten numbers to the command line which is fair enough but what would b

Re: Auto-testing of GitHub pull requests

2013-09-24 Thread Brad Roberts
On 9/24/13 4:29 AM, Joseph Rushton Wakeling wrote: On 24/09/13 13:01, Jacob Carlborg wrote: It's custom. I would guess it either uses a git hook or it uses some API provided by Github. Ahh, OK. I was wondering if it used some standard tool to manage starting the test jobs and reporting back

Re: Auto-testing of GitHub pull requests

2013-09-24 Thread Dicebot
On Tuesday, 24 September 2013 at 10:25:21 UTC, Joseph Rushton Wakeling wrote: Hello all, GitHub very nicely ensures that all pull requests to dmd, druntime and phobos are sent to the auto-tester and that success/failure reports are sent back. But ... how is this done? Is the auto-tester ent

Re: Auto-testing of GitHub pull requests

2013-09-24 Thread Joseph Rushton Wakeling
On 24/09/13 13:01, Jacob Carlborg wrote: It's custom. I would guess it either uses a git hook or it uses some API provided by Github. Ahh, OK. I was wondering if it used some standard tool to manage starting the test jobs and reporting back the tests -- something like Gerrit, Jenkins, etc. I

Re: Auto-testing of GitHub pull requests

2013-09-24 Thread Jacob Carlborg
On 2013-09-24 12:25, Joseph Rushton Wakeling wrote: Hello all, GitHub very nicely ensures that all pull requests to dmd, druntime and phobos are sent to the auto-tester and that success/failure reports are sent back. But ... how is this done? Is the auto-tester entirely custom written or does

Re: Sorting with non-ASCII characters

2013-09-24 Thread Chris
On Tuesday, 24 September 2013 at 10:35:53 UTC, Jos van Uden wrote: On 24-9-2013 11:26, Chris wrote: On Thursday, 19 September 2013 at 18:44:54 UTC, Jos van Uden wrote: On 19-9-2013 17:18, Chris wrote: Short question in case anyone knows the answer straight away: How do I sort text so that non

Re: Sorting with non-ASCII characters

2013-09-24 Thread Jos van Uden
On 24-9-2013 11:26, Chris wrote: On Thursday, 19 September 2013 at 18:44:54 UTC, Jos van Uden wrote: On 19-9-2013 17:18, Chris wrote: Short question in case anyone knows the answer straight away: How do I sort text so that non-ascii characters like "á" are treated in the same way as "a"? Now

Auto-testing of GitHub pull requests

2013-09-24 Thread Joseph Rushton Wakeling
Hello all, GitHub very nicely ensures that all pull requests to dmd, druntime and phobos are sent to the auto-tester and that success/failure reports are sent back. But ... how is this done? Is the auto-tester entirely custom written or does it use some standard tools? And how is it hooked

Re: Sorting with non-ASCII characters

2013-09-24 Thread Chris
On Thursday, 19 September 2013 at 18:44:54 UTC, Jos van Uden wrote: On 19-9-2013 17:18, Chris wrote: Short question in case anyone knows the answer straight away: How do I sort text so that non-ascii characters like "á" are treated in the same way as "a"? Now I'm getting this: [wow, ara, áb

Re: Decouple package modules with package interfaces

2013-09-24 Thread simendsjo
On Tuesday, 24 September 2013 at 07:08:24 UTC, Jonathan M Davis wrote: On Tuesday, September 24, 2013 08:54:42 simendsjo wrote: I just came across a problem where I either has a cyclic dependency, pass around three delegates, implement an interface or somehow hack some communication between two

Re: Decouple package modules with package interfaces

2013-09-24 Thread Jonathan M Davis
On Tuesday, September 24, 2013 08:54:42 simendsjo wrote: > I just came across a problem where I either has a cyclic > dependency, pass around three delegates, implement an interface > or somehow hack some communication between two modules. > > A simple way would be to add an interface, but interfa

Re: Unable to use tradional tools to find memory leaks

2013-09-24 Thread Flamaros
On Tuesday, 24 September 2013 at 01:09:29 UTC, growler wrote: Might be related to or even the same issue reported here: http://forum.dlang.org/thread/bug-1005...@http.d.puremagic.com/issues/ This is a Valgrind issue though and not DMD related. It seems I had the same issue, but for Dr Memory