Re: [racket-dev] Bugs? Lots of identifiers not defined or imported for phase 0 in compatibility-lib/mzlib/class.rkt:1:0

2014-02-17 Thread WarGrey Gyoudmon Ju
Before installing, the original one has uninstalled completely.

cd racket/src/racket/build  ../configure --prefix=/opt/GYDMracket
--enable-origtree ...;
/opt/GYDMracket/bin/raco pkg install --scope installation --deps
search-auto drracket math html make racklog.

Hum..., Actually I didn't use `make base`,  the build script never failed
before until 6.0.0.1 (later).
I noticed that git pulled and updated the private/class.rkt file.

This occurs both in MacOSX and OpenIndiana.



On Mon, Feb 17, 2014 at 10:20 PM, Robby Findler ro...@eecs.northwestern.edu
 wrote:

 I might be a little behind the curve here, but are you sure you're getting
 a matched version of the packages and the base version you compiled?

 More concretely what was the current directory when you ran that last
 command?

 Robby



 On Sun, Feb 16, 2014 at 10:01 PM, WarGrey Gyoudmon Ju 
 juzhenli...@gmail.com wrote:

 Hello, Racket.

 Later 6.0.0.1, I cannot build the distribution from scratch because of
 these errors via:
 make base
 make install
 raco pkg install -i.


 Here is the last instance shown.

 compatibility-lib/mzlib/class.rkt:1:0: module: provided identifier not
 defined or imported for phase 0
   at: -*m
   in: (#%plain-module-begin (#%require (for-syntax mzscheme)) (require
 racket/private/class-internal) (provide-public-names))
   context...:
standard-module-name-resolver
standard-module-name-resolver
standard-module-name-resolver
/opt/GYDMracket/collects/setup/setup-core.rkt:59:0: setup-core
/opt/GYDMracket/collects/setup/setup.rkt:56:3
/opt/GYDMracket/collects/pkg/main.rkt:16:0: setup
(submod /opt/GYDMracket/collects/pkg/main.rkt main): [running body]
/opt/GYDMracket/collects/pkg/raco.rkt: [traversing imports]
/opt/GYDMracket/collects/raco/raco.rkt: [running body]
/opt/GYDMracket/collects/raco/main.rkt: [running body]


 Thanks.

 _
   Racket Developers list:
   http://lists.racket-lang.org/dev



_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] Bugs? Lots of identifiers not defined or imported for phase 0 in compatibility-lib/mzlib/class.rkt:1:0

2014-02-16 Thread WarGrey Gyoudmon Ju
Hello, Racket.

Later 6.0.0.1, I cannot build the distribution from scratch because of
these errors via:
make base
make install
raco pkg install -i.


Here is the last instance shown.

compatibility-lib/mzlib/class.rkt:1:0: module: provided identifier not
defined or imported for phase 0
  at: -*m
  in: (#%plain-module-begin (#%require (for-syntax mzscheme)) (require
racket/private/class-internal) (provide-public-names))
  context...:
   standard-module-name-resolver
   standard-module-name-resolver
   standard-module-name-resolver
   /opt/GYDMracket/collects/setup/setup-core.rkt:59:0: setup-core
   /opt/GYDMracket/collects/setup/setup.rkt:56:3
   /opt/GYDMracket/collects/pkg/main.rkt:16:0: setup
   (submod /opt/GYDMracket/collects/pkg/main.rkt main): [running body]
   /opt/GYDMracket/collects/pkg/raco.rkt: [traversing imports]
   /opt/GYDMracket/collects/raco/raco.rkt: [running body]
   /opt/GYDMracket/collects/raco/main.rkt: [running body]


Thanks.
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Release for v6.0 is about to begin

2013-11-05 Thread WarGrey Gyoudmon Ju
Okay, I've extended the readtable.
At-exp is preferable, and I do use at-exps in other circumstances.
Thank you, Greg.


