[racket-dev] Call for Participation: SPLASH Educators Symposium

2014-08-26 Thread Kathi Fisler
   SPLASH-E Call for Participation
  Tuesday, Oct 21 2014, Portland OR
  In conjunction with the SPLASH conference
   http://2014.splashcon.org/track/splash2014-splash-e

SPLASH-E is a forum for software and languages researchers with
activities and interests around computing education.  This year's
SPLASH-E will feature sessions around three themes:

  * Creating (and Assessing) Projects and Courses to Engage Students
  * Design Issues around Drag-and-Drop languages
  * Designing Software Engineering Courses

as well as time dedicated to impromptu discussion around these and
other topics that arise.  Formal presentations will be short (15-20
minutes),
designed to raise questions for discussion rather than to simply present
papers.

The PC is framing discussion questions within each theme, but also
welcomes questions on these topics from the broader SPLASH community.
If you have a research question or idea related to these themes and
plan to attend, drop me a line so we can include your question in the
discussion period.

Come experience an interactive day of discussion on educational
aspects of software systems.  Hope to see you in Portland!

Kathi Fisler
SPLASH-E chair
_
  Racket Developers list:
  http://lists.racket-lang.org/dev


[racket-dev] Scribble code for table with fixed-width columns?

2014-06-23 Thread Kathi Fisler
I need to create a table/tabular in which each column has a different fixed
width. In latex, I would write {p{1in} | p{2in}} in the column
specification.

Anyone have a sample of scribble code that does this?

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


Re: [racket-dev] Scribble code for table with fixed-width columns?

2014-06-23 Thread Kathi Fisler
Great, thanks!  How do I augment this with horizontal lines (\hlines) at
the top and bottom, as well as between each pair of consecutive lines?
 Assume this is a style of some sort (I should be all set after that).

Kathi


On Mon, Jun 23, 2014 at 6:31 AM, Matthew Flatt mfl...@cs.utah.edu wrote:

 At Mon, 23 Jun 2014 03:59:38 -0400, Kathi Fisler wrote:
  I need to create a table/tabular in which each column has a different
 fixed
  width. In latex, I would write {p{1in} | p{2in}} in the column
  specification.
 
  Anyone have a sample of scribble code that does this?

 The enclosed example works by generating CSS classes and Latex macros
 to format each table cell, and it's disappointingly difficult.

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


Re: [racket-dev] Preserving trailing zeros in formatting numbers as strings

2014-05-03 Thread Kathi Fisler
Thanks, Asumu.  I hadn't known about the ~r-like formatters.

Kathi


On Fri, May 2, 2014 at 4:52 PM, Asumu Takikawa as...@ccs.neu.edu wrote:

 On 2014-04-24 05:25:07 -0400, Kathi Fisler wrote:
 I'm generating class notes in HTML via scribble.  I'm trying to
 include
 the number 10.50 (as a price in an test case, so the trailing 0
 matters).
  I'm using format to produce the strings that go into the rendered
 html.
  When I do this (whether with ~a or ~s), the trailing 0 is dropped,
 producing 10.5 in my output instead of 10.50.

 Maybe this is too late to be useful (I think the mailing list ate your
 post?), but here's one way to do it:

