Re: [racket-users] Question regarding the function printBoard board

2019-04-24 Thread orenpa11
Thanks

On Tuesday, April 23, 2019 at 10:12:00 PM UTC+3, Stefan Schmiedl wrote:
>
>
> "orenpa11" >, 23.04.2019, 20:53: 
>
> > Hi 
> > I am using  the functionprintBoard board  (DrRacket  Pretty Big) 
> > 
> > (printBoard  '((0 0 2 0) (0 0 0 0) (0 0 8 0) (0 0 0 0))) 
> > and the result is 
> > 
> > (0 0 2 0) 
> > (0 0 0 0) 
> > (0 0 8 0) 
> > (0 0 0 0) 
> > "" 
>
> No, it is not. The *print output* is 
> (0 0 2 0) 
> (0 0 0 0) 
> (0 0 8 0) 
> (0 0 0 0) 
> while the *return value* is the empty string "" as 
> implemented in your code. 
>
> > How do I delete the "" ? 
>
> How would you change your question given the information above? 
>
> s. 
>
> > I would like the output to be   
> > (0 0 2 0) 
> > (0 0 0 0) 
> > (0 0 8 0) 
> > (0 0 0 0) 
> > 
> > P.S. the code is 
> > 
> > (define (buildBoard n)   ;build the started board   
> >(cond ((= n 0) '()) 
> >  (else (cons '(0 0 0 0) (buildBoard (sub1 n)) 
> > 
> > (define (printBoard board) ;print the board 
> >   (cond ((empty? board) "" ) 
> > (else (writeln(first board)) 
> >  (printBoard (rest board) 
>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] Question regarding the function printBoard board

2019-04-23 Thread orenpa11
Thanks

On Tuesday, April 23, 2019 at 9:59:35 PM UTC+3, Dexter Lagan wrote:
>
> Hi there!
>
>   You can suppress à function’s output with (void (func ...)) like so:
>
> (void (printBoard  '((0 0 2 0) (0 0 0 0) (0 0 8 0) (0 0 0 0
>
> Or you can modify your original function and replace the “” by (void) like 
> so:
>
> ...
> (cond ((empty? board) (void) ) 
> ...
>
> Dexter
>
> On Apr 23, 2019, at 8:53 PM, orenpa11 > 
> wrote:
>
> Hi
> I am using  the functionprintBoard board  (DrRacket  Pretty Big) 
>
> (printBoard  '((0 0 2 0) (0 0 0 0) (0 0 8 0) (0 0 0 0)))
>
> and the result is 
>
> (0 0 2 0)
> (0 0 0 0)
> (0 0 8 0)
> (0 0 0 0)
> "" 
>
> How do I delete the "" ?
>
> I would like the output to be  
>
> (0 0 2 0)
> (0 0 0 0)
> (0 0 8 0)
> (0 0 0 0)
>
> Thanks
>
>
> P.S. the code is 
>
> (define (buildBoard n)   ;build the started board  
>(cond ((= n 0) '())
>  (else (cons '(0 0 0 0) (buildBoard (sub1 n))
>
> (define (printBoard board) ;print the board
>   (cond ((empty? board) "" ) 
> (else (writeln(first board))
>  (printBoard (rest board)
>
>
>
>  
>
> -- 
> You received this message because you are subscribed to the Google Groups 
> "Racket Users" group.
> To unsubscribe from this group and stop receiving emails from it, send an 
> email to racket...@googlegroups.com .
> For more options, visit https://groups.google.com/d/optout.
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Question regarding the function printBoard board

2019-04-23 Thread orenpa11
Hi
I am using  the functionprintBoard board  (DrRacket  Pretty Big) 

(printBoard  '((0 0 2 0) (0 0 0 0) (0 0 8 0) (0 0 0 0)))

and the result is 

(0 0 2 0)
(0 0 0 0)
(0 0 8 0)
(0 0 0 0)
"" 

How do I delete the "" ?

I would like the output to be  

(0 0 2 0)
(0 0 0 0)
(0 0 8 0)
(0 0 0 0)

Thanks


P.S. the code is 

(define (buildBoard n)   ;build the started board  
   (cond ((= n 0) '())
 (else (cons '(0 0 0 0) (buildBoard (sub1 n))

(define (printBoard board) ;print the board
  (cond ((empty? board) "" ) 
(else (writeln(first board))
 (printBoard (rest board)



 

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Transfer code from "intermediate student with lamnda" to "Pretty big"

2019-02-19 Thread orenpa11
Hi
Is it possible to transfer code from "intermediate student with lamnda" to 
"Pretty big"
for exmple :

(require 2htdp/image)
(require 2htdp/universe)


(define (join-together ls1 ls2)
  (local 
[; help : [ListOf X] -> [ListOf X]
 ; (help ls1) drops the invariant argument ls2
 (define (help ls1)
   (cond
 [(empty? ls1) ls2]
 [else (cons (first ls1) 
 (help (rest ls1)))]))]
(help ls1)))

(check-expect (join-together '() '(a b c d e f)) '(a b c d e f))
(check-expect (join-together '(a)  '(b c d e f)) '(a b c d e f))
(check-expect (join-together '(a b)  '(c d e f)) '(a b c d e f))
(check-expect (join-together '(a b c ) '(d e f)) '(a b c d e f))
(check-expect (join-together '(a b c d)  '(e f)) '(a b c d e f))
(check-expect (join-together '(a b c d e)  '(f)) '(a b c d e f))
(check-expect (join-together '(a b c d e f) '()) '(a b c d e f))



Thanks,
Or

p.s. I get the error

check-expect: undefined;
 cannot reference an identifier before its definition

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] Re: I am looking for someone who can code me a memory game in drracket. I pay for it.

2019-02-09 Thread orenpa11
Hi,
Did you write the code in DrRacket ?

Thanks,
Or

On Monday, May 21, 2018 at 2:28:26 PM UTC+3, ronen...@leobaeck.net wrote:
>
> Hey I need a code of memory game in Drracket in any language. I'll pay you 
> for this:D.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] How to start a program in pretty big

2019-02-07 Thread orenpa11
Ok
So there is no need to add   #lang  before I am writing the code.
Thanks,
Or


On Thursday, February 7, 2019 at 7:00:52 PM UTC+2, Matthias Felleisen wrote:
>
>
> As several people have mentioned in the past, you go into DrRacket and use 
> the Language menu to choose Pretty Big. 
>
>
>
> > On Feb 7, 2019, at 11:57 AM, orenpa11 > 
> wrote: 
> > 
> > Hi, 
> > If I would like to write a code in pretty big what is the first line 
> that need to be written ? 
> > Can I use  #lang  ? 
> > 
> > Thanks, 
> > Or 
> > 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Racket Users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to racket-users...@googlegroups.com . 
> > For more options, visit https://groups.google.com/d/optout. 
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] How to start a program in pretty big

2019-02-07 Thread orenpa11
Hi,
If I would like to write a code in pretty big what is the first line that 
need to be written ?
Can I use  #lang  ?

Thanks,
Or


-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] snake game

2019-01-28 Thread orenpa11
Thanks
Or

On Saturday, January 26, 2019 at 10:04:45 PM UTC+2, Matthias Felleisen 
wrote:
>
>
> This is a working PB program: 
>
> (require test-engine/racket-tests)
> (require 2htdp/image)
> (require 2htdp/universe)
>
> (big-bang 100
>   (to-draw (lambda (x) (circle (+ x 1) 'solid 'red)))
>   (on-tick sub1)
>   (stop-when zero?))
>
> (test)
>
>
> Now please do the rest of your homework yourself. 
>
>
> On Jan 26, 2019, at 2:55 PM, orenpa11 > 
> wrote:
>
> Hi Matthias ,
> I am sorry but I still did get it.
> should I import the snake file that was written in "Beginning Student with 
> List Abbreviations"  and the code will be chnaged to  pretty big ?
> or only the "check-expect" is been chnaged from  "Beginning Student with 
> List Abbreviations"  to  pretty big ?
> Does Pretty Big has  drawing functions ?
>
> Thanks,
> Or
>
> On Friday, January 25, 2019 at 5:33:50 PM UTC+2, Matthias Felleisen wrote:
>>
>>
>> See below. I gave precise instructions. 
>>
>>
>> > On Jan 25, 2019, at 10:27 AM, orenpa11  wrote: 
>> > 
>> > OK, 
>> > Got it , but how can I import the code of the snake program that was 
>> written in "Beginning Student with List Abbreviations"  and chnage it to 
>>  pretty big ? 
>> >   
>> > 
>> > On Friday, January 25, 2019 at 4:08:40 PM UTC+2, Robby Findler wrote: 
>> > You've opened the right dialog. Now type "test-" into it. You should 
>> > see the file appear. Click on it. 
>> > 
>> > Robby 
>> > 
>> > On Fri, Jan 25, 2019 at 7:53 AM orenpa11  wrote: 
>> > > 
>> > > Hi, 
>> > > Sorry but I did not get it. 
>> > > should I add the path to the rkt file or add the code ? 
>> > > 
>> > > Thanks, 
>> > > Or 
>> > > 
>> > > On Friday, January 25, 2019 at 1:39:12 PM UTC+2, Matthias Felleisen 
>> wrote: 
>> > >> 
>> > >> 
>> > >> DrRacket -> File -> Open Require Path -> enter test- -> use mouse 
>> > >> 
>> > >> 
>> > >> On Jan 24, 2019, at 11:11 PM, orenpa11  wrote: 
>> > >> 
>> > >> Hi 
>> > >> where can I find the  test-engine ? 
>> > >> I would like to copy the code  and  "play" with it. 
>> > >> So I can understand it better . 
>> > >> just copying the code is not helpful because I need to understand 
>> it. 
>> > >> 
>> > >> Thanks, 
>> > >> Or 
>> > >> 
>> > >> On Thursday, January 24, 2019 at 11:54:34 PM UTC+2, Matthias 
>> Felleisen wrote: 
>> > >>> 
>> > >>> 
>> > >>> Yes there is. Use (require test-engine/racket-tests) 
>> > >>> at the top and (test) at the bottom. 
>> > >>> 
>> > >>> But it sounds like you’re copying and pasting homework 
>> > >>> solutions. Hmph. 
>> > >>> 
>> > >>> 
>> > >>> 
>> > >>> 
>> > >>> > On Jan 24, 2019, at 3:44 PM, orenpa11  wrote: 
>> > >>> > 
>> > >>> > Hi Matthias , 
>> > >>> > Unfortunately I need to write the project in pretty big language. 
>> > >>> > The game is not written in pretty big language as far as I know. 
>> > >>> > I thought that can copy andycode that was written in any language 
>> in racket to pretty big. 
>> > >>> > Is there a way to transfer code that was written in  "Beginning 
>> Student with List Abbreviations" to pretty big ? 
>> > >>> > 
>> > >>> > Thanks, 
>> > >>> > Or 
>> > >>> > 
>> > >>> > 
>> > >>> > 
>> > >>> > 
>> > >>> > On Thursday, January 24, 2019 at 9:19:14 PM UTC+2, Matthias 
>> Felleisen wrote: 
>> > >>> > 
>> > >>> > 
>> > >>> > Where did you find the snake game? 
>> > >>> > Where did it say it’s written in Pretty Big? 
>> > >>> > 
>> > >>> > We have not used Pretty Big in over a decade in education, 
>> > >>> > neither does anyone in the Racket edu community proper. 
>> > >>> 

Re: [racket-users] snake game

2019-01-26 Thread orenpa11
Hi Matthias ,
I am sorry but I still did get it.
should I import the snake file that was written in "Beginning Student with 
List Abbreviations"  and the code will be chnaged to  pretty big ?
or only the "check-expect" is been chnaged from  "Beginning Student with 
List Abbreviations"  to  pretty big ?
Does Pretty Big has  drawing functions ?

Thanks,
Or

On Friday, January 25, 2019 at 5:33:50 PM UTC+2, Matthias Felleisen wrote:
>
>
> See below. I gave precise instructions. 
>
>
> > On Jan 25, 2019, at 10:27 AM, orenpa11 > 
> wrote: 
> > 
> > OK, 
> > Got it , but how can I import the code of the snake program that was 
> written in "Beginning Student with List Abbreviations"  and chnage it to 
>  pretty big ? 
> >   
> > 
> > On Friday, January 25, 2019 at 4:08:40 PM UTC+2, Robby Findler wrote: 
> > You've opened the right dialog. Now type "test-" into it. You should 
> > see the file appear. Click on it. 
> > 
> > Robby 
> > 
> > On Fri, Jan 25, 2019 at 7:53 AM orenpa11  wrote: 
> > > 
> > > Hi, 
> > > Sorry but I did not get it. 
> > > should I add the path to the rkt file or add the code ? 
> > > 
> > > Thanks, 
> > > Or 
> > > 
> > > On Friday, January 25, 2019 at 1:39:12 PM UTC+2, Matthias Felleisen 
> wrote: 
> > >> 
> > >> 
> > >> DrRacket -> File -> Open Require Path -> enter test- -> use mouse 
> > >> 
> > >> 
> > >> On Jan 24, 2019, at 11:11 PM, orenpa11  wrote: 
> > >> 
> > >> Hi 
> > >> where can I find the  test-engine ? 
> > >> I would like to copy the code  and  "play" with it. 
> > >> So I can understand it better . 
> > >> just copying the code is not helpful because I need to understand it. 
> > >> 
> > >> Thanks, 
> > >> Or 
> > >> 
> > >> On Thursday, January 24, 2019 at 11:54:34 PM UTC+2, Matthias 
> Felleisen wrote: 
> > >>> 
> > >>> 
> > >>> Yes there is. Use (require test-engine/racket-tests) 
> > >>> at the top and (test) at the bottom. 
> > >>> 
> > >>> But it sounds like you’re copying and pasting homework 
> > >>> solutions. Hmph. 
> > >>> 
> > >>> 
> > >>> 
> > >>> 
> > >>> > On Jan 24, 2019, at 3:44 PM, orenpa11  wrote: 
> > >>> > 
> > >>> > Hi Matthias , 
> > >>> > Unfortunately I need to write the project in pretty big language. 
> > >>> > The game is not written in pretty big language as far as I know. 
> > >>> > I thought that can copy andycode that was written in any language 
> in racket to pretty big. 
> > >>> > Is there a way to transfer code that was written in  "Beginning 
> Student with List Abbreviations" to pretty big ? 
> > >>> > 
> > >>> > Thanks, 
> > >>> > Or 
> > >>> > 
> > >>> > 
> > >>> > 
> > >>> > 
> > >>> > On Thursday, January 24, 2019 at 9:19:14 PM UTC+2, Matthias 
> Felleisen wrote: 
> > >>> > 
> > >>> > 
> > >>> > Where did you find the snake game? 
> > >>> > Where did it say it’s written in Pretty Big? 
> > >>> > 
> > >>> > We have not used Pretty Big in over a decade in education, 
> > >>> > neither does anyone in the Racket edu community proper. 
> > >>> > 
> > >>> > This community supports people readily wth answers, but 
> > >>> > we need to know what you know. 
> > >>> > 
> > >>> > — Matthias 
> > >>> > 
> > >>> > 
> > >>> > 
> > >>> > 
> > >>> > > On Jan 24, 2019, at 12:56 PM, orenpa11  
> wrote: 
> > >>> > > 
> > >>> > > Hi 
> > >>> > > I need to create a project in pertty big . 
> > >>> > > why this code is not been supported ? 
> > >>> > > 
> > >>> > > Thanks, 
> > >>> > > Or 
> > >>> > > 
> > >>> > > On Thursday, January 24, 2019 at 3:29:11 PM UTC+2, Kieron Hardy 
> wrote: 
> > >>> > > The language you should be using

Re: [racket-users] snake game

2019-01-25 Thread orenpa11
Hi,
Sorry but I did not get it.
should I add the path to the rkt file or add the code ?

Thanks,
Or

On Friday, January 25, 2019 at 1:39:12 PM UTC+2, Matthias Felleisen wrote:
>
>
> DrRacket -> File -> Open Require Path -> enter test- -> use mouse 
>
>
> On Jan 24, 2019, at 11:11 PM, orenpa11 > 
> wrote:
>
> Hi
> where can I find the  test-engine ?
> I would like to copy the code  and  "play" with it.
> So I can understand it better .
> just copying the code is not helpful because I need to understand it.
>
> Thanks,
> Or
>
> On Thursday, January 24, 2019 at 11:54:34 PM UTC+2, Matthias Felleisen 
> wrote:
>>
>>
>> Yes there is. Use (require test-engine/racket-tests) 
>> at the top and (test) at the bottom. 
>>
>> But it sounds like you’re copying and pasting homework 
>> solutions. Hmph. 
>>
>>
>>
>>
>> > On Jan 24, 2019, at 3:44 PM, orenpa11  wrote: 
>> > 
>> > Hi Matthias , 
>> > Unfortunately I need to write the project in pretty big language. 
>> > The game is not written in pretty big language as far as I know. 
>> > I thought that can copy andycode that was written in any language in 
>> racket to pretty big. 
>> > Is there a way to transfer code that was written in  "Beginning Student 
>> with List Abbreviations" to pretty big ? 
>> > 
>> > Thanks, 
>> > Or 
>> > 
>> > 
>> > 
>> > 
>> > On Thursday, January 24, 2019 at 9:19:14 PM UTC+2, Matthias Felleisen 
>> wrote: 
>> > 
>> > 
>> > Where did you find the snake game? 
>> > Where did it say it’s written in Pretty Big? 
>> > 
>> > We have not used Pretty Big in over a decade in education, 
>> > neither does anyone in the Racket edu community proper. 
>> > 
>> > This community supports people readily wth answers, but 
>> > we need to know what you know. 
>> > 
>> > — Matthias 
>> > 
>> > 
>> > 
>> > 
>> > > On Jan 24, 2019, at 12:56 PM, orenpa11  wrote: 
>> > > 
>> > > Hi 
>> > > I need to create a project in pertty big . 
>> > > why this code is not been supported ? 
>> > > 
>> > > Thanks, 
>> > > Or 
>> > > 
>> > > On Thursday, January 24, 2019 at 3:29:11 PM UTC+2, Kieron Hardy wrote:
>>  
>> > > The language you should be using is "Beginning Student with List 
>> Abbreviations". 
>> > > 
>> > > On Jan 24, 2019, at 4:33 AM, orenpa11  wrote: 
>> > > 
>> > >> Hi, 
>> > >> when I removed the line 
>> > >> #reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname 
>> snake-full) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t 
>> constructor repeating-decimal #f #t none #f ( 
>> > >> 
>> > >> And changed the  language to pretty big. 
>> > >> I recived this error: 
>> > >> Welcome to DrRacket, version 7.1 [3m]. 
>> > >> Language: Pretty Big; memory limit: 128 MB. 
>> > >> . . check-expect: undefined; 
>> > >>  cannot reference an identifier before its definition 
>> > >> 
>> > >> Any idea ? 
>> > >> 
>> > >> Thanks, 
>> > >> Or 
>> > >> 
>> > >> 
>> > >> 
>> > >> 
>> > >> 
>> > >> On Wednesday, January 23, 2019 at 10:49:01 PM UTC+2, Kieron Hardy 
>> wrote: 
>> > >> It seems the metadata lines added by DrRacket (mentioned by John) 
>> are processed when the a source file is loaded into DrRacket (via the menu 
>> option File/Open), but are not processed if the source code is directly 
>> copied (e.g. from a browser window) into a DrRacket window and then 
>> executed with the 'Run' button. 
>> > >> 
>> > >> The metadata includes a #reader directive, e.g.: 
>> > >> (#reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname 
>> snake-full) ...) 
>> > >> 
>> > >> This reader directive appears to be silently ignored by DrRacket 
>> when the source is 'Run', even though DrRacket shows "#reader" in red (as 
>> when an error is detected). The actions taken by DrRacket when 'Run' is 
>> pressed seem to depend on the settings in effect when the code is executed, 
>> which could be nothing, or t

Re: [racket-users] snake game

2019-01-24 Thread orenpa11
Hi
where can I find the  test-engine ?
I would like to copy the code  and  "play" with it.
So I can understand it better .
just copying the code is not helpful because I need to understand it.

Thanks,
Or

On Thursday, January 24, 2019 at 11:54:34 PM UTC+2, Matthias Felleisen 
wrote:
>
>
> Yes there is. Use (require test-engine/racket-tests) 
> at the top and (test) at the bottom. 
>
> But it sounds like you’re copying and pasting homework 
> solutions. Hmph. 
>
>
>
>
> > On Jan 24, 2019, at 3:44 PM, orenpa11 > 
> wrote: 
> > 
> > Hi Matthias , 
> > Unfortunately I need to write the project in pretty big language. 
> > The game is not written in pretty big language as far as I know. 
> > I thought that can copy andycode that was written in any language in 
> racket to pretty big. 
> > Is there a way to transfer code that was written in  "Beginning Student 
> with List Abbreviations" to pretty big ? 
> > 
> > Thanks, 
> > Or 
> > 
> > 
> > 
> > 
> > On Thursday, January 24, 2019 at 9:19:14 PM UTC+2, Matthias Felleisen 
> wrote: 
> > 
> > 
> > Where did you find the snake game? 
> > Where did it say it’s written in Pretty Big? 
> > 
> > We have not used Pretty Big in over a decade in education, 
> > neither does anyone in the Racket edu community proper. 
> > 
> > This community supports people readily wth answers, but 
> > we need to know what you know. 
> > 
> > — Matthias 
> > 
> > 
> > 
> > 
> > > On Jan 24, 2019, at 12:56 PM, orenpa11  wrote: 
> > > 
> > > Hi 
> > > I need to create a project in pertty big . 
> > > why this code is not been supported ? 
> > > 
> > > Thanks, 
> > > Or 
> > > 
> > > On Thursday, January 24, 2019 at 3:29:11 PM UTC+2, Kieron Hardy wrote: 
> > > The language you should be using is "Beginning Student with List 
> Abbreviations". 
> > > 
> > > On Jan 24, 2019, at 4:33 AM, orenpa11  wrote: 
> > > 
> > >> Hi, 
> > >> when I removed the line 
> > >> #reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname 
> snake-full) (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t 
> constructor repeating-decimal #f #t none #f ( 
> > >> 
> > >> And changed the  language to pretty big. 
> > >> I recived this error: 
> > >> Welcome to DrRacket, version 7.1 [3m]. 
> > >> Language: Pretty Big; memory limit: 128 MB. 
> > >> . . check-expect: undefined; 
> > >>  cannot reference an identifier before its definition 
> > >> 
> > >> Any idea ? 
> > >> 
> > >> Thanks, 
> > >> Or 
> > >> 
> > >> 
> > >> 
> > >> 
> > >> 
> > >> On Wednesday, January 23, 2019 at 10:49:01 PM UTC+2, Kieron Hardy 
> wrote: 
> > >> It seems the metadata lines added by DrRacket (mentioned by John) are 
> processed when the a source file is loaded into DrRacket (via the menu 
> option File/Open), but are not processed if the source code is directly 
> copied (e.g. from a browser window) into a DrRacket window and then 
> executed with the 'Run' button. 
> > >> 
> > >> The metadata includes a #reader directive, e.g.: 
> > >> (#reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname 
> snake-full) ...) 
> > >> 
> > >> This reader directive appears to be silently ignored by DrRacket when 
> the source is 'Run', even though DrRacket shows "#reader" in red (as when 
> an error is detected). The actions taken by DrRacket when 'Run' is pressed 
> seem to depend on the settings in effect when the code is executed, which 
> could be nothing, or throwing a confusing error. 
> > >> 
> > >> The solution for the original poster's issue is as John directs; 
> remove the metadata (i.e. #reader directive) and manually set the language. 
> > >> 
> > >> However, I feel that DrRacket should recognize and act on (and 
> perhaps also remove/hide from view) the metadata if the metadata occurs as 
> from a copy/paste directly into a DrRacket window (e.g. as from a URL). The 
> current behaviour is, I think, a bug and a trap (perhaps showstopping) for 
> a new user experimenting with Racket. 
> > >> 
> > >> Note that the Racket executable seems to process the metadata 
> properly, understanding the language to use, etc.. so that the code behaves 
> 

Re: [racket-users] snake game

2019-01-24 Thread orenpa11
Hi Matthias ,
Unfortunately I need to write the project in pretty big language.
The game is not written in pretty big language as far as I know.
I thought that can copy andycode that was written in any language in racket 
to pretty big.
Is there a way to transfer code that was written in  "Beginning Student 
with List Abbreviations" to pretty big ?

Thanks,
Or




On Thursday, January 24, 2019 at 9:19:14 PM UTC+2, Matthias Felleisen wrote:
>
>
>
> Where did you find the snake game? 
> Where did it say it’s written in Pretty Big? 
>
> We have not used Pretty Big in over a decade in education, 
> neither does anyone in the Racket edu community proper. 
>
> This community supports people readily wth answers, but 
> we need to know what you know. 
>
> — Matthias 
>
>
>
>
> > On Jan 24, 2019, at 12:56 PM, orenpa11 > 
> wrote: 
> > 
> > Hi 
> > I need to create a project in pertty big . 
> > why this code is not been supported ? 
> > 
> > Thanks, 
> > Or 
> > 
> > On Thursday, January 24, 2019 at 3:29:11 PM UTC+2, Kieron Hardy wrote: 
> > The language you should be using is "Beginning Student with List 
> Abbreviations". 
> > 
> > On Jan 24, 2019, at 4:33 AM, orenpa11  wrote: 
> > 
> >> Hi, 
> >> when I removed the line 
> >> #reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname snake-full) 
> (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor 
> repeating-decimal #f #t none #f ( 
> >> 
> >> And changed the  language to pretty big. 
> >> I recived this error: 
> >> Welcome to DrRacket, version 7.1 [3m]. 
> >> Language: Pretty Big; memory limit: 128 MB. 
> >> . . check-expect: undefined; 
> >>  cannot reference an identifier before its definition 
> >> 
> >> Any idea ? 
> >> 
> >> Thanks, 
> >> Or 
> >> 
> >> 
> >> 
> >> 
> >> 
> >> On Wednesday, January 23, 2019 at 10:49:01 PM UTC+2, Kieron Hardy 
> wrote: 
> >> It seems the metadata lines added by DrRacket (mentioned by John) are 
> processed when the a source file is loaded into DrRacket (via the menu 
> option File/Open), but are not processed if the source code is directly 
> copied (e.g. from a browser window) into a DrRacket window and then 
> executed with the 'Run' button. 
> >> 
> >> The metadata includes a #reader directive, e.g.: 
> >> (#reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname 
> snake-full) ...) 
> >> 
> >> This reader directive appears to be silently ignored by DrRacket when 
> the source is 'Run', even though DrRacket shows "#reader" in red (as when 
> an error is detected). The actions taken by DrRacket when 'Run' is pressed 
> seem to depend on the settings in effect when the code is executed, which 
> could be nothing, or throwing a confusing error. 
> >> 
> >> The solution for the original poster's issue is as John directs; remove 
> the metadata (i.e. #reader directive) and manually set the language. 
> >> 
> >> However, I feel that DrRacket should recognize and act on (and perhaps 
> also remove/hide from view) the metadata if the metadata occurs as from a 
> copy/paste directly into a DrRacket window (e.g. as from a URL). The 
> current behaviour is, I think, a bug and a trap (perhaps showstopping) for 
> a new user experimenting with Racket. 
> >> 
> >> Note that the Racket executable seems to process the metadata properly, 
> understanding the language to use, etc.. so that the code behaves as 
> intended. 
> >> 
> >> On Wed, Jan 23, 2019 at 12:32 PM K H  wrote: 
> >> Hello Or, 
> >> 
> >> The language is not "Pretty Big". 
> >> 
> >> You should be using "Beginning Student with List Abbreviations". 
> >> 
> >> The DrRacket metadata lines referred to by John set the correct 
> language. In your case you must have changed the language somehow. Or 
> perhaps the file needs to be saved before the metadata is acted upon. 
> >> 
> >> HTH, 
> >> 
> >> Kieron. 
> >> 
> >> 
> >> On Wed, Jan 23, 2019 at 12:17 PM 'John Clements' via Racket Users <
> racket...@googlegroups.com> wrote: 
> >> Interesting problem; your screenshot shows header text that should not 
> appear in the window, which suggests to me that you copied and pasted the 
> text from somewhere else into a buffer where the language level was already 
> set. It looks to me like you 

Re: [racket-users] snake game

2019-01-24 Thread orenpa11
Hi
I need to create a project in pertty big .
why this code is not been supported ?

Thanks,
Or

On Thursday, January 24, 2019 at 3:29:11 PM UTC+2, Kieron Hardy wrote:
>
> The language you should be using is "Beginning Student with List 
> Abbreviations".
>
> On Jan 24, 2019, at 4:33 AM, orenpa11 > 
> wrote:
>
> Hi,
> when I removed the line
> #reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname snake-full) 
> (read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor 
> repeating-decimal #f #t none #f (
>
> And changed the  language to pretty big.
> I recived this error:
> Welcome to DrRacket, version 7.1 [3m].
> Language: Pretty Big; memory limit: 128 MB.
> . . check-expect: undefined;
>  cannot reference an identifier before its definition
>
> Any idea ?
>
> Thanks,
> Or
>
>
>
>
>
> On Wednesday, January 23, 2019 at 10:49:01 PM UTC+2, Kieron Hardy wrote:
>>
>> It seems the metadata lines added by DrRacket (mentioned by John) are 
>> processed when the a source file is loaded into DrRacket (via the menu 
>> option File/Open), but are not processed if the source code is directly 
>> copied (e.g. from a browser window) into a DrRacket window and then 
>> executed with the 'Run' button.
>>
>> The metadata includes a #reader directive, e.g.:
>> (#reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname snake-full) 
>> ...) 
>>
>> This reader directive appears to be silently ignored by DrRacket when the 
>> source is 'Run', even though DrRacket shows "#reader" in red (as when an 
>> error is detected). The actions taken by DrRacket when 'Run' is pressed 
>> seem to depend on the settings in effect when the code is executed, which 
>> could be nothing, or throwing a confusing error. 
>>
>> The solution for the original poster's issue is as John directs; remove 
>> the metadata (i.e. #reader directive) and manually set the language.
>>
>> However, I feel that DrRacket should recognize and act on (and perhaps 
>> also remove/hide from view) the metadata if the metadata occurs as from a 
>> copy/paste directly into a DrRacket window (e.g. as from a URL). The 
>> current behaviour is, I think, a bug and a trap (perhaps showstopping) for 
>> a new user experimenting with Racket. 
>>
>> Note that the Racket executable seems to process the metadata properly, 
>> understanding the language to use, etc.. so that the code behaves as 
>> intended.
>>
>> On Wed, Jan 23, 2019 at 12:32 PM K H  wrote:
>>
>>> Hello Or,
>>>
>>> The language is not "Pretty Big".
>>>
>>> You should be using "Beginning Student with List Abbreviations".
>>>
>>> The DrRacket metadata lines referred to by John set the correct 
>>> language. In your case you must have changed the language somehow. Or 
>>> perhaps the file needs to be saved before the metadata is acted upon.
>>>
>>> HTH,
>>>
>>> Kieron.
>>>
>>>
>>> On Wed, Jan 23, 2019 at 12:17 PM 'John Clements' via Racket Users <
>>> racket...@googlegroups.com> wrote:
>>>
>>>> Interesting problem; your screenshot shows header text that should not 
>>>> appear in the window, which suggests to me that you copied and pasted the 
>>>> text from somewhere else into a buffer where the language level was 
>>>> already 
>>>> set. It looks to me like you should do the following:
>>>>
>>>> 1) Delete the first three lines of the file.
>>>> 2) Set the language level to “beginner with list abbreviations”.
>>>> 3) Click “run”
>>>>
>>>> John Clements
>>>>
>>>> > On Jan 23, 2019, at 10:44 AM, orenpa11  wrote:
>>>> > 
>>>> > Hi David,
>>>> > Thanks for your swift response ,I simply do not know how to run this 
>>>> program.
>>>> > I thought that when I press the run button I should see the snake GUI 
>>>> .
>>>> > 
>>>> > Maybe the language is not pretty big ?
>>>> > Thanks,
>>>> > Or
>>>> > 
>>>> > 
>>>> > On Wednesday, January 23, 2019 at 8:25:32 PM UTC+2, David K. Storrs 
>>>> wrote:
>>>> > What happens when you run it?  Are you getting any error messages? 
>>>> > 
>>>> > On Wed, Jan 23, 2019 at 1:01 PM orenpa11  wrote: 
>>>> > >

Re: [racket-users] snake game

2019-01-24 Thread orenpa11
Hi,
when I removed the line
#reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname snake-full) 
(read-case-sensitive #t) (teachpacks ()) (htdp-settings #(#t constructor 
repeating-decimal #f #t none #f (

And changed the  language to pretty big.
I recived this error:
Welcome to DrRacket, version 7.1 [3m].
Language: Pretty Big; memory limit: 128 MB.
. . check-expect: undefined;
 cannot reference an identifier before its definition

Any idea ?

Thanks,
Or





On Wednesday, January 23, 2019 at 10:49:01 PM UTC+2, Kieron Hardy wrote:
>
> It seems the metadata lines added by DrRacket (mentioned by John) are 
> processed when the a source file is loaded into DrRacket (via the menu 
> option File/Open), but are not processed if the source code is directly 
> copied (e.g. from a browser window) into a DrRacket window and then 
> executed with the 'Run' button.
>
> The metadata includes a #reader directive, e.g.:
> (#reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname snake-full) 
> ...) 
>
> This reader directive appears to be silently ignored by DrRacket when the 
> source is 'Run', even though DrRacket shows "#reader" in red (as when an 
> error is detected). The actions taken by DrRacket when 'Run' is pressed 
> seem to depend on the settings in effect when the code is executed, which 
> could be nothing, or throwing a confusing error. 
>
> The solution for the original poster's issue is as John directs; remove 
> the metadata (i.e. #reader directive) and manually set the language.
>
> However, I feel that DrRacket should recognize and act on (and perhaps 
> also remove/hide from view) the metadata if the metadata occurs as from a 
> copy/paste directly into a DrRacket window (e.g. as from a URL). The 
> current behaviour is, I think, a bug and a trap (perhaps showstopping) for 
> a new user experimenting with Racket. 
>
> Note that the Racket executable seems to process the metadata properly, 
> understanding the language to use, etc.. so that the code behaves as 
> intended.
>
> On Wed, Jan 23, 2019 at 12:32 PM K H > 
> wrote:
>
>> Hello Or,
>>
>> The language is not "Pretty Big".
>>
>> You should be using "Beginning Student with List Abbreviations".
>>
>> The DrRacket metadata lines referred to by John set the correct language. 
>> In your case you must have changed the language somehow. Or perhaps the 
>> file needs to be saved before the metadata is acted upon.
>>
>> HTH,
>>
>> Kieron.
>>
>>
>> On Wed, Jan 23, 2019 at 12:17 PM 'John Clements' via Racket Users <
>> racket...@googlegroups.com > wrote:
>>
>>> Interesting problem; your screenshot shows header text that should not 
>>> appear in the window, which suggests to me that you copied and pasted the 
>>> text from somewhere else into a buffer where the language level was already 
>>> set. It looks to me like you should do the following:
>>>
>>> 1) Delete the first three lines of the file.
>>> 2) Set the language level to “beginner with list abbreviations”.
>>> 3) Click “run”
>>>
>>> John Clements
>>>
>>> > On Jan 23, 2019, at 10:44 AM, orenpa11 > 
>>> wrote:
>>> > 
>>> > Hi David,
>>> > Thanks for your swift response ,I simply do not know how to run this 
>>> program.
>>> > I thought that when I press the run button I should see the snake GUI .
>>> > 
>>> > Maybe the language is not pretty big ?
>>> > Thanks,
>>> > Or
>>> > 
>>> > 
>>> > On Wednesday, January 23, 2019 at 8:25:32 PM UTC+2, David K. Storrs 
>>> wrote:
>>> > What happens when you run it?  Are you getting any error messages? 
>>> > 
>>> > On Wed, Jan 23, 2019 at 1:01 PM orenpa11  wrote: 
>>> > > 
>>> > > Hi 
>>> > > I am trying to implemet this code of "snake game " 
>>> > > https://course.ccs.neu.edu/csu211/code/snake-full.ss 
>>> > > 
>>> > > in DrRacket (Pretty big) 
>>> > >  But when I run it it is not working . 
>>> > > any Idea ? 
>>> > > 
>>> > > Thanks 
>>> > > Or 
>>> > > 
>>> > > -- 
>>> > > You received this message because you are subscribed to the Google 
>>> Groups "Racket Users" group. 
>>> > > To unsubscribe from this group and stop receiving emails from it, 
>>> send an email to racket-users...@googlegroups.

Re: [racket-users] snake game

2019-01-23 Thread orenpa11
Thanks

On Wednesday, January 23, 2019 at 10:49:01 PM UTC+2, Kieron Hardy wrote:
>
> It seems the metadata lines added by DrRacket (mentioned by John) are 
> processed when the a source file is loaded into DrRacket (via the menu 
> option File/Open), but are not processed if the source code is directly 
> copied (e.g. from a browser window) into a DrRacket window and then 
> executed with the 'Run' button.
>
> The metadata includes a #reader directive, e.g.:
> (#reader(lib "htdp-beginner-abbr-reader.ss" "lang")((modname snake-full) 
> ...) 
>
> This reader directive appears to be silently ignored by DrRacket when the 
> source is 'Run', even though DrRacket shows "#reader" in red (as when an 
> error is detected). The actions taken by DrRacket when 'Run' is pressed 
> seem to depend on the settings in effect when the code is executed, which 
> could be nothing, or throwing a confusing error. 
>
> The solution for the original poster's issue is as John directs; remove 
> the metadata (i.e. #reader directive) and manually set the language.
>
> However, I feel that DrRacket should recognize and act on (and perhaps 
> also remove/hide from view) the metadata if the metadata occurs as from a 
> copy/paste directly into a DrRacket window (e.g. as from a URL). The 
> current behaviour is, I think, a bug and a trap (perhaps showstopping) for 
> a new user experimenting with Racket. 
>
> Note that the Racket executable seems to process the metadata properly, 
> understanding the language to use, etc.. so that the code behaves as 
> intended.
>
> On Wed, Jan 23, 2019 at 12:32 PM K H > 
> wrote:
>
>> Hello Or,
>>
>> The language is not "Pretty Big".
>>
>> You should be using "Beginning Student with List Abbreviations".
>>
>> The DrRacket metadata lines referred to by John set the correct language. 
>> In your case you must have changed the language somehow. Or perhaps the 
>> file needs to be saved before the metadata is acted upon.
>>
>> HTH,
>>
>> Kieron.
>>
>>
>> On Wed, Jan 23, 2019 at 12:17 PM 'John Clements' via Racket Users <
>> racket...@googlegroups.com > wrote:
>>
>>> Interesting problem; your screenshot shows header text that should not 
>>> appear in the window, which suggests to me that you copied and pasted the 
>>> text from somewhere else into a buffer where the language level was already 
>>> set. It looks to me like you should do the following:
>>>
>>> 1) Delete the first three lines of the file.
>>> 2) Set the language level to “beginner with list abbreviations”.
>>> 3) Click “run”
>>>
>>> John Clements
>>>
>>> > On Jan 23, 2019, at 10:44 AM, orenpa11 > 
>>> wrote:
>>> > 
>>> > Hi David,
>>> > Thanks for your swift response ,I simply do not know how to run this 
>>> program.
>>> > I thought that when I press the run button I should see the snake GUI .
>>> > 
>>> > Maybe the language is not pretty big ?
>>> > Thanks,
>>> > Or
>>> > 
>>> > 
>>> > On Wednesday, January 23, 2019 at 8:25:32 PM UTC+2, David K. Storrs 
>>> wrote:
>>> > What happens when you run it?  Are you getting any error messages? 
>>> > 
>>> > On Wed, Jan 23, 2019 at 1:01 PM orenpa11  wrote: 
>>> > > 
>>> > > Hi 
>>> > > I am trying to implemet this code of "snake game " 
>>> > > https://course.ccs.neu.edu/csu211/code/snake-full.ss 
>>> > > 
>>> > > in DrRacket (Pretty big) 
>>> > >  But when I run it it is not working . 
>>> > > any Idea ? 
>>> > > 
>>> > > Thanks 
>>> > > Or 
>>> > > 
>>> > > -- 
>>> > > You received this message because you are subscribed to the Google 
>>> Groups "Racket Users" group. 
>>> > > To unsubscribe from this group and stop receiving emails from it, 
>>> send an email to racket-users...@googlegroups.com. 
>>> > > For more options, visit https://groups.google.com/d/optout. 
>>> > 
>>> > -- 
>>> > You received this message because you are subscribed to the Google 
>>> Groups "Racket Users" group.
>>> > To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to racket-users...@googlegroups.com .
>>> > For more options, visit https://groups.google.com/d/optout.
>>>
>>>
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Racket Users" group.
>>> To unsubscribe from this group and stop receiving emails from it, send 
>>> an email to racket-users...@googlegroups.com .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] snake game

2019-01-23 Thread orenpa11
Thanks I will check it.




On Wednesday, January 23, 2019 at 9:32:56 PM UTC+2, Kieron Hardy wrote:
>
> Hello Or,
>
> The language is not "Pretty Big".
>
> You should be using "Beginning Student with List Abbreviations".
>
> The DrRacket metadata lines referred to by John set the correct language. 
> In your case you must have changed the language somehow. Or perhaps the 
> file needs to be saved before the metadata is acted upon.
>
> HTH,
>
> Kieron.
>
>
> On Wed, Jan 23, 2019 at 12:17 PM 'John Clements' via Racket Users <
> racket...@googlegroups.com > wrote:
>
>> Interesting problem; your screenshot shows header text that should not 
>> appear in the window, which suggests to me that you copied and pasted the 
>> text from somewhere else into a buffer where the language level was already 
>> set. It looks to me like you should do the following:
>>
>> 1) Delete the first three lines of the file.
>> 2) Set the language level to “beginner with list abbreviations”.
>> 3) Click “run”
>>
>> John Clements
>>
>> > On Jan 23, 2019, at 10:44 AM, orenpa11 > 
>> wrote:
>> > 
>> > Hi David,
>> > Thanks for your swift response ,I simply do not know how to run this 
>> program.
>> > I thought that when I press the run button I should see the snake GUI .
>> > 
>> > Maybe the language is not pretty big ?
>> > Thanks,
>> > Or
>> > 
>> > 
>> > On Wednesday, January 23, 2019 at 8:25:32 PM UTC+2, David K. Storrs 
>> wrote:
>> > What happens when you run it?  Are you getting any error messages? 
>> > 
>> > On Wed, Jan 23, 2019 at 1:01 PM orenpa11  wrote: 
>> > > 
>> > > Hi 
>> > > I am trying to implemet this code of "snake game " 
>> > > https://course.ccs.neu.edu/csu211/code/snake-full.ss 
>> > > 
>> > > in DrRacket (Pretty big) 
>> > >  But when I run it it is not working . 
>> > > any Idea ? 
>> > > 
>> > > Thanks 
>> > > Or 
>> > > 
>> > > -- 
>> > > You received this message because you are subscribed to the Google 
>> Groups "Racket Users" group. 
>> > > To unsubscribe from this group and stop receiving emails from it, 
>> send an email to racket-users...@googlegroups.com. 
>> > > For more options, visit https://groups.google.com/d/optout. 
>> > 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> Groups "Racket Users" group.
>> > To unsubscribe from this group and stop receiving emails from it, send 
>> an email to racket-users...@googlegroups.com .
>> > For more options, visit https://groups.google.com/d/optout.
>>
>>
>>
>> -- 
>> You received this message because you are subscribed to the Google Groups 
>> "Racket Users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to racket-users...@googlegroups.com .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: [racket-users] snake game

2019-01-23 Thread orenpa11
Hi David,
Thanks for your swift response ,I simply do not know how to run this 
program.
I thought that when I press the run button I should see the snake GUI .

Maybe the language is not pretty big ?
Thanks,
Or


On Wednesday, January 23, 2019 at 8:25:32 PM UTC+2, David K. Storrs wrote:
>
> What happens when you run it?  Are you getting any error messages? 
>
> On Wed, Jan 23, 2019 at 1:01 PM orenpa11 > 
> wrote: 
> > 
> > Hi 
> > I am trying to implemet this code of "snake game " 
> > https://course.ccs.neu.edu/csu211/code/snake-full.ss 
> > 
> > in DrRacket (Pretty big) 
> >  But when I run it it is not working . 
> > any Idea ? 
> > 
> > Thanks 
> > Or 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups "Racket Users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an email to racket-users...@googlegroups.com . 
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


[racket-users] snake game

2019-01-23 Thread orenpa11
Hi
I am trying to implemet this code of "snake game "
https://course.ccs.neu.edu/csu211/code/snake-full.ss

in DrRacket (Pretty big)
 But when I run it it is not working .
any Idea ?

Thanks
Or

-- 
You received this message because you are subscribed to the Google Groups 
"Racket Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to racket-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.