[racket] No `next->` at the bottom of document pages?

2014-01-29 Thread Ben Duan
Dear Racketeers, I used to read the Racket documents all the way down to the bottom of the page and then click `next->` to go to the next page. This is possible currently for pages like: http://docs.racket-lang.org/guide/. But it seems impossible in the new design (like http://docs.racket-lang.o

Re: [racket] Another Canonical Use of Macros?

2014-01-08 Thread Ben Duan
What is the source of "three canonical categories"? Thanks, Ben On Sat, Nov 23, 2013 at 2:46 PM, John Clements wrote: > I'm preparing a 10-minute lightning talk on hygienic macros in rust > (preview: I'm barely going to *mention* hygiene), and in the process, I've > been surveying some of the

[racket] What does it mean by "algorithmic language"?

2014-01-08 Thread Ben Duan
Dear all, The scheme standard is called "Revised Report on the Algorithmic Language Scheme", and ALGOL is short for "ALGOrithmic Language". Then what does it mean by "algorithmic language"? Thanks, Ben Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Another Canonical Use of Macros?

2013-11-26 Thread Ben Duan
Great example. It all clicked to me now. Thanks On Tue, Nov 26, 2013 at 12:31 AM, Greg Hendershott < greghendersh...@gmail.com> wrote: > >> Thanks for the insights. But what does "data sublanguage" mean? > >> > > Say you want a three-state machine where the states are labeled 'go, > 'stop, 'war

Re: [racket] Another Canonical Use of Macros?

2013-11-25 Thread Ben Duan
> - changing evaluation order, > - implementing a data sublanguage, and > - creating new binding forms. Thanks for the insights. But what does "data sublanguage" mean? On Sat, Nov 23, 2013 at 2:46 PM, John Clements wrote: > I'm preparing a 10-minute lightning talk on hygienic macros in rust > (

[racket] One accessor for the same fields of different structs?

2013-11-25 Thread Ben Duan
Hi All, If I have several structures, like the following: (struct customer (name age foo)) (struct student (name age bar)) I choose the same representation for the `name` and `age` fields which are `string?` and `natural-number/c`. So I think I could just define a `name` accessor for bot

Re: [racket] Common Lisp or Racket?

2013-11-13 Thread Ben Duan
I'm wondering who are the target readers for Realm. Is it written for kids? I have already spent some time in Racket and want to read some idiomatic Racket code. Is it a suitable book? Thanks, Ben On Wed, Nov 13, 2013 at 3:20 AM, Matthias Felleisen wrote: > > Lawrence, let me supplement Alex's

Re: [racket] Implementation of Simpson's Rule (SICP Exercise 1.29)

2013-11-07 Thread Ben Duan
s said--"You can do that in your head. What's the > computer's problem?" > > Todd > > On Wed, Nov 6, 2013 at 1:30 PM, Neil Toronto > wrote: > > On 11/06/2013 09:24 AM, Matthias Felleisen wrote: > >> > >> > >> On Nov 6, 2013, at 7:13 A

Re: [racket] Resources for understanding Racket’s language model?

2013-11-06 Thread Ben Duan
te: > > > In general, papers here: http://www.ccs.neu.edu/racket/pubs/ and also > > http://www.cs.utah.edu/~mflatt/publications/index.html and > > http://www.eecs.northwestern.edu/~robby/pubs/ cover what's in Racket. > > > > For delimited continuations, the relevan

Re: [racket] Implementation of Simpson's Rule (SICP Exercise 1.29)

2013-11-06 Thread Ben Duan
; > (simpson-integral2 cube 0 1.0 1) > > 0.2511 > > > > Eli's code and mine are two implementations for the same Rule, but mine > is > > far less accurate. So I think there's some wrong with my implementation. > But > > I still can

Re: [racket] Implementation of Simpson's Rule (SICP Exercise 1.29)

2013-11-05 Thread Ben Duan
t 1:59 AM, Jens Axel Søgaard wrote: > 2013/11/4 Ben Duan : > > I've asked the question on Stack Overflow [1]. Óscar López gave me an > > answer. But I still don't understand it. So I re-post it here: > > > > Following is my code for SICP exercise 1.29 [2]. T

[racket] Implementation of Simpson's Rule (SICP Exercise 1.29)