On Wed, Nov 6, 2013 at 5:40 AM, Greg Hendershott
greghendersh...@gmail.comwrote:

 Well, I think Ryan is talking about people who are coding a new
 feature that's nearly ready. Not soliciting ideas for last-minute
 ideas to try to rush into v6. Nice try, though. :)

 Having said that, have you tried using at-exps for this?

 I've only thought about this for a few minutes, and there are pros and
 cons, but:

 - - - - - - -

 #lang at-exp racket
 ;;^^

 ;; Don't like regexps in quotes?
 (regexp-match #px^foo foo)

 ;; Do this instead:
 (regexp-match @pregexp{^foo} foo)

 ;; OK, but:
 ;; 1. A bit verbose.
 ;; 2. Those aren't precompiled regexps, like with #px
 ;; 3. Also if the {} spans multiple lines, it needs to be converted
 ;; into just one string.
 ;; So:

 (define px (compose1 pregexp ~a))
 (define rx (compose1 regexp ~a))

 ;; Now you can write this:
 (regexp-match @px{^foo} foo)

 ;; Ta da !!

 ;; You can include newlines without using \n
 (regexp-match @px{^foo
   bar} foo\nbar)

 ;; But bad news, you can't use \n anymore.
 ;; (regexp-match @px{^foo[\n]bar} foo\nbar)
 ;; = regexp: illegal alphabetic escape

 ;; The other way is to @ quote:
 @~a{@#\newline}
 @~a{@\n}
 (regexp-match @px{^foo@\nbar} foo\nbar)

 ;; OTOH, good news is that regexp backslashes can be used as-is -- no
 ;; need for the extra \
 (regexp-match @px{1\.0} 1.0)

 ;; p.s. How to escape @ in an at-exp? @@
 (regexp-match @rx{^foo@@bar\.com} f...@bar.com)


 On Mon, Nov 4, 2013 at 8:40 PM, WarGrey Gyoudmon Ju
 juzhenli...@gmail.com wrote:
  Could you please make the regular expression syntax more elegant?
  To replace the  with // or any other character as its boundary.
 
  Here is the example:
  #px/^\s*\/([^\/])\/\s*$/ === #px@^\s*/([^/])/\s*$@ ===
  #px^\\s*/([^/])/\\s*$
 
  Thank you in advance.
 
 
  On Tue, Nov 5, 2013 at 12:51 AM, Ryan Culpepper ry...@ccs.neu.edu
 wrote:
 
  The release process for v6.0 will begin in about a week.  If
  you have any new features that you want in and are relatively close
  to being done, now is a good time to do that.
  _
   Racket Developers list:
   http://lists.racket-lang.org/dev
 
 
 
  _
Racket Developers list:
http://lists.racket-lang.org/dev
 

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Release for v6.0 is about to begin

2013-11-04 Thread WarGrey Gyoudmon Ju
Could you please make the regular expression syntax more elegant?
To replace the  with // or any other character as its boundary.

Here is the example:
#px/^\s*\/([^\/])\/\s*$/ === #px@^\s*/([^/])/\s*$@ ===
#px^\\s*/([^/])/\\s*$

Thank you in advance.


On Tue, Nov 5, 2013 at 12:51 AM, Ryan Culpepper ry...@ccs.neu.edu wrote:

 The release process for v6.0 will begin in about a week.  If
 you have any new features that you want in and are relatively close
 to being done, now is a good time to do that.
 _
  Racket Developers list:
  http://lists.racket-lang.org/dev

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] Again. JPEG: unsupported library version: unknown

2013-08-16 Thread WarGrey Gyoudmon Ju
It's weird.
I cloned and modified the racket/draw/unsafe/jpeg.rkt, even the basic form
(ffi-lib libjpeg)   gives me the unknown version, and the only version in
my system is 62. Finally I solved it by configuring with --disable-libffi.


More over, I don't know the difficulties to have retina display supported
either.
Maybe it's time to do some researching on the source code.


On Thu, Aug 15, 2013 at 10:21 AM, Matthew Flatt mfl...@cs.utah.edu wrote:

 At Wed, 14 Aug 2013 17:55:41 +0800, WarGrey Gyoudmon Ju wrote:
  racket version: from 5.3.6. (5.3.4 is okay)
  os version: SunOS (OpenIndiana)
 
  DrRacket cannot open
  Generating documents failed if the page contains picture.

 A difference between v5.3.4 and v5.3.6 is that the latter tries to load
 libjpeg.so.9 if its available (after trying libjpeg.so.62 and
 libjpeg.so.8, before trying libjpeg.so). Do you have a
 libjpeg.so.9 installed?


  BTW, is there any plan to make racket GUI support retina display?

 I don't have the hardware to work on retina-display support, so far.
 Patches are welcome, of course, but I don't know how difficult the
 problem is.


_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] Again. JPEG: unsupported library version: unknown

