Eli Barzilay | 1 Aug 01:48
Favicon
Gravatar

Re: [racket-dev] Getting old versions of PLT Scheme

On Jul 22, Carl Eastlund wrote:
> To fix a backwards compatibility bug, I just had to go download PLT
> Scheme 4.2.4.  It's a real pain to do so.  First, the Racket site
> doesn't seem to link to versions before 5.0.  I had to go to
> plt-scheme.org manually.  It'd be nice if I could get to the whole
> history in one place.  Second, at plt-scheme.org, the window is
> covered by a misshapen dialog telling me to go to the Racket site.  I
> have put a picture of the misshapen window up at
> http://www.ccs.neu.edu/home/cce/racket-dialog.png (this from Firefox
> 3.6.2 on Intel Mac).  Third, it takes several clicks to get to the
> 4.2.4 download, and at each click the dialog pops back up again.  Our
> site(s) would be easier to get around if any or all of these were
> fixed: old versions from the Racket Download page, an easier to read
> redirection dialog, and only seeing that dialog once per visit.

Patches welcome.  See revision 2715 of iplt on the svn repository for
where to change things.

(The bad text size is something that I couldn't find out how to fix
yet, and the one-warning-per-visit requires adding code that will use
a cookie.)

--

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!
Eli Barzilay | 1 Aug 02:37
Favicon
Gravatar

Re: [racket-dev] P4P: A Syntax Proposal

On Jul 31, Guillaume Marceau wrote:
> I've never seen student in a beginner course work this way. As an
> experiment, I invite you to try programming without using tab, and
> without deleting blocks of parenthesis at once. I suspect you will
> develop sympathy for these students who "hate parentheses".

I have no idea what kind of crowd I'd be a representative of, but --
(a) I use tab *very* rarely (only when modifying some big chunk of
code so the nesting level changes, and in less than 25% of these
cases); (b) I practically never remove parens and leave an unbalanced
buffer.

> Why would this be less of a problem in curly brace languages?
> 
> First, there are just many more parentheses in a Racket program. As
> Matthias was saying, we use a lot of nested expressions, and
> function call dictate nearly everything. So, in a curly brace
> language, when a student is trying to re-infer their parenthesis
> structure, there are fewer of them, so it isn't as hard.
> 
> Second, the grammar markers in a curly brace language have names on
> them. They use "then" to separate the predicate from the answer, we
> use ")(". It is much easier to re-infer intentionality of the
> former.  The latter is just another a bunch of parenthesis floating
> amongst other anonymous parentheses.

