> On Sep 6, 2016, at 5:42 PM, Greg Hendershott
> wrote:
>
> Until this thread today, I wasn't even aware the AWS package could be
> used with GCS.
>
> It was a fair amount of work to update things to use v4 sig a year ago:
>
> https://github.com/greghendershott/aws/milestone/5?closed=1
>
>
Sorry, I'm not sure I understand what you mean.
You can use the module form to define more than one module in a file.
There is also the sub-modules functionality.
Both are documented at
https://docs.racket-lang.org/guide/Module_Syntax.html#%28part._module-syntax%29
Kind regards
Stephen
On Tue, 6
The following code produces a contract error; I think TR is making
assumptions that it probably shouldn’t be.
Please could someone investigate.
Thanks,
Tim
;;;
#lang typed/racket/gui
(define f (new frame% [label "Frame"]))
(define sldr
Thanks for joining in.
The amended question had nothing to do with the earlier example
I'm wondering if there's a quick, standard (and easily understood) idiom
(without an internal helper function) to recur on the variable argument list y
The flatten's not ideal - I may want to retain some sub
Thanks for noticing this! The type of `get-value` was wrong, probably
due to reading `position-integer?` in the docs as `positive-integer?`,
or something like that. I'll push a repair.
Sam
On Wed, Sep 7, 2016 at 7:47 AM, Tim Brown wrote:
> The following code produces a contract error; I think TR
On Wed, Sep 7, 2016 at 8:33 AM, Sanjeev Sharma wrote:
> Thanks for joining in.
>
> The amended question had nothing to do with the earlier example
>
Okay.
>
> I'm wondering if there's a quick, standard (and easily understood) idiom
> (without an internal helper function) to recur on the varia
Folks (Neil?),
Another type issue, but this time with pict3d.
I am trying to use the following code to display a sphere.
But there seems to be an issue throwing up a warning. A warning
that “will become an error in a future release”. A warning that
also seems to be using up a lot of juice to print
:-(
Latest nightly "snapshot 6.6.0.4--2016-09-07(42f4784/a)" still throws
the error.
Tim
On 07/09/16 15:37, Sam Tobin-Hochstadt wrote:
> I think this is fixed in the git repository. Can you try a snapshot build and
> see if that works?
>
> Sam
>
> On Wed, Sep 7, 2016 at 10:35 AM Tim Brown
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)))
```
--spen
Just illustrates the changing structure (increased nesting depth) on each
recursive call
The initial call to t2 changes the structure of the argument/parameter -
it puts in a list where there was no list.
Each recursive call from inside t2 again changes the structure, adding an
enclosing '()
On Wed, Sep 7, 2016 at 11:54 AM, Sanjeev Sharma wrote:
> Just illustrates the changing structure (increased nesting depth) on each
> recursive call
>
> The initial call to t2 changes the structure of the
> argument/parameter - it puts in a list where there was no list.
>
> Each recursive call fr
On Wed, Sep 7, 2016 at 12:18 PM, Jon Zeppieri wrote:
>
>
> ```
> #lang racket/base
>
> (require racket/match)
>
> (define (foldl* proc init . xs)
> (match xs
> ['() init]
> [(cons x xs) (apply foldl* proc (proc x init) xs)]))
> ```
>
>
I should provide an example. So, if you were using
On Wed, Sep 7, 2016 at 12:18 PM, Jon Zeppieri wrote:
>
> Note that this function still generates a list as output. I suppose it
> could instead generate as many values as there are initial elements of xs,
>
Uh, and you can disregard this statement altogether, since it's crazy
[sorry]. `foldl*`,
I’m getting chaperone errors that seem to occur when calling a function defined
in TR that uses hash-union to construct hash tables from another file.
Here’s the text of the error:
procedure chaperone: non-chaperone result;
received a 2nd argument that is not a chaperone of the original 2nd arg
It's not clear what's going on here without seeing more of the code. A
minimal example isn't necessary, just something runnable.
Sam
On Wed, Sep 7, 2016 at 1:31 PM, 'John Clements' via Racket Users
wrote:
> I’m getting chaperone errors that seem to occur when calling a function
> defined in TR
On 09/06/2016 02:40 PM, 'John Clements' via Racket Users wrote:
> Obvious fixes that I don’t like:
>
> 1) stop using google cloud storage, starting using Amazon S3.
> 2) use the old PLaneT version instead of the shiny new pkg version.
>
> Any other suggestions?
3) maybe there's a "google API" f
> On Sep 7, 2016, at 10:48 AM, Tony Garnock-Jones wrote:
>
> On 09/06/2016 02:40 PM, 'John Clements' via Racket Users wrote:
>> Obvious fixes that I don’t like:
>>
>> 1) stop using google cloud storage, starting using Amazon S3.
>> 2) use the old PLaneT version instead of the shiny new pkg vers
Isn't there also the option of using the aws pkg at the hash from before
the change to v4?
Sam
On Wed, Sep 7, 2016 at 3:23 PM 'John Clements' via Racket Users <
racket-users@googlegroups.com> wrote:
>
> > On Sep 7, 2016, at 10:48 AM, Tony Garnock-Jones
> wrote:
> >
> > On 09/06/2016 02:40 PM, '
> On Sep 7, 2016, at 1:02 PM, Sam Tobin-Hochstadt wrote:
>
> Isn't there also the option of using the aws pkg at the hash from before the
> change to v4?
Yes, definitely. (In fact, that’s what I wound up doing, after a git bisect.) I
might just fork and branch and submit it as a separate pkg
19 matches
Mail list logo