Re: [racket] Some newbie trouble on running Web Server on EC 2

2011-04-22 Thread J G Cho
A great tip! I was able to compile Racket on ami-2a1fec43 (aka "official" Amazon Linux (~= CentOS 32 bit)). Still ran into the same issue as before: [ec2-user@ip-10-88-214-159 ~]$ /usr/local/plt/bin/racket -t test-model-3.rkt ffi-lib: couldn't open "libsqlite3.so" (libsqlite3.so: cannot open sh

Re: [racket] Some newbie trouble on running Web Server on EC 2

2011-04-21 Thread Neil Van Dyke
Danny Yoo wrote at 04/21/2011 11:16 PM: Is the help mainly for simpler #lang like Beg Stud? (#lang racket seems to have lots of place where [ appears and inside xexpr as well. So it may not be all that easy to keep track for Dr, I am guessing.) It is meant to enforce a particular paren s

Re: [racket] Some newbie trouble on running Web Server on EC 2

2011-04-21 Thread Eli Barzilay
50 minutes ago, Danny Yoo wrote: > On Thu, Apr 21, 2011 at 8:56 PM, J Cho wrote: > > I read you name mentioned on Racket-lang.org tutorial. > > > > Currently, > > > > #lang web-server/insta > > > > (define (start request) > >  (response/xexpr) > >  '(html > >    (body "Hello World"))) > > > > Is o

Re: [racket] Some newbie trouble on running Web Server on EC 2

2011-04-21 Thread Danny Yoo
On Thu, Apr 21, 2011 at 8:56 PM, J Cho wrote: > I read you name mentioned on Racket-lang.org tutorial. > > Currently, > > #lang web-server/insta > > (define (start request) >  (response/xexpr) >  '(html >    (body "Hello World"))) > > Is one of the code featured as Start Quickly. I think there is

Re: [racket] Some newbie trouble on running Web Server on EC 2

2011-04-21 Thread Danny Yoo
[Please keep racket-lang in CC.] > Is the help mainly for simpler #lang like Beg Stud? (#lang racket > seems to have lots of place where [ appears and inside xexpr as well. > So it may not be all that easy to keep track for Dr, I am guessing.) It is meant to enforce a particular paren style for

Re: [racket] Some newbie trouble on running Web Server on EC 2

2011-04-20 Thread Noel Welsh
On Wed, Apr 20, 2011 at 6:03 PM, J G Cho wrote: > 1. Following along the system (aka '/more') tutorial: When evaluating > (require readline), REPL sometimes hangs but not all the time. Dunno. > 2. Following along the blog webapp: When running model-3.rkt (sqlite3) > fails due to missing somethin

Re: [racket] Some newbie trouble on running Web Server on EC 2

2011-04-20 Thread Neil Van Dyke
J G Cho wrote at 04/20/2011 01:03 PM: Question is: Has anybody done this on EC2 or other 'cloud' platform? If so, I would love to hear/read about pitfalls. Also, if you know running Racket on Xen or other virtual setup is not advisable, please let me know before I spend too much time/effort.

Re: [racket] Some newbie trouble on running Web Server on EC 2

2011-04-20 Thread Danny Yoo
> 3. One more. This observation regards Dr Racket. > Sometimes I cannot type [ or ]. It becomes ( or ). > > First I thought my machine was acting up. But I noticed that I can > type 'cond(['  fine. So I am thinking its the Dr who is 'helping me > too much'.  If so, Dr should consider that '[' appea

Re: [racket] Some newbie trouble on running Web Server on EC 2

2011-04-20 Thread Nadeem Abdul Hamid
On Wed, Apr 20, 2011 at 1:03 PM, J G Cho wrote: > 3. One more. This observation regards Dr Racket. > Sometimes I cannot type [ or ]. It becomes ( or ). > > First I thought my machine was acting up. But I noticed that I can > type 'cond(['  fine. So I am thinking its the Dr who is 'helping me > too

[racket] Some newbie trouble on running Web Server on EC 2

2011-04-20 Thread J G Cho
FYI I've been going thru 2 Racket tutorials (http://docs.racket-lang.org/continue/index.html and http://docs.racket-lang.org/more/index.html). Very informative, and they run fine on my laptop. (OSX Intel 10.6.7 Racket 5.1) In addition, I am trying to run them on Amazon EC2 with some challenges (d