2013-08-14 Thread WarGrey Gyoudmon Ju
racket version: from 5.3.6. (5.3.4 is okay)
os version: SunOS (OpenIndiana)

DrRacket cannot open
Generating documents failed if the page contains picture.

BTW, is there any plan to make racket GUI support retina display?

Thanks.
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] why raco exe gives a data file in SunOS?

2013-08-13 Thread WarGrey Gyoudmon Ju
Okay, it works, thank you.


On Sat, Aug 10, 2013 at 9:59 AM, Matthew Flatt mfl...@cs.utah.edu wrote:

 I've finally had a chance to look into this, but I cannot replicate the
 problem.

 If the latest version still does not work, can you say more about the
 way that you're building Racket in 64-bit mode? (I had trouble getting
 gcc and the Sun linker to get along, so maybe I'm doing it wrong.)

 At Sat, 29 Jun 2013 04:46:14 -0600, Matthew Flatt wrote:
  Hi,
 
  Thanks for the report! I expect that I'm going to have to set up an
  OpenIndiana virtual machine to replicate the problem and fix it, and
  I haven't had a chance to try that, yet. I hope to get to it soon.
 
  Matthew
 
  At Sat, 29 Jun 2013 00:06:38 +0800, WarGrey Gyoudmon Ju wrote:
   I reported this bug here:
  
 
 http://bugs.racket-lang.org/query/?cmd=view%20audit-traildatabase=defaultpr=1
  
  3852return_url=http%3A%2F%2Fbugs.racket-lang.org
 %2Fquery%2F%3Fdatabase%3Ddefau
  
 
 lt%3Bdebug%3D%3Bcmd%3Dsubmit%2520query%3BState%3Dany%3Bignoreclosed%3DIgnore%25
  
 
 20Closed%3BSynopsis%3Draco%2520exe%3Bmultitext%3D%3Bcolumns%3DState%3Bcolumns%3
  
 
 DSynopsis%3Bcolumns%3DCategory%3Bcolumns%3DLast-Modified%3Bcolumns%3DRelease%3B
   sortby%3DNumber
  
   I use OpenIndiana rather than Oracle Solaris.
  
   Thanks.
   _
 Racket Developers list:
 http://lists.racket-lang.org/dev
  _
Racket Developers list:
http://lists.racket-lang.org/dev

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] is it easy to write plugins to make DrRacket support other languages?

2013-07-05 Thread WarGrey Gyoudmon Ju
Hi,

It's a good idea if DrRacket could be another choice of light-weight IDE
for developing in multiple languages.

Both vim and emacs, the toppest two, have their own script languages, but
vim does not support racket well, elisp is different from racket. In my
opinion, these differences may slow down the productivity.

Can anyone show me the existence features to make it.

BTW, that's great if DrRacket can run in terminal like vim or emacs -nw
with color scheme enabled.

Thanks in advance.
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] why raco exe gives a data file in SunOS?

2013-06-29 Thread WarGrey Gyoudmon Ju
Thank you to take care of this issue.


