Re: [racket-users] truncated text-outline rendering on dc-path%

2015-05-29 Thread Tim Brown
Thank you Matt. I'm glad that, for once, it wasn't the result of my failure to set something up! Regards, Tim (Apologies for whatever format this message comes in... I'm using the google mobile groups app) -- You received this message because you are subscribed to the Google Groups "Racket U

Re: [racket-users] truncated text-outline rendering on dc-path%

2015-05-29 Thread Tim Brown
Thank you Matt. I'm glad that, for once, it wasn't the result of my failure to set something up! Regards, Tim (Apologies for whatever format this message comes in... I'm using the google mobile groups app) -- You received this message because you are subscribed to the Google Groups "Racket U

Re: [racket-users] truncated text-outline rendering on dc-path%

2015-05-29 Thread Tim Brown
Thank you Matt. I'm glad that, for once, it wasn't the result of my failure to set something up! Regards, Tim (Apologies for whatever format this message comes in... I'm using the google mobile groups app) -- You received this message because you are subscribed to the Google Groups "Racket U

Re: [racket-users] Persistent vectors: a generic collections proof-of-concept

2015-05-29 Thread Alexis King
> My lazy-sequence implementation was exactly following SICP: while > theoretically pure and good, might not be the best in practice, so I believe > your implementation can be much better. > > Major performance boost in stateful implementation compared to lazy-sequence > with delay and force co

RE: [racket-users] 2 point about sribble

2015-05-29 Thread Jos Koot
BTW, expanding to full screen,does not immediately do what I want. Reducing far enough the zoom factor of the browser automatically places the margin notes in the margin. Of course a full screen allows larger zoom factors than delimited screens. Very nice. Thanks, Jos _ From: Jos Koot [

Re: [racket-users] truncated text-outline rendering on dc-path%

2015-05-29 Thread Matthew Flatt
I've pushed a repair for `text-outline` in the "draw-lib" package. The implementation of `text-outline` used a small bitmap to accumulate the path, and Cairo apparently discards paths that are far enough outside the bitmap's region. The revised implementation uses a recording surface, instead, to

Re: [racket-users] Keep getting call-with-file-lock/timeout

2015-05-29 Thread George Neuner
Hi John, On 5/29/2015 12:44 PM, 'John Clements' via Racket Users wrote: > On May 28, 2015, at 1:53 PM, George Neuner wrote: > I did see the message from John Clements. I'm not a Racket developer, > but superficially it appears to me that the negative delay values John > found should be causi

Re: [racket-users] Keep getting call-with-file-lock/timeout

2015-05-29 Thread Matthew Flatt
I don't see any relevant calls to that function, either, which suggests that the problem is in the "something terrible is happening" category. Some bugs have been fixed in Racket since v6.1.1. It's not at all clear that those bugs are relevant, but if it's easy to check, does buidling a current sn

Re: [racket-users] Dozens and dozens of interdependent modules, better to use include?

2015-05-29 Thread Lux
Thanks, I'm studying units, at this time they do not seems to be particularly helpful to entangle this mess (seems like more work, not less), but I need to deepen my understanding... Other suggestions will be appreciated as well, in the meantime! > If the issue you're facing is mutual depend

Re: [racket-users] Keep getting call-with-file-lock/timeout

2015-05-29 Thread 'John Clements' via Racket Users
> On May 28, 2015, at 1:53 PM, George Neuner wrote: > > On Wed, 27 May 2015 08:34:11 -0700 (PDT), N N > wrote: > >> I've been trying to set up Racket for evaluation purposes and due to being >> on CentOS with no root privileges, I've chosen the Racket minimal >> distribution. >> >> I was ab

[racket-users] Pull requests for net/url

2015-05-29 Thread Tim Brown
Folks, I have a pull request pending to break net/url into: - net/url: which functions as it currently does - net/url-strings: to parse/unparse URL strings and paths Here is my justification for doing so: I am writing some software that requires net/url to parse URLs to find their host, path an

Re: [racket-users] Persistent vectors: a generic collections proof-of-concept

2015-05-29 Thread Konrad Hinsen
Alexis King writes: > > How does this compare to https://github.com/ijp/pfds/ or the work > > described in http://www.ccs.neu.edu/racket/pubs/sfp10-kth.pdf ? > > In the case of the former, that targets R6RS, while this is > intended to be a more “native” Racket solution. The latter is in >

RE: [racket-users] 2 point about sribble

2015-05-29 Thread Jos Koot
Thanks to Metthew Burrerick and Gereg Henderschott for your replies. Deleting the css files works. I think best for me is to get accustomed to the new format. I think uniformness of format of docs is important, especially when putting things available for others. Thanks again, Jos _ From:

Re: [racket-users] Way to open DrRacket at a specific file line?

2015-05-29 Thread Laurent
I see. I suppose that on the second call to "$ drracket -singleInstance", it's main.rkt that is visited again? I'd be surprised if singleInstance discarded all the flags though. Instead of flags though, one could write something like @12,15 to specify the line and column, so that the OS thinks it'

Re: [racket-users] Way to open DrRacket at a specific file line?

2015-05-29 Thread Robby Findler
Ah: with the command line the initial time I think it can be made to work. I was worried about the communication of positions later on. Robby On Friday, May 29, 2015, Laurent wrote: > I was optimistic this could work because when you launch DrRacket with bad > flags it tries to open files with

Re: [racket-users] Re: Persistent vectors: a generic collections proof-of-concept

2015-05-29 Thread Alexey Cherkaev
My lazy-sequence implementation was exactly following SICP: while theoretically pure and good, might not be the best in practice, so I believe your implementation can be much better. Major performance boost in stateful implementation compared to lazy-sequence with delay and force comes from removi

Re: [racket-users] Re: Persistent vectors: a generic collections proof-of-concept

2015-05-29 Thread Alexis King
> Hi, the full code is attached (I hope Google Groups will preserve it...). Thank you for this! There is absolutely a performance gap, and I'll definitely look over it and see if I can figure out exactly why (I think a well-built sequence-based model should have comparable speed). I did implemen

Re: [racket-users] Persistent vectors: a generic collections proof-of-concept

2015-05-29 Thread Alexis King
> How does this compare to https://github.com/ijp/pfds/ or the work described > in http://www.ccs.neu.edu/racket/pubs/sfp10-kth.pdf ? In the case of the former, that targets R6RS, while this is intended to be a more “native” Racket solution. The latter is in Typed Racket, while this is currentl

Re: [racket-users] Re: Persistent vectors: a generic collections proof-of-concept

2015-05-29 Thread Alexey Cherkaev
Hi, the full code is attached (I hope Google Groups will preserve it...). Best regards, Alexey On 29 May 2015 at 11:51, Alexis King wrote: > > Maybe this belongs a bit more to your previous thread, but it can also > relate here: > > I see you are making generic sequence interface to collection

Re: [racket-users] Re: Persistent vectors: a generic collections proof-of-concept

2015-05-29 Thread Alexis King
> Maybe this belongs a bit more to your previous thread, but it can also relate > here: > I see you are making generic sequence interface to collections. Clojure from > 1.7 seems to move more towards "reducebles" rather than "sequable". I have > played with this idea for Racket a bit and it seem

Re: [racket-users] Way to open DrRacket at a specific file line?

2015-05-29 Thread Laurent
I was optimistic this could work because when you launch DrRacket with bad flags it tries to open files with these names, at least on Ubuntu: $ drracket my-file.rkt --line will try to open the file "--line" and complain with a GUI message. So I guess that means the non recognized flags are sent to

Re: [racket-users] Persistent vectors: a generic collections proof-of-concept

2015-05-29 Thread Konrad Hinsen
On 28/05/2015 09:59, Alexis King wrote: As a followup to my last thread regarding my generic collections library, I have now created a package that uses it to define an entirely new data structure. I've implemented Clojure's 32-way bitmapped tries to create a persistent vector implementation.

[racket-users] Re: Persistent vectors: a generic collections proof-of-concept

2015-05-29 Thread Alexey Cherkaev
It looks great! Thanks for putting time and effort into this. I think Racket in general will benefit from better support of immutable collections: it has already made the departure from Scheme by making cons-cells immutable. So, this is next logical step. Maybe this belongs a bit more to your p