[

All this sounds questionable to me.  IMO, the main paren-related
difference between a racket program and a C program, is that nested
(Continue reading)

Favicon

[racket-dev] using the Y combinator to...

...provide a mis-feature that the language thoughtfully left out:

http://www.eecs.harvard.edu/~cduan/technical/ruby/ycombinator.shtml

(The bit about "lexical" scoping in Ruby is also neat.  It says that
deep down, Ruby really is the same as JavaScript and Python.)

Shriram
Robby Findler | 1 Aug 04:05

Re: [racket-dev] using the Y combinator to...

The use of the Y combinator (as opposed to the built-in forms of
recursion) seems to be hacking around the ability for Ruby methods to
be redefined more than anything?

Robby

On Sat, Jul 31, 2010 at 8:54 PM, Shriram Krishnamurthi <sk <at> cs.brown.edu> wrote:
> ...provide a mis-feature that the language thoughtfully left out:
>
> http://www.eecs.harvard.edu/~cduan/technical/ruby/ycombinator.shtml
>
> (The bit about "lexical" scoping in Ruby is also neat.  It says that
> deep down, Ruby really is the same as JavaScript and Python.)
>
> Shriram
> _________________________________________________
>  For list-related administrative tasks:
>  http://lists.racket-lang.org/listinfo/dev
>
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev
Neil Van Dyke | 1 Aug 18:53
Picon
Favicon

[racket-dev] can racket-lang.org survive a slashdotting?

Can the racket-lang.org Web server(s) handle a huge spike in traffic, 
such as if it got on the front page of reddit.com?

schemecookbook.org somehow got onto the front page of reddit.com 
briefly, which seems to have killed schemecookbook.org.  This is no big 
loss, since I think schemecookbook.org gives a bad impression even when 
it's working.  However, I'd hate for racket-lang.org to get its 
potential 15 minutes of fame, but burn out before sifting a new batch of 
users out of the gazillion casual browsers.

--

-- 
http://www.neilvandyke.org/

Jos Koot | 1 Aug 19:29
Favicon

Re: [racket-dev] can racket-lang.org survive a slashdotting?

I think loosing schemecookbook is a loss.
Indeed it no longer responds adequately.
Sad
Jos

> -----Original Message-----
> From: dev-bounces@... 
> [mailto:dev-bounces@...] On Behalf Of Neil Van Dyke
> Sent: 01 August 2010 18:54
> To: Racket Dev List
> Subject: [racket-dev] can racket-lang.org survive a slashdotting?
> 
> Can the racket-lang.org Web server(s) handle a huge spike in 
> traffic, such as if it got on the front page of reddit.com?
> 
> schemecookbook.org somehow got onto the front page of 
> reddit.com briefly, which seems to have killed 
> schemecookbook.org.  This is no big loss, since I think 
> schemecookbook.org gives a bad impression even when it's 
> working.  However, I'd hate for racket-lang.org to get its 
> potential 15 minutes of fame, but burn out before sifting a 
> new batch of users out of the gazillion casual browsers.
> 
> --
> http://www.neilvandyke.org/
> 
> _________________________________________________
>   For list-related administrative tasks:
>   http://lists.racket-lang.org/listinfo/dev

(Continue reading)

Eli Barzilay | 1 Aug 23:49
Favicon
Gravatar

Re: [racket-dev] can racket-lang.org survive a slashdotting?

On Aug  1, Neil Van Dyke wrote:
> Can the racket-lang.org Web server(s) handle a huge spike in
> traffic, such as if it got on the front page of reddit.com?

I don't have any concrete idea, but it's running on an old but still
reasonable machine (Intel Pentium 4 CPU 2.80GHz, 3gb ram) via apache.
It's doing a bunch of additional things, but nothing is intense enough
to cause any problems.

--

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!
Robby Findler | 1 Aug 23:59

Re: [racket-dev] can racket-lang.org survive a slashdotting?

On Sun, Aug 1, 2010 at 4:49 PM, Eli Barzilay <eli <at> barzilay.org> wrote:
> On Aug  1, Neil Van Dyke wrote:
>> Can the racket-lang.org Web server(s) handle a huge spike in
>> traffic, such as if it got on the front page of reddit.com?
>
> I don't have any concrete idea, but it's running on an old but still
> reasonable machine (Intel Pentium 4 CPU 2.80GHz, 3gb ram) via apache.
> It's doing a bunch of additional things, but nothing is intense enough
> to cause any problems.

That sounds like a "no" to me ....

Robby
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev
Eli Barzilay | 2 Aug 00:18
Favicon
Gravatar

[racket-dev] Release Announcement for v5.0.1 -- final version

Final version, after some edits and reorganization.

----------------------------------------------------------------------
* Datalog is a lightweight deductive database system with Racket
  integration.  It is now available in the `datalog' collection and
  with `#lang datalog'.

* Racklog provides Prolog-style logic programming in Racket, adapted
  from Dorai Sitaram's Schelog package.  It is available in the
  `racklog' collection and now as `#lang racklog'.

* By default `make install' and `raco setup' compile collections in
  parallel on all available processors.  (Use `raco setup -j 1' to
  disable, if necessary.)

* Changes (as part of 5.0) in the `racket' language compared to the
  `scheme' language: constructor-style printing, a `struct'
  alternative to `define-struct' that fits more naturally with
  `match' and constructor-style printing, bytecode-dependency
  management via SHA-1 hashes instead of just timestamps (where the
  `openssl/sha1' library provides the SHA-1 hash function), a
  reorganization of `scheme/foreign' into `ffi/unsafe' and
  associated libraries, and new printing functions `eprintf' and
  `displayln'.  Also, a generator from `racket/generator' is
  required to have the form `(generator () body ...)', which
  supports a planned extension to let a generator accept arguments.

* Changes to the `racket' language (since 5.0): internal-definition
  positions allow mixing expressions with definitions, full
  continuations can escape past a continuation barrier, custodians
(Continue reading)

Eli Barzilay | 2 Aug 00:20
Favicon
Gravatar

Re: [racket-dev] can racket-lang.org survive a slashdotting?

On Aug  1, Robby Findler wrote:
> On Sun, Aug 1, 2010 at 4:49 PM, Eli Barzilay <eli <at> barzilay.org> wrote:
> > On Aug  1, Neil Van Dyke wrote:
> >> Can the racket-lang.org Web server(s) handle a huge spike in
> >> traffic, such as if it got on the front page of reddit.com?
> >
> > I don't have any concrete idea, but it's running on an old but still
> > reasonable machine (Intel Pentium 4 CPU 2.80GHz, 3gb ram) via apache.
> > It's doing a bunch of additional things, but nothing is intense enough
> > to cause any problems.
> 
> That sounds like a "no" to me ....

Why?  I've seen similar machines go through slashdotting without any
noticeable problems.

(The "why?" is not a rhetorical question -- I really don't have any
concrete experience through high load periods -- those slashdot events
were things that I was aware of only after it happened.)

--

-- 
          ((lambda (x) (x x)) (lambda (x) (x x)))          Eli Barzilay:
                    http://barzilay.org/                   Maze is Life!
_________________________________________________
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

Gmane