On Sat, Jun 29, 2013 at 6:46 PM, Matthew Flatt mfl...@cs.utah.edu wrote:

 Hi,

 Thanks for the report! I expect that I'm going to have to set up an
 OpenIndiana virtual machine to replicate the problem and fix it, and
 I haven't had a chance to try that, yet. I hope to get to it soon.

 Matthew

 At Sat, 29 Jun 2013 00:06:38 +0800, WarGrey Gyoudmon Ju wrote:
  I reported this bug here:
 
 http://bugs.racket-lang.org/query/?cmd=view%20audit-traildatabase=defaultpr=1
  3852return_url=http%3A%2F%2Fbugs.racket-lang.org
 %2Fquery%2F%3Fdatabase%3Ddefau
 
 lt%3Bdebug%3D%3Bcmd%3Dsubmit%2520query%3BState%3Dany%3Bignoreclosed%3DIgnore%25
 
 20Closed%3BSynopsis%3Draco%2520exe%3Bmultitext%3D%3Bcolumns%3DState%3Bcolumns%3
 
 DSynopsis%3Bcolumns%3DCategory%3Bcolumns%3DLast-Modified%3Bcolumns%3DRelease%3B
  sortby%3DNumber
 
  I use OpenIndiana rather than Oracle Solaris.
 
  Thanks.
  _
Racket Developers list:
http://lists.racket-lang.org/dev

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] why raco exe gives a data file in SunOS?

2013-06-28 Thread WarGrey Gyoudmon Ju
I reported this bug here:
http://bugs.racket-lang.org/query/?cmd=view%20audit-traildatabase=defaultpr=13852return_url=http%3A%2F%2Fbugs.racket-lang.org%2Fquery%2F%3Fdatabase%3Ddefault%3Bdebug%3D%3Bcmd%3Dsubmit%2520query%3BState%3Dany%3Bignoreclosed%3DIgnore%2520Closed%3BSynopsis%3Draco%2520exe%3Bmultitext%3D%3Bcolumns%3DState%3Bcolumns%3DSynopsis%3Bcolumns%3DCategory%3Bcolumns%3DLast-Modified%3Bcolumns%3DRelease%3Bsortby%3DNumber

I use OpenIndiana rather than Oracle Solaris.

Thanks.
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] release 5.3.5

2013-06-17 Thread WarGrey Gyoudmon Ju
Okay I see.
I like the code style and conventions in HtDP,
and I have read lots of books about design before I am here.
I will try again when HtDP2e totally complete.

Thanks


On Mon, Jun 17, 2013 at 7:35 AM, Matthias Felleisen matth...@ccs.neu.eduwrote:


 ROAR is something like a second step but we don't assume that you have
 seen HtDP.

 HtDP is not about the examples but about [the] design [recipe] and as such
 truly novel. It isn't about Racket either, otherwise we'd use Racket in the
 book. As for 'interest', let freshmen judge. I'd prefer HtDP over ROAR any
 day.

 Thanks for your interest.




 On Jun 16, 2013, at 7:28 PM, WarGrey Gyoudmon Ju wrote:

 Sounds good to buy this book and I will do.
 Will the book take the place of 'How to design program' in which examples
 are quite simple and uninteresting even for the freshmen?

 My translate LOL with the intention of exploring the racket way.
 Few resources could be the guider.


 On Mon, Jun 17, 2013 at 5:42 AM, Matthias Felleisen 
 matth...@ccs.neu.eduwrote:


 Realm of Racket is not a translation of Land of Lisp, though it borrows
 ideas from the latter for about 1/2 of the book. The ROAR code is far more
 functional and GUI than LOL. -- Matthias




 On Jun 16, 2013, at 2:19 AM, WarGrey Gyoudmon Ju wrote:

 What a pity, I did not know this book before.
 I've been translating the source code of Land of Lisp using the racket
 way.
 I just finish the Grand Theft Wumpus game.


 On Sat, Jun 15, 2013 at 10:53 PM, Jay McCarthy jay.mccar...@gmail.comwrote:

 On Sat, Jun 15, 2013 at 8:50 AM, Greg Hendershott
 greghendersh...@gmail.com wrote:
  1. I'm really excited about the book, which I'll buy.
 
  2. Issuing a release solely to ship code for a book:
 
a. Seems unusual (to me), in general.
 
b. Plus right now, message seems at odds with the new package
  manager and plan to move away from shipping monolithic collects?
 