2013-11-04 Thread Ben Duan
I've asked the question on Stack Overflow[1]. Óscar López gave me an answer. But I still don't understand it. So I re-post it here: Following is my code for SICP exercise 1.29

[racket] Resources for understanding Racket’s language model?

2013-11-04 Thread Ben Duan
Dear all, I have some difficulties understanding “1 Language Model” of the Racket Reference. I want some detailed explanations on some concepts like “Prompts, Delimited Continuations, and Barriers” etc. Do you have any recommended resources like papers or books for me to start with? Thanks,

Re: [racket] Data Exchange Format for Racket

2013-10-28 Thread Ben Duan
gt; > On Mon, Oct 28, 2013 at 9:21 AM, Ben Duan wrote: > > Dear All, > > > > I need a data exchange format to serve as a simple database. There are > > several choices out there. Do you have any suggestions on how to choose > > between them? > > > > Thanks

[racket] Data Exchange Format for Racket

2013-10-28 Thread Ben Duan
Dear All, I need a data exchange format to serve as a simple database. There are several choices out there. Do you have any suggestions on how to choose between them? Thanks, Ben Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Any online courses by the PLT group?

2013-10-09 Thread Ben Duan
Thank you. I'm currently following Dan Grossman's PL course. But I'm very very interested in your courses. I will catch up with Matthew's course first and go through Shriram's course afterward. And have you ever advertised your courses? I've never heard of them before, even though I have tried to

[racket] Any online courses by the PLT group?

2013-10-07 Thread Ben Duan
Dear all, Are there any online courses taught by someone from the PLT group? Thanks, Ben Racket Users list: http://lists.racket-lang.org/users

Re: [racket] RacketCon full schedule

2013-09-18 Thread Ben Duan
Hope that the audio quality could be better. On Thursday, September 19, 2013, Asumu Takikawa wrote: > On 2013-09-19 06:30:24 +1000, Daniel Prager wrote: > > Will the prsentations, or at least the keynotes, be recorded and made > > available? > > Yes, we will be recording the talks. We also plan

[racket] Download a PLaneT package as a zip file?

2013-09-18 Thread Ben Duan
Hi everyone, Is it possible to download a PLaneT package's source code as a zip file? Thanks, Ben Racket Users list: http://lists.racket-lang.org/users

Re: [racket] How much RAM does a Racket personal blog need?

2013-09-12 Thread Ben Duan
h the site is static files on the server, it can still > have some "dynamism" from JavaScript running on clients. > > > On Tue, Sep 10, 2013 at 10:52 PM, Neil Van Dyke > wrote: > > Ben Duan wrote at 09/10/2013 10:33 PM: > > > >> > >>

Re: [racket] How much RAM does a Racket personal blog need?

2013-09-11 Thread Ben Duan
Thank you for your suggestions, Neil and Juan. Thanks and regards, Ben On Wed, Sep 11, 2013 at 10:33 AM, Ben Duan wrote: > Dear all, > > I'm buying a VPS to build my personal blog and learn Racket through the > process. But I don't know how much RAM do I need. Do you

[racket] How much RAM does a Racket personal blog need?

2013-09-10 Thread Ben Duan
Dear all, I'm buying a VPS to build my personal blog and learn Racket through the process. But I don't know how much RAM do I need. Do you have any suggestions? And any other suggestions on how to choose a VPS for Racket? Thanks and regards, Ben Racket Users list: http://

[racket] Why not use a typed language for HtDP?

2013-08-24 Thread Ben Duan
Dear All, Here’s a beginner's question about How to Design Programs. HtDP puts great emphasizes on data, and it forces the reader to think about data types by writing signatures. Then what not use a typed language so that it is forced by the language itself? Or did I misunderstand the purpose of

[racket] Does Racket have a Matlab-like plotting library?

2013-08-19 Thread Ben Duan
Dear all: Is there a Matlab-like plotting library for Racket? Thank you, Ben Racket Users list: http://lists.racket-lang.org/users

Re: [racket] How to download PLaneT packages’ source code?