(~r 10.5 #:precision '(= 2))
   10.50

 Cheers,
 Asumu


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


[racket-dev] Preserving trailing zeros in formatting numbers as strings

2014-05-02 Thread Kathi Fisler
I'm generating class notes in HTML via scribble.  I'm trying to include the
number 10.50 (as a price in an test case, so the trailing 0 matters).  I'm
using format to produce the strings that go into the rendered html.  When I
do this (whether with ~a or ~s), the trailing 0 is dropped, producing 10.5
in my output instead of 10.50.

What can I do to preserve trailing zeros?

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


[racket-dev] Diagnosing traverse-block errors in scribble

2013-06-26 Thread Kathi Fisler
I'm still stuck on the traverse-block problems I posted about a week ago,
but hopefully this is a simpler question to answer than my one from last
week.

I keep getting an error traverse-block-block: no block computed for
traverse-block, and am trying to understand how to interpret this.  Does
it mean too many or too few (lambda (get set) ...) wrappers around the
block that I'm to build inside traverse-block?

As I understand traverse-block, the number of (lambda (get set) ...)
wrappers is what helps stage the passes.  So if I want to generate data in
the first pass, I need one lambda, but to use that in second pass I need
two lambdas.  Is that the right intuition?

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


[racket-dev] Need help staging traverse-blocks to generate a document glossary

2013-06-18 Thread Kathi Fisler
I am trying to use traverse-block to build a glossary of terms used in a
document.  I have a scribble function @vocab to tag items to include in the
glossary.  I want to display the glossary early in the document (before the
terms are used).

I'm having trouble delaying glossary generation until the list of terms has
been populated (the list is populated if I generate the glossary at the end
of the document, but the terms list is empty if I generate near the top of
the document).

My @vocab function uses traverse-element to build the term list:

(define (vocab body)
  (traverse-element
   (lambda (get set)
 (set 'vocab-used (cons body (get 'vocab-used '(
 (elem #:style bs-vocab-style body

My glossary function (in my scribble extension, not exposed to the document
author) fetches and displays the terms.  I call it within a larger
user-exposed function that defines the document contents:

(define (glossary)
  (traverse-block
(lambda (get set)
  (traverse-block
(lambda (get set)
  (define terms (get 'vocab-used '()))
  (para terms))

(I tried nesting the inner lambda directly in the outer one, but that
yields an error from traverse-block-block that no block is computed).

The user-facing scribble function that calls glossary is also wrapped in a
traverse-block (for reasons unrelated to the glossary).  Rough structure is
as follows, where @vocab calls are in body:

(define (lesson . body)
  (traverse-block
(lambda (get set)
   (glossary)
   (para body

What do I need to change to populate the glossary?

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


Re: [racket-dev] DrRacket 5.3 suddenly crashing every few minutes on Win7/64

2012-10-18 Thread Kathi Fisler
I'm getting a popup message from Windows that DrRacket.exe has
stopped working.  Only option I get is to close the program.

Kathi

On Thu, Oct 18, 2012 at 9:07 AM, Robby Findler
ro...@eecs.northwestern.edu wrote:
 Do you get a message saying that it has crashed from the OS, or does
 it just disappear? I can't recall the details now but when I get such
 messages, I get an option to go into some kind of a debugger and get
 stack traces. Are you seeing that?

 Robby

 On Wed, Oct 17, 2012 at 8:53 AM, Kathi Fisler kfis...@cs.wpi.edu wrote:
 Within the last couple of days, DrRacket has started crashing after a
 few minutes of use.  I have not noticed a pattern to what I am doing
 when the crash occurs (it has happened on each of mid-editing on
 changing tabs, and on hitting F5 to run).  I have tried both with
 multiple tabs open and with multiple windows open (but only single
 tabs).  It has now crashed 5 times within 20 minutes.

 I am running 5.3[3m], which I upgraded to soon after its release.  I
 installed Windows upgrades a week ago; could be correlated to when the
 problem started occurring.  Last Windows update I installed was
 KB2739159.  I'm on 64-bit Windows 7.

 Glad to provide more info if someone tells me what to grab and how to grab 
 it.

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

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


Re: [racket-dev] Suggestions for monitoring unresponsive web server connection?

2011-09-07 Thread Kathi Fisler
Following up on this -- what's the max number of open file descriptors that
Racket allows? We're seeing some lingering ones (trying to trace the source,
but wondering if this is the problem).

We are also getting a lot of ssl error reports of the forms

Connection error: ssl-accept/enable-break: accept failed (error:1407609C:SSL
routines:SSL23_GET_CLIENT_HELLO:http request)

Connection error: ssl-accept/enable-break: accept failed (input terminated
prematurely)
 === context ===
/home/turnin/plt-5.1.1/lib/racket/collects/openssl/mzssl.rkt:919:10: loop
/home/turnin/plt-5.1.1/lib/racket/collects/mzlib/thread.rkt:69:12: loop

We're not doing any manual SSL operations (just the ssl settings to the web
server startup).  Still, are these traceable to something in our code?

thanks,
Kathi

On Tue, Sep 6, 2011 at 8:13 PM, Kathi Fisler kfis...@gmail.com wrote:
 Our homework submission application, currently running under 5.1.1
 with Jay's stateless infrastructure, has been going unresponsive on us
 a lot lately.  In some cases, the process is still alive but the web
 server does not respond to requests.  In some cases, the process has
 died.   While this sometimes happens concurrently with high load, load
 is neither necessary nor sufficient.

 Are there commands we can use when we startup racket or the server
 that might give diagnostics to help trace the problem?

 We are not getting core dumps (even when the process dies).  So far,
 monitoring top output hasn't revealed anything unusual or telling.

 Here's the uname -a listing, in case that is helpful:

 Linux turnin.cs.wpi.edu 2.6.18-238.12.1.el5 #1 SMP Tue May 31 13:22:04
 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

 thanks,
 Kathi

_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev

[racket-dev] Suggestions for monitoring unresponsive web server connection?

2011-09-06 Thread Kathi Fisler
Our homework submission application, currently running under 5.1.1
with Jay's stateless infrastructure, has been going unresponsive on us
a lot lately.  In some cases, the process is still alive but the web
server does not respond to requests.  In some cases, the process has
died.   While this sometimes happens concurrently with high load, load
is neither necessary nor sufficient.

Are there commands we can use when we startup racket or the server
that might give diagnostics to help trace the problem?

We are not getting core dumps (even when the process dies).  So far,
monitoring top output hasn't revealed anything unusual or telling.

Here's the uname -a listing, in case that is helpful:

Linux turnin.cs.wpi.edu 2.6.18-238.12.1.el5 #1 SMP Tue May 31 13:22:04
EDT 2011 x86_64 x86_64 x86_64 GNU/Linux

thanks,
Kathi
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] SSL problem with the webserver?

2011-08-18 Thread Kathi Fisler
My system only has libssl3.so.  I tried sym-linking that to libssl.so
in the directory named in (find-lib-dir), but the error persists.
Should I have expected the symbolic link trick to work?  Trying to
figure out whether to get my admin staff to install another version of
openssl or whether the problem is likely somewhere else ...

thanks,
Kathi

On Wed, Aug 17, 2011 at 3:59 PM, Jay McCarthy jay.mccar...@gmail.com wrote:
 This means that the underlying libssl can't be found at the correct
 version. These are the versions it looks for:

         (ffi-lib libssl-so '( 1.0 1.0.0a 0.9.8b 0.9.8 0.9.7)

 which do you have? Is it in a place that Racket can find it?

 Jay

 On Wed, Aug 17, 2011 at 1:46 PM, Kathi Fisler kfis...@gmail.com wrote:
 I've just updated a web app that used to run under 4.0.1 to 5.1.3.
 Now, when we start up the app with ssl/https, I get the error below.

 Anyone experienced with SSL clients recognize the problem here?

 thanks,
 Kathi

 -
 SSLv23_client_method: implementation not found; no arguments provided

  === context ===
 /home/turnin/plt-5.1.3/lib/racket/collects/openssl/mzssl.rkt:322:2:
 ssl-make-client-context
 /home/turnin/plt-5.1.3/lib/racket/collects/web-server/web-server.rkt:52:0: 
 core
 /home/turnin/plt-5.1.3/lib/racket/collects/web-server/servlet-dispatch.rkt:81:0:
 core
 /home/turnin/turnin/startup.rkt: [running body]
 --
 _
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/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


_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


[racket-dev] SSL problem with the webserver?

2011-08-17 Thread Kathi Fisler
I've just updated a web app that used to run under 4.0.1 to 5.1.3.
Now, when we start up the app with ssl/https, I get the error below.

Anyone experienced with SSL clients recognize the problem here?

thanks,
Kathi

-
SSLv23_client_method: implementation not found; no arguments provided

 === context ===
/home/turnin/plt-5.1.3/lib/racket/collects/openssl/mzssl.rkt:322:2:
ssl-make-client-context
/home/turnin/plt-5.1.3/lib/racket/collects/web-server/web-server.rkt:52:0: core
/home/turnin/plt-5.1.3/lib/racket/collects/web-server/servlet-dispatch.rkt:81:0:
core
/home/turnin/turnin/startup.rkt: [running body]
--
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] intro videos

2011-07-14 Thread Kathi Fisler
 Date: Wed, 13 Jul 2011 09:16:16 -0700
 From: John Clements cleme...@brinckerhoff.org
 Subject: [racket-dev] intro videos

 Frustrated by what I'm seeing on khanacademy.org, I've now recorded 8 *short* 
 videos on
  getting started programming in DrRacket.

I looked at most of the videos and like them.  For what they are
trying to do, they are doing it well.  Thanks, John, for the
initiative on this!

I said for what they are trying to do because we ideally need to
complement these with some higher-level material on where one would go
with what one might learn in John's videos.  The material that we
cover in an intro lecture, before teaching students the mechanics.
With the combination, we might have something that helps draw people
into DrRacket.  Right now, John's videos will be most useful to people
already drawn in who want to learn what to do.

I actually sent mail around within the Bootstrap squad just two weeks
ago about a high level how to make a world video, similar to an
intro lecture for the PbD workshops.  I'm currently redesigning my
intro lecture for next week's workshop.  If it goes over well, I'll
look into making a video version of it to complement John's.

Kathi
_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev


Re: [racket-dev] guidelines on error messages -- please send feedback

2011-06-03 Thread Kathi Fisler
The choice of variable is motivated by students and the desire to align
with terms they know from high school math.   The distinction between
variable and identifier is too subtle for many students.

Kathi

On Fri, Jun 3, 2011 at 3:13 PM, Jay McCarthy jay.mccar...@gmail.com wrote:

 Use ‘argument’ for actual arguments and ‘variable’ for formal
 arguments and in the body of the definition.

 I prefer argument and parameter name, because until ASL, they don't
 vary. But it seems you prefer just variable, because you don't want
 two terms for the things made by 'define' and the things made by
 'lambda'? This is very bikesheddy, but I dislike your choice.

 Jay

 2011/6/3 Shriram Krishnamurthi s...@cs.brown.edu:
  Guillaume, Kathi and I have created a set of guidelines for writing
  error messages for *SL.  For consistency, these guidelines need to be
  used also by authors of libraries including Teachpacks, etc.  These
  guidelines are currently being applied to all the error messages in
  *SL in the core distribution.
 
  Please review these guidelines and let us know if anything is
  unclear.  We'd like to hear back from you within a week, by
 
  Fri, June 10
 
  We have had to compromise on the description a little to make
  everything fit into a small number of pages, which we did because we
  really do hope people will print these out and put them on the wall or
  next to their monitor to refer to while writing code.  Therefore,
  lengthy descriptions are out.
 
  In particular, rationale is also out.  If you are curious about the
  rationales for any of these things, please do ask.
 
  After this is settled next week, we will send this to users@ and also
  to edu@ to tell instructors to follow these terms.
 
  Thanks,
  Shriram
 
  _
   For list-related administrative tasks:
   http://lists.racket-lang.org/listinfo/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


_
  For list-related administrative tasks:
  http://lists.racket-lang.org/listinfo/dev