Admittedly that plan isn't in effect yet. But code for a book is a
  use case that today's package manager supports AFAICT. So why accrete
  another collection, is the reaction.

 The problem is that the book has collects/realm printed in it and
 was designed simultaneously with the package system, so it wasn't
 clear to make it a package, how to describe getting it, etc.

 Jay

  p.s. I'm sharing an observation casually, not stating an objection
 angrily.
 
 
 
  On Sat, Jun 15, 2013 at 9:46 AM, Matthias Felleisen
  matth...@ccs.neu.edu wrote:
 
  We will release Racket v5.3.5 next week. The purpose of the
  release is to include the Realm of Racket collection with the
  v5.3.4 release, because the book is about to appear.
 
  The release will strictly be built from
 
  -- Racket v5.3.4
  -- collects/realm as currently found in git head
 
  We will __not__ make any other changes.
 
  Eli has worked out a process and will launch it asap. We will
  conduct a recursive diff of all .rkt files and we will run
  basic checks to ensure the integrity of the release bundle.
  If you're willing to help with these checks, please stay tuned.
 
  
  DRAFT RELEASE ANNOUNCEMENT:
 
  Racket version 5.3.5 is now available from
 
   http://racket-lang.org/
 
  This is a special-purpose release to match the arrival of
  Realm of Racket in bookstores. Racket v.5.3.5 adds a
  single collection
 
  collects/realm/
 
  to the v5.3.4 release. The new collection contains the source
  code that readers of Realm may wish to use for experiments.
  
 
  Comments welcome. -- Matthias
  _
Racket Developers list:
http://lists.racket-lang.org/dev
  _
Racket Developers list:
http://lists.racket-lang.org/dev



 --
 Jay McCarthy j...@cs.byu.edu
 Assistant Professor / Brigham Young University
 http://faculty.cs.byu.edu/~jay

 The glory of God is Intelligence - DC 93
 _
   Racket Developers list:
   http://lists.racket-lang.org/dev


 _
  Racket Developers list:
  http://lists.racket-lang.org/dev





_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] release 5.3.5

2013-06-16 Thread WarGrey Gyoudmon Ju
What a pity, I did not know this book before.
I've been translating the source code of Land of Lisp using the racket way.
I just finish the Grand Theft Wumpus game.


On Sat, Jun 15, 2013 at 10:53 PM, Jay McCarthy jay.mccar...@gmail.comwrote:

 On Sat, Jun 15, 2013 at 8:50 AM, Greg Hendershott
 greghendersh...@gmail.com wrote:
  1. I'm really excited about the book, which I'll buy.
 
  2. Issuing a release solely to ship code for a book:
 
a. Seems unusual (to me), in general.
 
b. Plus right now, message seems at odds with the new package
  manager and plan to move away from shipping monolithic collects?
 
Admittedly that plan isn't in effect yet. But code for a book is a
  use case that today's package manager supports AFAICT. So why accrete
  another collection, is the reaction.

 The problem is that the book has collects/realm printed in it and
 was designed simultaneously with the package system, so it wasn't
 clear to make it a package, how to describe getting it, etc.

 Jay

  p.s. I'm sharing an observation casually, not stating an objection
 angrily.
 
 
 
  On Sat, Jun 15, 2013 at 9:46 AM, Matthias Felleisen
  matth...@ccs.neu.edu wrote:
 
  We will release Racket v5.3.5 next week. The purpose of the
  release is to include the Realm of Racket collection with the
  v5.3.4 release, because the book is about to appear.
 
  The release will strictly be built from
 
  -- Racket v5.3.4
  -- collects/realm as currently found in git head
 
  We will __not__ make any other changes.
 
  Eli has worked out a process and will launch it asap. We will
  conduct a recursive diff of all .rkt files and we will run
  basic checks to ensure the integrity of the release bundle.
  If you're willing to help with these checks, please stay tuned.
 
  
  DRAFT RELEASE ANNOUNCEMENT:
 
  Racket version 5.3.5 is now available from
 
   http://racket-lang.org/
 
  This is a special-purpose release to match the arrival of
  Realm of Racket in bookstores. Racket v.5.3.5 adds a
  single collection
 
  collects/realm/
 
  to the v5.3.4 release. The new collection contains the source
  code that readers of Realm may wish to use for experiments.
  
 
  Comments welcome. -- Matthias
  _
