default   Racket Bugs
Main PageQuick QueryStandard QueryAdvanced QueryHelp
Log in

View Problem Report: 11166

send email to interested parties or send email followup to audit-trail
Reporter's email: mlsmith at cs dot vassar dot edu
Number: 11166
Category: all
Synopsis: stepper index off by one
Class: sw-bug
Responsible: clements
Notify-List:
Severity: non-critical
Priority: medium
State: closed
Confidential: no
Arrival-Date: Tue Sep 07 09:56:01 -0400 2010
Closed-Date: Tue Sep 07 17:45:58 -0400 2010
Last-Modified: Tue Sep 07 17:45:58 -0400 2010
Originator: Marc Smith
Organization: plt
Submitter-Id: unknown
Release: 5.0.1
Environment: unix "Linux mote33 2.6.31-22-server #63-Ubuntu SMP Thu Aug 19 01:25:01 UTC 2010 x86_64 GNU/Linux" (x86_64-linux/3m) (get-display-depth) = 24
Human Language: english
(current-memory-use) 293339032

Collections:
(("/home/mlsmith/.racket/5.0.1/collects" non-existent-path) ("/opt/plt/plt-5.0.1/lib/racket/collects" "macro-debugger" "scriblib" "defaults" "plot" "syntax-color" "mzscheme" "slatex" "s-exp" "stepper" "parser-tools" "planet" "config" "make" "version" "frtime" "games" "icons" "trace" "unstable" "racklog" "launcher" "srfi" "preprocessor" "setup" "rnrs" "mzlib" "syntax" "texpict" "html" "plai" "typed-scheme" "reader" "mred" "test-box-recovery" "algol60" "compiler" "at-exp" "r5rs" "wxme" "racket" "redex" "gui-debugger" "2htdp" "drscheme" "net" "mrlib" "errortrace" "scribblings" "swindle" "embedded-gui" "help" "openssl" "tests" "lang" "typed" "framework" "test-engine" "web-server" "readline" "raco" "file" "teachpack" "info-domain" "mzcom" "htdp" "datalog" "hierlist" "graphics" "browser" "xml" "schemeunit" "scheme" "combinator-parser" "string-constants" "mysterx" "r6rs" "profile" "tex2page" "scribble" "drracket" "afm" "eopl" "deinprogramm" "ffi" "sgl" "slideshow" "rackunit" "lazy"!
  "dynext"))
Computer Language: (("Teaching Languages" "How to Design Programs" "Beginning Student") (#(#t constructor repeating-decimal #f #t none) #f ()))
Description: When stepping through a program in BSL, the stepper shows current progress, e.g.,
0/3, 1/3, 2/3
But since the step numbers start at 0, the progress only goes to (n-1)/n, and not n/n when the user has stepped through the entire program.
I didn't notice this situation, but my students did during class, which became their first lesson in 0-based indexing (for better or worse).
Thanks! Marc
File Attachments:
How-To-Repeat:
Fix:
Release-Note:
Unformatted:

send email to interested parties or send email followup to audit-trail

Audit Trail:

From: John Clements <clements at brinckerhoff.org>
To: mlsmith at cs.vassar.edu, bugs at racket-lang.org
Cc: plt-dev Developers <plt-dev at list.cs.brown.edu>
Subject: Re: [racket-bug] all/11166: stepper index off by one
Date: Tue, 7 Sep 2010 12:34:53 -0700

 On Sep 7, 2010, at 6:56 AM, mlsmith at cs.vassar.edu wrote:
 
 > A new problem report is waiting at
 >  http://bugs.racket-lang.org/query/?cmd=3Dview&pr=3D11166
 >=20
 > Reported by Marc Smith for release: 5.0.1
 >=20
 > *** Description:
 > When stepping through a program in BSL, the stepper shows current =
 progress, e.g.,=20
 > 0/3, 1/3, 2/3
 > But since the step numbers start at 0, the progress only goes to =
 (n-1)/n, and not n/n when the user has stepped through the entire =
 program.
 > I didn't notice this situation, but my students did during class, =
 which became their first lesson in 0-based indexing (for better or =
 worse).
 > Thanks! Marc
 
 That was a deliberate choice, though I could be convinced that it was =
 the wrong one; I think I was trying to mirror the behavior of the =
 current "search" command.
 
 Any other opinions?
 
 John
 
 
From: Robby Findler <robby at eecs.northwestern.edu>
To: John Clements <clements at brinckerhoff.org>
Cc: mlsmith at cs.vassar.edu, bugs at racket-lang.org,
        plt-dev Developers <dev at lists.racket-lang.org>
Subject: Re: [racket-dev] [racket-bug] all/11166: stepper index off by one
Date: Tue, 7 Sep 2010 15:00:27 -0500

 The search command got changed a little while ago, I think. :)
 
 But I think you should got from 1/n to n/n. (The text search is a
 little more complex because you can be before or after the first /
 last hit.)
 
 Robby
 
 On Tue, Sep 7, 2010 at 2:34 PM, John Clements <clements at brinckerhoff.org> w=
 rote:
 >
 > On Sep 7, 2010, at 6:56 AM, mlsmith at cs.vassar.edu wrote:
 >
 >> A new problem report is waiting at
 >> =C2=A0http://bugs.racket-lang.org/query/?cmd=3Dview&pr=3D11166
 >>
 >> Reported by Marc Smith for release: 5.0.1
 >>
 >> *** Description:
 >> When stepping through a program in BSL, the stepper shows current progre=
 ss, e.g.,
 >> 0/3, 1/3, 2/3
 >> But since the step numbers start at 0, the progress only goes to (n-1)/n=
 , and not n/n when the user has stepped through the entire program.
 >> I didn't notice this situation, but my students did during class, which =
 became their first lesson in 0-based indexing (for better or worse).
 >> Thanks! Marc
 >
 > That was a deliberate choice, though I could be convinced that it was the=
  wrong one; I think I was trying to mirror the behavior of the current "sea=
 rch" command.
 >
 > Any other opinions?
 >
 > John
 >
 >
 > _________________________________________________
 > =C2=A0For list-related administrative tasks:
 > =C2=A0http://lists.racket-lang.org/listinfo/dev
 >
Responsible changed from "nobody" to "clements" by clements at racket-lang.org at Tue, 07 Sep 2010 17:45:58 -0400
Reason>>> A commit by clements at racket-lang.org has resolved this report
  http://git.racket-lang.org/plt/commit/c2b75a6c57
State changed from "open" to "closed" by clements at racket-lang.org at Tue, 07 Sep 2010 17:45:58 -0400
Reason>>> A commit by clements at racket-lang.org has resolved this report
  http://git.racket-lang.org/plt/commit/c2b75a6c57