Re: [racket-users] PLT policy on Travis CI bandwidth costs

2015-04-02 Thread Spencer Florence
Greg's Travis CI repo has a branch for using Travises cache, so that each project would only download Racket once (per release). I don't know what its state is though? It seems like that would be idea if it works. https://github.com/greghendershott/travis-racket/tree/use-cache On Thu, Apr 2,

Re: [racket-users] Capturing sets of options in a splicing syntax class?

2015-05-27 Thread Spencer Florence
try `syntax/parse/experimental/template`. It gives you access to `??', which basically says use a if present, else b, and some other cool templates besides. From the docs: (syntax-parse #'(m 1 2 3) [(_ (~optional (~seq #:op op:expr)) arg:expr ...) (template ((?? op +) arg ...))]) #syntax:197:0

[racket-users] Cover 2.0

2015-05-30 Thread Spencer Florence
Hi All, We're pleased to announce the release of Cover 2.0! Along with the various bug fixes, Cover now: * Is faster. * Is completely thread safe. * Has a new, easier to use, Racket API. This is to support integrating with IDE's and make new output formats easier to write. New contributors are

Re: [racket-users] Cover 2.0

2015-05-30 Thread Spencer Florence
Whoops, sorry! Knew we forgot something... Sorry about that! Cover is a multi-file code coverage tool, designed to work like `raco test`. On Sat, May 30, 2015 at 8:36 PM Hendrik Boom hend...@topoi.pooq.com wrote: On Sat, May 30, 2015 at 06:00:06PM +, Spencer Florence wrote: Hi All

Re: [racket-users] Iteration speed

2015-06-01 Thread Spencer Florence
There is a `#lang typed/racket/base/no-check` On Mon, Jun 1, 2015 at 9:34 PM John Carmack jo...@oculus.com wrote: Is there an option to parse all the type annotations, but not do any of the checking? Highly interactive tuning sessions could work without type checking, then turn it back on for

Re: [racket-users] Macro introduce identifiers in the new expander

2015-07-21 Thread Spencer Florence
, 2015, at 12:35 PM, Spencer Florence spen...@florence.io wrote: Hello, I'm trying to update some code to the new expander. The below code works on 6.2 but fails on the new expander with an unbound identifier error. #lang racket (require (for-syntax syntax/parse)) ;; a standard

[racket-users] Macro introduce identifiers in the new expander

2015-07-20 Thread Spencer Florence
Hello, I'm trying to update some code to the new expander. The below code works on 6.2 but fails on the new expander with an unbound identifier error. #lang racket (require (for-syntax syntax/parse)) ;; a standard context for identifiers (define-for-syntax ctx #'ctx) ;; create an ID with the

Re: [racket-users] Bug with errortrace and begin-for-syntax?

2015-10-10 Thread Spencer Florence
Yup, that looks like a bug. I've created a PR to fix it: https://github.com/racket/errortrace/pull/4 On Sat, Oct 10, 2015 at 8:51 AM Matthias Felleisen wrote: > > On Oct 10, 2015, at 12:06 AM, Alex Knauth wrote: > > #lang racket/base > (require

[racket-users] Cover 3.0

2015-09-22 Thread Spencer Florence
Hi all, We're pleased to announce the release of Cover 3.0! Cover is an extensible multi-file code coverage tool for Racket. You can read more about it in our README at https://github.com/florence/cover . Breaking Changes: * The Coveralls format has been moved into its own package. Anyone

[racket-users] using a different "scribble.tex"

2016-01-06 Thread Spencer Florence
Hey all, I'm currently trying to use a custom tex style file with scribble. Unfortunately this style file conflicts with the line "\usepackage[usenames,dvipsnames]{color}" in the "scribble.tex" file include by the scribble to tex compiler. Is there any way to tell scribble to use a different

Re: [racket-users] Unicode subscripts in code and scribble

2016-03-10 Thread Spencer Florence
They way I've worked around this in the past is to render the problematic character as a Pict and then drop that Pict into the scribble document. Doing that has some problems but it can service if you can't get the character you want into scribble. On Thu, Mar 10, 2016, 9:19 AM Vincent St-Amour <

Re: [racket-users] using a different "scribble.tex"

2016-03-31 Thread Spencer Florence
t;scribble.tex" completely, and have a > style file (i.e., replacement for "scribble-style.tex") end the comment > and drop in your replacement for "scribble.tex". > > At Wed, 06 Jan 2016 20:44:40 +, Spencer Florence wrote: > > Hey all, > > I'm

Re: [racket-users] handin server error

2016-09-07 Thread Spencer Florence
This is a little bit of a hack and weakens the handin server security but adding the following to the top of your checker file should make this error go away: ``` (require handin-server/sandbox) (sandbox-path-permissions (cons (list 'read"/") (sandbox-path-permissions))) ```

[racket-users] Adding libraries to the student language search

2016-09-25 Thread Spencer Florence
When the current language is one of the student languages searching the documentation from DrRacket limits the search to a subset libraries installed. Is there any way to add a new library to this subset? --Spencer -- You received this message because you are subscribed to the Google Groups

Re: [racket-users] Why are hash and make-hash not symmetric?

2016-12-07 Thread Spencer Florence
For symmetry there is "make-immutable-hash", which is like "hash" but has the interface of "make-hash". (I don't know why "hash" is the way it is though). --spencer On Wed, Dec 7, 2016 at 10:49 AM David Storrs wrote: > -> (hash 'a 1 'b 2) > '#hash((a . 1) (b . 2)) > >

Re: [racket-users] project idea: drracket notebook mode

2018-12-27 Thread Spencer Florence
One exists: https://github.com/rmculpepper/iracket On Thu, Dec 27, 2018, 12:53 AM Andrew Gwozdziewycz It seems like the better bang for buck might be implementing a Jupyter > kernel, and leveraging that ecosystem. > > https://github.com/jupyter/jupyter/wiki/Jupyter-kernels > > On Dec 20, 2018,

Re: [racket-users] pict polygons

2019-12-17 Thread Spencer Florence
2htdp/image works with pict directly (they are pict-convertible?, and all pict functions accept those). If that does work for whatever reason, it shouldnt be terrible to write that function using ‘dc’ and ‘dc-path%’, and it would make a great PR to ‘pict’! —spencer On Tue, Dec 17, 2019 at 8:15

Re: [racket-users] Re: typo in manual

2019-11-25 Thread Spencer Florence
Not the first typo this library has had... I've pushed a repair, thanks for the report! --spf On Fri, Nov 22, 2019 at 11:47 AM 'Joel Dueck' via Racket Users < racket-users@googlegroups.com> wrote: > Documentation for individual packages is maintained by the package authors. > > Clicking on the

Re: [racket-users] cover package?

2020-02-26 Thread Spencer Florence
Moral of this story: the pkg-build server configuration can have bugs in it. Therefore, if you don't test it, it will have bugs in it --spencer On Wed, Feb 26, 2020 at 3:28 PM Stephen Foster wrote: > On further investigation, cover just seems to be broken, older versions > install without

Re: [racket-users] Re: ask a pict its colour?

2020-04-20 Thread Spencer Florence
You could use pict/convert to make a wrapper that remembers the color: ``` #lang racket (require pict pict/convert) (struct pict+color (pict color) #:property prop:pict-convertible (lambda (x) (pict+color-pict x))) (define (my-colorize p c) (pict+color (colorize p c) c)) (define