Racket Developers list:
http://lists.racket-lang.org/dev
  _
Racket Developers list:
http://lists.racket-lang.org/dev



 --
 Jay McCarthy j...@cs.byu.edu
 Assistant Professor / Brigham Young University
 http://faculty.cs.byu.edu/~jay

 The glory of God is Intelligence - DC 93
 _
   Racket Developers list:
   http://lists.racket-lang.org/dev

_
  Racket Developers list:
  http://lists.racket-lang.org/dev


Re: [racket-dev] release 5.3.5

2013-06-16 Thread WarGrey Gyoudmon Ju
Sounds good to buy this book and I will do.
Will the book take the place of 'How to design program' in which examples
are quite simple and uninteresting even for the freshmen?

My translate LOL with the intention of exploring the racket way.
Few resources could be the guider.


On Mon, Jun 17, 2013 at 5:42 AM, Matthias Felleisen matth...@ccs.neu.eduwrote:


 Realm of Racket is not a translation of Land of Lisp, though it borrows
 ideas from the latter for about 1/2 of the book. The ROAR code is far more
 functional and GUI than LOL. -- Matthias




 On Jun 16, 2013, at 2:19 AM, WarGrey Gyoudmon Ju wrote:

 What a pity, I did not know this book before.
 I've been translating the source code of Land of Lisp using the racket way.
 I just finish the Grand Theft Wumpus game.


 On Sat, Jun 15, 2013 at 10:53 PM, Jay McCarthy jay.mccar...@gmail.comwrote:

 On Sat, Jun 15, 2013 at 8:50 AM, Greg Hendershott
 greghendersh...@gmail.com wrote:
  1. I'm really excited about the book, which I'll buy.
 
  2. Issuing a release solely to ship code for a book:
 
a. Seems unusual (to me), in general.
 
b. Plus right now, message seems at odds with the new package
  manager and plan to move away from shipping monolithic collects?
 
Admittedly that plan isn't in effect yet. But code for a book is a
  use case that today's package manager supports AFAICT. So why accrete
  another collection, is the reaction.

 The problem is that the book has collects/realm printed in it and
 was designed simultaneously with the package system, so it wasn't
 clear to make it a package, how to describe getting it, etc.

 Jay

  p.s. I'm sharing an observation casually, not stating an objection
 angrily.
 
 
 
  On Sat, Jun 15, 2013 at 9:46 AM, Matthias Felleisen
  matth...@ccs.neu.edu wrote:
 
  We will release Racket v5.3.5 next week. The purpose of the
  release is to include the Realm of Racket collection with the
  v5.3.4 release, because the book is about to appear.
 
  The release will strictly be built from
 
  -- Racket v5.3.4
  -- collects/realm as currently found in git head
 
  We will __not__ make any other changes.
 
  Eli has worked out a process and will launch it asap. We will
  conduct a recursive diff of all .rkt files and we will run
  basic checks to ensure the integrity of the release bundle.
  If you're willing to help with these checks, please stay tuned.
 
  
  DRAFT RELEASE ANNOUNCEMENT:
 
  Racket version 5.3.5 is now available from
 
   http://racket-lang.org/
 
  This is a special-purpose release to match the arrival of
  Realm of Racket in bookstores. Racket v.5.3.5 adds a
  single collection
 
  collects/realm/
 
  to the v5.3.4 release. The new collection contains the source
  code that readers of Realm may wish to use for experiments.
  
 
  Comments welcome. -- Matthias
  _
Racket Developers list:
http://lists.racket-lang.org/dev
  _
Racket Developers list:
http://lists.racket-lang.org/dev



 --
 Jay McCarthy j...@cs.byu.edu
 Assistant Professor / Brigham Young University
 http://faculty.cs.byu.edu/~jay

 The glory of God is Intelligence - DC 93
 _
   Racket Developers list:
   http://lists.racket-lang.org/dev


 _
  Racket Developers list:
  http://lists.racket-lang.org/dev



_
  Racket Developers list:
  http://lists.racket-lang.org/dev