2013-07-27 Thread Ben Duan
e source code is in the directory > that (PLANET-DIR) returns: > > > http://docs.racket-lang.org/planet/Utility_Libraries.html?q=planet#%28def._%28%28lib._planet%2Fconfig..rkt%29._.P.L.A.N.E.T-.D.I.R%29%29 > > On Sat, Jul 27, 2013 at 10:17 AM, Ben Duan wrote: > > Dear all, &g

[racket] How to download PLaneT packages’ source code?

2013-07-27 Thread Ben Duan
Dear all, For PlaneT packages’ source code, I could only find links to browse them. Is it possible to download them? Thanks and regards, Ben Racket Users list: http://lists.racket-lang.org/users

Re: [racket] Where to learn advanced programming skills?

2013-07-26 Thread Ben Duan
Daniel, There’s a wiki here https://github.com/plt/racket/wiki which everyone could edit. It seems that the official site for Racket doesn’t have a wiki yet. Ben On Sat, Jul 27, 2013 at 7:54 AM, Daniel Prager wrote: > Is there interest in setting up a Racket-specific site to help programmers >

Re: [racket] Where to learn advanced programming skills?

2013-07-24 Thread Ben Duan
any different ways to solve problems and many different > programming languages. > > Regards, > -joe > > > > > On Sun, Jul 21, 2013 at 10:34 PM, Ben Duan wrote: > >> Neil, >> >> Thank you very much for your explanation of the terminologies and your >> s

Re: [racket] Why can't `Alt' be used as the Meta key in Windows?

2013-07-24 Thread Ben Duan
/Keyboard_Shortcuts.html On Wed, Jul 24, 2013 at 11:58 PM, Pierpaolo Bernardi wrote: > On Wed, Jul 24, 2013 at 5:28 PM, Ben Duan wrote: > > > I have a question here. `esc' is used as the Meta key for key bindings in > > Windows, for example key `esc;c:k' for `M-C-k'.

[racket] Why can't `Alt' be used as the Meta key in Windows?

2013-07-24 Thread Ben Duan
Dear all, Thank you for your fantastic support for Windows. It's an important reason for me to choose Racket. Although I don't have a preference for Windows, I have to work on Window. Many popular languages are quite unfriendly to Windows. I have a question here. `esc' is used as the Meta key for

Re: [racket] Where to learn advanced programming skills?

2013-07-21 Thread Ben Duan
I know whether or not I could improve on some aspect if I don’t keep reading and learning? Thanks and regards, Ben On Mon, Jul 22, 2013 at 12:20 PM, Neil Van Dyke wrote: > Ben Duan wrote at 07/21/2013 10:25 PM: > > In this mailing list, I can always find some concepts which are not &g

[racket] Where to learn advanced programming skills?

2013-07-21 Thread Ben Duan
Dear all, In this mailing list, I can always find some concepts which are not familiar to me. For example `monad' and `parameterize'. I don't know how to learn about these kind of advanced programming skills systematically. So I'm asking for your suggestions on where I can go next. I have read so

[racket] Use `set!' or not in this scenario?

2013-07-19 Thread Ben Duan
Scenario: A piece of data is determined in the first function `f1', but is only processed in a sub-sub-sub-… function `fx'. One way is to use pass `the-data' as arguments from `f1' through `f2' all the way down to `fx': (define f1 (the-data …) … (f2 the-data …) …) (defi

[racket] Is there a contribution guide for Racket?

2013-07-18 Thread Ben Duan
Dear All, Is there a contribution guide for Racket, especially for junior developers? Most of you are highly sophisticated programmers working on hard problems. You know how to contribute to open source projects. But racket sometimes is also used as a teaching tool. Some of the users are newcomer

Re: [racket] Why experienced programmers don’t use comments?

2013-07-09 Thread Ben Duan
Thank you all for your great insights. I've learned a lot through your books, your documents and your discussions here. You have saved me a large amount of time figuring out the better way for programming. Thanks again, Ben On Tue, Jul 9, 2013 at 9:41 AM, Ben Duan wrote: > Dear Al

[racket] Why experienced programmers don’t use comments?

2013-07-08 Thread Ben Duan
Dear All, I have a question here. There’s an extensive use of comments in HtDP. But there are few comments in experienced programmers’ code, for example in racket’s source code. Why is that? Thanks, Ben Racket Users list: http://lists.racket-lang.org/users